Interface GceClusterConfigOrBuilder (4.3.0)

Stay organized with collections Save and categorize content based on your preferences.
public interface GceClusterConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsMetadata(String key)

public abstract boolean containsMetadata(String key)

The Compute Engine metadata entries to add to all instances (see Project and instance metadata).

map<string, string> metadata = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getConfidentialInstanceConfig()

public abstract ConfidentialInstanceConfig getConfidentialInstanceConfig()

Optional. Confidential Instance Config for clusters using Confidential VMs.

.google.cloud.dataproc.v1.ConfidentialInstanceConfig confidential_instance_config = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ConfidentialInstanceConfig

The confidentialInstanceConfig.

getConfidentialInstanceConfigOrBuilder()

public abstract ConfidentialInstanceConfigOrBuilder getConfidentialInstanceConfigOrBuilder()

Optional. Confidential Instance Config for clusters using Confidential VMs.

.google.cloud.dataproc.v1.ConfidentialInstanceConfig confidential_instance_config = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ConfidentialInstanceConfigOrBuilder

getInternalIpOnly()

public abstract boolean getInternalIpOnly()

Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This internal_ip_only restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses.

bool internal_ip_only = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The internalIpOnly.

getMetadata()

public abstract Map<String,String> getMetadata()

Use #getMetadataMap() instead.

Returns
TypeDescription
Map<String,String>

getMetadataCount()

public abstract int getMetadataCount()

The Compute Engine metadata entries to add to all instances (see Project and instance metadata).

map<string, string> metadata = 5;

Returns
TypeDescription
int

getMetadataMap()

public abstract Map<String,String> getMetadataMap()

The Compute Engine metadata entries to add to all instances (see Project and instance metadata).

map<string, string> metadata = 5;

Returns
TypeDescription
Map<String,String>

getMetadataOrDefault(String key, String defaultValue)

public abstract String getMetadataOrDefault(String key, String defaultValue)

The Compute Engine metadata entries to add to all instances (see Project and instance metadata).

map<string, string> metadata = 5;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getMetadataOrThrow(String key)

public abstract String getMetadataOrThrow(String key)

The Compute Engine metadata entries to add to all instances (see Project and instance metadata).

map<string, string> metadata = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getNetworkUri()

public abstract String getNetworkUri()

Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the "default" network of the project is used, if it exists. Cannot be a "Custom Subnet Network" (see Using Subnetworks for more information). A full URL, partial URI, or short name are valid. Examples:

  • https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default
  • projects/[project_id]/regions/global/default
  • default

string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The networkUri.

getNetworkUriBytes()

public abstract ByteString getNetworkUriBytes()

Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the "default" network of the project is used, if it exists. Cannot be a "Custom Subnet Network" (see Using Subnetworks for more information). A full URL, partial URI, or short name are valid. Examples:

  • https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default
  • projects/[project_id]/regions/global/default
  • default

string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for networkUri.

getNodeGroupAffinity()

public abstract NodeGroupAffinity getNodeGroupAffinity()

Optional. Node Group Affinity for sole-tenant clusters.

.google.cloud.dataproc.v1.NodeGroupAffinity node_group_affinity = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
NodeGroupAffinity

The nodeGroupAffinity.

getNodeGroupAffinityOrBuilder()

public abstract NodeGroupAffinityOrBuilder getNodeGroupAffinityOrBuilder()

Optional. Node Group Affinity for sole-tenant clusters.

.google.cloud.dataproc.v1.NodeGroupAffinity node_group_affinity = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
NodeGroupAffinityOrBuilder

getPrivateIpv6GoogleAccess()

public abstract GceClusterConfig.PrivateIpv6GoogleAccess getPrivateIpv6GoogleAccess()

Optional. The type of IPv6 access for a cluster.

.google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess private_ipv6_google_access = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GceClusterConfig.PrivateIpv6GoogleAccess

The privateIpv6GoogleAccess.

getPrivateIpv6GoogleAccessValue()

public abstract int getPrivateIpv6GoogleAccessValue()

Optional. The type of IPv6 access for a cluster.

.google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess private_ipv6_google_access = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire f