Package com.google.container.v1
Enum GatewayAPIConfig.Channel
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<GatewayAPIConfig.Channel>
- Enclosing class:
- GatewayAPIConfig
public static enum GatewayAPIConfig.Channel
extends Enum<GatewayAPIConfig.Channel>
implements com.google.protobuf.ProtocolMessageEnum
Channel describes if/how Gateway API should be installed and implemented in a cluster.Protobuf enum
google.container.v1.GatewayAPIConfig.Channel-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGateway API support is disabledDeprecated.Gateway API support is enabled, standard CRDs are installedDefault value. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intGateway API support is disabledstatic final intDeprecated.static final intGateway API support is enabled, standard CRDs are installedstatic final intDefault value. -
Method Summary
Modifier and TypeMethodDescriptionstatic GatewayAPIConfig.ChannelforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<GatewayAPIConfig.Channel>static GatewayAPIConfig.ChannelvalueOf(int value) Deprecated.static GatewayAPIConfig.ChannelvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static GatewayAPIConfig.ChannelReturns the enum constant of this type with the specified name.static GatewayAPIConfig.Channel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CHANNEL_UNSPECIFIED
Default value.
CHANNEL_UNSPECIFIED = 0; -
CHANNEL_DISABLED
Gateway API support is disabled
CHANNEL_DISABLED = 1; -
CHANNEL_EXPERIMENTAL
Deprecated.Deprecated: use CHANNEL_STANDARD instead. Gateway API support is enabled, experimental CRDs are installed
CHANNEL_EXPERIMENTAL = 3 [deprecated = true]; -
CHANNEL_STANDARD
Gateway API support is enabled, standard CRDs are installed
CHANNEL_STANDARD = 4; -
UNRECOGNIZED
-
-
Field Details
-
CHANNEL_UNSPECIFIED_VALUE
public static final int CHANNEL_UNSPECIFIED_VALUEDefault value.
CHANNEL_UNSPECIFIED = 0;- See Also:
-
CHANNEL_DISABLED_VALUE
public static final int CHANNEL_DISABLED_VALUEGateway API support is disabled
CHANNEL_DISABLED = 1;- See Also:
-
CHANNEL_EXPERIMENTAL_VALUE
Deprecated.Deprecated: use CHANNEL_STANDARD instead. Gateway API support is enabled, experimental CRDs are installed
CHANNEL_EXPERIMENTAL = 3 [deprecated = true];- See Also:
-
CHANNEL_STANDARD_VALUE
public static final int CHANNEL_STANDARD_VALUEGateway API support is enabled, standard CRDs are installed
CHANNEL_STANDARD = 4;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<GatewayAPIConfig.Channel> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static GatewayAPIConfig.Channel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-