public static enum TransferTypes.S3CompatibleMetadata.AuthMethod extends Enum<TransferTypes.S3CompatibleMetadata.AuthMethod> implements com.google.protobuf.ProtocolMessageEnum
The authentication and authorization method used by the storage service.Protobuf enum
google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod| Enum Constant and Description |
|---|
AUTH_METHOD_AWS_SIGNATURE_V2
Auth requests with AWS SigV2.
|
AUTH_METHOD_AWS_SIGNATURE_V4
Auth requests with AWS SigV4.
|
AUTH_METHOD_UNSPECIFIED
AuthMethod is not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTH_METHOD_AWS_SIGNATURE_V2_VALUE
Auth requests with AWS SigV2.
|
static int |
AUTH_METHOD_AWS_SIGNATURE_V4_VALUE
Auth requests with AWS SigV4.
|
static int |
AUTH_METHOD_UNSPECIFIED_VALUE
AuthMethod is not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static TransferTypes.S3CompatibleMetadata.AuthMethod |
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.AuthMethod> |
internalGetValueMap() |
static TransferTypes.S3CompatibleMetadata.AuthMethod |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransferTypes.S3CompatibleMetadata.AuthMethod |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransferTypes.S3CompatibleMetadata.AuthMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferTypes.S3CompatibleMetadata.AuthMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferTypes.S3CompatibleMetadata.AuthMethod AUTH_METHOD_UNSPECIFIED
AuthMethod is not specified.
AUTH_METHOD_UNSPECIFIED = 0;public static final TransferTypes.S3CompatibleMetadata.AuthMethod AUTH_METHOD_AWS_SIGNATURE_V4
Auth requests with AWS SigV4.
AUTH_METHOD_AWS_SIGNATURE_V4 = 1;public static final TransferTypes.S3CompatibleMetadata.AuthMethod AUTH_METHOD_AWS_SIGNATURE_V2
Auth requests with AWS SigV2.
AUTH_METHOD_AWS_SIGNATURE_V2 = 2;public static final TransferTypes.S3CompatibleMetadata.AuthMethod UNRECOGNIZED
public static final int AUTH_METHOD_UNSPECIFIED_VALUE
AuthMethod is not specified.
AUTH_METHOD_UNSPECIFIED = 0;public static final int AUTH_METHOD_AWS_SIGNATURE_V4_VALUE
Auth requests with AWS SigV4.
AUTH_METHOD_AWS_SIGNATURE_V4 = 1;public static final int AUTH_METHOD_AWS_SIGNATURE_V2_VALUE
Auth requests with AWS SigV2.
AUTH_METHOD_AWS_SIGNATURE_V2 = 2;public static TransferTypes.S3CompatibleMetadata.AuthMethod[] values()
for (TransferTypes.S3CompatibleMetadata.AuthMethod c : TransferTypes.S3CompatibleMetadata.AuthMethod.values()) System.out.println(c);
public static TransferTypes.S3CompatibleMetadata.AuthMethod 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.AuthMethod valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransferTypes.S3CompatibleMetadata.AuthMethod forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransferTypes.S3CompatibleMetadata.AuthMethod> 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.AuthMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.