Class EnvironmentConfig.Builder (1.4.0)

public static final class EnvironmentConfig.Builder extends GeneratedMessageV3.Builder<EnvironmentConfig.Builder> implements EnvironmentConfigOrBuilder

Configuration information for an environment.

Protobuf type google.cloud.orchestration.airflow.service.v1.EnvironmentConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EnvironmentConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EnvironmentConfig.Builder
Overrides

build()

public EnvironmentConfig build()
Returns
Type Description
EnvironmentConfig

buildPartial()

public EnvironmentConfig buildPartial()
Returns
Type Description
EnvironmentConfig

clear()

public EnvironmentConfig.Builder clear()
Returns
Type Description
EnvironmentConfig.Builder
Overrides

clearAirflowUri()

public EnvironmentConfig.Builder clearAirflowUri()

Output only. The URI of the Apache Airflow Web UI hosted within this environment (see Airflow web interface).

string airflow_uri = 6;

Returns
Type Description
EnvironmentConfig.Builder

This builder for chaining.

clearDagGcsPrefix()

public EnvironmentConfig.Builder clearDagGcsPrefix()

Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.

string dag_gcs_prefix = 2;

Returns
Type Description
EnvironmentConfig.Builder

This builder for chaining.

clearDatabaseConfig()

public EnvironmentConfig.Builder clearDatabaseConfig()

Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.

.google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EnvironmentConfig.Builder

clearEncryptionConfig()

public EnvironmentConfig.Builder clearEncryptionConfig()

Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated.

.google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EnvironmentConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public EnvironmentConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EnvironmentConfig.Builder
Overrides

clearGkeCluster()

public EnvironmentConfig.Builder clearGkeCluster()

Output only. The Kubernetes Engine cluster used to run this environment.

string gke_cluster = 1;

Returns
Type Description
EnvironmentConfig.Builder

This builder for chaining.

clearNodeConfig()

public EnvironmentConfig.Builder clearNodeConfig()

The configuration used for the Kubernetes Engine cluster.

.google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5;

Returns
Type Description
EnvironmentConfig.Builder

clearNodeCount()

public EnvironmentConfig.Builder clearNodeCount()

The number of nodes in the Kubernetes Engine cluster that will be used to run this environment.

int32 node_count = 3;

Returns
Type Description
EnvironmentConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EnvironmentConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EnvironmentConfig.Builder
Overrides

clearPrivateEnvironmentConfig()

public EnvironmentConfig.Builder clearPrivateEnvironmentConfig()

The configuration used for the Private IP Cloud Composer environment.

.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7;

Returns
Type Description
EnvironmentConfig.Builder

clearSoftwareConfig()

public EnvironmentConfig.Builder clearSoftwareConfig()

The configuration settings for software inside the environment.

.google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4;

Returns
Type Description
EnvironmentConfig.Builder

clearWebServerConfig()

public EnvironmentConfig.Builder clearWebServerConfig()

Optional. The configuration settings for the Airflow web server App Engine instance.

.google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EnvironmentConfig.Builder

clearWebServerNetworkAccessControl()

public EnvironmentConfig.Builder clearWebServerNetworkAccessControl()

Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied.

.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EnvironmentConfig.Builder

clone()

public EnvironmentConfig.Builder clone()
Returns
Type Description
EnvironmentConfig.Builder
Overrides

getAirflowUri()

public String getAirflowUri()

Output only. The URI of the Apache Airflow Web UI hosted within this environment (see Airflow web interface).

string airflow_uri = 6;

Returns
Type Description
String

The airflowUri.

getAirflowUriBytes()

public ByteString getAirflowUriBytes()

Output only. The URI of the Apache Airflow Web UI hosted within this environment (see Airflow web interface).

string airflow_uri = 6;

Returns
Type Description
ByteString

The bytes for airflowUri.

getDagGcsPrefix()

public String getDagGcsPrefix()

Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.

string dag_gcs_prefix = 2;

Returns
Type Description
String

The dagGcsPrefix.

getDagGcsPrefixBytes()

public ByteString getDagGcsPrefixBytes()

Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.

string dag_gcs_prefix = 2;

Returns
Type Description
ByteString

The bytes for dagGcsPrefix.

getDatabaseConfig()

public DatabaseConfig getDatabaseConfig()

Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.

.google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DatabaseConfig

The databaseConfig.

getDatabaseConfigBuilder()

public DatabaseConfig.Builder getDatabaseConfigBuilder()

Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.

.google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DatabaseConfig.Builder

getDatabaseConfigOrBuilder()

public DatabaseConfigOrBuilder getDatabaseConfigOrBuilder()

Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.

.google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DatabaseConfigOrBuilder

getDefaultInstanceForType()

public EnvironmentConfig getDefaultInstanceForType()
Returns
Type Description
EnvironmentConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEncryptionConfig()

public EncryptionConfig getEncryptionConfig()

Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated.

.google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EncryptionConfig

The encryptionConfig.

getEncryptionConfigBuilder()

public EncryptionConfig.Builder getEncryptionConfigBuilder()

Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated.

.google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EncryptionConfig.Builder

getEncryptionConfigOrBuilder()

public EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()

Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated.

.google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EncryptionConfigOrBuilder

getGkeCluster()

public String getGkeCluster()

Output only. The Kubernetes Engine cluster used to run this environment.

string gke_cluster = 1;

Returns
Type Description
String

The gkeCluster.

getGkeClusterBytes()

public ByteString getGkeClusterBytes()

Output only. The Kubernetes Engine cluster used to run this environment.

string gke_cluster = 1;

Returns
Type Description
ByteString

The bytes for gkeCluster.

getNodeConfig()

public NodeConfig getNodeConfig()

The configuration used for the Kubernetes Engine cluster.

.google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5;

Returns
Type Description
NodeConfig

The nodeConfig.

getNodeConfigBuilder()

public NodeConfig.Builder getNodeConfigBuilder()

The configuration used for the Kubernetes Engine cluster.

.google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5;

Returns
Type Description
NodeConfig.Builder

getNodeConfigOrBuilder()

public NodeConfigOrBuilder getNodeConfigOrBuilder()

The configuration used for the Kubernetes Engine cluster.

.google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5;

Returns
Type Description
NodeConfigOrBuilder

getNodeCount()

public int getNodeCount()

The number of nodes in the Kubernetes Engine cluster that will be used to run this environment.

int32 node_count = 3;

Returns
Type Description
int

The nodeCount.

getPrivateEnvironmentConfig()

public PrivateEnvironmentConfig getPrivateEnvironmentConfig()

The configuration used for the Private IP Cloud Composer environment.

.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7;

Returns
Type Description
PrivateEnvironmentConfig

The privateEnvironmentConfig.

getPrivateEnvironmentConfigBuilder()

public PrivateEnvironmentConfig.Builder getPrivateEnvironmentConfigBuilder()

The configuration used for the Private IP Cloud Composer environment.

.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7;

Returns
Type Description
PrivateEnvironmentConfig.Builder

getPrivateEnvironmentConfigOrBuilder()

public PrivateEnvironmentConfigOrBuilder getPrivateEnvironmentConfigOrBuilder()

The configuration used for the Private IP Cloud Composer environment.

.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7;

Returns
Type Description
PrivateEnvironmentConfigOrBuilder

getSoftwareConfig()

public SoftwareConfig getSoftwareConfig()

The configuration settings for software inside the environment.

.google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4;

Returns
Type Description
SoftwareConfig

The softwareConfig.

getSoftwareConfigBuilder()

public SoftwareConfig.Builder getSoftwareConfigBuilder()

The configuration settings for software inside the environment.

.google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4;

Returns
Type Description
SoftwareConfig.Builder

getSoftwareConfigOrBuilder()

public SoftwareConfigOrBuilder getSoftwareConfigOrBuilder()

The configuration settings for software inside the environment.

.google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4;

Returns
Type Description
SoftwareConfigOrBuilder

getWebServerConfig()

