public static final class TransferTypes.MetadataOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.MetadataOptions.Builder> implements TransferTypes.MetadataOptionsOrBuilder
Specifies the metadata options for running a transfer.Protobuf type
google.storagetransfer.v1.MetadataOptions| Modifier and Type | Method and Description |
|---|---|
TransferTypes.MetadataOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransferTypes.MetadataOptions |
build() |
TransferTypes.MetadataOptions |
buildPartial() |
TransferTypes.MetadataOptions.Builder |
clear() |
TransferTypes.MetadataOptions.Builder |
clearAcl()
Specifies how each object's ACLs should be preserved for transfers between
Google Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TransferTypes.MetadataOptions.Builder |
clearGid()
Specifies how each file's POSIX group ID (GID) attribute should be handled
by the transfer.
|
TransferTypes.MetadataOptions.Builder |
clearKmsKey()
Specifies how each object's Cloud KMS customer-managed encryption key
(CMEK) is preserved for transfers between Google Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Builder |
clearMode()
Specifies how each file's mode attribute should be handled by the transfer.
|
TransferTypes.MetadataOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TransferTypes.MetadataOptions.Builder |
clearStorageClass()
Specifies the storage class to set on objects being transferred to Google
Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Builder |
clearSymlink()
Specifies how symlinks should be handled by the transfer.
|
TransferTypes.MetadataOptions.Builder |
clearTemporaryHold()
Specifies how each object's temporary hold status should be preserved for
transfers between Google Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Builder |
clearTimeCreated()
Specifies how each object's `timeCreated` metadata is preserved for
transfers between Google Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Builder |
clearUid()
Specifies how each file's POSIX user ID (UID) attribute should be handled
by the transfer.
|
TransferTypes.MetadataOptions.Builder |
clone() |
TransferTypes.MetadataOptions.Acl |
getAcl()
Specifies how each object's ACLs should be preserved for transfers between
Google Cloud Storage buckets.
|
int |
getAclValue()
Specifies how each object's ACLs should be preserved for transfers between
Google Cloud Storage buckets.
|
TransferTypes.MetadataOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
TransferTypes.MetadataOptions.GID |
getGid()
Specifies how each file's POSIX group ID (GID) attribute should be handled
by the transfer.
|
int |
getGidValue()
Specifies how each file's POSIX group ID (GID) attribute should be handled
by the transfer.
|
TransferTypes.MetadataOptions.KmsKey |
getKmsKey()
Specifies how each object's Cloud KMS customer-managed encryption key
(CMEK) is preserved for transfers between Google Cloud Storage buckets.
|
int |
getKmsKeyValue()
Specifies how each object's Cloud KMS customer-managed encryption key
(CMEK) is preserved for transfers between Google Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Mode |
getMode()
Specifies how each file's mode attribute should be handled by the transfer.
|
int |
getModeValue()
Specifies how each file's mode attribute should be handled by the transfer.
|
TransferTypes.MetadataOptions.StorageClass |
getStorageClass()
Specifies the storage class to set on objects being transferred to Google
Cloud Storage buckets.
|
int |
getStorageClassValue()
Specifies the storage class to set on objects being transferred to Google
Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Symlink |
getSymlink()
Specifies how symlinks should be handled by the transfer.
|
int |
getSymlinkValue()
Specifies how symlinks should be handled by the transfer.
|
TransferTypes.MetadataOptions.TemporaryHold |
getTemporaryHold()
Specifies how each object's temporary hold status should be preserved for
transfers between Google Cloud Storage buckets.
|
int |
getTemporaryHoldValue()
Specifies how each object's temporary hold status should be preserved for
transfers between Google Cloud Storage buckets.
|
TransferTypes.MetadataOptions.TimeCreated |
getTimeCreated()
Specifies how each object's `timeCreated` metadata is preserved for
transfers between Google Cloud Storage buckets.
|
int |
getTimeCreatedValue()
Specifies how each object's `timeCreated` metadata is preserved for
transfers between Google Cloud Storage buckets.
|
TransferTypes.MetadataOptions.UID |
getUid()
Specifies how each file's POSIX user ID (UID) attribute should be handled
by the transfer.
|
int |
getUidValue()
Specifies how each file's POSIX user ID (UID) attribute should be handled
by the transfer.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TransferTypes.MetadataOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TransferTypes.MetadataOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
TransferTypes.MetadataOptions.Builder |
mergeFrom(TransferTypes.MetadataOptions other) |
TransferTypes.MetadataOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TransferTypes.MetadataOptions.Builder |
setAcl(TransferTypes.MetadataOptions.Acl value)
Specifies how each object's ACLs should be preserved for transfers between
Google Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Builder |
setAclValue(int value)
Specifies how each object's ACLs should be preserved for transfers between
Google Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransferTypes.MetadataOptions.Builder |
setGid(TransferTypes.MetadataOptions.GID value)
Specifies how each file's POSIX group ID (GID) attribute should be handled
by the transfer.
|
TransferTypes.MetadataOptions.Builder |
setGidValue(int value)
Specifies how each file's POSIX group ID (GID) attribute should be handled
by the transfer.
|
TransferTypes.MetadataOptions.Builder |
setKmsKey(TransferTypes.MetadataOptions.KmsKey value)
Specifies how each object's Cloud KMS customer-managed encryption key
(CMEK) is preserved for transfers between Google Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Builder |
setKmsKeyValue(int value)
Specifies how each object's Cloud KMS customer-managed encryption key
(CMEK) is preserved for transfers between Google Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Builder |
setMode(TransferTypes.MetadataOptions.Mode value)
Specifies how each file's mode attribute should be handled by the transfer.
|
TransferTypes.MetadataOptions.Builder |
setModeValue(int value)
Specifies how each file's mode attribute should be handled by the transfer.
|
TransferTypes.MetadataOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TransferTypes.MetadataOptions.Builder |
setStorageClass(TransferTypes.MetadataOptions.StorageClass value)
Specifies the storage class to set on objects being transferred to Google
Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Builder |
setStorageClassValue(int value)
Specifies the storage class to set on objects being transferred to Google
Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Builder |
setSymlink(TransferTypes.MetadataOptions.Symlink value)
Specifies how symlinks should be handled by the transfer.
|
TransferTypes.MetadataOptions.Builder |
setSymlinkValue(int value)
Specifies how symlinks should be handled by the transfer.
|
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.
|
TransferTypes.MetadataOptions.Builder |
setTemporaryHoldValue(int value)
Specifies how each object's temporary hold status should be preserved for
transfers between Google Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Builder |
setTimeCreated(TransferTypes.MetadataOptions.TimeCreated value)
Specifies how each object's `timeCreated` metadata is preserved for
transfers between Google Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Builder |
setTimeCreatedValue(int value)
Specifies how each object's `timeCreated` metadata is preserved for
transfers between Google Cloud Storage buckets.
|
TransferTypes.MetadataOptions.Builder |
setUid(TransferTypes.MetadataOptions.UID value)
Specifies how each file's POSIX user ID (UID) attribute should be handled
by the transfer.
|
TransferTypes.MetadataOptions.Builder |
setUidValue(int value)
Specifies how each file's POSIX user ID (UID) attribute should be handled
by the transfer.
|
TransferTypes.MetadataOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.MetadataOptions.Builder>public TransferTypes.MetadataOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.MetadataOptions.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.MetadataOptions.Builder>public TransferTypes.MetadataOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TransferTypes.MetadataOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TransferTypes.MetadataOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TransferTypes.MetadataOptions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.MetadataOptions.Builder>public TransferTypes.MetadataOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.MetadataOptions.Builder>public TransferTypes.MetadataOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.MetadataOptions.Builder>public TransferTypes.MetadataOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.MetadataOptions.Builder>public TransferTypes.MetadataOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.MetadataOptions.Builder>public TransferTypes.MetadataOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.MetadataOptions.Builder>public TransferTypes.MetadataOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransferTypes.MetadataOptions.Builder>public TransferTypes.MetadataOptions.Builder mergeFrom(TransferTypes.MetadataOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.MetadataOptions.Builder>public TransferTypes.MetadataOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransferTypes.MetadataOptions.Builder>IOExceptionpublic 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;getSymlinkValue in interface TransferTypes.MetadataOptionsOrBuilderpublic TransferTypes.MetadataOptions.Builder setSymlinkValue(int 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;value - The enum numeric value on the wire for symlink to set.public TransferTypes.MetadataOptions.Symlink 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;getSymlink in interface TransferTypes.MetadataOptionsOrBuilderpublic 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;value - The symlink to set.public TransferTypes.MetadataOptions.Builder 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;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;getModeValue in interface TransferTypes.MetadataOptionsOrBuilderpublic TransferTypes.MetadataOptions.Builder setModeValue(int value)
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;value - The enum numeric value on the wire for mode to set.public TransferTypes.MetadataOptions.Mode 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;getMode in interface TransferTypes.MetadataOptionsOrBuilderpublic TransferTypes.MetadataOptions.Builder setMode(TransferTypes.MetadataOptions.Mode value)
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;value - The mode to set.public TransferTypes.MetadataOptions.Builder 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;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;getGidValue in interface TransferTypes.MetadataOptionsOrBuilderpublic TransferTypes.MetadataOptions.Builder setGidValue(int value)
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;value - The enum numeric value on the wire for gid to set.public TransferTypes.MetadataOptions.GID 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;getGid in interface TransferTypes.MetadataOptionsOrBuilderpublic TransferTypes.MetadataOptions.Builder setGid(TransferTypes.MetadataOptions.GID value)
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;value - The gid to set.public TransferTypes.MetadataOptions.Builder 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;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;getUidValue in interface TransferTypes.MetadataOptionsOrBuilderpublic TransferTypes.MetadataOptions.Builder setUidValue(int value)
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;value - The enum numeric value on the wire for uid to set.public TransferTypes.MetadataOptions.UID 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;getUid in interface TransferTypes.MetadataOptionsOrBuilderpublic TransferTypes.MetadataOptions.Builder setUid(TransferTypes.MetadataOptions.UID value)
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;value - The uid to set.public TransferTypes.MetadataOptions.Builder 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;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;getAclValue in interface TransferTypes.MetadataOptionsOrBuilderpublic TransferTypes.MetadataOptions.Builder setAclValue(int value)
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;value - The enum numeric value on the wire for acl to set.public TransferTypes.MetadataOptions.Acl 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;getAcl in interface TransferTypes.MetadataOptionsOrBuilderpublic TransferTypes.MetadataOptions.Builder setAcl(TransferTypes.MetadataOptions.Acl value)
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;value - The acl to set.public TransferTypes.MetadataOptions.Builder 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;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;getStorageClassValue in interface TransferTypes.MetadataOptionsOrBuilderpublic TransferTypes.MetadataOptions.Builder setStorageClassValue(int 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;value - The enum numeric value on the wire for storageClass to set.public TransferTypes.MetadataOptions.StorageClass 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;getStorageClass in interface TransferTypes.MetadataOptionsOrBuilderpublic 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;value - The storageClass to set.public TransferTypes.MetadataOptions.Builder 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;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;getTemporaryHoldValue in interface TransferTypes.MetadataOptionsOrBuilderpublic TransferTypes.MetadataOptions.Builder setTemporaryHoldValue(int 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;value - The enum numeric value on the wire for temporaryHold to set.public TransferTypes.MetadataOptions.TemporaryHold 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;getTemporaryHold in interface TransferTypes.MetadataOptionsOrBuilderpublic 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;value - The temporaryHold to set.public TransferTypes.MetadataOptions.Builder 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;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;getKmsKeyValue in interface TransferTypes.MetadataOptionsOrBuilderpublic TransferTypes.MetadataOptions.Builder setKmsKeyValue(int value)
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;value - The enum numeric value on the wire for kmsKey to set.public TransferTypes.MetadataOptions.KmsKey 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;getKmsKey in interface TransferTypes.MetadataOptionsOrBuilderpublic TransferTypes.MetadataOptions.Builder setKmsKey(TransferTypes.MetadataOptions.KmsKey value)
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;value - The kmsKey to set.public TransferTypes.MetadataOptions.Builder 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;public int getTimeCreatedValue()
Specifies how each object's `timeCreated` metadata is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as [TIME_CREATED_SKIP][google.storagetransfer.v1.MetadataOptions.TimeCreated.TIME_CREATED_SKIP].
.google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9;getTimeCreatedValue in interface TransferTypes.MetadataOptionsOrBuilderpublic TransferTypes.MetadataOptions.Builder setTimeCreatedValue(int value)
Specifies how each object's `timeCreated` metadata is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as [TIME_CREATED_SKIP][google.storagetransfer.v1.MetadataOptions.TimeCreated.TIME_CREATED_SKIP].
.google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9;value - The enum numeric value on the wire for timeCreated to set.public TransferTypes.MetadataOptions.TimeCreated getTimeCreated()
Specifies how each object's `timeCreated` metadata is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as [TIME_CREATED_SKIP][google.storagetransfer.v1.MetadataOptions.TimeCreated.TIME_CREATED_SKIP].
.google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9;getTimeCreated in interface TransferTypes.MetadataOptionsOrBuilderpublic TransferTypes.MetadataOptions.Builder setTimeCreated(TransferTypes.MetadataOptions.TimeCreated value)
Specifies how each object's `timeCreated` metadata is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as [TIME_CREATED_SKIP][google.storagetransfer.v1.MetadataOptions.TimeCreated.TIME_CREATED_SKIP].
.google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9;value - The timeCreated to set.public TransferTypes.MetadataOptions.Builder clearTimeCreated()
Specifies how each object's `timeCreated` metadata is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as [TIME_CREATED_SKIP][google.storagetransfer.v1.MetadataOptions.TimeCreated.TIME_CREATED_SKIP].
.google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9;public final TransferTypes.MetadataOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.MetadataOptions.Builder>public final TransferTypes.MetadataOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.MetadataOptions.Builder>Copyright © 2022 Google LLC. All rights reserved.