Class DataRetentionConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataRetentionConfig.Builder>
com.google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig.Builder
- All Implemented Interfaces:
DataRetentionConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataRetentionConfig
public static final class DataRetentionConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataRetentionConfig.Builder>
implements DataRetentionConfigOrBuilder
The configuration setting for Airflow database data retention mechanism.Protobuf type
google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Deprecated.google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig.airflow_database_retention_days is deprecated.Optional.Optional.intDeprecated.google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig.airflow_database_retention_days is deprecated.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.mergeFrom(DataRetentionConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.setAirflowDatabaseRetentionDays(int value) Deprecated.google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig.airflow_database_retention_days is deprecated.Optional.Optional.Optional.setTaskLogsRetentionConfig(TaskLogsRetentionConfig.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<DataRetentionConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataRetentionConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataRetentionConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataRetentionConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataRetentionConfig.Builder>
-
mergeFrom
public DataRetentionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataRetentionConfig.Builder>- Throws:
IOException
-
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=1905Optional. 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];- Specified by:
getAirflowDatabaseRetentionDaysin interfaceDataRetentionConfigOrBuilder- Returns:
- The airflowDatabaseRetentionDays.
-
setAirflowDatabaseRetentionDays
Deprecated.google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig.airflow_database_retention_days is deprecated. See google/cloud/orchestration/airflow/service/v1beta1/environments.proto;l=1905Optional. 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];- Parameters:
value- The airflowDatabaseRetentionDays to set.- Returns:
- This builder for chaining.
-
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=1905Optional. 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:
- This builder for chaining.
-
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];- Specified by:
hasTaskLogsRetentionConfigin interfaceDataRetentionConfigOrBuilder- Returns:
- Whether the taskLogsRetentionConfig field is set.
-
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];- Specified by:
getTaskLogsRetentionConfigin interfaceDataRetentionConfigOrBuilder- Returns:
- The taskLogsRetentionConfig.
-
setTaskLogsRetentionConfig
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]; -
setTaskLogsRetentionConfig
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]; -
mergeTaskLogsRetentionConfig
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]; -
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]; -
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]; -
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];- Specified by:
getTaskLogsRetentionConfigOrBuilderin interfaceDataRetentionConfigOrBuilder
-
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];- Specified by:
hasAirflowMetadataRetentionConfigin interfaceDataRetentionConfigOrBuilder- Returns:
- Whether the airflowMetadataRetentionConfig field is set.
-
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];- Specified by:
getAirflowMetadataRetentionConfigin interfaceDataRetentionConfigOrBuilder- Returns:
- The airflowMetadataRetentionConfig.
-
setAirflowMetadataRetentionConfig
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]; -
setAirflowMetadataRetentionConfig
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]; -
mergeAirflowMetadataRetentionConfig
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]; -
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]; -
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]; -
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];- Specified by:
getAirflowMetadataRetentionConfigOrBuilderin interfaceDataRetentionConfigOrBuilder
-