public WebServerConfig getWebServerConfig()

Optional. The configuration settings for the Airflow web server App Engine instance.

.google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WebServerConfig

The webServerConfig.

getWebServerConfigBuilder()

public WebServerConfig.Builder getWebServerConfigBuilder()

Optional. The configuration settings for the Airflow web server App Engine instance.

.google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WebServerConfig.Builder

getWebServerConfigOrBuilder()

public WebServerConfigOrBuilder getWebServerConfigOrBuilder()

Optional. The configuration settings for the Airflow web server App Engine instance.

.google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WebServerConfigOrBuilder

getWebServerNetworkAccessControl()

public WebServerNetworkAccessControl getWebServerNetworkAccessControl()

Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied.

.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WebServerNetworkAccessControl

The webServerNetworkAccessControl.

getWebServerNetworkAccessControlBuilder()

public WebServerNetworkAccessControl.Builder getWebServerNetworkAccessControlBuilder()

Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied.

.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WebServerNetworkAccessControl.Builder

getWebServerNetworkAccessControlOrBuilder()

public WebServerNetworkAccessControlOrBuilder getWebServerNetworkAccessControlOrBuilder()

Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied.

.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WebServerNetworkAccessControlOrBuilder

hasDatabaseConfig()

public boolean hasDatabaseConfig()

Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.

.google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the databaseConfig field is set.

hasEncryptionConfig()

public boolean hasEncryptionConfig()

Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated.

.google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the encryptionConfig field is set.

hasNodeConfig()

public boolean hasNodeConfig()

The configuration used for the Kubernetes Engine cluster.

.google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5;

Returns
Type Description
boolean

Whether the nodeConfig field is set.

hasPrivateEnvironmentConfig()

public boolean hasPrivateEnvironmentConfig()

The configuration used for the Private IP Cloud Composer environment.

.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7;

Returns
Type Description
boolean

Whether the privateEnvironmentConfig field is set.

hasSoftwareConfig()

public boolean hasSoftwareConfig()

The configuration settings for software inside the environment.

.google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4;

Returns
Type Description
boolean

Whether the softwareConfig field is set.

hasWebServerConfig()

public boolean hasWebServerConfig()

Optional. The configuration settings for the Airflow web server App Engine instance.

.google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the webServerConfig field is set.

hasWebServerNetworkAccessControl()

public boolean hasWebServerNetworkAccessControl()

Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied.

.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the webServerNetworkAccessControl field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDatabaseConfig(DatabaseConfig value)

public EnvironmentConfig.Builder mergeDatabaseConfig(DatabaseConfig value)

Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.

.google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DatabaseConfig
Returns
Type Description
EnvironmentConfig.Builder

mergeEncryptionConfig(EncryptionConfig value)

public EnvironmentConfig.Builder mergeEncryptionConfig(EncryptionConfig value)

Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated.

.google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EncryptionConfig
Returns
Type Description
EnvironmentConfig.Builder

mergeFrom(EnvironmentConfig other)

public EnvironmentConfig.Builder mergeFrom(EnvironmentConfig other)
Parameter
Name Description
other EnvironmentConfig
Returns
Type Description
EnvironmentConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EnvironmentConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnvironmentConfig.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public EnvironmentConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EnvironmentConfig.Builder
Overrides

mergeNodeConfig(NodeConfig value)

public EnvironmentConfig.Builder mergeNodeConfig(NodeConfig value)

The configuration used for the Kubernetes Engine cluster.

.google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5;

Parameter
Name Description
value NodeConfig
Returns
Type Description
EnvironmentConfig.Builder

mergePrivateEnvironmentConfig(PrivateEnvironmentConfig value)

public EnvironmentConfig.Builder mergePrivateEnvironmentConfig(PrivateEnvironmentConfig value)

The configuration used for the Private IP Cloud Composer environment.

.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7;

Parameter
Name Description
value PrivateEnvironmentConfig
Returns
Type Description
EnvironmentConfig.Builder

mergeSoftwareConfig(SoftwareConfig value)

