public static enum TransferTypes.MetadataOptions.Acl extends Enum<TransferTypes.MetadataOptions.Acl> implements com.google.protobuf.ProtocolMessageEnum
Options for handling Cloud Storage object ACLs.Protobuf enum
google.storagetransfer.v1.MetadataOptions.Acl| Enum Constant and Description |
|---|
ACL_DESTINATION_BUCKET_DEFAULT
Use the destination bucket's default object ACLS, if applicable.
|
ACL_PRESERVE
Preserve the object's original ACLs.
|
ACL_UNSPECIFIED
ACL behavior is unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACL_DESTINATION_BUCKET_DEFAULT_VALUE
Use the destination bucket's default object ACLS, if applicable.
|
static int |
ACL_PRESERVE_VALUE
Preserve the object's original ACLs.
|
static int |
ACL_UNSPECIFIED_VALUE
ACL behavior is unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static TransferTypes.MetadataOptions.Acl |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<TransferTypes.MetadataOptions.Acl> |
internalGetValueMap() |
static TransferTypes.MetadataOptions.Acl |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransferTypes.MetadataOptions.Acl |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransferTypes.MetadataOptions.Acl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferTypes.MetadataOptions.Acl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferTypes.MetadataOptions.Acl ACL_UNSPECIFIED
ACL behavior is unspecified.
ACL_UNSPECIFIED = 0;public static final TransferTypes.MetadataOptions.Acl ACL_DESTINATION_BUCKET_DEFAULT
Use the destination bucket's default object ACLS, if applicable.
ACL_DESTINATION_BUCKET_DEFAULT = 1;public static final TransferTypes.MetadataOptions.Acl ACL_PRESERVE
Preserve the object's original ACLs. This requires the service account to have `storage.objects.getIamPolicy` permission for the source object. [Uniform bucket-level access](https://cloud.google.com/storage/docs/uniform-bucket-level-access) must not be enabled on either the source or destination buckets.
ACL_PRESERVE = 2;public static final TransferTypes.MetadataOptions.Acl UNRECOGNIZED
public static final int ACL_UNSPECIFIED_VALUE
ACL behavior is unspecified.
ACL_UNSPECIFIED = 0;public static final int ACL_DESTINATION_BUCKET_DEFAULT_VALUE
Use the destination bucket's default object ACLS, if applicable.
ACL_DESTINATION_BUCKET_DEFAULT = 1;public static final int ACL_PRESERVE_VALUE
Preserve the object's original ACLs. This requires the service account to have `storage.objects.getIamPolicy` permission for the source object. [Uniform bucket-level access](https://cloud.google.com/storage/docs/uniform-bucket-level-access) must not be enabled on either the source or destination buckets.
ACL_PRESERVE = 2;public static TransferTypes.MetadataOptions.Acl[] values()
for (TransferTypes.MetadataOptions.Acl c : TransferTypes.MetadataOptions.Acl.values()) System.out.println(c);
public static TransferTypes.MetadataOptions.Acl valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static TransferTypes.MetadataOptions.Acl valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransferTypes.MetadataOptions.Acl forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransferTypes.MetadataOptions.Acl> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static TransferTypes.MetadataOptions.Acl valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.