コード例 #1
0
 public com.xinqihd.sns.gameserver.proto.XinqiBseHarvestTree.BseHarvestTree build() {
   com.xinqihd.sns.gameserver.proto.XinqiBseHarvestTree.BseHarvestTree result = buildPartial();
   if (!result.isInitialized()) {
     throw newUninitializedMessageException(result);
   }
   return result;
 }
コード例 #2
0
 private com.xinqihd.sns.gameserver.proto.XinqiBseHarvestTree.BseHarvestTree buildParsed()
     throws com.google.protobuf.InvalidProtocolBufferException {
   com.xinqihd.sns.gameserver.proto.XinqiBseHarvestTree.BseHarvestTree result = buildPartial();
   if (!result.isInitialized()) {
     throw newUninitializedMessageException(result).asInvalidProtocolBufferException();
   }
   return result;
 }
コード例 #3
0
 public Builder mergeFrom(
     com.xinqihd.sns.gameserver.proto.XinqiBseHarvestTree.BseHarvestTree other) {
   if (other
       == com.xinqihd.sns.gameserver.proto.XinqiBseHarvestTree.BseHarvestTree
           .getDefaultInstance()) return this;
   if (other.hasMetalGive()) {
     setMetalGive(other.getMetalGive());
   }
   this.mergeUnknownFields(other.getUnknownFields());
   return this;
 }
コード例 #4
0
 public com.xinqihd.sns.gameserver.proto.XinqiBseHarvestTree.BseHarvestTree buildPartial() {
   com.xinqihd.sns.gameserver.proto.XinqiBseHarvestTree.BseHarvestTree result =
       new com.xinqihd.sns.gameserver.proto.XinqiBseHarvestTree.BseHarvestTree(this);
   int from_bitField0_ = bitField0_;
   int to_bitField0_ = 0;
   if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
     to_bitField0_ |= 0x00000001;
   }
   result.metalGive_ = metalGive_;
   result.bitField0_ = to_bitField0_;
   onBuilt();
   return result;
 }
コード例 #5
0
 public com.xinqihd.sns.gameserver.proto.XinqiBseHarvestTree.BseHarvestTree
     getDefaultInstanceForType() {
   return com.xinqihd.sns.gameserver.proto.XinqiBseHarvestTree.BseHarvestTree
       .getDefaultInstance();
 }
コード例 #6
0
 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
   return com.xinqihd.sns.gameserver.proto.XinqiBseHarvestTree.BseHarvestTree.getDescriptor();
 }