This commit is contained in:
2025-02-12 18:32:21 +09:00
commit aff0f4eeda
767 changed files with 285356 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package com.caliverse.admin;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import java.util.TimeZone;
@SpringBootApplication
@EnableTransactionManagement
public class CaliverseAdminApplication {
public static void main(String[] args) {
TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
SpringApplication.run(CaliverseAdminApplication.class, args);
}
}

View File

@@ -0,0 +1,5 @@
package com.caliverse.admin.Indicators.Indicatordomain;
public interface IndicatorsLog {
}

View File

@@ -0,0 +1,58 @@
package com.caliverse.admin.Indicators.Indicatordomain;
import java.time.LocalDate;
import java.util.List;
import com.caliverse.admin.domain.entity.Currencys;
import com.caliverse.admin.domain.entity.Distinct;
import com.caliverse.admin.domain.response.IndicatorsResponse.DailyGoods;
import com.caliverse.admin.domain.response.IndicatorsResponse.Dau;
import com.caliverse.admin.domain.response.IndicatorsResponse.MCU;
import com.caliverse.admin.domain.response.IndicatorsResponse.NRU;
import com.caliverse.admin.domain.response.IndicatorsResponse.PU;
import com.caliverse.admin.domain.response.IndicatorsResponse.Playtime;
import com.caliverse.admin.domain.response.IndicatorsResponse.Retention;
import com.caliverse.admin.domain.response.IndicatorsResponse.Segment;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;
@Data
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
public class IndicatorsResult {
private String message;
//이용자 지표
private LocalDate date;
private Dau dau;
private NRU nru;
private PU pu;
private MCU mcu;
@JsonProperty("distinct")
private List<Distinct> list;
//Retention
@JsonProperty("retention")
private List<Retention> retentionList;
//Segment
@JsonProperty("start_dt")
private String startDt;
@JsonProperty("end_dt")
private String endDt;
@JsonProperty("segment")
private List<Segment> segmentList;
//플레이타임
@JsonProperty("playtime")
private List<Playtime> playtimeList;
//재화
@JsonProperty("currencys")
private List<Currencys> currencysList;
@JsonProperty("list")
private List<DailyGoods> dailyGoods;
//@JsonProperty("dau_list")
//private List<DailyActiveUser> dailyActiveUserList;
}

View File

@@ -0,0 +1,38 @@
package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice;
import java.util.List;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.aggregation.Aggregation;
import org.springframework.data.mongodb.core.aggregation.AggregationOperation;
import org.springframework.data.mongodb.core.aggregation.AggregationResults;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.stereotype.Service;
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase;
import com.caliverse.admin.global.common.constants.AdminConstants;
@Service
public class IndicatorsAuLoadService extends IndicatorsLogLoadServiceBase {
public IndicatorsAuLoadService( @Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate){
super(mongoTemplate);
}
@Override
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
Criteria criteria = makeCriteria(startTime, endTime);
List<AggregationOperation> operations = setDefaultOperation(criteria);
Aggregation aggregation = Aggregation.newAggregation(operations);
AggregationResults<T> results = mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_LOG, clazz);
List<T> mappedResult = results.getMappedResults();
return mappedResult;
}
}

View File

@@ -0,0 +1,68 @@
package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice;
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase;
import com.caliverse.admin.global.common.constants.AdminConstants;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.aggregation.Aggregation;
import org.springframework.data.mongodb.core.aggregation.AggregationOperation;
import org.springframework.data.mongodb.core.aggregation.ConditionalOperators;
import org.springframework.data.mongodb.core.aggregation.ProjectionOperation;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class IndicatorsCapacityLoadService extends IndicatorsLogLoadServiceBase {
public IndicatorsCapacityLoadService(
@Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate
) {
super(mongoTemplate);
}
public <T extends IndicatorsLog> T getDailyIndicatorLog(String date, Class<T> clazz) {
Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_CAPACITY_READ_TOTAL).then(0L))
.as(AdminConstants.MONGO_DB_KEY_CAPACITY_READ_TOTAL)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_CAPACITY_WRITE_TOTAL).then(0L))
.as(AdminConstants.MONGO_DB_KEY_CAPACITY_WRITE_TOTAL);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_CAPACITY, clazz)
.getUniqueMappedResult(); // 단일 결과만 반환
}
@Override
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_CAPACITY_READ_TOTAL).then(0L))
.as(AdminConstants.MONGO_DB_KEY_CAPACITY_READ_TOTAL)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_CAPACITY_WRITE_TOTAL).then(0L))
.as(AdminConstants.MONGO_DB_KEY_CAPACITY_WRITE_TOTAL);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection,
Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY)
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_CAPACITY, clazz).getMappedResults();
}
}

View File

@@ -0,0 +1,69 @@
package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice;
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase;
import com.caliverse.admin.global.common.constants.AdminConstants;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.aggregation.Aggregation;
import org.springframework.data.mongodb.core.aggregation.AggregationOperation;
import org.springframework.data.mongodb.core.aggregation.ConditionalOperators;
import org.springframework.data.mongodb.core.aggregation.ProjectionOperation;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class IndicatorsDauLoadService extends IndicatorsLogLoadServiceBase {
public IndicatorsDauLoadService(
@Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate
) {
super(mongoTemplate);
}
public <T extends IndicatorsLog> T getDailyIndicatorLog(String date, Class<T> clazz) {
Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_COLLECTION_DAU, AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_COLLECTION_DAU).then(0))
.as(AdminConstants.MONGO_DB_COLLECTION_DAU);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection
);
Aggregation aggregation = Aggregation.newAggregation(operations);
List<T> results = mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_DAU, clazz)
.getMappedResults();
return results.get(0);
// return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_DAU, clazz)
// .getUniqueMappedResult(); // 단일 결과만 반환
}
@Override
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_COLLECTION_DAU, AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_COLLECTION_DAU).then(0))
.as(AdminConstants.MONGO_DB_COLLECTION_DAU);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection,
Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY)
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_DAU, clazz).getMappedResults();
}
}

View File

@@ -0,0 +1,62 @@
package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice;
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase;
import com.caliverse.admin.global.common.constants.AdminConstants;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.aggregation.Aggregation;
import org.springframework.data.mongodb.core.aggregation.AggregationOperation;
import org.springframework.data.mongodb.core.aggregation.ConditionalOperators;
import org.springframework.data.mongodb.core.aggregation.ProjectionOperation;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class IndicatorsDglcLoadService extends IndicatorsLogLoadServiceBase {
public IndicatorsDglcLoadService(
@Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate
) {
super(mongoTemplate);
}
public <T extends IndicatorsLog> T getDailyIndicatorLog(String date, Class<T> clazz) {
Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_COLLECTION_DGLC, AdminConstants.MONGO_DB_KEY_LOGDAY);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_DGLC, clazz)
.getUniqueMappedResult();
}
@Override
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_COLLECTION_DGLC, AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_COLLECTION_DGLC).then(0))
.as(AdminConstants.MONGO_DB_COLLECTION_DGLC);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection,
Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY)
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_DGLC, clazz).getMappedResults();
}
}

View File

@@ -0,0 +1,62 @@
package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice;
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase;
import com.caliverse.admin.global.common.constants.AdminConstants;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.aggregation.Aggregation;
import org.springframework.data.mongodb.core.aggregation.AggregationOperation;
import org.springframework.data.mongodb.core.aggregation.ConditionalOperators;
import org.springframework.data.mongodb.core.aggregation.ProjectionOperation;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class IndicatorsMauLoadService extends IndicatorsLogLoadServiceBase {
public IndicatorsMauLoadService(
@Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate
) {
super(mongoTemplate);
}
public <T extends IndicatorsLog> T getDailyIndicatorLog(String date, Class<T> clazz) {
Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_COLLECTION_MAU, AdminConstants.MONGO_DB_KEY_LOGDAY);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_MAU, clazz)
.getUniqueMappedResult();
}
@Override
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_COLLECTION_MAU, AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_COLLECTION_MAU).then(0))
.as(AdminConstants.MONGO_DB_COLLECTION_MAU);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection,
Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY)
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_MAU, clazz).getMappedResults();
}
}

View File

@@ -0,0 +1,69 @@
package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice;
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase;
import com.caliverse.admin.global.common.constants.AdminConstants;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.aggregation.Aggregation;
import org.springframework.data.mongodb.core.aggregation.AggregationOperation;
import org.springframework.data.mongodb.core.aggregation.ConditionalOperators;
import org.springframework.data.mongodb.core.aggregation.ProjectionOperation;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class IndicatorsMcuLoadService extends IndicatorsLogLoadServiceBase {
public IndicatorsMcuLoadService(
@Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate
) {
super(mongoTemplate);
}
public <T extends IndicatorsLog> T getDailyIndicatorLog(String date, Class<T> clazz) {
Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_KEY_MAX_COUNT_USER, AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_MAX_COUNT_USER).then(0))
.as(AdminConstants.MONGO_DB_COLLECTION_MCU);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection
);
Aggregation aggregation = Aggregation.newAggregation(operations);
List<T> results = mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_MCU, clazz)
.getMappedResults();
return results.get(0);
// return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_MCU, clazz)
// .getUniqueMappedResult(); // 단일 결과만 반환
}
@Override
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_KEY_MAX_COUNT_USER, AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_MAX_COUNT_USER).then(0))
.as(AdminConstants.MONGO_DB_COLLECTION_MCU);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection,
Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY)
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_MCU, clazz).getMappedResults();
}
}

View File

@@ -0,0 +1,69 @@
package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice;
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase;
import com.caliverse.admin.global.common.constants.AdminConstants;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.aggregation.Aggregation;
import org.springframework.data.mongodb.core.aggregation.AggregationOperation;
import org.springframework.data.mongodb.core.aggregation.ConditionalOperators;
import org.springframework.data.mongodb.core.aggregation.ProjectionOperation;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class IndicatorsMetaverServerLoadService extends IndicatorsLogLoadServiceBase {
public IndicatorsMetaverServerLoadService(
@Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate
) {
super(mongoTemplate);
}
public <T extends IndicatorsLog> T getDailyIndicatorLog(String date, Class<T> clazz) {
Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_KEY_SERVER_COUNT, AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_SERVER_COUNT).then(0))
.as(AdminConstants.MONGO_DB_COLLECTION_METAVER_SERVER);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection
);
Aggregation aggregation = Aggregation.newAggregation(operations);
List<T> results = mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_METAVER_SERVER, clazz)
.getMappedResults();
return results.get(0);
// return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_DAU, clazz)
// .getUniqueMappedResult(); // 단일 결과만 반환
}
@Override
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_KEY_SERVER_COUNT, AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_SERVER_COUNT).then(0))
.as(AdminConstants.MONGO_DB_COLLECTION_METAVER_SERVER);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection,
Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY)
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_METAVER_SERVER, clazz).getMappedResults();
}
}

View File

@@ -0,0 +1,69 @@
package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice;
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase;
import com.caliverse.admin.global.common.constants.AdminConstants;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.aggregation.Aggregation;
import org.springframework.data.mongodb.core.aggregation.AggregationOperation;
import org.springframework.data.mongodb.core.aggregation.ConditionalOperators;
import org.springframework.data.mongodb.core.aggregation.ProjectionOperation;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class IndicatorsNruLoadService extends IndicatorsLogLoadServiceBase {
public IndicatorsNruLoadService(
@Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate
) {
super(mongoTemplate);
}
public <T extends IndicatorsLog> T getDailyIndicatorLog(String date, Class<T> clazz) {
Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_COLLECTION_NRU, AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_COLLECTION_NRU).then(0))
.as(AdminConstants.MONGO_DB_COLLECTION_NRU);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection
);
Aggregation aggregation = Aggregation.newAggregation(operations);
List<T> results = mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_NRU, clazz)
.getMappedResults();
return results.get(0);
// return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_NRU, clazz)
// .getUniqueMappedResult(); // 단일 결과만 반환
}
@Override
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_COLLECTION_NRU, AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_COLLECTION_NRU).then(0))
.as(AdminConstants.MONGO_DB_COLLECTION_NRU);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection,
Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY)
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_NRU, clazz).getMappedResults();
}
}

View File

@@ -0,0 +1,62 @@
package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice;
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase;
import com.caliverse.admin.global.common.constants.AdminConstants;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.aggregation.Aggregation;
import org.springframework.data.mongodb.core.aggregation.AggregationOperation;
import org.springframework.data.mongodb.core.aggregation.ConditionalOperators;
import org.springframework.data.mongodb.core.aggregation.ProjectionOperation;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class IndicatorsPlayTimeLoadService extends IndicatorsLogLoadServiceBase {
public IndicatorsPlayTimeLoadService(
@Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate
) {
super(mongoTemplate);
}
public <T extends IndicatorsLog> T getDailyIndicatorLog(String date, Class<T> clazz) {
Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_KEY_TOTAL_PLAY_TIME_COUNT, AdminConstants.MONGO_DB_KEY_LOGDAY);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_PLAYTIME, clazz)
.getUniqueMappedResult(); // 단일 결과만 반환
}
@Override
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_KEY_TOTAL_PLAY_TIME_COUNT, AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_TOTAL_PLAY_TIME_COUNT).then(0L))
.as(AdminConstants.MONGO_DB_COLLECTION_PLAYTIME);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection,
Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY)
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_PLAYTIME, clazz).getMappedResults();
}
}

View File

@@ -0,0 +1,64 @@
package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice;
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase;
import com.caliverse.admin.global.common.constants.AdminConstants;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.aggregation.Aggregation;
import org.springframework.data.mongodb.core.aggregation.AggregationOperation;
import org.springframework.data.mongodb.core.aggregation.ConditionalOperators;
import org.springframework.data.mongodb.core.aggregation.ProjectionOperation;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class IndicatorsUgqCreateLoadService extends IndicatorsLogLoadServiceBase {
public IndicatorsUgqCreateLoadService(
@Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate
) {
super(mongoTemplate);
}
public <T extends IndicatorsLog> T getDailyIndicatorLog(String date, Class<T> clazz) {
Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_KEY_UGQ_CREATE_COUNT, AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_UGQ_CREATE_COUNT).then(0L))
.as(AdminConstants.MONGO_DB_COLLECTION_UGQ_CREATE);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_UGQ_CREATE, clazz)
.getUniqueMappedResult(); // 단일 결과만 반환
}
@Override
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_KEY_UGQ_CREATE_COUNT, AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_KEY_UGQ_CREATE_COUNT).then(0L))
.as(AdminConstants.MONGO_DB_COLLECTION_UGQ_CREATE);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection,
Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY)
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_UGQ_CREATE, clazz).getMappedResults();
}
}

View File

@@ -0,0 +1,62 @@
package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice;
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
import com.caliverse.admin.Indicators.Indicatorsservice.base.IndicatorsLogLoadServiceBase;
import com.caliverse.admin.global.common.constants.AdminConstants;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.aggregation.Aggregation;
import org.springframework.data.mongodb.core.aggregation.AggregationOperation;
import org.springframework.data.mongodb.core.aggregation.ConditionalOperators;
import org.springframework.data.mongodb.core.aggregation.ProjectionOperation;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class IndicatorsWauLoadService extends IndicatorsLogLoadServiceBase {
public IndicatorsWauLoadService(
@Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate
) {
super(mongoTemplate);
}
public <T extends IndicatorsLog> T getDailyIndicatorLog(String date, Class<T> clazz) {
Criteria criteria = Criteria.where(AdminConstants.MONGO_DB_KEY_LOGDAY).is(date);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_COLLECTION_WAU, AdminConstants.MONGO_DB_KEY_LOGDAY);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_WAU, clazz)
.getUniqueMappedResult();
}
@Override
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
Criteria criteria = makeCriteria(startTime, endTime, AdminConstants.MONGO_DB_KEY_LOGDAY);
ProjectionOperation projection = Aggregation.project()
.andInclude(AdminConstants.MONGO_DB_COLLECTION_WAU, AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(ConditionalOperators.ifNull("$" + AdminConstants.MONGO_DB_COLLECTION_WAU).then(0))
.as(AdminConstants.MONGO_DB_COLLECTION_WAU);
List<AggregationOperation> operations = List.of(
Aggregation.match(criteria),
projection,
Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY)
);
Aggregation aggregation = Aggregation.newAggregation(operations);
return mongoTemplate.aggregate(aggregation, AdminConstants.MONGO_DB_COLLECTION_WAU, clazz).getMappedResults();
}
}

View File

@@ -0,0 +1,11 @@
package com.caliverse.admin.Indicators.Indicatorsservice.base;
import java.util.List;
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
public interface IndicatorsLogLoadService {
<T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz);
}

View File

@@ -0,0 +1,67 @@
package com.caliverse.admin.Indicators.Indicatorsservice.base;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.aggregation.Aggregation;
import org.springframework.data.mongodb.core.aggregation.AggregationOperation;
import org.springframework.data.mongodb.core.aggregation.ProjectionOperation;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.stereotype.Service;
import com.caliverse.admin.global.common.constants.AdminConstants;
@Service
public abstract class IndicatorsLogLoadServiceBase implements IndicatorsLogLoadService {
protected final MongoTemplate mongoTemplate;
public IndicatorsLogLoadServiceBase(
@Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate
) {
this.mongoTemplate = mongoTemplate;
}
protected Criteria makeCriteria(String startDate, String endDate, String dateFieldName) {
return new Criteria()
.andOperator(
Criteria.where(dateFieldName).gte(startDate),
Criteria.where(dateFieldName).lt(endDate)
);
}
public Criteria makeCriteria(String startDate, String endDate)
{
return makeCriteria(startDate, endDate, AdminConstants.MONGO_DB_KEY_LOGTIME);
}
// 24.12.13 현재 사용안함
private AggregationOperation getDefaultProjectOperationName(){
ProjectionOperation projectOperation = Aggregation.project()
.and(AdminConstants.MONGO_DB_KEY_LOGDAY).as(AdminConstants.MONGO_DB_KEY_LOGDAY)
.and(AdminConstants.INDICATORS_KEY_DAU_BY_LANG).as(AdminConstants.INDICATORS_KEY_DAU_BY_LANG)
;
return projectOperation;
}
// 24.12.13 현재 사용안함
protected List<AggregationOperation> setDefaultOperation(Criteria criteria){
List<AggregationOperation> operations = new ArrayList<>();
operations.add(Aggregation.match(criteria));
operations.add(getDefaultProjectOperationName());
return operations;
}
}

View File

@@ -0,0 +1,34 @@
package com.caliverse.admin.Indicators.entity;
import java.util.List;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@Document(collection = "au")
public class AuPerMinLogInfo extends LogInfoBase {
@Id
private String logMinute;
private String languageType;
private List<String> userGuidList;
private int userGuidListCount;
public AuPerMinLogInfo(String logMinute, String languageType, List<String> userGuidList, int userGuidListCount) {
super(StatisticsType.AU_PER_MIN);
this.logMinute = logMinute;
this.languageType = languageType;
this.userGuidList = userGuidList;
this.userGuidListCount = userGuidListCount;
}
}

View File

@@ -0,0 +1,25 @@
package com.caliverse.admin.Indicators.entity;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;
@Getter
@Setter
@Document(collection = "capacity")
public class DBCapacityInfo extends LogInfoBase{
private String logDay;
private String namespace;
private Long consumeReadTotal;
private Long consumeWriteTotal;
public DBCapacityInfo(String logDay, String namespace, Long consumeReadTotal, Long consumeWriteTotal) {
super(StatisticsType.CAPACITY);
this.logDay = logDay;
this.namespace = namespace;
this.consumeReadTotal = consumeReadTotal;
this.consumeWriteTotal = consumeWriteTotal;
}
}

View File

@@ -0,0 +1,25 @@
package com.caliverse.admin.Indicators.entity;
import java.util.Map;
import org.springframework.data.mongodb.core.mapping.Document;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@Document(collection = "dau")
public class DauLogInfo extends LogInfoBase {
private Integer dau;
private String logDay;
public DauLogInfo(String logDay, Integer dau) {
super(StatisticsType.DAU);
this.dau = dau;
this.logDay = logDay;
//this.dauByLang = dauByLang;
}
}

View File

@@ -0,0 +1,20 @@
package com.caliverse.admin.Indicators.entity;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;
@Getter
@Setter
@Document(collection = "dglc")
public class DglcLogInfo extends LogInfoBase{
private String logDay;
private Integer dglc;
public DglcLogInfo(String logDay, Integer dglc) {
super(StatisticsType.DGLC);
this.logDay = logDay;
this.dglc = dglc;
}
}

View File

@@ -0,0 +1,17 @@
package com.caliverse.admin.Indicators.entity;
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class LogInfoBase implements IndicatorsLog{
private StatisticsType statisticsType;
public LogInfoBase(StatisticsType statisticsType) {
this.statisticsType = statisticsType;
}
}

View File

@@ -0,0 +1,25 @@
package com.caliverse.admin.Indicators.entity;
import java.util.Map;
import org.springframework.data.mongodb.core.mapping.Document;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@Document(collection = "mau")
public class MauLogInfo extends LogInfoBase {
private Integer mau;
private String logDay;
public MauLogInfo(String logDay, Integer mau) {
super(StatisticsType.MAU);
this.mau = mau;
this.logDay = logDay;
}
}

View File

@@ -0,0 +1,25 @@
package com.caliverse.admin.Indicators.entity;
import java.util.Map;
import org.springframework.data.mongodb.core.mapping.Document;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@Document(collection = "mcu")
public class McuLogInfo extends LogInfoBase {
private String logDay;
private Integer maxCountUser;
public McuLogInfo(String logDay, Integer maxCountUser) {
super(StatisticsType.MCU);
this.logDay = logDay;
this.maxCountUser = maxCountUser;
}
}

View File

@@ -0,0 +1,21 @@
package com.caliverse.admin.Indicators.entity;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;
@Getter
@Setter
@Document(collection = "metaverseserver")
public class MetaverseServerInfo extends LogInfoBase{
private String logDay;
private Integer serverCount;
public MetaverseServerInfo(String logDay, Integer serverCount) {
super(StatisticsType.SERVER_INFO);
this.logDay = logDay;
this.serverCount = serverCount;
}
}

View File

@@ -0,0 +1,32 @@
package com.caliverse.admin.Indicators.entity;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;
@Getter
@Setter
@Document(collection = "money")
public class MoneyLogInfo extends LogInfoBase {
private String logDay;
private String guid;
private String nickname;
private Double gold;
private Double sapphire;
private Double calium;
private Double ruby;
public MoneyLogInfo(String logDay, String guid, String nickname, Double gold, Double sapphire, Double calium, Double ruby) {
super(StatisticsType.MONEY);
this.logDay = logDay;
this.guid = guid;
this.nickname = nickname;
this.gold = gold;
this.sapphire = sapphire;
this.calium = calium;
this.ruby = ruby;
}
}

View File

@@ -0,0 +1,20 @@
package com.caliverse.admin.Indicators.entity;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;
@Getter
@Setter
@Document(collection = "nru")
public class NruLogInfo extends LogInfoBase{
private String logDay;
private Integer nru;
public NruLogInfo(String logDay, Integer nru) {
super(StatisticsType.NRU);
this.logDay = logDay;
this.nru = nru;
}
}

View File

@@ -0,0 +1,20 @@
package com.caliverse.admin.Indicators.entity;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;
@Getter
@Setter
@Document(collection = "playtime")
public class PlayTimeLogInfo extends LogInfoBase{
private String logDay;
private Long totalPlayTimeCount;
public PlayTimeLogInfo(String logDay, Long totalPlayTimeCount) {
super(StatisticsType.PLAY_TIME);
this.logDay = logDay;
this.totalPlayTimeCount = totalPlayTimeCount;
}
}

View File

@@ -0,0 +1,28 @@
package com.caliverse.admin.Indicators.entity;
public enum StatisticsType {
AU_PER_MIN,
//AU_PER_HOUR,
DAU,
WAU,
MAU,
MCU,
NRU,
PLAY_TIME,
DGLC,
CAPACITY,
UGQ_CREATE,
SERVER_INFO,
MONEY
;
public static StatisticsType getStatisticsType(String type) {
for (StatisticsType statisticsType : StatisticsType.values()) {
if (statisticsType.name().equals(type)) {
return statisticsType;
}
}
return null;
}
}

View File

@@ -0,0 +1,20 @@
package com.caliverse.admin.Indicators.entity;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;
@Getter
@Setter
@Document(collection = "ugqcreate")
public class UgqCreateLogInfo extends LogInfoBase{
private String logDay;
private Integer ugqCrateCount;
public UgqCreateLogInfo(String logDay, Integer ugqCrateCount) {
super(StatisticsType.UGQ_CREATE);
this.logDay = logDay;
this.ugqCrateCount = ugqCrateCount;
}
}

View File

@@ -0,0 +1,24 @@
package com.caliverse.admin.Indicators.entity;
import java.util.Map;
import org.springframework.data.mongodb.core.mapping.Document;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@Document(collection = "wau")
public class WauLogInfo extends LogInfoBase {
private Integer wau;
private String logDay;
public WauLogInfo(String logDay, Integer wau) {
super(StatisticsType.WAU);
this.logDay = logDay;
this.wau = wau;
}
}

View File

