コード例 #1
0
 public Builder mergeFault(jp.go.nict.langrid.client.protobuf.proto.CommonProtos.Fault value) {
   if (result.hasFault()
       && result.fault_
           != jp.go.nict.langrid.client.protobuf.proto.CommonProtos.Fault
               .getDefaultInstance()) {
     result.fault_ =
         jp.go.nict.langrid.client.protobuf.proto.CommonProtos.Fault.newBuilder(result.fault_)
             .mergeFrom(value)
             .buildPartial();
   } else {
     result.fault_ = value;
   }
   result.hasFault = true;
   return this;
 }
コード例 #2
0
 public Builder setFault(jp.go.nict.langrid.client.protobuf.proto.CommonProtos.Fault value) {
   if (value == null) {
     throw new NullPointerException();
   }
   result.hasFault = true;
   result.fault_ = value;
   return this;
 }
コード例 #3
0
 public Builder setFault(
     jp.go.nict.langrid.client.protobuf.proto.CommonProtos.Fault.Builder builderForValue) {
   result.hasFault = true;
   result.fault_ = builderForValue.build();
   return this;
 }
コード例 #4
0
 public Builder clearFault() {
   result.hasFault = false;
   result.fault_ =
       jp.go.nict.langrid.client.protobuf.proto.CommonProtos.Fault.getDefaultInstance();
   return this;
 }