Class EnvironmentConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig
-
- All Implemented Interfaces:
EnvironmentConfigOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class EnvironmentConfig extends com.google.protobuf.GeneratedMessageV3 implements EnvironmentConfigOrBuilder
Configuration information for an environment.
Protobuf typegoogle.cloud.orchestration.airflow.service.v1.EnvironmentConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EnvironmentConfig.Builder
Configuration information for an environment.static class
EnvironmentConfig.EnvironmentSize
The size of the Cloud Composer environment.static class
EnvironmentConfig.ResilienceMode
Resilience mode of the Cloud Composer Environment.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
AIRFLOW_BYOID_URI_FIELD_NUMBER
static int
AIRFLOW_URI_FIELD_NUMBER
static int
DAG_GCS_PREFIX_FIELD_NUMBER
static int
DATABASE_CONFIG_FIELD_NUMBER
static int
ENCRYPTION_CONFIG_FIELD_NUMBER
static int
ENVIRONMENT_SIZE_FIELD_NUMBER
static int
GKE_CLUSTER_FIELD_NUMBER
static int
MAINTENANCE_WINDOW_FIELD_NUMBER
static int
MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER
static int
NODE_CONFIG_FIELD_NUMBER
static int
NODE_COUNT_FIELD_NUMBER
static int
PRIVATE_ENVIRONMENT_CONFIG_FIELD_NUMBER
static int
RECOVERY_CONFIG_FIELD_NUMBER
static int
RESILIENCE_MODE_FIELD_NUMBER
static int
SOFTWARE_CONFIG_FIELD_NUMBER
static int
WEB_SERVER_CONFIG_FIELD_NUMBER
static int
WEB_SERVER_NETWORK_ACCESS_CONTROL_FIELD_NUMBER
static int
WORKLOADS_CONFIG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAirflowByoidUri()
Output only.com.google.protobuf.ByteString
getAirflowByoidUriBytes()
Output only.String
getAirflowUri()
Output only.com.google.protobuf.ByteString
getAirflowUriBytes()
Output only.String
getDagGcsPrefix()
Output only.com.google.protobuf.ByteString
getDagGcsPrefixBytes()
Output only.DatabaseConfig
getDatabaseConfig()
Optional.DatabaseConfigOrBuilder
getDatabaseConfigOrBuilder()
Optional.static EnvironmentConfig
getDefaultInstance()
EnvironmentConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
EncryptionConfig
getEncryptionConfig()
Optional.EncryptionConfigOrBuilder
getEncryptionConfigOrBuilder()
Optional.EnvironmentConfig.EnvironmentSize
getEnvironmentSize()
Optional.int
getEnvironmentSizeValue()
Optional.String
getGkeCluster()
Output only.com.google.protobuf.ByteString
getGkeClusterBytes()
Output only.MaintenanceWindow
getMaintenanceWindow()
Optional.MaintenanceWindowOrBuilder
getMaintenanceWindowOrBuilder()
Optional.MasterAuthorizedNetworksConfig
getMasterAuthorizedNetworksConfig()
Optional.MasterAuthorizedNetworksConfigOrBuilder
getMasterAuthorizedNetworksConfigOrBuilder()
Optional.NodeConfig
getNodeConfig()
The configuration used for the Kubernetes Engine cluster.NodeConfigOrBuilder
getNodeConfigOrBuilder()
The configuration used for the Kubernetes Engine cluster.int
getNodeCount()
The number of nodes in the Kubernetes Engine cluster that will be used to run this environment.com.google.protobuf.Parser<EnvironmentConfig>
getParserForType()
PrivateEnvironmentConfig
getPrivateEnvironmentConfig()
The configuration used for the Private IP Cloud Composer environment.PrivateEnvironmentConfigOrBuilder
getPrivateEnvironmentConfigOrBuilder()
The configuration used for the Private IP Cloud Composer environment.RecoveryConfig
getRecoveryConfig()
Optional.RecoveryConfigOrBuilder
getRecoveryConfigOrBuilder()
Optional.EnvironmentConfig.ResilienceMode
getResilienceMode()
Optional.int
getResilienceModeValue()
Optional.int
getSerializedSize()
SoftwareConfig
getSoftwareConfig()
The configuration settings for software inside the environment.SoftwareConfigOrBuilder
getSoftwareConfigOrBuilder()
The configuration settings for software inside the environment.WebServerConfig
getWebServerConfig()
Optional.WebServerConfigOrBuilder
getWebServerConfigOrBuilder()
Optional.WebServerNetworkAccessControl
getWebServerNetworkAccessControl()
Optional.WebServerNetworkAccessControlOrBuilder
getWebServerNetworkAccessControlOrBuilder()
Optional.WorkloadsConfig
getWorkloadsConfig()
Optional.WorkloadsConfigOrBuilder
getWorkloadsConfigOrBuilder()
Optional.boolean
hasDatabaseConfig()
Optional.boolean
hasEncryptionConfig()
Optional.int
hashCode()
boolean
hasMaintenanceWindow()
Optional.boolean
hasMasterAuthorizedNetworksConfig()
Optional.boolean
hasNodeConfig()
The configuration used for the Kubernetes Engine cluster.boolean
hasPrivateEnvironmentConfig()
The configuration used for the Private IP Cloud Composer environment.boolean
hasRecoveryConfig()
Optional.boolean
hasSoftwareConfig()
The configuration settings for software inside the environment.boolean
hasWebServerConfig()
Optional.boolean
hasWebServerNetworkAccessControl()
Optional.boolean
hasWorkloadsConfig()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static EnvironmentConfig.Builder
newBuilder()
static EnvironmentConfig.Builder
newBuilder(EnvironmentConfig prototype)
EnvironmentConfig.Builder
newBuilderForType()
protected EnvironmentConfig.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static EnvironmentConfig
parseDelimitedFrom(InputStream input)
static EnvironmentConfig
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EnvironmentConfig
parseFrom(byte[] data)
static EnvironmentConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EnvironmentConfig
parseFrom(com.google.protobuf.ByteString data)
static EnvironmentConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EnvironmentConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static EnvironmentConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EnvironmentConfig
parseFrom(InputStream input)
static EnvironmentConfig
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EnvironmentConfig
parseFrom(ByteBuffer data)
static EnvironmentConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<EnvironmentConfig>
parser()
EnvironmentConfig.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
GKE_CLUSTER_FIELD_NUMBER
public static final int GKE_CLUSTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DAG_GCS_PREFIX_FIELD_NUMBER
public static final int DAG_GCS_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODE_COUNT_FIELD_NUMBER
public static final int NODE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOFTWARE_CONFIG_FIELD_NUMBER
public static final int SOFTWARE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODE_CONFIG_FIELD_NUMBER
public static final int NODE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_ENVIRONMENT_CONFIG_FIELD_NUMBER
public static final int PRIVATE_ENVIRONMENT_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WEB_SERVER_NETWORK_ACCESS_CONTROL_FIELD_NUMBER
public static final int WEB_SERVER_NETWORK_ACCESS_CONTROL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATABASE_CONFIG_FIELD_NUMBER
public static final int DATABASE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WEB_SERVER_CONFIG_FIELD_NUMBER
public static final int WEB_SERVER_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTION_CONFIG_FIELD_NUMBER
public static final int ENCRYPTION_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAINTENANCE_WINDOW_FIELD_NUMBER
public static final int MAINTENANCE_WINDOW_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKLOADS_CONFIG_FIELD_NUMBER
public static final int WORKLOADS_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENVIRONMENT_SIZE_FIELD_NUMBER
public static final int ENVIRONMENT_SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AIRFLOW_URI_FIELD_NUMBER
public static final int AIRFLOW_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AIRFLOW_BYOID_URI_FIELD_NUMBER
public static final int AIRFLOW_BYOID_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER
public static final int MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECOVERY_CONFIG_FIELD_NUMBER
public static final int RECOVERY_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESILIENCE_MODE_FIELD_NUMBER
public static final int RESILIENCE_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getGkeCluster
public String getGkeCluster()
Output only. The Kubernetes Engine cluster used to run this environment.
string gke_cluster = 1;
- Specified by:
getGkeCluster
in 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;
- Specified by:
getGkeClusterBytes
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The bytes for gkeCluster.
-
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;
- Specified by:
getDagGcsPrefix
in 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;
- Specified by:
getDagGcsPrefixBytes
in 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:
getNodeCount
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The nodeCount.
-
hasSoftwareConfig
public boolean hasSoftwareConfig()
The configuration settings for software inside the environment.
.google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4;
- Specified by:
hasSoftwareConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- Whether the softwareConfig field is set.
-
getSoftwareConfig
public SoftwareConfig getSoftwareConfig()
The configuration settings for software inside the environment.
.google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4;
- Specified by:
getSoftwareConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The softwareConfig.
-
getSoftwareConfigOrBuilder
public SoftwareConfigOrBuilder getSoftwareConfigOrBuilder()
The configuration settings for software inside the environment.
.google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4;
- Specified by:
getSoftwareConfigOrBuilder
in interfaceEnvironmentConfigOrBuilder
-
hasNodeConfig
public boolean hasNodeConfig()
The configuration used for the Kubernetes Engine cluster.
.google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5;
- Specified by:
hasNodeConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- Whether the nodeConfig field is set.
-
getNodeConfig
public NodeConfig getNodeConfig()
The configuration used for the Kubernetes Engine cluster.
.google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5;
- Specified by:
getNodeConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The nodeConfig.
-
getNodeConfigOrBuilder
public NodeConfigOrBuilder getNodeConfigOrBuilder()
The configuration used for the Kubernetes Engine cluster.
.google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5;
- Specified by:
getNodeConfigOrBuilder
in interfaceEnvironmentConfigOrBuilder
-
hasPrivateEnvironmentConfig
public boolean hasPrivateEnvironmentConfig()
The configuration used for the Private IP Cloud Composer environment.
.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7;
- Specified by:
hasPrivateEnvironmentConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- Whether the privateEnvironmentConfig field is set.
-
getPrivateEnvironmentConfig
public PrivateEnvironmentConfig getPrivateEnvironmentConfig()
The configuration used for the Private IP Cloud Composer environment.
.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7;
- Specified by:
getPrivateEnvironmentConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The privateEnvironmentConfig.
-
getPrivateEnvironmentConfigOrBuilder
public PrivateEnvironmentConfigOrBuilder getPrivateEnvironmentConfigOrBuilder()
The configuration used for the Private IP Cloud Composer environment.
.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7;
- Specified by:
getPrivateEnvironmentConfigOrBuilder
in 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.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasWebServerNetworkAccessControl
in interfaceEnvironmentConfigOrBuilder
- Returns:
- Whether the webServerNetworkAccessControl field is set.
-
getWebServerNetworkAccessControl
public WebServerNetworkAccessControl getWebServerNetworkAccessControl()
Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied.
.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getWebServerNetworkAccessControl
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The webServerNetworkAccessControl.
-
getWebServerNetworkAccessControlOrBuilder
public WebServerNetworkAccessControlOrBuilder getWebServerNetworkAccessControlOrBuilder()
Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied.
.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl web_server_network_access_control = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getWebServerNetworkAccessControlOrBuilder
in interfaceEnvironmentConfigOrBuilder
-
hasDatabaseConfig
public boolean hasDatabaseConfig()
Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.
.google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasDatabaseConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- Whether the databaseConfig field is set.
-
getDatabaseConfig
public DatabaseConfig getDatabaseConfig()
Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.
.google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDatabaseConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The databaseConfig.
-
getDatabaseConfigOrBuilder
public DatabaseConfigOrBuilder getDatabaseConfigOrBuilder()
Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.
.google.cloud.orchestration.airflow.service.v1.DatabaseConfig database_config = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDatabaseConfigOrBuilder
in interfaceEnvironmentConfigOrBuilder
-
hasWebServerConfig
public boolean hasWebServerConfig()
Optional. The configuration settings for the Airflow web server App Engine instance.
.google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasWebServerConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- Whether the webServerConfig field is set.
-
getWebServerConfig
public WebServerConfig getWebServerConfig()
Optional. The configuration settings for the Airflow web server App Engine instance.
.google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getWebServerConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The webServerConfig.
-
getWebServerConfigOrBuilder
public WebServerConfigOrBuilder getWebServerConfigOrBuilder()
Optional. The configuration settings for the Airflow web server App Engine instance.
.google.cloud.orchestration.airflow.service.v1.WebServerConfig web_server_config = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getWebServerConfigOrBuilder
in interfaceEnvironmentConfigOrBuilder
-
hasEncryptionConfig
public boolean hasEncryptionConfig()
Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated.
.google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasEncryptionConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- Whether the encryptionConfig field is set.
-
getEncryptionConfig
public EncryptionConfig getEncryptionConfig()
Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated.
.google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEncryptionConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The encryptionConfig.
-
getEncryptionConfigOrBuilder
public EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated.
.google.cloud.orchestration.airflow.service.v1.EncryptionConfig encryption_config = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEncryptionConfigOrBuilder
in 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 will be applied. The default value is Saturday and Sunday 00-06 GMT.
.google.cloud.orchestration.airflow.service.v1.MaintenanceWindow maintenance_window = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasMaintenanceWindow
in interfaceEnvironmentConfigOrBuilder
- Returns:
- Whether the maintenanceWindow field is set.
-
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, the default value for maintenance window will be applied. The default value is Saturday and Sunday 00-06 GMT.
.google.cloud.orchestration.airflow.service.v1.MaintenanceWindow maintenance_window = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMaintenanceWindow
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The maintenanceWindow.
-
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, the default value for maintenance window will be applied. The default value is Saturday and Sunday 00-06 GMT.
.google.cloud.orchestration.airflow.service.v1.MaintenanceWindow maintenance_window = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMaintenanceWindowOrBuilder
in 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.v1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasWorkloadsConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- Whether the workloadsConfig field is set.
-
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.v1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getWorkloadsConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The workloadsConfig.
-
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.v1.WorkloadsConfig workloads_config = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getWorkloadsConfigOrBuilder
in 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.v1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEnvironmentSizeValue
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The enum numeric value on the wire for environmentSize.
-
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.v1.EnvironmentConfig.EnvironmentSize environment_size = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEnvironmentSize
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The environmentSize.
-
getAirflowUri
public String 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;
- Specified by:
getAirflowUri
in 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;
- Specified by:
getAirflowUriBytes
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The bytes for airflowUri.
-
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](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).
string airflow_byoid_uri = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAirflowByoidUri
in 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 = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAirflowByoidUriBytes
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The bytes for airflowByoidUri.
-
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.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 17 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasMasterAuthorizedNetworksConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- Whether the masterAuthorizedNetworksConfig field is set.
-
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.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 17 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMasterAuthorizedNetworksConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The masterAuthorizedNetworksConfig.
-
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.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 17 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMasterAuthorizedNetworksConfigOrBuilder
in 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.v1.RecoveryConfig recovery_config = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasRecoveryConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- Whether the recoveryConfig field is set.
-
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.v1.RecoveryConfig recovery_config = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRecoveryConfig
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The recoveryConfig.
-
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.v1.RecoveryConfig recovery_config = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRecoveryConfigOrBuilder
in 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.v1.EnvironmentConfig.ResilienceMode resilience_mode = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getResilienceModeValue
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The enum numeric value on the wire for resilienceMode.
-
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.v1.EnvironmentConfig.ResilienceMode resilience_mode = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getResilienceMode
in interfaceEnvironmentConfigOrBuilder
- Returns:
- The resilienceMode.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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
public static EnvironmentConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EnvironmentConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EnvironmentConfig parseDelimitedFrom(InputStream input) throws IOException
- 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
public EnvironmentConfig.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static EnvironmentConfig.Builder newBuilder()
-
newBuilder
public static EnvironmentConfig.Builder newBuilder(EnvironmentConfig prototype)
-
toBuilder
public EnvironmentConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EnvironmentConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static EnvironmentConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<EnvironmentConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<EnvironmentConfig> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public EnvironmentConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-