public static enum TransferTypes.S3CompatibleMetadata.RequestModel extends Enum<TransferTypes.S3CompatibleMetadata.RequestModel> implements com.google.protobuf.ProtocolMessageEnum
The request model of the API.Protobuf enum
google.storagetransfer.v1.S3CompatibleMetadata.RequestModel| Enum Constant and Description |
|---|
REQUEST_MODEL_PATH_STYLE
Perform requests using Path Style.
|
REQUEST_MODEL_UNSPECIFIED
RequestModel is not specified.
|
REQUEST_MODEL_VIRTUAL_HOSTED_STYLE
Perform requests using Virtual Hosted Style.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
REQUEST_MODEL_PATH_STYLE_VALUE
Perform requests using Path Style.
|
static int |
REQUEST_MODEL_UNSPECIFIED_VALUE
RequestModel is not specified.
|
static int |
REQUEST_MODEL_VIRTUAL_HOSTED_STYLE_VALUE
Perform requests using Virtual Hosted Style.
|
| Modifier and Type | Method and Description |
|---|---|
static TransferTypes.S3CompatibleMetadata.RequestModel |
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.S3CompatibleMetadata.RequestModel> |
internalGetValueMap() |
static TransferTypes.S3CompatibleMetadata.RequestModel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransferTypes.S3CompatibleMetadata.RequestModel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransferTypes.S3CompatibleMetadata.RequestModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferTypes.S3CompatibleMetadata.RequestModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferTypes.S3CompatibleMetadata.RequestModel REQUEST_MODEL_UNSPECIFIED
RequestModel is not specified.
REQUEST_MODEL_UNSPECIFIED = 0;public static final TransferTypes.S3CompatibleMetadata.RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE
Perform requests using Virtual Hosted Style. Example: https://bucket-name.s3.region.amazonaws.com/key-name
REQUEST_MODEL_VIRTUAL_HOSTED_STYLE = 1;public static final TransferTypes.S3CompatibleMetadata.RequestModel REQUEST_MODEL_PATH_STYLE
Perform requests using Path Style. Example: https://s3.region.amazonaws.com/bucket-name/key-name
REQUEST_MODEL_PATH_STYLE = 2;public static final TransferTypes.S3CompatibleMetadata.RequestModel UNRECOGNIZED
public static final int REQUEST_MODEL_UNSPECIFIED_VALUE
RequestModel is not specified.
REQUEST_MODEL_UNSPECIFIED = 0;public static final int REQUEST_MODEL_VIRTUAL_HOSTED_STYLE_VALUE
Perform requests using Virtual Hosted Style. Example: https://bucket-name.s3.region.amazonaws.com/key-name
REQUEST_MODEL_VIRTUAL_HOSTED_STYLE = 1;public static final int REQUEST_MODEL_PATH_STYLE_VALUE
Perform requests using Path Style. Example: https://s3.region.amazonaws.com/bucket-name/key-name
REQUEST_MODEL_PATH_STYLE = 2;public static TransferTypes.S3CompatibleMetadata.RequestModel[] values()
for (TransferTypes.S3CompatibleMetadata.RequestModel c : TransferTypes.S3CompatibleMetadata.RequestModel.values()) System.out.println(c);
public static TransferTypes.S3CompatibleMetadata.RequestModel 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.S3CompatibleMetadata.RequestModel valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransferTypes.S3CompatibleMetadata.RequestModel forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransferTypes.S3CompatibleMetadata.RequestModel> 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.S3CompatibleMetadata.RequestModel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.