public static enum GceClusterConfig.PrivateIpv6GoogleAccess extends Enum<GceClusterConfig.PrivateIpv6GoogleAccess> implements 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 enum
google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess
Enum Constant and 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 |
Modifier and Type | Field and 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].
|
Modifier and Type | Method and Description |
---|---|
static GceClusterConfig.PrivateIpv6GoogleAccess |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<GceClusterConfig.PrivateIpv6GoogleAccess> |
internalGetValueMap() |
static GceClusterConfig.PrivateIpv6GoogleAccess |
valueOf(Descriptors.EnumValueDescriptor desc) |
static GceClusterConfig.PrivateIpv6GoogleAccess |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
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;
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;
public static final GceClusterConfig.PrivateIpv6GoogleAccess OUTBOUND
Enables outbound private IPv6 access to Google Services from the Dataproc cluster.
OUTBOUND = 2;
public static final GceClusterConfig.PrivateIpv6GoogleAccess BIDIRECTIONAL
Enables bidirectional private IPv6 access between Google Services and the Dataproc cluster.
BIDIRECTIONAL = 3;
public static final GceClusterConfig.PrivateIpv6GoogleAccess UNRECOGNIZED
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;
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;
public static final int OUTBOUND_VALUE
Enables outbound private IPv6 access to Google Services from the Dataproc cluster.
OUTBOUND = 2;
public static final int BIDIRECTIONAL_VALUE
Enables bidirectional private IPv6 access between Google Services and the Dataproc cluster.
BIDIRECTIONAL = 3;
public static GceClusterConfig.PrivateIpv6GoogleAccess[] values()
for (GceClusterConfig.PrivateIpv6GoogleAccess c : GceClusterConfig.PrivateIpv6GoogleAccess.values()) System.out.println(c);
public static GceClusterConfig.PrivateIpv6GoogleAccess 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static GceClusterConfig.PrivateIpv6GoogleAccess valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static GceClusterConfig.PrivateIpv6GoogleAccess forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<GceClusterConfig.PrivateIpv6GoogleAccess> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static GceClusterConfig.PrivateIpv6GoogleAccess valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.