Class EnvironmentConfig.Builder (1.41.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.v1beta1.EnvironmentConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EnvironmentConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides

build()

public EnvironmentConfig build()
Returns
TypeDescription
EnvironmentConfig

buildPartial()

public EnvironmentConfig buildPartial()
Returns
TypeDescription
EnvironmentConfig

clear()

public EnvironmentConfig.Builder clear()
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides

clearAirflowByoidUri()

public EnvironmentConfig.Builder clearAirflowByoidUri()

Output only. The 'bring your own identity' variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see Access environments with workforce identity federation).

string airflow_byoid_uri = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
EnvironmentConfig.Builder

This builder for chaining.

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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
EnvironmentConfig.Builder

This builder for chaining.

clearDataRetentionConfig()

public EnvironmentConfig.Builder clearDataRetentionConfig()

Optional. The configuration setting for Airflow database data retention mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig data_retention_config = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EnvironmentConfig.Builder

clearDatabaseConfig()

public EnvironmentConfig.Builder clearDatabaseConfig()

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

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

Returns
TypeDescription
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.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EnvironmentConfig.Builder

clearEnvironmentSize()

public EnvironmentConfig.Builder clearEnvironmentSize()

Optional. The size of the Cloud Composer environment.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EnvironmentConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EnvironmentConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides

clearGkeCluster()

public EnvironmentConfig.Builder clearGkeCluster()

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

string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
EnvironmentConfig.Builder

This builder for chaining.

clearMaintenanceWindow()

public EnvironmentConfig.Builder clearMaintenanceWindow()

Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods.

The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window.

The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours.

If this value is omitted, Cloud Composer components may be subject to maintenance at any time.

.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EnvironmentConfig.Builder

clearMasterAuthorizedNetworksConfig()

public EnvironmentConfig.Builder clearMasterAuthorizedNetworksConfig()

Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is:

  • in case of private environment: enabled with no external networks allowlisted.
  • in case of public environment: disabled.

.google.cloud.orchestration.airflow.service.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EnvironmentConfig.Builder

clearNodeConfig()

public EnvironmentConfig.Builder clearNodeConfig()

The configuration used for the Kubernetes Engine cluster.

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

Returns
TypeDescription
EnvironmentConfig.Builder

clearNodeCount()

public EnvironmentConfig.Builder clearNodeCount()

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

This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

int32 node_count = 3;

Returns
TypeDescription
EnvironmentConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EnvironmentConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides

clearPrivateEnvironmentConfig()

public EnvironmentConfig.Builder clearPrivateEnvironmentConfig()

The configuration used for the Private IP Cloud Composer environment.

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

Returns
TypeDescription
EnvironmentConfig.Builder

clearRecoveryConfig()

public EnvironmentConfig.Builder clearRecoveryConfig()

Optional. The Recovery settings configuration of an environment.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.RecoveryConfig recovery_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EnvironmentConfig.Builder

clearResilienceMode()

public EnvironmentConfig.Builder clearResilienceMode()

Optional. Resilience mode of the Cloud Composer Environment.

This field is supported for Cloud Composer environments in versions composer-2.2.0-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.ResilienceMode resilience_mode = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EnvironmentConfig.Builder

This builder for chaining.

clearSoftwareConfig()

public EnvironmentConfig.Builder clearSoftwareConfig()

The configuration settings for software inside the environment.

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

Returns
TypeDescription
EnvironmentConfig.Builder

clearWebServerConfig()

public EnvironmentConfig.Builder clearWebServerConfig()

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

This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

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

Returns
TypeDescription
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.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EnvironmentConfig.Builder

clearWorkloadsConfig()

public EnvironmentConfig.Builder clearWorkloadsConfig()

Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers workloads.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EnvironmentConfig.Builder

clone()

public EnvironmentConfig.Builder clone()
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides

getAirflowByoidUri()

public String getAirflowByoidUri()

Output only. The 'bring your own identity' variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see Access environments with workforce identity federation).

string airflow_byoid_uri = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The airflowByoidUri.

getAirflowByoidUriBytes()

public ByteString getAirflowByoidUriBytes()

Output only. The 'bring your own identity' variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see Access environments with workforce identity federation).

string airflow_byoid_uri = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for airflowByoidUri.

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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for dagGcsPrefix.

getDataRetentionConfig()

