Example #1
0
 public Builder mergeFrom(cn.klzhong.samples.proto.hello.Hello.HelloRequest other) {
   if (other == cn.klzhong.samples.proto.hello.Hello.HelloRequest.getDefaultInstance())
     return this;
   if (other.hasId()) {
     setId(other.getId());
   }
   if (other.hasMsg()) {
     bitField0_ |= 0x00000002;
     msg_ = other.msg_;
     onChanged();
   }
   this.mergeUnknownFields(other.getUnknownFields());
   return this;
 }
Example #2
0
 public cn.klzhong.samples.proto.hello.Hello.HelloRequest getDefaultInstanceForType() {
   return cn.klzhong.samples.proto.hello.Hello.HelloRequest.getDefaultInstance();
 }