public EnvironmentConfig.Builder mergeSoftwareConfig(SoftwareConfig value)

The configuration settings for software inside the environment.

.google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4;

Parameter
Name Description
value SoftwareConfig
Returns
Type Description
EnvironmentConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EnvironmentConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EnvironmentConfig.Builder
Overrides

mergeWebServerConfig(WebServerConfig value)

public EnvironmentConfig.Builder mergeWebServerConfig(WebServerConfig value)

Optional. The configuration settings for the Airflow web server App Engine instance.

.google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value WebServerConfig
Returns
Type Description
EnvironmentConfig.Builder

mergeWebServerNetworkAccessControl(WebServerNetworkAccessControl value)

public EnvironmentConfig.Builder mergeWebServerNetworkAccessControl(WebServerNetworkAccessControl value)

Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied.

.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value WebServerNetworkAccessControl
Returns
Type Description
EnvironmentConfig.Builder

setAirflowUri(String value)

public EnvironmentConfig.Builder setAirflowUri(String value)

Output only. The URI of the Apache Airflow Web UI hosted within this environment (see Airflow web interface).

string airflow_uri = 6;

Parameter
Name Description
value String

The airflowUri to set.

Returns
Type Description
EnvironmentConfig.Builder

This builder for chaining.

setAirflowUriBytes(ByteString value)

public EnvironmentConfig.Builder setAirflowUriBytes(ByteString value)

Output only. The URI of the Apache Airflow Web UI hosted within this environment (see Airflow web interface).

string airflow_uri = 6;

Parameter
Name Description
value ByteString

The bytes for airflowUri to set.

Returns
Type Description
EnvironmentConfig.Builder

This builder for chaining.

setDagGcsPrefix(String value)

public EnvironmentConfig.Builder setDagGcsPrefix(String value)

Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.

string dag_gcs_prefix = 2;

Parameter
Name Description
value String

The dagGcsPrefix to set.

Returns
Type Description
EnvironmentConfig.Builder

This builder for chaining.

setDagGcsPrefixBytes(ByteString value)

public EnvironmentConfig.Builder setDagGcsPrefixBytes(ByteString value)

Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.

string dag_gcs_prefix = 2;

Parameter
Name Description
value ByteString

The bytes for dagGcsPrefix to set.

Returns
Type Description
EnvironmentConfig.Builder

This builder for chaining.

setDatabaseConfig(DatabaseConfig value)

public EnvironmentConfig.Builder setDatabaseConfig(DatabaseConfig value)

Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.

.google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DatabaseConfig
Returns
Type Description
EnvironmentConfig.Builder

setDatabaseConfig(DatabaseConfig.Builder builderForValue)

public EnvironmentConfig.Builder setDatabaseConfig(DatabaseConfig.Builder builderForValue)

Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.

.google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DatabaseConfig.Builder
Returns
Type Description
EnvironmentConfig.Builder

setEncryptionConfig(EncryptionConfig value)

public EnvironmentConfig.Builder setEncryptionConfig(EncryptionConfig value)

Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated.

.google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EncryptionConfig
Returns
Type Description
EnvironmentConfig.Builder

setEncryptionConfig(EncryptionConfig.Builder builderForValue)

public EnvironmentConfig.Builder setEncryptionConfig(EncryptionConfig.Builder builderForValue)

Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated.

.google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue EncryptionConfig.Builder
Returns
Type Description
EnvironmentConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EnvironmentConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EnvironmentConfig.Builder
Overrides

setGkeCluster(String value)

public EnvironmentConfig.Builder setGkeCluster(String value)

Output only. The Kubernetes Engine cluster used to run this environment.

string gke_cluster = 1;

Parameter
Name Description
value String

The gkeCluster to set.

Returns
Type Description
EnvironmentConfig.Builder

This builder for chaining.

setGkeClusterBytes(ByteString value)

public EnvironmentConfig.Builder setGkeClusterBytes(ByteString value)

Output only. The Kubernetes Engine cluster used to run this environment.

string gke_cluster = 1;

