@java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (overwriteObjectsAlreadyExistingInSink_ != false) {
        size +=
            com.google.protobuf.CodedOutputStream.computeBoolSize(
                1, overwriteObjectsAlreadyExistingInSink_);
      }
      if (deleteObjectsUniqueInSink_ != false) {
        size +=
            com.google.protobuf.CodedOutputStream.computeBoolSize(2, deleteObjectsUniqueInSink_);
      }
      if (deleteObjectsFromSourceAfterTransfer_ != false) {
        size +=
            com.google.protobuf.CodedOutputStream.computeBoolSize(
                3, deleteObjectsFromSourceAfterTransfer_);
      }
      if (overwriteWhen_
          != com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen
              .OVERWRITE_WHEN_UNSPECIFIED
              .getNumber()) {
        size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, overwriteWhen_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMetadataOptions());
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
<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