public static final class GceClusterConfig.Builder extends GeneratedMessageV3.Builder<GceClusterConfig.Builder> implements GceClusterConfigOrBuilder
Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster.Protobuf type
google.cloud.dataproc.v1.GceClusterConfig
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<GceClusterConfig.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<GceClusterConfig.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<GceClusterConfig.Builder>
public GceClusterConfig.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<GceClusterConfig.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<GceClusterConfig.Builder>
public GceClusterConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public GceClusterConfig build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public GceClusterConfig buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public GceClusterConfig.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<GceClusterConfig.Builder>
public GceClusterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<GceClusterConfig.Builder>
public GceClusterConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<GceClusterConfig.Builder>
public GceClusterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<GceClusterConfig.Builder>
public GceClusterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<GceClusterConfig.Builder>
public GceClusterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<GceClusterConfig.Builder>
public GceClusterConfig.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<GceClusterConfig.Builder>
public GceClusterConfig.Builder mergeFrom(GceClusterConfig other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<GceClusterConfig.Builder>
public GceClusterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<GceClusterConfig.Builder>
IOException
public String getZoneUri()
Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a non-global Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` * `projects/[project_id]/zones/[zone]` * `us-central1-f`
string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
getZoneUri
in interface GceClusterConfigOrBuilder
public ByteString getZoneUriBytes()
Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a non-global Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` * `projects/[project_id]/zones/[zone]` * `us-central1-f`
string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
getZoneUriBytes
in interface GceClusterConfigOrBuilder
public GceClusterConfig.Builder setZoneUri(String value)
Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a non-global Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` * `projects/[project_id]/zones/[zone]` * `us-central1-f`
string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
value
- The zoneUri to set.public GceClusterConfig.Builder clearZoneUri()
Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a non-global Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` * `projects/[project_id]/zones/[zone]` * `us-central1-f`
string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder setZoneUriBytes(ByteString value)
Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a non-global Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` * `projects/[project_id]/zones/[zone]` * `us-central1-f`
string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for zoneUri to set.public 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](https://cloud.google.com/compute/docs/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];
getNetworkUri
in interface GceClusterConfigOrBuilder
public 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](https://cloud.google.com/compute/docs/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];
getNetworkUriBytes
in interface GceClusterConfigOrBuilder
public GceClusterConfig.Builder setNetworkUri(String value)
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](https://cloud.google.com/compute/docs/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];
value
- The networkUri to set.public GceClusterConfig.Builder clearNetworkUri()
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](https://cloud.google.com/compute/docs/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];
public GceClusterConfig.Builder setNetworkUriBytes(ByteString value)
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](https://cloud.google.com/compute/docs/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];
value
- The bytes for networkUri to set.public String getSubnetworkUri()
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0` * `sub0`
string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL];
getSubnetworkUri
in interface GceClusterConfigOrBuilder
public ByteString getSubnetworkUriBytes()
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0` * `sub0`
string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL];
getSubnetworkUriBytes
in interface GceClusterConfigOrBuilder
public GceClusterConfig.Builder setSubnetworkUri(String value)
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0` * `sub0`
string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL];
value
- The subnetworkUri to set.public GceClusterConfig.Builder clearSubnetworkUri()
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0` * `sub0`
string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder setSubnetworkUriBytes(ByteString value)
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0` * `sub0`
string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for subnetworkUri to set.public 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];
getInternalIpOnly
in interface GceClusterConfigOrBuilder
public GceClusterConfig.Builder setInternalIpOnly(boolean value)
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];
value
- The internalIpOnly to set.public GceClusterConfig.Builder clearInternalIpOnly()
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];
public 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];
getPrivateIpv6GoogleAccessValue
in interface GceClusterConfigOrBuilder
public GceClusterConfig.Builder setPrivateIpv6GoogleAccessValue(int value)
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];
value
- The enum numeric value on the wire for privateIpv6GoogleAccess to set.public 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];
getPrivateIpv6GoogleAccess
in interface GceClusterConfigOrBuilder
public GceClusterConfig.Builder setPrivateIpv6GoogleAccess(GceClusterConfig.PrivateIpv6GoogleAccess value)
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];
value
- The privateIpv6GoogleAccess to set.public GceClusterConfig.Builder clearPrivateIpv6GoogleAccess()
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];
public String getServiceAccount()
Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc) (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity)) used by Dataproc cluster VM instances to access Google Cloud Platform services. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.
string service_account = 8 [(.google.api.field_behavior) = OPTIONAL];
getServiceAccount
in interface GceClusterConfigOrBuilder
public ByteString getServiceAccountBytes()
Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc) (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity)) used by Dataproc cluster VM instances to access Google Cloud Platform services. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.
string service_account = 8 [(.google.api.field_behavior) = OPTIONAL];
getServiceAccountBytes
in interface GceClusterConfigOrBuilder
public GceClusterConfig.Builder setServiceAccount(String value)
Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc) (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity)) used by Dataproc cluster VM instances to access Google Cloud Platform services. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.
string service_account = 8 [(.google.api.field_behavior) = OPTIONAL];
value
- The serviceAccount to set.public GceClusterConfig.Builder clearServiceAccount()
Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc) (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity)) used by Dataproc cluster VM instances to access Google Cloud Platform services. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.
string service_account = 8 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder setServiceAccountBytes(ByteString value)
Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc) (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity)) used by Dataproc cluster VM instances to access Google Cloud Platform services. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.
string service_account = 8 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for serviceAccount to set.public ProtocolStringList getServiceAccountScopesList()
Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control
repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
getServiceAccountScopesList
in interface GceClusterConfigOrBuilder
public int getServiceAccountScopesCount()
Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control
repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
getServiceAccountScopesCount
in interface GceClusterConfigOrBuilder
public String getServiceAccountScopes(int index)
Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control
repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
getServiceAccountScopes
in interface GceClusterConfigOrBuilder
index
- The index of the element to return.public ByteString getServiceAccountScopesBytes(int index)
Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control
repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
getServiceAccountScopesBytes
in interface GceClusterConfigOrBuilder
index
- The index of the value to return.public GceClusterConfig.Builder setServiceAccountScopes(int index, String value)
Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control
repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
index
- The index to set the value at.value
- The serviceAccountScopes to set.public GceClusterConfig.Builder addServiceAccountScopes(String value)
Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control
repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
value
- The serviceAccountScopes to add.public GceClusterConfig.Builder addAllServiceAccountScopes(Iterable<String> values)
Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control
repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
values
- The serviceAccountScopes to add.public GceClusterConfig.Builder clearServiceAccountScopes()
Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control
repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder addServiceAccountScopesBytes(ByteString value)
Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control
repeated string service_account_scopes = 3 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes of the serviceAccountScopes to add.public ProtocolStringList getTagsList()
The Compute Engine tags to add to all instances (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;
getTagsList
in interface GceClusterConfigOrBuilder
public int getTagsCount()
The Compute Engine tags to add to all instances (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;
getTagsCount
in interface GceClusterConfigOrBuilder
public String getTags(int index)
The Compute Engine tags to add to all instances (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;
getTags
in interface GceClusterConfigOrBuilder
index
- The index of the element to return.public ByteString getTagsBytes(int index)
The Compute Engine tags to add to all instances (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;
getTagsBytes
in interface GceClusterConfigOrBuilder
index
- The index of the value to return.public GceClusterConfig.Builder setTags(int index, String value)
The Compute Engine tags to add to all instances (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;
index
- The index to set the value at.value
- The tags to set.public GceClusterConfig.Builder addTags(String value)
The Compute Engine tags to add to all instances (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;
value
- The tags to add.public GceClusterConfig.Builder addAllTags(Iterable<String> values)
The Compute Engine tags to add to all instances (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;
values
- The tags to add.public GceClusterConfig.Builder clearTags()
The Compute Engine tags to add to all instances (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;
public GceClusterConfig.Builder addTagsBytes(ByteString value)
The Compute Engine tags to add to all instances (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;
value
- The bytes of the tags to add.public int getMetadataCount()
GceClusterConfigOrBuilder
The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;
getMetadataCount
in interface GceClusterConfigOrBuilder
public boolean containsMetadata(String key)
The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;
containsMetadata
in interface GceClusterConfigOrBuilder
@Deprecated public Map<String,String> getMetadata()
getMetadataMap()
instead.getMetadata
in interface GceClusterConfigOrBuilder
public Map<String,String> getMetadataMap()
The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;
getMetadataMap
in interface GceClusterConfigOrBuilder
public String getMetadataOrDefault(String key, String defaultValue)
The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;
getMetadataOrDefault
in interface GceClusterConfigOrBuilder
public String getMetadataOrThrow(String key)
The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;
getMetadataOrThrow
in interface GceClusterConfigOrBuilder
public GceClusterConfig.Builder clearMetadata()
public GceClusterConfig.Builder removeMetadata(String key)
The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;
@Deprecated public Map<String,String> getMutableMetadata()
public GceClusterConfig.Builder putMetadata(String key, String value)
The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;
public GceClusterConfig.Builder putAllMetadata(Map<String,String> values)
The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;
public boolean hasReservationAffinity()
Optional. Reservation Affinity for consuming Zonal reservation.
.google.cloud.dataproc.v1.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL];
hasReservationAffinity
in interface GceClusterConfigOrBuilder
public ReservationAffinity getReservationAffinity()
Optional. Reservation Affinity for consuming Zonal reservation.
.google.cloud.dataproc.v1.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL];
getReservationAffinity
in interface GceClusterConfigOrBuilder
public GceClusterConfig.Builder setReservationAffinity(ReservationAffinity value)
Optional. Reservation Affinity for consuming Zonal reservation.
.google.cloud.dataproc.v1.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder setReservationAffinity(ReservationAffinity.Builder builderForValue)
Optional. Reservation Affinity for consuming Zonal reservation.
.google.cloud.dataproc.v1.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder mergeReservationAffinity(ReservationAffinity value)
Optional. Reservation Affinity for consuming Zonal reservation.
.google.cloud.dataproc.v1.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder clearReservationAffinity()
Optional. Reservation Affinity for consuming Zonal reservation.
.google.cloud.dataproc.v1.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL];
public ReservationAffinity.Builder getReservationAffinityBuilder()
Optional. Reservation Affinity for consuming Zonal reservation.
.google.cloud.dataproc.v1.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL];
public ReservationAffinityOrBuilder getReservationAffinityOrBuilder()
Optional. Reservation Affinity for consuming Zonal reservation.
.google.cloud.dataproc.v1.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL];
getReservationAffinityOrBuilder
in interface GceClusterConfigOrBuilder
public boolean hasNodeGroupAffinity()
Optional. Node Group Affinity for sole-tenant clusters.
.google.cloud.dataproc.v1.NodeGroupAffinity node_group_affinity = 13 [(.google.api.field_behavior) = OPTIONAL];
hasNodeGroupAffinity
in interface GceClusterConfigOrBuilder
public NodeGroupAffinity getNodeGroupAffinity()
Optional. Node Group Affinity for sole-tenant clusters.
.google.cloud.dataproc.v1.NodeGroupAffinity node_group_affinity = 13 [(.google.api.field_behavior) = OPTIONAL];
getNodeGroupAffinity
in interface GceClusterConfigOrBuilder
public GceClusterConfig.Builder setNodeGroupAffinity(NodeGroupAffinity value)
Optional. Node Group Affinity for sole-tenant clusters.
.google.cloud.dataproc.v1.NodeGroupAffinity node_group_affinity = 13 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder setNodeGroupAffinity(NodeGroupAffinity.Builder builderForValue)
Optional. Node Group Affinity for sole-tenant clusters.
.google.cloud.dataproc.v1.NodeGroupAffinity node_group_affinity = 13 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder mergeNodeGroupAffinity(NodeGroupAffinity value)
Optional. Node Group Affinity for sole-tenant clusters.
.google.cloud.dataproc.v1.NodeGroupAffinity node_group_affinity = 13 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder clearNodeGroupAffinity()
Optional. Node Group Affinity for sole-tenant clusters.
.google.cloud.dataproc.v1.NodeGroupAffinity node_group_affinity = 13 [(.google.api.field_behavior) = OPTIONAL];
public NodeGroupAffinity.Builder getNodeGroupAffinityBuilder()
Optional. Node Group Affinity for sole-tenant clusters.
.google.cloud.dataproc.v1.NodeGroupAffinity node_group_affinity = 13 [(.google.api.field_behavior) = OPTIONAL];
public NodeGroupAffinityOrBuilder getNodeGroupAffinityOrBuilder()
Optional. Node Group Affinity for sole-tenant clusters.
.google.cloud.dataproc.v1.NodeGroupAffinity node_group_affinity = 13 [(.google.api.field_behavior) = OPTIONAL];
getNodeGroupAffinityOrBuilder
in interface GceClusterConfigOrBuilder
public boolean hasShieldedInstanceConfig()
Optional. Shielded Instance Config for clusters using [Compute Engine Shielded VMs](https://cloud.google.com/security/shielded-cloud/shielded-vm).
.google.cloud.dataproc.v1.ShieldedInstanceConfig shielded_instance_config = 14 [(.google.api.field_behavior) = OPTIONAL];
hasShieldedInstanceConfig
in interface GceClusterConfigOrBuilder
public ShieldedInstanceConfig getShieldedInstanceConfig()
Optional. Shielded Instance Config for clusters using [Compute Engine Shielded VMs](https://cloud.google.com/security/shielded-cloud/shielded-vm).
.google.cloud.dataproc.v1.ShieldedInstanceConfig shielded_instance_config = 14 [(.google.api.field_behavior) = OPTIONAL];
getShieldedInstanceConfig
in interface GceClusterConfigOrBuilder
public GceClusterConfig.Builder setShieldedInstanceConfig(ShieldedInstanceConfig value)
Optional. Shielded Instance Config for clusters using [Compute Engine Shielded VMs](https://cloud.google.com/security/shielded-cloud/shielded-vm).
.google.cloud.dataproc.v1.ShieldedInstanceConfig shielded_instance_config = 14 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
Optional. Shielded Instance Config for clusters using [Compute Engine Shielded VMs](https://cloud.google.com/security/shielded-cloud/shielded-vm).
.google.cloud.dataproc.v1.ShieldedInstanceConfig shielded_instance_config = 14 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
Optional. Shielded Instance Config for clusters using [Compute Engine Shielded VMs](https://cloud.google.com/security/shielded-cloud/shielded-vm).
.google.cloud.dataproc.v1.ShieldedInstanceConfig shielded_instance_config = 14 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder clearShieldedInstanceConfig()
Optional. Shielded Instance Config for clusters using [Compute Engine Shielded VMs](https://cloud.google.com/security/shielded-cloud/shielded-vm).
.google.cloud.dataproc.v1.ShieldedInstanceConfig shielded_instance_config = 14 [(.google.api.field_behavior) = OPTIONAL];
public ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder()
Optional. Shielded Instance Config for clusters using [Compute Engine Shielded VMs](https://cloud.google.com/security/shielded-cloud/shielded-vm).
.google.cloud.dataproc.v1.ShieldedInstanceConfig shielded_instance_config = 14 [(.google.api.field_behavior) = OPTIONAL];
public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
Optional. Shielded Instance Config for clusters using [Compute Engine Shielded VMs](https://cloud.google.com/security/shielded-cloud/shielded-vm).
.google.cloud.dataproc.v1.ShieldedInstanceConfig shielded_instance_config = 14 [(.google.api.field_behavior) = OPTIONAL];
getShieldedInstanceConfigOrBuilder
in interface GceClusterConfigOrBuilder
public boolean hasConfidentialInstanceConfig()
Optional. Confidential Instance Config for clusters using [Confidential VMs](https://cloud.google.com/compute/confidential-vm/docs).
.google.cloud.dataproc.v1.ConfidentialInstanceConfig confidential_instance_config = 15 [(.google.api.field_behavior) = OPTIONAL];
hasConfidentialInstanceConfig
in interface GceClusterConfigOrBuilder
public ConfidentialInstanceConfig getConfidentialInstanceConfig()
Optional. Confidential Instance Config for clusters using [Confidential VMs](https://cloud.google.com/compute/confidential-vm/docs).
.google.cloud.dataproc.v1.ConfidentialInstanceConfig confidential_instance_config = 15 [(.google.api.field_behavior) = OPTIONAL];
getConfidentialInstanceConfig
in interface GceClusterConfigOrBuilder
public GceClusterConfig.Builder setConfidentialInstanceConfig(ConfidentialInstanceConfig value)
Optional. Confidential Instance Config for clusters using [Confidential VMs](https://cloud.google.com/compute/confidential-vm/docs).
.google.cloud.dataproc.v1.ConfidentialInstanceConfig confidential_instance_config = 15 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder setConfidentialInstanceConfig(ConfidentialInstanceConfig.Builder builderForValue)
Optional. Confidential Instance Config for clusters using [Confidential VMs](https://cloud.google.com/compute/confidential-vm/docs).
.google.cloud.dataproc.v1.ConfidentialInstanceConfig confidential_instance_config = 15 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder mergeConfidentialInstanceConfig(ConfidentialInstanceConfig value)
Optional. Confidential Instance Config for clusters using [Confidential VMs](https://cloud.google.com/compute/confidential-vm/docs).
.google.cloud.dataproc.v1.ConfidentialInstanceConfig confidential_instance_config = 15 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder clearConfidentialInstanceConfig()
Optional. Confidential Instance Config for clusters using [Confidential VMs](https://cloud.google.com/compute/confidential-vm/docs).
.google.cloud.dataproc.v1.ConfidentialInstanceConfig confidential_instance_config = 15 [(.google.api.field_behavior) = OPTIONAL];
public ConfidentialInstanceConfig.Builder getConfidentialInstanceConfigBuilder()
Optional. Confidential Instance Config for clusters using [Confidential VMs](https://cloud.google.com/compute/confidential-vm/docs).
.google.cloud.dataproc.v1.ConfidentialInstanceConfig confidential_instance_config = 15 [(.google.api.field_behavior) = OPTIONAL];
public ConfidentialInstanceConfigOrBuilder getConfidentialInstanceConfigOrBuilder()
Optional. Confidential Instance Config for clusters using [Confidential VMs](https://cloud.google.com/compute/confidential-vm/docs).
.google.cloud.dataproc.v1.ConfidentialInstanceConfig confidential_instance_config = 15 [(.google.api.field_behavior) = OPTIONAL];
getConfidentialInstanceConfigOrBuilder
in interface GceClusterConfigOrBuilder
public final GceClusterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<GceClusterConfig.Builder>
public final GceClusterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<GceClusterConfig.Builder>
Copyright © 2022 Google LLC. All rights reserved.