Parameter
Name Description
value ByteString

The bytes for gkeCluster to set.

Returns
Type Description
EnvironmentConfig.Builder

This builder for chaining.

setNodeConfig(NodeConfig value)

public EnvironmentConfig.Builder setNodeConfig(NodeConfig value)

The configuration used for the Kubernetes Engine cluster.

.google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5;

Parameter
Name Description
value NodeConfig
Returns
Type Description
EnvironmentConfig.Builder

setNodeConfig(NodeConfig.Builder builderForValue)

public EnvironmentConfig.Builder setNodeConfig(NodeConfig.Builder builderForValue)

The configuration used for the Kubernetes Engine cluster.

.google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5;

Parameter
Name Description
builderForValue NodeConfig.Builder
Returns
Type Description
EnvironmentConfig.Builder

setNodeCount(int value)

public EnvironmentConfig.Builder setNodeCount(int value)

The number of nodes in the Kubernetes Engine cluster that will be used to run this environment.

int32 node_count = 3;

Parameter
Name Description
value int

The nodeCount to set.

Returns
Type Description
EnvironmentConfig.Builder

This builder for chaining.

setPrivateEnvironmentConfig(PrivateEnvironmentConfig value)

public EnvironmentConfig.Builder setPrivateEnvironmentConfig(PrivateEnvironmentConfig value)

The configuration used for the Private IP Cloud Composer environment.

.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7;

Parameter
Name Description
value PrivateEnvironmentConfig
Returns
Type Description
EnvironmentConfig.Builder

setPrivateEnvironmentConfig(PrivateEnvironmentConfig.Builder builderForValue)

public EnvironmentConfig.Builder setPrivateEnvironmentConfig(PrivateEnvironmentConfig.Builder builderForValue)

The configuration used for the Private IP Cloud Composer environment.

.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7;

Parameter
Name Description
builderForValue PrivateEnvironmentConfig.Builder
Returns
Type Description
EnvironmentConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EnvironmentConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EnvironmentConfig.Builder
Overrides

setSoftwareConfig(SoftwareConfig value)

public EnvironmentConfig.Builder setSoftwareConfig(SoftwareConfig value)

The configuration settings for software inside the environment.

.google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4;

Parameter
Name Description
value SoftwareConfig
Returns
Type Description
EnvironmentConfig.Builder

setSoftwareConfig(SoftwareConfig.Builder builderForValue)

public EnvironmentConfig.Builder setSoftwareConfig(SoftwareConfig.Builder builderForValue)

The configuration settings for software inside the environment.

.google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4;

Parameter
Name Description
builderForValue SoftwareConfig.Builder
Returns
Type Description
EnvironmentConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final EnvironmentConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EnvironmentConfig.Builder
Overrides

setWebServerConfig(WebServerConfig value)

public EnvironmentConfig.Builder setWebServerConfig(WebServerConfig value)

Optional. The configuration settings for the Airflow web server App Engine instance.

.google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value WebServerConfig
Returns
Type Description
EnvironmentConfig.Builder

setWebServerConfig(WebServerConfig.Builder builderForValue)

public EnvironmentConfig.Builder setWebServerConfig(WebServerConfig.Builder builderForValue)

Optional. The configuration settings for the Airflow web server App Engine instance.

.google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue WebServerConfig.Builder
Returns
Type Description
EnvironmentConfig.Builder

setWebServerNetworkAccessControl(WebServerNetworkAccessControl value)

public EnvironmentConfig.Builder setWebServerNetworkAccessControl(WebServerNetworkAccessControl value)

Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied.

.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value WebServerNetworkAccessControl
Returns
Type Description
EnvironmentConfig.Builder

setWebServerNetworkAccessControl(WebServerNetworkAccessControl.Builder builderForValue)

public EnvironmentConfig.Builder setWebServerNetworkAccessControl(WebServerNetworkAccessControl.Builder builderForValue)

Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied.

.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue WebServerNetworkAccessControl.Builder
Returns
Type Description
EnvironmentConfig.Builder