Class TaskLogsRetentionConfig.Builder (1.48.0)

public static final class TaskLogsRetentionConfig.Builder extends GeneratedMessageV3.Builder<TaskLogsRetentionConfig.Builder> implements TaskLogsRetentionConfigOrBuilder

The configuration setting for Task Logs.

Protobuf type google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TaskLogsRetentionConfig build()
Returns
Type Description
TaskLogsRetentionConfig

buildPartial()

public TaskLogsRetentionConfig buildPartial()
Returns
Type Description
TaskLogsRetentionConfig

clear()

public TaskLogsRetentionConfig.Builder clear()
Returns
Type Description
TaskLogsRetentionConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStorageMode()

public TaskLogsRetentionConfig.Builder clearStorageMode()

Optional. The mode of storage for Airflow workers task logs.

.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig.TaskLogsStorageMode storage_mode = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TaskLogsRetentionConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TaskLogsRetentionConfig getDefaultInstanceForType()
Returns
Type Description
TaskLogsRetentionConfig

getDescriptorForType()

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

getStorageMode()

public TaskLogsRetentionConfig.TaskLogsStorageMode getStorageMode()

Optional. The mode of storage for Airflow workers task logs.

.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig.TaskLogsStorageMode storage_mode = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TaskLogsRetentionConfig.TaskLogsStorageMode

The storageMode.

getStorageModeValue()

public int getStorageModeValue()

Optional. The mode of storage for Airflow workers task logs.

.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig.TaskLogsStorageMode storage_mode = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for storageMode.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TaskLogsRetentionConfig other)

public TaskLogsRetentionConfig.Builder mergeFrom(TaskLogsRetentionConfig other)
Parameter
Name Description
other TaskLogsRetentionConfig
Returns
Type Description
TaskLogsRetentionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TaskLogsRetentionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TaskLogsRetentionConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStorageMode(TaskLogsRetentionConfig.TaskLogsStorageMode value)

public TaskLogsRetentionConfig.Builder setStorageMode(TaskLogsRetentionConfig.TaskLogsStorageMode value)

Optional. The mode of storage for Airflow workers task logs.

.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig.TaskLogsStorageMode storage_mode = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value TaskLogsRetentionConfig.TaskLogsStorageMode

The storageMode to set.

Returns
Type Description
TaskLogsRetentionConfig.Builder

This builder for chaining.

setStorageModeValue(int value)

public TaskLogsRetentionConfig.Builder setStorageModeValue(int value)

Optional. The mode of storage for Airflow workers task logs.

.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig.TaskLogsStorageMode storage_mode = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for storageMode to set.

Returns
Type Description
TaskLogsRetentionConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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