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 class
GceClusterConfig.Builder
Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster.static class
GceClusterConfig.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 int
CONFIDENTIAL_INSTANCE_CONFIG_FIELD_NUMBER
static int
INTERNAL_IP_ONLY_FIELD_NUMBER
static int
METADATA_FIELD_NUMBER
static int
NETWORK_URI_FIELD_NUMBER
static int
NODE_GROUP_AFFINITY_FIELD_NUMBER
static int
PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER
static int
RESERVATION_AFFINITY_FIELD_NUMBER
static int
SERVICE_ACCOUNT_FIELD_NUMBER
static int
SERVICE_ACCOUNT_SCOPES_FIELD_NUMBER
static int
SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER
static int
SUBNETWORK_URI_FIELD_NUMBER
static int
TAGS_FIELD_NUMBER
static int
ZONE_URI_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsMetadata(String key)
Optional.boolean
equals(Object obj)
ConfidentialInstanceConfig
getConfidentialInstanceConfig()
Optional.ConfidentialInstanceConfigOrBuilder
getConfidentialInstanceConfigOrBuilder()
Optional.static GceClusterConfig
getDefaultInstance()
GceClusterConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
boolean
getInternalIpOnly()
Optional.Map<String,String>
getMetadata()
Deprecated.int
getMetadataCount()
Optional.Map<String,String>
getMetadataMap()
Optional.String
getMetadataOrDefault(String key, String defaultValue)
Optional.String
getMetadataOrThrow(String key)
Optional.String
getNetworkUri()
Optional.com.google.protobuf.ByteString
getNetworkUriBytes()
Optional.NodeGroupAffinity
getNodeGroupAffinity()
Optional.NodeGroupAffinityOrBuilder
getNodeGroupAffinityOrBuilder()
Optional.com.google.protobuf.Parser<GceClusterConfig>
getParserForType()
GceClusterConfig.PrivateIpv6GoogleAccess
getPrivateIpv6GoogleAccess()
Optional.int
getPrivateIpv6GoogleAccessValue()
Optional.ReservationAffinity
getReservationAffinity()
Optional.ReservationAffinityOrBuilder
getReservationAffinityOrBuilder()
Optional.int
getSerializedSize()
String
getServiceAccount()
Optional.com.google.protobuf.ByteString
getServiceAccountBytes()
Optional.String
getServiceAccountScopes(int index)
Optional.com.google.protobuf.ByteString
getServiceAccountScopesBytes(int index)
Optional.int
getServiceAccountScopesCount()
Optional.com.google.protobuf.ProtocolStringList
getServiceAccountScopesList()
Optional.ShieldedInstanceConfig
getShieldedInstanceConfig()
Optional.ShieldedInstanceConfigOrBuilder
getShieldedInstanceConfigOrBuilder()
Optional.String
getSubnetworkUri()
Optional.com.google.protobuf.ByteString
getSubnetworkUriBytes()
Optional.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)).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)).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)).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)).String
getZoneUri()
Optional.com.google.protobuf.ByteString
getZoneUriBytes()
Optional.boolean
hasConfidentialInstanceConfig()
Optional.int
hashCode()
boolean
hasInternalIpOnly()
Optional.boolean
hasNodeGroupAffinity()
Optional.boolean
hasReservationAffinity()
Optional.boolean
hasShieldedInstanceConfig()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static GceClusterConfig.Builder
newBuilder()
static GceClusterConfig.Builder
newBuilder(GceClusterConfig prototype)
GceClusterConfig.Builder
newBuilderForType()
protected GceClusterConfig.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static GceClusterConfig
parseDelimitedFrom(InputStream input)
static GceClusterConfig
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GceClusterConfig
parseFrom(byte[] data)
static GceClusterConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GceClusterConfig
parseFrom(com.google.protobuf.ByteString data)
static GceClusterConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GceClusterConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static GceClusterConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GceClusterConfig
parseFrom(InputStream input)
static GceClusterConfig
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GceClusterConfig
parseFrom(ByteBuffer data)
static GceClusterConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<GceClusterConfig>
parser()
GceClusterConfig.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getZoneUri
in 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:
getZoneUriBytes
in 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:
getNetworkUri
in 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:
getNetworkUriBytes
in 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:
getSubnetworkUri
in 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:
getSubnetworkUriBytes
in 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:
hasInternalIpOnly
in 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:
getInternalIpOnly
in 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:
getPrivateIpv6GoogleAccessValue
in 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:
getPrivateIpv6GoogleAccess
in 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:
getServiceAccount
in 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:
getServiceAccountBytes
in 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:
getServiceAccountScopesList
in 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:
getServiceAccountScopesCount
in 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:
getServiceAccountScopes
in 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:
getServiceAccountScopesBytes
in 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:
getTagsList
in 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:
getTagsCount
in 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:
getTags
in 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:
getTagsBytes
in 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:GceClusterConfigOrBuilder
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:
getMetadataCount
in 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:
containsMetadata
in interfaceGceClusterConfigOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in 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:
getMetadataMap
in 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:
getMetadataOrDefault
in 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:
getMetadataOrThrow
in 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:
hasReservationAffinity
in 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:
getReservationAffinity
in 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:
getReservationAffinityOrBuilder
in 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:
hasNodeGroupAffinity
in 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:
getNodeGroupAffinity
in 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:
getNodeGroupAffinityOrBuilder
in 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:
hasShieldedInstanceConfig
in 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:
getShieldedInstanceConfig
in 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:
getShieldedInstanceConfigOrBuilder
in 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:
hasConfidentialInstanceConfig
in 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:
getConfidentialInstanceConfig
in 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:
getConfidentialInstanceConfigOrBuilder
in interfaceGceClusterConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GceClusterConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GceClusterConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-