public static final class GceClusterConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder> implements GceClusterConfigOrBuilder
Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster.Protobuf type
google.cloud.dataproc.v1.GceClusterConfig| Modifier and Type | Method and Description |
|---|---|
GceClusterConfig.Builder |
addAllServiceAccountScopes(Iterable<String> values)
Optional.
|
GceClusterConfig.Builder |
addAllTags(Iterable<String> values)
The Compute Engine tags to add to all instances (see
[Tagging instances](/compute/docs/label-or-tag-resources#tags)).
|
GceClusterConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GceClusterConfig.Builder |
addServiceAccountScopes(String value)
Optional.
|
GceClusterConfig.Builder |
addServiceAccountScopesBytes(com.google.protobuf.ByteString value)
Optional.
|
GceClusterConfig.Builder |
addTags(String value)
The Compute Engine tags to add to all instances (see
[Tagging instances](/compute/docs/label-or-tag-resources#tags)).
|
GceClusterConfig.Builder |
addTagsBytes(com.google.protobuf.ByteString value)
The Compute Engine tags to add to all instances (see
[Tagging instances](/compute/docs/label-or-tag-resources#tags)).
|
GceClusterConfig |
build() |
GceClusterConfig |
buildPartial() |
GceClusterConfig.Builder |
clear() |
GceClusterConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GceClusterConfig.Builder |
clearInternalIpOnly()
Optional.
|
GceClusterConfig.Builder |
clearMetadata() |
GceClusterConfig.Builder |
clearNetworkUri()
Optional.
|
GceClusterConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GceClusterConfig.Builder |
clearServiceAccount()
Optional.
|
GceClusterConfig.Builder |
clearServiceAccountScopes()
Optional.
|
GceClusterConfig.Builder |
clearSubnetworkUri()
Optional.
|
GceClusterConfig.Builder |
clearTags()
The Compute Engine tags to add to all instances (see
[Tagging instances](/compute/docs/label-or-tag-resources#tags)).
|
GceClusterConfig.Builder |
clearZoneUri()
Optional.
|
GceClusterConfig.Builder |
clone() |
boolean |
containsMetadata(String key)
The Compute Engine metadata entries to add to all instances (see
[Project and instance
metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
|
GceClusterConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getInternalIpOnly()
Optional.
|
Map<String,String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
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> |
getMetadataMap()
The Compute Engine metadata entries to add to all instances (see
[Project and instance
metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
|
String |
getMetadataOrDefault(String key,
String defaultValue)
The Compute Engine metadata entries to add to all instances (see
[Project and instance
metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
|
String |
getMetadataOrThrow(String key)
The Compute Engine metadata entries to add to all instances (see
[Project and instance
metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
|
Map<String,String> |
getMutableMetadata()
Deprecated.
|
String |
getNetworkUri()
Optional.
|
com.google.protobuf.ByteString |
getNetworkUriBytes()
Optional.
|
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.
|
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](/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](/compute/docs/label-or-tag-resources#tags)).
|
int |
getTagsCount()
The Compute Engine tags to add to all instances (see
[Tagging instances](/compute/docs/label-or-tag-resources#tags)).
|
com.google.protobuf.ProtocolStringList |
getTagsList()
The Compute Engine tags to add to all instances (see
[Tagging instances](/compute/docs/label-or-tag-resources#tags)).
|
String |
getZoneUri()
Optional.
|
com.google.protobuf.ByteString |
getZoneUriBytes()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
GceClusterConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GceClusterConfig.Builder |
mergeFrom(GceClusterConfig other) |
GceClusterConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
GceClusterConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GceClusterConfig.Builder |
putAllMetadata(Map<String,String> values)
The Compute Engine metadata entries to add to all instances (see
[Project and instance
metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
|
GceClusterConfig.Builder |
putMetadata(String key,
String value)
The Compute Engine metadata entries to add to all instances (see
[Project and instance
metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
|
GceClusterConfig.Builder |
removeMetadata(String key)
The Compute Engine metadata entries to add to all instances (see
[Project and instance
metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
|
GceClusterConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GceClusterConfig.Builder |
setInternalIpOnly(boolean value)
Optional.
|
GceClusterConfig.Builder |
setNetworkUri(String value)
Optional.
|
GceClusterConfig.Builder |
setNetworkUriBytes(com.google.protobuf.ByteString value)
Optional.
|
GceClusterConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GceClusterConfig.Builder |
setServiceAccount(String value)
Optional.
|
GceClusterConfig.Builder |
setServiceAccountBytes(com.google.protobuf.ByteString value)
Optional.
|
GceClusterConfig.Builder |
setServiceAccountScopes(int index,
String value)
Optional.
|
GceClusterConfig.Builder |
setSubnetworkUri(String value)
Optional.
|
GceClusterConfig.Builder |
setSubnetworkUriBytes(com.google.protobuf.ByteString value)
Optional.
|
GceClusterConfig.Builder |
setTags(int index,
String value)
The Compute Engine tags to add to all instances (see
[Tagging instances](/compute/docs/label-or-tag-resources#tags)).
|
GceClusterConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GceClusterConfig.Builder |
setZoneUri(String value)
Optional.
|
GceClusterConfig.Builder |
setZoneUriBytes(com.google.protobuf.ByteString value)
Optional.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GceClusterConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GceClusterConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GceClusterConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder mergeFrom(GceClusterConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public GceClusterConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GceClusterConfig.Builder>IOExceptionpublic String getZoneUri()
Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a non-global Cloud Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` * `projects/[project_id]/zones/[zone]` * `us-central1-f`
string zone_uri = 1;getZoneUri in interface GceClusterConfigOrBuilderpublic com.google.protobuf.ByteString getZoneUriBytes()
Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a non-global Cloud Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` * `projects/[project_id]/zones/[zone]` * `us-central1-f`
string zone_uri = 1;getZoneUriBytes in interface GceClusterConfigOrBuilderpublic GceClusterConfig.Builder setZoneUri(String value)
Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a non-global Cloud Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` * `projects/[project_id]/zones/[zone]` * `us-central1-f`
string zone_uri = 1;public GceClusterConfig.Builder clearZoneUri()
Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a non-global Cloud Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` * `projects/[project_id]/zones/[zone]` * `us-central1-f`
string zone_uri = 1;public GceClusterConfig.Builder setZoneUriBytes(com.google.protobuf.ByteString value)
Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a non-global Cloud Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` * `projects/[project_id]/zones/[zone]` * `us-central1-f`
string zone_uri = 1;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](/compute/docs/subnetworks) for more information). A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default` * `projects/[project_id]/regions/global/default` * `default`
string network_uri = 2;getNetworkUri in interface GceClusterConfigOrBuilderpublic com.google.protobuf.ByteString getNetworkUriBytes()
Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither `network_uri` nor `subnetwork_uri` is specified, the "default" network of the project is used, if it exists. Cannot be a "Custom Subnet Network" (see [Using Subnetworks](/compute/docs/subnetworks) for more information). A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default` * `projects/[project_id]/regions/global/default` * `default`
string network_uri = 2;getNetworkUriBytes in interface GceClusterConfigOrBuilderpublic GceClusterConfig.Builder setNetworkUri(String value)
Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither `network_uri` nor `subnetwork_uri` is specified, the "default" network of the project is used, if it exists. Cannot be a "Custom Subnet Network" (see [Using Subnetworks](/compute/docs/subnetworks) for more information). A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default` * `projects/[project_id]/regions/global/default` * `default`
string network_uri = 2;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](/compute/docs/subnetworks) for more information). A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default` * `projects/[project_id]/regions/global/default` * `default`
string network_uri = 2;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](/compute/docs/subnetworks) for more information). A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default` * `projects/[project_id]/regions/global/default` * `default`
string network_uri = 2;public String getSubnetworkUri()
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0` * `sub0`
string subnetwork_uri = 6;getSubnetworkUri in interface GceClusterConfigOrBuilderpublic com.google.protobuf.ByteString getSubnetworkUriBytes()
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0` * `sub0`
string subnetwork_uri = 6;getSubnetworkUriBytes in interface GceClusterConfigOrBuilderpublic GceClusterConfig.Builder setSubnetworkUri(String value)
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0` * `sub0`
string subnetwork_uri = 6;public GceClusterConfig.Builder clearSubnetworkUri()
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0` * `sub0`
string subnetwork_uri = 6;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/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0` * `sub0`
string subnetwork_uri = 6;public boolean getInternalIpOnly()
Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This `internal_ip_only` restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses.
bool internal_ip_only = 7;getInternalIpOnly in interface GceClusterConfigOrBuilderpublic GceClusterConfig.Builder setInternalIpOnly(boolean value)
Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This `internal_ip_only` restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses.
bool internal_ip_only = 7;public GceClusterConfig.Builder clearInternalIpOnly()
Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This `internal_ip_only` restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses.
bool internal_ip_only = 7;public String getServiceAccount()
Optional. The service account of the instances. Defaults to the default Compute Engine service account. Custom service accounts need permissions equivalent to the following IAM roles: * roles/logging.logWriter * roles/storage.objectAdmin (see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: `[account_id]@[project_id].iam.gserviceaccount.com`
string service_account = 8;getServiceAccount in interface GceClusterConfigOrBuilderpublic com.google.protobuf.ByteString getServiceAccountBytes()
Optional. The service account of the instances. Defaults to the default Compute Engine service account. Custom service accounts need permissions equivalent to the following IAM roles: * roles/logging.logWriter * roles/storage.objectAdmin (see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: `[account_id]@[project_id].iam.gserviceaccount.com`
string service_account = 8;getServiceAccountBytes in interface GceClusterConfigOrBuilderpublic GceClusterConfig.Builder setServiceAccount(String value)
Optional. The service account of the instances. Defaults to the default Compute Engine service account. Custom service accounts need permissions equivalent to the following IAM roles: * roles/logging.logWriter * roles/storage.objectAdmin (see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: `[account_id]@[project_id].iam.gserviceaccount.com`
string service_account = 8;public GceClusterConfig.Builder clearServiceAccount()
Optional. The service account of the instances. Defaults to the default Compute Engine service account. Custom service accounts need permissions equivalent to the following IAM roles: * roles/logging.logWriter * roles/storage.objectAdmin (see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: `[account_id]@[project_id].iam.gserviceaccount.com`
string service_account = 8;public GceClusterConfig.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
Optional. The service account of the instances. Defaults to the default Compute Engine service account. Custom service accounts need permissions equivalent to the following IAM roles: * roles/logging.logWriter * roles/storage.objectAdmin (see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: `[account_id]@[project_id].iam.gserviceaccount.com`
string service_account = 8;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;getServiceAccountScopesList in interface GceClusterConfigOrBuilderpublic int getServiceAccountScopesCount()
Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control
repeated string service_account_scopes = 3;getServiceAccountScopesCount in interface GceClusterConfigOrBuilderpublic String getServiceAccountScopes(int index)
Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control
repeated string service_account_scopes = 3;getServiceAccountScopes in interface GceClusterConfigOrBuilderpublic 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;getServiceAccountScopesBytes in interface GceClusterConfigOrBuilderpublic 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;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;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;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;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;public com.google.protobuf.ProtocolStringList getTagsList()
The Compute Engine tags to add to all instances (see [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;getTagsList in interface GceClusterConfigOrBuilderpublic int getTagsCount()
The Compute Engine tags to add to all instances (see [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;getTagsCount in interface GceClusterConfigOrBuilderpublic String getTags(int index)
The Compute Engine tags to add to all instances (see [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;getTags in interface GceClusterConfigOrBuilderpublic com.google.protobuf.ByteString getTagsBytes(int index)
The Compute Engine tags to add to all instances (see [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;getTagsBytes in interface GceClusterConfigOrBuilderpublic GceClusterConfig.Builder setTags(int index, String value)
The Compute Engine tags to add to all instances (see [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;public GceClusterConfig.Builder addTags(String value)
The Compute Engine tags to add to all instances (see [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;public GceClusterConfig.Builder addAllTags(Iterable<String> values)
The Compute Engine tags to add to all instances (see [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;public GceClusterConfig.Builder clearTags()
The Compute Engine tags to add to all instances (see [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;public GceClusterConfig.Builder addTagsBytes(com.google.protobuf.ByteString value)
The Compute Engine tags to add to all instances (see [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 4;public int getMetadataCount()
GceClusterConfigOrBuilderThe Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;getMetadataCount in interface GceClusterConfigOrBuilderpublic boolean containsMetadata(String key)
The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;containsMetadata in interface GceClusterConfigOrBuilder@Deprecated public Map<String,String> getMetadata()
getMetadataMap() instead.getMetadata in interface GceClusterConfigOrBuilderpublic Map<String,String> getMetadataMap()
The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;getMetadataMap in interface GceClusterConfigOrBuilderpublic String getMetadataOrDefault(String key, String defaultValue)
The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;getMetadataOrDefault in interface GceClusterConfigOrBuilderpublic String getMetadataOrThrow(String key)
The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;getMetadataOrThrow in interface GceClusterConfigOrBuilderpublic GceClusterConfig.Builder clearMetadata()
public GceClusterConfig.Builder removeMetadata(String key)
The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;@Deprecated public Map<String,String> getMutableMetadata()
public GceClusterConfig.Builder putMetadata(String key, String value)
The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;public GceClusterConfig.Builder putAllMetadata(Map<String,String> values)
The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
map<string, string> metadata = 5;public final GceClusterConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>public final GceClusterConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GceClusterConfig.Builder>Copyright © 2019 Google LLC. All rights reserved.