public static final class DataRetentionConfig.Builder extends GeneratedMessage.Builder<DataRetentionConfig.Builder> implements DataRetentionConfigOrBuilderThe configuration setting for Airflow database data retention mechanism.
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataRetentionConfig.BuilderImplements
DataRetentionConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataRetentionConfig build()| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig |
|
buildPartial()
public DataRetentionConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig |
|
clear()
public DataRetentionConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig.Builder |
|
clearAirflowDatabaseRetentionDays() (deprecated)
public DataRetentionConfig.Builder clearAirflowDatabaseRetentionDays()Deprecated. google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig.airflow_database_retention_days is deprecated. See google/cloud/orchestration/airflow/service/v1beta1/environments.proto;l=1905
Optional. The number of days describing for how long to store event-based records in airflow database. If the retention mechanism is enabled this value must be a positive integer otherwise, value should be set to 0.
int32 airflow_database_retention_days = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig.Builder |
This builder for chaining. |
clearAirflowMetadataRetentionConfig()
public DataRetentionConfig.Builder clearAirflowMetadataRetentionConfig()Optional. The retention policy for airflow metadata database.
.google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig airflow_metadata_retention_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig.Builder |
|
clearTaskLogsRetentionConfig()
public DataRetentionConfig.Builder clearTaskLogsRetentionConfig()Optional. The configuration settings for task logs retention
.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig task_logs_retention_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig.Builder |
|
getAirflowDatabaseRetentionDays() (deprecated)
public int getAirflowDatabaseRetentionDays()Deprecated. google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig.airflow_database_retention_days is deprecated. See google/cloud/orchestration/airflow/service/v1beta1/environments.proto;l=1905
Optional. The number of days describing for how long to store event-based records in airflow database. If the retention mechanism is enabled this value must be a positive integer otherwise, value should be set to 0.
int32 airflow_database_retention_days = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The airflowDatabaseRetentionDays. |
getAirflowMetadataRetentionConfig()
public AirflowMetadataRetentionPolicyConfig getAirflowMetadataRetentionConfig()Optional. The retention policy for airflow metadata database.
.google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig airflow_metadata_retention_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AirflowMetadataRetentionPolicyConfig |
The airflowMetadataRetentionConfig. |
getAirflowMetadataRetentionConfigBuilder()
public AirflowMetadataRetentionPolicyConfig.Builder getAirflowMetadataRetentionConfigBuilder()Optional. The retention policy for airflow metadata database.
.google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig airflow_metadata_retention_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AirflowMetadataRetentionPolicyConfig.Builder |
|
getAirflowMetadataRetentionConfigOrBuilder()
public AirflowMetadataRetentionPolicyConfigOrBuilder getAirflowMetadataRetentionConfigOrBuilder()Optional. The retention policy for airflow metadata database.
.google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig airflow_metadata_retention_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AirflowMetadataRetentionPolicyConfigOrBuilder |
|
getDefaultInstanceForType()
public DataRetentionConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTaskLogsRetentionConfig()
public TaskLogsRetentionConfig getTaskLogsRetentionConfig()Optional. The configuration settings for task logs retention
.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig task_logs_retention_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TaskLogsRetentionConfig |
The taskLogsRetentionConfig. |
getTaskLogsRetentionConfigBuilder()
public TaskLogsRetentionConfig.Builder getTaskLogsRetentionConfigBuilder()Optional. The configuration settings for task logs retention
.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig task_logs_retention_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TaskLogsRetentionConfig.Builder |
|
getTaskLogsRetentionConfigOrBuilder()
public TaskLogsRetentionConfigOrBuilder getTaskLogsRetentionConfigOrBuilder()Optional. The configuration settings for task logs retention
.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig task_logs_retention_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TaskLogsRetentionConfigOrBuilder |
|
hasAirflowMetadataRetentionConfig()
public boolean hasAirflowMetadataRetentionConfig()Optional. The retention policy for airflow metadata database.
.google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig airflow_metadata_retention_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the airflowMetadataRetentionConfig field is set. |
hasTaskLogsRetentionConfig()
public boolean hasTaskLogsRetentionConfig()Optional. The configuration settings for task logs retention
.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig task_logs_retention_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the taskLogsRetentionConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAirflowMetadataRetentionConfig(AirflowMetadataRetentionPolicyConfig value)
public DataRetentionConfig.Builder mergeAirflowMetadataRetentionConfig(AirflowMetadataRetentionPolicyConfig value)Optional. The retention policy for airflow metadata database.
.google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig airflow_metadata_retention_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AirflowMetadataRetentionPolicyConfig |
| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig.Builder |
|
mergeFrom(DataRetentionConfig other)
public DataRetentionConfig.Builder mergeFrom(DataRetentionConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
DataRetentionConfig |
| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataRetentionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataRetentionConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig.Builder |
|
mergeTaskLogsRetentionConfig(TaskLogsRetentionConfig value)
public DataRetentionConfig.Builder mergeTaskLogsRetentionConfig(TaskLogsRetentionConfig value)Optional. The configuration settings for task logs retention
.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig task_logs_retention_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
TaskLogsRetentionConfig |
| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig.Builder |
|
setAirflowDatabaseRetentionDays(int value) (deprecated)
public DataRetentionConfig.Builder setAirflowDatabaseRetentionDays(int value)Deprecated. google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig.airflow_database_retention_days is deprecated. See google/cloud/orchestration/airflow/service/v1beta1/environments.proto;l=1905
Optional. The number of days describing for how long to store event-based records in airflow database. If the retention mechanism is enabled this value must be a positive integer otherwise, value should be set to 0.
int32 airflow_database_retention_days = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe airflowDatabaseRetentionDays to set. |
| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig.Builder |
This builder for chaining. |
setAirflowMetadataRetentionConfig(AirflowMetadataRetentionPolicyConfig value)
public DataRetentionConfig.Builder setAirflowMetadataRetentionConfig(AirflowMetadataRetentionPolicyConfig value)Optional. The retention policy for airflow metadata database.
.google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig airflow_metadata_retention_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AirflowMetadataRetentionPolicyConfig |
| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig.Builder |
|
setAirflowMetadataRetentionConfig(AirflowMetadataRetentionPolicyConfig.Builder builderForValue)
public DataRetentionConfig.Builder setAirflowMetadataRetentionConfig(AirflowMetadataRetentionPolicyConfig.Builder builderForValue)Optional. The retention policy for airflow metadata database.
.google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig airflow_metadata_retention_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AirflowMetadataRetentionPolicyConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig.Builder |
|
setTaskLogsRetentionConfig(TaskLogsRetentionConfig value)
public DataRetentionConfig.Builder setTaskLogsRetentionConfig(TaskLogsRetentionConfig value)Optional. The configuration settings for task logs retention
.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig task_logs_retention_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
TaskLogsRetentionConfig |
| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig.Builder |
|
setTaskLogsRetentionConfig(TaskLogsRetentionConfig.Builder builderForValue)
public DataRetentionConfig.Builder setTaskLogsRetentionConfig(TaskLogsRetentionConfig.Builder builderForValue)Optional. The configuration settings for task logs retention
.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig task_logs_retention_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TaskLogsRetentionConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
DataRetentionConfig.Builder |
|