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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataRetentionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataRetentionConfig.Builder
Overrides

build()

public DataRetentionConfig build()
Returns
TypeDescription
DataRetentionConfig

buildPartial()

public DataRetentionConfig buildPartial()
Returns
TypeDescription
DataRetentionConfig

clear()

public DataRetentionConfig.Builder clear()
Returns
TypeDescription
DataRetentionConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DataRetentionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataRetentionConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataRetentionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DataRetentionConfig.Builder

clone()

public DataRetentionConfig.Builder clone()
Returns
TypeDescription
DataRetentionConfig.Builder
Overrides

getDefaultInstanceForType()

public DataRetentionConfig getDefaultInstanceForType()
Returns
TypeDescription
DataRetentionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the taskLogsRetentionConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataRetentionConfig other)

public DataRetentionConfig.Builder mergeFrom(DataRetentionConfig other)
Parameter
NameDescription
otherDataRetentionConfig
Returns
TypeDescription
DataRetentionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataRetentionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataRetentionConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DataRetentionConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTaskLogsRetentionConfig
Returns
TypeDescription
DataRetentionConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataRetentionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataRetentionConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataRetentionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataRetentionConfig.Builder
Overrides

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

public DataRetentionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTaskLogsRetentionConfig
Returns
TypeDescription
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
NameDescription
builderForValueTaskLogsRetentionConfig.Builder
Returns
TypeDescription
DataRetentionConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DataRetentionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataRetentionConfig.Builder
Overrides