@@ -0,0 +1,9 @@
package com.caliverse.admin.Indicators.indicatorrepository;
import org.springframework.data.mongodb.repository.MongoRepository;
import com.caliverse.admin.Indicators.entity.AuPerMinLogInfo;
public interface IndicatorAuPerMinRepository extends MongoRepository<AuPerMinLogInfo, String> {
}

View File

@@ -0,0 +1,7 @@
package com.caliverse.admin.Indicators.indicatorrepository;
import com.caliverse.admin.Indicators.entity.DBCapacityInfo;
import org.springframework.data.mongodb.repository.MongoRepository;
public interface IndicatorDBCapacityRepository extends MongoRepository<DBCapacityInfo, String> {
}

View File

@@ -0,0 +1,12 @@
package com.caliverse.admin.Indicators.indicatorrepository;
import org.springframework.data.mongodb.repository.MongoRepository;
import com.caliverse.admin.Indicators.entity.DauLogInfo;
import org.springframework.data.mongodb.repository.Query;
import java.util.List;
public interface IndicatorDauRepository extends MongoRepository<DauLogInfo, String> {
List<DauLogInfo> findByLogDay(String logDay);
}

View File

@@ -0,0 +1,7 @@
package com.caliverse.admin.Indicators.indicatorrepository;
import com.caliverse.admin.Indicators.entity.DglcLogInfo;
import org.springframework.data.mongodb.repository.MongoRepository;
public interface IndicatorDglcRepository extends MongoRepository<DglcLogInfo, String> {
}

View File

@@ -0,0 +1,8 @@
package com.caliverse.admin.Indicators.indicatorrepository;
import com.caliverse.admin.Indicators.entity.DauLogInfo;
import com.caliverse.admin.Indicators.entity.MauLogInfo;
import org.springframework.data.mongodb.repository.MongoRepository;
public interface IndicatorMauRepository extends MongoRepository<MauLogInfo, String> {
}

View File

@@ -0,0 +1,10 @@
package com.caliverse.admin.Indicators.indicatorrepository;
import com.caliverse.admin.Indicators.entity.McuLogInfo;
import org.springframework.data.mongodb.repository.MongoRepository;
import java.util.List;
public interface IndicatorMcuRepository extends MongoRepository<McuLogInfo, String> {
List<McuLogInfo> findByLogDay(String logDay);
}

View File

@@ -0,0 +1,7 @@
package com.caliverse.admin.Indicators.indicatorrepository;
import com.caliverse.admin.Indicators.entity.MetaverseServerInfo;
import org.springframework.data.mongodb.repository.MongoRepository;
public interface IndicatorMetaverServerRepository extends MongoRepository<MetaverseServerInfo, String> {
}

View File

@@ -0,0 +1,7 @@
package com.caliverse.admin.Indicators.indicatorrepository;
import com.caliverse.admin.Indicators.entity.MoneyLogInfo;
import org.springframework.data.mongodb.repository.MongoRepository;
public interface IndicatorMoneyRepository extends MongoRepository<MoneyLogInfo, String> {
}

View File

@@ -0,0 +1,10 @@
package com.caliverse.admin.Indicators.indicatorrepository;
import com.caliverse.admin.Indicators.entity.NruLogInfo;
import org.springframework.data.mongodb.repository.MongoRepository;
import java.util.List;
public interface IndicatorNruRepository extends MongoRepository<NruLogInfo, String> {
List<NruLogInfo> findByLogDay(String logDay);
}

View File

@@ -0,0 +1,7 @@
package com.caliverse.admin.Indicators.indicatorrepository;
import com.caliverse.admin.Indicators.entity.PlayTimeLogInfo;
import org.springframework.data.mongodb.repository.MongoRepository;
public interface IndicatorPlayTimRepository extends MongoRepository<PlayTimeLogInfo, String> {
}

View File

@@ -0,0 +1,7 @@
package com.caliverse.admin.Indicators.indicatorrepository;
import com.caliverse.admin.Indicators.entity.UgqCreateLogInfo;
import org.springframework.data.mongodb.repository.MongoRepository;
public interface IndicatorUgqCreateRepository extends MongoRepository<UgqCreateLogInfo, String> {
}

View File

@@ -0,0 +1,9 @@
package com.caliverse.admin.Indicators.indicatorrepository;
import com.caliverse.admin.Indicators.entity.DauLogInfo;
import com.caliverse.admin.Indicators.entity.WauLogInfo;
import org.springframework.data.mongodb.repository.MongoRepository;
public interface IndicatorWauRepository extends MongoRepository<WauLogInfo, String> {
}

View File

@@ -0,0 +1,10 @@
package com.caliverse.admin.Indicators.indicatorrepository;
public interface MongoIndicatorRepository{
}
// public interface MongoStatRepository<T extends LogInfoBase> extends MongoRepository<T, String> {
// }

View File

@@ -0,0 +1,77 @@
package com.caliverse.admin.domain.RabbitMq;
import com.caliverse.admin.domain.RabbitMq.message.LogoutReasonType;
import com.caliverse.admin.domain.RabbitMq.message.MailItem;
import com.caliverse.admin.domain.RabbitMq.message.OperationSystemMessage;
import com.caliverse.admin.domain.RabbitMq.message.ServerMessage;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import java.util.List;
@Slf4j
@Service
public class MessageHandlerService {
private final RabbitMqService rabbitMqService;
public MessageHandlerService(RabbitMqService rabbitMqService) {
this.rabbitMqService = rabbitMqService;
}
public void sendUserKickMessage(String userGuid, String serverName){
var user_kick_builder = ServerMessage.MOS2GS_NTF_USER_KICK.newBuilder();
user_kick_builder.setUserGuid(userGuid);
user_kick_builder.setKickReasonMsg("");
user_kick_builder.setLogoutReasonType(LogoutReasonType.LogoutReasonType_None);
rabbitMqService.SendMessage(user_kick_builder.build(), serverName);
}
public void sendNoticeMessage(List<String> serverList, String type, List<OperationSystemMessage> msgList, List<OperationSystemMessage> senderList){
try {
var noticeBuilder = ServerMessage.MOS2GS_NTF_NOTICE_CHAT.newBuilder();
noticeBuilder.addNoticeType(type);
// noticeBuilder.setNoticeType(0, type);
// int msgIdx = 0;
for (OperationSystemMessage msg : msgList) {
noticeBuilder.addChatMessage(msg);
// noticeBuilder.setChatMessage(msgIdx, msg);
// msgIdx++;
}
for (OperationSystemMessage sender : senderList) {
noticeBuilder.addSender(sender);
}
for (String server : serverList) {
rabbitMqService.SendMessage(noticeBuilder.build(), server);
}
}catch (Exception e){
log.error(e.getMessage());
}
}
public void sendMailMessage(String serverName, String userGuid, String mailType, List<OperationSystemMessage> titleList, List<OperationSystemMessage> msgList
, List<MailItem> itemList, List<OperationSystemMessage> senderList){
var mail_builder = ServerMessage.MOS2GS_NTF_MAIL_SEND.newBuilder();
mail_builder.setUserGuid(userGuid);
mail_builder.setMailType(mailType);
for(OperationSystemMessage title : titleList){
mail_builder.addTitle(title);
}
for(OperationSystemMessage msg : msgList){
mail_builder.addMsg(msg);
}
for(MailItem item : itemList){
mail_builder.addItemList(item);
}
for(OperationSystemMessage sender : senderList){
mail_builder.addSender(sender);
}
rabbitMqService.SendMessage(mail_builder.build(), serverName);
}
}

View File

@@ -0,0 +1,93 @@
package com.caliverse.admin.domain.RabbitMq;
import com.caliverse.admin.domain.RabbitMq.message.ServerMessage;
import com.caliverse.admin.global.common.code.CommonCode;
import com.caliverse.admin.global.common.code.ErrorCode;
import com.caliverse.admin.global.common.exception.RestApiException;
import com.google.protobuf.InvalidProtocolBufferException;
import com.google.protobuf.Timestamp;
import com.google.protobuf.util.JsonFormat;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import org.apache.catalina.Server;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import java.io.IOException;
import java.time.Instant;
import java.util.Objects;
import java.util.concurrent.TimeoutException;
@Slf4j
@Service
public class RabbitMqService {
private final Connection m_rabbitMq;
public RabbitMqService(Connection rabbitMqConnection) {
this.m_rabbitMq = rabbitMqConnection;
}
// Send ServerMessage to GameServer
public void SendMessage(com.google.protobuf.GeneratedMessageV3 message, String destServer) {
try {
Channel channel = m_rabbitMq.createChannel();
var server_message_builder = ServerMessage.newBuilder();
server_message_builder.setMessageTime(getCurrentTimestamp());
server_message_builder.setMessageSender("AdminTool");
for(var descriptor : ServerMessage.getDescriptor().getOneofs().get(0).getFields())
{
if(!Objects.equals(descriptor.getMessageType().getName(), message.getDescriptorForType().getName())) continue;
server_message_builder.setField(descriptor, message);
break;
}
String send = JsonFormat.printer().print(server_message_builder);
channel.queueDeclare(destServer, true, false, true, null);
channel.basicPublish("", destServer, null, send.getBytes());
}
catch (InvalidProtocolBufferException e) {
log.error("InvalidProtocolBufferException message: {}, destServer: {}, e.Message : {}", message.toString(), destServer, e.getMessage());
throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.EXCEPTION_INVALID_PROTOCOL_BUFFER_EXCEPTION_ERROR.getMessage());
}
catch (IOException e) {
log.error("IOException message: {}, destServer: {}, e.Message : {}", message.toString(), destServer, e.getMessage());
throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.EXCEPTION_IO_EXCEPTION_ERROR.getMessage());
}
}
private Timestamp getCurrentTimestamp()
{
var current = Instant.now();
return Timestamp.newBuilder().setSeconds(current.getEpochSecond())
.setNanos(current.getNano()).build();
}
// Consumer 등록 : 현재는 운영툴 Backend 가 ServerMessage 를 받을 필요가 없다.
/*public void startConsumer() throws IOException, TimeoutException
{
if(!m_rabbitMq.isOpen())
{
return;
}
try(Channel channel = m_rabbitMq.createChannel())
{
channel.queueDeclare(m_server_name, true, false, true, null);
channel.basicConsume(m_server_name, true, deliveryCallback, consumerTag -> { });
}
}
private final DeliverCallback deliveryCallback = (consumerTag, delivery) ->
{
String message = new String(delivery.getBody());
logger.info("Received message: {}", message);
};*/
}

View File

@@ -0,0 +1,62 @@
package com.caliverse.admin.domain.RabbitMq;
import com.caliverse.admin.domain.RabbitMq.message.*;
import com.caliverse.admin.domain.entity.BlackList;
import com.caliverse.admin.domain.entity.SANCTIONS;
import com.caliverse.admin.domain.entity.SANCTIONSTYPE;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;
@Component
@RequiredArgsConstructor
public class RabbitMqUtils {
// public static UserBlockReasonType getUserBlockSanctionName(SANCTIONS sanction){
// switch (sanction){
// case ACCOUNT_IMPERSONATION:
// return UserBlockReasonType.UserBlockReasonType_Account_Impersonation;
// case BAD_BEHAVIOR:
// return UserBlockReasonType.UserBlockReasonType_Bad_Behavior;
// case CASH_TRANSACTION:
// return UserBlockReasonType.UserBlockReasonType_Cash_Transaction;
// case ADMIN_IMPERSONATION:
// return UserBlockReasonType.UserBlockReasonType_Asmin_Impersonation;
// case BUG_ABUSE:
// return UserBlockReasonType.UserBlockReasonType_Bug_Abuse;
// case GAME_INTERFERENCE:
// return UserBlockReasonType.UserBlockReasonType_Game_Interference;
// case ILLEGAL_PROGRAM:
// return UserBlockReasonType.UserBlockReasonType_Illegal_Program;
// case INAPPROPRIATE_NAME:
// return UserBlockReasonType.UserBlockReasonType_Inappropriate_Name;
// case PERSONAL_INFO_LEAK:
// return UserBlockReasonType.UserBlockReasonType_Personal_Info_Leak;
// case SERVICE_INTERFERENCE:
// return UserBlockReasonType.UserBlockReasonType_Service_Interference;
// }
// return null;
// }
//
// public static UserBlockPolicyType getUserBlockPolicyName(SANCTIONSTYPE sanctionstype){
// switch (sanctionstype){
// case ACCESS_RESTRICTIONS:
// return UserBlockPolicyType.UserBlockPolicyType_Access_Restrictions;
// case CHATTING_RESTRICTIONS:
// return UserBlockPolicyType.UserBlockPolicyType_Chatting_Restrictions;
// }
// return null;
// }
public static AuthAdminLevelType getUserAdminLevelType(String type){
switch (type){
case "0":
return AuthAdminLevelType.AuthAdminLevelType_None;
case "1":
return AuthAdminLevelType.AuthAdminLevelType_GmNormal;
case "2":
return AuthAdminLevelType.AuthAdminLevelType_GmSuper;
case "3":
return AuthAdminLevelType.AuthAdminLevelType_Developer;
}
return null;
}
}

View File

@@ -0,0 +1,735 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* <20>ɷ<EFBFBD>ġ <20><><EFBFBD><EFBFBD> : <20><>Ŷ<EFBFBD><C5B6>
* </pre>
*
* Protobuf type {@code AbilityInfo}
*/
public final class AbilityInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AbilityInfo)
AbilityInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use AbilityInfo.newBuilder() to construct.
private AbilityInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AbilityInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AbilityInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AbilityInfo_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetValues();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AbilityInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.class, com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.Builder.class);
}
public static final int VALUES_FIELD_NUMBER = 1;
private static final class ValuesDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.Integer, java.lang.Integer> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.Integer, java.lang.Integer>newDefaultInstance(
com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AbilityInfo_ValuesEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.INT32,
0,
com.google.protobuf.WireFormat.FieldType.INT32,
0);
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> values_;
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
internalGetValues() {
if (values_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ValuesDefaultEntryHolder.defaultEntry);
}
return values_;
}
public int getValuesCount() {
return internalGetValues().getMap().size();
}
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
@java.lang.Override
public boolean containsValues(
int key) {
return internalGetValues().getMap().containsKey(key);
}
/**
* Use {@link #getValuesMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Integer> getValues() {
return getValuesMap();
}
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.Integer, java.lang.Integer> getValuesMap() {
return internalGetValues().getMap();
}
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
@java.lang.Override
public int getValuesOrDefault(
int key,
int defaultValue) {
java.util.Map<java.lang.Integer, java.lang.Integer> map =
internalGetValues().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
@java.lang.Override
public int getValuesOrThrow(
int key) {
java.util.Map<java.lang.Integer, java.lang.Integer> map =
internalGetValues().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.serializeIntegerMapTo(
output,
internalGetValues(),
ValuesDefaultEntryHolder.defaultEntry,
1);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
: internalGetValues().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
values__ = ValuesDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, values__);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.AbilityInfo)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.AbilityInfo other = (com.caliverse.admin.domain.RabbitMq.message.AbilityInfo) obj;
if (!internalGetValues().equals(
other.internalGetValues())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (!internalGetValues().getMap().isEmpty()) {
hash = (37 * hash) + VALUES_FIELD_NUMBER;
hash = (53 * hash) + internalGetValues().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.AbilityInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* <20>ɷ<EFBFBD>ġ <20><><EFBFBD><EFBFBD> : <20><>Ŷ<EFBFBD><C5B6>
* </pre>
*
* Protobuf type {@code AbilityInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:AbilityInfo)
com.caliverse.admin.domain.RabbitMq.message.AbilityInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AbilityInfo_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetValues();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 1:
return internalGetMutableValues();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AbilityInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.class, com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
internalGetMutableValues().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AbilityInfo_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AbilityInfo getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AbilityInfo build() {
com.caliverse.admin.domain.RabbitMq.message.AbilityInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AbilityInfo buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.AbilityInfo result = new com.caliverse.admin.domain.RabbitMq.message.AbilityInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.AbilityInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.values_ = internalGetValues();
result.values_.makeImmutable();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.AbilityInfo) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.AbilityInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.AbilityInfo other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.AbilityInfo.getDefaultInstance()) return this;
internalGetMutableValues().mergeFrom(
other.internalGetValues());
bitField0_ |= 0x00000001;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
values__ = input.readMessage(
ValuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableValues().getMutableMap().put(
values__.getKey(), values__.getValue());
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> values_;
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
internalGetValues() {
if (values_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ValuesDefaultEntryHolder.defaultEntry);
}
return values_;
}
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
internalGetMutableValues() {
if (values_ == null) {
values_ = com.google.protobuf.MapField.newMapField(
ValuesDefaultEntryHolder.defaultEntry);
}
if (!values_.isMutable()) {
values_ = values_.copy();
}
bitField0_ |= 0x00000001;
onChanged();
return values_;
}
public int getValuesCount() {
return internalGetValues().getMap().size();
}
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
@java.lang.Override
public boolean containsValues(
int key) {
return internalGetValues().getMap().containsKey(key);
}
/**
* Use {@link #getValuesMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Integer> getValues() {
return getValuesMap();
}
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.Integer, java.lang.Integer> getValuesMap() {
return internalGetValues().getMap();
}
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
@java.lang.Override
public int getValuesOrDefault(
int key,
int defaultValue) {
java.util.Map<java.lang.Integer, java.lang.Integer> map =
internalGetValues().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
@java.lang.Override
public int getValuesOrThrow(
int key) {
java.util.Map<java.lang.Integer, java.lang.Integer> map =
internalGetValues().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearValues() {
bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableValues().getMutableMap()
.clear();
return this;
}
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
public Builder removeValues(
int key) {
internalGetMutableValues().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Integer>
getMutableValues() {
bitField0_ |= 0x00000001;
return internalGetMutableValues().getMutableMap();
}
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
public Builder putValues(
int key,
int value) {
internalGetMutableValues().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000001;
return this;
}
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
public Builder putAllValues(
java.util.Map<java.lang.Integer, java.lang.Integer> values) {
internalGetMutableValues().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000001;
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AbilityInfo)
}
// @@protoc_insertion_point(class_scope:AbilityInfo)
private static final com.caliverse.admin.domain.RabbitMq.message.AbilityInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.AbilityInfo();
}
public static com.caliverse.admin.domain.RabbitMq.message.AbilityInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<AbilityInfo>
PARSER = new com.google.protobuf.AbstractParser<AbilityInfo>() {
@java.lang.Override
public AbilityInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AbilityInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AbilityInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AbilityInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,61 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface AbilityInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:AbilityInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
int getValuesCount();
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
boolean containsValues(
int key);
/**
* Use {@link #getValuesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.Integer, java.lang.Integer>
getValues();
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
java.util.Map<java.lang.Integer, java.lang.Integer>
getValuesMap();
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
int getValuesOrDefault(
int key,
int defaultValue);
/**
* <pre>
* &lt;AttributeType, <20>ɷ<EFBFBD>ġ&gt;
* </pre>
*
* <code>map&lt;int32, int32&gt; values = 1;</code>
*/
int getValuesOrThrow(
int key);
}

View File

