コード例 #1
0
ファイル: GBHandle.java プロジェクト: NathanielMichael/Hydra
 public Builder mergeFrom(D3.GameBalance.GBHandle.Handle other) {
   if (other == D3.GameBalance.GBHandle.Handle.getDefaultInstance()) return this;
   if (other.hasGameBalanceType()) {
     setGameBalanceType(other.getGameBalanceType());
   }
   if (other.hasGbid()) {
     setGbid(other.getGbid());
   }
   this.mergeUnknownFields(other.getUnknownFields());
   return this;
 }
コード例 #2
0
ファイル: GBHandle.java プロジェクト: NathanielMichael/Hydra
 public Builder clearGbid() {
   result.hasGbid = false;
   result.gbid_ = 0;
   return this;
 }
コード例 #3
0
ファイル: GBHandle.java プロジェクト: NathanielMichael/Hydra
 public Builder setGbid(int value) {
   result.hasGbid = true;
   result.gbid_ = value;
   return this;
 }
コード例 #4
0
ファイル: GBHandle.java プロジェクト: NathanielMichael/Hydra
 public int getGbid() {
   return result.getGbid();
 }
コード例 #5
0
ファイル: GBHandle.java プロジェクト: NathanielMichael/Hydra
 // required sfixed32 gbid = 2;
 public boolean hasGbid() {
   return result.hasGbid();
 }
コード例 #6
0
ファイル: GBHandle.java プロジェクト: NathanielMichael/Hydra
 public Builder clearGameBalanceType() {
   result.hasGameBalanceType = false;
   result.gameBalanceType_ = 0;
   return this;
 }
コード例 #7
0
ファイル: GBHandle.java プロジェクト: NathanielMichael/Hydra
 public Builder setGameBalanceType(int value) {
   result.hasGameBalanceType = true;
   result.gameBalanceType_ = value;
   return this;
 }
コード例 #8
0
ファイル: GBHandle.java プロジェクト: NathanielMichael/Hydra
 public int getGameBalanceType() {
   return result.getGameBalanceType();
 }
コード例 #9
0
ファイル: GBHandle.java プロジェクト: NathanielMichael/Hydra
 // required sint32 game_balance_type = 1;
 public boolean hasGameBalanceType() {
   return result.hasGameBalanceType();
 }
コード例 #10
0
ファイル: GBHandle.java プロジェクト: NathanielMichael/Hydra
 public boolean isInitialized() {
   return result.isInitialized();
 }
コード例 #11
0
ファイル: GBHandle.java プロジェクト: NathanielMichael/Hydra
 public D3.GameBalance.GBHandle.Handle getDefaultInstanceForType() {
   return D3.GameBalance.GBHandle.Handle.getDefaultInstance();
 }
コード例 #12
0
ファイル: GBHandle.java プロジェクト: NathanielMichael/Hydra
 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
   return D3.GameBalance.GBHandle.Handle.getDescriptor();
 }