public static enum TransferTypes.MetadataOptions.StorageClass extends Enum<TransferTypes.MetadataOptions.StorageClass> implements com.google.protobuf.ProtocolMessageEnum
Options for handling Google Cloud Storage object storage class.Protobuf enum
google.storagetransfer.v1.MetadataOptions.StorageClass| Enum Constant and Description |
|---|
STORAGE_CLASS_ARCHIVE
Set the storage class to ARCHIVE.
|
STORAGE_CLASS_COLDLINE
Set the storage class to COLDLINE.
|
STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT
Use the destination bucket's default storage class.
|
STORAGE_CLASS_NEARLINE
Set the storage class to NEARLINE.
|
STORAGE_CLASS_PRESERVE
Preserve the object's original storage class.
|
STORAGE_CLASS_STANDARD
Set the storage class to STANDARD.
|
STORAGE_CLASS_UNSPECIFIED
Storage class behavior is unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
STORAGE_CLASS_ARCHIVE_VALUE
Set the storage class to ARCHIVE.
|
static int |
STORAGE_CLASS_COLDLINE_VALUE
Set the storage class to COLDLINE.
|
static int |
STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT_VALUE
Use the destination bucket's default storage class.
|
static int |
STORAGE_CLASS_NEARLINE_VALUE
Set the storage class to NEARLINE.
|
static int |
STORAGE_CLASS_PRESERVE_VALUE
Preserve the object's original storage class.
|
static int |
STORAGE_CLASS_STANDARD_VALUE
Set the storage class to STANDARD.
|
static int |
STORAGE_CLASS_UNSPECIFIED_VALUE
Storage class behavior is unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static TransferTypes.MetadataOptions.StorageClass |
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.StorageClass> |
internalGetValueMap() |
static TransferTypes.MetadataOptions.StorageClass |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransferTypes.MetadataOptions.StorageClass |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransferTypes.MetadataOptions.StorageClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferTypes.MetadataOptions.StorageClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferTypes.MetadataOptions.StorageClass STORAGE_CLASS_UNSPECIFIED
Storage class behavior is unspecified.
STORAGE_CLASS_UNSPECIFIED = 0;public static final TransferTypes.MetadataOptions.StorageClass STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT
Use the destination bucket's default storage class.
STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1;public static final TransferTypes.MetadataOptions.StorageClass STORAGE_CLASS_PRESERVE
Preserve the object's original storage class. This is only supported for transfers from Google Cloud Storage buckets.
STORAGE_CLASS_PRESERVE = 2;public static final TransferTypes.MetadataOptions.StorageClass STORAGE_CLASS_STANDARD
Set the storage class to STANDARD.
STORAGE_CLASS_STANDARD = 3;public static final TransferTypes.MetadataOptions.StorageClass STORAGE_CLASS_NEARLINE
Set the storage class to NEARLINE.
STORAGE_CLASS_NEARLINE = 4;public static final TransferTypes.MetadataOptions.StorageClass STORAGE_CLASS_COLDLINE
Set the storage class to COLDLINE.
STORAGE_CLASS_COLDLINE = 5;public static final TransferTypes.MetadataOptions.StorageClass STORAGE_CLASS_ARCHIVE
Set the storage class to ARCHIVE.
STORAGE_CLASS_ARCHIVE = 6;public static final TransferTypes.MetadataOptions.StorageClass UNRECOGNIZED
public static final int STORAGE_CLASS_UNSPECIFIED_VALUE
Storage class behavior is unspecified.
STORAGE_CLASS_UNSPECIFIED = 0;public static final int STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT_VALUE
Use the destination bucket's default storage class.
STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1;public static final int STORAGE_CLASS_PRESERVE_VALUE
Preserve the object's original storage class. This is only supported for transfers from Google Cloud Storage buckets.
STORAGE_CLASS_PRESERVE = 2;public static final int STORAGE_CLASS_STANDARD_VALUE
Set the storage class to STANDARD.
STORAGE_CLASS_STANDARD = 3;public static final int STORAGE_CLASS_NEARLINE_VALUE
Set the storage class to NEARLINE.
STORAGE_CLASS_NEARLINE = 4;public static final int STORAGE_CLASS_COLDLINE_VALUE
Set the storage class to COLDLINE.
STORAGE_CLASS_COLDLINE = 5;public static final int STORAGE_CLASS_ARCHIVE_VALUE
Set the storage class to ARCHIVE.
STORAGE_CLASS_ARCHIVE = 6;public static TransferTypes.MetadataOptions.StorageClass[] values()
for (TransferTypes.MetadataOptions.StorageClass c : TransferTypes.MetadataOptions.StorageClass.values()) System.out.println(c);
public static TransferTypes.MetadataOptions.StorageClass 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.StorageClass valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransferTypes.MetadataOptions.StorageClass forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransferTypes.MetadataOptions.StorageClass> 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.StorageClass valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.