@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, target_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(3, getError());
      }
      getUnknownFields().writeTo(output);
    }
<pre>
The error result in case of failure.
</pre>

<code>.google.rpc.Status error = 3;</code>
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/BatchTransferResourcesResponse.java