Пример #1
0
 public Builder mergeFrom(
     jp.go.nict.langrid.client.protobuf.proto.TranslationProtos.TranslateResponse other) {
   if (other
       == jp.go.nict.langrid.client.protobuf.proto.TranslationProtos.TranslateResponse
           .getDefaultInstance()) return this;
   if (!other.headers_.isEmpty()) {
     if (result.headers_.isEmpty()) {
       result.headers_ =
           new java.util.ArrayList<
               jp.go.nict.langrid.client.protobuf.proto.CommonProtos.Header>();
     }
     result.headers_.addAll(other.headers_);
   }
   if (other.hasFault()) {
     mergeFault(other.getFault());
   }
   if (other.hasResult()) {
     setResult(other.getResult());
   }
   this.mergeUnknownFields(other.getUnknownFields());
   return this;
 }
Пример #2
0
 public java.lang.String getResult() {
   return result.getResult();
 }