public static final class TransferTypes.MetadataOptions extends com.google.protobuf.GeneratedMessageV3 implements TransferTypes.MetadataOptionsOrBuilder
Specifies the metadata options for running a transfer.Protobuf type
google.storagetransfer.v1.MetadataOptions| Modifier and Type | Class and Description |
|---|---|
static class |
TransferTypes.MetadataOptions.Acl
Options for handling Cloud Storage object ACLs.
|
static class |
TransferTypes.MetadataOptions.Builder
Specifies the metadata options for running a transfer.
|
static class |
TransferTypes.MetadataOptions.GID
Options for handling file GID attribute.
|
static class |
TransferTypes.MetadataOptions.KmsKey
Options for handling the KmsKey setting for Google Cloud Storage objects.
|
static class |
TransferTypes.MetadataOptions.Mode
Options for handling file mode attribute.
|
static class |
TransferTypes.MetadataOptions.StorageClass
Options for handling Google Cloud Storage object storage class.
|
static class |
TransferTypes.MetadataOptions.Symlink
Whether symlinks should be skipped or preserved during a transfer job.
|
static class |
TransferTypes.MetadataOptions.TemporaryHold
Options for handling temporary holds for Google Cloud Storage objects.
|
static class |
TransferTypes.MetadataOptions.TimeCreated
Options for handling `timeCreated` metadata for Google Cloud Storage
objects.
|
static class |
TransferTypes.MetadataOptions.UID
Options for handling file UID attribute.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACL_FIELD_NUMBER |
static int |
GID_FIELD_NUMBER |
static int |
KMS_KEY_FIELD_NUMBER |
static int |
MODE_FIELD_NUMBER |
static int |
STORAGE_CLASS_FIELD_NUMBER |
static int |
SYMLINK_FIELD_NUMBER |
static int |
TEMPORARY_HOLD_FIELD_NUMBER |
static int |
TIME_CREATED_FIELD_NUMBER |
static int |
UID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static TransferTypes.MetadataOptions |
getDefaultInstance() |
TransferTypes.MetadataOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<TransferTypes.MetadataOptions> |
getParserForType() |
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TransferTypes.MetadataOptions.Builder |
newBuilder() |
static TransferTypes.MetadataOptions.Builder |
newBuilder(TransferTypes.MetadataOptions prototype) |
TransferTypes.MetadataOptions.Builder |
newBuilderForType() |
protected TransferTypes.MetadataOptions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TransferTypes.MetadataOptions |
parseDelimitedFrom(InputStream input) |
static TransferTypes.MetadataOptions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.MetadataOptions |
parseFrom(byte[] data) |
static TransferTypes.MetadataOptions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.MetadataOptions |
parseFrom(ByteBuffer data) |
static TransferTypes.MetadataOptions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.MetadataOptions |
parseFrom(com.google.protobuf.ByteString data) |
static TransferTypes.MetadataOptions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.MetadataOptions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TransferTypes.MetadataOptions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.MetadataOptions |
parseFrom(InputStream input) |
static TransferTypes.MetadataOptions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TransferTypes.MetadataOptions> |
parser() |
TransferTypes.MetadataOptions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SYMLINK_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
public static final int GID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
public static final int ACL_FIELD_NUMBER
public static final int STORAGE_CLASS_FIELD_NUMBER
public static final int TEMPORARY_HOLD_FIELD_NUMBER
public static final int KMS_KEY_FIELD_NUMBER
public static final int TIME_CREATED_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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.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 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.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 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.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 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.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 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.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 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.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 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.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 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.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 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.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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TransferTypes.MetadataOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.MetadataOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.MetadataOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.MetadataOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.MetadataOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.MetadataOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.MetadataOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static TransferTypes.MetadataOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransferTypes.MetadataOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TransferTypes.MetadataOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransferTypes.MetadataOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TransferTypes.MetadataOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TransferTypes.MetadataOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TransferTypes.MetadataOptions.Builder newBuilder()
public static TransferTypes.MetadataOptions.Builder newBuilder(TransferTypes.MetadataOptions prototype)
public TransferTypes.MetadataOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TransferTypes.MetadataOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TransferTypes.MetadataOptions getDefaultInstance()
public static com.google.protobuf.Parser<TransferTypes.MetadataOptions> parser()
public com.google.protobuf.Parser<TransferTypes.MetadataOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TransferTypes.MetadataOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.