public static enum TransferTypes.S3CompatibleMetadata.NetworkProtocol extends Enum<TransferTypes.S3CompatibleMetadata.NetworkProtocol> implements com.google.protobuf.ProtocolMessageEnum
The agent network protocol to access the storage service.Protobuf enum
google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol| Enum Constant and Description |
|---|
NETWORK_PROTOCOL_HTTP
Not recommended: This sends data in clear-text.
|
NETWORK_PROTOCOL_HTTPS
Perform requests using HTTPS.
|
NETWORK_PROTOCOL_UNSPECIFIED
NetworkProtocol is not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
NETWORK_PROTOCOL_HTTP_VALUE
Not recommended: This sends data in clear-text.
|
static int |
NETWORK_PROTOCOL_HTTPS_VALUE
Perform requests using HTTPS.
|
static int |
NETWORK_PROTOCOL_UNSPECIFIED_VALUE
NetworkProtocol is not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static TransferTypes.S3CompatibleMetadata.NetworkProtocol |
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.NetworkProtocol> |
internalGetValueMap() |
static TransferTypes.S3CompatibleMetadata.NetworkProtocol |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransferTypes.S3CompatibleMetadata.NetworkProtocol |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransferTypes.S3CompatibleMetadata.NetworkProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferTypes.S3CompatibleMetadata.NetworkProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferTypes.S3CompatibleMetadata.NetworkProtocol NETWORK_PROTOCOL_UNSPECIFIED
NetworkProtocol is not specified.
NETWORK_PROTOCOL_UNSPECIFIED = 0;public static final TransferTypes.S3CompatibleMetadata.NetworkProtocol NETWORK_PROTOCOL_HTTPS
Perform requests using HTTPS.
NETWORK_PROTOCOL_HTTPS = 1;public static final TransferTypes.S3CompatibleMetadata.NetworkProtocol NETWORK_PROTOCOL_HTTP
Not recommended: This sends data in clear-text. This is only appropriate within a closed network or for publicly available data. Perform requests using HTTP.
NETWORK_PROTOCOL_HTTP = 2;public static final TransferTypes.S3CompatibleMetadata.NetworkProtocol UNRECOGNIZED
public static final int NETWORK_PROTOCOL_UNSPECIFIED_VALUE
NetworkProtocol is not specified.
NETWORK_PROTOCOL_UNSPECIFIED = 0;public static final int NETWORK_PROTOCOL_HTTPS_VALUE
Perform requests using HTTPS.
NETWORK_PROTOCOL_HTTPS = 1;public static final int NETWORK_PROTOCOL_HTTP_VALUE
Not recommended: This sends data in clear-text. This is only appropriate within a closed network or for publicly available data. Perform requests using HTTP.
NETWORK_PROTOCOL_HTTP = 2;public static TransferTypes.S3CompatibleMetadata.NetworkProtocol[] values()
for (TransferTypes.S3CompatibleMetadata.NetworkProtocol c : TransferTypes.S3CompatibleMetadata.NetworkProtocol.values()) System.out.println(c);
public static TransferTypes.S3CompatibleMetadata.NetworkProtocol 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.NetworkProtocol valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransferTypes.S3CompatibleMetadata.NetworkProtocol forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransferTypes.S3CompatibleMetadata.NetworkProtocol> 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.NetworkProtocol valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.