Class EnvironmentConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig
- All Implemented Interfaces:
EnvironmentConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class EnvironmentConfig
extends com.google.protobuf.GeneratedMessage
implements EnvironmentConfigOrBuilder
Configuration information for an environment.Protobuf type
google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfiguration information for an environment.static enumThe size of the Cloud Composer environment.static enumResilience mode of the Cloud Composer Environment.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Optional.Optional.Optional.Optional.static EnvironmentConfigstatic final com.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.intOptional.Output only.com.google.protobuf.ByteStringOutput only.Optional.Optional.Optional.Optional.Optional.Optional.intThe number of nodes in the Kubernetes Engine cluster that will be used to run this environment.com.google.protobuf.Parser<EnvironmentConfig>Optional.Optional.Optional.Optional.Optional.intOptional.intOptional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.inthashCode()booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic EnvironmentConfig.Builderstatic EnvironmentConfig.BuildernewBuilder(EnvironmentConfig prototype) protected EnvironmentConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static EnvironmentConfigparseDelimitedFrom(InputStream input) static EnvironmentConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnvironmentConfigparseFrom(byte[] data) static EnvironmentConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnvironmentConfigparseFrom(com.google.protobuf.ByteString data) static EnvironmentConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnvironmentConfigparseFrom(com.google.protobuf.CodedInputStream input) static EnvironmentConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnvironmentConfigparseFrom(InputStream input) static EnvironmentConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnvironmentConfigparseFrom(ByteBuffer data) static EnvironmentConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EnvironmentConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
GKE_CLUSTER_FIELD_NUMBER
public static final int GKE_CLUSTER_FIELD_NUMBER- See Also:
-
DAG_GCS_PREFIX_FIELD_NUMBER
public static final int DAG_GCS_PREFIX_FIELD_NUMBER- See Also:
-
NODE_COUNT_FIELD_NUMBER
public static final int NODE_COUNT_FIELD_NUMBER- See Also:
-
SOFTWARE_CONFIG_FIELD_NUMBER
public static final int SOFTWARE_CONFIG_FIELD_NUMBER- See Also:
-
NODE_CONFIG_FIELD_NUMBER
public static final int NODE_CONFIG_FIELD_NUMBER- See Also:
-
PRIVATE_ENVIRONMENT_CONFIG_FIELD_NUMBER
public static final int PRIVATE_ENVIRONMENT_CONFIG_FIELD_NUMBER- See Also:
-
WEB_SERVER_NETWORK_ACCESS_CONTROL_FIELD_NUMBER
public static final int WEB_SERVER_NETWORK_ACCESS_CONTROL_FIELD_NUMBER- See Also:
-
DATABASE_CONFIG_FIELD_NUMBER
public static final int DATABASE_CONFIG_FIELD_NUMBER- See Also:
-
WEB_SERVER_CONFIG_FIELD_NUMBER
public static final int WEB_SERVER_CONFIG_FIELD_NUMBER- See Also:
-
AIRFLOW_URI_FIELD_NUMBER
public static final int AIRFLOW_URI_FIELD_NUMBER- See Also:
-
AIRFLOW_BYOID_URI_FIELD_NUMBER
public static final int AIRFLOW_BYOID_URI_FIELD_NUMBER- See Also:
-
ENCRYPTION_CONFIG_FIELD_NUMBER
public static final int ENCRYPTION_CONFIG_FIELD_NUMBER- See Also:
-
MAINTENANCE_WINDOW_FIELD_NUMBER
public static final int MAINTENANCE_WINDOW_FIELD_NUMBER- See Also:
-
WORKLOADS_CONFIG_FIELD_NUMBER
public static final int WORKLOADS_CONFIG_FIELD_NUMBER- See Also:
-
ENVIRONMENT_SIZE_FIELD_NUMBER
public static final int ENVIRONMENT_SIZE_FIELD_NUMBER- See Also:
-
MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER
public static final int MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER- See Also:
-
RECOVERY_CONFIG_FIELD_NUMBER
public static final int RECOVERY_CONFIG_FIELD_NUMBER- See Also:
-
DATA_RETENTION_CONFIG_FIELD_NUMBER
public static final int DATA_RETENTION_CONFIG_FIELD_NUMBER- See Also:
-
RESILIENCE_MODE_FIELD_NUMBER
public static final int RESILIENCE_MODE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getGkeCluster
Output only. The Kubernetes Engine cluster used to run this environment.
string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGkeClusterin interfaceEnvironmentConfigOrBuilder- Returns:
- The gkeCluster.
-
getGkeClusterBytes
public com.google.protobuf.ByteString getGkeClusterBytes()Output only. The Kubernetes Engine cluster used to run this environment.
string gke_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGkeClusterBytesin interfaceEnvironmentConfigOrBuilder- Returns:
- The bytes for gkeCluster.
-
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];- Specified by:
getDagGcsPrefixin interfaceEnvironmentConfigOrBuilder- Returns:
- The dagGcsPrefix.
-
getDagGcsPrefixBytes
public com.google.protobuf.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];- Specified by:
getDagGcsPrefixBytesin interfaceEnvironmentConfigOrBuilder- Returns:
- The bytes for dagGcsPrefix.
-
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;- Specified by:
getNodeCountin interfaceEnvironmentConfigOrBuilder- Returns:
- The nodeCount.
-
hasSoftwareConfig
public boolean hasSoftwareConfig()Optional. The configuration settings for software inside the environment.
.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSoftwareConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- Whether the softwareConfig field is set.
-
getSoftwareConfig
Optional. The configuration settings for software inside the environment.
.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSoftwareConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- The softwareConfig.
-
getSoftwareConfigOrBuilder
Optional. The configuration settings for software inside the environment.
.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig software_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSoftwareConfigOrBuilderin interfaceEnvironmentConfigOrBuilder
-
hasNodeConfig
public boolean hasNodeConfig()Optional. The configuration used for the Kubernetes Engine cluster.
.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasNodeConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- Whether the nodeConfig field is set.
-
getNodeConfig
Optional. The configuration used for the Kubernetes Engine cluster.
.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNodeConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- The nodeConfig.
-
getNodeConfigOrBuilder
Optional. The configuration used for the Kubernetes Engine cluster.
.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig node_config = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNodeConfigOrBuilderin interfaceEnvironmentConfigOrBuilder
-
hasPrivateEnvironmentConfig
public boolean hasPrivateEnvironmentConfig()Optional. The configuration used for the Private IP Cloud Composer environment.
.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPrivateEnvironmentConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- Whether the privateEnvironmentConfig field is set.
-
getPrivateEnvironmentConfig
Optional. The configuration used for the Private IP Cloud Composer environment.
.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPrivateEnvironmentConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- The privateEnvironmentConfig.
-
getPrivateEnvironmentConfigOrBuilder
Optional. The configuration used for the Private IP Cloud Composer environment.
.google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig private_environment_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPrivateEnvironmentConfigOrBuilderin interfaceEnvironmentConfigOrBuilder
-
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];- Specified by:
hasWebServerNetworkAccessControlin interfaceEnvironmentConfigOrBuilder- Returns:
- Whether the webServerNetworkAccessControl field is set.
-
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];- Specified by:
getWebServerNetworkAccessControlin interfaceEnvironmentConfigOrBuilder- Returns:
- The webServerNetworkAccessControl.
-
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];- Specified by:
getWebServerNetworkAccessControlOrBuilderin interfaceEnvironmentConfigOrBuilder
-
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];- Specified by:
hasDatabaseConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- Whether the databaseConfig field is set.
-
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];- Specified by:
getDatabaseConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- The databaseConfig.
-
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];- Specified by:
getDatabaseConfigOrBuilderin interfaceEnvironmentConfigOrBuilder
-
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];- Specified by:
hasWebServerConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- Whether the webServerConfig field is set.
-
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];- Specified by:
getWebServerConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- The webServerConfig.
-
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];- Specified by:
getWebServerConfigOrBuilderin interfaceEnvironmentConfigOrBuilder
-
getAirflowUri
Output only. The URI of the Apache Airflow Web UI hosted within this environment (see [Airflow web interface](/composer/docs/how-to/accessing/airflow-web-interface)).
string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAirflowUriin interfaceEnvironmentConfigOrBuilder- Returns:
- The airflowUri.
-
getAirflowUriBytes
public com.google.protobuf.ByteString getAirflowUriBytes()Output only. The URI of the Apache Airflow Web UI hosted within this environment (see [Airflow web interface](/composer/docs/how-to/accessing/airflow-web-interface)).
string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAirflowUriBytesin interfaceEnvironmentConfigOrBuilder- Returns:
- The bytes for airflowUri.
-
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](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).
string airflow_byoid_uri = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAirflowByoidUriin interfaceEnvironmentConfigOrBuilder- Returns:
- The airflowByoidUri.
-
getAirflowByoidUriBytes
public com.google.protobuf.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](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).
string airflow_byoid_uri = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAirflowByoidUriBytesin interfaceEnvironmentConfigOrBuilder- Returns:
- The bytes for airflowByoidUri.
-
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];- Specified by:
hasEncryptionConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- Whether the encryptionConfig field is set.
-
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];- Specified by:
getEncryptionConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- The encryptionConfig.
-
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];- Specified by:
getEncryptionConfigOrBuilderin interfaceEnvironmentConfigOrBuilder
-
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, the default value for maintenance window is applied. By default, maintenance windows are from 00:00:00 to 04:00:00 (GMT) on Friday, Saturday, and Sunday every week.
.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasMaintenanceWindowin interfaceEnvironmentConfigOrBuilder- Returns:
- Whether the maintenanceWindow field is set.
-
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, the default value for maintenance window is applied. By default, maintenance windows are from 00:00:00 to 04:00:00 (GMT) on Friday, Saturday, and Sunday every week.
.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMaintenanceWindowin interfaceEnvironmentConfigOrBuilder- Returns:
- The maintenanceWindow.
-
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, the default value for maintenance window is applied. By default, maintenance windows are from 00:00:00 to 04:00:00 (GMT) on Friday, Saturday, and Sunday every week.
.google.cloud.orchestration.airflow.service.v1beta1.MaintenanceWindow maintenance_window = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMaintenanceWindowOrBuilderin interfaceEnvironmentConfigOrBuilder
-
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];- Specified by:
hasWorkloadsConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- Whether the workloadsConfig field is set.
-
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];- Specified by:
getWorkloadsConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- The workloadsConfig.
-
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];- Specified by:
getWorkloadsConfigOrBuilderin interfaceEnvironmentConfigOrBuilder
-
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];- Specified by:
getEnvironmentSizeValuein interfaceEnvironmentConfigOrBuilder- Returns:
- The enum numeric value on the wire for 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];- Specified by:
getEnvironmentSizein interfaceEnvironmentConfigOrBuilder- Returns:
- The environmentSize.
-
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];- Specified by:
hasMasterAuthorizedNetworksConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- Whether the masterAuthorizedNetworksConfig field is set.
-
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];- Specified by:
getMasterAuthorizedNetworksConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- The masterAuthorizedNetworksConfig.
-
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];- Specified by:
getMasterAuthorizedNetworksConfigOrBuilderin interfaceEnvironmentConfigOrBuilder
-
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];- Specified by:
hasRecoveryConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- Whether the recoveryConfig field is set.
-
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];- Specified by:
getRecoveryConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- The recoveryConfig.
-
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];- Specified by:
getRecoveryConfigOrBuilderin interfaceEnvironmentConfigOrBuilder
-
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];- Specified by:
hasDataRetentionConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- Whether the dataRetentionConfig field is set.
-
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];- Specified by:
getDataRetentionConfigin interfaceEnvironmentConfigOrBuilder- Returns:
- The dataRetentionConfig.
-
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];- Specified by:
getDataRetentionConfigOrBuilderin interfaceEnvironmentConfigOrBuilder
-
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];- Specified by:
getResilienceModeValuein interfaceEnvironmentConfigOrBuilder- Returns:
- The enum numeric value on the wire for 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];- Specified by:
getResilienceModein interfaceEnvironmentConfigOrBuilder- Returns:
- The resilienceMode.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EnvironmentConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EnvironmentConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EnvironmentConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EnvironmentConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EnvironmentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EnvironmentConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EnvironmentConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EnvironmentConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static EnvironmentConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static EnvironmentConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EnvironmentConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-