public DataRetentionConfig getDataRetentionConfig()

Optional. The configuration setting for Airflow database data retention mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig data_retention_config = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
DataRetentionConfig

The dataRetentionConfig.

getDataRetentionConfigBuilder()

public DataRetentionConfig.Builder getDataRetentionConfigBuilder()

Optional. The configuration setting for Airflow database data retention mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig data_retention_config = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
DataRetentionConfig.Builder

getDataRetentionConfigOrBuilder()

public DataRetentionConfigOrBuilder getDataRetentionConfigOrBuilder()

Optional. The configuration setting for Airflow database data retention mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig data_retention_config = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
DataRetentionConfigOrBuilder

getDatabaseConfig()

public DatabaseConfig getDatabaseConfig()

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

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

Returns
TypeDescription
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.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
DatabaseConfigOrBuilder

getDefaultInstanceForType()

public EnvironmentConfig getDefaultInstanceForType()
Returns
TypeDescription
EnvironmentConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EncryptionConfigOrBuilder

getEnvironmentSize()

public EnvironmentConfig.EnvironmentSize getEnvironmentSize()

Optional. The size of the Cloud Composer environment.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EnvironmentConfig.EnvironmentSize

The environmentSize.

getEnvironmentSizeValue()

public int getEnvironmentSizeValue()

Optional. The size of the Cloud Composer environment.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for environmentSize.

getGkeCluster()

public String getGkeCluster()

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

string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The gkeCluster.

getGkeClusterBytes()

public ByteString getGkeClusterBytes()

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

string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for gkeCluster.

getMaintenanceWindow()

public MaintenanceWindow getMaintenanceWindow()

Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods.

The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window.

The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours.

If this value is omitted, Cloud Composer components may be subject to maintenance at any time.

.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
MaintenanceWindow

The maintenanceWindow.

getMaintenanceWindowBuilder()

public MaintenanceWindow.Builder getMaintenanceWindowBuilder()

Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods.

The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window.

The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours.

If this value is omitted, Cloud Composer components may be subject to maintenance at any time.

.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
MaintenanceWindow.Builder

getMaintenanceWindowOrBuilder()

public MaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder()

Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods.

The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window.

The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours.

If this value is omitted, Cloud Composer components may be subject to maintenance at any time.

.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
MaintenanceWindowOrBuilder

getMasterAuthorizedNetworksConfig()

public MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig()

Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is:

  • in case of private environment: enabled with no external networks allowlisted.
  • in case of public environment: disabled.

.google.cloud.orchestration.airflow.service.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
MasterAuthorizedNetworksConfig

The masterAuthorizedNetworksConfig.

getMasterAuthorizedNetworksConfigBuilder()

public MasterAuthorizedNetworksConfig.Builder getMasterAuthorizedNetworksConfigBuilder()

Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is:

  • in case of private environment: enabled with no external networks allowlisted.
  • in case of public environment: disabled.

.google.cloud.orchestration.airflow.service.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
MasterAuthorizedNetworksConfig.Builder

getMasterAuthorizedNetworksConfigOrBuilder()

public MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder()

Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is:

  • in case of private environment: enabled with no external networks allowlisted.
  • in case of public environment: disabled.

.google.cloud.orchestration.airflow.service.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
MasterAuthorizedNetworksConfigOrBuilder

getNodeConfig()

public NodeConfig getNodeConfig()

The configuration used for the Kubernetes Engine cluster.

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

Returns
TypeDescription
NodeConfig

The nodeConfig.

getNodeConfigBuilder()

public NodeConfig.Builder getNodeConfigBuilder()

The configuration used for the Kubernetes Engine cluster.

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

Returns
TypeDescription
NodeConfig.Builder

getNodeConfigOrBuilder()

public NodeConfigOrBuilder getNodeConfigOrBuilder()

The configuration used for the Kubernetes Engine cluster.

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

Returns
TypeDescription
NodeConfigOrBuilder

getNodeCount()

public int getNodeCount()

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

This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

int32 node_count = 3;

Returns
TypeDescription
int

The nodeCount.

getPrivateEnvironmentConfig()

public PrivateEnvironmentConfig getPrivateEnvironmentConfig()

The configuration used for the Private IP Cloud Composer environment.

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

Returns
TypeDescription
PrivateEnvironmentConfig

The privateEnvironmentConfig.

