Class DataRetentionConfig.Builder (1.41.0)

public static final class DataRetentionConfig.Builder extends GeneratedMessageV3.Builder<DataRetentionConfig.Builder> implements DataRetentionConfigOrBuilder

The configuration setting for Airflow database data retention mechanism.

Protobuf type google.cloud.orchestration.airflow.service.v1.DataRetentionConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataRetentionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataRetentionConfig.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public DataRetentionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataRetentionConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataRetentionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataRetentionConfig.Builder
Overrides

clearTaskLogsRetentionConfig()

public DataRetentionConfig.Builder clearTaskLogsRetentionConfig()

Optional. The configuration settings for task logs retention

.google.cloud.orchestration.airflow.service.v1.TaskLogsRetentionConfig task_logs_retention_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataRetentionConfig.Builder

clone()

public DataRetentionConfig.Builder clone()
Returns
Type Description
DataRetentionConfig.Builder
Overrides

getDefaultInstanceForType()

public DataRetentionConfig getDefaultInstanceForType()
Returns
Type Description
DataRetentionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTaskLogsRetentionConfig()

public TaskLogsRetentionConfig getTaskLogsRetentionConfig()

Optional. The configuration settings for task logs retention

.google.cloud.orchestration.airflow.service.v1.TaskLogsRetentionConfig task_logs_retention_config = 2 [(.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.v1.TaskLogsRetentionConfig task_logs_retention_config = 2 [(.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.v1.TaskLogsRetentionConfig task_logs_retention_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TaskLogsRetentionConfigOrBuilder

hasTaskLogsRetentionConfig()

public boolean hasTaskLogsRetentionConfig()

Optional. The configuration settings for task logs retention

.google.cloud.orchestration.airflow.service.v1.TaskLogsRetentionConfig task_logs_retention_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the taskLogsRetentionConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataRetentionConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataRetentionConfig.Builder
Overrides

mergeTaskLogsRetentionConfig(TaskLogsRetentionConfig value)

public DataRetentionConfig.Builder mergeTaskLogsRetentionConfig(TaskLogsRetentionConfig value)

Optional. The configuration settings for task logs retention

.google.cloud.orchestration.airflow.service.v1.TaskLogsRetentionConfig task_logs_retention_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value TaskLogsRetentionConfig
Returns
Type Description
DataRetentionConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataRetentionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataRetentionConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataRetentionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataRetentionConfig.Builder
Overrides

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

public DataRetentionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataRetentionConfig.Builder
Overrides

setTaskLogsRetentionConfig(TaskLogsRetentionConfig value)

public DataRetentionConfig.Builder setTaskLogsRetentionConfig(TaskLogsRetentionConfig value)

Optional. The configuration settings for task logs retention

.google.cloud.orchestration.airflow.service.v1.TaskLogsRetentionConfig task_logs_retention_config = 2 [(.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.v1.TaskLogsRetentionConfig task_logs_retention_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue TaskLogsRetentionConfig.Builder
Returns
Type Description
DataRetentionConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DataRetentionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataRetentionConfig.Builder
Overrides