public static enum TransferTypes.MetadataOptions.TimeCreated extends Enum<TransferTypes.MetadataOptions.TimeCreated> implements com.google.protobuf.ProtocolMessageEnum
Options for handling `timeCreated` metadata for Google Cloud Storage objects.Protobuf enum
google.storagetransfer.v1.MetadataOptions.TimeCreated| Enum Constant and Description |
|---|
TIME_CREATED_PRESERVE_AS_CUSTOM_TIME
Preserves the source object's `timeCreated` metadata in the `customTime`
field in the destination object.
|
TIME_CREATED_SKIP
Do not preserve the `timeCreated` metadata from the source object.
|
TIME_CREATED_UNSPECIFIED
TimeCreated behavior is unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
TIME_CREATED_PRESERVE_AS_CUSTOM_TIME_VALUE
Preserves the source object's `timeCreated` metadata in the `customTime`
field in the destination object.
|
static int |
TIME_CREATED_SKIP_VALUE
Do not preserve the `timeCreated` metadata from the source object.
|
static int |
TIME_CREATED_UNSPECIFIED_VALUE
TimeCreated behavior is unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static TransferTypes.MetadataOptions.TimeCreated |
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.TimeCreated> |
internalGetValueMap() |
static TransferTypes.MetadataOptions.TimeCreated |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransferTypes.MetadataOptions.TimeCreated |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransferTypes.MetadataOptions.TimeCreated |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferTypes.MetadataOptions.TimeCreated[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferTypes.MetadataOptions.TimeCreated TIME_CREATED_UNSPECIFIED
TimeCreated behavior is unspecified.
TIME_CREATED_UNSPECIFIED = 0;public static final TransferTypes.MetadataOptions.TimeCreated TIME_CREATED_SKIP
Do not preserve the `timeCreated` metadata from the source object.
TIME_CREATED_SKIP = 1;public static final TransferTypes.MetadataOptions.TimeCreated TIME_CREATED_PRESERVE_AS_CUSTOM_TIME
Preserves the source object's `timeCreated` metadata in the `customTime` field in the destination object. Note that any value stored in the source object's `customTime` field will not be propagated to the destination object.
TIME_CREATED_PRESERVE_AS_CUSTOM_TIME = 2;public static final TransferTypes.MetadataOptions.TimeCreated UNRECOGNIZED
public static final int TIME_CREATED_UNSPECIFIED_VALUE
TimeCreated behavior is unspecified.
TIME_CREATED_UNSPECIFIED = 0;public static final int TIME_CREATED_SKIP_VALUE
Do not preserve the `timeCreated` metadata from the source object.
TIME_CREATED_SKIP = 1;public static final int TIME_CREATED_PRESERVE_AS_CUSTOM_TIME_VALUE
Preserves the source object's `timeCreated` metadata in the `customTime` field in the destination object. Note that any value stored in the source object's `customTime` field will not be propagated to the destination object.
TIME_CREATED_PRESERVE_AS_CUSTOM_TIME = 2;public static TransferTypes.MetadataOptions.TimeCreated[] values()
for (TransferTypes.MetadataOptions.TimeCreated c : TransferTypes.MetadataOptions.TimeCreated.values()) System.out.println(c);
public static TransferTypes.MetadataOptions.TimeCreated 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.TimeCreated valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransferTypes.MetadataOptions.TimeCreated forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransferTypes.MetadataOptions.TimeCreated> 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.TimeCreated valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.