public static final class GceClusterConfig.Builder extends com.google.protobuf.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.GceClusterConfiggetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GceClusterConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GceClusterConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GceClusterConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder mergeFrom(GceClusterConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GceClusterConfig.Builder>IOExceptionpublic String getZoneUri()
Optional. The Compute Engine zone where the Dataproc cluster will be located. If omitted, the service will pick a zone in the cluster's 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]` * `[zone]`
string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL];getZoneUri in interface GceClusterConfigOrBuilderpublic com.google.protobuf.ByteString getZoneUriBytes()
Optional. The Compute Engine zone where the Dataproc cluster will be located. If omitted, the service will pick a zone in the cluster's 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]` * `[zone]`
string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL];getZoneUriBytes in interface GceClusterConfigOrBuilderpublic GceClusterConfig.Builder setZoneUri(String value)
Optional. The Compute Engine zone where the Dataproc cluster will be located. If omitted, the service will pick a zone in the cluster's 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]` * `[zone]`
string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL];value - The zoneUri to set.public GceClusterConfig.Builder clearZoneUri()
Optional. The Compute Engine zone where the Dataproc cluster will be located. If omitted, the service will pick a zone in the cluster's 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]` * `[zone]`
string zone_uri = 1 [(.google.api.field_behavior) = OPTIONAL];public GceClusterConfig.Builder setZoneUriBytes(com.google.protobuf.ByteString value)
Optional. The Compute Engine zone where the Dataproc cluster will be located. If omitted, the service will pick a zone in the cluster's 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]` * `[zone]`
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]/global/networks/default` * `projects/[project_id]/global/networks/default` * `default`
string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL];getNetworkUri in interface GceClusterConfigOrBuilderpublic com.google.protobuf.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]/global/networks/default` * `projects/[project_id]/global/networks/default` * `default`
string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL];getNetworkUriBytes in interface GceClusterConfigOrBuilderpublic 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]/global/networks/default` * `projects/[project_id]/global/networks/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]/global/networks/default` * `projects/[project_id]/global/networks/default` * `default`
string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL];public GceClusterConfig.Builder setNetworkUriBytes(com.google.protobuf.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]/global/networks/default` * `projects/[project_id]/global/networks/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/[region]/subnetworks/sub0` * `projects/[project_id]/regions/[region]/subnetworks/sub0` * `sub0`
string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL];getSubnetworkUri in interface GceClusterConfigOrBuilderpublic com.google.protobuf.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/[region]/subnetworks/sub0` * `projects/[project_id]/regions/[region]/subnetworks/sub0` * `sub0`
string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL];getSubnetworkUriBytes in interface GceClusterConfigOrBuilderpublic 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/[region]/subnetworks/sub0` * `projects/[project_id]/regions/[region]/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/[region]/subnetworks/sub0` * `projects/[project_id]/regions/[region]/subnetworks/sub0` * `sub0`
string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL];public GceClusterConfig.Builder setSubnetworkUriBytes(com.google.protobuf.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/[region]/subnetworks/sub0` * `projects/[project_id]/regions/[region]/subnetworks/sub0` * `sub0`
string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for subnetworkUri to set.public boolean hasInternalIpOnly()
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.
optional bool internal_ip_only = 7 [(.google.api.field_behavior) = OPTIONAL];hasInternalIpOnly in interface GceClusterConfigOrBuilderpublic 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.
optional bool internal_ip_only = 7 [(.google.api.field_behavior) = OPTIONAL];getInternalIpOnly in interface GceClusterConfigOrBuilderpublic 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.
optional 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.
optional 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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderpublic com.google.protobuf.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 GceClusterConfigOrBuilderpublic 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(com.google.protobuf.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 com.google.protobuf.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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.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 GceClusterConfigOrBuilderindex - 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(com.google.protobuf.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 com.google.protobuf.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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.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 GceClusterConfigOrBuilderindex - 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(com.google.protobuf.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()
GceClusterConfigOrBuilderOptional. 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 [(.google.api.field_behavior) = OPTIONAL];getMetadataCount in interface GceClusterConfigOrBuilderpublic boolean containsMetadata(String key)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
containsMetadata in interface GceClusterConfigOrBuilder@Deprecated public Map<String,String> getMetadata()
getMetadataMap() instead.getMetadata in interface GceClusterConfigOrBuilderpublic Map<String,String> getMetadataMap()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
getMetadataMap in interface GceClusterConfigOrBuilderpublic String getMetadataOrDefault(String key, String defaultValue)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
getMetadataOrDefault in interface GceClusterConfigOrBuilderpublic String getMetadataOrThrow(String key)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
getMetadataOrThrow in interface GceClusterConfigOrBuilderpublic GceClusterConfig.Builder clearMetadata()
public GceClusterConfig.Builder removeMetadata(String key)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
@Deprecated public Map<String,String> getMutableMetadata()
public GceClusterConfig.Builder putMetadata(String key, String value)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
public GceClusterConfig.Builder putAllMetadata(Map<String,String> values)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderpublic 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 GceClusterConfigOrBuilderpublic final GceClusterConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public final GceClusterConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>Copyright © 2024 Google LLC. All rights reserved.