@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (overwriteObjectsAlreadyExistingInSink_ != false) {
        output.writeBool(1, overwriteObjectsAlreadyExistingInSink_);
      }
      if (deleteObjectsUniqueInSink_ != false) {
        output.writeBool(2, deleteObjectsUniqueInSink_);
      }
      if (deleteObjectsFromSourceAfterTransfer_ != false) {
        output.writeBool(3, deleteObjectsFromSourceAfterTransfer_);
      }
      if (overwriteWhen_
          != com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen
              .OVERWRITE_WHEN_UNSPECIFIED
              .getNumber()) {
        output.writeEnum(4, overwriteWhen_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(5, getMetadataOptions());
      }
      getUnknownFields().writeTo(output);
    }
<pre>
Represents the selected metadata options for a transfer job.
</pre>

<code>.google.storagetransfer.v1.MetadataOptions metadata_options = 5;</code>
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java