public static enum UriOverride.Scheme extends Enum<UriOverride.Scheme> implements com.google.protobuf.ProtocolMessageEnum
The Scheme for an HTTP request. By default, it is HTTPS.Protobuf enum
google.cloud.tasks.v2beta2.UriOverride.Scheme| Enum Constant and Description |
|---|
HTTP
Convert the scheme to HTTP, e.g., https://www.google.ca will change to
http://www.google.ca.
|
HTTPS
Convert the scheme to HTTPS, e.g., http://www.google.ca will change to
https://www.google.ca.
|
SCHEME_UNSPECIFIED
Scheme unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HTTP_VALUE
Convert the scheme to HTTP, e.g., https://www.google.ca will change to
http://www.google.ca.
|
static int |
HTTPS_VALUE
Convert the scheme to HTTPS, e.g., http://www.google.ca will change to
https://www.google.ca.
|
static int |
SCHEME_UNSPECIFIED_VALUE
Scheme unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static UriOverride.Scheme |
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<UriOverride.Scheme> |
internalGetValueMap() |
static UriOverride.Scheme |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UriOverride.Scheme |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UriOverride.Scheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UriOverride.Scheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UriOverride.Scheme SCHEME_UNSPECIFIED
Scheme unspecified. Defaults to HTTPS.
SCHEME_UNSPECIFIED = 0;public static final UriOverride.Scheme HTTP
Convert the scheme to HTTP, e.g., https://www.google.ca will change to http://www.google.ca.
HTTP = 1;public static final UriOverride.Scheme HTTPS
Convert the scheme to HTTPS, e.g., http://www.google.ca will change to https://www.google.ca.
HTTPS = 2;public static final UriOverride.Scheme UNRECOGNIZED
public static final int SCHEME_UNSPECIFIED_VALUE
Scheme unspecified. Defaults to HTTPS.
SCHEME_UNSPECIFIED = 0;public static final int HTTP_VALUE
Convert the scheme to HTTP, e.g., https://www.google.ca will change to http://www.google.ca.
HTTP = 1;public static final int HTTPS_VALUE
Convert the scheme to HTTPS, e.g., http://www.google.ca will change to https://www.google.ca.
HTTPS = 2;public static UriOverride.Scheme[] values()
for (UriOverride.Scheme c : UriOverride.Scheme.values()) System.out.println(c);
public static UriOverride.Scheme 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 UriOverride.Scheme valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UriOverride.Scheme forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UriOverride.Scheme> 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 UriOverride.Scheme valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.