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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TaskLogsRetentionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TaskLogsRetentionConfig build()
buildPartial()
public TaskLogsRetentionConfig buildPartial()
clear()
public TaskLogsRetentionConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TaskLogsRetentionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TaskLogsRetentionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStorageMode()
public TaskLogsRetentionConfig.Builder clearStorageMode()
Optional. The mode of storage for Airflow workers task logs. For details,
see go/composer-store-task-logs-in-cloud-logging-only-design-doc
.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig.TaskLogsStorageMode storage_mode = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public TaskLogsRetentionConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public TaskLogsRetentionConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getStorageMode()
public TaskLogsRetentionConfig.TaskLogsStorageMode getStorageMode()
Optional. The mode of storage for Airflow workers task logs. For details,
see go/composer-store-task-logs-in-cloud-logging-only-design-doc
.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig.TaskLogsStorageMode storage_mode = 2 [(.google.api.field_behavior) = OPTIONAL];
getStorageModeValue()
public int getStorageModeValue()
Optional. The mode of storage for Airflow workers task logs. For details,
see go/composer-store-task-logs-in-cloud-logging-only-design-doc
.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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TaskLogsRetentionConfig other)
public TaskLogsRetentionConfig.Builder mergeFrom(TaskLogsRetentionConfig other)
public TaskLogsRetentionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TaskLogsRetentionConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TaskLogsRetentionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TaskLogsRetentionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TaskLogsRetentionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStorageMode(TaskLogsRetentionConfig.TaskLogsStorageMode value)
public TaskLogsRetentionConfig.Builder setStorageMode(TaskLogsRetentionConfig.TaskLogsStorageMode value)
Optional. The mode of storage for Airflow workers task logs. For details,
see go/composer-store-task-logs-in-cloud-logging-only-design-doc
.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig.TaskLogsStorageMode storage_mode = 2 [(.google.api.field_behavior) = OPTIONAL];
setStorageModeValue(int value)
public TaskLogsRetentionConfig.Builder setStorageModeValue(int value)
Optional. The mode of storage for Airflow workers task logs. For details,
see go/composer-store-task-logs-in-cloud-logging-only-design-doc
.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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final TaskLogsRetentionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides