Package com.google.cloud.dataproc.v1
Class GceClusterConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataproc.v1.GceClusterConfig
-
- All Implemented Interfaces:
GceClusterConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class GceClusterConfig extends com.google.protobuf.GeneratedMessageV3 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- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGceClusterConfig.BuilderCommon config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster.static classGceClusterConfig.PrivateIpv6GoogleAccess`PrivateIpv6GoogleAccess` controls whether and how Dataproc cluster nodes can communicate with Google Services through gRPC over IPv6.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCONFIDENTIAL_INSTANCE_CONFIG_FIELD_NUMBERstatic intINTERNAL_IP_ONLY_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intNETWORK_URI_FIELD_NUMBERstatic intNODE_GROUP_AFFINITY_FIELD_NUMBERstatic intPRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBERstatic intRESERVATION_AFFINITY_FIELD_NUMBERstatic intSERVICE_ACCOUNT_FIELD_NUMBERstatic intSERVICE_ACCOUNT_SCOPES_FIELD_NUMBERstatic intSHIELDED_INSTANCE_CONFIG_FIELD_NUMBERstatic intSUBNETWORK_URI_FIELD_NUMBERstatic intTAGS_FIELD_NUMBERstatic intZONE_URI_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetadata(String key)Optional.booleanequals(Object obj)ConfidentialInstanceConfiggetConfidentialInstanceConfig()Optional.ConfidentialInstanceConfigOrBuildergetConfidentialInstanceConfigOrBuilder()Optional.static GceClusterConfiggetDefaultInstance()GceClusterConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetInternalIpOnly()Optional.Map<String,String>getMetadata()Deprecated.intgetMetadataCount()Optional.Map<String,String>getMetadataMap()Optional.StringgetMetadataOrDefault(String key, String defaultValue)Optional.StringgetMetadataOrThrow(String key)Optional.StringgetNetworkUri()Optional.com.google.protobuf.ByteStringgetNetworkUriBytes()Optional.NodeGroupAffinitygetNodeGroupAffinity()Optional.NodeGroupAffinityOrBuildergetNodeGroupAffinityOrBuilder()Optional.com.google.protobuf.Parser<GceClusterConfig>getParserForType()GceClusterConfig.PrivateIpv6GoogleAccessgetPrivateIpv6GoogleAccess()Optional.intgetPrivateIpv6GoogleAccessValue()Optional.ReservationAffinitygetReservationAffinity()Optional.ReservationAffinityOrBuildergetReservationAffinityOrBuilder()Optional.intgetSerializedSize()StringgetServiceAccount()Optional.com.google.protobuf.ByteStringgetServiceAccountBytes()Optional.StringgetServiceAccountScopes(int index)Optional.com.google.protobuf.ByteStringgetServiceAccountScopesBytes(int index)Optional.intgetServiceAccountScopesCount()Optional.com.google.protobuf.ProtocolStringListgetServiceAccountScopesList()Optional.ShieldedInstanceConfiggetShieldedInstanceConfig()Optional.ShieldedInstanceConfigOrBuildergetShieldedInstanceConfigOrBuilder()Optional.StringgetSubnetworkUri()Optional.com.google.protobuf.ByteStringgetSubnetworkUriBytes()Optional.StringgetTags(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)).com.google.protobuf.ByteStringgetTagsBytes(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)).intgetTagsCount()The Compute Engine tags to add to all instances (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).com.google.protobuf.ProtocolStringListgetTagsList()The Compute Engine tags to add to all instances (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).StringgetZoneUri()Optional.com.google.protobuf.ByteStringgetZoneUriBytes()Optional.booleanhasConfidentialInstanceConfig()Optional.inthashCode()booleanhasInternalIpOnly()Optional.booleanhasNodeGroupAffinity()Optional.booleanhasReservationAffinity()Optional.booleanhasShieldedInstanceConfig()Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static GceClusterConfig.BuildernewBuilder()static GceClusterConfig.BuildernewBuilder(GceClusterConfig prototype)GceClusterConfig.BuildernewBuilderForType()protected GceClusterConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GceClusterConfigparseDelimitedFrom(InputStream input)static GceClusterConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GceClusterConfigparseFrom(byte[] data)static GceClusterConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GceClusterConfigparseFrom(com.google.protobuf.ByteString data)static GceClusterConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GceClusterConfigparseFrom(com.google.protobuf.CodedInputStream input)static GceClusterConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GceClusterConfigparseFrom(InputStream input)static GceClusterConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GceClusterConfigparseFrom(ByteBuffer data)static GceClusterConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GceClusterConfig>parser()GceClusterConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ZONE_URI_FIELD_NUMBER
public static final int ZONE_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_URI_FIELD_NUMBER
public static final int NETWORK_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBNETWORK_URI_FIELD_NUMBER
public static final int SUBNETWORK_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERNAL_IP_ONLY_FIELD_NUMBER
public static final int INTERNAL_IP_ONLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER
public static final int PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_ACCOUNT_SCOPES_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_SCOPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESERVATION_AFFINITY_FIELD_NUMBER
public static final int RESERVATION_AFFINITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODE_GROUP_AFFINITY_FIELD_NUMBER
public static final int NODE_GROUP_AFFINITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER
public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIDENTIAL_INSTANCE_CONFIG_FIELD_NUMBER
public static final int CONFIDENTIAL_INSTANCE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GceClusterConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GceClusterConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GceClusterConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GceClusterConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GceClusterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GceClusterConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GceClusterConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GceClusterConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GceClusterConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GceClusterConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GceClusterConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GceClusterConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GceClusterConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GceClusterConfig.Builder newBuilder()
-
newBuilder
public static GceClusterConfig.Builder newBuilder(GceClusterConfig prototype)
-
toBuilder
public GceClusterConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GceClusterConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GceClusterConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GceClusterConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<GceClusterConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GceClusterConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-