@@ -0,0 +1,135 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* Account <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* Protobuf enum {@code AccountCreationType}
*/
public enum AccountCreationType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>AccountCreationType_None = 0;</code>
*/
AccountCreationType_None(0),
/**
* <code>AccountCreationType_Normal = 1;</code>
*/
AccountCreationType_Normal(1),
/**
* <code>AccountCreationType_Test = 2;</code>
*/
AccountCreationType_Test(2),
/**
* <code>AccountCreationType_Bot = 3;</code>
*/
AccountCreationType_Bot(3),
UNRECOGNIZED(-1),
;
/**
* <code>AccountCreationType_None = 0;</code>
*/
public static final int AccountCreationType_None_VALUE = 0;
/**
* <code>AccountCreationType_Normal = 1;</code>
*/
public static final int AccountCreationType_Normal_VALUE = 1;
/**
* <code>AccountCreationType_Test = 2;</code>
*/
public static final int AccountCreationType_Test_VALUE = 2;
/**
* <code>AccountCreationType_Bot = 3;</code>
*/
public static final int AccountCreationType_Bot_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AccountCreationType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static AccountCreationType forNumber(int value) {
switch (value) {
case 0: return AccountCreationType_None;
case 1: return AccountCreationType_Normal;
case 2: return AccountCreationType_Test;
case 3: return AccountCreationType_Bot;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AccountCreationType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AccountCreationType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AccountCreationType>() {
public AccountCreationType findValueByNumber(int number) {
return AccountCreationType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(10);
}
private static final AccountCreationType[] VALUES = values();
public static AccountCreationType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private AccountCreationType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:AccountCreationType)
}

View File

@@ -0,0 +1,278 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* Protobuf enum {@code AccountSactionType}
*/
public enum AccountSactionType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>AccountSactionType_None = 0;</code>
*/
AccountSactionType_None(0),
/**
* <pre>
* <20><><EFBFBD>ų<EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_BadBhavior = 1;</code>
*/
AccountSactionType_BadBhavior(1),
/**
* <pre>
* <20>Ұ<EFBFBD><D2B0><EFBFBD> <20≯<EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_InvapproprivateName = 2;</code>
*/
AccountSactionType_InvapproprivateName(2),
/**
* <pre>
* ij<><C4B3> Ʈ<><C6AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_CashTransaction = 3;</code>
*/
AccountSactionType_CashTransaction(3),
/**
* <pre>
* <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_GameInterference = 4;</code>
*/
AccountSactionType_GameInterference(4),
/**
* <pre>
* <20><EFBFBD><EEBFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_ServiceInterference = 5;</code>
*/
AccountSactionType_ServiceInterference(5),
/**
* <pre>
* <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_AccountImpersonation = 6;</code>
*/
AccountSactionType_AccountImpersonation(6),
/**
* <pre>
* <20><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>¡
* </pre>
*
* <code>AccountSactionType_BugAbuse = 7;</code>
*/
AccountSactionType_BugAbuse(7),
/**
* <pre>
* <20><><EFBFBD>α׷<CEB1> <20>ҹ<EFBFBD><D2B9><EFBFBD><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_IllegalProgram = 8;</code>
*/
AccountSactionType_IllegalProgram(8),
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_PersonalInfo_Leak = 9;</code>
*/
AccountSactionType_PersonalInfo_Leak(9),
/**
* <pre>
* <20><EFBFBD><EEBFB5> <20><>Ī
* </pre>
*
* <code>AccountSactionType_AdminImpersonation = 10;</code>
*/
AccountSactionType_AdminImpersonation(10),
UNRECOGNIZED(-1),
;
/**
* <code>AccountSactionType_None = 0;</code>
*/
public static final int AccountSactionType_None_VALUE = 0;
/**
* <pre>
* <20><><EFBFBD>ų<EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_BadBhavior = 1;</code>
*/
public static final int AccountSactionType_BadBhavior_VALUE = 1;
/**
* <pre>
* <20>Ұ<EFBFBD><D2B0><EFBFBD> <20≯<EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_InvapproprivateName = 2;</code>
*/
public static final int AccountSactionType_InvapproprivateName_VALUE = 2;
/**
* <pre>
* ij<><C4B3> Ʈ<><C6AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_CashTransaction = 3;</code>
*/
public static final int AccountSactionType_CashTransaction_VALUE = 3;
/**
* <pre>
* <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_GameInterference = 4;</code>
*/
public static final int AccountSactionType_GameInterference_VALUE = 4;
/**
* <pre>
* <20><EFBFBD><EEBFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_ServiceInterference = 5;</code>
*/
public static final int AccountSactionType_ServiceInterference_VALUE = 5;
/**
* <pre>
* <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_AccountImpersonation = 6;</code>
*/
public static final int AccountSactionType_AccountImpersonation_VALUE = 6;
/**
* <pre>
* <20><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>¡
* </pre>
*
* <code>AccountSactionType_BugAbuse = 7;</code>
*/
public static final int AccountSactionType_BugAbuse_VALUE = 7;
/**
* <pre>
* <20><><EFBFBD>α׷<CEB1> <20>ҹ<EFBFBD><D2B9><EFBFBD><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_IllegalProgram = 8;</code>
*/
public static final int AccountSactionType_IllegalProgram_VALUE = 8;
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>AccountSactionType_PersonalInfo_Leak = 9;</code>
*/
public static final int AccountSactionType_PersonalInfo_Leak_VALUE = 9;
/**
* <pre>
* <20><EFBFBD><EEBFB5> <20><>Ī
* </pre>
*
* <code>AccountSactionType_AdminImpersonation = 10;</code>
*/
public static final int AccountSactionType_AdminImpersonation_VALUE = 10;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AccountSactionType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static AccountSactionType forNumber(int value) {
switch (value) {
case 0: return AccountSactionType_None;
case 1: return AccountSactionType_BadBhavior;
case 2: return AccountSactionType_InvapproprivateName;
case 3: return AccountSactionType_CashTransaction;
case 4: return AccountSactionType_GameInterference;
case 5: return AccountSactionType_ServiceInterference;
case 6: return AccountSactionType_AccountImpersonation;
case 7: return AccountSactionType_BugAbuse;
case 8: return AccountSactionType_IllegalProgram;
case 9: return AccountSactionType_PersonalInfo_Leak;
case 10: return AccountSactionType_AdminImpersonation;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AccountSactionType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AccountSactionType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AccountSactionType>() {
public AccountSactionType findValueByNumber(int number) {
return AccountSactionType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(19);
}
private static final AccountSactionType[] VALUES = values();
public static AccountSactionType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private AccountSactionType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:AccountSactionType)
}

View File

@@ -0,0 +1,126 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* Protobuf enum {@code AccountType}
*/
public enum AccountType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>AccountType_None = 0;</code>
*/
AccountType_None(0),
/**
* <code>AccountType_Google = 1;</code>
*/
AccountType_Google(1),
/**
* <code>AccountType_Apple = 2;</code>
*/
AccountType_Apple(2),
UNRECOGNIZED(-1),
;
/**
* <code>AccountType_None = 0;</code>
*/
public static final int AccountType_None_VALUE = 0;
/**
* <code>AccountType_Google = 1;</code>
*/
public static final int AccountType_Google_VALUE = 1;
/**
* <code>AccountType_Apple = 2;</code>
*/
public static final int AccountType_Apple_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AccountType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static AccountType forNumber(int value) {
switch (value) {
case 0: return AccountType_None;
case 1: return AccountType_Google;
case 2: return AccountType_Apple;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AccountType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AccountType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AccountType>() {
public AccountType findValueByNumber(int number) {
return AccountType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(1);
}
private static final AccountType[] VALUES = values();
public static AccountType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private AccountType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:AccountType)
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,101 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface AllUgqInfosOrBuilder extends
// @@protoc_insertion_point(interface_extends:AllUgqInfos)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .QuestInfo quests = 1;</code>
*/
java.util.List<com.caliverse.admin.domain.RabbitMq.message.QuestInfo>
getQuestsList();
/**
* <code>repeated .QuestInfo quests = 1;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.QuestInfo getQuests(int index);
/**
* <code>repeated .QuestInfo quests = 1;</code>
*/
int getQuestsCount();
/**
* <code>repeated .QuestInfo quests = 1;</code>
*/
java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.QuestInfoOrBuilder>
getQuestsOrBuilderList();
/**
* <code>repeated .QuestInfo quests = 1;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.QuestInfoOrBuilder getQuestsOrBuilder(
int index);
/**
* <code>repeated .QuestMetaInfo questMetaInfos = 2;</code>
*/
java.util.List<com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo>
getQuestMetaInfosList();
/**
* <code>repeated .QuestMetaInfo questMetaInfos = 2;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfo getQuestMetaInfos(int index);
/**
* <code>repeated .QuestMetaInfo questMetaInfos = 2;</code>
*/
int getQuestMetaInfosCount();
/**
* <code>repeated .QuestMetaInfo questMetaInfos = 2;</code>
*/
java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfoOrBuilder>
getQuestMetaInfosOrBuilderList();
/**
* <code>repeated .QuestMetaInfo questMetaInfos = 2;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.QuestMetaInfoOrBuilder getQuestMetaInfosOrBuilder(
int index);
/**
* <pre>
*<2A><>ȭ <20><><EFBFBD><EFBFBD>, Ÿ<><C5B8>Ʋ <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3;</code>
*/
java.util.List<com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient>
getUgqGameQuestDataForClientsList();
/**
* <pre>
*<2A><>ȭ <20><><EFBFBD><EFBFBD>, Ÿ<><C5B8>Ʋ <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient getUgqGameQuestDataForClients(int index);
/**
* <pre>
*<2A><>ȭ <20><><EFBFBD><EFBFBD>, Ÿ<><C5B8>Ʋ <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3;</code>
*/
int getUgqGameQuestDataForClientsCount();
/**
* <pre>
*<2A><>ȭ <20><><EFBFBD><EFBFBD>, Ÿ<><C5B8>Ʋ <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3;</code>
*/
java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClientOrBuilder>
getUgqGameQuestDataForClientsOrBuilderList();
/**
* <pre>
*<2A><>ȭ <20><><EFBFBD><EFBFBD>, Ÿ<><C5B8>Ʋ <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .UgqGameQuestDataForClient ugqGameQuestDataForClients = 3;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClientOrBuilder getUgqGameQuestDataForClientsOrBuilder(
int index);
}

View File

@@ -0,0 +1,159 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* <20><><EFBFBD><EFBFBD> <20><>ȭ <20><><EFBFBD><EFBFBD> : <20><>ȭ<EFBFBD><C8AD> <20><>ȭ
* </pre>
*
* Protobuf enum {@code AmountDeltaType}
*/
public enum AmountDeltaType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>AmountDeltaType_None = 0;</code>
*/
AmountDeltaType_None(0),
/**
* <pre>
* ȹ<><C8B9> (<28><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>AmountDeltaType_Acquire = 1;</code>
*/
AmountDeltaType_Acquire(1),
/**
* <pre>
* <20>Ҹ<EFBFBD> (<28><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>AmountDeltaType_Consume = 2;</code>
*/
AmountDeltaType_Consume(2),
/**
* <pre>
* <20><><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><><C8B9>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>:<3A>Ҹ<EFBFBD>)
* </pre>
*
* <code>AmountDeltaType_Merge = 3;</code>
*/
AmountDeltaType_Merge(3),
UNRECOGNIZED(-1),
;
/**
* <code>AmountDeltaType_None = 0;</code>
*/
public static final int AmountDeltaType_None_VALUE = 0;
/**
* <pre>
* ȹ<><C8B9> (<28><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>AmountDeltaType_Acquire = 1;</code>
*/
public static final int AmountDeltaType_Acquire_VALUE = 1;
/**
* <pre>
* <20>Ҹ<EFBFBD> (<28><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>AmountDeltaType_Consume = 2;</code>
*/
public static final int AmountDeltaType_Consume_VALUE = 2;
/**
* <pre>
* <20><><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><><C8B9>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>:<3A>Ҹ<EFBFBD>)
* </pre>
*
* <code>AmountDeltaType_Merge = 3;</code>
*/
public static final int AmountDeltaType_Merge_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AmountDeltaType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static AmountDeltaType forNumber(int value) {
switch (value) {
case 0: return AmountDeltaType_None;
case 1: return AmountDeltaType_Acquire;
case 2: return AmountDeltaType_Consume;
case 3: return AmountDeltaType_Merge;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AmountDeltaType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AmountDeltaType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AmountDeltaType>() {
public AmountDeltaType findValueByNumber(int number) {
return AmountDeltaType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(22);
}
private static final AmountDeltaType[] VALUES = values();
public static AmountDeltaType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private AmountDeltaType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:AmountDeltaType)
}

View File

@@ -0,0 +1,789 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* <20><><EFBFBD><EFBFBD> Ŀ<><C4BF><EFBFBD>͸<EFBFBD><CDB8><EFBFBD>¡ : <20><>Ŷ<EFBFBD><C5B6>
* </pre>
*
* Protobuf type {@code AppearanceCustomization}
*/
public final class AppearanceCustomization extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AppearanceCustomization)
AppearanceCustomizationOrBuilder {
private static final long serialVersionUID = 0L;
// Use AppearanceCustomization.newBuilder() to construct.
private AppearanceCustomization(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AppearanceCustomization() {
customValues_ = emptyIntList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AppearanceCustomization();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceCustomization_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceCustomization_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.class, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder.class);
}
public static final int BASICSTYLE_FIELD_NUMBER = 1;
private int basicStyle_ = 0;
/**
* <code>int32 basicStyle = 1;</code>
* @return The basicStyle.
*/
@java.lang.Override
public int getBasicStyle() {
return basicStyle_;
}
public static final int BODYSHAPE_FIELD_NUMBER = 2;
private int bodyShape_ = 0;
/**
* <code>int32 bodyShape = 2;</code>
* @return The bodyShape.
*/
@java.lang.Override
public int getBodyShape() {
return bodyShape_;
}
public static final int HAIRSTYLE_FIELD_NUMBER = 3;
private int hairStyle_ = 0;
/**
* <code>int32 hairStyle = 3;</code>
* @return The hairStyle.
*/
@java.lang.Override
public int getHairStyle() {
return hairStyle_;
}
public static final int CUSTOMVALUES_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList customValues_;
/**
* <code>repeated int32 customValues = 5;</code>
* @return A list containing the customValues.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getCustomValuesList() {
return customValues_;
}
/**
* <code>repeated int32 customValues = 5;</code>
* @return The count of customValues.
*/
public int getCustomValuesCount() {
return customValues_.size();
}
/**
* <code>repeated int32 customValues = 5;</code>
* @param index The index of the element to return.
* @return The customValues at the given index.
*/
public int getCustomValues(int index) {
return customValues_.getInt(index);
}
private int customValuesMemoizedSerializedSize = -1;
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (basicStyle_ != 0) {
output.writeInt32(1, basicStyle_);
}
if (bodyShape_ != 0) {
output.writeInt32(2, bodyShape_);
}
if (hairStyle_ != 0) {
output.writeInt32(3, hairStyle_);
}
if (getCustomValuesList().size() > 0) {
output.writeUInt32NoTag(42);
output.writeUInt32NoTag(customValuesMemoizedSerializedSize);
}
for (int i = 0; i < customValues_.size(); i++) {
output.writeInt32NoTag(customValues_.getInt(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (basicStyle_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, basicStyle_);
}
if (bodyShape_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, bodyShape_);
}
if (hairStyle_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, hairStyle_);
}
{
int dataSize = 0;
for (int i = 0; i < customValues_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(customValues_.getInt(i));
}
size += dataSize;
if (!getCustomValuesList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
customValuesMemoizedSerializedSize = dataSize;
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization other = (com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization) obj;
if (getBasicStyle()
!= other.getBasicStyle()) return false;
if (getBodyShape()
!= other.getBodyShape()) return false;
if (getHairStyle()
!= other.getHairStyle()) return false;
if (!getCustomValuesList()
.equals(other.getCustomValuesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + BASICSTYLE_FIELD_NUMBER;
hash = (53 * hash) + getBasicStyle();
hash = (37 * hash) + BODYSHAPE_FIELD_NUMBER;
hash = (53 * hash) + getBodyShape();
hash = (37 * hash) + HAIRSTYLE_FIELD_NUMBER;
hash = (53 * hash) + getHairStyle();
if (getCustomValuesCount() > 0) {
hash = (37 * hash) + CUSTOMVALUES_FIELD_NUMBER;
hash = (53 * hash) + getCustomValuesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD> Ŀ<><C4BF><EFBFBD>͸<EFBFBD><CDB8><EFBFBD>¡ : <20><>Ŷ<EFBFBD><C5B6>
* </pre>
*
* Protobuf type {@code AppearanceCustomization}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:AppearanceCustomization)
com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceCustomization_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceCustomization_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.class, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
basicStyle_ = 0;
bodyShape_ = 0;
hairStyle_ = 0;
customValues_ = emptyIntList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceCustomization_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization build() {
com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization result = new com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization result) {
if (((bitField0_ & 0x00000008) != 0)) {
customValues_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.customValues_ = customValues_;
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.basicStyle_ = basicStyle_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.bodyShape_ = bodyShape_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.hairStyle_ = hairStyle_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance()) return this;
if (other.getBasicStyle() != 0) {
setBasicStyle(other.getBasicStyle());
}
if (other.getBodyShape() != 0) {
setBodyShape(other.getBodyShape());
}
if (other.getHairStyle() != 0) {
setHairStyle(other.getHairStyle());
}
if (!other.customValues_.isEmpty()) {
if (customValues_.isEmpty()) {
customValues_ = other.customValues_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureCustomValuesIsMutable();
customValues_.addAll(other.customValues_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
basicStyle_ = input.readInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
bodyShape_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
hairStyle_ = input.readInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 40: {
int v = input.readInt32();
ensureCustomValuesIsMutable();
customValues_.addInt(v);
break;
} // case 40
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureCustomValuesIsMutable();
while (input.getBytesUntilLimit() > 0) {
customValues_.addInt(input.readInt32());
}
input.popLimit(limit);
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int basicStyle_ ;
/**
* <code>int32 basicStyle = 1;</code>
* @return The basicStyle.
*/
@java.lang.Override
public int getBasicStyle() {
return basicStyle_;
}
/**
* <code>int32 basicStyle = 1;</code>
* @param value The basicStyle to set.
* @return This builder for chaining.
*/
public Builder setBasicStyle(int value) {
basicStyle_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>int32 basicStyle = 1;</code>
* @return This builder for chaining.
*/
public Builder clearBasicStyle() {
bitField0_ = (bitField0_ & ~0x00000001);
basicStyle_ = 0;
onChanged();
return this;
}
private int bodyShape_ ;
/**
* <code>int32 bodyShape = 2;</code>
* @return The bodyShape.
*/
@java.lang.Override
public int getBodyShape() {
return bodyShape_;
}
/**
* <code>int32 bodyShape = 2;</code>
* @param value The bodyShape to set.
* @return This builder for chaining.
*/
public Builder setBodyShape(int value) {
bodyShape_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>int32 bodyShape = 2;</code>
* @return This builder for chaining.
*/
public Builder clearBodyShape() {
bitField0_ = (bitField0_ & ~0x00000002);
bodyShape_ = 0;
onChanged();
return this;
}
private int hairStyle_ ;
/**
* <code>int32 hairStyle = 3;</code>
* @return The hairStyle.
*/
@java.lang.Override
public int getHairStyle() {
return hairStyle_;
}
/**
* <code>int32 hairStyle = 3;</code>
* @param value The hairStyle to set.
* @return This builder for chaining.
*/
public Builder setHairStyle(int value) {
hairStyle_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>int32 hairStyle = 3;</code>
* @return This builder for chaining.
*/
public Builder clearHairStyle() {
bitField0_ = (bitField0_ & ~0x00000004);
hairStyle_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList customValues_ = emptyIntList();
private void ensureCustomValuesIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
customValues_ = mutableCopy(customValues_);
bitField0_ |= 0x00000008;
}
}
/**
* <code>repeated int32 customValues = 5;</code>
* @return A list containing the customValues.
*/
public java.util.List<java.lang.Integer>
getCustomValuesList() {
return ((bitField0_ & 0x00000008) != 0) ?
java.util.Collections.unmodifiableList(customValues_) : customValues_;
}
/**
* <code>repeated int32 customValues = 5;</code>
* @return The count of customValues.
*/
public int getCustomValuesCount() {
return customValues_.size();
}
/**
* <code>repeated int32 customValues = 5;</code>
* @param index The index of the element to return.
* @return The customValues at the given index.
*/
public int getCustomValues(int index) {
return customValues_.getInt(index);
}
/**
* <code>repeated int32 customValues = 5;</code>
* @param index The index to set the value at.
* @param value The customValues to set.
* @return This builder for chaining.
*/
public Builder setCustomValues(
int index, int value) {
ensureCustomValuesIsMutable();
customValues_.setInt(index, value);
onChanged();
return this;
}
/**
* <code>repeated int32 customValues = 5;</code>
* @param value The customValues to add.
* @return This builder for chaining.
*/
public Builder addCustomValues(int value) {
ensureCustomValuesIsMutable();
customValues_.addInt(value);
onChanged();
return this;
}
/**
* <code>repeated int32 customValues = 5;</code>
* @param values The customValues to add.
* @return This builder for chaining.
*/
public Builder addAllCustomValues(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureCustomValuesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, customValues_);
onChanged();
return this;
}
/**
* <code>repeated int32 customValues = 5;</code>
* @return This builder for chaining.
*/
public Builder clearCustomValues() {
customValues_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AppearanceCustomization)
}
// @@protoc_insertion_point(class_scope:AppearanceCustomization)
private static final com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization();
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<AppearanceCustomization>
PARSER = new com.google.protobuf.AbstractParser<AppearanceCustomization>() {
@java.lang.Override
public AppearanceCustomization parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AppearanceCustomization> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AppearanceCustomization> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,44 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface AppearanceCustomizationOrBuilder extends
// @@protoc_insertion_point(interface_extends:AppearanceCustomization)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 basicStyle = 1;</code>
* @return The basicStyle.
*/
int getBasicStyle();
/**
* <code>int32 bodyShape = 2;</code>
* @return The bodyShape.
*/
int getBodyShape();
/**
* <code>int32 hairStyle = 3;</code>
* @return The hairStyle.
*/
int getHairStyle();
/**
* <code>repeated int32 customValues = 5;</code>
* @return A list containing the customValues.
*/
java.util.List<java.lang.Integer> getCustomValuesList();
/**
* <code>repeated int32 customValues = 5;</code>
* @return The count of customValues.
*/
int getCustomValuesCount();
/**
* <code>repeated int32 customValues = 5;</code>
* @param index The index of the element to return.
* @return The customValues at the given index.
*/
int getCustomValues(int index);
}

View File

@@ -0,0 +1,739 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> : <20><>Ŷ<EFBFBD><C5B6>
* </pre>
*
* Protobuf type {@code AppearanceProfile}
*/
public final class AppearanceProfile extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AppearanceProfile)
AppearanceProfileOrBuilder {
private static final long serialVersionUID = 0L;
// Use AppearanceProfile.newBuilder() to construct.
private AppearanceProfile(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AppearanceProfile() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AppearanceProfile();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceProfile_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetValues();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceProfile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile.class, com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile.Builder.class);
}
public static final int VALUES_FIELD_NUMBER = 1;
private static final class ValuesDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, java.lang.String>newDefaultInstance(
com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceProfile_ValuesEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> values_;
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetValues() {
if (values_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ValuesDefaultEntryHolder.defaultEntry);
}
return values_;
}
public int getValuesCount() {
return internalGetValues().getMap().size();
}
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
@java.lang.Override
public boolean containsValues(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetValues().getMap().containsKey(key);
}
/**
* Use {@link #getValuesMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String> getValues() {
return getValuesMap();
}
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, java.lang.String> getValuesMap() {
return internalGetValues().getMap();
}
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
@java.lang.Override
public /* nullable */
java.lang.String getValuesOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetValues().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
@java.lang.Override
public java.lang.String getValuesOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetValues().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetValues(),
ValuesDefaultEntryHolder.defaultEntry,
1);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
: internalGetValues().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
values__ = ValuesDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, values__);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile other = (com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile) obj;
if (!internalGetValues().equals(
other.internalGetValues())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (!internalGetValues().getMap().isEmpty()) {
hash = (37 * hash) + VALUES_FIELD_NUMBER;
hash = (53 * hash) + internalGetValues().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> : <20><>Ŷ<EFBFBD><C5B6>
* </pre>
*
* Protobuf type {@code AppearanceProfile}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:AppearanceProfile)
com.caliverse.admin.domain.RabbitMq.message.AppearanceProfileOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceProfile_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetValues();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 1:
return internalGetMutableValues();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceProfile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile.class, com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
internalGetMutableValues().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AppearanceProfile_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile build() {
com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile result = new com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.values_ = internalGetValues();
result.values_.makeImmutable();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile.getDefaultInstance()) return this;
internalGetMutableValues().mergeFrom(
other.internalGetValues());
bitField0_ |= 0x00000001;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
values__ = input.readMessage(
ValuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableValues().getMutableMap().put(
values__.getKey(), values__.getValue());
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> values_;
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetValues() {
if (values_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ValuesDefaultEntryHolder.defaultEntry);
}
return values_;
}
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetMutableValues() {
if (values_ == null) {
values_ = com.google.protobuf.MapField.newMapField(
ValuesDefaultEntryHolder.defaultEntry);
}
if (!values_.isMutable()) {
values_ = values_.copy();
}
bitField0_ |= 0x00000001;
onChanged();
return values_;
}
public int getValuesCount() {
return internalGetValues().getMap().size();
}
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
@java.lang.Override
public boolean containsValues(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetValues().getMap().containsKey(key);
}
/**
* Use {@link #getValuesMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String> getValues() {
return getValuesMap();
}
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, java.lang.String> getValuesMap() {
return internalGetValues().getMap();
}
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
@java.lang.Override
public /* nullable */
java.lang.String getValuesOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetValues().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
@java.lang.Override
public java.lang.String getValuesOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetValues().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearValues() {
bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableValues().getMutableMap()
.clear();
return this;
}
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
public Builder removeValues(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableValues().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String>
getMutableValues() {
bitField0_ |= 0x00000001;
return internalGetMutableValues().getMutableMap();
}
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
public Builder putValues(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableValues().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000001;
return this;
}
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
public Builder putAllValues(
java.util.Map<java.lang.String, java.lang.String> values) {
internalGetMutableValues().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000001;
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AppearanceProfile)
}
// @@protoc_insertion_point(class_scope:AppearanceProfile)
private static final com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile();
}
public static com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<AppearanceProfile>
PARSER = new com.google.protobuf.AbstractParser<AppearanceProfile>() {
@java.lang.Override
public AppearanceProfile parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AppearanceProfile> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AppearanceProfile> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AppearanceProfile getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,63 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface AppearanceProfileOrBuilder extends
// @@protoc_insertion_point(interface_extends:AppearanceProfile)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
int getValuesCount();
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
boolean containsValues(
java.lang.String key);
/**
* Use {@link #getValuesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, java.lang.String>
getValues();
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
java.util.Map<java.lang.String, java.lang.String>
getValuesMap();
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
/* nullable */
java.lang.String getValuesOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
* <pre>
* Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> !!!, Key &amp; Value <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD> !!!, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> proto <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD> <20>ʿ<EFBFBD> !!! (Key &amp; Value: Json <20><><EFBFBD><EFBFBD>)
* </pre>
*
* <code>map&lt;string, string&gt; values = 1;</code>
*/
java.lang.String getValuesOrThrow(
java.lang.String key);
}

View File

@@ -0,0 +1,540 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* Protobuf type {@code AttributeInfo}
*/
public final class AttributeInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AttributeInfo)
AttributeInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use AttributeInfo.newBuilder() to construct.
private AttributeInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AttributeInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AttributeInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AttributeInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AttributeInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.AttributeInfo.class, com.caliverse.admin.domain.RabbitMq.message.AttributeInfo.Builder.class);
}
public static final int ATTRIBUTEID_FIELD_NUMBER = 1;
private int attributeid_ = 0;
/**
* <code>int32 attributeid = 1;</code>
* @return The attributeid.
*/
@java.lang.Override
public int getAttributeid() {
return attributeid_;
}
public static final int VALUE_FIELD_NUMBER = 2;
private int value_ = 0;
/**
* <code>int32 value = 2;</code>
* @return The value.
*/
@java.lang.Override
public int getValue() {
return value_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (attributeid_ != 0) {
output.writeInt32(1, attributeid_);
}
if (value_ != 0) {
output.writeInt32(2, value_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (attributeid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, attributeid_);
}
if (value_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, value_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.AttributeInfo)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.AttributeInfo other = (com.caliverse.admin.domain.RabbitMq.message.AttributeInfo) obj;
if (getAttributeid()
!= other.getAttributeid()) return false;
if (getValue()
!= other.getValue()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ATTRIBUTEID_FIELD_NUMBER;
hash = (53 * hash) + getAttributeid();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.AttributeInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code AttributeInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:AttributeInfo)
com.caliverse.admin.domain.RabbitMq.message.AttributeInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AttributeInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AttributeInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.AttributeInfo.class, com.caliverse.admin.domain.RabbitMq.message.AttributeInfo.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.AttributeInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
attributeid_ = 0;
value_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AttributeInfo_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AttributeInfo getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.AttributeInfo.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AttributeInfo build() {
com.caliverse.admin.domain.RabbitMq.message.AttributeInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AttributeInfo buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.AttributeInfo result = new com.caliverse.admin.domain.RabbitMq.message.AttributeInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.AttributeInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.attributeid_ = attributeid_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.value_ = value_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.AttributeInfo) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.AttributeInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.AttributeInfo other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.AttributeInfo.getDefaultInstance()) return this;
if (other.getAttributeid() != 0) {
setAttributeid(other.getAttributeid());
}
if (other.getValue() != 0) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
attributeid_ = input.readInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
value_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int attributeid_ ;
/**
* <code>int32 attributeid = 1;</code>
* @return The attributeid.
*/
@java.lang.Override
public int getAttributeid() {
return attributeid_;
}
/**
* <code>int32 attributeid = 1;</code>
* @param value The attributeid to set.
* @return This builder for chaining.
*/
public Builder setAttributeid(int value) {
attributeid_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>int32 attributeid = 1;</code>
* @return This builder for chaining.
*/
public Builder clearAttributeid() {
bitField0_ = (bitField0_ & ~0x00000001);
attributeid_ = 0;
onChanged();
return this;
}
private int value_ ;
/**
* <code>int32 value = 2;</code>
* @return The value.
*/
@java.lang.Override
public int getValue() {
return value_;
}
/**
* <code>int32 value = 2;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(int value) {
value_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>int32 value = 2;</code>
* @return This builder for chaining.
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AttributeInfo)
}
// @@protoc_insertion_point(class_scope:AttributeInfo)
private static final com.caliverse.admin.domain.RabbitMq.message.AttributeInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.AttributeInfo();
}
public static com.caliverse.admin.domain.RabbitMq.message.AttributeInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<AttributeInfo>
PARSER = new com.google.protobuf.AbstractParser<AttributeInfo>() {
@java.lang.Override
public AttributeInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AttributeInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AttributeInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AttributeInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,21 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface AttributeInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:AttributeInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 attributeid = 1;</code>
* @return The attributeid.
*/
int getAttributeid();
/**
* <code>int32 value = 2;</code>
* @return The value.
*/
int getValue();
}

View File

@@ -0,0 +1,225 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* Attribute <20><><EFBFBD><EFBFBD> : AttributeDefinitionData.xlsx <20><><EFBFBD><EFBFBD> Ȯ<><C8AE>
* </pre>
*
* Protobuf enum {@code AttributeType}
*/
public enum AttributeType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>AttributeType_None = 0;</code>
*/
AttributeType_None(0),
/**
* <code>AttributeType_Rapidity = 1;</code>
*/
AttributeType_Rapidity(1),
/**
* <code>AttributeType_Elasticity = 2;</code>
*/
AttributeType_Elasticity(2),
/**
* <code>AttributeType_Acceleration = 3;</code>
*/
AttributeType_Acceleration(3),
/**
* <code>AttributeType_Endurance = 4;</code>
*/
AttributeType_Endurance(4),
/**
* <code>AttributeType_Intelligence = 5;</code>
*/
AttributeType_Intelligence(5),
/**
* <code>AttributeType_Wits = 6;</code>
*/
AttributeType_Wits(6),
/**
* <code>AttributeType_Charisma = 7;</code>
*/
AttributeType_Charisma(7),
/**
* <code>AttributeType_Manipulation = 8;</code>
*/
AttributeType_Manipulation(8),
/**
* <code>AttributeType_Perception = 9;</code>
*/
AttributeType_Perception(9),
/**
* <code>AttributeType_Strength = 10;</code>
*/
AttributeType_Strength(10),
/**
* <code>AttributeType_Hacking = 11;</code>
*/
AttributeType_Hacking(11),
/**
* <code>AttributeType_Gathering = 12;</code>
*/
AttributeType_Gathering(12),
/**
* <code>AttributeType_Cooking = 13;</code>
*/
AttributeType_Cooking(13),
UNRECOGNIZED(-1),
;
/**
* <code>AttributeType_None = 0;</code>
*/
public static final int AttributeType_None_VALUE = 0;
/**
* <code>AttributeType_Rapidity = 1;</code>
*/
public static final int AttributeType_Rapidity_VALUE = 1;
/**
* <code>AttributeType_Elasticity = 2;</code>
*/
public static final int AttributeType_Elasticity_VALUE = 2;
/**
* <code>AttributeType_Acceleration = 3;</code>
*/
public static final int AttributeType_Acceleration_VALUE = 3;
/**
* <code>AttributeType_Endurance = 4;</code>
*/
public static final int AttributeType_Endurance_VALUE = 4;
/**
* <code>AttributeType_Intelligence = 5;</code>
*/
public static final int AttributeType_Intelligence_VALUE = 5;
/**
* <code>AttributeType_Wits = 6;</code>
*/
public static final int AttributeType_Wits_VALUE = 6;
/**
* <code>AttributeType_Charisma = 7;</code>
*/
public static final int AttributeType_Charisma_VALUE = 7;
/**
* <code>AttributeType_Manipulation = 8;</code>
*/
public static final int AttributeType_Manipulation_VALUE = 8;
/**
* <code>AttributeType_Perception = 9;</code>
*/
public static final int AttributeType_Perception_VALUE = 9;
/**
* <code>AttributeType_Strength = 10;</code>
*/
public static final int AttributeType_Strength_VALUE = 10;
/**
* <code>AttributeType_Hacking = 11;</code>
*/
public static final int AttributeType_Hacking_VALUE = 11;
/**
* <code>AttributeType_Gathering = 12;</code>
*/
public static final int AttributeType_Gathering_VALUE = 12;
/**
* <code>AttributeType_Cooking = 13;</code>
*/
public static final int AttributeType_Cooking_VALUE = 13;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AttributeType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static AttributeType forNumber(int value) {
switch (value) {
case 0: return AttributeType_None;
case 1: return AttributeType_Rapidity;
case 2: return AttributeType_Elasticity;
case 3: return AttributeType_Acceleration;
case 4: return AttributeType_Endurance;
case 5: return AttributeType_Intelligence;
case 6: return AttributeType_Wits;
case 7: return AttributeType_Charisma;
case 8: return AttributeType_Manipulation;
case 9: return AttributeType_Perception;
case 10: return AttributeType_Strength;
case 11: return AttributeType_Hacking;
case 12: return AttributeType_Gathering;
case 13: return AttributeType_Cooking;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AttributeType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AttributeType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AttributeType>() {
public AttributeType findValueByNumber(int number) {
return AttributeType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(5);
}
private static final AttributeType[] VALUES = values();
public static AttributeType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private AttributeType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:AttributeType)
}

View File

@@ -0,0 +1,135 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* Protobuf enum {@code AuthAdminLevelType}
*/
public enum AuthAdminLevelType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>AuthAdminLevelType_None = 0;</code>
*/
AuthAdminLevelType_None(0),
/**
* <code>AuthAdminLevelType_GmNormal = 1;</code>
*/
AuthAdminLevelType_GmNormal(1),
/**
* <code>AuthAdminLevelType_GmSuper = 2;</code>
*/
AuthAdminLevelType_GmSuper(2),
/**
* <code>AuthAdminLevelType_Developer = 3;</code>
*/
AuthAdminLevelType_Developer(3),
UNRECOGNIZED(-1),
;
/**
* <code>AuthAdminLevelType_None = 0;</code>
*/
public static final int AuthAdminLevelType_None_VALUE = 0;
/**
* <code>AuthAdminLevelType_GmNormal = 1;</code>
*/
public static final int AuthAdminLevelType_GmNormal_VALUE = 1;
/**
* <code>AuthAdminLevelType_GmSuper = 2;</code>
*/
public static final int AuthAdminLevelType_GmSuper_VALUE = 2;
/**
* <code>AuthAdminLevelType_Developer = 3;</code>
*/
public static final int AuthAdminLevelType_Developer_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AuthAdminLevelType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static AuthAdminLevelType forNumber(int value) {
switch (value) {
case 0: return AuthAdminLevelType_None;
case 1: return AuthAdminLevelType_GmNormal;
case 2: return AuthAdminLevelType_GmSuper;
case 3: return AuthAdminLevelType_Developer;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AuthAdminLevelType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AuthAdminLevelType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AuthAdminLevelType>() {
public AuthAdminLevelType findValueByNumber(int number) {
return AuthAdminLevelType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(13);
}
private static final AuthAdminLevelType[] VALUES = values();
public static AuthAdminLevelType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private AuthAdminLevelType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:AuthAdminLevelType)
}

View File

@@ -0,0 +1,144 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* Protobuf enum {@code AutoScaleServerType}
*/
public enum AutoScaleServerType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>AutoScaleServerType_None = 0;</code>
*/
AutoScaleServerType_None(0),
/**
* <code>AutoScaleServerType_Login = 1;</code>
*/
AutoScaleServerType_Login(1),
/**
* <code>AutoScaleServerType_Game = 2;</code>
*/
AutoScaleServerType_Game(2),
/**
* <code>AutoScaleServerType_Indun = 3;</code>
*/
AutoScaleServerType_Indun(3),
/**
* <code>AutoScaleServerType_Chat = 4;</code>
*/
AutoScaleServerType_Chat(4),
UNRECOGNIZED(-1),
;
/**
* <code>AutoScaleServerType_None = 0;</code>
*/
public static final int AutoScaleServerType_None_VALUE = 0;
/**
* <code>AutoScaleServerType_Login = 1;</code>
*/
public static final int AutoScaleServerType_Login_VALUE = 1;
/**
* <code>AutoScaleServerType_Game = 2;</code>
*/
public static final int AutoScaleServerType_Game_VALUE = 2;
/**
* <code>AutoScaleServerType_Indun = 3;</code>
*/
public static final int AutoScaleServerType_Indun_VALUE = 3;
/**
* <code>AutoScaleServerType_Chat = 4;</code>
*/
public static final int AutoScaleServerType_Chat_VALUE = 4;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AutoScaleServerType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static AutoScaleServerType forNumber(int value) {
switch (value) {
case 0: return AutoScaleServerType_None;
case 1: return AutoScaleServerType_Login;
case 2: return AutoScaleServerType_Game;
case 3: return AutoScaleServerType_Indun;
case 4: return AutoScaleServerType_Chat;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AutoScaleServerType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AutoScaleServerType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AutoScaleServerType>() {
public AutoScaleServerType findValueByNumber(int number) {
return AutoScaleServerType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(5);
}
private static final AutoScaleServerType[] VALUES = values();
public static AutoScaleServerType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private AutoScaleServerType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:AutoScaleServerType)
}

View File

@@ -0,0 +1,753 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* Protobuf type {@code AvatarInfo}
*/
public final class AvatarInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AvatarInfo)
AvatarInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use AvatarInfo.newBuilder() to construct.
private AvatarInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AvatarInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AvatarInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AvatarInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AvatarInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.class, com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.Builder.class);
}
public static final int AVATAR_ID_FIELD_NUMBER = 1;
private int avatarId_ = 0;
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>int32 avatar_id = 1;</code>
* @return The avatarId.
*/
@java.lang.Override
public int getAvatarId() {
return avatarId_;
}
public static final int APPEARCUSTOMIZE_FIELD_NUMBER = 7;
private com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization appearCustomize_;
/**
* <code>.AppearanceCustomization appearCustomize = 7;</code>
* @return Whether the appearCustomize field is set.
*/
@java.lang.Override
public boolean hasAppearCustomize() {
return appearCustomize_ != null;
}
/**
* <code>.AppearanceCustomization appearCustomize = 7;</code>
* @return The appearCustomize.
*/
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getAppearCustomize() {
return appearCustomize_ == null ? com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_;
}
/**
* <code>.AppearanceCustomization appearCustomize = 7;</code>
*/
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder getAppearCustomizeOrBuilder() {
return appearCustomize_ == null ? com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_;
}
public static final int INIT_FIELD_NUMBER = 6;
private int init_ = 0;
/**
* <pre>
* 1: Ŀ<><C4BF><EFBFBD>͸<EFBFBD><CDB8><EFBFBD>¡ȭ<C2A1><C8AD> <20>ʿ<EFBFBD> 0: <20>ʿ<EFBFBD><CABF><EFBFBD><EFBFBD><EFBFBD>.
* </pre>
*
* <code>uint32 Init = 6;</code>
* @return The init.
*/
@java.lang.Override
public int getInit() {
return init_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (avatarId_ != 0) {
output.writeInt32(1, avatarId_);
}
if (init_ != 0) {
output.writeUInt32(6, init_);
}
if (appearCustomize_ != null) {
output.writeMessage(7, getAppearCustomize());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (avatarId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, avatarId_);
}
if (init_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, init_);
}
if (appearCustomize_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getAppearCustomize());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.AvatarInfo)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.AvatarInfo other = (com.caliverse.admin.domain.RabbitMq.message.AvatarInfo) obj;
if (getAvatarId()
!= other.getAvatarId()) return false;
if (hasAppearCustomize() != other.hasAppearCustomize()) return false;
if (hasAppearCustomize()) {
if (!getAppearCustomize()
.equals(other.getAppearCustomize())) return false;
}
if (getInit()
!= other.getInit()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + AVATAR_ID_FIELD_NUMBER;
hash = (53 * hash) + getAvatarId();
if (hasAppearCustomize()) {
hash = (37 * hash) + APPEARCUSTOMIZE_FIELD_NUMBER;
hash = (53 * hash) + getAppearCustomize().hashCode();
}
hash = (37 * hash) + INIT_FIELD_NUMBER;
hash = (53 * hash) + getInit();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.AvatarInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code AvatarInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:AvatarInfo)
com.caliverse.admin.domain.RabbitMq.message.AvatarInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AvatarInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AvatarInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.class, com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
avatarId_ = 0;
appearCustomize_ = null;
if (appearCustomizeBuilder_ != null) {
appearCustomizeBuilder_.dispose();
appearCustomizeBuilder_ = null;
}
init_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_AvatarInfo_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AvatarInfo getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AvatarInfo build() {
com.caliverse.admin.domain.RabbitMq.message.AvatarInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AvatarInfo buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.AvatarInfo result = new com.caliverse.admin.domain.RabbitMq.message.AvatarInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.AvatarInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.avatarId_ = avatarId_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.appearCustomize_ = appearCustomizeBuilder_ == null
? appearCustomize_
: appearCustomizeBuilder_.build();
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.init_ = init_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.AvatarInfo) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.AvatarInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.AvatarInfo other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.AvatarInfo.getDefaultInstance()) return this;
if (other.getAvatarId() != 0) {
setAvatarId(other.getAvatarId());
}
if (other.hasAppearCustomize()) {
mergeAppearCustomize(other.getAppearCustomize());
}
if (other.getInit() != 0) {
setInit(other.getInit());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
avatarId_ = input.readInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 48: {
init_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 48
case 58: {
input.readMessage(
getAppearCustomizeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 58
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int avatarId_ ;
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>int32 avatar_id = 1;</code>
* @return The avatarId.
*/
@java.lang.Override
public int getAvatarId() {
return avatarId_;
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>int32 avatar_id = 1;</code>
* @param value The avatarId to set.
* @return This builder for chaining.
*/
public Builder setAvatarId(int value) {
avatarId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>int32 avatar_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearAvatarId() {
bitField0_ = (bitField0_ & ~0x00000001);
avatarId_ = 0;
onChanged();
return this;
}
private com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization appearCustomize_;
private com.google.protobuf.SingleFieldBuilderV3<
com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder> appearCustomizeBuilder_;
/**
* <code>.AppearanceCustomization appearCustomize = 7;</code>
* @return Whether the appearCustomize field is set.
*/
public boolean hasAppearCustomize() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.AppearanceCustomization appearCustomize = 7;</code>
* @return The appearCustomize.
*/
public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getAppearCustomize() {
if (appearCustomizeBuilder_ == null) {
return appearCustomize_ == null ? com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_;
} else {
return appearCustomizeBuilder_.getMessage();
}
}
/**
* <code>.AppearanceCustomization appearCustomize = 7;</code>
*/
public Builder setAppearCustomize(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization value) {
if (appearCustomizeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
appearCustomize_ = value;
} else {
appearCustomizeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.AppearanceCustomization appearCustomize = 7;</code>
*/
public Builder setAppearCustomize(
com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder builderForValue) {
if (appearCustomizeBuilder_ == null) {
appearCustomize_ = builderForValue.build();
} else {
appearCustomizeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.AppearanceCustomization appearCustomize = 7;</code>
*/
public Builder mergeAppearCustomize(com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization value) {
if (appearCustomizeBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
appearCustomize_ != null &&
appearCustomize_ != com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance()) {
getAppearCustomizeBuilder().mergeFrom(value);
} else {
appearCustomize_ = value;
}
} else {
appearCustomizeBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.AppearanceCustomization appearCustomize = 7;</code>
*/
public Builder clearAppearCustomize() {
bitField0_ = (bitField0_ & ~0x00000002);
appearCustomize_ = null;
if (appearCustomizeBuilder_ != null) {
appearCustomizeBuilder_.dispose();
appearCustomizeBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.AppearanceCustomization appearCustomize = 7;</code>
*/
public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder getAppearCustomizeBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getAppearCustomizeFieldBuilder().getBuilder();
}
/**
* <code>.AppearanceCustomization appearCustomize = 7;</code>
*/
public com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder getAppearCustomizeOrBuilder() {
if (appearCustomizeBuilder_ != null) {
return appearCustomizeBuilder_.getMessageOrBuilder();
} else {
return appearCustomize_ == null ?
com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.getDefaultInstance() : appearCustomize_;
}
}
/**
* <code>.AppearanceCustomization appearCustomize = 7;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder>
getAppearCustomizeFieldBuilder() {
if (appearCustomizeBuilder_ == null) {
appearCustomizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization.Builder, com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder>(
getAppearCustomize(),
getParentForChildren(),
isClean());
appearCustomize_ = null;
}
return appearCustomizeBuilder_;
}
private int init_ ;
/**
* <pre>
* 1: Ŀ<><C4BF><EFBFBD>͸<EFBFBD><CDB8><EFBFBD>¡ȭ<C2A1><C8AD> <20>ʿ<EFBFBD> 0: <20>ʿ<EFBFBD><CABF><EFBFBD><EFBFBD><EFBFBD>.
* </pre>
*
* <code>uint32 Init = 6;</code>
* @return The init.
*/
@java.lang.Override
public int getInit() {
return init_;
}
/**
* <pre>
* 1: Ŀ<><C4BF><EFBFBD>͸<EFBFBD><CDB8><EFBFBD>¡ȭ<C2A1><C8AD> <20>ʿ<EFBFBD> 0: <20>ʿ<EFBFBD><CABF><EFBFBD><EFBFBD><EFBFBD>.
* </pre>
*
* <code>uint32 Init = 6;</code>
* @param value The init to set.
* @return This builder for chaining.
*/
public Builder setInit(int value) {
init_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* 1: Ŀ<><C4BF><EFBFBD>͸<EFBFBD><CDB8><EFBFBD>¡ȭ<C2A1><C8AD> <20>ʿ<EFBFBD> 0: <20>ʿ<EFBFBD><CABF><EFBFBD><EFBFBD><EFBFBD>.
* </pre>
*
* <code>uint32 Init = 6;</code>
* @return This builder for chaining.
*/
public Builder clearInit() {
bitField0_ = (bitField0_ & ~0x00000004);
init_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AvatarInfo)
}
// @@protoc_insertion_point(class_scope:AvatarInfo)
private static final com.caliverse.admin.domain.RabbitMq.message.AvatarInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.AvatarInfo();
}
public static com.caliverse.admin.domain.RabbitMq.message.AvatarInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<AvatarInfo>
PARSER = new com.google.protobuf.AbstractParser<AvatarInfo>() {
@java.lang.Override
public AvatarInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AvatarInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AvatarInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.AvatarInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,44 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface AvatarInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:AvatarInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>int32 avatar_id = 1;</code>
* @return The avatarId.
*/
int getAvatarId();
/**
* <code>.AppearanceCustomization appearCustomize = 7;</code>
* @return Whether the appearCustomize field is set.
*/
boolean hasAppearCustomize();
/**
* <code>.AppearanceCustomization appearCustomize = 7;</code>
* @return The appearCustomize.
*/
com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomization getAppearCustomize();
/**
* <code>.AppearanceCustomization appearCustomize = 7;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.AppearanceCustomizationOrBuilder getAppearCustomizeOrBuilder();
/**
* <pre>
* 1: Ŀ<><C4BF><EFBFBD>͸<EFBFBD><CDB8><EFBFBD>¡ȭ<C2A1><C8AD> <20>ʿ<EFBFBD> 0: <20>ʿ<EFBFBD><CABF><EFBFBD><EFBFBD><EFBFBD>.
* </pre>
*
* <code>uint32 Init = 6;</code>
* @return The init.
*/
int getInit();
}

View File

@@ -0,0 +1,927 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* Protobuf type {@code BlockInfo}
*/
public final class BlockInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:BlockInfo)
BlockInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use BlockInfo.newBuilder() to construct.
private BlockInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private BlockInfo() {
guid_ = "";
nickName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BlockInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BlockInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BlockInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.BlockInfo.class, com.caliverse.admin.domain.RabbitMq.message.BlockInfo.Builder.class);
}
public static final int GUID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object guid_ = "";
/**
* <code>string guid = 1;</code>
* @return The guid.
*/
@java.lang.Override
public java.lang.String getGuid() {
java.lang.Object ref = guid_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
guid_ = s;
return s;
}
}
/**
* <code>string guid = 1;</code>
* @return The bytes for guid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGuidBytes() {
java.lang.Object ref = guid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
guid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NICKNAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object nickName_ = "";
/**
* <code>string nickName = 2;</code>
* @return The nickName.
*/
@java.lang.Override
public java.lang.String getNickName() {
java.lang.Object ref = nickName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
nickName_ = s;
return s;
}
}
/**
* <code>string nickName = 2;</code>
* @return The bytes for nickName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNickNameBytes() {
java.lang.Object ref = nickName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nickName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ISNEW_FIELD_NUMBER = 3;
private int isNew_ = 0;
/**
* <code>int32 isNew = 3;</code>
* @return The isNew.
*/
@java.lang.Override
public int getIsNew() {
return isNew_;
}
public static final int CREATETIME_FIELD_NUMBER = 4;
private com.google.protobuf.Timestamp createTime_;
/**
* <code>.google.protobuf.Timestamp createTime = 4;</code>
* @return Whether the createTime field is set.
*/
@java.lang.Override
public boolean hasCreateTime() {
return createTime_ != null;
}
/**
* <code>.google.protobuf.Timestamp createTime = 4;</code>
* @return The createTime.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
/**
* <code>.google.protobuf.Timestamp createTime = 4;</code>
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, guid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nickName_);
}
if (isNew_ != 0) {
output.writeInt32(3, isNew_);
}
if (createTime_ != null) {
output.writeMessage(4, getCreateTime());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, guid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nickName_);
}
if (isNew_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, isNew_);
}
if (createTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getCreateTime());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.BlockInfo)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.BlockInfo other = (com.caliverse.admin.domain.RabbitMq.message.BlockInfo) obj;
if (!getGuid()
.equals(other.getGuid())) return false;
if (!getNickName()
.equals(other.getNickName())) return false;
if (getIsNew()
!= other.getIsNew()) return false;
if (hasCreateTime() != other.hasCreateTime()) return false;
if (hasCreateTime()) {
if (!getCreateTime()
.equals(other.getCreateTime())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + GUID_FIELD_NUMBER;
hash = (53 * hash) + getGuid().hashCode();
hash = (37 * hash) + NICKNAME_FIELD_NUMBER;
hash = (53 * hash) + getNickName().hashCode();
hash = (37 * hash) + ISNEW_FIELD_NUMBER;
hash = (53 * hash) + getIsNew();
if (hasCreateTime()) {
hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
hash = (53 * hash) + getCreateTime().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.BlockInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code BlockInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:BlockInfo)
com.caliverse.admin.domain.RabbitMq.message.BlockInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BlockInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BlockInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.BlockInfo.class, com.caliverse.admin.domain.RabbitMq.message.BlockInfo.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.BlockInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
guid_ = "";
nickName_ = "";
isNew_ = 0;
createTime_ = null;
if (createTimeBuilder_ != null) {
createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BlockInfo_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.BlockInfo getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.BlockInfo.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.BlockInfo build() {
com.caliverse.admin.domain.RabbitMq.message.BlockInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.BlockInfo buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.BlockInfo result = new com.caliverse.admin.domain.RabbitMq.message.BlockInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.BlockInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.guid_ = guid_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.nickName_ = nickName_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.isNew_ = isNew_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.createTime_ = createTimeBuilder_ == null
? createTime_
: createTimeBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.BlockInfo) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.BlockInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.BlockInfo other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.BlockInfo.getDefaultInstance()) return this;
if (!other.getGuid().isEmpty()) {
guid_ = other.guid_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getNickName().isEmpty()) {
nickName_ = other.nickName_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.getIsNew() != 0) {
setIsNew(other.getIsNew());
}
if (other.hasCreateTime()) {
mergeCreateTime(other.getCreateTime());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
guid_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
nickName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
isNew_ = input.readInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
input.readMessage(
getCreateTimeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object guid_ = "";
/**
* <code>string guid = 1;</code>
* @return The guid.
*/
public java.lang.String getGuid() {
java.lang.Object ref = guid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
guid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string guid = 1;</code>
* @return The bytes for guid.
*/
public com.google.protobuf.ByteString
getGuidBytes() {
java.lang.Object ref = guid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
guid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string guid = 1;</code>
* @param value The guid to set.
* @return This builder for chaining.
*/
public Builder setGuid(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
guid_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string guid = 1;</code>
* @return This builder for chaining.
*/
public Builder clearGuid() {
guid_ = getDefaultInstance().getGuid();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string guid = 1;</code>
* @param value The bytes for guid to set.
* @return This builder for chaining.
*/
public Builder setGuidBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
guid_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object nickName_ = "";
/**
* <code>string nickName = 2;</code>
* @return The nickName.
*/
public java.lang.String getNickName() {
java.lang.Object ref = nickName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
nickName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string nickName = 2;</code>
* @return The bytes for nickName.
*/
public com.google.protobuf.ByteString
getNickNameBytes() {
java.lang.Object ref = nickName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nickName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string nickName = 2;</code>
* @param value The nickName to set.
* @return This builder for chaining.
*/
public Builder setNickName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
nickName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>string nickName = 2;</code>
* @return This builder for chaining.
*/
public Builder clearNickName() {
nickName_ = getDefaultInstance().getNickName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>string nickName = 2;</code>
* @param value The bytes for nickName to set.
* @return This builder for chaining.
*/
public Builder setNickNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
nickName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private int isNew_ ;
/**
* <code>int32 isNew = 3;</code>
* @return The isNew.
*/
@java.lang.Override
public int getIsNew() {
return isNew_;
}
/**
* <code>int32 isNew = 3;</code>
* @param value The isNew to set.
* @return This builder for chaining.
*/
public Builder setIsNew(int value) {
isNew_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>int32 isNew = 3;</code>
* @return This builder for chaining.
*/
public Builder clearIsNew() {
bitField0_ = (bitField0_ & ~0x00000004);
isNew_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Timestamp createTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
/**
* <code>.google.protobuf.Timestamp createTime = 4;</code>
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>.google.protobuf.Timestamp createTime = 4;</code>
* @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
if (createTimeBuilder_ == null) {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
} else {
return createTimeBuilder_.getMessage();
}
}
/**
* <code>.google.protobuf.Timestamp createTime = 4;</code>
*/
public Builder setCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createTime_ = value;
} else {
createTimeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Timestamp createTime = 4;</code>
*/
public Builder setCreateTime(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Timestamp createTime = 4;</code>
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
createTime_ != null &&
createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
getCreateTimeBuilder().mergeFrom(value);
} else {
createTime_ = value;
}
} else {
createTimeBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Timestamp createTime = 4;</code>
*/
public Builder clearCreateTime() {
bitField0_ = (bitField0_ & ~0x00000008);
createTime_ = null;
if (createTimeBuilder_ != null) {
createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.google.protobuf.Timestamp createTime = 4;</code>
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
/**
* <code>.google.protobuf.Timestamp createTime = 4;</code>
*/
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
if (createTimeBuilder_ != null) {
return createTimeBuilder_.getMessageOrBuilder();
} else {
return createTime_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
}
/**
* <code>.google.protobuf.Timestamp createTime = 4;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getCreateTimeFieldBuilder() {
if (createTimeBuilder_ == null) {
createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getCreateTime(),
getParentForChildren(),
isClean());
createTime_ = null;
}
return createTimeBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:BlockInfo)
}
// @@protoc_insertion_point(class_scope:BlockInfo)
private static final com.caliverse.admin.domain.RabbitMq.message.BlockInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.BlockInfo();
}
public static com.caliverse.admin.domain.RabbitMq.message.BlockInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<BlockInfo>
PARSER = new com.google.protobuf.AbstractParser<BlockInfo>() {
@java.lang.Override
public BlockInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<BlockInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<BlockInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.BlockInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,54 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface BlockInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:BlockInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string guid = 1;</code>
* @return The guid.
*/
java.lang.String getGuid();
/**
* <code>string guid = 1;</code>
* @return The bytes for guid.
*/
com.google.protobuf.ByteString
getGuidBytes();
/**
* <code>string nickName = 2;</code>
* @return The nickName.
*/
java.lang.String getNickName();
/**
* <code>string nickName = 2;</code>
* @return The bytes for nickName.
*/
com.google.protobuf.ByteString
getNickNameBytes();
/**
* <code>int32 isNew = 3;</code>
* @return The isNew.
*/
int getIsNew();
/**
* <code>.google.protobuf.Timestamp createTime = 4;</code>
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
* <code>.google.protobuf.Timestamp createTime = 4;</code>
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
* <code>.google.protobuf.Timestamp createTime = 4;</code>
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
}

View File

@@ -0,0 +1,126 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* bool enum
* </pre>
*
* Protobuf enum {@code BoolType}
*/
public enum BoolType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>BoolType_None = 0;</code>
*/
BoolType_None(0),
/**
* <code>BoolType_True = 1;</code>
*/
BoolType_True(1),
/**
* <code>BoolType_False = 2;</code>
*/
BoolType_False(2),
UNRECOGNIZED(-1),
;
/**
* <code>BoolType_None = 0;</code>
*/
public static final int BoolType_None_VALUE = 0;
/**
* <code>BoolType_True = 1;</code>
*/
public static final int BoolType_True_VALUE = 1;
/**
* <code>BoolType_False = 2;</code>
*/
public static final int BoolType_False_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static BoolType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static BoolType forNumber(int value) {
switch (value) {
case 0: return BoolType_None;
case 1: return BoolType_True;
case 2: return BoolType_False;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<BoolType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
BoolType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<BoolType>() {
public BoolType findValueByNumber(int number) {
return BoolType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(0);
}
private static final BoolType[] VALUES = values();
public static BoolType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private BoolType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:BoolType)
}

View File

@@ -0,0 +1,655 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* Protobuf type {@code Buff}
*/
public final class Buff extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Buff)
BuffOrBuilder {
private static final long serialVersionUID = 0L;
// Use Buff.newBuilder() to construct.
private Buff(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Buff() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Buff();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Buff_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Buff_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.Buff.class, com.caliverse.admin.domain.RabbitMq.message.Buff.Builder.class);
}
public static final int BUFFID_FIELD_NUMBER = 1;
private int buffId_ = 0;
/**
* <code>int32 buffId = 1;</code>
* @return The buffId.
*/
@java.lang.Override
public int getBuffId() {
return buffId_;
}
public static final int BUFFSTARTTIME_FIELD_NUMBER = 2;
private com.google.protobuf.Timestamp buffStartTime_;
/**
* <code>.google.protobuf.Timestamp buffStartTime = 2;</code>
* @return Whether the buffStartTime field is set.
*/
@java.lang.Override
public boolean hasBuffStartTime() {
return buffStartTime_ != null;
}
/**
* <code>.google.protobuf.Timestamp buffStartTime = 2;</code>
* @return The buffStartTime.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getBuffStartTime() {
return buffStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buffStartTime_;
}
/**
* <code>.google.protobuf.Timestamp buffStartTime = 2;</code>
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getBuffStartTimeOrBuilder() {
return buffStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buffStartTime_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (buffId_ != 0) {
output.writeInt32(1, buffId_);
}
if (buffStartTime_ != null) {
output.writeMessage(2, getBuffStartTime());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (buffId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, buffId_);
}
if (buffStartTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getBuffStartTime());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.Buff)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.Buff other = (com.caliverse.admin.domain.RabbitMq.message.Buff) obj;
if (getBuffId()
!= other.getBuffId()) return false;
if (hasBuffStartTime() != other.hasBuffStartTime()) return false;
if (hasBuffStartTime()) {
if (!getBuffStartTime()
.equals(other.getBuffStartTime())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + BUFFID_FIELD_NUMBER;
hash = (53 * hash) + getBuffId();
if (hasBuffStartTime()) {
hash = (37 * hash) + BUFFSTARTTIME_FIELD_NUMBER;
hash = (53 * hash) + getBuffStartTime().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.Buff parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.Buff parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.Buff parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.Buff prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Buff}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:Buff)
com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Buff_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Buff_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.Buff.class, com.caliverse.admin.domain.RabbitMq.message.Buff.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.Buff.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
buffId_ = 0;
buffStartTime_ = null;
if (buffStartTimeBuilder_ != null) {
buffStartTimeBuilder_.dispose();
buffStartTimeBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_Buff_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.Buff getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.Buff.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.Buff build() {
com.caliverse.admin.domain.RabbitMq.message.Buff result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.Buff buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.Buff result = new com.caliverse.admin.domain.RabbitMq.message.Buff(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.Buff result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.buffId_ = buffId_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.buffStartTime_ = buffStartTimeBuilder_ == null
? buffStartTime_
: buffStartTimeBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.Buff) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.Buff)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.Buff other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.Buff.getDefaultInstance()) return this;
if (other.getBuffId() != 0) {
setBuffId(other.getBuffId());
}
if (other.hasBuffStartTime()) {
mergeBuffStartTime(other.getBuffStartTime());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
buffId_ = input.readInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
input.readMessage(
getBuffStartTimeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int buffId_ ;
/**
* <code>int32 buffId = 1;</code>
* @return The buffId.
*/
@java.lang.Override
public int getBuffId() {
return buffId_;
}
/**
* <code>int32 buffId = 1;</code>
* @param value The buffId to set.
* @return This builder for chaining.
*/
public Builder setBuffId(int value) {
buffId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>int32 buffId = 1;</code>
* @return This builder for chaining.
*/
public Builder clearBuffId() {
bitField0_ = (bitField0_ & ~0x00000001);
buffId_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Timestamp buffStartTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> buffStartTimeBuilder_;
/**
* <code>.google.protobuf.Timestamp buffStartTime = 2;</code>
* @return Whether the buffStartTime field is set.
*/
public boolean hasBuffStartTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.google.protobuf.Timestamp buffStartTime = 2;</code>
* @return The buffStartTime.
*/
public com.google.protobuf.Timestamp getBuffStartTime() {
if (buffStartTimeBuilder_ == null) {
return buffStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buffStartTime_;
} else {
return buffStartTimeBuilder_.getMessage();
}
}
/**
* <code>.google.protobuf.Timestamp buffStartTime = 2;</code>
*/
public Builder setBuffStartTime(com.google.protobuf.Timestamp value) {
if (buffStartTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
buffStartTime_ = value;
} else {
buffStartTimeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Timestamp buffStartTime = 2;</code>
*/
public Builder setBuffStartTime(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (buffStartTimeBuilder_ == null) {
buffStartTime_ = builderForValue.build();
} else {
buffStartTimeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Timestamp buffStartTime = 2;</code>
*/
public Builder mergeBuffStartTime(com.google.protobuf.Timestamp value) {
if (buffStartTimeBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
buffStartTime_ != null &&
buffStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
getBuffStartTimeBuilder().mergeFrom(value);
} else {
buffStartTime_ = value;
}
} else {
buffStartTimeBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.google.protobuf.Timestamp buffStartTime = 2;</code>
*/
public Builder clearBuffStartTime() {
bitField0_ = (bitField0_ & ~0x00000002);
buffStartTime_ = null;
if (buffStartTimeBuilder_ != null) {
buffStartTimeBuilder_.dispose();
buffStartTimeBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.google.protobuf.Timestamp buffStartTime = 2;</code>
*/
public com.google.protobuf.Timestamp.Builder getBuffStartTimeBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getBuffStartTimeFieldBuilder().getBuilder();
}
/**
* <code>.google.protobuf.Timestamp buffStartTime = 2;</code>
*/
public com.google.protobuf.TimestampOrBuilder getBuffStartTimeOrBuilder() {
if (buffStartTimeBuilder_ != null) {
return buffStartTimeBuilder_.getMessageOrBuilder();
} else {
return buffStartTime_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : buffStartTime_;
}
}
/**
* <code>.google.protobuf.Timestamp buffStartTime = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getBuffStartTimeFieldBuilder() {
if (buffStartTimeBuilder_ == null) {
buffStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getBuffStartTime(),
getParentForChildren(),
isClean());
buffStartTime_ = null;
}
return buffStartTimeBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Buff)
}
// @@protoc_insertion_point(class_scope:Buff)
private static final com.caliverse.admin.domain.RabbitMq.message.Buff DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.Buff();
}
public static com.caliverse.admin.domain.RabbitMq.message.Buff getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Buff>
PARSER = new com.google.protobuf.AbstractParser<Buff>() {
@java.lang.Override
public Buff parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<Buff> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Buff> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.Buff getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,862 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* map<61><70> Unreal<61><6C><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>߻<EFBFBD><DFBB><EFBFBD><EFBFBD><EFBFBD> repeated<65><64> <20><><EFBFBD><EFBFBD>
* </pre>
*
* Protobuf type {@code BuffInfo}
*/
public final class BuffInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:BuffInfo)
BuffInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use BuffInfo.newBuilder() to construct.
private BuffInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private BuffInfo() {
buff_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BuffInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BuffInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BuffInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.BuffInfo.class, com.caliverse.admin.domain.RabbitMq.message.BuffInfo.Builder.class);
}
public static final int BUFF_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List<com.caliverse.admin.domain.RabbitMq.message.Buff> buff_;
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
@java.lang.Override
public java.util.List<com.caliverse.admin.domain.RabbitMq.message.Buff> getBuffList() {
return buff_;
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder>
getBuffOrBuilderList() {
return buff_;
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
@java.lang.Override
public int getBuffCount() {
return buff_.size();
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.Buff getBuff(int index) {
return buff_.get(index);
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder getBuffOrBuilder(
int index) {
return buff_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < buff_.size(); i++) {
output.writeMessage(1, buff_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < buff_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, buff_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.BuffInfo)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.BuffInfo other = (com.caliverse.admin.domain.RabbitMq.message.BuffInfo) obj;
if (!getBuffList()
.equals(other.getBuffList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getBuffCount() > 0) {
hash = (37 * hash) + BUFF_FIELD_NUMBER;
hash = (53 * hash) + getBuffList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.BuffInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* map<61><70> Unreal<61><6C><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>߻<EFBFBD><DFBB><EFBFBD><EFBFBD><EFBFBD> repeated<65><64> <20><><EFBFBD><EFBFBD>
* </pre>
*
* Protobuf type {@code BuffInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:BuffInfo)
com.caliverse.admin.domain.RabbitMq.message.BuffInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BuffInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BuffInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.BuffInfo.class, com.caliverse.admin.domain.RabbitMq.message.BuffInfo.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.BuffInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (buffBuilder_ == null) {
buff_ = java.util.Collections.emptyList();
} else {
buff_ = null;
buffBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_BuffInfo_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.BuffInfo getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.BuffInfo.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.BuffInfo build() {
com.caliverse.admin.domain.RabbitMq.message.BuffInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.BuffInfo buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.BuffInfo result = new com.caliverse.admin.domain.RabbitMq.message.BuffInfo(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.BuffInfo result) {
if (buffBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
buff_ = java.util.Collections.unmodifiableList(buff_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.buff_ = buff_;
} else {
result.buff_ = buffBuilder_.build();
}
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.BuffInfo result) {
int from_bitField0_ = bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.BuffInfo) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.BuffInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.BuffInfo other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.BuffInfo.getDefaultInstance()) return this;
if (buffBuilder_ == null) {
if (!other.buff_.isEmpty()) {
if (buff_.isEmpty()) {
buff_ = other.buff_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureBuffIsMutable();
buff_.addAll(other.buff_);
}
onChanged();
}
} else {
if (!other.buff_.isEmpty()) {
if (buffBuilder_.isEmpty()) {
buffBuilder_.dispose();
buffBuilder_ = null;
buff_ = other.buff_;
bitField0_ = (bitField0_ & ~0x00000001);
buffBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getBuffFieldBuilder() : null;
} else {
buffBuilder_.addAllMessages(other.buff_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.caliverse.admin.domain.RabbitMq.message.Buff m =
input.readMessage(
com.caliverse.admin.domain.RabbitMq.message.Buff.parser(),
extensionRegistry);
if (buffBuilder_ == null) {
ensureBuffIsMutable();
buff_.add(m);
} else {
buffBuilder_.addMessage(m);
}
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List<com.caliverse.admin.domain.RabbitMq.message.Buff> buff_ =
java.util.Collections.emptyList();
private void ensureBuffIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
buff_ = new java.util.ArrayList<com.caliverse.admin.domain.RabbitMq.message.Buff>(buff_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.caliverse.admin.domain.RabbitMq.message.Buff, com.caliverse.admin.domain.RabbitMq.message.Buff.Builder, com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder> buffBuilder_;
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public java.util.List<com.caliverse.admin.domain.RabbitMq.message.Buff> getBuffList() {
if (buffBuilder_ == null) {
return java.util.Collections.unmodifiableList(buff_);
} else {
return buffBuilder_.getMessageList();
}
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public int getBuffCount() {
if (buffBuilder_ == null) {
return buff_.size();
} else {
return buffBuilder_.getCount();
}
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public com.caliverse.admin.domain.RabbitMq.message.Buff getBuff(int index) {
if (buffBuilder_ == null) {
return buff_.get(index);
} else {
return buffBuilder_.getMessage(index);
}
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public Builder setBuff(
int index, com.caliverse.admin.domain.RabbitMq.message.Buff value) {
if (buffBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBuffIsMutable();
buff_.set(index, value);
onChanged();
} else {
buffBuilder_.setMessage(index, value);
}
return this;
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public Builder setBuff(
int index, com.caliverse.admin.domain.RabbitMq.message.Buff.Builder builderForValue) {
if (buffBuilder_ == null) {
ensureBuffIsMutable();
buff_.set(index, builderForValue.build());
onChanged();
} else {
buffBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public Builder addBuff(com.caliverse.admin.domain.RabbitMq.message.Buff value) {
if (buffBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBuffIsMutable();
buff_.add(value);
onChanged();
} else {
buffBuilder_.addMessage(value);
}
return this;
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public Builder addBuff(
int index, com.caliverse.admin.domain.RabbitMq.message.Buff value) {
if (buffBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBuffIsMutable();
buff_.add(index, value);
onChanged();
} else {
buffBuilder_.addMessage(index, value);
}
return this;
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public Builder addBuff(
com.caliverse.admin.domain.RabbitMq.message.Buff.Builder builderForValue) {
if (buffBuilder_ == null) {
ensureBuffIsMutable();
buff_.add(builderForValue.build());
onChanged();
} else {
buffBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public Builder addBuff(
int index, com.caliverse.admin.domain.RabbitMq.message.Buff.Builder builderForValue) {
if (buffBuilder_ == null) {
ensureBuffIsMutable();
buff_.add(index, builderForValue.build());
onChanged();
} else {
buffBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public Builder addAllBuff(
java.lang.Iterable<? extends com.caliverse.admin.domain.RabbitMq.message.Buff> values) {
if (buffBuilder_ == null) {
ensureBuffIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, buff_);
onChanged();
} else {
buffBuilder_.addAllMessages(values);
}
return this;
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public Builder clearBuff() {
if (buffBuilder_ == null) {
buff_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
buffBuilder_.clear();
}
return this;
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public Builder removeBuff(int index) {
if (buffBuilder_ == null) {
ensureBuffIsMutable();
buff_.remove(index);
onChanged();
} else {
buffBuilder_.remove(index);
}
return this;
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public com.caliverse.admin.domain.RabbitMq.message.Buff.Builder getBuffBuilder(
int index) {
return getBuffFieldBuilder().getBuilder(index);
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder getBuffOrBuilder(
int index) {
if (buffBuilder_ == null) {
return buff_.get(index); } else {
return buffBuilder_.getMessageOrBuilder(index);
}
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder>
getBuffOrBuilderList() {
if (buffBuilder_ != null) {
return buffBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(buff_);
}
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public com.caliverse.admin.domain.RabbitMq.message.Buff.Builder addBuffBuilder() {
return getBuffFieldBuilder().addBuilder(
com.caliverse.admin.domain.RabbitMq.message.Buff.getDefaultInstance());
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public com.caliverse.admin.domain.RabbitMq.message.Buff.Builder addBuffBuilder(
int index) {
return getBuffFieldBuilder().addBuilder(
index, com.caliverse.admin.domain.RabbitMq.message.Buff.getDefaultInstance());
}
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
public java.util.List<com.caliverse.admin.domain.RabbitMq.message.Buff.Builder>
getBuffBuilderList() {
return getBuffFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.caliverse.admin.domain.RabbitMq.message.Buff, com.caliverse.admin.domain.RabbitMq.message.Buff.Builder, com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder>
getBuffFieldBuilder() {
if (buffBuilder_ == null) {
buffBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.caliverse.admin.domain.RabbitMq.message.Buff, com.caliverse.admin.domain.RabbitMq.message.Buff.Builder, com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder>(
buff_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
buff_ = null;
}
return buffBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:BuffInfo)
}
// @@protoc_insertion_point(class_scope:BuffInfo)
private static final com.caliverse.admin.domain.RabbitMq.message.BuffInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.BuffInfo();
}
public static com.caliverse.admin.domain.RabbitMq.message.BuffInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<BuffInfo>
PARSER = new com.google.protobuf.AbstractParser<BuffInfo>() {
@java.lang.Override
public BuffInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<BuffInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<BuffInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.BuffInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,53 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface BuffInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:BuffInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
java.util.List<com.caliverse.admin.domain.RabbitMq.message.Buff>
getBuffList();
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.Buff getBuff(int index);
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
int getBuffCount();
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder>
getBuffOrBuilderList();
/**
* <pre>
*:Buff
* </pre>
*
* <code>repeated .Buff buff = 1;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.BuffOrBuilder getBuffOrBuilder(
int index);
}

View File

@@ -0,0 +1,30 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface BuffOrBuilder extends
// @@protoc_insertion_point(interface_extends:Buff)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 buffId = 1;</code>
* @return The buffId.
*/
int getBuffId();
/**
* <code>.google.protobuf.Timestamp buffStartTime = 2;</code>
* @return Whether the buffStartTime field is set.
*/
boolean hasBuffStartTime();
/**
* <code>.google.protobuf.Timestamp buffStartTime = 2;</code>
* @return The buffStartTime.
*/
com.google.protobuf.Timestamp getBuffStartTime();
/**
* <code>.google.protobuf.Timestamp buffStartTime = 2;</code>
*/
com.google.protobuf.TimestampOrBuilder getBuffStartTimeOrBuilder();
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,99 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface BuildingInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:BuildingInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 id = 1;</code>
* @return The id.
*/
int getId();
/**
* <code>string owner = 2;</code>
* @return The owner.
*/
java.lang.String getOwner();
/**
* <code>string owner = 2;</code>
* @return The bytes for owner.
*/
com.google.protobuf.ByteString
getOwnerBytes();
/**
* <code>string name = 3;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>string name = 3;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>string description = 4;</code>
* @return The description.
*/
java.lang.String getDescription();
/**
* <code>string description = 4;</code>
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
* <code>repeated .SlotInfo roomList = 5;</code>
*/
java.util.List<com.caliverse.admin.domain.RabbitMq.message.SlotInfo>
getRoomListList();
/**
* <code>repeated .SlotInfo roomList = 5;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.SlotInfo getRoomList(int index);
/**
* <code>repeated .SlotInfo roomList = 5;</code>
*/
int getRoomListCount();
/**
* <code>repeated .SlotInfo roomList = 5;</code>
*/
java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.SlotInfoOrBuilder>
getRoomListOrBuilderList();
/**
* <code>repeated .SlotInfo roomList = 5;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.SlotInfoOrBuilder getRoomListOrBuilder(
int index);
/**
* <code>repeated .PropInfo propList = 6;</code>
*/
java.util.List<com.caliverse.admin.domain.RabbitMq.message.PropInfo>
getPropListList();
/**
* <code>repeated .PropInfo propList = 6;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.PropInfo getPropList(int index);
/**
* <code>repeated .PropInfo propList = 6;</code>
*/
int getPropListCount();
/**
* <code>repeated .PropInfo propList = 6;</code>
*/
java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder>
getPropListOrBuilderList();
/**
* <code>repeated .PropInfo propList = 6;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.PropInfoOrBuilder getPropListOrBuilder(
int index);
}

View File

@@ -0,0 +1,812 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* Protobuf type {@code CartItemInfo}
*/
public final class CartItemInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:CartItemInfo)
CartItemInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use CartItemInfo.newBuilder() to construct.
private CartItemInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CartItemInfo() {
itemGuid_ = "";
buyType_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CartItemInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CartItemInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CartItemInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.CartItemInfo.class, com.caliverse.admin.domain.RabbitMq.message.CartItemInfo.Builder.class);
}
public static final int ITEMGUID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object itemGuid_ = "";
/**
* <code>string itemGuid = 1;</code>
* @return The itemGuid.
*/
@java.lang.Override
public java.lang.String getItemGuid() {
java.lang.Object ref = itemGuid_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
itemGuid_ = s;
return s;
}
}
/**
* <code>string itemGuid = 1;</code>
* @return The bytes for itemGuid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getItemGuidBytes() {
java.lang.Object ref = itemGuid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
itemGuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ITEMID_FIELD_NUMBER = 2;
private int itemId_ = 0;
/**
* <code>int32 itemId = 2;</code>
* @return The itemId.
*/
@java.lang.Override
public int getItemId() {
return itemId_;
}
public static final int COUNT_FIELD_NUMBER = 3;
private int count_ = 0;
/**
* <code>int32 count = 3;</code>
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
public static final int BUYTYPE_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object buyType_ = "";
/**
* <code>string buyType = 4;</code>
* @return The buyType.
*/
@java.lang.Override
public java.lang.String getBuyType() {
java.lang.Object ref = buyType_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
buyType_ = s;
return s;
}
}
/**
* <code>string buyType = 4;</code>
* @return The bytes for buyType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBuyTypeBytes() {
java.lang.Object ref = buyType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
buyType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, itemGuid_);
}
if (itemId_ != 0) {
output.writeInt32(2, itemId_);
}
if (count_ != 0) {
output.writeInt32(3, count_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buyType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, buyType_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemGuid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, itemGuid_);
}
if (itemId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, itemId_);
}
if (count_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, count_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buyType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, buyType_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.CartItemInfo)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.CartItemInfo other = (com.caliverse.admin.domain.RabbitMq.message.CartItemInfo) obj;
if (!getItemGuid()
.equals(other.getItemGuid())) return false;
if (getItemId()
!= other.getItemId()) return false;
if (getCount()
!= other.getCount()) return false;
if (!getBuyType()
.equals(other.getBuyType())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ITEMGUID_FIELD_NUMBER;
hash = (53 * hash) + getItemGuid().hashCode();
hash = (37 * hash) + ITEMID_FIELD_NUMBER;
hash = (53 * hash) + getItemId();
hash = (37 * hash) + COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCount();
hash = (37 * hash) + BUYTYPE_FIELD_NUMBER;
hash = (53 * hash) + getBuyType().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.CartItemInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CartItemInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:CartItemInfo)
com.caliverse.admin.domain.RabbitMq.message.CartItemInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CartItemInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CartItemInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.CartItemInfo.class, com.caliverse.admin.domain.RabbitMq.message.CartItemInfo.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.CartItemInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
itemGuid_ = "";
itemId_ = 0;
count_ = 0;
buyType_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CartItemInfo_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.CartItemInfo getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.CartItemInfo.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.CartItemInfo build() {
com.caliverse.admin.domain.RabbitMq.message.CartItemInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.CartItemInfo buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.CartItemInfo result = new com.caliverse.admin.domain.RabbitMq.message.CartItemInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.CartItemInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.itemGuid_ = itemGuid_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.itemId_ = itemId_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.count_ = count_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.buyType_ = buyType_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.CartItemInfo) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.CartItemInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.CartItemInfo other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.CartItemInfo.getDefaultInstance()) return this;
if (!other.getItemGuid().isEmpty()) {
itemGuid_ = other.itemGuid_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.getItemId() != 0) {
setItemId(other.getItemId());
}
if (other.getCount() != 0) {
setCount(other.getCount());
}
if (!other.getBuyType().isEmpty()) {
buyType_ = other.buyType_;
bitField0_ |= 0x00000008;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
itemGuid_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
itemId_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
count_ = input.readInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
buyType_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object itemGuid_ = "";
/**
* <code>string itemGuid = 1;</code>
* @return The itemGuid.
*/
public java.lang.String getItemGuid() {
java.lang.Object ref = itemGuid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
itemGuid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string itemGuid = 1;</code>
* @return The bytes for itemGuid.
*/
public com.google.protobuf.ByteString
getItemGuidBytes() {
java.lang.Object ref = itemGuid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
itemGuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string itemGuid = 1;</code>
* @param value The itemGuid to set.
* @return This builder for chaining.
*/
public Builder setItemGuid(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
itemGuid_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>string itemGuid = 1;</code>
* @return This builder for chaining.
*/
public Builder clearItemGuid() {
itemGuid_ = getDefaultInstance().getItemGuid();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>string itemGuid = 1;</code>
* @param value The bytes for itemGuid to set.
* @return This builder for chaining.
*/
public Builder setItemGuidBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
itemGuid_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private int itemId_ ;
/**
* <code>int32 itemId = 2;</code>
* @return The itemId.
*/
@java.lang.Override
public int getItemId() {
return itemId_;
}
/**
* <code>int32 itemId = 2;</code>
* @param value The itemId to set.
* @return This builder for chaining.
*/
public Builder setItemId(int value) {
itemId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>int32 itemId = 2;</code>
* @return This builder for chaining.
*/
public Builder clearItemId() {
bitField0_ = (bitField0_ & ~0x00000002);
itemId_ = 0;
onChanged();
return this;
}
private int count_ ;
/**
* <code>int32 count = 3;</code>
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
/**
* <code>int32 count = 3;</code>
* @param value The count to set.
* @return This builder for chaining.
*/
public Builder setCount(int value) {
count_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>int32 count = 3;</code>
* @return This builder for chaining.
*/
public Builder clearCount() {
bitField0_ = (bitField0_ & ~0x00000004);
count_ = 0;
onChanged();
return this;
}
private java.lang.Object buyType_ = "";
/**
* <code>string buyType = 4;</code>
* @return The buyType.
*/
public java.lang.String getBuyType() {
java.lang.Object ref = buyType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
buyType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string buyType = 4;</code>
* @return The bytes for buyType.
*/
public com.google.protobuf.ByteString
getBuyTypeBytes() {
java.lang.Object ref = buyType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
buyType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string buyType = 4;</code>
* @param value The buyType to set.
* @return This builder for chaining.
*/
public Builder setBuyType(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
buyType_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>string buyType = 4;</code>
* @return This builder for chaining.
*/
public Builder clearBuyType() {
buyType_ = getDefaultInstance().getBuyType();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>string buyType = 4;</code>
* @param value The bytes for buyType to set.
* @return This builder for chaining.
*/
public Builder setBuyTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
buyType_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:CartItemInfo)
}
// @@protoc_insertion_point(class_scope:CartItemInfo)
private static final com.caliverse.admin.domain.RabbitMq.message.CartItemInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.CartItemInfo();
}
public static com.caliverse.admin.domain.RabbitMq.message.CartItemInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<CartItemInfo>
PARSER = new com.google.protobuf.AbstractParser<CartItemInfo>() {
@java.lang.Override
public CartItemInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CartItemInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CartItemInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.CartItemInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,45 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface CartItemInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:CartItemInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string itemGuid = 1;</code>
* @return The itemGuid.
*/
java.lang.String getItemGuid();
/**
* <code>string itemGuid = 1;</code>
* @return The bytes for itemGuid.
*/
com.google.protobuf.ByteString
getItemGuidBytes();
/**
* <code>int32 itemId = 2;</code>
* @return The itemId.
*/
int getItemId();
/**
* <code>int32 count = 3;</code>
* @return The count.
*/
int getCount();
/**
* <code>string buyType = 4;</code>
* @return The buyType.
*/
java.lang.String getBuyType();
/**
* <code>string buyType = 4;</code>
* @return The bytes for buyType.
*/
com.google.protobuf.ByteString
getBuyTypeBytes();
}

View File

@@ -0,0 +1,540 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* Protobuf type {@code ChannelInfo}
*/
public final class ChannelInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ChannelInfo)
ChannelInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use ChannelInfo.newBuilder() to construct.
private ChannelInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ChannelInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ChannelInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ChannelInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ChannelInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.class, com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.Builder.class);
}
public static final int CHANNEL_FIELD_NUMBER = 1;
private int channel_ = 0;
/**
* <code>int32 channel = 1;</code>
* @return The channel.
*/
@java.lang.Override
public int getChannel() {
return channel_;
}
public static final int TRAFFICLEVEL_FIELD_NUMBER = 2;
private int trafficlevel_ = 0;
/**
* <code>int32 trafficlevel = 2;</code>
* @return The trafficlevel.
*/
@java.lang.Override
public int getTrafficlevel() {
return trafficlevel_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (channel_ != 0) {
output.writeInt32(1, channel_);
}
if (trafficlevel_ != 0) {
output.writeInt32(2, trafficlevel_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (channel_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, channel_);
}
if (trafficlevel_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, trafficlevel_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ChannelInfo)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.ChannelInfo other = (com.caliverse.admin.domain.RabbitMq.message.ChannelInfo) obj;
if (getChannel()
!= other.getChannel()) return false;
if (getTrafficlevel()
!= other.getTrafficlevel()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CHANNEL_FIELD_NUMBER;
hash = (53 * hash) + getChannel();
hash = (37 * hash) + TRAFFICLEVEL_FIELD_NUMBER;
hash = (53 * hash) + getTrafficlevel();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ChannelInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code ChannelInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:ChannelInfo)
com.caliverse.admin.domain.RabbitMq.message.ChannelInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ChannelInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ChannelInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.class, com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
channel_ = 0;
trafficlevel_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_ChannelInfo_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.ChannelInfo getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.ChannelInfo build() {
com.caliverse.admin.domain.RabbitMq.message.ChannelInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.ChannelInfo buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.ChannelInfo result = new com.caliverse.admin.domain.RabbitMq.message.ChannelInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ChannelInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.channel_ = channel_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.trafficlevel_ = trafficlevel_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ChannelInfo) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ChannelInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ChannelInfo other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.ChannelInfo.getDefaultInstance()) return this;
if (other.getChannel() != 0) {
setChannel(other.getChannel());
}
if (other.getTrafficlevel() != 0) {
setTrafficlevel(other.getTrafficlevel());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
channel_ = input.readInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
trafficlevel_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int channel_ ;
/**
* <code>int32 channel = 1;</code>
* @return The channel.
*/
@java.lang.Override
public int getChannel() {
return channel_;
}
/**
* <code>int32 channel = 1;</code>
* @param value The channel to set.
* @return This builder for chaining.
*/
public Builder setChannel(int value) {
channel_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>int32 channel = 1;</code>
* @return This builder for chaining.
*/
public Builder clearChannel() {
bitField0_ = (bitField0_ & ~0x00000001);
channel_ = 0;
onChanged();
return this;
}
private int trafficlevel_ ;
/**
* <code>int32 trafficlevel = 2;</code>
* @return The trafficlevel.
*/
@java.lang.Override
public int getTrafficlevel() {
return trafficlevel_;
}
/**
* <code>int32 trafficlevel = 2;</code>
* @param value The trafficlevel to set.
* @return This builder for chaining.
*/
public Builder setTrafficlevel(int value) {
trafficlevel_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>int32 trafficlevel = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTrafficlevel() {
bitField0_ = (bitField0_ & ~0x00000002);
trafficlevel_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:ChannelInfo)
}
// @@protoc_insertion_point(class_scope:ChannelInfo)
private static final com.caliverse.admin.domain.RabbitMq.message.ChannelInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ChannelInfo();
}
public static com.caliverse.admin.domain.RabbitMq.message.ChannelInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ChannelInfo>
PARSER = new com.google.protobuf.AbstractParser<ChannelInfo>() {
@java.lang.Override
public ChannelInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<ChannelInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ChannelInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.ChannelInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,21 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface ChannelInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:ChannelInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 channel = 1;</code>
* @return The channel.
*/
int getChannel();
/**
* <code>int32 trafficlevel = 2;</code>
* @return The trafficlevel.
*/
int getTrafficlevel();
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,93 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface CharInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:CharInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 level = 1;</code>
* @return The level.
*/
int getLevel();
/**
* <code>int64 exp = 2;</code>
* @return The exp.
*/
long getExp();
/**
* <code>double gold = 3;</code>
* @return The gold.
*/
double getGold();
/**
* <code>double sapphire = 4;</code>
* @return The sapphire.
*/
double getSapphire();
/**
* <code>double calium = 5;</code>
* @return The calium.
*/
double getCalium();
/**
* <code>double beam = 6;</code>
* @return The beam.
*/
double getBeam();
/**
* <code>double ruby = 7;</code>
* @return The ruby.
*/
double getRuby();
/**
* <code>string usergroup = 8;</code>
* @return The usergroup.
*/
java.lang.String getUsergroup();
/**
* <code>string usergroup = 8;</code>
* @return The bytes for usergroup.
*/
com.google.protobuf.ByteString
getUsergroupBytes();
/**
* <code>int32 operator = 9;</code>
* @return The operator.
*/
int getOperator();
/**
* <code>string displayName = 10;</code>
* @return The displayName.
*/
java.lang.String getDisplayName();
/**
* <code>string displayName = 10;</code>
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString
getDisplayNameBytes();
/**
* <code>int32 languageInfo = 11;</code>
* @return The languageInfo.
*/
int getLanguageInfo();
/**
* <code>int32 isIntroComplete = 12;</code>
* @return The isIntroComplete.
*/
int getIsIntroComplete();
}

View File

@@ -0,0 +1,655 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* Protobuf type {@code CharPos}
*/
public final class CharPos extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:CharPos)
CharPosOrBuilder {
private static final long serialVersionUID = 0L;
// Use CharPos.newBuilder() to construct.
private CharPos(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CharPos() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CharPos();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharPos_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharPos_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.CharPos.class, com.caliverse.admin.domain.RabbitMq.message.CharPos.Builder.class);
}
public static final int MAP_ID_FIELD_NUMBER = 1;
private int mapId_ = 0;
/**
* <code>int32 map_id = 1;</code>
* @return The mapId.
*/
@java.lang.Override
public int getMapId() {
return mapId_;
}
public static final int POS_FIELD_NUMBER = 2;
private com.caliverse.admin.domain.RabbitMq.message.Pos pos_;
/**
* <code>.Pos pos = 2;</code>
* @return Whether the pos field is set.
*/
@java.lang.Override
public boolean hasPos() {
return pos_ != null;
}
/**
* <code>.Pos pos = 2;</code>
* @return The pos.
*/
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.Pos getPos() {
return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_;
}
/**
* <code>.Pos pos = 2;</code>
*/
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder() {
return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (mapId_ != 0) {
output.writeInt32(1, mapId_);
}
if (pos_ != null) {
output.writeMessage(2, getPos());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (mapId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, mapId_);
}
if (pos_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getPos());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.CharPos)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.CharPos other = (com.caliverse.admin.domain.RabbitMq.message.CharPos) obj;
if (getMapId()
!= other.getMapId()) return false;
if (hasPos() != other.hasPos()) return false;
if (hasPos()) {
if (!getPos()
.equals(other.getPos())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MAP_ID_FIELD_NUMBER;
hash = (53 * hash) + getMapId();
if (hasPos()) {
hash = (37 * hash) + POS_FIELD_NUMBER;
hash = (53 * hash) + getPos().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.CharPos parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.CharPos prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CharPos}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:CharPos)
com.caliverse.admin.domain.RabbitMq.message.CharPosOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharPos_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharPos_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.CharPos.class, com.caliverse.admin.domain.RabbitMq.message.CharPos.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.CharPos.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
mapId_ = 0;
pos_ = null;
if (posBuilder_ != null) {
posBuilder_.dispose();
posBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharPos_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.CharPos getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.CharPos.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.CharPos build() {
com.caliverse.admin.domain.RabbitMq.message.CharPos result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.CharPos buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.CharPos result = new com.caliverse.admin.domain.RabbitMq.message.CharPos(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.CharPos result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.mapId_ = mapId_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.pos_ = posBuilder_ == null
? pos_
: posBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.CharPos) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.CharPos)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.CharPos other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.CharPos.getDefaultInstance()) return this;
if (other.getMapId() != 0) {
setMapId(other.getMapId());
}
if (other.hasPos()) {
mergePos(other.getPos());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
mapId_ = input.readInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
input.readMessage(
getPosFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int mapId_ ;
/**
* <code>int32 map_id = 1;</code>
* @return The mapId.
*/
@java.lang.Override
public int getMapId() {
return mapId_;
}
/**
* <code>int32 map_id = 1;</code>
* @param value The mapId to set.
* @return This builder for chaining.
*/
public Builder setMapId(int value) {
mapId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>int32 map_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearMapId() {
bitField0_ = (bitField0_ & ~0x00000001);
mapId_ = 0;
onChanged();
return this;
}
private com.caliverse.admin.domain.RabbitMq.message.Pos pos_;
private com.google.protobuf.SingleFieldBuilderV3<
com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> posBuilder_;
/**
* <code>.Pos pos = 2;</code>
* @return Whether the pos field is set.
*/
public boolean hasPos() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>.Pos pos = 2;</code>
* @return The pos.
*/
public com.caliverse.admin.domain.RabbitMq.message.Pos getPos() {
if (posBuilder_ == null) {
return pos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_;
} else {
return posBuilder_.getMessage();
}
}
/**
* <code>.Pos pos = 2;</code>
*/
public Builder setPos(com.caliverse.admin.domain.RabbitMq.message.Pos value) {
if (posBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
pos_ = value;
} else {
posBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.Pos pos = 2;</code>
*/
public Builder setPos(
com.caliverse.admin.domain.RabbitMq.message.Pos.Builder builderForValue) {
if (posBuilder_ == null) {
pos_ = builderForValue.build();
} else {
posBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.Pos pos = 2;</code>
*/
public Builder mergePos(com.caliverse.admin.domain.RabbitMq.message.Pos value) {
if (posBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
pos_ != null &&
pos_ != com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance()) {
getPosBuilder().mergeFrom(value);
} else {
pos_ = value;
}
} else {
posBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>.Pos pos = 2;</code>
*/
public Builder clearPos() {
bitField0_ = (bitField0_ & ~0x00000002);
pos_ = null;
if (posBuilder_ != null) {
posBuilder_.dispose();
posBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>.Pos pos = 2;</code>
*/
public com.caliverse.admin.domain.RabbitMq.message.Pos.Builder getPosBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getPosFieldBuilder().getBuilder();
}
/**
* <code>.Pos pos = 2;</code>
*/
public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder() {
if (posBuilder_ != null) {
return posBuilder_.getMessageOrBuilder();
} else {
return pos_ == null ?
com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : pos_;
}
}
/**
* <code>.Pos pos = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder>
getPosFieldBuilder() {
if (posBuilder_ == null) {
posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder>(
getPos(),
getParentForChildren(),
isClean());
pos_ = null;
}
return posBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:CharPos)
}
// @@protoc_insertion_point(class_scope:CharPos)
private static final com.caliverse.admin.domain.RabbitMq.message.CharPos DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.CharPos();
}
public static com.caliverse.admin.domain.RabbitMq.message.CharPos getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<CharPos>
PARSER = new com.google.protobuf.AbstractParser<CharPos>() {
@java.lang.Override
public CharPos parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CharPos> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CharPos> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.CharPos getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,30 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface CharPosOrBuilder extends
// @@protoc_insertion_point(interface_extends:CharPos)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 map_id = 1;</code>
* @return The mapId.
*/
int getMapId();
/**
* <code>.Pos pos = 2;</code>
* @return Whether the pos field is set.
*/
boolean hasPos();
/**
* <code>.Pos pos = 2;</code>
* @return The pos.
*/
com.caliverse.admin.domain.RabbitMq.message.Pos getPos();
/**
* <code>.Pos pos = 2;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getPosOrBuilder();
}

View File

@@ -0,0 +1,162 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* ij<><C4B3><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* Protobuf enum {@code CharRace}
*/
public enum CharRace
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>CharRace_None = 0;</code>
*/
CharRace_None(0),
/**
* <code>CharRace_Latino = 1;</code>
*/
CharRace_Latino(1),
/**
* <code>CharRace_Caucasian = 2;</code>
*/
CharRace_Caucasian(2),
/**
* <code>CharRace_African = 3;</code>
*/
CharRace_African(3),
/**
* <code>CharRace_Northeastasian = 4;</code>
*/
CharRace_Northeastasian(4),
/**
* <code>CharRace_Southasian = 5;</code>
*/
CharRace_Southasian(5),
/**
* <code>CharRace_Pacificislander = 6;</code>
*/
CharRace_Pacificislander(6),
UNRECOGNIZED(-1),
;
/**
* <code>CharRace_None = 0;</code>
*/
public static final int CharRace_None_VALUE = 0;
/**
* <code>CharRace_Latino = 1;</code>
*/
public static final int CharRace_Latino_VALUE = 1;
/**
* <code>CharRace_Caucasian = 2;</code>
*/
public static final int CharRace_Caucasian_VALUE = 2;
/**
* <code>CharRace_African = 3;</code>
*/
public static final int CharRace_African_VALUE = 3;
/**
* <code>CharRace_Northeastasian = 4;</code>
*/
public static final int CharRace_Northeastasian_VALUE = 4;
/**
* <code>CharRace_Southasian = 5;</code>
*/
public static final int CharRace_Southasian_VALUE = 5;
/**
* <code>CharRace_Pacificislander = 6;</code>
*/
public static final int CharRace_Pacificislander_VALUE = 6;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static CharRace valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static CharRace forNumber(int value) {
switch (value) {
case 0: return CharRace_None;
case 1: return CharRace_Latino;
case 2: return CharRace_Caucasian;
case 3: return CharRace_African;
case 4: return CharRace_Northeastasian;
case 5: return CharRace_Southasian;
case 6: return CharRace_Pacificislander;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<CharRace>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CharRace> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<CharRace>() {
public CharRace findValueByNumber(int number) {
return CharRace.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(12);
}
private static final CharRace[] VALUES = values();
public static CharRace valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private CharRace(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:CharRace)
}

View File

@@ -0,0 +1,244 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* ä<><C3A4> <20><><EFBFBD><EFBFBD>
* </pre>
*
* Protobuf enum {@code ChatType}
*/
public enum ChatType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>ChatType_None = 0;</code>
*/
ChatType_None(0),
/**
* <pre>
* <20>Ϲ<EFBFBD>/<2F><><EFBFBD><EFBFBD>
* </pre>
*
* <code>ChatType_Normal = 1;</code>
*/
ChatType_Normal(1),
/**
* <pre>
* ä<><C3A4>/<2F><><EFBFBD><EFBFBD>
* </pre>
*
* <code>ChatType_Channel = 2;</code>
*/
ChatType_Channel(2),
/**
* <pre>
* <20>ӼӸ<D3BC>
* </pre>
*
* <code>ChatType_Whisper = 3;</code>
*/
ChatType_Whisper(3),
/**
* <pre>
* <20><>ü(Ȯ<><C8AE><EFBFBD><EFBFBD>)
* </pre>
*
* <code>ChatType_Total = 4;</code>
*/
ChatType_Total(4),
/**
* <pre>
* <20><>Ƽ
* </pre>
*
* <code>ChatType_Party = 5;</code>
*/
ChatType_Party(5),
/**
* <pre>
* <20>˸<EFBFBD>
* </pre>
*
* <code>ChatType_Notice = 10;</code>
*/
ChatType_Notice(10),
/**
* <pre>
* <20>˸<EFBFBD> + <20>佺Ʈ
* </pre>
*
* <code>ChatType_NoticeToast = 11;</code>
*/
ChatType_NoticeToast(11),
/**
* <pre>
* <20>ý<EFBFBD><C3BD><EFBFBD> <20>޽<EFBFBD><DEBD><EFBFBD> - Ŭ<>󿡼<EFBFBD><F3BFA1BC><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>ChatType_System = 12;</code>
*/
ChatType_System(12),
UNRECOGNIZED(-1),
;
/**
* <code>ChatType_None = 0;</code>
*/
public static final int ChatType_None_VALUE = 0;
/**
* <pre>
* <20>Ϲ<EFBFBD>/<2F><><EFBFBD><EFBFBD>
* </pre>
*
* <code>ChatType_Normal = 1;</code>
*/
public static final int ChatType_Normal_VALUE = 1;
/**
* <pre>
* ä<><C3A4>/<2F><><EFBFBD><EFBFBD>
* </pre>
*
* <code>ChatType_Channel = 2;</code>
*/
public static final int ChatType_Channel_VALUE = 2;
/**
* <pre>
* <20>ӼӸ<D3BC>
* </pre>
*
* <code>ChatType_Whisper = 3;</code>
*/
public static final int ChatType_Whisper_VALUE = 3;
/**
* <pre>
* <20><>ü(Ȯ<><C8AE><EFBFBD><EFBFBD>)
* </pre>
*
* <code>ChatType_Total = 4;</code>
*/
public static final int ChatType_Total_VALUE = 4;
/**
* <pre>
* <20><>Ƽ
* </pre>
*
* <code>ChatType_Party = 5;</code>
*/
public static final int ChatType_Party_VALUE = 5;
/**
* <pre>
* <20>˸<EFBFBD>
* </pre>
*
* <code>ChatType_Notice = 10;</code>
*/
public static final int ChatType_Notice_VALUE = 10;
/**
* <pre>
* <20>˸<EFBFBD> + <20>佺Ʈ
* </pre>
*
* <code>ChatType_NoticeToast = 11;</code>
*/
public static final int ChatType_NoticeToast_VALUE = 11;
/**
* <pre>
* <20>ý<EFBFBD><C3BD><EFBFBD> <20>޽<EFBFBD><DEBD><EFBFBD> - Ŭ<>󿡼<EFBFBD><F3BFA1BC><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>ChatType_System = 12;</code>
*/
public static final int ChatType_System_VALUE = 12;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ChatType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ChatType forNumber(int value) {
switch (value) {
case 0: return ChatType_None;
case 1: return ChatType_Normal;
case 2: return ChatType_Channel;
case 3: return ChatType_Whisper;
case 4: return ChatType_Total;
case 5: return ChatType_Party;
case 10: return ChatType_Notice;
case 11: return ChatType_NoticeToast;
case 12: return ChatType_System;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ChatType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ChatType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ChatType>() {
public ChatType findValueByNumber(int number) {
return ChatType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(7);
}
private static final ChatType[] VALUES = values();
public static ChatType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ChatType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:ChatType)
}

View File

@@ -0,0 +1,607 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* Protobuf type {@code ClaimEventActiveInfo}
*/
public final class ClaimEventActiveInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ClaimEventActiveInfo)
ClaimEventActiveInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use ClaimEventActiveInfo.newBuilder() to construct.
private ClaimEventActiveInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ClaimEventActiveInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ClaimEventActiveInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClaimEventActiveInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClaimEventActiveInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo.class, com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo.Builder.class);
}
public static final int ACTIVEREWARDIDX_FIELD_NUMBER = 1;
private int activeRewardIdx_ = 0;
/**
* <code>int32 activeRewardIdx = 1;</code>
* @return The activeRewardIdx.
*/
@java.lang.Override
public int getActiveRewardIdx() {
return activeRewardIdx_;
}
public static final int ISCOMPLETE_FIELD_NUMBER = 2;
private int isComplete_ = 0;
/**
* <code>int32 isComplete = 2;</code>
* @return The isComplete.
*/
@java.lang.Override
public int getIsComplete() {
return isComplete_;
}
public static final int REWARDREMAINSECOND_FIELD_NUMBER = 3;
private long rewardRemainSecond_ = 0L;
/**
* <code>int64 rewardRemainSecond = 3;</code>
* @return The rewardRemainSecond.
*/
@java.lang.Override
public long getRewardRemainSecond() {
return rewardRemainSecond_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (activeRewardIdx_ != 0) {
output.writeInt32(1, activeRewardIdx_);
}
if (isComplete_ != 0) {
output.writeInt32(2, isComplete_);
}
if (rewardRemainSecond_ != 0L) {
output.writeInt64(3, rewardRemainSecond_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (activeRewardIdx_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, activeRewardIdx_);
}
if (isComplete_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, isComplete_);
}
if (rewardRemainSecond_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, rewardRemainSecond_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo other = (com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo) obj;
if (getActiveRewardIdx()
!= other.getActiveRewardIdx()) return false;
if (getIsComplete()
!= other.getIsComplete()) return false;
if (getRewardRemainSecond()
!= other.getRewardRemainSecond()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ACTIVEREWARDIDX_FIELD_NUMBER;
hash = (53 * hash) + getActiveRewardIdx();
hash = (37 * hash) + ISCOMPLETE_FIELD_NUMBER;
hash = (53 * hash) + getIsComplete();
hash = (37 * hash) + REWARDREMAINSECOND_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRewardRemainSecond());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code ClaimEventActiveInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:ClaimEventActiveInfo)
com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClaimEventActiveInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClaimEventActiveInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo.class, com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
activeRewardIdx_ = 0;
isComplete_ = 0;
rewardRemainSecond_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ClaimEventActiveInfo_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo build() {
com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo result = new com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.activeRewardIdx_ = activeRewardIdx_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.isComplete_ = isComplete_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.rewardRemainSecond_ = rewardRemainSecond_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo.getDefaultInstance()) return this;
if (other.getActiveRewardIdx() != 0) {
setActiveRewardIdx(other.getActiveRewardIdx());
}
if (other.getIsComplete() != 0) {
setIsComplete(other.getIsComplete());
}
if (other.getRewardRemainSecond() != 0L) {
setRewardRemainSecond(other.getRewardRemainSecond());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
activeRewardIdx_ = input.readInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
isComplete_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
rewardRemainSecond_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int activeRewardIdx_ ;
/**
* <code>int32 activeRewardIdx = 1;</code>
* @return The activeRewardIdx.
*/
@java.lang.Override
public int getActiveRewardIdx() {
return activeRewardIdx_;
}
/**
* <code>int32 activeRewardIdx = 1;</code>
* @param value The activeRewardIdx to set.
* @return This builder for chaining.
*/
public Builder setActiveRewardIdx(int value) {
activeRewardIdx_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>int32 activeRewardIdx = 1;</code>
* @return This builder for chaining.
*/
public Builder clearActiveRewardIdx() {
bitField0_ = (bitField0_ & ~0x00000001);
activeRewardIdx_ = 0;
onChanged();
return this;
}
private int isComplete_ ;
/**
* <code>int32 isComplete = 2;</code>
* @return The isComplete.
*/
@java.lang.Override
public int getIsComplete() {
return isComplete_;
}
/**
* <code>int32 isComplete = 2;</code>
* @param value The isComplete to set.
* @return This builder for chaining.
*/
public Builder setIsComplete(int value) {
isComplete_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>int32 isComplete = 2;</code>
* @return This builder for chaining.
*/
public Builder clearIsComplete() {
bitField0_ = (bitField0_ & ~0x00000002);
isComplete_ = 0;
onChanged();
return this;
}
private long rewardRemainSecond_ ;
/**
* <code>int64 rewardRemainSecond = 3;</code>
* @return The rewardRemainSecond.
*/
@java.lang.Override
public long getRewardRemainSecond() {
return rewardRemainSecond_;
}
/**
* <code>int64 rewardRemainSecond = 3;</code>
* @param value The rewardRemainSecond to set.
* @return This builder for chaining.
*/
public Builder setRewardRemainSecond(long value) {
rewardRemainSecond_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>int64 rewardRemainSecond = 3;</code>
* @return This builder for chaining.
*/
public Builder clearRewardRemainSecond() {
bitField0_ = (bitField0_ & ~0x00000004);
rewardRemainSecond_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:ClaimEventActiveInfo)
}
// @@protoc_insertion_point(class_scope:ClaimEventActiveInfo)
private static final com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo();
}
public static com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ClaimEventActiveInfo>
PARSER = new com.google.protobuf.AbstractParser<ClaimEventActiveInfo>() {
@java.lang.Override
public ClaimEventActiveInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<ClaimEventActiveInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ClaimEventActiveInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.ClaimEventActiveInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,27 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface ClaimEventActiveInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:ClaimEventActiveInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 activeRewardIdx = 1;</code>
* @return The activeRewardIdx.
*/
int getActiveRewardIdx();
/**
* <code>int32 isComplete = 2;</code>
* @return The isComplete.
*/
int getIsComplete();
/**
* <code>int64 rewardRemainSecond = 3;</code>
* @return The rewardRemainSecond.
*/
long getRewardRemainSecond();
}

View File

@@ -0,0 +1,751 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_ProgramVersion.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* 클라이언트 프로그램 버전 정보
* </pre>
*
* Protobuf type {@code ClientProgramVersion}
*/
public final class ClientProgramVersion extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ClientProgramVersion)
ClientProgramVersionOrBuilder {
private static final long serialVersionUID = 0L;
// Use ClientProgramVersion.newBuilder() to construct.
private ClientProgramVersion(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ClientProgramVersion() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ClientProgramVersion();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_ClientProgramVersion_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_ClientProgramVersion_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion.class, com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion.Builder.class);
}
public static final int METASCHEMAVERSION_FIELD_NUMBER = 1;
private long metaSchemaVersion_ = 0L;
/**
* <code>uint64 metaSchemaVersion = 1;</code>
* @return The metaSchemaVersion.
*/
@java.lang.Override
public long getMetaSchemaVersion() {
return metaSchemaVersion_;
}
public static final int METADATAVERSION_FIELD_NUMBER = 2;
private long metaDataVersion_ = 0L;
/**
* <code>uint64 metaDataVersion = 2;</code>
* @return The metaDataVersion.
*/
@java.lang.Override
public long getMetaDataVersion() {
return metaDataVersion_;
}
public static final int PACKETVERSION_FIELD_NUMBER = 3;
private long packetVersion_ = 0L;
/**
* <code>uint64 packetVersion = 3;</code>
* @return The packetVersion.
*/
@java.lang.Override
public long getPacketVersion() {
return packetVersion_;
}
public static final int LOGICVERSION_FIELD_NUMBER = 4;
private long logicVersion_ = 0L;
/**
* <code>uint64 logicVersion = 4;</code>
* @return The logicVersion.
*/
@java.lang.Override
public long getLogicVersion() {
return logicVersion_;
}
public static final int RESOURCEVERSION_FIELD_NUMBER = 5;
private long resourceVersion_ = 0L;
/**
* <code>uint64 resourceVersion = 5;</code>
* @return The resourceVersion.
*/
@java.lang.Override
public long getResourceVersion() {
return resourceVersion_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (metaSchemaVersion_ != 0L) {
output.writeUInt64(1, metaSchemaVersion_);
}
if (metaDataVersion_ != 0L) {
output.writeUInt64(2, metaDataVersion_);
}
if (packetVersion_ != 0L) {
output.writeUInt64(3, packetVersion_);
}
if (logicVersion_ != 0L) {
output.writeUInt64(4, logicVersion_);
}
if (resourceVersion_ != 0L) {
output.writeUInt64(5, resourceVersion_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (metaSchemaVersion_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, metaSchemaVersion_);
}
if (metaDataVersion_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, metaDataVersion_);
}
if (packetVersion_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, packetVersion_);
}
if (logicVersion_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, logicVersion_);
}
if (resourceVersion_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, resourceVersion_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion other = (com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion) obj;
if (getMetaSchemaVersion()
!= other.getMetaSchemaVersion()) return false;
if (getMetaDataVersion()
!= other.getMetaDataVersion()) return false;
if (getPacketVersion()
!= other.getPacketVersion()) return false;
if (getLogicVersion()
!= other.getLogicVersion()) return false;
if (getResourceVersion()
!= other.getResourceVersion()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + METASCHEMAVERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMetaSchemaVersion());
hash = (37 * hash) + METADATAVERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMetaDataVersion());
hash = (37 * hash) + PACKETVERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPacketVersion());
hash = (37 * hash) + LOGICVERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLogicVersion());
hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getResourceVersion());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* 클라이언트 프로그램 버전 정보
* </pre>
*
* Protobuf type {@code ClientProgramVersion}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:ClientProgramVersion)
com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_ClientProgramVersion_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_ClientProgramVersion_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion.class, com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
metaSchemaVersion_ = 0L;
metaDataVersion_ = 0L;
packetVersion_ = 0L;
logicVersion_ = 0L;
resourceVersion_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.DefineProgramVersion.internal_static_ClientProgramVersion_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion build() {
com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion result = new com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.metaSchemaVersion_ = metaSchemaVersion_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.metaDataVersion_ = metaDataVersion_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.packetVersion_ = packetVersion_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.logicVersion_ = logicVersion_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.resourceVersion_ = resourceVersion_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion.getDefaultInstance()) return this;
if (other.getMetaSchemaVersion() != 0L) {
setMetaSchemaVersion(other.getMetaSchemaVersion());
}
if (other.getMetaDataVersion() != 0L) {
setMetaDataVersion(other.getMetaDataVersion());
}
if (other.getPacketVersion() != 0L) {
setPacketVersion(other.getPacketVersion());
}
if (other.getLogicVersion() != 0L) {
setLogicVersion(other.getLogicVersion());
}
if (other.getResourceVersion() != 0L) {
setResourceVersion(other.getResourceVersion());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
metaSchemaVersion_ = input.readUInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
metaDataVersion_ = input.readUInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
packetVersion_ = input.readUInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
logicVersion_ = input.readUInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
resourceVersion_ = input.readUInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long metaSchemaVersion_ ;
/**
* <code>uint64 metaSchemaVersion = 1;</code>
* @return The metaSchemaVersion.
*/
@java.lang.Override
public long getMetaSchemaVersion() {
return metaSchemaVersion_;
}
/**
* <code>uint64 metaSchemaVersion = 1;</code>
* @param value The metaSchemaVersion to set.
* @return This builder for chaining.
*/
public Builder setMetaSchemaVersion(long value) {
metaSchemaVersion_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>uint64 metaSchemaVersion = 1;</code>
* @return This builder for chaining.
*/
public Builder clearMetaSchemaVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
metaSchemaVersion_ = 0L;
onChanged();
return this;
}
private long metaDataVersion_ ;
/**
* <code>uint64 metaDataVersion = 2;</code>
* @return The metaDataVersion.
*/
@java.lang.Override
public long getMetaDataVersion() {
return metaDataVersion_;
}
/**
* <code>uint64 metaDataVersion = 2;</code>
* @param value The metaDataVersion to set.
* @return This builder for chaining.
*/
public Builder setMetaDataVersion(long value) {
metaDataVersion_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>uint64 metaDataVersion = 2;</code>
* @return This builder for chaining.
*/
public Builder clearMetaDataVersion() {
bitField0_ = (bitField0_ & ~0x00000002);
metaDataVersion_ = 0L;
onChanged();
return this;
}
private long packetVersion_ ;
/**
* <code>uint64 packetVersion = 3;</code>
* @return The packetVersion.
*/
@java.lang.Override
public long getPacketVersion() {
return packetVersion_;
}
/**
* <code>uint64 packetVersion = 3;</code>
* @param value The packetVersion to set.
* @return This builder for chaining.
*/
public Builder setPacketVersion(long value) {
packetVersion_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>uint64 packetVersion = 3;</code>
* @return This builder for chaining.
*/
public Builder clearPacketVersion() {
bitField0_ = (bitField0_ & ~0x00000004);
packetVersion_ = 0L;
onChanged();
return this;
}
private long logicVersion_ ;
/**
* <code>uint64 logicVersion = 4;</code>
* @return The logicVersion.
*/
@java.lang.Override
public long getLogicVersion() {
return logicVersion_;
}
/**
* <code>uint64 logicVersion = 4;</code>
* @param value The logicVersion to set.
* @return This builder for chaining.
*/
public Builder setLogicVersion(long value) {
logicVersion_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>uint64 logicVersion = 4;</code>
* @return This builder for chaining.
*/
public Builder clearLogicVersion() {
bitField0_ = (bitField0_ & ~0x00000008);
logicVersion_ = 0L;
onChanged();
return this;
}
private long resourceVersion_ ;
/**
* <code>uint64 resourceVersion = 5;</code>
* @return The resourceVersion.
*/
@java.lang.Override
public long getResourceVersion() {
return resourceVersion_;
}
/**
* <code>uint64 resourceVersion = 5;</code>
* @param value The resourceVersion to set.
* @return This builder for chaining.
*/
public Builder setResourceVersion(long value) {
resourceVersion_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>uint64 resourceVersion = 5;</code>
* @return This builder for chaining.
*/
public Builder clearResourceVersion() {
bitField0_ = (bitField0_ & ~0x00000010);
resourceVersion_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:ClientProgramVersion)
}
// @@protoc_insertion_point(class_scope:ClientProgramVersion)
private static final com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion();
}
public static com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ClientProgramVersion>
PARSER = new com.google.protobuf.AbstractParser<ClientProgramVersion>() {
@java.lang.Override
public ClientProgramVersion parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<ClientProgramVersion> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ClientProgramVersion> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.ClientProgramVersion getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,39 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_ProgramVersion.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface ClientProgramVersionOrBuilder extends
// @@protoc_insertion_point(interface_extends:ClientProgramVersion)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint64 metaSchemaVersion = 1;</code>
* @return The metaSchemaVersion.
*/
long getMetaSchemaVersion();
/**
* <code>uint64 metaDataVersion = 2;</code>
* @return The metaDataVersion.
*/
long getMetaDataVersion();
/**
* <code>uint64 packetVersion = 3;</code>
* @return The packetVersion.
*/
long getPacketVersion();
/**
* <code>uint64 logicVersion = 4;</code>
* @return The logicVersion.
*/
long getLogicVersion();
/**
* <code>uint64 resourceVersion = 5;</code>
* @return The resourceVersion.
*/
long getResourceVersion();
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,81 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface ClothInfoOfAnotherUserOrBuilder extends
// @@protoc_insertion_point(interface_extends:ClothInfoOfAnotherUser)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 cloth_avatar = 1;</code>
* @return The clothAvatar.
*/
int getClothAvatar();
/**
* <code>uint32 cloth_headwear = 2;</code>
* @return The clothHeadwear.
*/
int getClothHeadwear();
/**
* <code>uint32 cloth_mask = 3;</code>
* @return The clothMask.
*/
int getClothMask();
/**
* <code>uint32 cloth_bag = 4;</code>
* @return The clothBag.
*/
int getClothBag();
/**
* <code>uint32 cloth_shoes = 5;</code>
* @return The clothShoes.
*/
int getClothShoes();
/**
* <code>uint32 cloth_outer = 6;</code>
* @return The clothOuter.
*/
int getClothOuter();
/**
* <code>uint32 cloth_tops = 7;</code>
* @return The clothTops.
*/
int getClothTops();
/**
* <code>uint32 cloth_bottoms = 8;</code>
* @return The clothBottoms.
*/
int getClothBottoms();
/**
* <code>uint32 cloth_gloves = 9;</code>
* @return The clothGloves.
*/
int getClothGloves();
/**
* <code>uint32 cloth_earrings = 10;</code>
* @return The clothEarrings.
*/
int getClothEarrings();
/**
* <code>uint32 cloth_neckless = 11;</code>
* @return The clothNeckless.
*/
int getClothNeckless();
/**
* <code>uint32 cloth_socks = 12;</code>
* @return The clothSocks.
*/
int getClothSocks();
}

View File

@@ -0,0 +1,225 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface ClothInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:ClothInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>string cloth_avatar_itemGuid = 1;</code>
* @return The clothAvatarItemGuid.
*/
java.lang.String getClothAvatarItemGuid();
/**
* <code>string cloth_avatar_itemGuid = 1;</code>
* @return The bytes for clothAvatarItemGuid.
*/
com.google.protobuf.ByteString
getClothAvatarItemGuidBytes();
/**
* <code>string cloth_headwear_itemGuid = 2;</code>
* @return The clothHeadwearItemGuid.
*/
java.lang.String getClothHeadwearItemGuid();
/**
* <code>string cloth_headwear_itemGuid = 2;</code>
* @return The bytes for clothHeadwearItemGuid.
*/
com.google.protobuf.ByteString
getClothHeadwearItemGuidBytes();
/**
* <code>string cloth_mask_itemGuid = 3;</code>
* @return The clothMaskItemGuid.
*/
java.lang.String getClothMaskItemGuid();
/**
* <code>string cloth_mask_itemGuid = 3;</code>
* @return The bytes for clothMaskItemGuid.
*/
com.google.protobuf.ByteString
getClothMaskItemGuidBytes();
/**
* <code>string cloth_bag_itemGuid = 4;</code>
* @return The clothBagItemGuid.
*/
java.lang.String getClothBagItemGuid();
/**
* <code>string cloth_bag_itemGuid = 4;</code>
* @return The bytes for clothBagItemGuid.
*/
com.google.protobuf.ByteString
getClothBagItemGuidBytes();
/**
* <code>string cloth_shoes_itemGuid = 5;</code>
* @return The clothShoesItemGuid.
*/
java.lang.String getClothShoesItemGuid();
/**
* <code>string cloth_shoes_itemGuid = 5;</code>
* @return The bytes for clothShoesItemGuid.
*/
com.google.protobuf.ByteString
getClothShoesItemGuidBytes();
/**
* <code>string cloth_outer_itemGuid = 6;</code>
* @return The clothOuterItemGuid.
*/
java.lang.String getClothOuterItemGuid();
/**
* <code>string cloth_outer_itemGuid = 6;</code>
* @return The bytes for clothOuterItemGuid.
*/
com.google.protobuf.ByteString
getClothOuterItemGuidBytes();
/**
* <code>string cloth_tops_itemGuid = 7;</code>
* @return The clothTopsItemGuid.
*/
java.lang.String getClothTopsItemGuid();
/**
* <code>string cloth_tops_itemGuid = 7;</code>
* @return The bytes for clothTopsItemGuid.
*/
com.google.protobuf.ByteString
getClothTopsItemGuidBytes();
/**
* <code>string cloth_bottoms_itemGuid = 8;</code>
* @return The clothBottomsItemGuid.
*/
java.lang.String getClothBottomsItemGuid();
/**
* <code>string cloth_bottoms_itemGuid = 8;</code>
* @return The bytes for clothBottomsItemGuid.
*/
com.google.protobuf.ByteString
getClothBottomsItemGuidBytes();
/**
* <code>string cloth_gloves_itemGuid = 9;</code>
* @return The clothGlovesItemGuid.
*/
java.lang.String getClothGlovesItemGuid();
/**
* <code>string cloth_gloves_itemGuid = 9;</code>
* @return The bytes for clothGlovesItemGuid.
*/
com.google.protobuf.ByteString
getClothGlovesItemGuidBytes();
/**
* <code>string cloth_earrings_itemGuid = 10;</code>
* @return The clothEarringsItemGuid.
*/
java.lang.String getClothEarringsItemGuid();
/**
* <code>string cloth_earrings_itemGuid = 10;</code>
* @return The bytes for clothEarringsItemGuid.
*/
com.google.protobuf.ByteString
getClothEarringsItemGuidBytes();
/**
* <code>string cloth_neckless_itemGuid = 11;</code>
* @return The clothNecklessItemGuid.
*/
java.lang.String getClothNecklessItemGuid();
/**
* <code>string cloth_neckless_itemGuid = 11;</code>
* @return The bytes for clothNecklessItemGuid.
*/
com.google.protobuf.ByteString
getClothNecklessItemGuidBytes();
/**
* <code>string cloth_socks_itemGuid = 12;</code>
* @return The clothSocksItemGuid.
*/
java.lang.String getClothSocksItemGuid();
/**
* <code>string cloth_socks_itemGuid = 12;</code>
* @return The bytes for clothSocksItemGuid.
*/
com.google.protobuf.ByteString
getClothSocksItemGuidBytes();
/**
* <code>uint32 cloth_avatar = 13;</code>
* @return The clothAvatar.
*/
int getClothAvatar();
/**
* <code>uint32 cloth_headwear = 14;</code>
* @return The clothHeadwear.
*/
int getClothHeadwear();
/**
* <code>uint32 cloth_mask = 15;</code>
* @return The clothMask.
*/
int getClothMask();
/**
* <code>uint32 cloth_bag = 16;</code>
* @return The clothBag.
*/
int getClothBag();
/**
* <code>uint32 cloth_shoes = 17;</code>
* @return The clothShoes.
*/
int getClothShoes();
/**
* <code>uint32 cloth_outer = 18;</code>
* @return The clothOuter.
*/
int getClothOuter();
/**
* <code>uint32 cloth_tops = 19;</code>
* @return The clothTops.
*/
int getClothTops();
/**
* <code>uint32 cloth_bottoms = 20;</code>
* @return The clothBottoms.
*/
int getClothBottoms();
/**
* <code>uint32 cloth_gloves = 21;</code>
* @return The clothGloves.
*/
int getClothGloves();
/**
* <code>uint32 cloth_earrings = 22;</code>
* @return The clothEarrings.
*/
int getClothEarrings();
/**
* <code>uint32 cloth_neckless = 23;</code>
* @return The clothNeckless.
*/
int getClothNeckless();
/**
* <code>uint32 cloth_socks = 24;</code>
* @return The clothSocks.
*/
int getClothSocks();
}

View File

@@ -0,0 +1,680 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* Protobuf type {@code Color}
*/
public final class Color extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Color)
ColorOrBuilder {
private static final long serialVersionUID = 0L;
// Use Color.newBuilder() to construct.
private Color(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Color() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Color();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Color_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Color_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.Color.class, com.caliverse.admin.domain.RabbitMq.message.Color.Builder.class);
}
public static final int R_FIELD_NUMBER = 1;
private float r_ = 0F;
/**
* <code>float r = 1;</code>
* @return The r.
*/
@java.lang.Override
public float getR() {
return r_;
}
public static final int G_FIELD_NUMBER = 2;
private float g_ = 0F;
/**
* <code>float g = 2;</code>
* @return The g.
*/
@java.lang.Override
public float getG() {
return g_;
}
public static final int B_FIELD_NUMBER = 3;
private float b_ = 0F;
/**
* <code>float b = 3;</code>
* @return The b.
*/
@java.lang.Override
public float getB() {
return b_;
}
public static final int A_FIELD_NUMBER = 4;
private float a_ = 0F;
/**
* <code>float a = 4;</code>
* @return The a.
*/
@java.lang.Override
public float getA() {
return a_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (java.lang.Float.floatToRawIntBits(r_) != 0) {
output.writeFloat(1, r_);
}
if (java.lang.Float.floatToRawIntBits(g_) != 0) {
output.writeFloat(2, g_);
}
if (java.lang.Float.floatToRawIntBits(b_) != 0) {
output.writeFloat(3, b_);
}
if (java.lang.Float.floatToRawIntBits(a_) != 0) {
output.writeFloat(4, a_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (java.lang.Float.floatToRawIntBits(r_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(1, r_);
}
if (java.lang.Float.floatToRawIntBits(g_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, g_);
}
if (java.lang.Float.floatToRawIntBits(b_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, b_);
}
if (java.lang.Float.floatToRawIntBits(a_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(4, a_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.Color)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.Color other = (com.caliverse.admin.domain.RabbitMq.message.Color) obj;
if (java.lang.Float.floatToIntBits(getR())
!= java.lang.Float.floatToIntBits(
other.getR())) return false;
if (java.lang.Float.floatToIntBits(getG())
!= java.lang.Float.floatToIntBits(
other.getG())) return false;
if (java.lang.Float.floatToIntBits(getB())
!= java.lang.Float.floatToIntBits(
other.getB())) return false;
if (java.lang.Float.floatToIntBits(getA())
!= java.lang.Float.floatToIntBits(
other.getA())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + R_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getR());
hash = (37 * hash) + G_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getG());
hash = (37 * hash) + B_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getB());
hash = (37 * hash) + A_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getA());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.Color parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.Color parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.Color parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.Color prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Color}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:Color)
com.caliverse.admin.domain.RabbitMq.message.ColorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Color_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Color_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.Color.class, com.caliverse.admin.domain.RabbitMq.message.Color.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.Color.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
r_ = 0F;
g_ = 0F;
b_ = 0F;
a_ = 0F;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Color_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.Color getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.Color build() {
com.caliverse.admin.domain.RabbitMq.message.Color result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.Color buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.Color result = new com.caliverse.admin.domain.RabbitMq.message.Color(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.Color result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.r_ = r_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.g_ = g_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.b_ = b_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.a_ = a_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.Color) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.Color)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.Color other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.Color.getDefaultInstance()) return this;
if (other.getR() != 0F) {
setR(other.getR());
}
if (other.getG() != 0F) {
setG(other.getG());
}
if (other.getB() != 0F) {
setB(other.getB());
}
if (other.getA() != 0F) {
setA(other.getA());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 13: {
r_ = input.readFloat();
bitField0_ |= 0x00000001;
break;
} // case 13
case 21: {
g_ = input.readFloat();
bitField0_ |= 0x00000002;
break;
} // case 21
case 29: {
b_ = input.readFloat();
bitField0_ |= 0x00000004;
break;
} // case 29
case 37: {
a_ = input.readFloat();
bitField0_ |= 0x00000008;
break;
} // case 37
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private float r_ ;
/**
* <code>float r = 1;</code>
* @return The r.
*/
@java.lang.Override
public float getR() {
return r_;
}
/**
* <code>float r = 1;</code>
* @param value The r to set.
* @return This builder for chaining.
*/
public Builder setR(float value) {
r_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>float r = 1;</code>
* @return This builder for chaining.
*/
public Builder clearR() {
bitField0_ = (bitField0_ & ~0x00000001);
r_ = 0F;
onChanged();
return this;
}
private float g_ ;
/**
* <code>float g = 2;</code>
* @return The g.
*/
@java.lang.Override
public float getG() {
return g_;
}
/**
* <code>float g = 2;</code>
* @param value The g to set.
* @return This builder for chaining.
*/
public Builder setG(float value) {
g_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>float g = 2;</code>
* @return This builder for chaining.
*/
public Builder clearG() {
bitField0_ = (bitField0_ & ~0x00000002);
g_ = 0F;
onChanged();
return this;
}
private float b_ ;
/**
* <code>float b = 3;</code>
* @return The b.
*/
@java.lang.Override
public float getB() {
return b_;
}
/**
* <code>float b = 3;</code>
* @param value The b to set.
* @return This builder for chaining.
*/
public Builder setB(float value) {
b_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>float b = 3;</code>
* @return This builder for chaining.
*/
public Builder clearB() {
bitField0_ = (bitField0_ & ~0x00000004);
b_ = 0F;
onChanged();
return this;
}
private float a_ ;
/**
* <code>float a = 4;</code>
* @return The a.
*/
@java.lang.Override
public float getA() {
return a_;
}
/**
* <code>float a = 4;</code>
* @param value The a to set.
* @return This builder for chaining.
*/
public Builder setA(float value) {
a_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>float a = 4;</code>
* @return This builder for chaining.
*/
public Builder clearA() {
bitField0_ = (bitField0_ & ~0x00000008);
a_ = 0F;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Color)
}
// @@protoc_insertion_point(class_scope:Color)
private static final com.caliverse.admin.domain.RabbitMq.message.Color DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.Color();
}
public static com.caliverse.admin.domain.RabbitMq.message.Color getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Color>
PARSER = new com.google.protobuf.AbstractParser<Color>() {
@java.lang.Override
public Color parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<Color> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Color> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.Color getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,33 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface ColorOrBuilder extends
// @@protoc_insertion_point(interface_extends:Color)
com.google.protobuf.MessageOrBuilder {
/**
* <code>float r = 1;</code>
* @return The r.
*/
float getR();
/**
* <code>float g = 2;</code>
* @return The g.
*/
float getG();
/**
* <code>float b = 3;</code>
* @return The b.
*/
float getB();
/**
* <code>float a = 4;</code>
* @return The a.
*/
float getA();
}

View File

@@ -0,0 +1,862 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* <20>ֿ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> : <20><>Ŷ<EFBFBD><C5B6>
* </pre>
*
* Protobuf type {@code CommonResult}
*/
public final class CommonResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:CommonResult)
CommonResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use CommonResult.newBuilder() to construct.
private CommonResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CommonResult() {
entityCommonResults_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CommonResult();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CommonResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CommonResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.CommonResult.class, com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder.class);
}
public static final int ENTITYCOMMONRESULTS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List<com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult> entityCommonResults_;
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
@java.lang.Override
public java.util.List<com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult> getEntityCommonResultsList() {
return entityCommonResults_;
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder>
getEntityCommonResultsOrBuilderList() {
return entityCommonResults_;
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
@java.lang.Override
public int getEntityCommonResultsCount() {
return entityCommonResults_.size();
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult getEntityCommonResults(int index) {
return entityCommonResults_.get(index);
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder getEntityCommonResultsOrBuilder(
int index) {
return entityCommonResults_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < entityCommonResults_.size(); i++) {
output.writeMessage(1, entityCommonResults_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < entityCommonResults_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, entityCommonResults_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.CommonResult)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.CommonResult other = (com.caliverse.admin.domain.RabbitMq.message.CommonResult) obj;
if (!getEntityCommonResultsList()
.equals(other.getEntityCommonResultsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getEntityCommonResultsCount() > 0) {
hash = (37 * hash) + ENTITYCOMMONRESULTS_FIELD_NUMBER;
hash = (53 * hash) + getEntityCommonResultsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.CommonResult parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.CommonResult prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* <20>ֿ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> : <20><>Ŷ<EFBFBD><C5B6>
* </pre>
*
* Protobuf type {@code CommonResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:CommonResult)
com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CommonResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CommonResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.CommonResult.class, com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.CommonResult.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (entityCommonResultsBuilder_ == null) {
entityCommonResults_ = java.util.Collections.emptyList();
} else {
entityCommonResults_ = null;
entityCommonResultsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CommonResult_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.CommonResult getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.CommonResult build() {
com.caliverse.admin.domain.RabbitMq.message.CommonResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.CommonResult buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.CommonResult result = new com.caliverse.admin.domain.RabbitMq.message.CommonResult(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.CommonResult result) {
if (entityCommonResultsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
entityCommonResults_ = java.util.Collections.unmodifiableList(entityCommonResults_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.entityCommonResults_ = entityCommonResults_;
} else {
result.entityCommonResults_ = entityCommonResultsBuilder_.build();
}
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.CommonResult result) {
int from_bitField0_ = bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.CommonResult) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.CommonResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.CommonResult other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance()) return this;
if (entityCommonResultsBuilder_ == null) {
if (!other.entityCommonResults_.isEmpty()) {
if (entityCommonResults_.isEmpty()) {
entityCommonResults_ = other.entityCommonResults_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureEntityCommonResultsIsMutable();
entityCommonResults_.addAll(other.entityCommonResults_);
}
onChanged();
}
} else {
if (!other.entityCommonResults_.isEmpty()) {
if (entityCommonResultsBuilder_.isEmpty()) {
entityCommonResultsBuilder_.dispose();
entityCommonResultsBuilder_ = null;
entityCommonResults_ = other.entityCommonResults_;
bitField0_ = (bitField0_ & ~0x00000001);
entityCommonResultsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getEntityCommonResultsFieldBuilder() : null;
} else {
entityCommonResultsBuilder_.addAllMessages(other.entityCommonResults_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult m =
input.readMessage(
com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.parser(),
extensionRegistry);
if (entityCommonResultsBuilder_ == null) {
ensureEntityCommonResultsIsMutable();
entityCommonResults_.add(m);
} else {
entityCommonResultsBuilder_.addMessage(m);
}
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List<com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult> entityCommonResults_ =
java.util.Collections.emptyList();
private void ensureEntityCommonResultsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
entityCommonResults_ = new java.util.ArrayList<com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult>(entityCommonResults_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder> entityCommonResultsBuilder_;
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public java.util.List<com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult> getEntityCommonResultsList() {
if (entityCommonResultsBuilder_ == null) {
return java.util.Collections.unmodifiableList(entityCommonResults_);
} else {
return entityCommonResultsBuilder_.getMessageList();
}
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public int getEntityCommonResultsCount() {
if (entityCommonResultsBuilder_ == null) {
return entityCommonResults_.size();
} else {
return entityCommonResultsBuilder_.getCount();
}
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult getEntityCommonResults(int index) {
if (entityCommonResultsBuilder_ == null) {
return entityCommonResults_.get(index);
} else {
return entityCommonResultsBuilder_.getMessage(index);
}
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public Builder setEntityCommonResults(
int index, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult value) {
if (entityCommonResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntityCommonResultsIsMutable();
entityCommonResults_.set(index, value);
onChanged();
} else {
entityCommonResultsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public Builder setEntityCommonResults(
int index, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder builderForValue) {
if (entityCommonResultsBuilder_ == null) {
ensureEntityCommonResultsIsMutable();
entityCommonResults_.set(index, builderForValue.build());
onChanged();
} else {
entityCommonResultsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public Builder addEntityCommonResults(com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult value) {
if (entityCommonResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntityCommonResultsIsMutable();
entityCommonResults_.add(value);
onChanged();
} else {
entityCommonResultsBuilder_.addMessage(value);
}
return this;
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public Builder addEntityCommonResults(
int index, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult value) {
if (entityCommonResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntityCommonResultsIsMutable();
entityCommonResults_.add(index, value);
onChanged();
} else {
entityCommonResultsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public Builder addEntityCommonResults(
com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder builderForValue) {
if (entityCommonResultsBuilder_ == null) {
ensureEntityCommonResultsIsMutable();
entityCommonResults_.add(builderForValue.build());
onChanged();
} else {
entityCommonResultsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public Builder addEntityCommonResults(
int index, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder builderForValue) {
if (entityCommonResultsBuilder_ == null) {
ensureEntityCommonResultsIsMutable();
entityCommonResults_.add(index, builderForValue.build());
onChanged();
} else {
entityCommonResultsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public Builder addAllEntityCommonResults(
java.lang.Iterable<? extends com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult> values) {
if (entityCommonResultsBuilder_ == null) {
ensureEntityCommonResultsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, entityCommonResults_);
onChanged();
} else {
entityCommonResultsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public Builder clearEntityCommonResults() {
if (entityCommonResultsBuilder_ == null) {
entityCommonResults_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
entityCommonResultsBuilder_.clear();
}
return this;
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public Builder removeEntityCommonResults(int index) {
if (entityCommonResultsBuilder_ == null) {
ensureEntityCommonResultsIsMutable();
entityCommonResults_.remove(index);
onChanged();
} else {
entityCommonResultsBuilder_.remove(index);
}
return this;
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder getEntityCommonResultsBuilder(
int index) {
return getEntityCommonResultsFieldBuilder().getBuilder(index);
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder getEntityCommonResultsOrBuilder(
int index) {
if (entityCommonResultsBuilder_ == null) {
return entityCommonResults_.get(index); } else {
return entityCommonResultsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder>
getEntityCommonResultsOrBuilderList() {
if (entityCommonResultsBuilder_ != null) {
return entityCommonResultsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(entityCommonResults_);
}
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder addEntityCommonResultsBuilder() {
return getEntityCommonResultsFieldBuilder().addBuilder(
com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.getDefaultInstance());
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder addEntityCommonResultsBuilder(
int index) {
return getEntityCommonResultsFieldBuilder().addBuilder(
index, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.getDefaultInstance());
}
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
public java.util.List<com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder>
getEntityCommonResultsBuilderList() {
return getEntityCommonResultsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder>
getEntityCommonResultsFieldBuilder() {
if (entityCommonResultsBuilder_ == null) {
entityCommonResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.Builder, com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder>(
entityCommonResults_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
entityCommonResults_ = null;
}
return entityCommonResultsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:CommonResult)
}
// @@protoc_insertion_point(class_scope:CommonResult)
private static final com.caliverse.admin.domain.RabbitMq.message.CommonResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.CommonResult();
}
public static com.caliverse.admin.domain.RabbitMq.message.CommonResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<CommonResult>
PARSER = new com.google.protobuf.AbstractParser<CommonResult>() {
@java.lang.Override
public CommonResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CommonResult> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CommonResult> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.CommonResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,53 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Game_Define.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface CommonResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:CommonResult)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
java.util.List<com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult>
getEntityCommonResultsList();
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult getEntityCommonResults(int index);
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
int getEntityCommonResultsCount();
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder>
getEntityCommonResultsOrBuilderList();
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> EntityCommonResult <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>repeated .EntityCommonResult entityCommonResults = 1;</code>
*/
com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder getEntityCommonResultsOrBuilder(
int index);
}

View File

@@ -0,0 +1,224 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
* </pre>
*
* Protobuf enum {@code ContentsType}
*/
public enum ContentsType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>ContentsType_None = 0;</code>
*/
ContentsType_None(0),
/**
* <code>ContentsType_MyHome = 1;</code>
*/
ContentsType_MyHome(1),
/**
* <code>ContentsType_DressRoom = 2;</code>
*/
ContentsType_DressRoom(2),
/**
* <code>ContentsType_Concert = 3;</code>
*/
ContentsType_Concert(3),
/**
* <code>ContentsType_Movie = 4;</code>
*/
ContentsType_Movie(4),
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>³<EFBFBD>??
* </pre>
*
* <code>ContentsType_Instance = 5;</code>
*/
ContentsType_Instance(5),
/**
* <code>ContentsType_Meeting = 6;</code>
*/
ContentsType_Meeting(6),
/**
* <code>ContentsType_BeaconCreateRoom = 7;</code>
*/
ContentsType_BeaconCreateRoom(7),
/**
* <code>ContentsType_BeaconEditRoom = 8;</code>
*/
ContentsType_BeaconEditRoom(8),
/**
* <code>ContentsType_BeaconDraftRoom = 9;</code>
*/
ContentsType_BeaconDraftRoom(9),
/**
* <code>ContentsType_EditRoom = 10;</code>
*/
ContentsType_EditRoom(10),
/**
* <code>ContentsType_BeaconCustomizeRoom = 11;</code>
*/
ContentsType_BeaconCustomizeRoom(11),
/**
* <code>ContentsType_BattleRoom = 12;</code>
*/
ContentsType_BattleRoom(12),
UNRECOGNIZED(-1),
;
/**
* <code>ContentsType_None = 0;</code>
*/
public static final int ContentsType_None_VALUE = 0;
/**
* <code>ContentsType_MyHome = 1;</code>
*/
public static final int ContentsType_MyHome_VALUE = 1;
/**
* <code>ContentsType_DressRoom = 2;</code>
*/
public static final int ContentsType_DressRoom_VALUE = 2;
/**
* <code>ContentsType_Concert = 3;</code>
*/
public static final int ContentsType_Concert_VALUE = 3;
/**
* <code>ContentsType_Movie = 4;</code>
*/
public static final int ContentsType_Movie_VALUE = 4;
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>³<EFBFBD>??
* </pre>
*
* <code>ContentsType_Instance = 5;</code>
*/
public static final int ContentsType_Instance_VALUE = 5;
/**
* <code>ContentsType_Meeting = 6;</code>
*/
public static final int ContentsType_Meeting_VALUE = 6;
/**
* <code>ContentsType_BeaconCreateRoom = 7;</code>
*/
public static final int ContentsType_BeaconCreateRoom_VALUE = 7;
/**
* <code>ContentsType_BeaconEditRoom = 8;</code>
*/
public static final int ContentsType_BeaconEditRoom_VALUE = 8;
/**
* <code>ContentsType_BeaconDraftRoom = 9;</code>
*/
public static final int ContentsType_BeaconDraftRoom_VALUE = 9;
/**
* <code>ContentsType_EditRoom = 10;</code>
*/
public static final int ContentsType_EditRoom_VALUE = 10;
/**
* <code>ContentsType_BeaconCustomizeRoom = 11;</code>
*/
public static final int ContentsType_BeaconCustomizeRoom_VALUE = 11;
/**
* <code>ContentsType_BattleRoom = 12;</code>
*/
public static final int ContentsType_BattleRoom_VALUE = 12;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ContentsType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ContentsType forNumber(int value) {
switch (value) {
case 0: return ContentsType_None;
case 1: return ContentsType_MyHome;
case 2: return ContentsType_DressRoom;
case 3: return ContentsType_Concert;
case 4: return ContentsType_Movie;
case 5: return ContentsType_Instance;
case 6: return ContentsType_Meeting;
case 7: return ContentsType_BeaconCreateRoom;
case 8: return ContentsType_BeaconEditRoom;
case 9: return ContentsType_BeaconDraftRoom;
case 10: return ContentsType_EditRoom;
case 11: return ContentsType_BeaconCustomizeRoom;
case 12: return ContentsType_BattleRoom;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ContentsType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ContentsType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ContentsType>() {
public ContentsType findValueByNumber(int number) {
return ContentsType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(11);
}
private static final ContentsType[] VALUES = values();
public static ContentsType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ContentsType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:ContentsType)
}

View File

@@ -0,0 +1,612 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* Protobuf type {@code Coordinate}
*/
public final class Coordinate extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Coordinate)
CoordinateOrBuilder {
private static final long serialVersionUID = 0L;
// Use Coordinate.newBuilder() to construct.
private Coordinate(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Coordinate() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Coordinate();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Coordinate_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Coordinate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.Coordinate.class, com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder.class);
}
public static final int X_FIELD_NUMBER = 1;
private float x_ = 0F;
/**
* <code>float x = 1;</code>
* @return The x.
*/
@java.lang.Override
public float getX() {
return x_;
}
public static final int Y_FIELD_NUMBER = 2;
private float y_ = 0F;
/**
* <code>float y = 2;</code>
* @return The y.
*/
@java.lang.Override
public float getY() {
return y_;
}
public static final int Z_FIELD_NUMBER = 3;
private float z_ = 0F;
/**
* <code>float z = 3;</code>
* @return The z.
*/
@java.lang.Override
public float getZ() {
return z_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (java.lang.Float.floatToRawIntBits(x_) != 0) {
output.writeFloat(1, x_);
}
if (java.lang.Float.floatToRawIntBits(y_) != 0) {
output.writeFloat(2, y_);
}
if (java.lang.Float.floatToRawIntBits(z_) != 0) {
output.writeFloat(3, z_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (java.lang.Float.floatToRawIntBits(x_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(1, x_);
}
if (java.lang.Float.floatToRawIntBits(y_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, y_);
}
if (java.lang.Float.floatToRawIntBits(z_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, z_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.Coordinate)) {
return super.equals(obj);
}
com.caliverse.admin.domain.RabbitMq.message.Coordinate other = (com.caliverse.admin.domain.RabbitMq.message.Coordinate) obj;
if (java.lang.Float.floatToIntBits(getX())
!= java.lang.Float.floatToIntBits(
other.getX())) return false;
if (java.lang.Float.floatToIntBits(getY())
!= java.lang.Float.floatToIntBits(
other.getY())) return false;
if (java.lang.Float.floatToIntBits(getZ())
!= java.lang.Float.floatToIntBits(
other.getZ())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + X_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getX());
hash = (37 * hash) + Y_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getY());
hash = (37 * hash) + Z_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getZ());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.caliverse.admin.domain.RabbitMq.message.Coordinate parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.Coordinate prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Coordinate}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:Coordinate)
com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Coordinate_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Coordinate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.caliverse.admin.domain.RabbitMq.message.Coordinate.class, com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder.class);
}
// Construct using com.caliverse.admin.domain.RabbitMq.message.Coordinate.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
x_ = 0F;
y_ = 0F;
z_ = 0F;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_Coordinate_descriptor;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.Coordinate getDefaultInstanceForType() {
return com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance();
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.Coordinate build() {
com.caliverse.admin.domain.RabbitMq.message.Coordinate result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.Coordinate buildPartial() {
com.caliverse.admin.domain.RabbitMq.message.Coordinate result = new com.caliverse.admin.domain.RabbitMq.message.Coordinate(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.Coordinate result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.x_ = x_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.y_ = y_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.z_ = z_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.caliverse.admin.domain.RabbitMq.message.Coordinate) {
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.Coordinate)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.Coordinate other) {
if (other == com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance()) return this;
if (other.getX() != 0F) {
setX(other.getX());
}
if (other.getY() != 0F) {
setY(other.getY());
}
if (other.getZ() != 0F) {
setZ(other.getZ());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 13: {
x_ = input.readFloat();
bitField0_ |= 0x00000001;
break;
} // case 13
case 21: {
y_ = input.readFloat();
bitField0_ |= 0x00000002;
break;
} // case 21
case 29: {
z_ = input.readFloat();
bitField0_ |= 0x00000004;
break;
} // case 29
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private float x_ ;
/**
* <code>float x = 1;</code>
* @return The x.
*/
@java.lang.Override
public float getX() {
return x_;
}
/**
* <code>float x = 1;</code>
* @param value The x to set.
* @return This builder for chaining.
*/
public Builder setX(float value) {
x_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>float x = 1;</code>
* @return This builder for chaining.
*/
public Builder clearX() {
bitField0_ = (bitField0_ & ~0x00000001);
x_ = 0F;
onChanged();
return this;
}
private float y_ ;
/**
* <code>float y = 2;</code>
* @return The y.
*/
@java.lang.Override
public float getY() {
return y_;
}
/**
* <code>float y = 2;</code>
* @param value The y to set.
* @return This builder for chaining.
*/
public Builder setY(float value) {
y_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>float y = 2;</code>
* @return This builder for chaining.
*/
public Builder clearY() {
bitField0_ = (bitField0_ & ~0x00000002);
y_ = 0F;
onChanged();
return this;
}
private float z_ ;
/**
* <code>float z = 3;</code>
* @return The z.
*/
@java.lang.Override
public float getZ() {
return z_;
}
/**
* <code>float z = 3;</code>
* @param value The z to set.
* @return This builder for chaining.
*/
public Builder setZ(float value) {
z_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>float z = 3;</code>
* @return This builder for chaining.
*/
public Builder clearZ() {
bitField0_ = (bitField0_ & ~0x00000004);
z_ = 0F;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Coordinate)
}
// @@protoc_insertion_point(class_scope:Coordinate)
private static final com.caliverse.admin.domain.RabbitMq.message.Coordinate DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.Coordinate();
}
public static com.caliverse.admin.domain.RabbitMq.message.Coordinate getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Coordinate>
PARSER = new com.google.protobuf.AbstractParser<Coordinate>() {
@java.lang.Override
public Coordinate parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<Coordinate> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Coordinate> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.caliverse.admin.domain.RabbitMq.message.Coordinate getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}

View File

@@ -0,0 +1,27 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
public interface CoordinateOrBuilder extends
// @@protoc_insertion_point(interface_extends:Coordinate)
com.google.protobuf.MessageOrBuilder {
/**
* <code>float x = 1;</code>
* @return The x.
*/
float getX();
/**
* <code>float y = 2;</code>
* @return The y.
*/
float getY();
/**
* <code>float z = 3;</code>
* @return The z.
*/
float getZ();
}

View File

@@ -0,0 +1,193 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Define_Common.proto
package com.caliverse.admin.domain.RabbitMq.message;
/**
* <pre>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ȭ <20><><EFBFBD><EFBFBD> : <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ȭ
* </pre>
*
* Protobuf enum {@code CountDeltaType}
*/
public enum CountDeltaType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>CountDeltaType_None = 0;</code>
*/
CountDeltaType_None(0),
/**
* <pre>
* <20>ű<EFBFBD>
* </pre>
*
* <code>CountDeltaType_New = 1;</code>
*/
CountDeltaType_New(1),
/**
* <pre>
* <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>CountDeltaType_Update = 2;</code>
*/
CountDeltaType_Update(2),
/**
* <pre>
* <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>CountDeltaType_Acquire = 3;</code>
*/
CountDeltaType_Acquire(3),
/**
* <pre>
* <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>CountDeltaType_Consume = 4;</code>
*/
CountDeltaType_Consume(4),
/**
* <pre>
* <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>CountDeltaType_Delete = 5;</code>
*/
CountDeltaType_Delete(5),
UNRECOGNIZED(-1),
;
/**
* <code>CountDeltaType_None = 0;</code>
*/
public static final int CountDeltaType_None_VALUE = 0;
/**
* <pre>
* <20>ű<EFBFBD>
* </pre>
*
* <code>CountDeltaType_New = 1;</code>
*/
public static final int CountDeltaType_New_VALUE = 1;
/**
* <pre>
* <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>CountDeltaType_Update = 2;</code>
*/
public static final int CountDeltaType_Update_VALUE = 2;
/**
* <pre>
* <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>CountDeltaType_Acquire = 3;</code>
*/
public static final int CountDeltaType_Acquire_VALUE = 3;
/**
* <pre>
* <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>CountDeltaType_Consume = 4;</code>
*/
public static final int CountDeltaType_Consume_VALUE = 4;
/**
* <pre>
* <20><><EFBFBD><EFBFBD>
* </pre>
*
* <code>CountDeltaType_Delete = 5;</code>
*/
public static final int CountDeltaType_Delete_VALUE = 5;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static CountDeltaType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static CountDeltaType forNumber(int value) {
switch (value) {
case 0: return CountDeltaType_None;
case 1: return CountDeltaType_New;
case 2: return CountDeltaType_Update;
case 3: return CountDeltaType_Acquire;
case 4: return CountDeltaType_Consume;
case 5: return CountDeltaType_Delete;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<CountDeltaType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CountDeltaType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<CountDeltaType>() {
public CountDeltaType findValueByNumber(int number) {
return CountDeltaType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.getDescriptor().getEnumTypes().get(23);
}
private static final CountDeltaType[] VALUES = values();
public static CountDeltaType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private CountDeltaType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:CountDeltaType)
}

Some files were not shown because too many files have changed in this diff Show More