getPrivateEnvironmentConfigBuilder()

public PrivateEnvironmentConfig.Builder getPrivateEnvironmentConfigBuilder()

The configuration used for the Private IP Cloud Composer environment.

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

Returns
TypeDescription
PrivateEnvironmentConfig.Builder

getPrivateEnvironmentConfigOrBuilder()

public PrivateEnvironmentConfigOrBuilder getPrivateEnvironmentConfigOrBuilder()

The configuration used for the Private IP Cloud Composer environment.

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

Returns
TypeDescription
PrivateEnvironmentConfigOrBuilder

getRecoveryConfig()

public RecoveryConfig getRecoveryConfig()

Optional. The Recovery settings configuration of an environment.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.RecoveryConfig recovery_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
RecoveryConfig

The recoveryConfig.

getRecoveryConfigBuilder()

public RecoveryConfig.Builder getRecoveryConfigBuilder()

Optional. The Recovery settings configuration of an environment.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.RecoveryConfig recovery_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
RecoveryConfig.Builder

getRecoveryConfigOrBuilder()

public RecoveryConfigOrBuilder getRecoveryConfigOrBuilder()

Optional. The Recovery settings configuration of an environment.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.RecoveryConfig recovery_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
RecoveryConfigOrBuilder

getResilienceMode()

public EnvironmentConfig.ResilienceMode getResilienceMode()

Optional. Resilience mode of the Cloud Composer Environment.

This field is supported for Cloud Composer environments in versions composer-2.2.0-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.ResilienceMode resilience_mode = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EnvironmentConfig.ResilienceMode

The resilienceMode.

getResilienceModeValue()

public int getResilienceModeValue()

Optional. Resilience mode of the Cloud Composer Environment.

This field is supported for Cloud Composer environments in versions composer-2.2.0-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.ResilienceMode resilience_mode = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for resilienceMode.

getSoftwareConfig()

public SoftwareConfig getSoftwareConfig()

The configuration settings for software inside the environment.

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

Returns
TypeDescription
SoftwareConfig

The softwareConfig.

getSoftwareConfigBuilder()

public SoftwareConfig.Builder getSoftwareConfigBuilder()

The configuration settings for software inside the environment.

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

Returns
TypeDescription
SoftwareConfig.Builder

getSoftwareConfigOrBuilder()

public SoftwareConfigOrBuilder getSoftwareConfigOrBuilder()

The configuration settings for software inside the environment.

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

Returns
TypeDescription
SoftwareConfigOrBuilder

getWebServerConfig()

public WebServerConfig getWebServerConfig()

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

This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

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

Returns
TypeDescription
WebServerConfig

The webServerConfig.

getWebServerConfigBuilder()

public WebServerConfig.Builder getWebServerConfigBuilder()

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

This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

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

Returns
TypeDescription
WebServerConfig.Builder

getWebServerConfigOrBuilder()

public WebServerConfigOrBuilder getWebServerConfigOrBuilder()

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

This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

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

Returns
TypeDescription
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.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
WebServerNetworkAccessControlOrBuilder

getWorkloadsConfig()

public WorkloadsConfig getWorkloadsConfig()

Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers workloads.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
WorkloadsConfig

The workloadsConfig.

getWorkloadsConfigBuilder()

public WorkloadsConfig.Builder getWorkloadsConfigBuilder()

Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers workloads.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
WorkloadsConfig.Builder

getWorkloadsConfigOrBuilder()

public WorkloadsConfigOrBuilder getWorkloadsConfigOrBuilder()

Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers workloads.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
WorkloadsConfigOrBuilder

hasDataRetentionConfig()

public boolean hasDataRetentionConfig()

Optional. The configuration setting for Airflow database data retention mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig data_retention_config = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the dataRetentionConfig field is set.

hasDatabaseConfig()

public boolean hasDatabaseConfig()

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

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

Returns
TypeDescription
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.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the encryptionConfig field is set.

hasMaintenanceWindow()

public boolean hasMaintenanceWindow()

Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods.

The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window.

The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours.

If this value is omitted, Cloud Composer components may be subject to maintenance at any time.

.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the maintenanceWindow field is set.

hasMasterAuthorizedNetworksConfig()

public boolean hasMasterAuthorizedNetworksConfig()

Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is:

  • in case of private environment: enabled with no external networks allowlisted.
  • in case of public environment: disabled.

