Package com.google.container.v1
Enum PrivateIPv6GoogleAccess
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PrivateIPv6GoogleAccess>
@Generated
public enum PrivateIPv6GoogleAccess
extends Enum<PrivateIPv6GoogleAccess>
implements com.google.protobuf.ProtocolMessageEnum
PrivateIPv6GoogleAccess controls whether and how the pods can communicate with Google Services through gRPC over IPv6.Protobuf enum
google.container.v1.PrivateIPv6GoogleAccess-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnables private IPv6 access to and from Google ServicesNo private access to or from Google ServicesEnables private IPv6 access to Google Services from GKEDefault value. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEnables private IPv6 access to and from Google Servicesstatic final intNo private access to or from Google Servicesstatic final intEnables private IPv6 access to Google Services from GKEstatic final intDefault value. -
Method Summary
Modifier and TypeMethodDescriptionstatic PrivateIPv6GoogleAccessforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PrivateIPv6GoogleAccess>static PrivateIPv6GoogleAccessvalueOf(int value) Deprecated.static PrivateIPv6GoogleAccessvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static PrivateIPv6GoogleAccessReturns the enum constant of this type with the specified name.static PrivateIPv6GoogleAccess[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED
Default value. Same as DISABLED
PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED = 0; -
PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED
No private access to or from Google Services
PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED = 1; -
PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE
Enables private IPv6 access to Google Services from GKE
PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE = 2; -
PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL
Enables private IPv6 access to and from Google Services
PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL = 3; -
UNRECOGNIZED
-
-
Field Details
-
PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED_VALUE
public static final int PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED_VALUEDefault value. Same as DISABLED
PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED = 0;- See Also:
-
PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED_VALUE
public static final int PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED_VALUENo private access to or from Google Services
PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED = 1;- See Also:
-
PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE_VALUE
public static final int PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE_VALUEEnables private IPv6 access to Google Services from GKE
PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE = 2;- See Also:
-
PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL_VALUE
public static final int PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL_VALUEEnables private IPv6 access to and from Google Services
PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL = 3;- 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<PrivateIPv6GoogleAccess> 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 PrivateIPv6GoogleAccess 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
-