Package com.google.cloud.dataproc.v1
Enum GceClusterConfig.PrivateIpv6GoogleAccess
- java.lang.Object
-
- java.lang.Enum<GceClusterConfig.PrivateIpv6GoogleAccess>
-
- com.google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<GceClusterConfig.PrivateIpv6GoogleAccess>
- Enclosing class:
- GceClusterConfig
public static enum GceClusterConfig.PrivateIpv6GoogleAccess extends Enum<GceClusterConfig.PrivateIpv6GoogleAccess> implements com.google.protobuf.ProtocolMessageEnum
`PrivateIpv6GoogleAccess` controls whether and how Dataproc cluster nodes can communicate with Google Services through gRPC over IPv6. These values are directly mapped to corresponding values in the [Compute Engine Instance fields](https://cloud.google.com/compute/docs/reference/rest/v1/instances).
Protobuf enumgoogle.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIDIRECTIONAL
Enables bidirectional private IPv6 access between Google Services and the Dataproc cluster.INHERIT_FROM_SUBNETWORK
Private access to and from Google Services configuration inherited from the subnetwork configuration.OUTBOUND
Enables outbound private IPv6 access to Google Services from the Dataproc cluster.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED
If unspecified, Compute Engine default behavior will apply, which is the same as [INHERIT_FROM_SUBNETWORK][google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess.INHERIT_FROM_SUBNETWORK].UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
BIDIRECTIONAL_VALUE
Enables bidirectional private IPv6 access between Google Services and the Dataproc cluster.static int
INHERIT_FROM_SUBNETWORK_VALUE
Private access to and from Google Services configuration inherited from the subnetwork configuration.static int
OUTBOUND_VALUE
Enables outbound private IPv6 access to Google Services from the Dataproc cluster.static int
PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED_VALUE
If unspecified, Compute Engine default behavior will apply, which is the same as [INHERIT_FROM_SUBNETWORK][google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess.INHERIT_FROM_SUBNETWORK].
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GceClusterConfig.PrivateIpv6GoogleAccess
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<GceClusterConfig.PrivateIpv6GoogleAccess>
internalGetValueMap()
static GceClusterConfig.PrivateIpv6GoogleAccess
valueOf(int value)
Deprecated.static GceClusterConfig.PrivateIpv6GoogleAccess
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static GceClusterConfig.PrivateIpv6GoogleAccess
valueOf(String name)
Returns the enum constant of this type with the specified name.static GceClusterConfig.PrivateIpv6GoogleAccess[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED
public static final GceClusterConfig.PrivateIpv6GoogleAccess PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED
If unspecified, Compute Engine default behavior will apply, which is the same as [INHERIT_FROM_SUBNETWORK][google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess.INHERIT_FROM_SUBNETWORK].
PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED = 0;
-
INHERIT_FROM_SUBNETWORK
public static final GceClusterConfig.PrivateIpv6GoogleAccess INHERIT_FROM_SUBNETWORK
Private access to and from Google Services configuration inherited from the subnetwork configuration. This is the default Compute Engine behavior.
INHERIT_FROM_SUBNETWORK = 1;
-
OUTBOUND
public static final GceClusterConfig.PrivateIpv6GoogleAccess OUTBOUND
Enables outbound private IPv6 access to Google Services from the Dataproc cluster.
OUTBOUND = 2;
-
BIDIRECTIONAL
public static final GceClusterConfig.PrivateIpv6GoogleAccess BIDIRECTIONAL
Enables bidirectional private IPv6 access between Google Services and the Dataproc cluster.
BIDIRECTIONAL = 3;
-
UNRECOGNIZED
public static final GceClusterConfig.PrivateIpv6GoogleAccess UNRECOGNIZED
-
-
Field Detail
-
PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED_VALUE
public static final int PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED_VALUE
If unspecified, Compute Engine default behavior will apply, which is the same as [INHERIT_FROM_SUBNETWORK][google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess.INHERIT_FROM_SUBNETWORK].
PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
INHERIT_FROM_SUBNETWORK_VALUE
public static final int INHERIT_FROM_SUBNETWORK_VALUE
Private access to and from Google Services configuration inherited from the subnetwork configuration. This is the default Compute Engine behavior.
INHERIT_FROM_SUBNETWORK = 1;
- See Also:
- Constant Field Values
-
OUTBOUND_VALUE
public static final int OUTBOUND_VALUE
Enables outbound private IPv6 access to Google Services from the Dataproc cluster.
OUTBOUND = 2;
- See Also:
- Constant Field Values
-
BIDIRECTIONAL_VALUE
public static final int BIDIRECTIONAL_VALUE
Enables bidirectional private IPv6 access between Google Services and the Dataproc cluster.
BIDIRECTIONAL = 3;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static GceClusterConfig.PrivateIpv6GoogleAccess[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GceClusterConfig.PrivateIpv6GoogleAccess c : GceClusterConfig.PrivateIpv6GoogleAccess.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GceClusterConfig.PrivateIpv6GoogleAccess valueOf(String name)
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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static GceClusterConfig.PrivateIpv6GoogleAccess valueOf(int value)
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
public static GceClusterConfig.PrivateIpv6GoogleAccess forNumber(int value)
- 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<GceClusterConfig.PrivateIpv6GoogleAccess> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static GceClusterConfig.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
-
-