Beispiel #1
0
 public Builder mergeFrom(com.shsz.young.tut.protobuf.ProtoMsgs.ProtobufPOJO other) {
   if (other == com.shsz.young.tut.protobuf.ProtoMsgs.ProtobufPOJO.getDefaultInstance())
     return this;
   if (other.hasId()) {
     setId(other.getId());
   }
   if (other.hasName()) {
     setName(other.getName());
   }
   if (other.hasStatus()) {
     setStatus(other.getStatus());
   }
   this.mergeUnknownFields(other.getUnknownFields());
   return this;
 }
Beispiel #2
0
 public com.shsz.young.tut.protobuf.ProtoMsgs.ProtobufPOJO getDefaultInstanceForType() {
   return com.shsz.young.tut.protobuf.ProtoMsgs.ProtobufPOJO.getDefaultInstance();
 }