배너 API 및 처리
This commit is contained in:
@@ -72,6 +72,11 @@ public class MessageHandlerService {
|
||||
|
||||
}
|
||||
|
||||
public void sendBannerMessage(String serverName){
|
||||
var banner_builder = ServerMessage.MOS2GS_NTF_UPDATE_BANNER.newBuilder();
|
||||
|
||||
rabbitMqService.SendMessage(banner_builder.build(), serverName);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,113 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Define_Common.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code BannerType}
|
||||
*/
|
||||
public enum BannerType
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>BannerType_None = 0;</code>
|
||||
*/
|
||||
BannerType_None(0),
|
||||
/**
|
||||
* <code>BannerType_MainMenu = 1;</code>
|
||||
*/
|
||||
BannerType_MainMenu(1),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>BannerType_None = 0;</code>
|
||||
*/
|
||||
public static final int BannerType_None_VALUE = 0;
|
||||
/**
|
||||
* <code>BannerType_MainMenu = 1;</code>
|
||||
*/
|
||||
public static final int BannerType_MainMenu_VALUE = 1;
|
||||
|
||||
|
||||
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 BannerType 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 BannerType forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return BannerType_None;
|
||||
case 1: return BannerType_MainMenu;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<BannerType>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
BannerType> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<BannerType>() {
|
||||
public BannerType findValueByNumber(int number) {
|
||||
return BannerType.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(35);
|
||||
}
|
||||
|
||||
private static final BannerType[] VALUES = values();
|
||||
|
||||
public static BannerType 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 BannerType(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:BannerType)
|
||||
}
|
||||
|
||||
@@ -14,6 +14,11 @@ public final class DefineCommon {
|
||||
registerAllExtensions(
|
||||
(com.google.protobuf.ExtensionRegistryLite) registry);
|
||||
}
|
||||
static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_ServerUrlWithLanguage_descriptor;
|
||||
static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_ServerUrlWithLanguage_fieldAccessorTable;
|
||||
static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_ServerUrl_descriptor;
|
||||
static final
|
||||
@@ -104,6 +109,21 @@ public final class DefineCommon {
|
||||
static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_MoneyDeltaAmount_fieldAccessorTable;
|
||||
static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_MatchUserInfo_descriptor;
|
||||
static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_MatchUserInfo_fieldAccessorTable;
|
||||
static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_MatchStatusInfo_descriptor;
|
||||
static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_MatchStatusInfo_fieldAccessorTable;
|
||||
static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_MatchRegionInfo_descriptor;
|
||||
static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_MatchRegionInfo_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
@@ -114,275 +134,331 @@ public final class DefineCommon {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\023Define_Common.proto\032\037google/protobuf/t" +
|
||||
"imestamp.proto\"E\n\tServerUrl\022%\n\rserverUrl" +
|
||||
"Type\030\001 \001(\0162\016.ServerUrlType\022\021\n\ttargetUrl\030" +
|
||||
"\013 \001(\t\"4\n\013ChannelInfo\022\017\n\007channel\030\001 \001(\005\022\024\n" +
|
||||
"\014trafficlevel\030\002 \001(\005\"\264\001\n\021ServerConnectInf" +
|
||||
"o\022\022\n\nserverAddr\030\001 \001(\t\022\022\n\nserverPort\030\002 \001(" +
|
||||
"\005\022\013\n\003otp\030\003 \001(\t\022\016\n\006roomId\030\004 \001(\t\022\021\n\003pos\030\005 " +
|
||||
"\001(\0132\004.Pos\022\024\n\ninstanceId\030\006 \001(\005H\000\022!\n\nmyhom" +
|
||||
"eInfo\030\007 \001(\0132\013.MyHomeInfoH\000B\016\n\014instanceTy" +
|
||||
"pe\"[\n\nMyHomeInfo\022\022\n\nmyhomeGuid\030\001 \001(\t\022\022\n\n" +
|
||||
"myhomeName\030\002 \001(\t\022%\n\rmyhomeUgcInfo\030\003 \001(\0132" +
|
||||
"\016.MyhomeUgcInfo\"\257\001\n\rMyhomeUgcInfo\022\020\n\010roo" +
|
||||
"mType\030\001 \001(\005\022\017\n\007version\030\002 \001(\005\022)\n\016framewor" +
|
||||
"kInfos\030\003 \003(\0132\021.UgcFrameworkInfo\022#\n\013ancho" +
|
||||
"rInfos\030\004 \003(\0132\016.UgcAnchorInfo\022+\n\020crafterB" +
|
||||
"eaconPos\030\005 \003(\0132\021.CrafterBeaconPos\"\311\001\n\020Ug" +
|
||||
"cFrameworkInfo\022\026\n\016interiorItemId\030\001 \001(\005\022\r" +
|
||||
"\n\005floor\030\002 \001(\005\022\037\n\ncoordinate\030\003 \001(\0132\013.Coor" +
|
||||
"dinate\022\033\n\010rotation\030\004 \001(\0132\t.Rotation\022\022\n\nm" +
|
||||
"aterialId\030\005 \001(\005\022<\n\031UgcFrameworkMaterialI" +
|
||||
"nfos\030\006 \003(\0132\031.UgcFrameworkMaterialInfo\"\226\001" +
|
||||
"\n\030UgcFrameworkMaterialInfo\022\014\n\004type\030\001 \001(\t" +
|
||||
"\022\022\n\nmaterialId\030\002 \001(\005\022\034\n\014color_mask_r\030\003 \001" +
|
||||
"(\0132\006.Color\022\034\n\014color_mask_g\030\004 \001(\0132\006.Color" +
|
||||
"\022\034\n\014color_mask_b\030\005 \001(\0132\006.Color\"3\n\005Color\022" +
|
||||
"\t\n\001r\030\001 \001(\002\022\t\n\001g\030\002 \001(\002\022\t\n\001b\030\003 \001(\002\022\t\n\001a\030\004 " +
|
||||
"\001(\002\"\232\001\n\rUgcAnchorInfo\022\022\n\nanchorGuid\030\001 \001(" +
|
||||
"\t\022\022\n\nanchorType\030\002 \001(\t\022\017\n\007tableId\030\003 \001(\005\022\022" +
|
||||
"\n\nentityGuid\030\004 \001(\t\022\037\n\ncoordinate\030\005 \001(\0132\013" +
|
||||
".Coordinate\022\033\n\010rotation\030\006 \001(\0132\t.Rotation" +
|
||||
"\"F\n\020CrafterBeaconPos\022\022\n\nanchorGuid\030\001 \001(\t" +
|
||||
"\022\036\n\020crafterBeaconPos\030\002 \001(\0132\004.Pos\"-\n\nCoor" +
|
||||
"dinate\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002\"" +
|
||||
"4\n\010Rotation\022\r\n\005Pitch\030\001 \001(\002\022\013\n\003Yaw\030\002 \001(\002\022" +
|
||||
"\014\n\004Roll\030\003 \001(\002\"\177\n\rStringProfile\0228\n\rstring" +
|
||||
"Profile\030\001 \003(\0132!.StringProfile.StringProf" +
|
||||
"ileEntry\0324\n\022StringProfileEntry\022\013\n\003key\030\001 " +
|
||||
"\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"H\n\020UserLocationIn" +
|
||||
"fo\022\021\n\tisChannel\030\001 \001(\005\022\n\n\002id\030\002 \001(\005\022\025\n\rcha" +
|
||||
"nnelNumber\030\003 \001(\005\"5\n\003Pos\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030" +
|
||||
"\002 \001(\002\022\t\n\001z\030\003 \001(\002\022\r\n\005angle\030\004 \001(\005\"\027\n\005Money" +
|
||||
"\022\016\n\006amount\030\001 \001(\001\"G\n\020MoneyDeltaAmount\022#\n\t" +
|
||||
"deltaType\030\001 \001(\0162\020.AmountDeltaType\022\016\n\006amo" +
|
||||
"unt\030\002 \001(\001*D\n\010BoolType\022\021\n\rBoolType_None\020\000" +
|
||||
"\022\021\n\rBoolType_True\020\001\022\022\n\016BoolType_False\020\002*" +
|
||||
"R\n\013AccountType\022\024\n\020AccountType_None\020\000\022\026\n\022" +
|
||||
"AccountType_Google\020\001\022\025\n\021AccountType_Appl" +
|
||||
"e\020\002*y\n\013ServiceType\022\024\n\020ServiceType_None\020\000" +
|
||||
"\022\023\n\017ServiceType_Dev\020\001\022\022\n\016ServiceType_Qa\020" +
|
||||
"\002\022\025\n\021ServiceType_Stage\020\003\022\024\n\020ServiceType_" +
|
||||
"Live\020\004*\223\002\n\rServerUrlType\022\026\n\022ServerUrlTyp" +
|
||||
"e_None\020\000\022%\n!ServerUrlType_BillingApiServ" +
|
||||
"erUrl\020\001\022$\n ServerUrlType_ChatAiApiServer" +
|
||||
"Url\020\002\022$\n ServerUrlType_MyhomeEditGuideUr" +
|
||||
"l\020\003\022&\n\"ServerUrlType_WebLinkUrlSeasonPas" +
|
||||
"s\020\004\022)\n%ServerUrlType_CaliumConverterWebG" +
|
||||
"uide\020\005\022$\n ServerUrlType_S3ResourceImageU" +
|
||||
"rl\020\006*\210\002\n\nServerType\022\023\n\017ServerType_None\020\000" +
|
||||
"\022\024\n\020ServerType_Login\020\001\022\026\n\022ServerType_Cha" +
|
||||
"nnel\020\002\022\024\n\020ServerType_Indun\020\003\022\023\n\017ServerTy" +
|
||||
"pe_Chat\020\004\022\025\n\021ServerType_GmTool\020\005\022\023\n\017Serv" +
|
||||
"erType_Auth\020\006\022\026\n\022ServerType_Manager\020\007\022\025\n" +
|
||||
"\021ServerType_UgqApi\020\010\022\027\n\023ServerType_UgqAd" +
|
||||
"min\020\t\022\030\n\024ServerType_UgqIngame\020\n*\255\001\n\023Auto" +
|
||||
"ScaleServerType\022\034\n\030AutoScaleServerType_N" +
|
||||
"one\020\000\022\035\n\031AutoScaleServerType_Login\020\001\022\034\n\030" +
|
||||
"AutoScaleServerType_Game\020\002\022\035\n\031AutoScaleS" +
|
||||
"erverType_Indun\020\003\022\034\n\030AutoScaleServerType" +
|
||||
"_Chat\020\004*_\n\016GameServerType\022\027\n\023GameServerT" +
|
||||
"ype_None\020\000\022\032\n\026GameServerType_Channel\020\001\022\030" +
|
||||
"\n\024GameServerType_Indun\020\002*\224\001\n\nDeviceType\022" +
|
||||
"\023\n\017DeviceType_None\020\000\022\030\n\024DeviceType_Windo" +
|
||||
"wsPC\020\001\022\025\n\021DeviceType_IPhone\020\005\022\022\n\016DeviceT" +
|
||||
"ype_Mac\020\006\022\025\n\021DeviceType_Galaxy\020\013\022\025\n\021Devi" +
|
||||
"ceType_Oculus\020\017*S\n\006OsType\022\017\n\013OsType_None" +
|
||||
"\020\000\022\024\n\020OsType_MsWindows\020\001\022\022\n\016OsType_Andro" +
|
||||
"id\020\002\022\016\n\nOsType_Ios\020\003*\215\001\n\014PlatformType\022\025\n" +
|
||||
"\021PlatformType_None\020\000\022\032\n\026PlatformType_Win" +
|
||||
"dowsPc\020\001\022\027\n\023PlatformType_Google\020\002\022\031\n\025Pla" +
|
||||
"tformType_Facebook\020\003\022\026\n\022PlatformType_App" +
|
||||
"le\020\004*\216\001\n\023AccountCreationType\022\034\n\030AccountC" +
|
||||
"reationType_None\020\000\022\036\n\032AccountCreationTyp" +
|
||||
"e_Normal\020\001\022\034\n\030AccountCreationType_Test\020\002" +
|
||||
"\022\033\n\027AccountCreationType_Bot\020\003*\205\003\n\014Conten" +
|
||||
"tsType\022\025\n\021ContentsType_None\020\000\022\027\n\023Content" +
|
||||
"sType_MyHome\020\001\022\032\n\026ContentsType_DressRoom" +
|
||||
"\020\002\022\030\n\024ContentsType_Concert\020\003\022\026\n\022Contents" +
|
||||
"Type_Movie\020\004\022\031\n\025ContentsType_Instance\020\005\022" +
|
||||
"\030\n\024ContentsType_Meeting\020\006\022!\n\035ContentsTyp" +
|
||||
"e_BeaconCreateRoom\020\007\022\037\n\033ContentsType_Bea" +
|
||||
"conEditRoom\020\010\022 \n\034ContentsType_BeaconDraf" +
|
||||
"tRoom\020\t\022\031\n\025ContentsType_EditRoom\020\n\022$\n Co" +
|
||||
"ntentsType_BeaconCustomizeRoom\020\013\022\033\n\027Cont" +
|
||||
"entsType_BattleRoom\020\014*\264\001\n\010CharRace\022\021\n\rCh" +
|
||||
"arRace_None\020\000\022\023\n\017CharRace_Latino\020\001\022\026\n\022Ch" +
|
||||
"arRace_Caucasian\020\002\022\024\n\020CharRace_African\020\003" +
|
||||
"\022\033\n\027CharRace_Northeastasian\020\004\022\027\n\023CharRac" +
|
||||
"e_Southasian\020\005\022\034\n\030CharRace_Pacificisland" +
|
||||
"er\020\006*\224\001\n\022AuthAdminLevelType\022\033\n\027AuthAdmin" +
|
||||
"LevelType_None\020\000\022\037\n\033AuthAdminLevelType_G" +
|
||||
"mNormal\020\001\022\036\n\032AuthAdminLevelType_GmSuper\020" +
|
||||
"\002\022 \n\034AuthAdminLevelType_Developer\020\003*d\n\014L" +
|
||||
"anguageType\022\025\n\021LanguageType_None\020\000\022\023\n\017La" +
|
||||
"nguageType_ko\020\001\022\023\n\017LanguageType_en\020\002\022\023\n\017" +
|
||||
"LanguageType_ja\020\004*S\n\013ProductType\022\024\n\020Prod" +
|
||||
"uctType_None\020\000\022\030\n\024ProductType_Currency\020\001" +
|
||||
"\022\024\n\020ProductType_Item\020\002*\201\001\n\017LoginMethodTy" +
|
||||
"pe\022\030\n\024LoginMethodType_None\020\000\022$\n LoginMet" +
|
||||
"hodType_ClientStandalone\020\001\022.\n*LoginMetho" +
|
||||
"dType_SsoAccountAuthWithLauncher\020\002*\313\001\n\026L" +
|
||||
"oginFailureReasonType\022\037\n\033LoginFailureRea" +
|
||||
"sonType_None\020\000\022.\n*LoginFailureReasonType" +
|
||||
"_ProcessingException\020\001\022/\n+LoginFailureRe" +
|
||||
"asonType_AuthenticationFailed\020\002\022/\n+Login" +
|
||||
"FailureReasonType_UserValidCheckFailed\020\003" +
|
||||
"*\270\001\n\020LogoutReasonType\022\031\n\025LogoutReasonTyp" +
|
||||
"e_None\020\000\022\"\n\036LogoutReasonType_ExitToServi" +
|
||||
"ce\020\001\022 \n\034LogoutReasonType_EnterToGame\020\002\022\035" +
|
||||
"\n\031LogoutReasonType_GoToGame\020\003\022$\n LogoutR" +
|
||||
"easonType_DuplicatedLogin\020\004*\307\003\n\022AccountS" +
|
||||
"actionType\022\033\n\027AccountSactionType_None\020\000\022" +
|
||||
"!\n\035AccountSactionType_BadBhavior\020\001\022*\n&Ac" +
|
||||
"countSactionType_InvapproprivateName\020\002\022&" +
|
||||
"\n\"AccountSactionType_CashTransaction\020\003\022\'" +
|
||||
"\n#AccountSactionType_GameInterference\020\004\022" +
|
||||
"*\n&AccountSactionType_ServiceInterferenc" +
|
||||
"e\020\005\022+\n\'AccountSactionType_AccountImperso" +
|
||||
"nation\020\006\022\037\n\033AccountSactionType_BugAbuse\020" +
|
||||
"\007\022%\n!AccountSactionType_IllegalProgram\020\010" +
|
||||
"\022(\n$AccountSactionType_PersonalInfo_Leak" +
|
||||
"\020\t\022)\n%AccountSactionType_AdminImpersonat" +
|
||||
"ion\020\n*w\n\016ServerMoveType\022\027\n\023ServerMoveTyp" +
|
||||
"e_None\020\000\022\030\n\024ServerMoveType_Force\020\001\022\027\n\023Se" +
|
||||
"rverMoveType_Auto\020\002\022\031\n\025ServerMoveType_Re" +
|
||||
"turn\020\003*\336\001\n\017PlayerStateType\022\030\n\024PlayerStat" +
|
||||
"eType_None\020\000\022\032\n\026PlayerStateType_Online\020\001" +
|
||||
"\022\031\n\025PlayerStateType_Sleep\020\002\022\037\n\033PlayerSta" +
|
||||
"teType_DontDistrub\020\003\022\033\n\027PlayerStateType_" +
|
||||
"Offline\020\004\022\033\n\027PlayerStateType_Dormant\020\005\022\037" +
|
||||
"\n\033PlayerStateType_LeaveMember\020\006*\200\001\n\017Amou" +
|
||||
"ntDeltaType\022\030\n\024AmountDeltaType_None\020\000\022\033\n" +
|
||||
"\027AmountDeltaType_Acquire\020\001\022\033\n\027AmountDelt" +
|
||||
"aType_Consume\020\002\022\031\n\025AmountDeltaType_Merge" +
|
||||
"\020\003*\257\001\n\016CountDeltaType\022\027\n\023CountDeltaType_" +
|
||||
"None\020\000\022\026\n\022CountDeltaType_New\020\001\022\031\n\025CountD" +
|
||||
"eltaType_Update\020\002\022\032\n\026CountDeltaType_Acqu" +
|
||||
"ire\020\003\022\032\n\026CountDeltaType_Consume\020\004\022\031\n\025Cou" +
|
||||
"ntDeltaType_Delete\020\005*\236\001\n\014CurrencyType\022\025\n" +
|
||||
"\021CurrencyType_None\020\000\022\025\n\021CurrencyType_Gol" +
|
||||
"d\020\001\022\031\n\025CurrencyType_Sapphire\020\002\022\027\n\023Curren" +
|
||||
"cyType_Calium\020\003\022\025\n\021CurrencyType_Beam\020\004\022\025" +
|
||||
"\n\021CurrencyType_Ruby\020\005*\304\002\n\022ProgramVersion" +
|
||||
"Type\022\033\n\027ProgramVersionType_None\020\000\022(\n$Pro" +
|
||||
"gramVersionType_MetaSchemaVersion\020\001\022&\n\"P" +
|
||||
"rogramVersionType_MetaDataVersion\020\002\022&\n\"P" +
|
||||
"rogramVersionType_DbSchemaVersion\020\003\022$\n P" +
|
||||
"rogramVersionType_PacketVersion\020\004\022&\n\"Pro" +
|
||||
"gramVersionType_ResourceVersion\020\005\022$\n Pro" +
|
||||
"gramVersionType_ConfigVersion\020\006\022#\n\037Progr" +
|
||||
"amVersionType_LogicVersion\020\007*\216\004\n\025PartyMe" +
|
||||
"mberActionType\022\036\n\032PartyMemberActionType_" +
|
||||
"None\020\000\022 \n\034PartyMemberActionType_Invite\020\001" +
|
||||
"\022&\n\"PartyMemberActionType_InviteAccept\020\002" +
|
||||
"\022&\n\"PartyMemberActionType_InviteReject\020\003" +
|
||||
"\022 \n\034PartyMemberActionType_Summon\020\004\022&\n\"Pa" +
|
||||
"rtyMemberActionType_SummonAccept\020\005\022&\n\"Pa" +
|
||||
"rtyMemberActionType_SummonReject\020\006\022,\n(Pa" +
|
||||
"rtyMemberActionType_PartyInstance_Join\020\007" +
|
||||
"\022-\n)PartyMemberActionType_PartyInstance_" +
|
||||
"Leave\020\010\022%\n!PartyMemberActionType_PartyLe" +
|
||||
"ader\020\t\022#\n\037PartyMemberActionType_JoinPart" +
|
||||
"y\020\n\022$\n PartyMemberActionType_LeaveParty\020" +
|
||||
"\013\022\"\n\036PartyMemberActionType_BanParty\020\014*\217\001" +
|
||||
"\n\023UserBlockPolicyType\022\034\n\030UserBlockPolicy" +
|
||||
"Type_None\020\000\022+\n\'UserBlockPolicyType_Acces" +
|
||||
"s_Restrictions\020\001\022-\n)UserBlockPolicyType_" +
|
||||
"Chatting_Restrictions\020\002*\334\003\n\023UserBlockRea" +
|
||||
"sonType\022\034\n\030UserBlockReasonType_None\020\000\022$\n" +
|
||||
" UserBlockReasonType_Bad_Behavior\020\001\022*\n&U" +
|
||||
"serBlockReasonType_Inappropriate_Name\020\002\022" +
|
||||
"(\n$UserBlockReasonType_Cash_Transaction\020" +
|
||||
"\003\022)\n%UserBlockReasonType_Game_Interferen" +
|
||||
"ce\020\004\022,\n(UserBlockReasonType_Service_Inte" +
|
||||
"rference\020\005\022-\n)UserBlockReasonType_Accoun" +
|
||||
"t_Impersonation\020\006\022!\n\035UserBlockReasonType" +
|
||||
"_Bug_Abuse\020\007\022\'\n#UserBlockReasonType_Ille" +
|
||||
"gal_Program\020\010\022*\n&UserBlockReasonType_Per" +
|
||||
"sonal_Info_Leak\020\t\022+\n\'UserBlockReasonType" +
|
||||
"_Asmin_Impersonation\020\nB/\n+com.caliverse." +
|
||||
"admin.domain.RabbitMq.messageP\001b\006proto3"
|
||||
"imestamp.proto\"K\n\025ServerUrlWithLanguage\022" +
|
||||
"\037\n\010langType\030\001 \001(\0162\r.LanguageType\022\021\n\ttarg" +
|
||||
"etUrl\030\002 \001(\t\"j\n\tServerUrl\022%\n\rserverUrlTyp" +
|
||||
"e\030\001 \001(\0162\016.ServerUrlType\0226\n\026serverUrlWith" +
|
||||
"Languages\030\002 \003(\0132\026.ServerUrlWithLanguage\"" +
|
||||
"4\n\013ChannelInfo\022\017\n\007channel\030\001 \001(\005\022\024\n\014traff" +
|
||||
"iclevel\030\002 \001(\005\"\264\001\n\021ServerConnectInfo\022\022\n\ns" +
|
||||
"erverAddr\030\001 \001(\t\022\022\n\nserverPort\030\002 \001(\005\022\013\n\003o" +
|
||||
"tp\030\003 \001(\t\022\016\n\006roomId\030\004 \001(\t\022\021\n\003pos\030\005 \001(\0132\004." +
|
||||
"Pos\022\024\n\ninstanceId\030\006 \001(\005H\000\022!\n\nmyhomeInfo\030" +
|
||||
"\007 \001(\0132\013.MyHomeInfoH\000B\016\n\014instanceType\"[\n\n" +
|
||||
"MyHomeInfo\022\022\n\nmyhomeGuid\030\001 \001(\t\022\022\n\nmyhome" +
|
||||
"Name\030\002 \001(\t\022%\n\rmyhomeUgcInfo\030\003 \001(\0132\016.Myho" +
|
||||
"meUgcInfo\"\257\001\n\rMyhomeUgcInfo\022\020\n\010roomType\030" +
|
||||
"\001 \001(\005\022\017\n\007version\030\002 \001(\005\022)\n\016frameworkInfos" +
|
||||
"\030\003 \003(\0132\021.UgcFrameworkInfo\022#\n\013anchorInfos" +
|
||||
"\030\004 \003(\0132\016.UgcAnchorInfo\022+\n\020crafterBeaconP" +
|
||||
"os\030\005 \003(\0132\021.CrafterBeaconPos\"\311\001\n\020UgcFrame" +
|
||||
"workInfo\022\026\n\016interiorItemId\030\001 \001(\005\022\r\n\005floo" +
|
||||
"r\030\002 \001(\005\022\037\n\ncoordinate\030\003 \001(\0132\013.Coordinate" +
|
||||
"\022\033\n\010rotation\030\004 \001(\0132\t.Rotation\022\022\n\nmateria" +
|
||||
"lId\030\005 \001(\005\022<\n\031UgcFrameworkMaterialInfos\030\006" +
|
||||
" \003(\0132\031.UgcFrameworkMaterialInfo\"\226\001\n\030UgcF" +
|
||||
"rameworkMaterialInfo\022\014\n\004type\030\001 \001(\t\022\022\n\nma" +
|
||||
"terialId\030\002 \001(\005\022\034\n\014color_mask_r\030\003 \001(\0132\006.C" +
|
||||
"olor\022\034\n\014color_mask_g\030\004 \001(\0132\006.Color\022\034\n\014co" +
|
||||
"lor_mask_b\030\005 \001(\0132\006.Color\"3\n\005Color\022\t\n\001r\030\001" +
|
||||
" \001(\002\022\t\n\001g\030\002 \001(\002\022\t\n\001b\030\003 \001(\002\022\t\n\001a\030\004 \001(\002\"\232\001" +
|
||||
"\n\rUgcAnchorInfo\022\022\n\nanchorGuid\030\001 \001(\t\022\022\n\na" +
|
||||
"nchorType\030\002 \001(\t\022\017\n\007tableId\030\003 \001(\005\022\022\n\nenti" +
|
||||
"tyGuid\030\004 \001(\t\022\037\n\ncoordinate\030\005 \001(\0132\013.Coord" +
|
||||
"inate\022\033\n\010rotation\030\006 \001(\0132\t.Rotation\"F\n\020Cr" +
|
||||
"afterBeaconPos\022\022\n\nanchorGuid\030\001 \001(\t\022\036\n\020cr" +
|
||||
"afterBeaconPos\030\002 \001(\0132\004.Pos\"-\n\nCoordinate" +
|
||||
"\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002\"4\n\010Rot" +
|
||||
"ation\022\r\n\005Pitch\030\001 \001(\002\022\013\n\003Yaw\030\002 \001(\002\022\014\n\004Rol" +
|
||||
"l\030\003 \001(\002\"\177\n\rStringProfile\0228\n\rstringProfil" +
|
||||
"e\030\001 \003(\0132!.StringProfile.StringProfileEnt" +
|
||||
"ry\0324\n\022StringProfileEntry\022\013\n\003key\030\001 \001(\t\022\r\n" +
|
||||
"\005value\030\002 \001(\t:\0028\001\"H\n\020UserLocationInfo\022\021\n\t" +
|
||||
"isChannel\030\001 \001(\005\022\n\n\002id\030\002 \001(\005\022\025\n\rchannelNu" +
|
||||
"mber\030\003 \001(\005\"5\n\003Pos\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022" +
|
||||
"\t\n\001z\030\003 \001(\002\022\r\n\005angle\030\004 \001(\005\"\027\n\005Money\022\016\n\006am" +
|
||||
"ount\030\001 \001(\001\"G\n\020MoneyDeltaAmount\022#\n\tdeltaT" +
|
||||
"ype\030\001 \001(\0162\020.AmountDeltaType\022\016\n\006amount\030\002 " +
|
||||
"\001(\001\"\300\001\n\rMatchUserInfo\022\020\n\010userGuid\030\001 \001(\t\022" +
|
||||
"\022\n\nserverName\030\002 \001(\t\022\022\n\ngameModeId\030\003 \001(\005\022" +
|
||||
"\024\n\014matchGroupId\030\004 \001(\t\022\016\n\006region\030\005 \001(\t\022-\n" +
|
||||
"\tstartTime\030\006 \001(\0132\032.google.protobuf.Times" +
|
||||
"tamp\022 \n\006status\030\007 \001(\0162\020.MatchStatusType\"s" +
|
||||
"\n\017MatchStatusInfo\022 \n\006status\030\001 \001(\0162\020.Matc" +
|
||||
"hStatusType\022\021\n\tmatchStep\030\002 \001(\005\022\023\n\013waitTi" +
|
||||
"meSec\030\003 \001(\005\022\026\n\016waitTimeMaxSec\030\004 \001(\005\"J\n\017M" +
|
||||
"atchRegionInfo\022\014\n\004Name\030\001 \001(\t\022\030\n\020TextStri" +
|
||||
"ngMetaId\030\002 \001(\t\022\017\n\007PingUrl\030\003 \001(\t*\373\001\n\010Modu" +
|
||||
"leId\022\021\n\rModuleId_None\020\000\022\036\n\032ModuleId_Dyna" +
|
||||
"moDbConnector\020\001\022\035\n\031ModuleId_MongoDbConne" +
|
||||
"ctor\020\002\022\033\n\027ModuleId_RedisConnector\020\003\022\'\n#M" +
|
||||
"oduleId_RedisWithLuaScriptExecutor\020\004\022\036\n\032" +
|
||||
"ModuleId_RabbitMqConnector\020\005\022\030\n\024ModuleId" +
|
||||
"_S3Connector\020\006\022\035\n\031ModuleId_ProudNetListe" +
|
||||
"ner\020\007*D\n\010BoolType\022\021\n\rBoolType_None\020\000\022\021\n\r" +
|
||||
"BoolType_True\020\001\022\022\n\016BoolType_False\020\002*R\n\013A" +
|
||||
"ccountType\022\024\n\020AccountType_None\020\000\022\026\n\022Acco" +
|
||||
"untType_Google\020\001\022\025\n\021AccountType_Apple\020\002*" +
|
||||
"J\n\017ServiceCategory\022\030\n\024ServiceCategory_No" +
|
||||
"ne\020\000\022\035\n\031ServiceCategory_Caliverse\020\001*y\n\013S" +
|
||||
"erviceType\022\024\n\020ServiceType_None\020\000\022\023\n\017Serv" +
|
||||
"iceType_Dev\020\001\022\022\n\016ServiceType_Qa\020\002\022\025\n\021Ser" +
|
||||
"viceType_Stage\020\003\022\024\n\020ServiceType_Live\020\004*\305" +
|
||||
"\005\n\rServerUrlType\022\026\n\022ServerUrlType_None\020\000" +
|
||||
"\022%\n!ServerUrlType_BillingApiServerUrl\020\001\022" +
|
||||
"$\n ServerUrlType_ChatAiApiServerUrl\020\002\022$\n" +
|
||||
" ServerUrlType_MyhomeEditGuideUrl\020\003\022&\n\"S" +
|
||||
"erverUrlType_WebLinkUrlSeasonPass\020\004\022)\n%S" +
|
||||
"erverUrlType_CaliumConverterWebGuide\020\005\022$" +
|
||||
"\n ServerUrlType_S3ResourceImageUrl\020\006\022 \n\034" +
|
||||
"ServerUrlType_RentalGuideURL\020\007\022%\n!Server" +
|
||||
"UrlType_LandAuctionWebGuide\020\010\022$\n ServerU" +
|
||||
"rlType_LandManageGuideURL\020\t\022&\n\"ServerUrl" +
|
||||
"Type_Calium_Exchange_Web1\020\n\022&\n\"ServerUrl" +
|
||||
"Type_Calium_Exchange_Web2\020\013\022$\n ServerUrl" +
|
||||
"Type_WebLinkURLCurrency\020\014\022\'\n#ServerUrlTy" +
|
||||
"pe_WebLinkURLSeasonPass1\020\r\022\'\n#ServerUrlT" +
|
||||
"ype_WebLinkURLSeasonPass2\020\016\022\'\n#ServerUrl" +
|
||||
"Type_WebLinkURLSeasonPass3\020\017\022\'\n#ServerUr" +
|
||||
"lType_WebLinkURLSeasonPass4\020\020\022\'\n#ServerU" +
|
||||
"rlType_WebLinkURLSeasonPass5\020\021*\270\002\n\nServe" +
|
||||
"rType\022\023\n\017ServerType_None\020\000\022\024\n\020ServerType" +
|
||||
"_Login\020\001\022\026\n\022ServerType_Channel\020\002\022\024\n\020Serv" +
|
||||
"erType_Indun\020\003\022\023\n\017ServerType_Chat\020\004\022\025\n\021S" +
|
||||
"erverType_GmTool\020\005\022\023\n\017ServerType_Auth\020\006\022" +
|
||||
"\026\n\022ServerType_Manager\020\007\022\025\n\021ServerType_Ug" +
|
||||
"qApi\020\010\022\027\n\023ServerType_UgqAdmin\020\t\022\030\n\024Serve" +
|
||||
"rType_UgqIngame\020\n\022\030\n\024ServerType_BrokerAp" +
|
||||
"i\020\013\022\024\n\020ServerType_Match\020\014*\255\001\n\023AutoScaleS" +
|
||||
"erverType\022\034\n\030AutoScaleServerType_None\020\000\022" +
|
||||
"\035\n\031AutoScaleServerType_Login\020\001\022\034\n\030AutoSc" +
|
||||
"aleServerType_Game\020\002\022\035\n\031AutoScaleServerT" +
|
||||
"ype_Indun\020\003\022\034\n\030AutoScaleServerType_Chat\020" +
|
||||
"\004*_\n\016GameServerType\022\027\n\023GameServerType_No" +
|
||||
"ne\020\000\022\032\n\026GameServerType_Channel\020\001\022\030\n\024Game" +
|
||||
"ServerType_Indun\020\002*\224\001\n\nDeviceType\022\023\n\017Dev" +
|
||||
"iceType_None\020\000\022\030\n\024DeviceType_WindowsPC\020\001" +
|
||||
"\022\025\n\021DeviceType_IPhone\020\005\022\022\n\016DeviceType_Ma" +
|
||||
"c\020\006\022\025\n\021DeviceType_Galaxy\020\013\022\025\n\021DeviceType" +
|
||||
"_Oculus\020\017*S\n\006OsType\022\017\n\013OsType_None\020\000\022\024\n\020" +
|
||||
"OsType_MsWindows\020\001\022\022\n\016OsType_Android\020\002\022\016" +
|
||||
"\n\nOsType_Ios\020\003*\215\001\n\014PlatformType\022\025\n\021Platf" +
|
||||
"ormType_None\020\000\022\032\n\026PlatformType_WindowsPc" +
|
||||
"\020\001\022\027\n\023PlatformType_Google\020\002\022\031\n\025PlatformT" +
|
||||
"ype_Facebook\020\003\022\026\n\022PlatformType_Apple\020\004*\216" +
|
||||
"\001\n\023AccountCreationType\022\034\n\030AccountCreatio" +
|
||||
"nType_None\020\000\022\036\n\032AccountCreationType_Norm" +
|
||||
"al\020\001\022\034\n\030AccountCreationType_Test\020\002\022\033\n\027Ac" +
|
||||
"countCreationType_Bot\020\003*\300\003\n\014ContentsType" +
|
||||
"\022\025\n\021ContentsType_None\020\000\022\027\n\023ContentsType_" +
|
||||
"MyHome\020\001\022\032\n\026ContentsType_DressRoom\020\002\022\030\n\024" +
|
||||
"ContentsType_Concert\020\003\022\026\n\022ContentsType_M" +
|
||||
"ovie\020\004\022\031\n\025ContentsType_Instance\020\005\022\030\n\024Con" +
|
||||
"tentsType_Meeting\020\006\022!\n\035ContentsType_Beac" +
|
||||
"onCreateRoom\020\007\022\037\n\033ContentsType_BeaconEdi" +
|
||||
"tRoom\020\010\022 \n\034ContentsType_BeaconDraftRoom\020" +
|
||||
"\t\022\031\n\025ContentsType_EditRoom\020\n\022$\n Contents" +
|
||||
"Type_BeaconCustomizeRoom\020\013\022\033\n\027ContentsTy" +
|
||||
"pe_BattleRoom\020\014\022\036\n\032ContentsType_ArcadeRu" +
|
||||
"nning\020\r\022\031\n\025ContentsType_GameRoom\020\016*\264\001\n\010C" +
|
||||
"harRace\022\021\n\rCharRace_None\020\000\022\023\n\017CharRace_L" +
|
||||
"atino\020\001\022\026\n\022CharRace_Caucasian\020\002\022\024\n\020CharR" +
|
||||
"ace_African\020\003\022\033\n\027CharRace_Northeastasian" +
|
||||
"\020\004\022\027\n\023CharRace_Southasian\020\005\022\034\n\030CharRace_" +
|
||||
"Pacificislander\020\006*\224\001\n\022AuthAdminLevelType" +
|
||||
"\022\033\n\027AuthAdminLevelType_None\020\000\022\037\n\033AuthAdm" +
|
||||
"inLevelType_GmNormal\020\001\022\036\n\032AuthAdminLevel" +
|
||||
"Type_GmSuper\020\002\022 \n\034AuthAdminLevelType_Dev" +
|
||||
"eloper\020\003*d\n\014LanguageType\022\025\n\021LanguageType" +
|
||||
"_None\020\000\022\023\n\017LanguageType_ko\020\001\022\023\n\017Language" +
|
||||
"Type_en\020\002\022\023\n\017LanguageType_ja\020\004*S\n\013Produc" +
|
||||
"tType\022\024\n\020ProductType_None\020\000\022\030\n\024ProductTy" +
|
||||
"pe_Currency\020\001\022\024\n\020ProductType_Item\020\002*\201\001\n\017" +
|
||||
"LoginMethodType\022\030\n\024LoginMethodType_None\020" +
|
||||
"\000\022$\n LoginMethodType_ClientStandalone\020\001\022" +
|
||||
".\n*LoginMethodType_SsoAccountAuthWithLau" +
|
||||
"ncher\020\002*\313\001\n\026LoginFailureReasonType\022\037\n\033Lo" +
|
||||
"ginFailureReasonType_None\020\000\022.\n*LoginFail" +
|
||||
"ureReasonType_ProcessingException\020\001\022/\n+L" +
|
||||
"oginFailureReasonType_AuthenticationFail" +
|
||||
"ed\020\002\022/\n+LoginFailureReasonType_UserValid" +
|
||||
"CheckFailed\020\003*\270\001\n\020LogoutReasonType\022\031\n\025Lo" +
|
||||
"goutReasonType_None\020\000\022\"\n\036LogoutReasonTyp" +
|
||||
"e_ExitToService\020\001\022 \n\034LogoutReasonType_En" +
|
||||
"terToGame\020\002\022\035\n\031LogoutReasonType_GoToGame" +
|
||||
"\020\003\022$\n LogoutReasonType_DuplicatedLogin\020\004" +
|
||||
"*\307\003\n\022AccountSactionType\022\033\n\027AccountSactio" +
|
||||
"nType_None\020\000\022!\n\035AccountSactionType_BadBh" +
|
||||
"avior\020\001\022*\n&AccountSactionType_Invappropr" +
|
||||
"ivateName\020\002\022&\n\"AccountSactionType_CashTr" +
|
||||
"ansaction\020\003\022\'\n#AccountSactionType_GameIn" +
|
||||
"terference\020\004\022*\n&AccountSactionType_Servi" +
|
||||
"ceInterference\020\005\022+\n\'AccountSactionType_A" +
|
||||
"ccountImpersonation\020\006\022\037\n\033AccountSactionT" +
|
||||
"ype_BugAbuse\020\007\022%\n!AccountSactionType_Ill" +
|
||||
"egalProgram\020\010\022(\n$AccountSactionType_Pers" +
|
||||
"onalInfo_Leak\020\t\022)\n%AccountSactionType_Ad" +
|
||||
"minImpersonation\020\n*w\n\016ServerMoveType\022\027\n\023" +
|
||||
"ServerMoveType_None\020\000\022\030\n\024ServerMoveType_" +
|
||||
"Force\020\001\022\027\n\023ServerMoveType_Auto\020\002\022\031\n\025Serv" +
|
||||
"erMoveType_Return\020\003*\336\001\n\017PlayerStateType\022" +
|
||||
"\030\n\024PlayerStateType_None\020\000\022\032\n\026PlayerState" +
|
||||
"Type_Online\020\001\022\031\n\025PlayerStateType_Sleep\020\002" +
|
||||
"\022\037\n\033PlayerStateType_DontDistrub\020\003\022\033\n\027Pla" +
|
||||
"yerStateType_Offline\020\004\022\033\n\027PlayerStateTyp" +
|
||||
"e_Dormant\020\005\022\037\n\033PlayerStateType_LeaveMemb" +
|
||||
"er\020\006*\200\001\n\017AmountDeltaType\022\030\n\024AmountDeltaT" +
|
||||
"ype_None\020\000\022\033\n\027AmountDeltaType_Acquire\020\001\022" +
|
||||
"\033\n\027AmountDeltaType_Consume\020\002\022\031\n\025AmountDe" +
|
||||
"ltaType_Merge\020\003*\257\001\n\016CountDeltaType\022\027\n\023Co" +
|
||||
"untDeltaType_None\020\000\022\026\n\022CountDeltaType_Ne" +
|
||||
"w\020\001\022\031\n\025CountDeltaType_Update\020\002\022\032\n\026CountD" +
|
||||
"eltaType_Acquire\020\003\022\032\n\026CountDeltaType_Con" +
|
||||
"sume\020\004\022\031\n\025CountDeltaType_Delete\020\005*\236\001\n\014Cu" +
|
||||
"rrencyType\022\025\n\021CurrencyType_None\020\000\022\025\n\021Cur" +
|
||||
"rencyType_Gold\020\001\022\031\n\025CurrencyType_Sapphir" +
|
||||
"e\020\002\022\027\n\023CurrencyType_Calium\020\003\022\025\n\021Currency" +
|
||||
"Type_Beam\020\004\022\025\n\021CurrencyType_Ruby\020\005*\304\002\n\022P" +
|
||||
"rogramVersionType\022\033\n\027ProgramVersionType_" +
|
||||
"None\020\000\022(\n$ProgramVersionType_MetaSchemaV" +
|
||||
"ersion\020\001\022&\n\"ProgramVersionType_MetaDataV" +
|
||||
"ersion\020\002\022&\n\"ProgramVersionType_DbSchemaV" +
|
||||
"ersion\020\003\022$\n ProgramVersionType_PacketVer" +
|
||||
"sion\020\004\022&\n\"ProgramVersionType_ResourceVer" +
|
||||
"sion\020\005\022$\n ProgramVersionType_ConfigVersi" +
|
||||
"on\020\006\022#\n\037ProgramVersionType_LogicVersion\020" +
|
||||
"\007*\216\004\n\025PartyMemberActionType\022\036\n\032PartyMemb" +
|
||||
"erActionType_None\020\000\022 \n\034PartyMemberAction" +
|
||||
"Type_Invite\020\001\022&\n\"PartyMemberActionType_I" +
|
||||
"nviteAccept\020\002\022&\n\"PartyMemberActionType_I" +
|
||||
"nviteReject\020\003\022 \n\034PartyMemberActionType_S" +
|
||||
"ummon\020\004\022&\n\"PartyMemberActionType_SummonA" +
|
||||
"ccept\020\005\022&\n\"PartyMemberActionType_SummonR" +
|
||||
"eject\020\006\022,\n(PartyMemberActionType_PartyIn" +
|
||||
"stance_Join\020\007\022-\n)PartyMemberActionType_P" +
|
||||
"artyInstance_Leave\020\010\022%\n!PartyMemberActio" +
|
||||
"nType_PartyLeader\020\t\022#\n\037PartyMemberAction" +
|
||||
"Type_JoinParty\020\n\022$\n PartyMemberActionTyp" +
|
||||
"e_LeaveParty\020\013\022\"\n\036PartyMemberActionType_" +
|
||||
"BanParty\020\014*\217\001\n\023UserBlockPolicyType\022\034\n\030Us" +
|
||||
"erBlockPolicyType_None\020\000\022+\n\'UserBlockPol" +
|
||||
"icyType_Access_Restrictions\020\001\022-\n)UserBlo" +
|
||||
"ckPolicyType_Chatting_Restrictions\020\002*\334\003\n" +
|
||||
"\023UserBlockReasonType\022\034\n\030UserBlockReasonT" +
|
||||
"ype_None\020\000\022$\n UserBlockReasonType_Bad_Be" +
|
||||
"havior\020\001\022*\n&UserBlockReasonType_Inapprop" +
|
||||
"riate_Name\020\002\022(\n$UserBlockReasonType_Cash" +
|
||||
"_Transaction\020\003\022)\n%UserBlockReasonType_Ga" +
|
||||
"me_Interference\020\004\022,\n(UserBlockReasonType" +
|
||||
"_Service_Interference\020\005\022-\n)UserBlockReas" +
|
||||
"onType_Account_Impersonation\020\006\022!\n\035UserBl" +
|
||||
"ockReasonType_Bug_Abuse\020\007\022\'\n#UserBlockRe" +
|
||||
"asonType_Illegal_Program\020\010\022*\n&UserBlockR" +
|
||||
"easonType_Personal_Info_Leak\020\t\022+\n\'UserBl" +
|
||||
"ockReasonType_Asmin_Impersonation\020\n*\224\001\n\026" +
|
||||
"EntityAlertTriggerType\022\037\n\033EntityAlertTri" +
|
||||
"ggerType_None\020\000\0222\n.EntityAlertTriggerTyp" +
|
||||
"e_ItemExpireWarningBefore\020\001\022%\n!EntityAle" +
|
||||
"rtTriggerType_ItemExpire\020\002*W\n\025EntityAler" +
|
||||
"tMethodType\022\036\n\032EntityAlertMethodType_Non" +
|
||||
"e\020\000\022\036\n\032EntityAlertMethodType_Mail\020\001*\327\001\n\017" +
|
||||
"MatchStatusType\022\030\n\024MatchStatusType_NONE\020" +
|
||||
"\000\022\034\n\030MatchStatusType_RESERVED\020\001\022\034\n\030Match" +
|
||||
"StatusType_PROGRESS\020\002\022\033\n\027MatchStatusType" +
|
||||
"_SUCCESS\020\003\022\032\n\026MatchStatusType_CANCEL\020\004\022\033" +
|
||||
"\n\027MatchStatusType_TIMEOUT\020\005\022\030\n\024MatchStat" +
|
||||
"usType_FAIL\020\006*i\n\017MatchCancelType\022\030\n\024Matc" +
|
||||
"hCancelType_NONE\020\000\022\032\n\026MatchCancelType_NO" +
|
||||
"RMAL\020\001\022 \n\034MatchCancelType_DISCONNECTED\020\002" +
|
||||
"*:\n\nBannerType\022\023\n\017BannerType_None\020\000\022\027\n\023B" +
|
||||
"annerType_MainMenu\020\001B/\n+com.caliverse.ad" +
|
||||
"min.domain.RabbitMq.messageP\001b\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
com.google.protobuf.TimestampProto.getDescriptor(),
|
||||
});
|
||||
internal_static_ServerUrl_descriptor =
|
||||
internal_static_ServerUrlWithLanguage_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_ServerUrlWithLanguage_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_ServerUrlWithLanguage_descriptor,
|
||||
new java.lang.String[] { "LangType", "TargetUrl", });
|
||||
internal_static_ServerUrl_descriptor =
|
||||
getDescriptor().getMessageTypes().get(1);
|
||||
internal_static_ServerUrl_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_ServerUrl_descriptor,
|
||||
new java.lang.String[] { "ServerUrlType", "TargetUrl", });
|
||||
new java.lang.String[] { "ServerUrlType", "ServerUrlWithLanguages", });
|
||||
internal_static_ChannelInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(1);
|
||||
getDescriptor().getMessageTypes().get(2);
|
||||
internal_static_ChannelInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_ChannelInfo_descriptor,
|
||||
new java.lang.String[] { "Channel", "Trafficlevel", });
|
||||
internal_static_ServerConnectInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(2);
|
||||
getDescriptor().getMessageTypes().get(3);
|
||||
internal_static_ServerConnectInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_ServerConnectInfo_descriptor,
|
||||
new java.lang.String[] { "ServerAddr", "ServerPort", "Otp", "RoomId", "Pos", "InstanceId", "MyhomeInfo", "InstanceType", });
|
||||
internal_static_MyHomeInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(3);
|
||||
getDescriptor().getMessageTypes().get(4);
|
||||
internal_static_MyHomeInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_MyHomeInfo_descriptor,
|
||||
new java.lang.String[] { "MyhomeGuid", "MyhomeName", "MyhomeUgcInfo", });
|
||||
internal_static_MyhomeUgcInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(4);
|
||||
getDescriptor().getMessageTypes().get(5);
|
||||
internal_static_MyhomeUgcInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_MyhomeUgcInfo_descriptor,
|
||||
new java.lang.String[] { "RoomType", "Version", "FrameworkInfos", "AnchorInfos", "CrafterBeaconPos", });
|
||||
internal_static_UgcFrameworkInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(5);
|
||||
getDescriptor().getMessageTypes().get(6);
|
||||
internal_static_UgcFrameworkInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_UgcFrameworkInfo_descriptor,
|
||||
new java.lang.String[] { "InteriorItemId", "Floor", "Coordinate", "Rotation", "MaterialId", "UgcFrameworkMaterialInfos", });
|
||||
internal_static_UgcFrameworkMaterialInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(6);
|
||||
getDescriptor().getMessageTypes().get(7);
|
||||
internal_static_UgcFrameworkMaterialInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_UgcFrameworkMaterialInfo_descriptor,
|
||||
new java.lang.String[] { "Type", "MaterialId", "ColorMaskR", "ColorMaskG", "ColorMaskB", });
|
||||
internal_static_Color_descriptor =
|
||||
getDescriptor().getMessageTypes().get(7);
|
||||
getDescriptor().getMessageTypes().get(8);
|
||||
internal_static_Color_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_Color_descriptor,
|
||||
new java.lang.String[] { "R", "G", "B", "A", });
|
||||
internal_static_UgcAnchorInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(8);
|
||||
getDescriptor().getMessageTypes().get(9);
|
||||
internal_static_UgcAnchorInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_UgcAnchorInfo_descriptor,
|
||||
new java.lang.String[] { "AnchorGuid", "AnchorType", "TableId", "EntityGuid", "Coordinate", "Rotation", });
|
||||
internal_static_CrafterBeaconPos_descriptor =
|
||||
getDescriptor().getMessageTypes().get(9);
|
||||
getDescriptor().getMessageTypes().get(10);
|
||||
internal_static_CrafterBeaconPos_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_CrafterBeaconPos_descriptor,
|
||||
new java.lang.String[] { "AnchorGuid", "CrafterBeaconPos", });
|
||||
internal_static_Coordinate_descriptor =
|
||||
getDescriptor().getMessageTypes().get(10);
|
||||
getDescriptor().getMessageTypes().get(11);
|
||||
internal_static_Coordinate_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_Coordinate_descriptor,
|
||||
new java.lang.String[] { "X", "Y", "Z", });
|
||||
internal_static_Rotation_descriptor =
|
||||
getDescriptor().getMessageTypes().get(11);
|
||||
getDescriptor().getMessageTypes().get(12);
|
||||
internal_static_Rotation_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_Rotation_descriptor,
|
||||
new java.lang.String[] { "Pitch", "Yaw", "Roll", });
|
||||
internal_static_StringProfile_descriptor =
|
||||
getDescriptor().getMessageTypes().get(12);
|
||||
getDescriptor().getMessageTypes().get(13);
|
||||
internal_static_StringProfile_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_StringProfile_descriptor,
|
||||
@@ -394,29 +470,47 @@ public final class DefineCommon {
|
||||
internal_static_StringProfile_StringProfileEntry_descriptor,
|
||||
new java.lang.String[] { "Key", "Value", });
|
||||
internal_static_UserLocationInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(13);
|
||||
getDescriptor().getMessageTypes().get(14);
|
||||
internal_static_UserLocationInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_UserLocationInfo_descriptor,
|
||||
new java.lang.String[] { "IsChannel", "Id", "ChannelNumber", });
|
||||
internal_static_Pos_descriptor =
|
||||
getDescriptor().getMessageTypes().get(14);
|
||||
getDescriptor().getMessageTypes().get(15);
|
||||
internal_static_Pos_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_Pos_descriptor,
|
||||
new java.lang.String[] { "X", "Y", "Z", "Angle", });
|
||||
internal_static_Money_descriptor =
|
||||
getDescriptor().getMessageTypes().get(15);
|
||||
getDescriptor().getMessageTypes().get(16);
|
||||
internal_static_Money_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_Money_descriptor,
|
||||
new java.lang.String[] { "Amount", });
|
||||
internal_static_MoneyDeltaAmount_descriptor =
|
||||
getDescriptor().getMessageTypes().get(16);
|
||||
getDescriptor().getMessageTypes().get(17);
|
||||
internal_static_MoneyDeltaAmount_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_MoneyDeltaAmount_descriptor,
|
||||
new java.lang.String[] { "DeltaType", "Amount", });
|
||||
internal_static_MatchUserInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(18);
|
||||
internal_static_MatchUserInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_MatchUserInfo_descriptor,
|
||||
new java.lang.String[] { "UserGuid", "ServerName", "GameModeId", "MatchGroupId", "Region", "StartTime", "Status", });
|
||||
internal_static_MatchStatusInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(19);
|
||||
internal_static_MatchStatusInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_MatchStatusInfo_descriptor,
|
||||
new java.lang.String[] { "Status", "MatchStep", "WaitTimeSec", "WaitTimeMaxSec", });
|
||||
internal_static_MatchRegionInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(20);
|
||||
internal_static_MatchRegionInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_MatchRegionInfo_descriptor,
|
||||
new java.lang.String[] { "Name", "TextStringMetaId", "PingUrl", });
|
||||
com.google.protobuf.TimestampProto.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,122 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code GameModeDeadType}
|
||||
*/
|
||||
public enum GameModeDeadType
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>GameModeDeadType_None = 0;</code>
|
||||
*/
|
||||
GameModeDeadType_None(0),
|
||||
/**
|
||||
* <code>GameModeDeadType_ByOthers = 1;</code>
|
||||
*/
|
||||
GameModeDeadType_ByOthers(1),
|
||||
/**
|
||||
* <code>GameModeDeadType_Fall = 2;</code>
|
||||
*/
|
||||
GameModeDeadType_Fall(2),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>GameModeDeadType_None = 0;</code>
|
||||
*/
|
||||
public static final int GameModeDeadType_None_VALUE = 0;
|
||||
/**
|
||||
* <code>GameModeDeadType_ByOthers = 1;</code>
|
||||
*/
|
||||
public static final int GameModeDeadType_ByOthers_VALUE = 1;
|
||||
/**
|
||||
* <code>GameModeDeadType_Fall = 2;</code>
|
||||
*/
|
||||
public static final int GameModeDeadType_Fall_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 GameModeDeadType 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 GameModeDeadType forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return GameModeDeadType_None;
|
||||
case 1: return GameModeDeadType_ByOthers;
|
||||
case 2: return GameModeDeadType_Fall;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<GameModeDeadType>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
GameModeDeadType> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<GameModeDeadType>() {
|
||||
public GameModeDeadType findValueByNumber(int number) {
|
||||
return GameModeDeadType.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(40);
|
||||
}
|
||||
|
||||
private static final GameModeDeadType[] VALUES = values();
|
||||
|
||||
public static GameModeDeadType 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 GameModeDeadType(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:GameModeDeadType)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,113 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code GameModeKickReason}
|
||||
*/
|
||||
public enum GameModeKickReason
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>GameModeKickReason_None = 0;</code>
|
||||
*/
|
||||
GameModeKickReason_None(0),
|
||||
/**
|
||||
* <code>GameModeKickReason_LoadingTimeExpired = 1;</code>
|
||||
*/
|
||||
GameModeKickReason_LoadingTimeExpired(1),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>GameModeKickReason_None = 0;</code>
|
||||
*/
|
||||
public static final int GameModeKickReason_None_VALUE = 0;
|
||||
/**
|
||||
* <code>GameModeKickReason_LoadingTimeExpired = 1;</code>
|
||||
*/
|
||||
public static final int GameModeKickReason_LoadingTimeExpired_VALUE = 1;
|
||||
|
||||
|
||||
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 GameModeKickReason 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 GameModeKickReason forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return GameModeKickReason_None;
|
||||
case 1: return GameModeKickReason_LoadingTimeExpired;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<GameModeKickReason>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
GameModeKickReason> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<GameModeKickReason>() {
|
||||
public GameModeKickReason findValueByNumber(int number) {
|
||||
return GameModeKickReason.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(39);
|
||||
}
|
||||
|
||||
private static final GameModeKickReason[] VALUES = values();
|
||||
|
||||
public static GameModeKickReason 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 GameModeKickReason(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:GameModeKickReason)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,638 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf type {@code GameModeObjectInfo}
|
||||
*/
|
||||
public final class GameModeObjectInfo extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:GameModeObjectInfo)
|
||||
GameModeObjectInfoOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use GameModeObjectInfo.newBuilder() to construct.
|
||||
private GameModeObjectInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private GameModeObjectInfo() {
|
||||
anchorGuid_ = "";
|
||||
isActive_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new GameModeObjectInfo();
|
||||
}
|
||||
|
||||
@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_GameModeObjectInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeObjectInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo.class, com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int ANCHORGUID_FIELD_NUMBER = 1;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object anchorGuid_ = "";
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @return The anchorGuid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getAnchorGuid() {
|
||||
java.lang.Object ref = anchorGuid_;
|
||||
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();
|
||||
anchorGuid_ = s;
|
||||
return s;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @return The bytes for anchorGuid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getAnchorGuidBytes() {
|
||||
java.lang.Object ref = anchorGuid_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
anchorGuid_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
|
||||
public static final int ISACTIVE_FIELD_NUMBER = 2;
|
||||
private int isActive_ = 0;
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @return The enum numeric value on the wire for isActive.
|
||||
*/
|
||||
@java.lang.Override public int getIsActiveValue() {
|
||||
return isActive_;
|
||||
}
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @return The isActive.
|
||||
*/
|
||||
@java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsActive() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isActive_);
|
||||
return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result;
|
||||
}
|
||||
|
||||
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(anchorGuid_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, anchorGuid_);
|
||||
}
|
||||
if (isActive_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) {
|
||||
output.writeEnum(2, isActive_);
|
||||
}
|
||||
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(anchorGuid_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, anchorGuid_);
|
||||
}
|
||||
if (isActive_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(2, isActive_);
|
||||
}
|
||||
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.GameModeObjectInfo)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo other = (com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo) obj;
|
||||
|
||||
if (!getAnchorGuid()
|
||||
.equals(other.getAnchorGuid())) return false;
|
||||
if (isActive_ != other.isActive_) 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) + ANCHORGUID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getAnchorGuid().hashCode();
|
||||
hash = (37 * hash) + ISACTIVE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + isActive_;
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo 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.GameModeObjectInfo parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo 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.GameModeObjectInfo parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo 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.GameModeObjectInfo 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.GameModeObjectInfo 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.GameModeObjectInfo 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.GameModeObjectInfo 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.GameModeObjectInfo 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.GameModeObjectInfo 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.GameModeObjectInfo 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 GameModeObjectInfo}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:GameModeObjectInfo)
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfoOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeObjectInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeObjectInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo.class, com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
anchorGuid_ = "";
|
||||
isActive_ = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeObjectInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo getDefaultInstanceForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo build() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo buildPartial() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo result = new com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.anchorGuid_ = anchorGuid_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||
result.isActive_ = isActive_;
|
||||
}
|
||||
}
|
||||
|
||||
@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.GameModeObjectInfo) {
|
||||
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo other) {
|
||||
if (other == com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo.getDefaultInstance()) return this;
|
||||
if (!other.getAnchorGuid().isEmpty()) {
|
||||
anchorGuid_ = other.anchorGuid_;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
}
|
||||
if (other.isActive_ != 0) {
|
||||
setIsActiveValue(other.getIsActiveValue());
|
||||
}
|
||||
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: {
|
||||
anchorGuid_ = input.readStringRequireUtf8();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 10
|
||||
case 16: {
|
||||
isActive_ = input.readEnum();
|
||||
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 java.lang.Object anchorGuid_ = "";
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @return The anchorGuid.
|
||||
*/
|
||||
public java.lang.String getAnchorGuid() {
|
||||
java.lang.Object ref = anchorGuid_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
anchorGuid_ = s;
|
||||
return s;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @return The bytes for anchorGuid.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getAnchorGuidBytes() {
|
||||
java.lang.Object ref = anchorGuid_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
anchorGuid_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @param value The anchorGuid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setAnchorGuid(
|
||||
java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
anchorGuid_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearAnchorGuid() {
|
||||
anchorGuid_ = getDefaultInstance().getAnchorGuid();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @param value The bytes for anchorGuid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setAnchorGuidBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
anchorGuid_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int isActive_ = 0;
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @return The enum numeric value on the wire for isActive.
|
||||
*/
|
||||
@java.lang.Override public int getIsActiveValue() {
|
||||
return isActive_;
|
||||
}
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @param value The enum numeric value on the wire for isActive to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setIsActiveValue(int value) {
|
||||
isActive_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @return The isActive.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsActive() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isActive_);
|
||||
return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @param value The isActive to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setIsActive(com.caliverse.admin.domain.RabbitMq.message.BoolType value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
bitField0_ |= 0x00000002;
|
||||
isActive_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIsActive() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
isActive_ = 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:GameModeObjectInfo)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:GameModeObjectInfo)
|
||||
private static final com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo();
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<GameModeObjectInfo>
|
||||
PARSER = new com.google.protobuf.AbstractParser<GameModeObjectInfo>() {
|
||||
@java.lang.Override
|
||||
public GameModeObjectInfo 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<GameModeObjectInfo> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<GameModeObjectInfo> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
public interface GameModeObjectInfoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:GameModeObjectInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @return The anchorGuid.
|
||||
*/
|
||||
java.lang.String getAnchorGuid();
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @return The bytes for anchorGuid.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getAnchorGuidBytes();
|
||||
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @return The enum numeric value on the wire for isActive.
|
||||
*/
|
||||
int getIsActiveValue();
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @return The isActive.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.BoolType getIsActive();
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code GameModePlayerState}
|
||||
*/
|
||||
public enum GameModePlayerState
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>GameModePlayerState_None = 0;</code>
|
||||
*/
|
||||
GameModePlayerState_None(0),
|
||||
/**
|
||||
* <code>GameModePlayerState_Join = 1;</code>
|
||||
*/
|
||||
GameModePlayerState_Join(1),
|
||||
/**
|
||||
* <code>GameModePlayerState_LoadComplete = 2;</code>
|
||||
*/
|
||||
GameModePlayerState_LoadComplete(2),
|
||||
/**
|
||||
* <code>GameModePlayerState_Wait = 3;</code>
|
||||
*/
|
||||
GameModePlayerState_Wait(3),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>GameModePlayerState_None = 0;</code>
|
||||
*/
|
||||
public static final int GameModePlayerState_None_VALUE = 0;
|
||||
/**
|
||||
* <code>GameModePlayerState_Join = 1;</code>
|
||||
*/
|
||||
public static final int GameModePlayerState_Join_VALUE = 1;
|
||||
/**
|
||||
* <code>GameModePlayerState_LoadComplete = 2;</code>
|
||||
*/
|
||||
public static final int GameModePlayerState_LoadComplete_VALUE = 2;
|
||||
/**
|
||||
* <code>GameModePlayerState_Wait = 3;</code>
|
||||
*/
|
||||
public static final int GameModePlayerState_Wait_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 GameModePlayerState 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 GameModePlayerState forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return GameModePlayerState_None;
|
||||
case 1: return GameModePlayerState_Join;
|
||||
case 2: return GameModePlayerState_LoadComplete;
|
||||
case 3: return GameModePlayerState_Wait;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<GameModePlayerState>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
GameModePlayerState> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<GameModePlayerState>() {
|
||||
public GameModePlayerState findValueByNumber(int number) {
|
||||
return GameModePlayerState.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(38);
|
||||
}
|
||||
|
||||
private static final GameModePlayerState[] VALUES = values();
|
||||
|
||||
public static GameModePlayerState 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 GameModePlayerState(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:GameModePlayerState)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,819 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf type {@code GameModeRewardResult}
|
||||
*/
|
||||
public final class GameModeRewardResult extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:GameModeRewardResult)
|
||||
GameModeRewardResultOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use GameModeRewardResult.newBuilder() to construct.
|
||||
private GameModeRewardResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private GameModeRewardResult() {
|
||||
userGuid_ = "";
|
||||
rewardType_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new GameModeRewardResult();
|
||||
}
|
||||
|
||||
@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_GameModeRewardResult_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResult_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.class, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder.class);
|
||||
}
|
||||
|
||||
public static final int USERGUID_FIELD_NUMBER = 1;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object userGuid_ = "";
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @return The userGuid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getUserGuid() {
|
||||
java.lang.Object ref = userGuid_;
|
||||
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();
|
||||
userGuid_ = s;
|
||||
return s;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @return The bytes for userGuid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getUserGuidBytes() {
|
||||
java.lang.Object ref = userGuid_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
userGuid_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
|
||||
public static final int REWARDTYPE_FIELD_NUMBER = 2;
|
||||
private int rewardType_ = 0;
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @return The enum numeric value on the wire for rewardType.
|
||||
*/
|
||||
@java.lang.Override public int getRewardTypeValue() {
|
||||
return rewardType_;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @return The rewardType.
|
||||
*/
|
||||
@java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType getRewardType() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType result = com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.forNumber(rewardType_);
|
||||
return result == null ? com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.UNRECOGNIZED : result;
|
||||
}
|
||||
|
||||
public static final int COMMONRESULT_FIELD_NUMBER = 3;
|
||||
private com.caliverse.admin.domain.RabbitMq.message.CommonResult commonResult_;
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
* @return Whether the commonResult field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasCommonResult() {
|
||||
return commonResult_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
* @return The commonResult.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.CommonResult getCommonResult() {
|
||||
return commonResult_ == null ? com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance() : commonResult_;
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder getCommonResultOrBuilder() {
|
||||
return commonResult_ == null ? com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance() : commonResult_;
|
||||
}
|
||||
|
||||
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(userGuid_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userGuid_);
|
||||
}
|
||||
if (rewardType_ != com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.GameModeRewardType_None.getNumber()) {
|
||||
output.writeEnum(2, rewardType_);
|
||||
}
|
||||
if (commonResult_ != null) {
|
||||
output.writeMessage(3, getCommonResult());
|
||||
}
|
||||
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(userGuid_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userGuid_);
|
||||
}
|
||||
if (rewardType_ != com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.GameModeRewardType_None.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(2, rewardType_);
|
||||
}
|
||||
if (commonResult_ != null) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(3, getCommonResult());
|
||||
}
|
||||
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.GameModeRewardResult)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult other = (com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult) obj;
|
||||
|
||||
if (!getUserGuid()
|
||||
.equals(other.getUserGuid())) return false;
|
||||
if (rewardType_ != other.rewardType_) return false;
|
||||
if (hasCommonResult() != other.hasCommonResult()) return false;
|
||||
if (hasCommonResult()) {
|
||||
if (!getCommonResult()
|
||||
.equals(other.getCommonResult())) 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) + USERGUID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getUserGuid().hashCode();
|
||||
hash = (37 * hash) + REWARDTYPE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + rewardType_;
|
||||
if (hasCommonResult()) {
|
||||
hash = (37 * hash) + COMMONRESULT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCommonResult().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult 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.GameModeRewardResult parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult 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.GameModeRewardResult parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult 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.GameModeRewardResult 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.GameModeRewardResult 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.GameModeRewardResult 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.GameModeRewardResult 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.GameModeRewardResult 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.GameModeRewardResult 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.GameModeRewardResult 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 GameModeRewardResult}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:GameModeRewardResult)
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResult_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResult_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.class, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
userGuid_ = "";
|
||||
rewardType_ = 0;
|
||||
commonResult_ = null;
|
||||
if (commonResultBuilder_ != null) {
|
||||
commonResultBuilder_.dispose();
|
||||
commonResultBuilder_ = null;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResult_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult getDefaultInstanceForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult build() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult buildPartial() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult result = new com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.userGuid_ = userGuid_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||
result.rewardType_ = rewardType_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000004) != 0)) {
|
||||
result.commonResult_ = commonResultBuilder_ == null
|
||||
? commonResult_
|
||||
: commonResultBuilder_.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.GameModeRewardResult) {
|
||||
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult other) {
|
||||
if (other == com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance()) return this;
|
||||
if (!other.getUserGuid().isEmpty()) {
|
||||
userGuid_ = other.userGuid_;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
}
|
||||
if (other.rewardType_ != 0) {
|
||||
setRewardTypeValue(other.getRewardTypeValue());
|
||||
}
|
||||
if (other.hasCommonResult()) {
|
||||
mergeCommonResult(other.getCommonResult());
|
||||
}
|
||||
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: {
|
||||
userGuid_ = input.readStringRequireUtf8();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 10
|
||||
case 16: {
|
||||
rewardType_ = input.readEnum();
|
||||
bitField0_ |= 0x00000002;
|
||||
break;
|
||||
} // case 16
|
||||
case 26: {
|
||||
input.readMessage(
|
||||
getCommonResultFieldBuilder().getBuilder(),
|
||||
extensionRegistry);
|
||||
bitField0_ |= 0x00000004;
|
||||
break;
|
||||
} // case 26
|
||||
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 userGuid_ = "";
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @return The userGuid.
|
||||
*/
|
||||
public java.lang.String getUserGuid() {
|
||||
java.lang.Object ref = userGuid_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
userGuid_ = s;
|
||||
return s;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @return The bytes for userGuid.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getUserGuidBytes() {
|
||||
java.lang.Object ref = userGuid_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
userGuid_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @param value The userGuid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setUserGuid(
|
||||
java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
userGuid_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearUserGuid() {
|
||||
userGuid_ = getDefaultInstance().getUserGuid();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @param value The bytes for userGuid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setUserGuidBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
userGuid_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int rewardType_ = 0;
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @return The enum numeric value on the wire for rewardType.
|
||||
*/
|
||||
@java.lang.Override public int getRewardTypeValue() {
|
||||
return rewardType_;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @param value The enum numeric value on the wire for rewardType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRewardTypeValue(int value) {
|
||||
rewardType_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @return The rewardType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType getRewardType() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType result = com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.forNumber(rewardType_);
|
||||
return result == null ? com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @param value The rewardType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRewardType(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
bitField0_ |= 0x00000002;
|
||||
rewardType_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRewardType() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
rewardType_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.caliverse.admin.domain.RabbitMq.message.CommonResult commonResult_;
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.CommonResult, com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder, com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder> commonResultBuilder_;
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
* @return Whether the commonResult field is set.
|
||||
*/
|
||||
public boolean hasCommonResult() {
|
||||
return ((bitField0_ & 0x00000004) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
* @return The commonResult.
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.CommonResult getCommonResult() {
|
||||
if (commonResultBuilder_ == null) {
|
||||
return commonResult_ == null ? com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance() : commonResult_;
|
||||
} else {
|
||||
return commonResultBuilder_.getMessage();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
public Builder setCommonResult(com.caliverse.admin.domain.RabbitMq.message.CommonResult value) {
|
||||
if (commonResultBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
commonResult_ = value;
|
||||
} else {
|
||||
commonResultBuilder_.setMessage(value);
|
||||
}
|
||||
bitField0_ |= 0x00000004;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
public Builder setCommonResult(
|
||||
com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder builderForValue) {
|
||||
if (commonResultBuilder_ == null) {
|
||||
commonResult_ = builderForValue.build();
|
||||
} else {
|
||||
commonResultBuilder_.setMessage(builderForValue.build());
|
||||
}
|
||||
bitField0_ |= 0x00000004;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
public Builder mergeCommonResult(com.caliverse.admin.domain.RabbitMq.message.CommonResult value) {
|
||||
if (commonResultBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000004) != 0) &&
|
||||
commonResult_ != null &&
|
||||
commonResult_ != com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance()) {
|
||||
getCommonResultBuilder().mergeFrom(value);
|
||||
} else {
|
||||
commonResult_ = value;
|
||||
}
|
||||
} else {
|
||||
commonResultBuilder_.mergeFrom(value);
|
||||
}
|
||||
bitField0_ |= 0x00000004;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
public Builder clearCommonResult() {
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
commonResult_ = null;
|
||||
if (commonResultBuilder_ != null) {
|
||||
commonResultBuilder_.dispose();
|
||||
commonResultBuilder_ = null;
|
||||
}
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder getCommonResultBuilder() {
|
||||
bitField0_ |= 0x00000004;
|
||||
onChanged();
|
||||
return getCommonResultFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder getCommonResultOrBuilder() {
|
||||
if (commonResultBuilder_ != null) {
|
||||
return commonResultBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
return commonResult_ == null ?
|
||||
com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance() : commonResult_;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.CommonResult, com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder, com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder>
|
||||
getCommonResultFieldBuilder() {
|
||||
if (commonResultBuilder_ == null) {
|
||||
commonResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.CommonResult, com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder, com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder>(
|
||||
getCommonResult(),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
commonResult_ = null;
|
||||
}
|
||||
return commonResultBuilder_;
|
||||
}
|
||||
@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:GameModeRewardResult)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:GameModeRewardResult)
|
||||
private static final com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult();
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<GameModeRewardResult>
|
||||
PARSER = new com.google.protobuf.AbstractParser<GameModeRewardResult>() {
|
||||
@java.lang.Override
|
||||
public GameModeRewardResult 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<GameModeRewardResult> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<GameModeRewardResult> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
public interface GameModeRewardResultOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:GameModeRewardResult)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @return The userGuid.
|
||||
*/
|
||||
java.lang.String getUserGuid();
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @return The bytes for userGuid.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getUserGuidBytes();
|
||||
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @return The enum numeric value on the wire for rewardType.
|
||||
*/
|
||||
int getRewardTypeValue();
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @return The rewardType.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType getRewardType();
|
||||
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
* @return Whether the commonResult field is set.
|
||||
*/
|
||||
boolean hasCommonResult();
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
* @return The commonResult.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.CommonResult getCommonResult();
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder getCommonResultOrBuilder();
|
||||
}
|
||||
@@ -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 GameModeRewardResultWithRank}
|
||||
*/
|
||||
public final class GameModeRewardResultWithRank extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:GameModeRewardResultWithRank)
|
||||
GameModeRewardResultWithRankOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use GameModeRewardResultWithRank.newBuilder() to construct.
|
||||
private GameModeRewardResultWithRank(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private GameModeRewardResultWithRank() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new GameModeRewardResultWithRank();
|
||||
}
|
||||
|
||||
@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_GameModeRewardResultWithRank_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResultWithRank_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank.class, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank.Builder.class);
|
||||
}
|
||||
|
||||
public static final int RANK_FIELD_NUMBER = 1;
|
||||
private int rank_ = 0;
|
||||
/**
|
||||
* <code>int32 rank = 1;</code>
|
||||
* @return The rank.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRank() {
|
||||
return rank_;
|
||||
}
|
||||
|
||||
public static final int REWARDRESULT_FIELD_NUMBER = 2;
|
||||
private com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult rewardResult_;
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
* @return Whether the rewardResult field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasRewardResult() {
|
||||
return rewardResult_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
* @return The rewardResult.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult getRewardResult() {
|
||||
return rewardResult_ == null ? com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance() : rewardResult_;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultOrBuilder getRewardResultOrBuilder() {
|
||||
return rewardResult_ == null ? com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance() : rewardResult_;
|
||||
}
|
||||
|
||||
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 (rank_ != 0) {
|
||||
output.writeInt32(1, rank_);
|
||||
}
|
||||
if (rewardResult_ != null) {
|
||||
output.writeMessage(2, getRewardResult());
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (rank_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(1, rank_);
|
||||
}
|
||||
if (rewardResult_ != null) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, getRewardResult());
|
||||
}
|
||||
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.GameModeRewardResultWithRank)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank other = (com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank) obj;
|
||||
|
||||
if (getRank()
|
||||
!= other.getRank()) return false;
|
||||
if (hasRewardResult() != other.hasRewardResult()) return false;
|
||||
if (hasRewardResult()) {
|
||||
if (!getRewardResult()
|
||||
.equals(other.getRewardResult())) 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) + RANK_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRank();
|
||||
if (hasRewardResult()) {
|
||||
hash = (37 * hash) + REWARDRESULT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRewardResult().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank 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 GameModeRewardResultWithRank}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:GameModeRewardResultWithRank)
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRankOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResultWithRank_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResultWithRank_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank.class, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
rank_ = 0;
|
||||
rewardResult_ = null;
|
||||
if (rewardResultBuilder_ != null) {
|
||||
rewardResultBuilder_.dispose();
|
||||
rewardResultBuilder_ = null;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResultWithRank_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank getDefaultInstanceForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank build() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank buildPartial() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank result = new com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.rank_ = rank_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||
result.rewardResult_ = rewardResultBuilder_ == null
|
||||
? rewardResult_
|
||||
: rewardResultBuilder_.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.GameModeRewardResultWithRank) {
|
||||
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank other) {
|
||||
if (other == com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank.getDefaultInstance()) return this;
|
||||
if (other.getRank() != 0) {
|
||||
setRank(other.getRank());
|
||||
}
|
||||
if (other.hasRewardResult()) {
|
||||
mergeRewardResult(other.getRewardResult());
|
||||
}
|
||||
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: {
|
||||
rank_ = input.readInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 8
|
||||
case 18: {
|
||||
input.readMessage(
|
||||
getRewardResultFieldBuilder().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 rank_ ;
|
||||
/**
|
||||
* <code>int32 rank = 1;</code>
|
||||
* @return The rank.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRank() {
|
||||
return rank_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 rank = 1;</code>
|
||||
* @param value The rank to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRank(int value) {
|
||||
|
||||
rank_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 rank = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRank() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
rank_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult rewardResult_;
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultOrBuilder> rewardResultBuilder_;
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
* @return Whether the rewardResult field is set.
|
||||
*/
|
||||
public boolean hasRewardResult() {
|
||||
return ((bitField0_ & 0x00000002) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
* @return The rewardResult.
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult getRewardResult() {
|
||||
if (rewardResultBuilder_ == null) {
|
||||
return rewardResult_ == null ? com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance() : rewardResult_;
|
||||
} else {
|
||||
return rewardResultBuilder_.getMessage();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
public Builder setRewardResult(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult value) {
|
||||
if (rewardResultBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
rewardResult_ = value;
|
||||
} else {
|
||||
rewardResultBuilder_.setMessage(value);
|
||||
}
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
public Builder setRewardResult(
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder builderForValue) {
|
||||
if (rewardResultBuilder_ == null) {
|
||||
rewardResult_ = builderForValue.build();
|
||||
} else {
|
||||
rewardResultBuilder_.setMessage(builderForValue.build());
|
||||
}
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
public Builder mergeRewardResult(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult value) {
|
||||
if (rewardResultBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000002) != 0) &&
|
||||
rewardResult_ != null &&
|
||||
rewardResult_ != com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance()) {
|
||||
getRewardResultBuilder().mergeFrom(value);
|
||||
} else {
|
||||
rewardResult_ = value;
|
||||
}
|
||||
} else {
|
||||
rewardResultBuilder_.mergeFrom(value);
|
||||
}
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
public Builder clearRewardResult() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
rewardResult_ = null;
|
||||
if (rewardResultBuilder_ != null) {
|
||||
rewardResultBuilder_.dispose();
|
||||
rewardResultBuilder_ = null;
|
||||
}
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder getRewardResultBuilder() {
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return getRewardResultFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultOrBuilder getRewardResultOrBuilder() {
|
||||
if (rewardResultBuilder_ != null) {
|
||||
return rewardResultBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
return rewardResult_ == null ?
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance() : rewardResult_;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultOrBuilder>
|
||||
getRewardResultFieldBuilder() {
|
||||
if (rewardResultBuilder_ == null) {
|
||||
rewardResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultOrBuilder>(
|
||||
getRewardResult(),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
rewardResult_ = null;
|
||||
}
|
||||
return rewardResultBuilder_;
|
||||
}
|
||||
@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:GameModeRewardResultWithRank)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:GameModeRewardResultWithRank)
|
||||
private static final com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank();
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<GameModeRewardResultWithRank>
|
||||
PARSER = new com.google.protobuf.AbstractParser<GameModeRewardResultWithRank>() {
|
||||
@java.lang.Override
|
||||
public GameModeRewardResultWithRank 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<GameModeRewardResultWithRank> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<GameModeRewardResultWithRank> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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 GameModeRewardResultWithRankOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:GameModeRewardResultWithRank)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>int32 rank = 1;</code>
|
||||
* @return The rank.
|
||||
*/
|
||||
int getRank();
|
||||
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
* @return Whether the rewardResult field is set.
|
||||
*/
|
||||
boolean hasRewardResult();
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
* @return The rewardResult.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult getRewardResult();
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultOrBuilder getRewardResultOrBuilder();
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code GameModeRewardType}
|
||||
*/
|
||||
public enum GameModeRewardType
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>GameModeRewardType_None = 0;</code>
|
||||
*/
|
||||
GameModeRewardType_None(0),
|
||||
/**
|
||||
* <code>GameModeRewardType_GetPickUpPod = 1;</code>
|
||||
*/
|
||||
GameModeRewardType_GetPickUpPod(1),
|
||||
/**
|
||||
* <code>GameModeRewardType_ObtainedByOwningForTime = 2;</code>
|
||||
*/
|
||||
GameModeRewardType_ObtainedByOwningForTime(2),
|
||||
/**
|
||||
* <code>GameModeRewardType_FinishRankReward = 3;</code>
|
||||
*/
|
||||
GameModeRewardType_FinishRankReward(3),
|
||||
/**
|
||||
* <code>GameModeRewardType_MinRespawnBonusReward = 4;</code>
|
||||
*/
|
||||
GameModeRewardType_MinRespawnBonusReward(4),
|
||||
/**
|
||||
* <code>GameModeRewardType_UnfinishRankReward = 5;</code>
|
||||
*/
|
||||
GameModeRewardType_UnfinishRankReward(5),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>GameModeRewardType_None = 0;</code>
|
||||
*/
|
||||
public static final int GameModeRewardType_None_VALUE = 0;
|
||||
/**
|
||||
* <code>GameModeRewardType_GetPickUpPod = 1;</code>
|
||||
*/
|
||||
public static final int GameModeRewardType_GetPickUpPod_VALUE = 1;
|
||||
/**
|
||||
* <code>GameModeRewardType_ObtainedByOwningForTime = 2;</code>
|
||||
*/
|
||||
public static final int GameModeRewardType_ObtainedByOwningForTime_VALUE = 2;
|
||||
/**
|
||||
* <code>GameModeRewardType_FinishRankReward = 3;</code>
|
||||
*/
|
||||
public static final int GameModeRewardType_FinishRankReward_VALUE = 3;
|
||||
/**
|
||||
* <code>GameModeRewardType_MinRespawnBonusReward = 4;</code>
|
||||
*/
|
||||
public static final int GameModeRewardType_MinRespawnBonusReward_VALUE = 4;
|
||||
/**
|
||||
* <code>GameModeRewardType_UnfinishRankReward = 5;</code>
|
||||
*/
|
||||
public static final int GameModeRewardType_UnfinishRankReward_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 GameModeRewardType 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 GameModeRewardType forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return GameModeRewardType_None;
|
||||
case 1: return GameModeRewardType_GetPickUpPod;
|
||||
case 2: return GameModeRewardType_ObtainedByOwningForTime;
|
||||
case 3: return GameModeRewardType_FinishRankReward;
|
||||
case 4: return GameModeRewardType_MinRespawnBonusReward;
|
||||
case 5: return GameModeRewardType_UnfinishRankReward;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<GameModeRewardType>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
GameModeRewardType> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<GameModeRewardType>() {
|
||||
public GameModeRewardType findValueByNumber(int number) {
|
||||
return GameModeRewardType.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(41);
|
||||
}
|
||||
|
||||
private static final GameModeRewardType[] VALUES = values();
|
||||
|
||||
public static GameModeRewardType 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 GameModeRewardType(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:GameModeRewardType)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,220 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code GameModeState}
|
||||
*/
|
||||
public enum GameModeState
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>GameModeState_None = 0;</code>
|
||||
*/
|
||||
GameModeState_None(0),
|
||||
/**
|
||||
* <code>GameModeState_Loading = 1;</code>
|
||||
*/
|
||||
GameModeState_Loading(1),
|
||||
/**
|
||||
* <code>GameModeState_Created = 2;</code>
|
||||
*/
|
||||
GameModeState_Created(2),
|
||||
/**
|
||||
* <code>GameModeState_Destroyed = 3;</code>
|
||||
*/
|
||||
GameModeState_Destroyed(3),
|
||||
/**
|
||||
* <code>GameModeState_Wait = 11;</code>
|
||||
*/
|
||||
GameModeState_Wait(11),
|
||||
/**
|
||||
* <code>GameModeState_Ready = 12;</code>
|
||||
*/
|
||||
GameModeState_Ready(12),
|
||||
/**
|
||||
* <code>GameModeState_Play = 13;</code>
|
||||
*/
|
||||
GameModeState_Play(13),
|
||||
/**
|
||||
* <code>GameModeState_Result = 14;</code>
|
||||
*/
|
||||
GameModeState_Result(14),
|
||||
/**
|
||||
* <code>GameModeState_RewardSummary = 15;</code>
|
||||
*/
|
||||
GameModeState_RewardSummary(15),
|
||||
/**
|
||||
* <code>GameModeState_End = 16;</code>
|
||||
*/
|
||||
GameModeState_End(16),
|
||||
/**
|
||||
* <pre>
|
||||
*TPS FFA <20><><EFBFBD><EFBFBD> FFA<46><41><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
* </pre>
|
||||
*
|
||||
* <code>GameModeState_Rounding = 31;</code>
|
||||
*/
|
||||
GameModeState_Rounding(31),
|
||||
/**
|
||||
* <code>GameModeState_RoundWait = 32;</code>
|
||||
*/
|
||||
GameModeState_RoundWait(32),
|
||||
/**
|
||||
* <code>GameModeState_RoundEndAll = 33;</code>
|
||||
*/
|
||||
GameModeState_RoundEndAll(33),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>GameModeState_None = 0;</code>
|
||||
*/
|
||||
public static final int GameModeState_None_VALUE = 0;
|
||||
/**
|
||||
* <code>GameModeState_Loading = 1;</code>
|
||||
*/
|
||||
public static final int GameModeState_Loading_VALUE = 1;
|
||||
/**
|
||||
* <code>GameModeState_Created = 2;</code>
|
||||
*/
|
||||
public static final int GameModeState_Created_VALUE = 2;
|
||||
/**
|
||||
* <code>GameModeState_Destroyed = 3;</code>
|
||||
*/
|
||||
public static final int GameModeState_Destroyed_VALUE = 3;
|
||||
/**
|
||||
* <code>GameModeState_Wait = 11;</code>
|
||||
*/
|
||||
public static final int GameModeState_Wait_VALUE = 11;
|
||||
/**
|
||||
* <code>GameModeState_Ready = 12;</code>
|
||||
*/
|
||||
public static final int GameModeState_Ready_VALUE = 12;
|
||||
/**
|
||||
* <code>GameModeState_Play = 13;</code>
|
||||
*/
|
||||
public static final int GameModeState_Play_VALUE = 13;
|
||||
/**
|
||||
* <code>GameModeState_Result = 14;</code>
|
||||
*/
|
||||
public static final int GameModeState_Result_VALUE = 14;
|
||||
/**
|
||||
* <code>GameModeState_RewardSummary = 15;</code>
|
||||
*/
|
||||
public static final int GameModeState_RewardSummary_VALUE = 15;
|
||||
/**
|
||||
* <code>GameModeState_End = 16;</code>
|
||||
*/
|
||||
public static final int GameModeState_End_VALUE = 16;
|
||||
/**
|
||||
* <pre>
|
||||
*TPS FFA <20><><EFBFBD><EFBFBD> FFA<46><41><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
* </pre>
|
||||
*
|
||||
* <code>GameModeState_Rounding = 31;</code>
|
||||
*/
|
||||
public static final int GameModeState_Rounding_VALUE = 31;
|
||||
/**
|
||||
* <code>GameModeState_RoundWait = 32;</code>
|
||||
*/
|
||||
public static final int GameModeState_RoundWait_VALUE = 32;
|
||||
/**
|
||||
* <code>GameModeState_RoundEndAll = 33;</code>
|
||||
*/
|
||||
public static final int GameModeState_RoundEndAll_VALUE = 33;
|
||||
|
||||
|
||||
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 GameModeState 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 GameModeState forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return GameModeState_None;
|
||||
case 1: return GameModeState_Loading;
|
||||
case 2: return GameModeState_Created;
|
||||
case 3: return GameModeState_Destroyed;
|
||||
case 11: return GameModeState_Wait;
|
||||
case 12: return GameModeState_Ready;
|
||||
case 13: return GameModeState_Play;
|
||||
case 14: return GameModeState_Result;
|
||||
case 15: return GameModeState_RewardSummary;
|
||||
case 16: return GameModeState_End;
|
||||
case 31: return GameModeState_Rounding;
|
||||
case 32: return GameModeState_RoundWait;
|
||||
case 33: return GameModeState_RoundEndAll;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<GameModeState>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
GameModeState> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<GameModeState>() {
|
||||
public GameModeState findValueByNumber(int number) {
|
||||
return GameModeState.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(37);
|
||||
}
|
||||
|
||||
private static final GameModeState[] VALUES = values();
|
||||
|
||||
public static GameModeState 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 GameModeState(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:GameModeState)
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
* 매칭 취소 타입
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf enum {@code MatchCancelType}
|
||||
*/
|
||||
public enum MatchCancelType
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>MatchCancelType_NONE = 0;</code>
|
||||
*/
|
||||
MatchCancelType_NONE(0),
|
||||
/**
|
||||
* <code>MatchCancelType_NORMAL = 1;</code>
|
||||
*/
|
||||
MatchCancelType_NORMAL(1),
|
||||
/**
|
||||
* <code>MatchCancelType_DISCONNECTED = 2;</code>
|
||||
*/
|
||||
MatchCancelType_DISCONNECTED(2),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>MatchCancelType_NONE = 0;</code>
|
||||
*/
|
||||
public static final int MatchCancelType_NONE_VALUE = 0;
|
||||
/**
|
||||
* <code>MatchCancelType_NORMAL = 1;</code>
|
||||
*/
|
||||
public static final int MatchCancelType_NORMAL_VALUE = 1;
|
||||
/**
|
||||
* <code>MatchCancelType_DISCONNECTED = 2;</code>
|
||||
*/
|
||||
public static final int MatchCancelType_DISCONNECTED_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 MatchCancelType 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 MatchCancelType forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return MatchCancelType_NONE;
|
||||
case 1: return MatchCancelType_NORMAL;
|
||||
case 2: return MatchCancelType_DISCONNECTED;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<MatchCancelType>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
MatchCancelType> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<MatchCancelType>() {
|
||||
public MatchCancelType findValueByNumber(int number) {
|
||||
return MatchCancelType.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(34);
|
||||
}
|
||||
|
||||
private static final MatchCancelType[] VALUES = values();
|
||||
|
||||
public static MatchCancelType 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 MatchCancelType(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:MatchCancelType)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,149 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code MatchGameStateType}
|
||||
*/
|
||||
public enum MatchGameStateType
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>MatchGameStateType_None = 0;</code>
|
||||
*/
|
||||
MatchGameStateType_None(0),
|
||||
/**
|
||||
* <code>MatchGameStateType_Idle = 1;</code>
|
||||
*/
|
||||
MatchGameStateType_Idle(1),
|
||||
/**
|
||||
* <code>MatchGameStateType_Ready = 2;</code>
|
||||
*/
|
||||
MatchGameStateType_Ready(2),
|
||||
/**
|
||||
* <code>MatchGameStateType_Start = 3;</code>
|
||||
*/
|
||||
MatchGameStateType_Start(3),
|
||||
/**
|
||||
* <code>MatchGameStateType_Finish = 4;</code>
|
||||
*/
|
||||
MatchGameStateType_Finish(4),
|
||||
/**
|
||||
* <code>MatchGameStateType_Destroy = 5;</code>
|
||||
*/
|
||||
MatchGameStateType_Destroy(5),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>MatchGameStateType_None = 0;</code>
|
||||
*/
|
||||
public static final int MatchGameStateType_None_VALUE = 0;
|
||||
/**
|
||||
* <code>MatchGameStateType_Idle = 1;</code>
|
||||
*/
|
||||
public static final int MatchGameStateType_Idle_VALUE = 1;
|
||||
/**
|
||||
* <code>MatchGameStateType_Ready = 2;</code>
|
||||
*/
|
||||
public static final int MatchGameStateType_Ready_VALUE = 2;
|
||||
/**
|
||||
* <code>MatchGameStateType_Start = 3;</code>
|
||||
*/
|
||||
public static final int MatchGameStateType_Start_VALUE = 3;
|
||||
/**
|
||||
* <code>MatchGameStateType_Finish = 4;</code>
|
||||
*/
|
||||
public static final int MatchGameStateType_Finish_VALUE = 4;
|
||||
/**
|
||||
* <code>MatchGameStateType_Destroy = 5;</code>
|
||||
*/
|
||||
public static final int MatchGameStateType_Destroy_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 MatchGameStateType 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 MatchGameStateType forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return MatchGameStateType_None;
|
||||
case 1: return MatchGameStateType_Idle;
|
||||
case 2: return MatchGameStateType_Ready;
|
||||
case 3: return MatchGameStateType_Start;
|
||||
case 4: return MatchGameStateType_Finish;
|
||||
case 5: return MatchGameStateType_Destroy;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<MatchGameStateType>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
MatchGameStateType> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<MatchGameStateType>() {
|
||||
public MatchGameStateType findValueByNumber(int number) {
|
||||
return MatchGameStateType.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(42);
|
||||
}
|
||||
|
||||
private static final MatchGameStateType[] VALUES = values();
|
||||
|
||||
public static MatchGameStateType 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 MatchGameStateType(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:MatchGameStateType)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,824 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Define_Common.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 리전 핑 체크를 정보
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code MatchRegionInfo}
|
||||
*/
|
||||
public final class MatchRegionInfo extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:MatchRegionInfo)
|
||||
MatchRegionInfoOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use MatchRegionInfo.newBuilder() to construct.
|
||||
private MatchRegionInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private MatchRegionInfo() {
|
||||
name_ = "";
|
||||
textStringMetaId_ = "";
|
||||
pingUrl_ = "";
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new MatchRegionInfo();
|
||||
}
|
||||
|
||||
@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_MatchRegionInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchRegionInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int NAME_FIELD_NUMBER = 1;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object name_ = "";
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @return The name.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getName() {
|
||||
java.lang.Object ref = name_;
|
||||
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();
|
||||
name_ = s;
|
||||
return s;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @return The bytes for name.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getNameBytes() {
|
||||
java.lang.Object ref = name_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
name_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
|
||||
public static final int TEXTSTRINGMETAID_FIELD_NUMBER = 2;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object textStringMetaId_ = "";
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @return The textStringMetaId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getTextStringMetaId() {
|
||||
java.lang.Object ref = textStringMetaId_;
|
||||
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();
|
||||
textStringMetaId_ = s;
|
||||
return s;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @return The bytes for textStringMetaId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getTextStringMetaIdBytes() {
|
||||
java.lang.Object ref = textStringMetaId_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
textStringMetaId_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
|
||||
public static final int PINGURL_FIELD_NUMBER = 3;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object pingUrl_ = "";
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @return The pingUrl.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getPingUrl() {
|
||||
java.lang.Object ref = pingUrl_;
|
||||
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();
|
||||
pingUrl_ = s;
|
||||
return s;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @return The bytes for pingUrl.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getPingUrlBytes() {
|
||||
java.lang.Object ref = pingUrl_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
pingUrl_ = 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(name_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(textStringMetaId_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, textStringMetaId_);
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pingUrl_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pingUrl_);
|
||||
}
|
||||
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(name_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(textStringMetaId_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, textStringMetaId_);
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pingUrl_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pingUrl_);
|
||||
}
|
||||
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.MatchRegionInfo)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo other = (com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo) obj;
|
||||
|
||||
if (!getName()
|
||||
.equals(other.getName())) return false;
|
||||
if (!getTextStringMetaId()
|
||||
.equals(other.getTextStringMetaId())) return false;
|
||||
if (!getPingUrl()
|
||||
.equals(other.getPingUrl())) 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) + NAME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getName().hashCode();
|
||||
hash = (37 * hash) + TEXTSTRINGMETAID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTextStringMetaId().hashCode();
|
||||
hash = (37 * hash) + PINGURL_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getPingUrl().hashCode();
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo 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.MatchRegionInfo parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo 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.MatchRegionInfo parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo 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.MatchRegionInfo 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.MatchRegionInfo 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.MatchRegionInfo 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.MatchRegionInfo 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.MatchRegionInfo 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.MatchRegionInfo 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.MatchRegionInfo 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 MatchRegionInfo}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:MatchRegionInfo)
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfoOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchRegionInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchRegionInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
name_ = "";
|
||||
textStringMetaId_ = "";
|
||||
pingUrl_ = "";
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchRegionInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo getDefaultInstanceForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo build() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo buildPartial() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo result = new com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.name_ = name_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||
result.textStringMetaId_ = textStringMetaId_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000004) != 0)) {
|
||||
result.pingUrl_ = pingUrl_;
|
||||
}
|
||||
}
|
||||
|
||||
@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.MatchRegionInfo) {
|
||||
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo other) {
|
||||
if (other == com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo.getDefaultInstance()) return this;
|
||||
if (!other.getName().isEmpty()) {
|
||||
name_ = other.name_;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
}
|
||||
if (!other.getTextStringMetaId().isEmpty()) {
|
||||
textStringMetaId_ = other.textStringMetaId_;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
}
|
||||
if (!other.getPingUrl().isEmpty()) {
|
||||
pingUrl_ = other.pingUrl_;
|
||||
bitField0_ |= 0x00000004;
|
||||
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: {
|
||||
name_ = input.readStringRequireUtf8();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 10
|
||||
case 18: {
|
||||
textStringMetaId_ = input.readStringRequireUtf8();
|
||||
bitField0_ |= 0x00000002;
|
||||
break;
|
||||
} // case 18
|
||||
case 26: {
|
||||
pingUrl_ = input.readStringRequireUtf8();
|
||||
bitField0_ |= 0x00000004;
|
||||
break;
|
||||
} // case 26
|
||||
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 name_ = "";
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @return The name.
|
||||
*/
|
||||
public java.lang.String getName() {
|
||||
java.lang.Object ref = name_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
name_ = s;
|
||||
return s;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @return The bytes for name.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getNameBytes() {
|
||||
java.lang.Object ref = name_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
name_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @param value The name to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setName(
|
||||
java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
name_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearName() {
|
||||
name_ = getDefaultInstance().getName();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @param value The bytes for name to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setNameBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
name_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.lang.Object textStringMetaId_ = "";
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @return The textStringMetaId.
|
||||
*/
|
||||
public java.lang.String getTextStringMetaId() {
|
||||
java.lang.Object ref = textStringMetaId_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
textStringMetaId_ = s;
|
||||
return s;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @return The bytes for textStringMetaId.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getTextStringMetaIdBytes() {
|
||||
java.lang.Object ref = textStringMetaId_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
textStringMetaId_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @param value The textStringMetaId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTextStringMetaId(
|
||||
java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
textStringMetaId_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTextStringMetaId() {
|
||||
textStringMetaId_ = getDefaultInstance().getTextStringMetaId();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @param value The bytes for textStringMetaId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTextStringMetaIdBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
textStringMetaId_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.lang.Object pingUrl_ = "";
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @return The pingUrl.
|
||||
*/
|
||||
public java.lang.String getPingUrl() {
|
||||
java.lang.Object ref = pingUrl_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
pingUrl_ = s;
|
||||
return s;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @return The bytes for pingUrl.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getPingUrlBytes() {
|
||||
java.lang.Object ref = pingUrl_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
pingUrl_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @param value The pingUrl to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setPingUrl(
|
||||
java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
pingUrl_ = value;
|
||||
bitField0_ |= 0x00000004;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearPingUrl() {
|
||||
pingUrl_ = getDefaultInstance().getPingUrl();
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @param value The bytes for pingUrl to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setPingUrlBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
pingUrl_ = value;
|
||||
bitField0_ |= 0x00000004;
|
||||
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:MatchRegionInfo)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:MatchRegionInfo)
|
||||
private static final com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo();
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<MatchRegionInfo>
|
||||
PARSER = new com.google.protobuf.AbstractParser<MatchRegionInfo>() {
|
||||
@java.lang.Override
|
||||
public MatchRegionInfo 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<MatchRegionInfo> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<MatchRegionInfo> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Define_Common.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
public interface MatchRegionInfoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:MatchRegionInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @return The name.
|
||||
*/
|
||||
java.lang.String getName();
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @return The bytes for name.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getNameBytes();
|
||||
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @return The textStringMetaId.
|
||||
*/
|
||||
java.lang.String getTextStringMetaId();
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @return The bytes for textStringMetaId.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getTextStringMetaIdBytes();
|
||||
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @return The pingUrl.
|
||||
*/
|
||||
java.lang.String getPingUrl();
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @return The bytes for pingUrl.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getPingUrlBytes();
|
||||
}
|
||||
@@ -0,0 +1,898 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf type {@code MatchRoomInfo}
|
||||
*/
|
||||
public final class MatchRoomInfo extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:MatchRoomInfo)
|
||||
MatchRoomInfoOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use MatchRoomInfo.newBuilder() to construct.
|
||||
private MatchRoomInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private MatchRoomInfo() {
|
||||
roomId_ = "";
|
||||
teams_ = java.util.Collections.emptyList();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new MatchRoomInfo();
|
||||
}
|
||||
|
||||
@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_MatchRoomInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MatchRoomInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int ROOMID_FIELD_NUMBER = 1;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object roomId_ = "";
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @return The roomId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getRoomId() {
|
||||
java.lang.Object ref = roomId_;
|
||||
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();
|
||||
roomId_ = s;
|
||||
return s;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @return The bytes for roomId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getRoomIdBytes() {
|
||||
java.lang.Object ref = roomId_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
roomId_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
|
||||
public static final int TEAMS_FIELD_NUMBER = 2;
|
||||
@SuppressWarnings("serial")
|
||||
private java.util.List<com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo> teams_;
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo> getTeamsList() {
|
||||
return teams_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder>
|
||||
getTeamsOrBuilderList() {
|
||||
return teams_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTeamsCount() {
|
||||
return teams_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo getTeams(int index) {
|
||||
return teams_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder getTeamsOrBuilder(
|
||||
int index) {
|
||||
return teams_.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 {
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(roomId_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, roomId_);
|
||||
}
|
||||
for (int i = 0; i < teams_.size(); i++) {
|
||||
output.writeMessage(2, teams_.get(i));
|
||||
}
|
||||
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(roomId_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, roomId_);
|
||||
}
|
||||
for (int i = 0; i < teams_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, teams_.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.MatchRoomInfo)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo other = (com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo) obj;
|
||||
|
||||
if (!getRoomId()
|
||||
.equals(other.getRoomId())) return false;
|
||||
if (!getTeamsList()
|
||||
.equals(other.getTeamsList())) 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) + ROOMID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRoomId().hashCode();
|
||||
if (getTeamsCount() > 0) {
|
||||
hash = (37 * hash) + TEAMS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTeamsList().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo 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.MatchRoomInfo parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo 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.MatchRoomInfo parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo 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.MatchRoomInfo 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.MatchRoomInfo 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.MatchRoomInfo 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.MatchRoomInfo 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.MatchRoomInfo 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.MatchRoomInfo 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.MatchRoomInfo 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 MatchRoomInfo}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:MatchRoomInfo)
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfoOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MatchRoomInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MatchRoomInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
roomId_ = "";
|
||||
if (teamsBuilder_ == null) {
|
||||
teams_ = java.util.Collections.emptyList();
|
||||
} else {
|
||||
teams_ = null;
|
||||
teamsBuilder_.clear();
|
||||
}
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MatchRoomInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo getDefaultInstanceForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo build() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo buildPartial() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo result = new com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo(this);
|
||||
buildPartialRepeatedFields(result);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo result) {
|
||||
if (teamsBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000002) != 0)) {
|
||||
teams_ = java.util.Collections.unmodifiableList(teams_);
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
}
|
||||
result.teams_ = teams_;
|
||||
} else {
|
||||
result.teams_ = teamsBuilder_.build();
|
||||
}
|
||||
}
|
||||
|
||||
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.roomId_ = roomId_;
|
||||
}
|
||||
}
|
||||
|
||||
@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.MatchRoomInfo) {
|
||||
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo other) {
|
||||
if (other == com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo.getDefaultInstance()) return this;
|
||||
if (!other.getRoomId().isEmpty()) {
|
||||
roomId_ = other.roomId_;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
}
|
||||
if (teamsBuilder_ == null) {
|
||||
if (!other.teams_.isEmpty()) {
|
||||
if (teams_.isEmpty()) {
|
||||
teams_ = other.teams_;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
} else {
|
||||
ensureTeamsIsMutable();
|
||||
teams_.addAll(other.teams_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
} else {
|
||||
if (!other.teams_.isEmpty()) {
|
||||
if (teamsBuilder_.isEmpty()) {
|
||||
teamsBuilder_.dispose();
|
||||
teamsBuilder_ = null;
|
||||
teams_ = other.teams_;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
teamsBuilder_ =
|
||||
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
||||
getTeamsFieldBuilder() : null;
|
||||
} else {
|
||||
teamsBuilder_.addAllMessages(other.teams_);
|
||||
}
|
||||
}
|
||||
}
|
||||
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: {
|
||||
roomId_ = input.readStringRequireUtf8();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 10
|
||||
case 18: {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo m =
|
||||
input.readMessage(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.parser(),
|
||||
extensionRegistry);
|
||||
if (teamsBuilder_ == null) {
|
||||
ensureTeamsIsMutable();
|
||||
teams_.add(m);
|
||||
} else {
|
||||
teamsBuilder_.addMessage(m);
|
||||
}
|
||||
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 java.lang.Object roomId_ = "";
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @return The roomId.
|
||||
*/
|
||||
public java.lang.String getRoomId() {
|
||||
java.lang.Object ref = roomId_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
roomId_ = s;
|
||||
return s;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @return The bytes for roomId.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getRoomIdBytes() {
|
||||
java.lang.Object ref = roomId_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
roomId_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @param value The roomId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRoomId(
|
||||
java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
roomId_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRoomId() {
|
||||
roomId_ = getDefaultInstance().getRoomId();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @param value The bytes for roomId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRoomIdBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
roomId_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.util.List<com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo> teams_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureTeamsIsMutable() {
|
||||
if (!((bitField0_ & 0x00000002) != 0)) {
|
||||
teams_ = new java.util.ArrayList<com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo>(teams_);
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
}
|
||||
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder> teamsBuilder_;
|
||||
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public java.util.List<com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo> getTeamsList() {
|
||||
if (teamsBuilder_ == null) {
|
||||
return java.util.Collections.unmodifiableList(teams_);
|
||||
} else {
|
||||
return teamsBuilder_.getMessageList();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public int getTeamsCount() {
|
||||
if (teamsBuilder_ == null) {
|
||||
return teams_.size();
|
||||
} else {
|
||||
return teamsBuilder_.getCount();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo getTeams(int index) {
|
||||
if (teamsBuilder_ == null) {
|
||||
return teams_.get(index);
|
||||
} else {
|
||||
return teamsBuilder_.getMessage(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder setTeams(
|
||||
int index, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo value) {
|
||||
if (teamsBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureTeamsIsMutable();
|
||||
teams_.set(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.setMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder setTeams(
|
||||
int index, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder builderForValue) {
|
||||
if (teamsBuilder_ == null) {
|
||||
ensureTeamsIsMutable();
|
||||
teams_.set(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.setMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder addTeams(com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo value) {
|
||||
if (teamsBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureTeamsIsMutable();
|
||||
teams_.add(value);
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.addMessage(value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder addTeams(
|
||||
int index, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo value) {
|
||||
if (teamsBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureTeamsIsMutable();
|
||||
teams_.add(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.addMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder addTeams(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder builderForValue) {
|
||||
if (teamsBuilder_ == null) {
|
||||
ensureTeamsIsMutable();
|
||||
teams_.add(builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.addMessage(builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder addTeams(
|
||||
int index, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder builderForValue) {
|
||||
if (teamsBuilder_ == null) {
|
||||
ensureTeamsIsMutable();
|
||||
teams_.add(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.addMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder addAllTeams(
|
||||
java.lang.Iterable<? extends com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo> values) {
|
||||
if (teamsBuilder_ == null) {
|
||||
ensureTeamsIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, teams_);
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.addAllMessages(values);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder clearTeams() {
|
||||
if (teamsBuilder_ == null) {
|
||||
teams_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder removeTeams(int index) {
|
||||
if (teamsBuilder_ == null) {
|
||||
ensureTeamsIsMutable();
|
||||
teams_.remove(index);
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.remove(index);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder getTeamsBuilder(
|
||||
int index) {
|
||||
return getTeamsFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder getTeamsOrBuilder(
|
||||
int index) {
|
||||
if (teamsBuilder_ == null) {
|
||||
return teams_.get(index); } else {
|
||||
return teamsBuilder_.getMessageOrBuilder(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder>
|
||||
getTeamsOrBuilderList() {
|
||||
if (teamsBuilder_ != null) {
|
||||
return teamsBuilder_.getMessageOrBuilderList();
|
||||
} else {
|
||||
return java.util.Collections.unmodifiableList(teams_);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder addTeamsBuilder() {
|
||||
return getTeamsFieldBuilder().addBuilder(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder addTeamsBuilder(
|
||||
int index) {
|
||||
return getTeamsFieldBuilder().addBuilder(
|
||||
index, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public java.util.List<com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder>
|
||||
getTeamsBuilderList() {
|
||||
return getTeamsFieldBuilder().getBuilderList();
|
||||
}
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder>
|
||||
getTeamsFieldBuilder() {
|
||||
if (teamsBuilder_ == null) {
|
||||
teamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder>(
|
||||
teams_,
|
||||
((bitField0_ & 0x00000002) != 0),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
teams_ = null;
|
||||
}
|
||||
return teamsBuilder_;
|
||||
}
|
||||
@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:MatchRoomInfo)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:MatchRoomInfo)
|
||||
private static final com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo();
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<MatchRoomInfo>
|
||||
PARSER = new com.google.protobuf.AbstractParser<MatchRoomInfo>() {
|
||||
@java.lang.Override
|
||||
public MatchRoomInfo 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<MatchRoomInfo> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<MatchRoomInfo> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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 MatchRoomInfoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:MatchRoomInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @return The roomId.
|
||||
*/
|
||||
java.lang.String getRoomId();
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @return The bytes for roomId.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getRoomIdBytes();
|
||||
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
java.util.List<com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo>
|
||||
getTeamsList();
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo getTeams(int index);
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
int getTeamsCount();
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder>
|
||||
getTeamsOrBuilderList();
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder getTeamsOrBuilder(
|
||||
int index);
|
||||
}
|
||||
@@ -0,0 +1,777 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Define_Common.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 게엄 매칭 상태 정보
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code MatchStatusInfo}
|
||||
*/
|
||||
public final class MatchStatusInfo extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:MatchStatusInfo)
|
||||
MatchStatusInfoOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use MatchStatusInfo.newBuilder() to construct.
|
||||
private MatchStatusInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private MatchStatusInfo() {
|
||||
status_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new MatchStatusInfo();
|
||||
}
|
||||
|
||||
@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_MatchStatusInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchStatusInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int STATUS_FIELD_NUMBER = 1;
|
||||
private int status_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @return The enum numeric value on the wire for status.
|
||||
*/
|
||||
@java.lang.Override public int getStatusValue() {
|
||||
return status_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @return The status.
|
||||
*/
|
||||
@java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.MatchStatusType getStatus() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusType result = com.caliverse.admin.domain.RabbitMq.message.MatchStatusType.forNumber(status_);
|
||||
return result == null ? com.caliverse.admin.domain.RabbitMq.message.MatchStatusType.UNRECOGNIZED : result;
|
||||
}
|
||||
|
||||
public static final int MATCHSTEP_FIELD_NUMBER = 2;
|
||||
private int matchStep_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 단계
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 matchStep = 2;</code>
|
||||
* @return The matchStep.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMatchStep() {
|
||||
return matchStep_;
|
||||
}
|
||||
|
||||
public static final int WAITTIMESEC_FIELD_NUMBER = 3;
|
||||
private int waitTimeSec_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
* 예상 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeSec = 3;</code>
|
||||
* @return The waitTimeSec.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWaitTimeSec() {
|
||||
return waitTimeSec_;
|
||||
}
|
||||
|
||||
public static final int WAITTIMEMAXSEC_FIELD_NUMBER = 4;
|
||||
private int waitTimeMaxSec_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
* 최대 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeMaxSec = 4;</code>
|
||||
* @return The waitTimeMaxSec.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWaitTimeMaxSec() {
|
||||
return waitTimeMaxSec_;
|
||||
}
|
||||
|
||||
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 (status_ != com.caliverse.admin.domain.RabbitMq.message.MatchStatusType.MatchStatusType_NONE.getNumber()) {
|
||||
output.writeEnum(1, status_);
|
||||
}
|
||||
if (matchStep_ != 0) {
|
||||
output.writeInt32(2, matchStep_);
|
||||
}
|
||||
if (waitTimeSec_ != 0) {
|
||||
output.writeInt32(3, waitTimeSec_);
|
||||
}
|
||||
if (waitTimeMaxSec_ != 0) {
|
||||
output.writeInt32(4, waitTimeMaxSec_);
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (status_ != com.caliverse.admin.domain.RabbitMq.message.MatchStatusType.MatchStatusType_NONE.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(1, status_);
|
||||
}
|
||||
if (matchStep_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(2, matchStep_);
|
||||
}
|
||||
if (waitTimeSec_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(3, waitTimeSec_);
|
||||
}
|
||||
if (waitTimeMaxSec_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(4, waitTimeMaxSec_);
|
||||
}
|
||||
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.MatchStatusInfo)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo other = (com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo) obj;
|
||||
|
||||
if (status_ != other.status_) return false;
|
||||
if (getMatchStep()
|
||||
!= other.getMatchStep()) return false;
|
||||
if (getWaitTimeSec()
|
||||
!= other.getWaitTimeSec()) return false;
|
||||
if (getWaitTimeMaxSec()
|
||||
!= other.getWaitTimeMaxSec()) 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) + STATUS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + status_;
|
||||
hash = (37 * hash) + MATCHSTEP_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getMatchStep();
|
||||
hash = (37 * hash) + WAITTIMESEC_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getWaitTimeSec();
|
||||
hash = (37 * hash) + WAITTIMEMAXSEC_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getWaitTimeMaxSec();
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo 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.MatchStatusInfo parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo 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.MatchStatusInfo parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo 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.MatchStatusInfo 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.MatchStatusInfo 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.MatchStatusInfo 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.MatchStatusInfo 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.MatchStatusInfo 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.MatchStatusInfo 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.MatchStatusInfo 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 MatchStatusInfo}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:MatchStatusInfo)
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfoOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchStatusInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchStatusInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
status_ = 0;
|
||||
matchStep_ = 0;
|
||||
waitTimeSec_ = 0;
|
||||
waitTimeMaxSec_ = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchStatusInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo getDefaultInstanceForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo build() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo buildPartial() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo result = new com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.status_ = status_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||
result.matchStep_ = matchStep_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000004) != 0)) {
|
||||
result.waitTimeSec_ = waitTimeSec_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000008) != 0)) {
|
||||
result.waitTimeMaxSec_ = waitTimeMaxSec_;
|
||||
}
|
||||
}
|
||||
|
||||
@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.MatchStatusInfo) {
|
||||
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo other) {
|
||||
if (other == com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo.getDefaultInstance()) return this;
|
||||
if (other.status_ != 0) {
|
||||
setStatusValue(other.getStatusValue());
|
||||
}
|
||||
if (other.getMatchStep() != 0) {
|
||||
setMatchStep(other.getMatchStep());
|
||||
}
|
||||
if (other.getWaitTimeSec() != 0) {
|
||||
setWaitTimeSec(other.getWaitTimeSec());
|
||||
}
|
||||
if (other.getWaitTimeMaxSec() != 0) {
|
||||
setWaitTimeMaxSec(other.getWaitTimeMaxSec());
|
||||
}
|
||||
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: {
|
||||
status_ = input.readEnum();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 8
|
||||
case 16: {
|
||||
matchStep_ = input.readInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
break;
|
||||
} // case 16
|
||||
case 24: {
|
||||
waitTimeSec_ = input.readInt32();
|
||||
bitField0_ |= 0x00000004;
|
||||
break;
|
||||
} // case 24
|
||||
case 32: {
|
||||
waitTimeMaxSec_ = input.readInt32();
|
||||
bitField0_ |= 0x00000008;
|
||||
break;
|
||||
} // case 32
|
||||
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 status_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @return The enum numeric value on the wire for status.
|
||||
*/
|
||||
@java.lang.Override public int getStatusValue() {
|
||||
return status_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @param value The enum numeric value on the wire for status to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setStatusValue(int value) {
|
||||
status_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @return The status.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchStatusType getStatus() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusType result = com.caliverse.admin.domain.RabbitMq.message.MatchStatusType.forNumber(status_);
|
||||
return result == null ? com.caliverse.admin.domain.RabbitMq.message.MatchStatusType.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @param value The status to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setStatus(com.caliverse.admin.domain.RabbitMq.message.MatchStatusType value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
bitField0_ |= 0x00000001;
|
||||
status_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearStatus() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
status_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int matchStep_ ;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 단계
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 matchStep = 2;</code>
|
||||
* @return The matchStep.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMatchStep() {
|
||||
return matchStep_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 단계
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 matchStep = 2;</code>
|
||||
* @param value The matchStep to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setMatchStep(int value) {
|
||||
|
||||
matchStep_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 단계
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 matchStep = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearMatchStep() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
matchStep_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int waitTimeSec_ ;
|
||||
/**
|
||||
* <pre>
|
||||
* 예상 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeSec = 3;</code>
|
||||
* @return The waitTimeSec.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWaitTimeSec() {
|
||||
return waitTimeSec_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* 예상 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeSec = 3;</code>
|
||||
* @param value The waitTimeSec to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setWaitTimeSec(int value) {
|
||||
|
||||
waitTimeSec_ = value;
|
||||
bitField0_ |= 0x00000004;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* 예상 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeSec = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearWaitTimeSec() {
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
waitTimeSec_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int waitTimeMaxSec_ ;
|
||||
/**
|
||||
* <pre>
|
||||
* 최대 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeMaxSec = 4;</code>
|
||||
* @return The waitTimeMaxSec.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWaitTimeMaxSec() {
|
||||
return waitTimeMaxSec_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* 최대 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeMaxSec = 4;</code>
|
||||
* @param value The waitTimeMaxSec to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setWaitTimeMaxSec(int value) {
|
||||
|
||||
waitTimeMaxSec_ = value;
|
||||
bitField0_ |= 0x00000008;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* 최대 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeMaxSec = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearWaitTimeMaxSec() {
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
waitTimeMaxSec_ = 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:MatchStatusInfo)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:MatchStatusInfo)
|
||||
private static final com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo();
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<MatchStatusInfo>
|
||||
PARSER = new com.google.protobuf.AbstractParser<MatchStatusInfo>() {
|
||||
@java.lang.Override
|
||||
public MatchStatusInfo 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<MatchStatusInfo> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<MatchStatusInfo> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Define_Common.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
public interface MatchStatusInfoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:MatchStatusInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @return The enum numeric value on the wire for status.
|
||||
*/
|
||||
int getStatusValue();
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @return The status.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusType getStatus();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 단계
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 matchStep = 2;</code>
|
||||
* @return The matchStep.
|
||||
*/
|
||||
int getMatchStep();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 예상 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeSec = 3;</code>
|
||||
* @return The waitTimeSec.
|
||||
*/
|
||||
int getWaitTimeSec();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 최대 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeMaxSec = 4;</code>
|
||||
* @return The waitTimeMaxSec.
|
||||
*/
|
||||
int getWaitTimeMaxSec();
|
||||
}
|
||||
@@ -0,0 +1,210 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Define_Common.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 상태
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf enum {@code MatchStatusType}
|
||||
*/
|
||||
public enum MatchStatusType
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>MatchStatusType_NONE = 0;</code>
|
||||
*/
|
||||
MatchStatusType_NONE(0),
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 예약 상태
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_RESERVED = 1;</code>
|
||||
*/
|
||||
MatchStatusType_RESERVED(1),
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 진행 중
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_PROGRESS = 2;</code>
|
||||
*/
|
||||
MatchStatusType_PROGRESS(2),
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 성공
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_SUCCESS = 3;</code>
|
||||
*/
|
||||
MatchStatusType_SUCCESS(3),
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 취소
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_CANCEL = 4;</code>
|
||||
*/
|
||||
MatchStatusType_CANCEL(4),
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 실패 - 대기시간 초과
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_TIMEOUT = 5;</code>
|
||||
*/
|
||||
MatchStatusType_TIMEOUT(5),
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 실패 - 이유 미정
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_FAIL = 6;</code>
|
||||
*/
|
||||
MatchStatusType_FAIL(6),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>MatchStatusType_NONE = 0;</code>
|
||||
*/
|
||||
public static final int MatchStatusType_NONE_VALUE = 0;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 예약 상태
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_RESERVED = 1;</code>
|
||||
*/
|
||||
public static final int MatchStatusType_RESERVED_VALUE = 1;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 진행 중
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_PROGRESS = 2;</code>
|
||||
*/
|
||||
public static final int MatchStatusType_PROGRESS_VALUE = 2;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 성공
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_SUCCESS = 3;</code>
|
||||
*/
|
||||
public static final int MatchStatusType_SUCCESS_VALUE = 3;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 취소
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_CANCEL = 4;</code>
|
||||
*/
|
||||
public static final int MatchStatusType_CANCEL_VALUE = 4;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 실패 - 대기시간 초과
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_TIMEOUT = 5;</code>
|
||||
*/
|
||||
public static final int MatchStatusType_TIMEOUT_VALUE = 5;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 실패 - 이유 미정
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_FAIL = 6;</code>
|
||||
*/
|
||||
public static final int MatchStatusType_FAIL_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 MatchStatusType 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 MatchStatusType forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return MatchStatusType_NONE;
|
||||
case 1: return MatchStatusType_RESERVED;
|
||||
case 2: return MatchStatusType_PROGRESS;
|
||||
case 3: return MatchStatusType_SUCCESS;
|
||||
case 4: return MatchStatusType_CANCEL;
|
||||
case 5: return MatchStatusType_TIMEOUT;
|
||||
case 6: return MatchStatusType_FAIL;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<MatchStatusType>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
MatchStatusType> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<MatchStatusType>() {
|
||||
public MatchStatusType findValueByNumber(int number) {
|
||||
return MatchStatusType.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(33);
|
||||
}
|
||||
|
||||
private static final MatchStatusType[] VALUES = values();
|
||||
|
||||
public static MatchStatusType 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 MatchStatusType(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:MatchStatusType)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,729 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf type {@code MatchTeamInfo}
|
||||
*/
|
||||
public final class MatchTeamInfo extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:MatchTeamInfo)
|
||||
MatchTeamInfoOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use MatchTeamInfo.newBuilder() to construct.
|
||||
private MatchTeamInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private MatchTeamInfo() {
|
||||
teamId_ = "";
|
||||
userGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new MatchTeamInfo();
|
||||
}
|
||||
|
||||
@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_MatchTeamInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MatchTeamInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int TEAMID_FIELD_NUMBER = 1;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object teamId_ = "";
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @return The teamId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getTeamId() {
|
||||
java.lang.Object ref = teamId_;
|
||||
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();
|
||||
teamId_ = s;
|
||||
return s;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @return The bytes for teamId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getTeamIdBytes() {
|
||||
java.lang.Object ref = teamId_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
teamId_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
|
||||
public static final int USERGUIDS_FIELD_NUMBER = 2;
|
||||
@SuppressWarnings("serial")
|
||||
private com.google.protobuf.LazyStringList userGuids_;
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @return A list containing the userGuids.
|
||||
*/
|
||||
public com.google.protobuf.ProtocolStringList
|
||||
getUserGuidsList() {
|
||||
return userGuids_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @return The count of userGuids.
|
||||
*/
|
||||
public int getUserGuidsCount() {
|
||||
return userGuids_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The userGuids at the given index.
|
||||
*/
|
||||
public java.lang.String getUserGuids(int index) {
|
||||
return userGuids_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param index The index of the value to return.
|
||||
* @return The bytes of the userGuids at the given index.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getUserGuidsBytes(int index) {
|
||||
return userGuids_.getByteString(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 {
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(teamId_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, teamId_);
|
||||
}
|
||||
for (int i = 0; i < userGuids_.size(); i++) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, userGuids_.getRaw(i));
|
||||
}
|
||||
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(teamId_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, teamId_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < userGuids_.size(); i++) {
|
||||
dataSize += computeStringSizeNoTag(userGuids_.getRaw(i));
|
||||
}
|
||||
size += dataSize;
|
||||
size += 1 * getUserGuidsList().size();
|
||||
}
|
||||
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.MatchTeamInfo)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo other = (com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo) obj;
|
||||
|
||||
if (!getTeamId()
|
||||
.equals(other.getTeamId())) return false;
|
||||
if (!getUserGuidsList()
|
||||
.equals(other.getUserGuidsList())) 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) + TEAMID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTeamId().hashCode();
|
||||
if (getUserGuidsCount() > 0) {
|
||||
hash = (37 * hash) + USERGUIDS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getUserGuidsList().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo 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.MatchTeamInfo parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo 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.MatchTeamInfo parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo 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.MatchTeamInfo 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.MatchTeamInfo 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.MatchTeamInfo 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.MatchTeamInfo 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.MatchTeamInfo 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.MatchTeamInfo 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.MatchTeamInfo 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 MatchTeamInfo}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:MatchTeamInfo)
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MatchTeamInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MatchTeamInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
teamId_ = "";
|
||||
userGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MatchTeamInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo getDefaultInstanceForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo build() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo buildPartial() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo result = new com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo(this);
|
||||
buildPartialRepeatedFields(result);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo result) {
|
||||
if (((bitField0_ & 0x00000002) != 0)) {
|
||||
userGuids_ = userGuids_.getUnmodifiableView();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
}
|
||||
result.userGuids_ = userGuids_;
|
||||
}
|
||||
|
||||
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.teamId_ = teamId_;
|
||||
}
|
||||
}
|
||||
|
||||
@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.MatchTeamInfo) {
|
||||
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo other) {
|
||||
if (other == com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.getDefaultInstance()) return this;
|
||||
if (!other.getTeamId().isEmpty()) {
|
||||
teamId_ = other.teamId_;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
}
|
||||
if (!other.userGuids_.isEmpty()) {
|
||||
if (userGuids_.isEmpty()) {
|
||||
userGuids_ = other.userGuids_;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
} else {
|
||||
ensureUserGuidsIsMutable();
|
||||
userGuids_.addAll(other.userGuids_);
|
||||
}
|
||||
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: {
|
||||
teamId_ = input.readStringRequireUtf8();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 10
|
||||
case 18: {
|
||||
java.lang.String s = input.readStringRequireUtf8();
|
||||
ensureUserGuidsIsMutable();
|
||||
userGuids_.add(s);
|
||||
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 java.lang.Object teamId_ = "";
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @return The teamId.
|
||||
*/
|
||||
public java.lang.String getTeamId() {
|
||||
java.lang.Object ref = teamId_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
teamId_ = s;
|
||||
return s;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @return The bytes for teamId.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getTeamIdBytes() {
|
||||
java.lang.Object ref = teamId_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
teamId_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @param value The teamId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTeamId(
|
||||
java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
teamId_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTeamId() {
|
||||
teamId_ = getDefaultInstance().getTeamId();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @param value The bytes for teamId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTeamIdBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
teamId_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.LazyStringList userGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
||||
private void ensureUserGuidsIsMutable() {
|
||||
if (!((bitField0_ & 0x00000002) != 0)) {
|
||||
userGuids_ = new com.google.protobuf.LazyStringArrayList(userGuids_);
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @return A list containing the userGuids.
|
||||
*/
|
||||
public com.google.protobuf.ProtocolStringList
|
||||
getUserGuidsList() {
|
||||
return userGuids_.getUnmodifiableView();
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @return The count of userGuids.
|
||||
*/
|
||||
public int getUserGuidsCount() {
|
||||
return userGuids_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The userGuids at the given index.
|
||||
*/
|
||||
public java.lang.String getUserGuids(int index) {
|
||||
return userGuids_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param index The index of the value to return.
|
||||
* @return The bytes of the userGuids at the given index.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getUserGuidsBytes(int index) {
|
||||
return userGuids_.getByteString(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The userGuids to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setUserGuids(
|
||||
int index, java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
ensureUserGuidsIsMutable();
|
||||
userGuids_.set(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param value The userGuids to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addUserGuids(
|
||||
java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
ensureUserGuidsIsMutable();
|
||||
userGuids_.add(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param values The userGuids to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllUserGuids(
|
||||
java.lang.Iterable<java.lang.String> values) {
|
||||
ensureUserGuidsIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, userGuids_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearUserGuids() {
|
||||
userGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param value The bytes of the userGuids to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addUserGuidsBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
ensureUserGuidsIsMutable();
|
||||
userGuids_.add(value);
|
||||
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:MatchTeamInfo)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:MatchTeamInfo)
|
||||
private static final com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo();
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<MatchTeamInfo>
|
||||
PARSER = new com.google.protobuf.AbstractParser<MatchTeamInfo>() {
|
||||
@java.lang.Override
|
||||
public MatchTeamInfo 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<MatchTeamInfo> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<MatchTeamInfo> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
public interface MatchTeamInfoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:MatchTeamInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @return The teamId.
|
||||
*/
|
||||
java.lang.String getTeamId();
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @return The bytes for teamId.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getTeamIdBytes();
|
||||
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @return A list containing the userGuids.
|
||||
*/
|
||||
java.util.List<java.lang.String>
|
||||
getUserGuidsList();
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @return The count of userGuids.
|
||||
*/
|
||||
int getUserGuidsCount();
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The userGuids at the given index.
|
||||
*/
|
||||
java.lang.String getUserGuids(int index);
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param index The index of the value to return.
|
||||
* @return The bytes of the userGuids at the given index.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getUserGuidsBytes(int index);
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,97 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Define_Common.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
public interface MatchUserInfoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:MatchUserInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string userGuid = 1;</code>
|
||||
* @return The userGuid.
|
||||
*/
|
||||
java.lang.String getUserGuid();
|
||||
/**
|
||||
* <code>string userGuid = 1;</code>
|
||||
* @return The bytes for userGuid.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getUserGuidBytes();
|
||||
|
||||
/**
|
||||
* <code>string serverName = 2;</code>
|
||||
* @return The serverName.
|
||||
*/
|
||||
java.lang.String getServerName();
|
||||
/**
|
||||
* <code>string serverName = 2;</code>
|
||||
* @return The bytes for serverName.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getServerNameBytes();
|
||||
|
||||
/**
|
||||
* <code>int32 gameModeId = 3;</code>
|
||||
* @return The gameModeId.
|
||||
*/
|
||||
int getGameModeId();
|
||||
|
||||
/**
|
||||
* <code>string matchGroupId = 4;</code>
|
||||
* @return The matchGroupId.
|
||||
*/
|
||||
java.lang.String getMatchGroupId();
|
||||
/**
|
||||
* <code>string matchGroupId = 4;</code>
|
||||
* @return The bytes for matchGroupId.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getMatchGroupIdBytes();
|
||||
|
||||
/**
|
||||
* <code>string region = 5;</code>
|
||||
* @return The region.
|
||||
*/
|
||||
java.lang.String getRegion();
|
||||
/**
|
||||
* <code>string region = 5;</code>
|
||||
* @return The bytes for region.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getRegionBytes();
|
||||
|
||||
/**
|
||||
* <code>.google.protobuf.Timestamp startTime = 6;</code>
|
||||
* @return Whether the startTime field is set.
|
||||
*/
|
||||
boolean hasStartTime();
|
||||
/**
|
||||
* <code>.google.protobuf.Timestamp startTime = 6;</code>
|
||||
* @return The startTime.
|
||||
*/
|
||||
com.google.protobuf.Timestamp getStartTime();
|
||||
/**
|
||||
* <code>.google.protobuf.Timestamp startTime = 6;</code>
|
||||
*/
|
||||
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* TODO: Need PartyInfo, MMR
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 7;</code>
|
||||
* @return The enum numeric value on the wire for status.
|
||||
*/
|
||||
int getStatusValue();
|
||||
/**
|
||||
* <pre>
|
||||
* TODO: Need PartyInfo, MMR
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 7;</code>
|
||||
* @return The status.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusType getStatus();
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code ProfitHistoryType}
|
||||
*/
|
||||
public enum ProfitHistoryType
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>ProfitHistoryType_None = 0;</code>
|
||||
*/
|
||||
ProfitHistoryType_None(0),
|
||||
/**
|
||||
* <code>ProfitHistoryType_Stack = 1;</code>
|
||||
*/
|
||||
ProfitHistoryType_Stack(1),
|
||||
/**
|
||||
* <code>ProfitHistoryType_Gain = 2;</code>
|
||||
*/
|
||||
ProfitHistoryType_Gain(2),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>ProfitHistoryType_None = 0;</code>
|
||||
*/
|
||||
public static final int ProfitHistoryType_None_VALUE = 0;
|
||||
/**
|
||||
* <code>ProfitHistoryType_Stack = 1;</code>
|
||||
*/
|
||||
public static final int ProfitHistoryType_Stack_VALUE = 1;
|
||||
/**
|
||||
* <code>ProfitHistoryType_Gain = 2;</code>
|
||||
*/
|
||||
public static final int ProfitHistoryType_Gain_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 ProfitHistoryType 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 ProfitHistoryType forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return ProfitHistoryType_None;
|
||||
case 1: return ProfitHistoryType_Stack;
|
||||
case 2: return ProfitHistoryType_Gain;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<ProfitHistoryType>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
ProfitHistoryType> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<ProfitHistoryType>() {
|
||||
public ProfitHistoryType findValueByNumber(int number) {
|
||||
return ProfitHistoryType.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(27);
|
||||
}
|
||||
|
||||
private static final ProfitHistoryType[] VALUES = values();
|
||||
|
||||
public static ProfitHistoryType 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 ProfitHistoryType(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:ProfitHistoryType)
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1219,5 +1219,290 @@ public interface ServerMessageOrBuilder extends
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_LAND_AUCTION_RESERVATIONOrBuilder getNtfLandAuctionReservationOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_ADD_BUILDING_PROFIT_HISTORY ntfAddBuildingProfitHistory = 87;</code>
|
||||
* @return Whether the ntfAddBuildingProfitHistory field is set.
|
||||
*/
|
||||
boolean hasNtfAddBuildingProfitHistory();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_ADD_BUILDING_PROFIT_HISTORY ntfAddBuildingProfitHistory = 87;</code>
|
||||
* @return The ntfAddBuildingProfitHistory.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_ADD_BUILDING_PROFIT_HISTORY getNtfAddBuildingProfitHistory();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_ADD_BUILDING_PROFIT_HISTORY ntfAddBuildingProfitHistory = 87;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_ADD_BUILDING_PROFIT_HISTORYOrBuilder getNtfAddBuildingProfitHistoryOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_ADD_BUILDING_RENTAL_HISTORY ntfAddBuildingRentalHistory = 88;</code>
|
||||
* @return Whether the ntfAddBuildingRentalHistory field is set.
|
||||
*/
|
||||
boolean hasNtfAddBuildingRentalHistory();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_ADD_BUILDING_RENTAL_HISTORY ntfAddBuildingRentalHistory = 88;</code>
|
||||
* @return The ntfAddBuildingRentalHistory.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_ADD_BUILDING_RENTAL_HISTORY getNtfAddBuildingRentalHistory();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_ADD_BUILDING_RENTAL_HISTORY ntfAddBuildingRentalHistory = 88;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_ADD_BUILDING_RENTAL_HISTORYOrBuilder getNtfAddBuildingRentalHistoryOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_UPDATE_SOLD_RECORD ntfUpdateSoldRecord = 89;</code>
|
||||
* @return Whether the ntfUpdateSoldRecord field is set.
|
||||
*/
|
||||
boolean hasNtfUpdateSoldRecord();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_UPDATE_SOLD_RECORD ntfUpdateSoldRecord = 89;</code>
|
||||
* @return The ntfUpdateSoldRecord.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UPDATE_SOLD_RECORD getNtfUpdateSoldRecord();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_UPDATE_SOLD_RECORD ntfUpdateSoldRecord = 89;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UPDATE_SOLD_RECORDOrBuilder getNtfUpdateSoldRecordOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_UPDATE_BEACON_SHOP_ITEM ntfUpdateBeaconShopItem = 90;</code>
|
||||
* @return Whether the ntfUpdateBeaconShopItem field is set.
|
||||
*/
|
||||
boolean hasNtfUpdateBeaconShopItem();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_UPDATE_BEACON_SHOP_ITEM ntfUpdateBeaconShopItem = 90;</code>
|
||||
* @return The ntfUpdateBeaconShopItem.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UPDATE_BEACON_SHOP_ITEM getNtfUpdateBeaconShopItem();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_UPDATE_BEACON_SHOP_ITEM ntfUpdateBeaconShopItem = 90;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UPDATE_BEACON_SHOP_ITEMOrBuilder getNtfUpdateBeaconShopItemOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.MOS2GS_NTF_UPDATE_BANNER ntfUpdateBanner = 91;</code>
|
||||
* @return Whether the ntfUpdateBanner field is set.
|
||||
*/
|
||||
boolean hasNtfUpdateBanner();
|
||||
/**
|
||||
* <code>.ServerMessage.MOS2GS_NTF_UPDATE_BANNER ntfUpdateBanner = 91;</code>
|
||||
* @return The ntfUpdateBanner.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_UPDATE_BANNER getNtfUpdateBanner();
|
||||
/**
|
||||
* <code>.ServerMessage.MOS2GS_NTF_UPDATE_BANNER ntfUpdateBanner = 91;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_UPDATE_BANNEROrBuilder getNtfUpdateBannerOrBuilder();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*========================================================
|
||||
* Game Matching
|
||||
* </pre>
|
||||
*
|
||||
* <code>.ServerMessage.GS2MS_REQ_MATCH_RESERVE reqMatchReserve = 110001;</code>
|
||||
* @return Whether the reqMatchReserve field is set.
|
||||
*/
|
||||
boolean hasReqMatchReserve();
|
||||
/**
|
||||
* <pre>
|
||||
*========================================================
|
||||
* Game Matching
|
||||
* </pre>
|
||||
*
|
||||
* <code>.ServerMessage.GS2MS_REQ_MATCH_RESERVE reqMatchReserve = 110001;</code>
|
||||
* @return The reqMatchReserve.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_REQ_MATCH_RESERVE getReqMatchReserve();
|
||||
/**
|
||||
* <pre>
|
||||
*========================================================
|
||||
* Game Matching
|
||||
* </pre>
|
||||
*
|
||||
* <code>.ServerMessage.GS2MS_REQ_MATCH_RESERVE reqMatchReserve = 110001;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_REQ_MATCH_RESERVEOrBuilder getReqMatchReserveOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_ACK_MATCH_RESERVE ackMatchReserve = 110002;</code>
|
||||
* @return Whether the ackMatchReserve field is set.
|
||||
*/
|
||||
boolean hasAckMatchReserve();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_ACK_MATCH_RESERVE ackMatchReserve = 110002;</code>
|
||||
* @return The ackMatchReserve.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_ACK_MATCH_RESERVE getAckMatchReserve();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_ACK_MATCH_RESERVE ackMatchReserve = 110002;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_ACK_MATCH_RESERVEOrBuilder getAckMatchReserveOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_REQ_MATCH_CANCEL reqMatchCancel = 110003;</code>
|
||||
* @return Whether the reqMatchCancel field is set.
|
||||
*/
|
||||
boolean hasReqMatchCancel();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_REQ_MATCH_CANCEL reqMatchCancel = 110003;</code>
|
||||
* @return The reqMatchCancel.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_REQ_MATCH_CANCEL getReqMatchCancel();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_REQ_MATCH_CANCEL reqMatchCancel = 110003;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_REQ_MATCH_CANCELOrBuilder getReqMatchCancelOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_ACK_MATCH_CANCEL ackMatchCancel = 110004;</code>
|
||||
* @return Whether the ackMatchCancel field is set.
|
||||
*/
|
||||
boolean hasAckMatchCancel();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_ACK_MATCH_CANCEL ackMatchCancel = 110004;</code>
|
||||
* @return The ackMatchCancel.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_ACK_MATCH_CANCEL getAckMatchCancel();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_ACK_MATCH_CANCEL ackMatchCancel = 110004;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_ACK_MATCH_CANCELOrBuilder getAckMatchCancelOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_STATUS ntfMatchStatus = 110005;</code>
|
||||
* @return Whether the ntfMatchStatus field is set.
|
||||
*/
|
||||
boolean hasNtfMatchStatus();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_STATUS ntfMatchStatus = 110005;</code>
|
||||
* @return The ntfMatchStatus.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_NTF_MATCH_STATUS getNtfMatchStatus();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_STATUS ntfMatchStatus = 110005;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_NTF_MATCH_STATUSOrBuilder getNtfMatchStatusOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_RESULT ntfMatchResult = 110006;</code>
|
||||
* @return Whether the ntfMatchResult field is set.
|
||||
*/
|
||||
boolean hasNtfMatchResult();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_RESULT ntfMatchResult = 110006;</code>
|
||||
* @return The ntfMatchResult.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_NTF_MATCH_RESULT getNtfMatchResult();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_RESULT ntfMatchResult = 110006;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_NTF_MATCH_RESULTOrBuilder getNtfMatchResultOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_REQ_MATCH_GAME_INFO reqMatchGameInfo = 110007;</code>
|
||||
* @return Whether the reqMatchGameInfo field is set.
|
||||
*/
|
||||
boolean hasReqMatchGameInfo();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_REQ_MATCH_GAME_INFO reqMatchGameInfo = 110007;</code>
|
||||
* @return The reqMatchGameInfo.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_REQ_MATCH_GAME_INFO getReqMatchGameInfo();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_REQ_MATCH_GAME_INFO reqMatchGameInfo = 110007;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_REQ_MATCH_GAME_INFOOrBuilder getReqMatchGameInfoOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_ACK_MATCH_GAME_INFO ackMatchGameInfo = 110008;</code>
|
||||
* @return Whether the ackMatchGameInfo field is set.
|
||||
*/
|
||||
boolean hasAckMatchGameInfo();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_ACK_MATCH_GAME_INFO ackMatchGameInfo = 110008;</code>
|
||||
* @return The ackMatchGameInfo.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_ACK_MATCH_GAME_INFO getAckMatchGameInfo();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_ACK_MATCH_GAME_INFO ackMatchGameInfo = 110008;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_ACK_MATCH_GAME_INFOOrBuilder getAckMatchGameInfoOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_CHANGE_GAME_STATE ntfMatchChangeGameState = 110011;</code>
|
||||
* @return Whether the ntfMatchChangeGameState field is set.
|
||||
*/
|
||||
boolean hasNtfMatchChangeGameState();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_CHANGE_GAME_STATE ntfMatchChangeGameState = 110011;</code>
|
||||
* @return The ntfMatchChangeGameState.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_CHANGE_GAME_STATE getNtfMatchChangeGameState();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_CHANGE_GAME_STATE ntfMatchChangeGameState = 110011;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_CHANGE_GAME_STATEOrBuilder getNtfMatchChangeGameStateOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_GAME_QUIT ntfMatchGameQuit = 110012;</code>
|
||||
* @return Whether the ntfMatchGameQuit field is set.
|
||||
*/
|
||||
boolean hasNtfMatchGameQuit();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_GAME_QUIT ntfMatchGameQuit = 110012;</code>
|
||||
* @return The ntfMatchGameQuit.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_GAME_QUIT getNtfMatchGameQuit();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_GAME_QUIT ntfMatchGameQuit = 110012;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_GAME_QUITOrBuilder getNtfMatchGameQuitOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_GAME_JOIN ntfMatchGameJoin = 110013;</code>
|
||||
* @return Whether the ntfMatchGameJoin field is set.
|
||||
*/
|
||||
boolean hasNtfMatchGameJoin();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_GAME_JOIN ntfMatchGameJoin = 110013;</code>
|
||||
* @return The ntfMatchGameJoin.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_GAME_JOIN getNtfMatchGameJoin();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_GAME_JOIN ntfMatchGameJoin = 110013;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_GAME_JOINOrBuilder getNtfMatchGameJoinOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_GAME_JOIN_RESERVE ntfMatchGameJoinReserve = 110014;</code>
|
||||
* @return Whether the ntfMatchGameJoinReserve field is set.
|
||||
*/
|
||||
boolean hasNtfMatchGameJoinReserve();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_GAME_JOIN_RESERVE ntfMatchGameJoinReserve = 110014;</code>
|
||||
* @return The ntfMatchGameJoinReserve.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_NTF_MATCH_GAME_JOIN_RESERVE getNtfMatchGameJoinReserve();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_GAME_JOIN_RESERVE ntfMatchGameJoinReserve = 110014;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_NTF_MATCH_GAME_JOIN_RESERVEOrBuilder getNtfMatchGameJoinReserveOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_CHEAT_CMD ntfMatchCheatCmd = 110019;</code>
|
||||
* @return Whether the ntfMatchCheatCmd field is set.
|
||||
*/
|
||||
boolean hasNtfMatchCheatCmd();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_CHEAT_CMD ntfMatchCheatCmd = 110019;</code>
|
||||
* @return The ntfMatchCheatCmd.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_CHEAT_CMD getNtfMatchCheatCmd();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_CHEAT_CMD ntfMatchCheatCmd = 110019;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_CHEAT_CMDOrBuilder getNtfMatchCheatCmdOrBuilder();
|
||||
|
||||
public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MsgCase getMsgCase();
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -70,8 +70,8 @@ public class MenuController {
|
||||
}
|
||||
@DeleteMapping("/banner/delete")
|
||||
public ResponseEntity<MenuResponse> deleteMenuBanner(
|
||||
@RequestBody MenuRequest menuRequest){
|
||||
@RequestParam Long id){
|
||||
|
||||
return ResponseEntity.ok().body(menuService.deleteMail(menuRequest));
|
||||
return ResponseEntity.ok().body(menuService.deleteBanner(id));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,14 +13,12 @@ public interface MenuMapper {
|
||||
int getTotal();
|
||||
MenuBanner getBannerDetail(Long id);
|
||||
List<Message> getMessage(Long id);
|
||||
List<MenuBanner> getScheduleBannerList();
|
||||
int getMaxOrderId();
|
||||
|
||||
void insertBanner(MenuRequest mailRequest);
|
||||
void insertMessage(Map map);
|
||||
|
||||
int updateBanner(MenuRequest mailRequest);
|
||||
int updateBannerStatus(Map map);
|
||||
|
||||
int deleteMessage(Map map);
|
||||
void deleteBanner(Map map);
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
package com.caliverse.admin.domain.service;
|
||||
|
||||
import com.caliverse.admin.domain.RabbitMq.MessageHandlerService;
|
||||
import com.caliverse.admin.domain.dao.admin.MenuMapper;
|
||||
import com.caliverse.admin.domain.entity.*;
|
||||
import com.caliverse.admin.domain.request.MenuRequest;
|
||||
import com.caliverse.admin.domain.response.MenuResponse;
|
||||
import com.caliverse.admin.dynamodb.service.DynamodbMenuService;
|
||||
import com.caliverse.admin.global.common.code.CommonCode;
|
||||
import com.caliverse.admin.global.common.code.ErrorCode;
|
||||
import com.caliverse.admin.global.common.code.SuccessCode;
|
||||
@@ -13,6 +15,7 @@ import com.caliverse.admin.global.common.exception.RestApiException;
|
||||
import com.caliverse.admin.global.common.utils.CommonUtils;
|
||||
import com.caliverse.admin.global.common.utils.FileUtils;
|
||||
import com.caliverse.admin.mongodb.service.MysqlHistoryLogService;
|
||||
import com.caliverse.admin.redis.service.RedisUserInfoService;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
@@ -47,6 +50,9 @@ public class MenuService {
|
||||
private final ResourceLoader resourceLoader;
|
||||
private final MysqlHistoryLogService mysqlHistoryLogService;
|
||||
private final S3Service s3Service;
|
||||
private final DynamodbMenuService dynamodbMenuService;
|
||||
private final MessageHandlerService messageHandlerService;
|
||||
private final RedisUserInfoService redisUserInfoService;
|
||||
|
||||
public MenuResponse getList(Map requestParam){
|
||||
|
||||
@@ -200,6 +206,7 @@ public class MenuService {
|
||||
}
|
||||
|
||||
MenuBanner banner = menuMapper.getBannerDetail(menuRequest.getId());
|
||||
banner.setImageList(menuMapper.getMessage(menuRequest.getId()));
|
||||
|
||||
mysqlHistoryLogService.insertHistoryLog(
|
||||
HISTORYTYPEDETAIL.MENU_BANNER_ADD,
|
||||
@@ -208,6 +215,11 @@ public class MenuService {
|
||||
banner
|
||||
);
|
||||
|
||||
dynamodbMenuService.insertBanner(banner);
|
||||
|
||||
//운영DB 데이터 추가됐다고 게임서버 알림
|
||||
notifyGameServers("postBanner", null);
|
||||
|
||||
return MenuResponse.builder()
|
||||
.status(CommonCode.SUCCESS.getHttpStatus())
|
||||
.result(CommonCode.SUCCESS.getResult())
|
||||
@@ -232,22 +244,22 @@ public class MenuService {
|
||||
|
||||
menuMapper.updateBanner(menuRequest);
|
||||
|
||||
Map<String, String> map = new HashMap<>();
|
||||
map.put("id", String.valueOf(menuRequest.getId()));
|
||||
// Map<String, String> map = new HashMap<>();
|
||||
// map.put("id", String.valueOf(menuRequest.getId()));
|
||||
|
||||
menuMapper.deleteMessage(map);
|
||||
|
||||
if(menuRequest.getImageList()!= null && !menuRequest.getImageList().isEmpty()){
|
||||
menuRequest.getImageList().forEach(image -> {
|
||||
map.put("title", image.getContent());
|
||||
map.put("language", image.getLanguage());
|
||||
if(menuRequest.isLink() && menuRequest.getLinkList() != null && !menuRequest.getLinkList().isEmpty()){
|
||||
String link = menuRequest.getLinkList().stream().filter(data -> data.getLanguage().equals(image.getLanguage())).findFirst().get().getContent();
|
||||
map.put("content", link);
|
||||
}
|
||||
menuMapper.insertMessage(map);
|
||||
});
|
||||
}
|
||||
// menuMapper.deleteMessage(map);
|
||||
//
|
||||
// if(menuRequest.getImageList()!= null && !menuRequest.getImageList().isEmpty()){
|
||||
// menuRequest.getImageList().forEach(image -> {
|
||||
// map.put("title", image.getContent());
|
||||
// map.put("language", image.getLanguage());
|
||||
// if(menuRequest.isLink() && menuRequest.getLinkList() != null && !menuRequest.getLinkList().isEmpty()){
|
||||
// String link = menuRequest.getLinkList().stream().filter(data -> data.getLanguage().equals(image.getLanguage())).findFirst().get().getContent();
|
||||
// map.put("content", link);
|
||||
// }
|
||||
// menuMapper.insertMessage(map);
|
||||
// });
|
||||
// }
|
||||
log.info("updateBanner Update After Banner: {}", menuRequest);
|
||||
|
||||
MenuBanner after_info = menuMapper.getBannerDetail(banner_id);
|
||||
@@ -261,6 +273,11 @@ public class MenuService {
|
||||
after_info
|
||||
);
|
||||
|
||||
dynamodbMenuService.updateBanner(after_info);
|
||||
|
||||
//운영DB 데이터 추가됐다고 게임서버 알림
|
||||
notifyGameServers("updateBanner", null);
|
||||
|
||||
return MenuResponse.builder()
|
||||
.status(CommonCode.SUCCESS.getHttpStatus())
|
||||
.result(CommonCode.SUCCESS.getResult())
|
||||
@@ -271,32 +288,36 @@ public class MenuService {
|
||||
}
|
||||
|
||||
@Transactional(transactionManager = "transactionManager")
|
||||
public MenuResponse deleteMail(MenuRequest menuRequest){
|
||||
public MenuResponse deleteBanner(Long id){
|
||||
Map<String,Object> map = new HashMap<>();
|
||||
map.put("id",id);
|
||||
|
||||
// mailRequest.getList().forEach(
|
||||
// item->{
|
||||
// map.put("id",item.getId());
|
||||
// mailMapper.deleteMail(map);
|
||||
//
|
||||
// // 스케줄에서 제거
|
||||
// scheduleService.closeTask("mail-" + item.getId());
|
||||
// log.info("deleteMail Mail: {}", item);
|
||||
//
|
||||
// //로그 기록
|
||||
// List<Message> message = mailMapper.getMessage(Long.valueOf(item.getId()));
|
||||
// map.put("adminId", CommonUtils.getAdmin().getId());
|
||||
// map.put("name", CommonUtils.getAdmin().getName());
|
||||
// map.put("mail", CommonUtils.getAdmin().getEmail());
|
||||
// map.put("type", HISTORYTYPE.MAIL_DELETE);
|
||||
// JSONObject jsonObject = new JSONObject();
|
||||
// if(!message.isEmpty()){
|
||||
// jsonObject.put("message",message.get(0).getTitle());
|
||||
// }
|
||||
// map.put("content",jsonObject.toString());
|
||||
// historyMapper.saveLog(map);
|
||||
// }
|
||||
// );
|
||||
MenuBanner banner = menuMapper.getBannerDetail(id);
|
||||
banner.setImageList(menuMapper.getMessage(id));
|
||||
|
||||
if(banner.getStartDt().isBefore(LocalDateTime.now())){
|
||||
return MenuResponse.builder()
|
||||
.status(CommonCode.ERROR.getHttpStatus())
|
||||
.result(CommonCode.ERROR.getResult())
|
||||
.resultData(MenuResponse.ResultData.builder()
|
||||
.message(ErrorCode.START_DATE_OVER.getMessage())
|
||||
.build())
|
||||
.build();
|
||||
}
|
||||
|
||||
menuMapper.deleteBanner(map);
|
||||
|
||||
mysqlHistoryLogService.deleteHistoryLog(
|
||||
HISTORYTYPEDETAIL.MENU_BANNER_DELETE,
|
||||
MysqlConstants.TABLE_NAME_MENU_BANNER,
|
||||
HISTORYTYPEDETAIL.MENU_BANNER_DELETE.name(),
|
||||
banner
|
||||
);
|
||||
|
||||
dynamodbMenuService.deleteBanner(banner.getId().intValue());
|
||||
|
||||
//운영DB 데이터 추가됐다고 게임서버 알림
|
||||
notifyGameServers("deleteBanner", null);
|
||||
|
||||
return MenuResponse.builder()
|
||||
.status(CommonCode.SUCCESS.getHttpStatus())
|
||||
@@ -307,19 +328,31 @@ public class MenuService {
|
||||
.build();
|
||||
}
|
||||
|
||||
public List<MenuBanner> getScheduleMailList(){
|
||||
return menuMapper.getScheduleBannerList();
|
||||
}
|
||||
|
||||
public List<Message> getMessageList(Long id){
|
||||
return menuMapper.getMessage(id);
|
||||
}
|
||||
|
||||
public void updateStatus(Long id, MenuBanner.BANNER_STATUS status){
|
||||
Map<String,Object> map = new HashMap<>();
|
||||
map.put("id", id);
|
||||
map.put("status", status.toString());
|
||||
menuMapper.updateBannerStatus(map);
|
||||
private void notifyGameServers(String methodName, Runnable rollbackFunction) {
|
||||
// 운영DB 데이터 추가됐다고 게임서버 알림
|
||||
List<String> serverList = redisUserInfoService.getAllServerList();
|
||||
if(serverList.isEmpty()){
|
||||
log.error("{} serverList is empty", methodName);
|
||||
if (rollbackFunction != null) {
|
||||
rollbackFunction.run();
|
||||
}
|
||||
throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.NOT_FOUND_SERVER.getMessage());
|
||||
}
|
||||
|
||||
try{
|
||||
serverList.forEach(messageHandlerService::sendBannerMessage);
|
||||
} catch (Exception e) {
|
||||
log.error("{} messageHandlerService error: {}", methodName, e.getMessage(), e);
|
||||
if (rollbackFunction != null) {
|
||||
rollbackFunction.run();
|
||||
}
|
||||
throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.MESSAGE_SEND_FAIL.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -79,7 +79,20 @@ public class S3Service {
|
||||
}
|
||||
|
||||
public void deleteFile(String fileUrl) {
|
||||
String objectKey = fileUrl.substring(fileUrl.indexOf(".com/") + 5);
|
||||
String objectKey;
|
||||
|
||||
if (fileUrl.startsWith(cloudFrontUrl)) {
|
||||
objectKey = fileUrl.substring(cloudFrontUrl.length());
|
||||
} else {
|
||||
objectKey = "";
|
||||
}
|
||||
|
||||
if(objectKey.isEmpty()){
|
||||
log.warn("Deleting S3 Fail: {}", fileUrl);
|
||||
return;
|
||||
}
|
||||
|
||||
log.info("Deleting S3 object with key: {}", objectKey);
|
||||
|
||||
s3Client.deleteObject(builder -> builder
|
||||
.bucket(bucketName)
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
package com.caliverse.admin.dynamodb.domain.atrrib;
|
||||
|
||||
import com.caliverse.admin.dynamodb.entity.ELanguageType;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonNaming;
|
||||
import lombok.*;
|
||||
import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@ToString(callSuper = true)
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@DynamoDbBean
|
||||
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
|
||||
public class BannerAttrib extends DynamoDBAttribBase{
|
||||
@JsonProperty("banner_id")
|
||||
private Integer bannerId;
|
||||
|
||||
@JsonProperty("banner_type")
|
||||
private Integer bannerType;
|
||||
|
||||
@JsonProperty("start_time")
|
||||
private String startTime;
|
||||
|
||||
@JsonProperty("end_time")
|
||||
private String endTime;
|
||||
|
||||
@JsonProperty("order_id")
|
||||
private Integer orderId;
|
||||
|
||||
@JsonProperty("image_url")
|
||||
private Map<ELanguageType, String> imageUrl;
|
||||
|
||||
@JsonProperty("link_address")
|
||||
private Map<ELanguageType, String> linkAddress;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.caliverse.admin.dynamodb.domain.doc;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute;
|
||||
import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean;
|
||||
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@DynamoDbBean
|
||||
public class BannerDoc extends DynamoDBDocBase {
|
||||
private String bannerAttrib;
|
||||
|
||||
public String getAttribFieldName() {
|
||||
return "BannerAttrib";
|
||||
}
|
||||
|
||||
@DynamoDbAttribute("BannerAttrib")
|
||||
@JsonProperty("BannerAttrib")
|
||||
public String getAttribValue() {
|
||||
return bannerAttrib;
|
||||
}
|
||||
|
||||
public void setAttribValue(String value) {
|
||||
this.bannerAttrib = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.caliverse.admin.dynamodb.repository;
|
||||
|
||||
import com.caliverse.admin.domain.entity.MenuBanner;
|
||||
import com.caliverse.admin.domain.request.MenuRequest;
|
||||
import com.caliverse.admin.dynamodb.domain.atrrib.BannerAttrib;
|
||||
import com.caliverse.admin.dynamodb.domain.doc.BannerDoc;
|
||||
import com.caliverse.admin.dynamodb.entity.DynamodbOperationResult;
|
||||
|
||||
public interface BannerRepository extends DynamoDBRepository<BannerDoc> {
|
||||
BannerAttrib findBannerAttrib(Integer bannerId);
|
||||
void insertBanner(MenuBanner banner);
|
||||
void updateBanner(MenuBanner banner);
|
||||
DynamodbOperationResult deleteBanner(Integer bannerId);
|
||||
}
|
||||
@@ -0,0 +1,188 @@
|
||||
package com.caliverse.admin.dynamodb.repository.Impl;
|
||||
|
||||
import com.caliverse.admin.domain.RabbitMq.message.BannerType;
|
||||
import com.caliverse.admin.domain.entity.HISTORYTYPEDETAIL;
|
||||
import com.caliverse.admin.domain.entity.MenuBanner;
|
||||
import com.caliverse.admin.domain.request.LandRequest;
|
||||
import com.caliverse.admin.domain.request.MenuRequest;
|
||||
import com.caliverse.admin.dynamodb.domain.atrrib.BannerAttrib;
|
||||
import com.caliverse.admin.dynamodb.domain.atrrib.BuildingAttrib;
|
||||
import com.caliverse.admin.dynamodb.domain.doc.BannerDoc;
|
||||
import com.caliverse.admin.dynamodb.domain.doc.BuildingDoc;
|
||||
import com.caliverse.admin.dynamodb.domain.doc.LandAuctionRegistryDoc;
|
||||
import com.caliverse.admin.dynamodb.entity.DynamodbOperationResult;
|
||||
import com.caliverse.admin.dynamodb.entity.ECurrencyType;
|
||||
import com.caliverse.admin.dynamodb.entity.ELanguageType;
|
||||
import com.caliverse.admin.dynamodb.repository.BannerRepository;
|
||||
import com.caliverse.admin.dynamodb.repository.BaseDynamoDBRepository;
|
||||
import com.caliverse.admin.dynamodb.repository.BuildingRepository;
|
||||
import com.caliverse.admin.dynamodb.service.DynamoDBOperations;
|
||||
import com.caliverse.admin.global.common.code.CommonCode;
|
||||
import com.caliverse.admin.global.common.code.ErrorCode;
|
||||
import com.caliverse.admin.global.common.constants.DynamoDBConstants;
|
||||
import com.caliverse.admin.global.common.exception.RestApiException;
|
||||
import com.caliverse.admin.global.common.utils.CommonUtils;
|
||||
import com.caliverse.admin.mongodb.service.DynamodbHistoryLogService;
|
||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
import software.amazon.awssdk.enhanced.dynamodb.Key;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import static com.caliverse.admin.global.common.utils.CommonUtils.convertUTCDate;
|
||||
import static com.caliverse.admin.global.common.utils.DateUtils.stringToISODateTime;
|
||||
|
||||
@Component
|
||||
@Slf4j
|
||||
public class BannerRepositoryImpl extends BaseDynamoDBRepository<BannerDoc> implements BannerRepository {
|
||||
public BannerRepositoryImpl(DynamoDBOperations operations, DynamodbHistoryLogService dynamodbHistoryLogService, ObjectMapper objectMapper) {
|
||||
super(operations, BannerDoc.class, dynamodbHistoryLogService, objectMapper);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BannerAttrib findBannerAttrib(Integer bannerId) {
|
||||
Key key = Key.builder()
|
||||
.partitionValue(DynamoDBConstants.PK_KEY_BANNER)
|
||||
.sortValue(bannerId.toString())
|
||||
.build();
|
||||
|
||||
BannerDoc doc = findById(key);
|
||||
if (doc == null) return null;
|
||||
String attribJson = doc.getAttribValue();
|
||||
try {
|
||||
return objectMapper.readValue(attribJson, BannerAttrib.class);
|
||||
} catch (JsonProcessingException e) {
|
||||
throw new RestApiException(CommonCode.ERROR.getHttpStatus(),
|
||||
ErrorCode.DYNAMODB_JSON_PARSE_ERROR.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void insertBanner(MenuBanner banner) {
|
||||
try {
|
||||
LocalDateTime nowDate = LocalDateTime.now();
|
||||
|
||||
Integer banner_id = banner.getId().intValue();
|
||||
|
||||
Map<ELanguageType,String> imageList = new HashMap<>();
|
||||
banner.getImageList().forEach(image -> {
|
||||
if(image.getTitle().isEmpty()) return;
|
||||
ELanguageType languageType = ELanguageType.valueOf(image.getLanguage());
|
||||
imageList.put(languageType, image.getTitle());
|
||||
});
|
||||
Map<ELanguageType,String> linkList = new HashMap<>();
|
||||
banner.getImageList().forEach(link -> {
|
||||
if(link.getContent().isEmpty()) return;
|
||||
ELanguageType languageType = ELanguageType.valueOf(link.getLanguage());
|
||||
linkList.put(languageType, link.getContent());
|
||||
});
|
||||
|
||||
BannerAttrib attrib = new BannerAttrib();
|
||||
attrib.setAttribType(DynamoDBConstants.ATTRIB_BANNER);
|
||||
attrib.setBannerId(banner_id);
|
||||
attrib.setBannerType(BannerType.BannerType_MainMenu.getNumber());
|
||||
attrib.setOrderId(banner.getOrderId());
|
||||
attrib.setStartTime(convertUTCDate(banner.getStartDt()));
|
||||
attrib.setEndTime(convertUTCDate(banner.getEndDt()));
|
||||
attrib.setImageUrl(imageList);
|
||||
attrib.setLinkAddress(linkList);
|
||||
|
||||
BannerDoc doc = new BannerDoc();
|
||||
doc.setPK(DynamoDBConstants.PK_KEY_BANNER);
|
||||
doc.setSK(banner_id.toString());
|
||||
doc.setDocType(DynamoDBConstants.DOC_BANNER);
|
||||
doc.setAttribValue(objectMapper.writeValueAsString(attrib));
|
||||
doc.setCreatedDateTime(convertUTCDate(nowDate));
|
||||
doc.setUpdatedDateTime(convertUTCDate(nowDate));
|
||||
doc.setDeletedDateTime(DynamoDBConstants.MIN_DATE);
|
||||
doc.setRestoredDateTime(DynamoDBConstants.MIN_DATE);
|
||||
|
||||
save(doc);
|
||||
|
||||
log.info("BannerDoc Insert Success: {}", objectMapper.writeValueAsString(doc));
|
||||
|
||||
dynamodbHistoryLogService.insertHistoryLog(
|
||||
HISTORYTYPEDETAIL.MENU_BANNER_ADD,
|
||||
HISTORYTYPEDETAIL.MENU_BANNER_ADD.name(),
|
||||
doc
|
||||
);
|
||||
|
||||
}catch (Exception e){
|
||||
log.error("insert Error: {}", e.getMessage());
|
||||
throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateBanner(MenuBanner banner) {
|
||||
LocalDateTime nowDate = LocalDateTime.now();
|
||||
|
||||
try {
|
||||
Key key = Key.builder()
|
||||
.partitionValue(DynamoDBConstants.PK_KEY_BANNER)
|
||||
.sortValue(banner.getId().toString())
|
||||
.build();
|
||||
|
||||
BannerDoc beforeDoc = findById(key);
|
||||
|
||||
if (beforeDoc != null) {
|
||||
BannerDoc afterDoc = deepCopy(beforeDoc, BannerDoc.class);
|
||||
|
||||
BannerAttrib attrib = objectMapper.readValue(afterDoc.getAttribValue(), BannerAttrib.class);
|
||||
attrib.setOrderId(banner.getOrderId());
|
||||
attrib.setStartTime(convertUTCDate(banner.getStartDt()));
|
||||
attrib.setEndTime(convertUTCDate(banner.getEndDt()));
|
||||
|
||||
afterDoc.setAttribValue(objectMapper.writeValueAsString(attrib));
|
||||
afterDoc.setUpdatedDateTime(CommonUtils.convertUTCDate(nowDate));
|
||||
|
||||
update(afterDoc);
|
||||
|
||||
log.info("BannerDoc Update Success: {}", objectMapper.writeValueAsString(afterDoc));
|
||||
|
||||
dynamodbHistoryLogService.updateHistoryLog(
|
||||
HISTORYTYPEDETAIL.MENU_BANNER_UPDATE,
|
||||
HISTORYTYPEDETAIL.MENU_BANNER_UPDATE.name(),
|
||||
beforeDoc,
|
||||
afterDoc
|
||||
);
|
||||
}
|
||||
}catch (Exception e){
|
||||
log.error("Update Error: {}", e.getMessage());
|
||||
throw new RestApiException(CommonCode.ERROR.getHttpStatus(), ErrorCode.DYNAMODB_CONNECTION_ERROR.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public DynamodbOperationResult deleteBanner(Integer bannerId) {
|
||||
try{
|
||||
Key key = Key.builder()
|
||||
.partitionValue(DynamoDBConstants.PK_KEY_BANNER)
|
||||
.sortValue(String.format(bannerId.toString()))
|
||||
.build();
|
||||
BannerDoc doc = findById(key);
|
||||
|
||||
if(doc != null) {
|
||||
delete(key);
|
||||
|
||||
log.info("BannerDoc Delete Success: {}", objectMapper.writeValueAsString(doc));
|
||||
|
||||
dynamodbHistoryLogService.deleteHistoryLog(
|
||||
HISTORYTYPEDETAIL.MENU_BANNER_DELETE,
|
||||
HISTORYTYPEDETAIL.MENU_BANNER_DELETE.name(),
|
||||
doc
|
||||
);
|
||||
|
||||
return new DynamodbOperationResult(true, "", doc);
|
||||
}
|
||||
return new DynamodbOperationResult(true, "null", doc);
|
||||
}catch (Exception e){
|
||||
log.error("Delete Error: {}", e.getMessage());
|
||||
return new DynamodbOperationResult(false, e.getMessage(), null);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.caliverse.admin.dynamodb.service;
|
||||
|
||||
import com.caliverse.admin.domain.entity.MenuBanner;
|
||||
import com.caliverse.admin.domain.request.MenuRequest;
|
||||
import com.caliverse.admin.dynamodb.repository.BannerRepository;
|
||||
import com.caliverse.admin.global.common.annotation.DynamoDBTransaction;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
public class DynamodbMenuService {
|
||||
private final BannerRepository bannerRepository;
|
||||
|
||||
@DynamoDBTransaction
|
||||
public void insertBanner(MenuBanner banner) {
|
||||
bannerRepository.insertBanner(banner);
|
||||
}
|
||||
|
||||
@DynamoDBTransaction
|
||||
public void updateBanner(MenuBanner banner) {
|
||||
bannerRepository.updateBanner(banner);
|
||||
}
|
||||
|
||||
@DynamoDBTransaction
|
||||
public void deleteBanner(Integer bannerId) {
|
||||
bannerRepository.deleteBanner(bannerId);
|
||||
}
|
||||
}
|
||||
@@ -30,6 +30,7 @@ public enum ErrorCode {
|
||||
PASSWORD_INCLUDE("기존 사용 이력이 있는 비밀번호는 재사용할 수 없습니다."),
|
||||
PASSWORD_ERROR("입력된 현재 비밀번호가 틀립니다."),
|
||||
|
||||
NOT_FOUND_SERVER("서버를 찾지 못했습니다."),
|
||||
NOT_FOUNT_TEAM("입력한 팀을 찾지 못했습니다."),
|
||||
NOT_FOUNT_API("요청한 API를 찾지 못했습니다."),
|
||||
NOT_FOUNT_POSITION( "입력한 직급을 찾지 못했습니다."),
|
||||
@@ -38,9 +39,13 @@ public enum ErrorCode {
|
||||
NOT_PERMITTED("로그인 권한이 없습니다. 계정 관련 관리자에게 문의하세요."),
|
||||
NOT_FOUND_USER("ID또는 비밀번호가 일치하지 않습니다."),
|
||||
DUPLICATED_GROUPNAME("동일한 관리자 그룹명이 존재합니다."),
|
||||
START_DATE_OVER("시작시간이 지나 삭제할 수 없습니다."),
|
||||
|
||||
FAIL_USER_KICK("유저 킥 실패"),
|
||||
|
||||
//mq
|
||||
MESSAGE_SEND_FAIL("메시지 전송에 실패하였습니다."),
|
||||
|
||||
//meta data
|
||||
NOT_ITEM("존재하지 않는 아이템코드입니다."),
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@ public class DynamoDBConstants {
|
||||
public static final String PK_KEY_RECV_MAIL = "recv_mail#";
|
||||
public static final String PK_KEY_SENT_MAIL = "sent_mail#";
|
||||
public static final String PK_KEY_ITEM = "item#";
|
||||
public static final String PK_KEY_BANNER = "banner#global";
|
||||
|
||||
//SK
|
||||
public static final String SK_KEY_NAME = "SK";
|
||||
@@ -45,6 +46,7 @@ public class DynamoDBConstants {
|
||||
public static final String ATTRIB_OWNED_BUILDING = "OwnedBuildingAttrib";
|
||||
public static final String ATTRIB_MAIL = "MailAttrib";
|
||||
public static final String ATTRIB_ITEM = "ItemAttrib";
|
||||
public static final String ATTRIB_BANNER = "BannerAttrib";
|
||||
|
||||
//DOC
|
||||
public static final String DOC_SYSTEMMAIL = "SystemMetaMailDoc";
|
||||
@@ -59,6 +61,7 @@ public class DynamoDBConstants {
|
||||
public static final String DOC_OWNED_BUILDING = "OwnedBuildingDoc";
|
||||
public static final String DOC_Mail = "MailDoc";
|
||||
public static final String DOC_ITEM = "ItemDoc";
|
||||
public static final String DOC_BANNER = "BannerDoc";
|
||||
|
||||
//SCHEMA
|
||||
public static final String SCHEMA_UPDATE_TIME = "UpdatedDateTime";
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
WHERE 1 = 1
|
||||
AND a.deleted = 0
|
||||
|
||||
<if test="search_data != null and search_data != ''">
|
||||
<if test="searchData != null and searchData != ''">
|
||||
AND a.title LIKE CONCAT('%',#{searchData},'%')
|
||||
</if>
|
||||
|
||||
@@ -61,21 +61,22 @@
|
||||
</choose>
|
||||
</if>
|
||||
|
||||
<if test="start_dt != null and start_dt != '' and end_dt !=null and end_dt!= ''">
|
||||
<if test="startDate != null and startDate != '' and endDate !=null and endDate!= ''">
|
||||
AND a.start_dt >= #{startDate, jdbcType=TIMESTAMP}
|
||||
AND a.end_dt <= #{endDate, jdbcType=TIMESTAMP}
|
||||
</if>
|
||||
|
||||
) c,
|
||||
(SELECT @row_number:=0) AS t
|
||||
ORDER BY
|
||||
CASE
|
||||
WHEN c.status = 'RUNNING' THEN 0
|
||||
WHEN c.status = 'WAIT' THEN 1
|
||||
WHEN c.status = 'FINISH' THEN 2
|
||||
ELSE 3
|
||||
END,
|
||||
c.order_id,
|
||||
c.create_dt
|
||||
CASE
|
||||
WHEN c.status = 'RUNNING' THEN 0
|
||||
WHEN c.status = 'WAIT' THEN 1
|
||||
WHEN c.status = 'FINISH' THEN 2
|
||||
ELSE 3
|
||||
END,
|
||||
c.order_id,
|
||||
c.create_dt
|
||||
) result
|
||||
<if test="orderby != null and orderby != ''">
|
||||
ORDER BY row_num ${orderby}
|
||||
@@ -136,12 +137,9 @@
|
||||
</insert>
|
||||
|
||||
<update id="updateBanner" parameterType="com.caliverse.admin.domain.request.MenuRequest">
|
||||
UPDATE menu_banner SET target = #{target}
|
||||
, is_reserve = #{isReserve}
|
||||
, receive_type = #{receiveType}
|
||||
, send_type =#{sendType}
|
||||
, mail_type = #{mailType}
|
||||
, send_dt = #{sendDt}
|
||||
UPDATE menu_banner SET title = #{title}
|
||||
, start_dt = #{startDt}
|
||||
, end_dt = #{endDt}
|
||||
, order_id = #{orderId}
|
||||
, update_by = #{updateBy}
|
||||
, update_dt = NOW()
|
||||
@@ -154,24 +152,9 @@
|
||||
</update>
|
||||
|
||||
<update id="deleteBanner" parameterType="map">
|
||||
UPDATE menu_banner SET deleted = 1
|
||||
WHERE id = #{id}
|
||||
</update>
|
||||
|
||||
<select id="getScheduleBannerList" resultMap="MenuResultMap">
|
||||
SELECT id,
|
||||
, a.title
|
||||
, a.is_link
|
||||
, a.start_dt
|
||||
, a.end_dt
|
||||
FROM menu_banner
|
||||
WHERE send_status = 'WAIT'
|
||||
AND deleted = false
|
||||
</select>
|
||||
|
||||
<update id="updateBannerStatus" parameterType="map">
|
||||
UPDATE menu_banner SET status = #{status}
|
||||
where id = #{id}
|
||||
UPDATE menu_banner
|
||||
SET deleted = 1
|
||||
WHERE id = #{id}
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user