.google.cloud.orchestration.airflow.service.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the masterAuthorizedNetworksConfig field is set.

hasNodeConfig()

public boolean hasNodeConfig()

The configuration used for the Kubernetes Engine cluster.

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

Returns
TypeDescription
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.v1beta1.PrivateEnvironmentConfig private_environment_config = 7;

Returns
TypeDescription
boolean

Whether the privateEnvironmentConfig field is set.

hasRecoveryConfig()

public boolean hasRecoveryConfig()

Optional. The Recovery settings configuration of an environment.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.RecoveryConfig recovery_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the recoveryConfig field is set.

hasSoftwareConfig()

public boolean hasSoftwareConfig()

The configuration settings for software inside the environment.

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

Returns
TypeDescription
boolean

Whether the softwareConfig field is set.

hasWebServerConfig()

public boolean hasWebServerConfig()

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

This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

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

Returns
TypeDescription
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.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the webServerNetworkAccessControl field is set.

hasWorkloadsConfig()

public boolean hasWorkloadsConfig()

Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers workloads.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the workloadsConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDataRetentionConfig(DataRetentionConfig value)

public EnvironmentConfig.Builder mergeDataRetentionConfig(DataRetentionConfig value)

Optional. The configuration setting for Airflow database data retention mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig data_retention_config = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueDataRetentionConfig
Returns
TypeDescription
EnvironmentConfig.Builder

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.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueDatabaseConfig
Returns
TypeDescription
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.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueEncryptionConfig
Returns
TypeDescription
EnvironmentConfig.Builder

mergeFrom(EnvironmentConfig other)

public EnvironmentConfig.Builder mergeFrom(EnvironmentConfig other)
Parameter
NameDescription
otherEnvironmentConfig
Returns
TypeDescription
EnvironmentConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EnvironmentConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EnvironmentConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides

mergeMaintenanceWindow(MaintenanceWindow value)

public EnvironmentConfig.Builder mergeMaintenanceWindow(MaintenanceWindow value)

Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods.

The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window.

The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours.

If this value is omitted, Cloud Composer components may be subject to maintenance at any time.

.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueMaintenanceWindow
Returns
TypeDescription
EnvironmentConfig.Builder

mergeMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)

public EnvironmentConfig.Builder mergeMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)

Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is:

  • in case of private environment: enabled with no external networks allowlisted.
  • in case of public environment: disabled.

.google.cloud.orchestration.airflow.service.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueMasterAuthorizedNetworksConfig
Returns
TypeDescription
EnvironmentConfig.Builder

mergeNodeConfig(NodeConfig value)

public EnvironmentConfig.Builder mergeNodeConfig(NodeConfig value)

The configuration used for the Kubernetes Engine cluster.

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

Parameter
NameDescription
valueNodeConfig
Returns
TypeDescription
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.v1beta1.PrivateEnvironmentConfig private_environment_config = 7;

Parameter
NameDescription
valuePrivateEnvironmentConfig
Returns
TypeDescription
EnvironmentConfig.Builder

mergeRecoveryConfig(RecoveryConfig value)

public EnvironmentConfig.Builder mergeRecoveryConfig(RecoveryConfig value)

Optional. The Recovery settings configuration of an environment.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.RecoveryConfig recovery_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueRecoveryConfig
Returns
TypeDescription
EnvironmentConfig.Builder

mergeSoftwareConfig(SoftwareConfig value)

public EnvironmentConfig.Builder mergeSoftwareConfig(SoftwareConfig value)

The configuration settings for software inside the environment.

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

Parameter
NameDescription
valueSoftwareConfig
Returns
TypeDescription
EnvironmentConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EnvironmentConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides

mergeWebServerConfig(WebServerConfig value)

public EnvironmentConfig.Builder mergeWebServerConfig(WebServerConfig value)

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

This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

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

Parameter
NameDescription
valueWebServerConfig
Returns
TypeDescription
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.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueWebServerNetworkAccessControl
Returns
TypeDescription
EnvironmentConfig.Builder

mergeWorkloadsConfig(WorkloadsConfig value)

public EnvironmentConfig.Builder mergeWorkloadsConfig(WorkloadsConfig value)

Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers workloads.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueWorkloadsConfig
Returns
TypeDescription
EnvironmentConfig.Builder

setAirflowByoidUri(String value)

