Exemplo n.º 1
0
 public com.hifun.soul.proto.common.Technologys.Technology build() {
   com.hifun.soul.proto.common.Technologys.Technology result = buildPartial();
   if (!result.isInitialized()) {
     throw newUninitializedMessageException(result);
   }
   return result;
 }
Exemplo n.º 2
0
 private com.hifun.soul.proto.common.Technologys.Technology buildParsed()
     throws com.google.protobuf.InvalidProtocolBufferException {
   com.hifun.soul.proto.common.Technologys.Technology result = buildPartial();
   if (!result.isInitialized()) {
     throw newUninitializedMessageException(result).asInvalidProtocolBufferException();
   }
   return result;
 }
Exemplo n.º 3
0
 public com.hifun.soul.proto.common.Technologys.Technology buildPartial() {
   com.hifun.soul.proto.common.Technologys.Technology result =
       new com.hifun.soul.proto.common.Technologys.Technology(this);
   int from_bitField0_ = bitField0_;
   int to_bitField0_ = 0;
   if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
     to_bitField0_ |= 0x00000001;
   }
   result.technologyId_ = technologyId_;
   if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
     to_bitField0_ |= 0x00000002;
   }
   result.level_ = level_;
   result.bitField0_ = to_bitField0_;
   onBuilt();
   return result;
 }
Exemplo n.º 4
0
 public Builder mergeFrom(com.hifun.soul.proto.common.Technologys.Technology other) {
   if (other == com.hifun.soul.proto.common.Technologys.Technology.getDefaultInstance())
     return this;
   if (other.hasTechnologyId()) {
     setTechnologyId(other.getTechnologyId());
   }
   if (other.hasLevel()) {
     setLevel(other.getLevel());
   }
   this.mergeUnknownFields(other.getUnknownFields());
   return this;
 }
Exemplo n.º 5
0
 public com.hifun.soul.proto.common.Technologys.Technology getDefaultInstanceForType() {
   return com.hifun.soul.proto.common.Technologys.Technology.getDefaultInstance();
 }
Exemplo n.º 6
0
 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
   return com.hifun.soul.proto.common.Technologys.Technology.getDescriptor();
 }