Package com.google.cloud.dataproc.v1
Class GceClusterConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>
-
- com.google.cloud.dataproc.v1.GceClusterConfig.Builder
-
- All Implemented Interfaces:
GceClusterConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GceClusterConfig
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 typegoogle.cloud.dataproc.v1.GceClusterConfig
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>
-
clear
public GceClusterConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>
-
getDefaultInstanceForType
public GceClusterConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GceClusterConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GceClusterConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GceClusterConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>
-
setField
public GceClusterConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>
-
clearField
public GceClusterConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>
-
clearOneof
public GceClusterConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>
-
setRepeatedField
public GceClusterConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>
-
addRepeatedField
public GceClusterConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>
-
mergeFrom
public GceClusterConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GceClusterConfig.Builder>
-
mergeFrom
public GceClusterConfig.Builder mergeFrom(GceClusterConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>
-
mergeFrom
public GceClusterConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GceClusterConfig.Builder>- Throws:
IOException
-
getZoneUri
public 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];- Specified by:
getZoneUriin interfaceGceClusterConfigOrBuilder- Returns:
- The zoneUri.
-
getZoneUriBytes
public 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];- Specified by:
getZoneUriBytesin interfaceGceClusterConfigOrBuilder- Returns:
- The bytes for zoneUri.
-
setZoneUri
public 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];- Parameters:
value- The zoneUri to set.- Returns:
- This builder for chaining.
-
clearZoneUri
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];- Returns:
- This builder for chaining.
-
setZoneUriBytes
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];- Parameters:
value- The bytes for zoneUri to set.- Returns:
- This builder for chaining.
-
getNetworkUri
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];- Specified by:
getNetworkUriin interfaceGceClusterConfigOrBuilder- Returns:
- The networkUri.
-
getNetworkUriBytes
public 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];- Specified by:
getNetworkUriBytesin interfaceGceClusterConfigOrBuilder- Returns:
- The bytes for networkUri.
-
setNetworkUri
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]/global/networks/default` * `projects/[project_id]/global/networks/default` * `default`
string network_uri = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The networkUri to set.- Returns:
- This builder for chaining.
-
clearNetworkUri
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];- Returns:
- This builder for chaining.
-
setNetworkUriBytes
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];- Parameters:
value- The bytes for networkUri to set.- Returns:
- This builder for chaining.
-
getSubnetworkUri
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];- Specified by:
getSubnetworkUriin interfaceGceClusterConfigOrBuilder- Returns:
- The subnetworkUri.
-
getSubnetworkUriBytes
public 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];- Specified by:
getSubnetworkUriBytesin interfaceGceClusterConfigOrBuilder- Returns:
- The bytes for subnetworkUri.
-
setSubnetworkUri
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/[region]/subnetworks/sub0` * `projects/[project_id]/regions/[region]/subnetworks/sub0` * `sub0`
string subnetwork_uri = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The subnetworkUri to set.- Returns:
- This builder for chaining.
-
clearSubnetworkUri
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];- Returns:
- This builder for chaining.
-
setSubnetworkUriBytes
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];- Parameters:
value- The bytes for subnetworkUri to set.- Returns:
- This builder for chaining.
-
hasInternalIpOnly
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];- Specified by:
hasInternalIpOnlyin interfaceGceClusterConfigOrBuilder- Returns:
- Whether the internalIpOnly field is set.
-
getInternalIpOnly
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.
optional bool internal_ip_only = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInternalIpOnlyin interfaceGceClusterConfigOrBuilder- Returns:
- The internalIpOnly.
-
setInternalIpOnly
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.
optional bool internal_ip_only = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The internalIpOnly to set.- Returns:
- This builder for chaining.
-
clearInternalIpOnly
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];- Returns:
- This builder for chaining.
-
getPrivateIpv6GoogleAccessValue
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];- Specified by:
getPrivateIpv6GoogleAccessValuein interfaceGceClusterConfigOrBuilder- Returns:
- The enum numeric value on the wire for privateIpv6GoogleAccess.
-
setPrivateIpv6GoogleAccessValue
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];- Parameters:
value- The enum numeric value on the wire for privateIpv6GoogleAccess to set.- Returns:
- This builder for chaining.
-
getPrivateIpv6GoogleAccess
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];- Specified by:
getPrivateIpv6GoogleAccessin interfaceGceClusterConfigOrBuilder- Returns:
- The privateIpv6GoogleAccess.
-
setPrivateIpv6GoogleAccess
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];- Parameters:
value- The privateIpv6GoogleAccess to set.- Returns:
- This builder for chaining.
-
clearPrivateIpv6GoogleAccess
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];- Returns:
- This builder for chaining.
-
getServiceAccount
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];- Specified by:
getServiceAccountin interfaceGceClusterConfigOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public 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];- Specified by:
getServiceAccountBytesin interfaceGceClusterConfigOrBuilder- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
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];- Parameters:
value- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
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];- Returns:
- This builder for chaining.
-
setServiceAccountBytes
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];- Parameters:
value- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
getServiceAccountScopesList
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];- Specified by:
getServiceAccountScopesListin interfaceGceClusterConfigOrBuilder- Returns:
- A list containing the serviceAccountScopes.
-
getServiceAccountScopesCount
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];- Specified by:
getServiceAccountScopesCountin interfaceGceClusterConfigOrBuilder- Returns:
- The count of serviceAccountScopes.
-
getServiceAccountScopes
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];- Specified by:
getServiceAccountScopesin interfaceGceClusterConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The serviceAccountScopes at the given index.
-
getServiceAccountScopesBytes
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];- Specified by:
getServiceAccountScopesBytesin interfaceGceClusterConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the serviceAccountScopes at the given index.
-
setServiceAccountScopes
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];- Parameters:
index- The index to set the value at.value- The serviceAccountScopes to set.- Returns:
- This builder for chaining.
-
addServiceAccountScopes
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];- Parameters:
value- The serviceAccountScopes to add.- Returns:
- This builder for chaining.
-
addAllServiceAccountScopes
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];- Parameters:
values- The serviceAccountScopes to add.- Returns:
- This builder for chaining.
-
clearServiceAccountScopes
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];- Returns:
- This builder for chaining.
-
addServiceAccountScopesBytes
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];- Parameters:
value- The bytes of the serviceAccountScopes to add.- Returns:
- This builder for chaining.
-
getTagsList
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;- Specified by:
getTagsListin interfaceGceClusterConfigOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
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;- Specified by:
getTagsCountin interfaceGceClusterConfigOrBuilder- Returns:
- The count of tags.
-
getTags
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;- Specified by:
getTagsin interfaceGceClusterConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
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;- Specified by:
getTagsBytesin interfaceGceClusterConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
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;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
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;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
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;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
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;- Returns:
- This builder for chaining.
-
addTagsBytes
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;- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()
Description copied from interface: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];- Specified by:
getMetadataCountin interfaceGceClusterConfigOrBuilder
-
containsMetadata
public 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];- Specified by:
containsMetadatain interfaceGceClusterConfigOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceGceClusterConfigOrBuilder
-
getMetadataMap
public 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];- Specified by:
getMetadataMapin interfaceGceClusterConfigOrBuilder
-
getMetadataOrDefault
public 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];- Specified by:
getMetadataOrDefaultin interfaceGceClusterConfigOrBuilder
-
getMetadataOrThrow
public 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];- Specified by:
getMetadataOrThrowin interfaceGceClusterConfigOrBuilder
-
clearMetadata
public GceClusterConfig.Builder clearMetadata()
-
removeMetadata
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];
-
getMutableMetadata
@Deprecated public Map<String,String> getMutableMetadata()
Deprecated.Use alternate mutation accessors instead.
-
putMetadata
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];
-
putAllMetadata
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];
-
hasReservationAffinity
public boolean hasReservationAffinity()
Optional. Reservation Affinity for consuming Zonal reservation.
.google.cloud.dataproc.v1.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasReservationAffinityin interfaceGceClusterConfigOrBuilder- Returns:
- Whether the reservationAffinity field is set.
-
getReservationAffinity
public ReservationAffinity getReservationAffinity()
Optional. Reservation Affinity for consuming Zonal reservation.
.google.cloud.dataproc.v1.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReservationAffinityin interfaceGceClusterConfigOrBuilder- Returns:
- The reservationAffinity.
-
setReservationAffinity
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];
-
setReservationAffinity
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];
-
mergeReservationAffinity
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];
-
clearReservationAffinity
public GceClusterConfig.Builder clearReservationAffinity()
Optional. Reservation Affinity for consuming Zonal reservation.
.google.cloud.dataproc.v1.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL];
-
getReservationAffinityBuilder
public ReservationAffinity.Builder getReservationAffinityBuilder()
Optional. Reservation Affinity for consuming Zonal reservation.
.google.cloud.dataproc.v1.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL];
-
getReservationAffinityOrBuilder
public ReservationAffinityOrBuilder getReservationAffinityOrBuilder()
Optional. Reservation Affinity for consuming Zonal reservation.
.google.cloud.dataproc.v1.ReservationAffinity reservation_affinity = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReservationAffinityOrBuilderin interfaceGceClusterConfigOrBuilder
-
hasNodeGroupAffinity
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];- Specified by:
hasNodeGroupAffinityin interfaceGceClusterConfigOrBuilder- Returns:
- Whether the nodeGroupAffinity field is set.
-
getNodeGroupAffinity
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];- Specified by:
getNodeGroupAffinityin interfaceGceClusterConfigOrBuilder- Returns:
- The nodeGroupAffinity.
-
setNodeGroupAffinity
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];
-
setNodeGroupAffinity
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];
-
mergeNodeGroupAffinity
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];
-
clearNodeGroupAffinity
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];
-
getNodeGroupAffinityBuilder
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];
-
getNodeGroupAffinityOrBuilder
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];- Specified by:
getNodeGroupAffinityOrBuilderin interfaceGceClusterConfigOrBuilder
-
hasShieldedInstanceConfig
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];- Specified by:
hasShieldedInstanceConfigin interfaceGceClusterConfigOrBuilder- Returns:
- Whether the shieldedInstanceConfig field is set.
-
getShieldedInstanceConfig
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];- Specified by:
getShieldedInstanceConfigin interfaceGceClusterConfigOrBuilder- Returns:
- The shieldedInstanceConfig.
-
setShieldedInstanceConfig
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];
-
setShieldedInstanceConfig
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];
-
mergeShieldedInstanceConfig
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];
-
clearShieldedInstanceConfig
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];
-
getShieldedInstanceConfigBuilder
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];
-
getShieldedInstanceConfigOrBuilder
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];- Specified by:
getShieldedInstanceConfigOrBuilderin interfaceGceClusterConfigOrBuilder
-
hasConfidentialInstanceConfig
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];- Specified by:
hasConfidentialInstanceConfigin interfaceGceClusterConfigOrBuilder- Returns:
- Whether the confidentialInstanceConfig field is set.
-
getConfidentialInstanceConfig
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];- Specified by:
getConfidentialInstanceConfigin interfaceGceClusterConfigOrBuilder- Returns:
- The confidentialInstanceConfig.
-
setConfidentialInstanceConfig
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];
-
setConfidentialInstanceConfig
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];
-
mergeConfidentialInstanceConfig
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];
-
clearConfidentialInstanceConfig
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];
-
getConfidentialInstanceConfigBuilder
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];
-
getConfidentialInstanceConfigOrBuilder
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];- Specified by:
getConfidentialInstanceConfigOrBuilderin interfaceGceClusterConfigOrBuilder
-
setUnknownFields
public final GceClusterConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>
-
mergeUnknownFields
public final GceClusterConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>
-
-