Class TransferTypes.MetadataOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransferTypes.MetadataOptions.Builder>
com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TransferTypes.MetadataOptionsOrBuilder,Cloneable
- Enclosing class:
- TransferTypes.MetadataOptions
public static final class TransferTypes.MetadataOptions.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TransferTypes.MetadataOptions.Builder>
implements TransferTypes.MetadataOptionsOrBuilder
Specifies the metadata options for running a transfer.Protobuf type
google.storagetransfer.v1.MetadataOptions-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearAcl()Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets.clearGid()Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets.Specifies how each file's mode attribute should be handled by the transfer.Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets.Specifies how symlinks should be handled by the transfer.Specifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets.Specifies how each object's `timeCreated` metadata is preserved for transfers.clearUid()Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.getAcl()Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets.intSpecifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGid()Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.intSpecifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets.intSpecifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets.getMode()Specifies how each file's mode attribute should be handled by the transfer.intSpecifies how each file's mode attribute should be handled by the transfer.Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets.intSpecifies the storage class to set on objects being transferred to Google Cloud Storage buckets.Specifies how symlinks should be handled by the transfer.intSpecifies how symlinks should be handled by the transfer.Specifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets.intSpecifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets.Specifies how each object's `timeCreated` metadata is preserved for transfers.intSpecifies how each object's `timeCreated` metadata is preserved for transfers.getUid()Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.intSpecifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets.setAclValue(int value) Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets.Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.setGidValue(int value) Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets.setKmsKeyValue(int value) Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets.Specifies how each file's mode attribute should be handled by the transfer.setModeValue(int value) Specifies how each file's mode attribute should be handled by the transfer.Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets.setStorageClassValue(int value) Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets.Specifies how symlinks should be handled by the transfer.setSymlinkValue(int value) Specifies how symlinks should be handled by the transfer.Specifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets.setTemporaryHoldValue(int value) Specifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets.Specifies how each object's `timeCreated` metadata is preserved for transfers.setTimeCreatedValue(int value) Specifies how each object's `timeCreated` metadata is preserved for transfers.Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.setUidValue(int value) Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.MetadataOptions.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.MetadataOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.MetadataOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransferTypes.MetadataOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.MetadataOptions.Builder>
-
mergeFrom
public TransferTypes.MetadataOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransferTypes.MetadataOptions.Builder>- Throws:
IOException
-
getSymlinkValue
public int getSymlinkValue()Specifies how symlinks should be handled by the transfer. By default, symlinks are not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1;- Specified by:
getSymlinkValuein interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The enum numeric value on the wire for symlink.
-
setSymlinkValue
Specifies how symlinks should be handled by the transfer. By default, symlinks are not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1;- Parameters:
value- The enum numeric value on the wire for symlink to set.- Returns:
- This builder for chaining.
-
getSymlink
Specifies how symlinks should be handled by the transfer. By default, symlinks are not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1;- Specified by:
getSymlinkin interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The symlink.
-
setSymlink
public TransferTypes.MetadataOptions.Builder setSymlink(TransferTypes.MetadataOptions.Symlink value) Specifies how symlinks should be handled by the transfer. By default, symlinks are not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1;- Parameters:
value- The symlink to set.- Returns:
- This builder for chaining.
-
clearSymlink
Specifies how symlinks should be handled by the transfer. By default, symlinks are not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1;- Returns:
- This builder for chaining.
-
getModeValue
public int getModeValue()Specifies how each file's mode attribute should be handled by the transfer. By default, mode is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.Mode mode = 2;- Specified by:
getModeValuein interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The enum numeric value on the wire for mode.
-
setModeValue
Specifies how each file's mode attribute should be handled by the transfer. By default, mode is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.Mode mode = 2;- Parameters:
value- The enum numeric value on the wire for mode to set.- Returns:
- This builder for chaining.
-
getMode
Specifies how each file's mode attribute should be handled by the transfer. By default, mode is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.Mode mode = 2;- Specified by:
getModein interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The mode.
-
setMode
Specifies how each file's mode attribute should be handled by the transfer. By default, mode is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.Mode mode = 2;- Parameters:
value- The mode to set.- Returns:
- This builder for chaining.
-
clearMode
Specifies how each file's mode attribute should be handled by the transfer. By default, mode is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.Mode mode = 2;- Returns:
- This builder for chaining.
-
getGidValue
public int getGidValue()Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer. By default, GID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.GID gid = 3;- Specified by:
getGidValuein interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The enum numeric value on the wire for gid.
-
setGidValue
Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer. By default, GID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.GID gid = 3;- Parameters:
value- The enum numeric value on the wire for gid to set.- Returns:
- This builder for chaining.
-
getGid
Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer. By default, GID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.GID gid = 3;- Specified by:
getGidin interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The gid.
-
setGid
Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer. By default, GID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.GID gid = 3;- Parameters:
value- The gid to set.- Returns:
- This builder for chaining.
-
clearGid
Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer. By default, GID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.GID gid = 3;- Returns:
- This builder for chaining.
-
getUidValue
public int getUidValue()Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer. By default, UID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.UID uid = 4;- Specified by:
getUidValuein interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The enum numeric value on the wire for uid.
-
setUidValue
Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer. By default, UID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.UID uid = 4;- Parameters:
value- The enum numeric value on the wire for uid to set.- Returns:
- This builder for chaining.
-
getUid
Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer. By default, UID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.UID uid = 4;- Specified by:
getUidin interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The uid.
-
setUid
Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer. By default, UID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.UID uid = 4;- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer. By default, UID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
.google.storagetransfer.v1.MetadataOptions.UID uid = 4;- Returns:
- This builder for chaining.
-
getAclValue
public int getAclValue()Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as ACL_DESTINATION_BUCKET_DEFAULT.
.google.storagetransfer.v1.MetadataOptions.Acl acl = 5;- Specified by:
getAclValuein interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The enum numeric value on the wire for acl.
-
setAclValue
Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as ACL_DESTINATION_BUCKET_DEFAULT.
.google.storagetransfer.v1.MetadataOptions.Acl acl = 5;- Parameters:
value- The enum numeric value on the wire for acl to set.- Returns:
- This builder for chaining.
-
getAcl
Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as ACL_DESTINATION_BUCKET_DEFAULT.
.google.storagetransfer.v1.MetadataOptions.Acl acl = 5;- Specified by:
getAclin interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The acl.
-
setAcl
Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as ACL_DESTINATION_BUCKET_DEFAULT.
.google.storagetransfer.v1.MetadataOptions.Acl acl = 5;- Parameters:
value- The acl to set.- Returns:
- This builder for chaining.
-
clearAcl
Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as ACL_DESTINATION_BUCKET_DEFAULT.
.google.storagetransfer.v1.MetadataOptions.Acl acl = 5;- Returns:
- This builder for chaining.
-
getStorageClassValue
public int getStorageClassValue()Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets. If unspecified, the default behavior is the same as [STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT][google.storagetransfer.v1.MetadataOptions.StorageClass.STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT].
.google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6;- Specified by:
getStorageClassValuein interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The enum numeric value on the wire for storageClass.
-
setStorageClassValue
Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets. If unspecified, the default behavior is the same as [STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT][google.storagetransfer.v1.MetadataOptions.StorageClass.STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT].
.google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6;- Parameters:
value- The enum numeric value on the wire for storageClass to set.- Returns:
- This builder for chaining.
-
getStorageClass
Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets. If unspecified, the default behavior is the same as [STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT][google.storagetransfer.v1.MetadataOptions.StorageClass.STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT].
.google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6;- Specified by:
getStorageClassin interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The storageClass.
-
setStorageClass
public TransferTypes.MetadataOptions.Builder setStorageClass(TransferTypes.MetadataOptions.StorageClass value) Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets. If unspecified, the default behavior is the same as [STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT][google.storagetransfer.v1.MetadataOptions.StorageClass.STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT].
.google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6;- Parameters:
value- The storageClass to set.- Returns:
- This builder for chaining.
-
clearStorageClass
Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets. If unspecified, the default behavior is the same as [STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT][google.storagetransfer.v1.MetadataOptions.StorageClass.STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT].
.google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6;- Returns:
- This builder for chaining.
-
getTemporaryHoldValue
public int getTemporaryHoldValue()Specifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as [TEMPORARY_HOLD_PRESERVE][google.storagetransfer.v1.MetadataOptions.TemporaryHold.TEMPORARY_HOLD_PRESERVE].
.google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7;- Specified by:
getTemporaryHoldValuein interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The enum numeric value on the wire for temporaryHold.
-
setTemporaryHoldValue
Specifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as [TEMPORARY_HOLD_PRESERVE][google.storagetransfer.v1.MetadataOptions.TemporaryHold.TEMPORARY_HOLD_PRESERVE].
.google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7;- Parameters:
value- The enum numeric value on the wire for temporaryHold to set.- Returns:
- This builder for chaining.
-
getTemporaryHold
Specifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as [TEMPORARY_HOLD_PRESERVE][google.storagetransfer.v1.MetadataOptions.TemporaryHold.TEMPORARY_HOLD_PRESERVE].
.google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7;- Specified by:
getTemporaryHoldin interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The temporaryHold.
-
setTemporaryHold
public TransferTypes.MetadataOptions.Builder setTemporaryHold(TransferTypes.MetadataOptions.TemporaryHold value) Specifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as [TEMPORARY_HOLD_PRESERVE][google.storagetransfer.v1.MetadataOptions.TemporaryHold.TEMPORARY_HOLD_PRESERVE].
.google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7;- Parameters:
value- The temporaryHold to set.- Returns:
- This builder for chaining.
-
clearTemporaryHold
Specifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as [TEMPORARY_HOLD_PRESERVE][google.storagetransfer.v1.MetadataOptions.TemporaryHold.TEMPORARY_HOLD_PRESERVE].
.google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7;- Returns:
- This builder for chaining.
-
getKmsKeyValue
public int getKmsKeyValue()Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as [KMS_KEY_DESTINATION_BUCKET_DEFAULT][google.storagetransfer.v1.MetadataOptions.KmsKey.KMS_KEY_DESTINATION_BUCKET_DEFAULT].
.google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8;- Specified by:
getKmsKeyValuein interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The enum numeric value on the wire for kmsKey.
-
setKmsKeyValue
Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as [KMS_KEY_DESTINATION_BUCKET_DEFAULT][google.storagetransfer.v1.MetadataOptions.KmsKey.KMS_KEY_DESTINATION_BUCKET_DEFAULT].
.google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8;- Parameters:
value- The enum numeric value on the wire for kmsKey to set.- Returns:
- This builder for chaining.
-
getKmsKey
Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as [KMS_KEY_DESTINATION_BUCKET_DEFAULT][google.storagetransfer.v1.MetadataOptions.KmsKey.KMS_KEY_DESTINATION_BUCKET_DEFAULT].
.google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8;- Specified by:
getKmsKeyin interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The kmsKey.
-
setKmsKey
Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as [KMS_KEY_DESTINATION_BUCKET_DEFAULT][google.storagetransfer.v1.MetadataOptions.KmsKey.KMS_KEY_DESTINATION_BUCKET_DEFAULT].
.google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8;- Parameters:
value- The kmsKey to set.- Returns:
- This builder for chaining.
-
clearKmsKey
Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as [KMS_KEY_DESTINATION_BUCKET_DEFAULT][google.storagetransfer.v1.MetadataOptions.KmsKey.KMS_KEY_DESTINATION_BUCKET_DEFAULT].
.google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8;- Returns:
- This builder for chaining.
-
getTimeCreatedValue
public int getTimeCreatedValue()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.
.google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9;- Specified by:
getTimeCreatedValuein interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The enum numeric value on the wire for timeCreated.
-
setTimeCreatedValue
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.
.google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9;- Parameters:
value- The enum numeric value on the wire for timeCreated to set.- Returns:
- This builder for chaining.
-
getTimeCreated
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.
.google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9;- Specified by:
getTimeCreatedin interfaceTransferTypes.MetadataOptionsOrBuilder- Returns:
- The timeCreated.
-
setTimeCreated
public TransferTypes.MetadataOptions.Builder setTimeCreated(TransferTypes.MetadataOptions.TimeCreated value) 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.
.google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9;- Parameters:
value- The timeCreated to set.- Returns:
- This builder for chaining.
-
clearTimeCreated
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.
.google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9;- Returns:
- This builder for chaining.
-