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

      size = 0;
      if (symlink_
          != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink
              .SYMLINK_UNSPECIFIED
              .getNumber()) {
        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, symlink_);
      }
      if (mode_
          != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.MODE_UNSPECIFIED
              .getNumber()) {
        size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, mode_);
      }
      if (gid_
          != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.GID_UNSPECIFIED
              .getNumber()) {
        size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, gid_);
      }
      if (uid_
          != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UID_UNSPECIFIED
              .getNumber()) {
        size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, uid_);
      }
      if (acl_
          != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.ACL_UNSPECIFIED
              .getNumber()) {
        size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, acl_);
      }
      if (storageClass_
          != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass
              .STORAGE_CLASS_UNSPECIFIED
              .getNumber()) {
        size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, storageClass_);
      }
      if (temporaryHold_
          != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold
              .TEMPORARY_HOLD_UNSPECIFIED
              .getNumber()) {
        size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, temporaryHold_);
      }
      if (kmsKey_
          != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey
              .KMS_KEY_UNSPECIFIED
              .getNumber()) {
        size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, kmsKey_);
      }
      if (timeCreated_
          != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated
              .TIME_CREATED_UNSPECIFIED
              .getNumber()) {
        size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, timeCreated_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
<pre>
Specifies how each object's `timeCreated` metadata is preserved for
transfers. If unspecified, the default behavior is the same as
[TIME_CREATED_SKIP][google.storagetransfer.v1.MetadataOptions.TimeCreated.TIME_CREATED_SKIP].
This behavior is supported for transfers to Cloud Storage buckets from
Cloud Storage, Amazon S3, S3-compatible storage, and Azure sources.
</pre>

<code>.google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9;</code>

@return The timeCreated.
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java