public static enum ResourceLocator.Scheme extends Enum<ResourceLocator.Scheme> implements com.google.protobuf.ProtocolMessageEnum
xds.core.v3.ResourceLocator.Scheme| Enum Constant and Description |
|---|
FILE
FILE = 2; |
HTTP
HTTP = 1; |
UNRECOGNIZED |
XDSTP
XDSTP = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
FILE_VALUE
FILE = 2; |
static int |
HTTP_VALUE
HTTP = 1; |
static int |
XDSTP_VALUE
XDSTP = 0; |
| Modifier and Type | Method and Description |
|---|---|
static ResourceLocator.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<ResourceLocator.Scheme> |
internalGetValueMap() |
static ResourceLocator.Scheme |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ResourceLocator.Scheme |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ResourceLocator.Scheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceLocator.Scheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceLocator.Scheme XDSTP
XDSTP = 0;public static final ResourceLocator.Scheme HTTP
HTTP = 1;public static final ResourceLocator.Scheme FILE
FILE = 2;public static final ResourceLocator.Scheme UNRECOGNIZED
public static final int XDSTP_VALUE
XDSTP = 0;public static final int HTTP_VALUE
HTTP = 1;public static final int FILE_VALUE
FILE = 2;public static ResourceLocator.Scheme[] values()
for (ResourceLocator.Scheme c : ResourceLocator.Scheme.values()) System.out.println(c);
public static ResourceLocator.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 ResourceLocator.Scheme valueOf(int value)
forNumber(int) instead.public static ResourceLocator.Scheme forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ResourceLocator.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 ResourceLocator.Scheme valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.