Class RecoveryConfig.Builder (1.27.0)

public static final class RecoveryConfig.Builder extends GeneratedMessageV3.Builder<RecoveryConfig.Builder> implements RecoveryConfigOrBuilder

The Recovery settings of an environment.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RecoveryConfig build()
Returns
Type Description
RecoveryConfig

buildPartial()

public RecoveryConfig buildPartial()
Returns
Type Description
RecoveryConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScheduledSnapshotsConfig()

public RecoveryConfig.Builder clearScheduledSnapshotsConfig()

Optional. The configuration for scheduled snapshot creation mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.ScheduledSnapshotsConfig scheduled_snapshots_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RecoveryConfig.Builder

clone()

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

getDefaultInstanceForType()

public RecoveryConfig getDefaultInstanceForType()
Returns
Type Description
RecoveryConfig

getDescriptorForType()

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

getScheduledSnapshotsConfig()

public ScheduledSnapshotsConfig getScheduledSnapshotsConfig()

Optional. The configuration for scheduled snapshot creation mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.ScheduledSnapshotsConfig scheduled_snapshots_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ScheduledSnapshotsConfig

The scheduledSnapshotsConfig.

getScheduledSnapshotsConfigBuilder()

public ScheduledSnapshotsConfig.Builder getScheduledSnapshotsConfigBuilder()

Optional. The configuration for scheduled snapshot creation mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.ScheduledSnapshotsConfig scheduled_snapshots_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ScheduledSnapshotsConfig.Builder

getScheduledSnapshotsConfigOrBuilder()

public ScheduledSnapshotsConfigOrBuilder getScheduledSnapshotsConfigOrBuilder()

Optional. The configuration for scheduled snapshot creation mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.ScheduledSnapshotsConfig scheduled_snapshots_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ScheduledSnapshotsConfigOrBuilder

hasScheduledSnapshotsConfig()

public boolean hasScheduledSnapshotsConfig()

Optional. The configuration for scheduled snapshot creation mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.ScheduledSnapshotsConfig scheduled_snapshots_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the scheduledSnapshotsConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RecoveryConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeScheduledSnapshotsConfig(ScheduledSnapshotsConfig value)

public RecoveryConfig.Builder mergeScheduledSnapshotsConfig(ScheduledSnapshotsConfig value)

Optional. The configuration for scheduled snapshot creation mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.ScheduledSnapshotsConfig scheduled_snapshots_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ScheduledSnapshotsConfig
Returns
Type Description
RecoveryConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setScheduledSnapshotsConfig(ScheduledSnapshotsConfig value)

public RecoveryConfig.Builder setScheduledSnapshotsConfig(ScheduledSnapshotsConfig value)

Optional. The configuration for scheduled snapshot creation mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.ScheduledSnapshotsConfig scheduled_snapshots_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ScheduledSnapshotsConfig
Returns
Type Description
RecoveryConfig.Builder

setScheduledSnapshotsConfig(ScheduledSnapshotsConfig.Builder builderForValue)

public RecoveryConfig.Builder setScheduledSnapshotsConfig(ScheduledSnapshotsConfig.Builder builderForValue)

Optional. The configuration for scheduled snapshot creation mechanism.

.google.cloud.orchestration.airflow.service.v1beta1.ScheduledSnapshotsConfig scheduled_snapshots_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ScheduledSnapshotsConfig.Builder
Returns
Type Description
RecoveryConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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