public static final class NodeConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder> implements NodeConfigOrBuilder
The configuration information for the Kubernetes Engine nodes running the Apache Airflow software.Protobuf type
google.cloud.orchestration.airflow.service.v1.NodeConfiggetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>public NodeConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.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<NodeConfig.Builder>public NodeConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic NodeConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic NodeConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic NodeConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>public NodeConfig.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<NodeConfig.Builder>public NodeConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>public NodeConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>public NodeConfig.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<NodeConfig.Builder>public NodeConfig.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<NodeConfig.Builder>public NodeConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NodeConfig.Builder>public NodeConfig.Builder mergeFrom(NodeConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>public NodeConfig.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<NodeConfig.Builder>IOExceptionpublic String getLocation()
Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
to deploy the VMs used to run the Apache Airflow software, specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/zones/{zoneId}".
This `location` must belong to the enclosing environment's project and
location. If both this field and `nodeConfig.machineType` are specified,
`nodeConfig.machineType` must belong to this `location`; if both are
unspecified, the service will pick a zone in the Compute Engine region
corresponding to the Cloud Composer location, and propagate that choice to
both fields. If only one field (`location` or `nodeConfig.machineType`) is
specified, the location information from the specified field will be
propagated to the unspecified field.
This field is supported for Cloud Composer environments in versions
composer-1.*.*-airflow-*.*.*.
string location = 1;getLocation in interface NodeConfigOrBuilderpublic com.google.protobuf.ByteString getLocationBytes()
Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
to deploy the VMs used to run the Apache Airflow software, specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/zones/{zoneId}".
This `location` must belong to the enclosing environment's project and
location. If both this field and `nodeConfig.machineType` are specified,
`nodeConfig.machineType` must belong to this `location`; if both are
unspecified, the service will pick a zone in the Compute Engine region
corresponding to the Cloud Composer location, and propagate that choice to
both fields. If only one field (`location` or `nodeConfig.machineType`) is
specified, the location information from the specified field will be
propagated to the unspecified field.
This field is supported for Cloud Composer environments in versions
composer-1.*.*-airflow-*.*.*.
string location = 1;getLocationBytes in interface NodeConfigOrBuilderpublic NodeConfig.Builder setLocation(String value)
Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
to deploy the VMs used to run the Apache Airflow software, specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/zones/{zoneId}".
This `location` must belong to the enclosing environment's project and
location. If both this field and `nodeConfig.machineType` are specified,
`nodeConfig.machineType` must belong to this `location`; if both are
unspecified, the service will pick a zone in the Compute Engine region
corresponding to the Cloud Composer location, and propagate that choice to
both fields. If only one field (`location` or `nodeConfig.machineType`) is
specified, the location information from the specified field will be
propagated to the unspecified field.
This field is supported for Cloud Composer environments in versions
composer-1.*.*-airflow-*.*.*.
string location = 1;value - The location to set.public NodeConfig.Builder clearLocation()
Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
to deploy the VMs used to run the Apache Airflow software, specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/zones/{zoneId}".
This `location` must belong to the enclosing environment's project and
location. If both this field and `nodeConfig.machineType` are specified,
`nodeConfig.machineType` must belong to this `location`; if both are
unspecified, the service will pick a zone in the Compute Engine region
corresponding to the Cloud Composer location, and propagate that choice to
both fields. If only one field (`location` or `nodeConfig.machineType`) is
specified, the location information from the specified field will be
propagated to the unspecified field.
This field is supported for Cloud Composer environments in versions
composer-1.*.*-airflow-*.*.*.
string location = 1;public NodeConfig.Builder setLocationBytes(com.google.protobuf.ByteString value)
Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
to deploy the VMs used to run the Apache Airflow software, specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/zones/{zoneId}".
This `location` must belong to the enclosing environment's project and
location. If both this field and `nodeConfig.machineType` are specified,
`nodeConfig.machineType` must belong to this `location`; if both are
unspecified, the service will pick a zone in the Compute Engine region
corresponding to the Cloud Composer location, and propagate that choice to
both fields. If only one field (`location` or `nodeConfig.machineType`) is
specified, the location information from the specified field will be
propagated to the unspecified field.
This field is supported for Cloud Composer environments in versions
composer-1.*.*-airflow-*.*.*.
string location = 1;value - The bytes for location to set.public String getMachineType()
Optional. The Compute Engine
[machine type](/compute/docs/machine-types) used for cluster instances,
specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}".
The `machineType` must belong to the enclosing environment's project and
location. If both this field and `nodeConfig.location` are specified,
this `machineType` must belong to the `nodeConfig.location`; if both are
unspecified, the service will pick a zone in the Compute Engine region
corresponding to the Cloud Composer location, and propagate that choice to
both fields. If exactly one of this field and `nodeConfig.location` is
specified, the location information from the specified field will be
propagated to the unspecified field.
The `machineTypeId` must not be a [shared-core machine
type](/compute/docs/machine-types#sharedcore).
If this field is unspecified, the `machineTypeId` defaults
to "n1-standard-1".
This field is supported for Cloud Composer environments in versions
composer-1.*.*-airflow-*.*.*.
string machine_type = 2;getMachineType in interface NodeConfigOrBuilderpublic com.google.protobuf.ByteString getMachineTypeBytes()
Optional. The Compute Engine
[machine type](/compute/docs/machine-types) used for cluster instances,
specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}".
The `machineType` must belong to the enclosing environment's project and
location. If both this field and `nodeConfig.location` are specified,
this `machineType` must belong to the `nodeConfig.location`; if both are
unspecified, the service will pick a zone in the Compute Engine region
corresponding to the Cloud Composer location, and propagate that choice to
both fields. If exactly one of this field and `nodeConfig.location` is
specified, the location information from the specified field will be
propagated to the unspecified field.
The `machineTypeId` must not be a [shared-core machine
type](/compute/docs/machine-types#sharedcore).
If this field is unspecified, the `machineTypeId` defaults
to "n1-standard-1".
This field is supported for Cloud Composer environments in versions
composer-1.*.*-airflow-*.*.*.
string machine_type = 2;getMachineTypeBytes in interface NodeConfigOrBuilderpublic NodeConfig.Builder setMachineType(String value)
Optional. The Compute Engine
[machine type](/compute/docs/machine-types) used for cluster instances,
specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}".
The `machineType` must belong to the enclosing environment's project and
location. If both this field and `nodeConfig.location` are specified,
this `machineType` must belong to the `nodeConfig.location`; if both are
unspecified, the service will pick a zone in the Compute Engine region
corresponding to the Cloud Composer location, and propagate that choice to
both fields. If exactly one of this field and `nodeConfig.location` is
specified, the location information from the specified field will be
propagated to the unspecified field.
The `machineTypeId` must not be a [shared-core machine
type](/compute/docs/machine-types#sharedcore).
If this field is unspecified, the `machineTypeId` defaults
to "n1-standard-1".
This field is supported for Cloud Composer environments in versions
composer-1.*.*-airflow-*.*.*.
string machine_type = 2;value - The machineType to set.public NodeConfig.Builder clearMachineType()
Optional. The Compute Engine
[machine type](/compute/docs/machine-types) used for cluster instances,
specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}".
The `machineType` must belong to the enclosing environment's project and
location. If both this field and `nodeConfig.location` are specified,
this `machineType` must belong to the `nodeConfig.location`; if both are
unspecified, the service will pick a zone in the Compute Engine region
corresponding to the Cloud Composer location, and propagate that choice to
both fields. If exactly one of this field and `nodeConfig.location` is
specified, the location information from the specified field will be
propagated to the unspecified field.
The `machineTypeId` must not be a [shared-core machine
type](/compute/docs/machine-types#sharedcore).
If this field is unspecified, the `machineTypeId` defaults
to "n1-standard-1".
This field is supported for Cloud Composer environments in versions
composer-1.*.*-airflow-*.*.*.
string machine_type = 2;public NodeConfig.Builder setMachineTypeBytes(com.google.protobuf.ByteString value)
Optional. The Compute Engine
[machine type](/compute/docs/machine-types) used for cluster instances,
specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}".
The `machineType` must belong to the enclosing environment's project and
location. If both this field and `nodeConfig.location` are specified,
this `machineType` must belong to the `nodeConfig.location`; if both are
unspecified, the service will pick a zone in the Compute Engine region
corresponding to the Cloud Composer location, and propagate that choice to
both fields. If exactly one of this field and `nodeConfig.location` is
specified, the location information from the specified field will be
propagated to the unspecified field.
The `machineTypeId` must not be a [shared-core machine
type](/compute/docs/machine-types#sharedcore).
If this field is unspecified, the `machineTypeId` defaults
to "n1-standard-1".
This field is supported for Cloud Composer environments in versions
composer-1.*.*-airflow-*.*.*.
string machine_type = 2;value - The bytes for machineType to set.public String getNetwork()
Optional. The Compute Engine network to be used for machine
communications, specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/global/networks/{networkId}".
If unspecified, the "default" network ID in the environment's project is
used. If a [Custom Subnet Network](/vpc/docs/vpc#vpc_networks_and_subnets)
is provided, `nodeConfig.subnetwork` must also be provided. For
[Shared VPC](/vpc/docs/shared-vpc) subnetwork requirements, see
`nodeConfig.subnetwork`.
string network = 3;getNetwork in interface NodeConfigOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
Optional. The Compute Engine network to be used for machine
communications, specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/global/networks/{networkId}".
If unspecified, the "default" network ID in the environment's project is
used. If a [Custom Subnet Network](/vpc/docs/vpc#vpc_networks_and_subnets)
is provided, `nodeConfig.subnetwork` must also be provided. For
[Shared VPC](/vpc/docs/shared-vpc) subnetwork requirements, see
`nodeConfig.subnetwork`.
string network = 3;getNetworkBytes in interface NodeConfigOrBuilderpublic NodeConfig.Builder setNetwork(String value)
Optional. The Compute Engine network to be used for machine
communications, specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/global/networks/{networkId}".
If unspecified, the "default" network ID in the environment's project is
used. If a [Custom Subnet Network](/vpc/docs/vpc#vpc_networks_and_subnets)
is provided, `nodeConfig.subnetwork` must also be provided. For
[Shared VPC](/vpc/docs/shared-vpc) subnetwork requirements, see
`nodeConfig.subnetwork`.
string network = 3;value - The network to set.public NodeConfig.Builder clearNetwork()
Optional. The Compute Engine network to be used for machine
communications, specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/global/networks/{networkId}".
If unspecified, the "default" network ID in the environment's project is
used. If a [Custom Subnet Network](/vpc/docs/vpc#vpc_networks_and_subnets)
is provided, `nodeConfig.subnetwork` must also be provided. For
[Shared VPC](/vpc/docs/shared-vpc) subnetwork requirements, see
`nodeConfig.subnetwork`.
string network = 3;public NodeConfig.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Optional. The Compute Engine network to be used for machine
communications, specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/global/networks/{networkId}".
If unspecified, the "default" network ID in the environment's project is
used. If a [Custom Subnet Network](/vpc/docs/vpc#vpc_networks_and_subnets)
is provided, `nodeConfig.subnetwork` must also be provided. For
[Shared VPC](/vpc/docs/shared-vpc) subnetwork requirements, see
`nodeConfig.subnetwork`.
string network = 3;value - The bytes for network to set.public String getSubnetwork()
Optional. The Compute Engine subnetwork to be used for machine
communications, specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}"
If a subnetwork is provided, `nodeConfig.network` must also be provided,
and the subnetwork must belong to the enclosing environment's project and
location.
string subnetwork = 4;getSubnetwork in interface NodeConfigOrBuilderpublic com.google.protobuf.ByteString getSubnetworkBytes()
Optional. The Compute Engine subnetwork to be used for machine
communications, specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}"
If a subnetwork is provided, `nodeConfig.network` must also be provided,
and the subnetwork must belong to the enclosing environment's project and
location.
string subnetwork = 4;getSubnetworkBytes in interface NodeConfigOrBuilderpublic NodeConfig.Builder setSubnetwork(String value)
Optional. The Compute Engine subnetwork to be used for machine
communications, specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}"
If a subnetwork is provided, `nodeConfig.network` must also be provided,
and the subnetwork must belong to the enclosing environment's project and
location.
string subnetwork = 4;value - The subnetwork to set.public NodeConfig.Builder clearSubnetwork()
Optional. The Compute Engine subnetwork to be used for machine
communications, specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}"
If a subnetwork is provided, `nodeConfig.network` must also be provided,
and the subnetwork must belong to the enclosing environment's project and
location.
string subnetwork = 4;public NodeConfig.Builder setSubnetworkBytes(com.google.protobuf.ByteString value)
Optional. The Compute Engine subnetwork to be used for machine
communications, specified as a
[relative resource
name](/apis/design/resource_names#relative_resource_name). For example:
"projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}"
If a subnetwork is provided, `nodeConfig.network` must also be provided,
and the subnetwork must belong to the enclosing environment's project and
location.
string subnetwork = 4;value - The bytes for subnetwork to set.public int getDiskSizeGb()
Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
int32 disk_size_gb = 5;getDiskSizeGb in interface NodeConfigOrBuilderpublic NodeConfig.Builder setDiskSizeGb(int value)
Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
int32 disk_size_gb = 5;value - The diskSizeGb to set.public NodeConfig.Builder clearDiskSizeGb()
Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
int32 disk_size_gb = 5;public com.google.protobuf.ProtocolStringList getOauthScopesList()
Optional. The set of Google API scopes to be made available on all node VMs. If `oauth_scopes` is empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
repeated string oauth_scopes = 6;getOauthScopesList in interface NodeConfigOrBuilderpublic int getOauthScopesCount()
Optional. The set of Google API scopes to be made available on all node VMs. If `oauth_scopes` is empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
repeated string oauth_scopes = 6;getOauthScopesCount in interface NodeConfigOrBuilderpublic String getOauthScopes(int index)
Optional. The set of Google API scopes to be made available on all node VMs. If `oauth_scopes` is empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
repeated string oauth_scopes = 6;getOauthScopes in interface NodeConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getOauthScopesBytes(int index)
Optional. The set of Google API scopes to be made available on all node VMs. If `oauth_scopes` is empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
repeated string oauth_scopes = 6;getOauthScopesBytes in interface NodeConfigOrBuilderindex - The index of the value to return.public NodeConfig.Builder setOauthScopes(int index, String value)
Optional. The set of Google API scopes to be made available on all node VMs. If `oauth_scopes` is empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
repeated string oauth_scopes = 6;index - The index to set the value at.value - The oauthScopes to set.public NodeConfig.Builder addOauthScopes(String value)
Optional. The set of Google API scopes to be made available on all node VMs. If `oauth_scopes` is empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
repeated string oauth_scopes = 6;value - The oauthScopes to add.public NodeConfig.Builder addAllOauthScopes(Iterable<String> values)
Optional. The set of Google API scopes to be made available on all node VMs. If `oauth_scopes` is empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
repeated string oauth_scopes = 6;values - The oauthScopes to add.public NodeConfig.Builder clearOauthScopes()
Optional. The set of Google API scopes to be made available on all node VMs. If `oauth_scopes` is empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
repeated string oauth_scopes = 6;public NodeConfig.Builder addOauthScopesBytes(com.google.protobuf.ByteString value)
Optional. The set of Google API scopes to be made available on all node VMs. If `oauth_scopes` is empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
repeated string oauth_scopes = 6;value - The bytes of the oauthScopes to add.public String getServiceAccount()
Optional. The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated.
string service_account = 7;getServiceAccount in interface NodeConfigOrBuilderpublic com.google.protobuf.ByteString getServiceAccountBytes()
Optional. The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated.
string service_account = 7;getServiceAccountBytes in interface NodeConfigOrBuilderpublic NodeConfig.Builder setServiceAccount(String value)
Optional. The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated.
string service_account = 7;value - The serviceAccount to set.public NodeConfig.Builder clearServiceAccount()
Optional. The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated.
string service_account = 7;public NodeConfig.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
Optional. The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated.
string service_account = 7;value - The bytes for serviceAccount to set.public com.google.protobuf.ProtocolStringList getTagsList()
Optional. The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Cannot be updated.
repeated string tags = 8;getTagsList in interface NodeConfigOrBuilderpublic int getTagsCount()
Optional. The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Cannot be updated.
repeated string tags = 8;getTagsCount in interface NodeConfigOrBuilderpublic String getTags(int index)
Optional. The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Cannot be updated.
repeated string tags = 8;getTags in interface NodeConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTagsBytes(int index)
Optional. The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Cannot be updated.
repeated string tags = 8;getTagsBytes in interface NodeConfigOrBuilderindex - The index of the value to return.public NodeConfig.Builder setTags(int index, String value)
Optional. The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Cannot be updated.
repeated string tags = 8;index - The index to set the value at.value - The tags to set.public NodeConfig.Builder addTags(String value)
Optional. The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Cannot be updated.
repeated string tags = 8;value - The tags to add.public NodeConfig.Builder addAllTags(Iterable<String> values)
Optional. The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Cannot be updated.
repeated string tags = 8;values - The tags to add.public NodeConfig.Builder clearTags()
Optional. The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Cannot be updated.
repeated string tags = 8;public NodeConfig.Builder addTagsBytes(com.google.protobuf.ByteString value)
Optional. The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Cannot be updated.
repeated string tags = 8;value - The bytes of the tags to add.public boolean hasIpAllocationPolicy()
Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL];
hasIpAllocationPolicy in interface NodeConfigOrBuilderpublic IPAllocationPolicy getIpAllocationPolicy()
Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL];
getIpAllocationPolicy in interface NodeConfigOrBuilderpublic NodeConfig.Builder setIpAllocationPolicy(IPAllocationPolicy value)
Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL];
public NodeConfig.Builder setIpAllocationPolicy(IPAllocationPolicy.Builder builderForValue)
Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL];
public NodeConfig.Builder mergeIpAllocationPolicy(IPAllocationPolicy value)
Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL];
public NodeConfig.Builder clearIpAllocationPolicy()
Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL];
public IPAllocationPolicy.Builder getIpAllocationPolicyBuilder()
Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL];
public IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder()
Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy ip_allocation_policy = 9 [(.google.api.field_behavior) = OPTIONAL];
getIpAllocationPolicyOrBuilder in interface NodeConfigOrBuilderpublic boolean getEnableIpMasqAgent()
Optional. Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses, except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent
bool enable_ip_masq_agent = 11 [(.google.api.field_behavior) = OPTIONAL];getEnableIpMasqAgent in interface NodeConfigOrBuilderpublic NodeConfig.Builder setEnableIpMasqAgent(boolean value)
Optional. Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses, except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent
bool enable_ip_masq_agent = 11 [(.google.api.field_behavior) = OPTIONAL];value - The enableIpMasqAgent to set.public NodeConfig.Builder clearEnableIpMasqAgent()
Optional. Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses, except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent
bool enable_ip_masq_agent = 11 [(.google.api.field_behavior) = OPTIONAL];public String getComposerNetworkAttachment()
Optional. Network Attachment that Cloud Composer environment is connected
to, which provides connectivity with a user's VPC network. Takes precedence
over network and subnetwork settings. If not provided, but network and
subnetwork are defined during environment, it will be provisioned. If not
provided and network and subnetwork are also empty, then connectivity to
user's VPC network is disabled. Network attachment must be provided in
format
projects/{project}/regions/{region}/networkAttachments/{networkAttachment}.
This field is supported for Cloud Composer environments in versions
composer-3.*.*-airflow-*.*.* and newer.
string composer_network_attachment = 12 [(.google.api.field_behavior) = OPTIONAL];
getComposerNetworkAttachment in interface NodeConfigOrBuilderpublic com.google.protobuf.ByteString getComposerNetworkAttachmentBytes()
Optional. Network Attachment that Cloud Composer environment is connected
to, which provides connectivity with a user's VPC network. Takes precedence
over network and subnetwork settings. If not provided, but network and
subnetwork are defined during environment, it will be provisioned. If not
provided and network and subnetwork are also empty, then connectivity to
user's VPC network is disabled. Network attachment must be provided in
format
projects/{project}/regions/{region}/networkAttachments/{networkAttachment}.
This field is supported for Cloud Composer environments in versions
composer-3.*.*-airflow-*.*.* and newer.
string composer_network_attachment = 12 [(.google.api.field_behavior) = OPTIONAL];
getComposerNetworkAttachmentBytes in interface NodeConfigOrBuilderpublic NodeConfig.Builder setComposerNetworkAttachment(String value)
Optional. Network Attachment that Cloud Composer environment is connected
to, which provides connectivity with a user's VPC network. Takes precedence
over network and subnetwork settings. If not provided, but network and
subnetwork are defined during environment, it will be provisioned. If not
provided and network and subnetwork are also empty, then connectivity to
user's VPC network is disabled. Network attachment must be provided in
format
projects/{project}/regions/{region}/networkAttachments/{networkAttachment}.
This field is supported for Cloud Composer environments in versions
composer-3.*.*-airflow-*.*.* and newer.
string composer_network_attachment = 12 [(.google.api.field_behavior) = OPTIONAL];
value - The composerNetworkAttachment to set.public NodeConfig.Builder clearComposerNetworkAttachment()
Optional. Network Attachment that Cloud Composer environment is connected
to, which provides connectivity with a user's VPC network. Takes precedence
over network and subnetwork settings. If not provided, but network and
subnetwork are defined during environment, it will be provisioned. If not
provided and network and subnetwork are also empty, then connectivity to
user's VPC network is disabled. Network attachment must be provided in
format
projects/{project}/regions/{region}/networkAttachments/{networkAttachment}.
This field is supported for Cloud Composer environments in versions
composer-3.*.*-airflow-*.*.* and newer.
string composer_network_attachment = 12 [(.google.api.field_behavior) = OPTIONAL];
public NodeConfig.Builder setComposerNetworkAttachmentBytes(com.google.protobuf.ByteString value)
Optional. Network Attachment that Cloud Composer environment is connected
to, which provides connectivity with a user's VPC network. Takes precedence
over network and subnetwork settings. If not provided, but network and
subnetwork are defined during environment, it will be provisioned. If not
provided and network and subnetwork are also empty, then connectivity to
user's VPC network is disabled. Network attachment must be provided in
format
projects/{project}/regions/{region}/networkAttachments/{networkAttachment}.
This field is supported for Cloud Composer environments in versions
composer-3.*.*-airflow-*.*.* and newer.
string composer_network_attachment = 12 [(.google.api.field_behavior) = OPTIONAL];
value - The bytes for composerNetworkAttachment to set.public String getComposerInternalIpv4CidrBlock()
Optional. The IP range in CIDR notation to use internally by Cloud Composer. IP addresses are not reserved - and the same range can be used by multiple Cloud Composer environments. In case of overlap, IPs from this range will not be accessible in the user's VPC network. Cannot be updated. If not specified, the default value of '100.64.128.0/20' is used. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
string composer_internal_ipv4_cidr_block = 13 [(.google.api.field_behavior) = OPTIONAL];
getComposerInternalIpv4CidrBlock in interface NodeConfigOrBuilderpublic com.google.protobuf.ByteString getComposerInternalIpv4CidrBlockBytes()
Optional. The IP range in CIDR notation to use internally by Cloud Composer. IP addresses are not reserved - and the same range can be used by multiple Cloud Composer environments. In case of overlap, IPs from this range will not be accessible in the user's VPC network. Cannot be updated. If not specified, the default value of '100.64.128.0/20' is used. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
string composer_internal_ipv4_cidr_block = 13 [(.google.api.field_behavior) = OPTIONAL];
getComposerInternalIpv4CidrBlockBytes in interface NodeConfigOrBuilderpublic NodeConfig.Builder setComposerInternalIpv4CidrBlock(String value)
Optional. The IP range in CIDR notation to use internally by Cloud Composer. IP addresses are not reserved - and the same range can be used by multiple Cloud Composer environments. In case of overlap, IPs from this range will not be accessible in the user's VPC network. Cannot be updated. If not specified, the default value of '100.64.128.0/20' is used. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
string composer_internal_ipv4_cidr_block = 13 [(.google.api.field_behavior) = OPTIONAL];
value - The composerInternalIpv4CidrBlock to set.public NodeConfig.Builder clearComposerInternalIpv4CidrBlock()
Optional. The IP range in CIDR notation to use internally by Cloud Composer. IP addresses are not reserved - and the same range can be used by multiple Cloud Composer environments. In case of overlap, IPs from this range will not be accessible in the user's VPC network. Cannot be updated. If not specified, the default value of '100.64.128.0/20' is used. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
string composer_internal_ipv4_cidr_block = 13 [(.google.api.field_behavior) = OPTIONAL];
public NodeConfig.Builder setComposerInternalIpv4CidrBlockBytes(com.google.protobuf.ByteString value)
Optional. The IP range in CIDR notation to use internally by Cloud Composer. IP addresses are not reserved - and the same range can be used by multiple Cloud Composer environments. In case of overlap, IPs from this range will not be accessible in the user's VPC network. Cannot be updated. If not specified, the default value of '100.64.128.0/20' is used. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
string composer_internal_ipv4_cidr_block = 13 [(.google.api.field_behavior) = OPTIONAL];
value - The bytes for composerInternalIpv4CidrBlock to set.public final NodeConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>public final NodeConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NodeConfig.Builder>Copyright © 2024 Google LLC. All rights reserved.