public EnvironmentConfig.Builder setAirflowByoidUri(String value)

Output only. The 'bring your own identity' variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see Access environments with workforce identity federation).

string airflow_byoid_uri = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The airflowByoidUri to set.

Returns
TypeDescription
EnvironmentConfig.Builder

This builder for chaining.

setAirflowByoidUriBytes(ByteString value)

public EnvironmentConfig.Builder setAirflowByoidUriBytes(ByteString value)

Output only. The 'bring your own identity' variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see Access environments with workforce identity federation).

string airflow_byoid_uri = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for airflowByoidUri to set.

Returns
TypeDescription
EnvironmentConfig.Builder

This builder for chaining.

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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The airflowUri to set.

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for airflowUri to set.

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The dagGcsPrefix to set.

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for dagGcsPrefix to set.

Returns
TypeDescription
EnvironmentConfig.Builder

This builder for chaining.

setDataRetentionConfig(DataRetentionConfig value)

public EnvironmentConfig.Builder setDataRetentionConfig(DataRetentionConfig value)

Optional. The configuration setting for Airflow database data retention mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig data_retention_config = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueDataRetentionConfig
Returns
TypeDescription
EnvironmentConfig.Builder

setDataRetentionConfig(DataRetentionConfig.Builder builderForValue)

public EnvironmentConfig.Builder setDataRetentionConfig(DataRetentionConfig.Builder builderForValue)

Optional. The configuration setting for Airflow database data retention mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig data_retention_config = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueDataRetentionConfig.Builder
Returns
TypeDescription
EnvironmentConfig.Builder

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.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueDatabaseConfig
Returns
TypeDescription
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.v1beta1.DatabaseConfig database_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueDatabaseConfig.Builder
Returns
TypeDescription
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.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueEncryptionConfig
Returns
TypeDescription
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.v1beta1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueEncryptionConfig.Builder
Returns
TypeDescription
EnvironmentConfig.Builder

setEnvironmentSize(EnvironmentConfig.EnvironmentSize value)

public EnvironmentConfig.Builder setEnvironmentSize(EnvironmentConfig.EnvironmentSize value)

Optional. The size of the Cloud Composer environment.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueEnvironmentConfig.EnvironmentSize

The environmentSize to set.

Returns
TypeDescription
EnvironmentConfig.Builder

This builder for chaining.

setEnvironmentSizeValue(int value)

public EnvironmentConfig.Builder setEnvironmentSizeValue(int value)

Optional. The size of the Cloud Composer environment.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The enum numeric value on the wire for environmentSize to set.

Returns
TypeDescription
EnvironmentConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EnvironmentConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The gkeCluster to set.

Returns
TypeDescription
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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for gkeCluster to set.

Returns
TypeDescription
EnvironmentConfig.Builder

This builder for chaining.

setMaintenanceWindow(MaintenanceWindow value)

public EnvironmentConfig.Builder setMaintenanceWindow(MaintenanceWindow value)

Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods.

The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window.

The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours.

If this value is omitted, Cloud Composer components may be subject to maintenance at any time.

.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueMaintenanceWindow
Returns
TypeDescription
EnvironmentConfig.Builder

setMaintenanceWindow(MaintenanceWindow.Builder builderForValue)

public EnvironmentConfig.Builder setMaintenanceWindow(MaintenanceWindow.Builder builderForValue)

Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods.

The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window.

The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours.

If this value is omitted, Cloud Composer components may be subject to maintenance at any time.

.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueMaintenanceWindow.Builder
Returns
TypeDescription
EnvironmentConfig.Builder

setMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)

public EnvironmentConfig.Builder setMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)

Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is:

  • in case of private environment: enabled with no external networks allowlisted.
  • in case of public environment: disabled.

.google.cloud.orchestration.airflow.service.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueMasterAuthorizedNetworksConfig
Returns
TypeDescription
EnvironmentConfig.Builder

setMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig.Builder builderForValue)

public EnvironmentConfig.Builder setMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig.Builder builderForValue)

Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is:

  • in case of private environment: enabled with no external networks allowlisted.
  • in case of public environment: disabled.

.google.cloud.orchestration.airflow.service.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueMasterAuthorizedNetworksConfig.Builder
Returns
TypeDescription
EnvironmentConfig.Builder

setNodeConfig(NodeConfig value)

public EnvironmentConfig.Builder setNodeConfig(NodeConfig value)

The configuration used for the Kubernetes Engine cluster.

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

Parameter
NameDescription
valueNodeConfig
Returns
TypeDescription
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.v1beta1.NodeConfig node_config = 5;

Parameter
NameDescription
builderForValueNodeConfig.Builder
Returns
TypeDescription
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.

This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

int32 node_count = 3;

Parameter
NameDescription
valueint

The nodeCount to set.

Returns
TypeDescription
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.v1beta1.PrivateEnvironmentConfig private_environment_config = 7;

Parameter
NameDescription
valuePrivateEnvironmentConfig
Returns
TypeDescription
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.v1beta1.PrivateEnvironmentConfig private_environment_config = 7;

Parameter
NameDescription
builderForValuePrivateEnvironmentConfig.Builder
Returns
TypeDescription
EnvironmentConfig.Builder

setRecoveryConfig(RecoveryConfig value)

public EnvironmentConfig.Builder setRecoveryConfig(RecoveryConfig value)

Optional. The Recovery settings configuration of an environment.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.RecoveryConfig recovery_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueRecoveryConfig
Returns
TypeDescription
EnvironmentConfig.Builder

setRecoveryConfig(RecoveryConfig.Builder builderForValue)

public EnvironmentConfig.Builder setRecoveryConfig(RecoveryConfig.Builder builderForValue)

Optional. The Recovery settings configuration of an environment.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.RecoveryConfig recovery_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueRecoveryConfig.Builder
Returns
TypeDescription
EnvironmentConfig.Builder

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

public EnvironmentConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides

setResilienceMode(EnvironmentConfig.ResilienceMode value)

public EnvironmentConfig.Builder setResilienceMode(EnvironmentConfig.ResilienceMode value)

Optional. Resilience mode of the Cloud Composer Environment.

This field is supported for Cloud Composer environments in versions composer-2.2.0-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.ResilienceMode resilience_mode = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueEnvironmentConfig.ResilienceMode

The resilienceMode to set.

Returns
TypeDescription
EnvironmentConfig.Builder

This builder for chaining.

setResilienceModeValue(int value)

public EnvironmentConfig.Builder setResilienceModeValue(int value)

Optional. Resilience mode of the Cloud Composer Environment.

This field is supported for Cloud Composer environments in versions composer-2.2.0-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig.ResilienceMode resilience_mode = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The enum numeric value on the wire for resilienceMode to set.

Returns
TypeDescription
EnvironmentConfig.Builder

This builder for chaining.

setSoftwareConfig(SoftwareConfig value)

public EnvironmentConfig.Builder setSoftwareConfig(SoftwareConfig value)

The configuration settings for software inside the environment.

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

Parameter
NameDescription
valueSoftwareConfig
Returns
TypeDescription
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.v1beta1.SoftwareConfig software_config = 4;

Parameter
NameDescription
builderForValueSoftwareConfig.Builder
Returns
TypeDescription
EnvironmentConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final EnvironmentConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EnvironmentConfig.Builder
Overrides

setWebServerConfig(WebServerConfig value)

public EnvironmentConfig.Builder setWebServerConfig(WebServerConfig value)

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

This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

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

Parameter
NameDescription
valueWebServerConfig
Returns
TypeDescription
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.

This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

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

Parameter
NameDescription
builderForValueWebServerConfig.Builder
Returns
TypeDescription
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.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueWebServerNetworkAccessControl
Returns
TypeDescription
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.v1beta1.WebServerNetworkAccessControl web_server_network_access_control = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueWebServerNetworkAccessControl.Builder
Returns
TypeDescription
EnvironmentConfig.Builder

setWorkloadsConfig(WorkloadsConfig value)

public EnvironmentConfig.Builder setWorkloadsConfig(WorkloadsConfig value)

Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers workloads.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueWorkloadsConfig
Returns
TypeDescription
EnvironmentConfig.Builder

setWorkloadsConfig(WorkloadsConfig.Builder builderForValue)

public EnvironmentConfig.Builder setWorkloadsConfig(WorkloadsConfig.Builder builderForValue)

Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers workloads.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

.google.cloud.orchestration.airflow.service.v1beta1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueWorkloadsConfig.Builder
Returns
TypeDescription
EnvironmentConfig.Builder