Class RecoveryConfig (1.53.0)

public final class RecoveryConfig extends GeneratedMessageV3 implements RecoveryConfigOrBuilder

The Recovery settings of an environment.

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

Static Fields

SCHEDULED_SNAPSHOTS_CONFIG_FIELD_NUMBER

public static final int SCHEDULED_SNAPSHOTS_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RecoveryConfig getDefaultInstance()
Returns
Type Description
RecoveryConfig

getDescriptor()

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

newBuilder()

public static RecoveryConfig.Builder newBuilder()
Returns
Type Description
RecoveryConfig.Builder

newBuilder(RecoveryConfig prototype)

public static RecoveryConfig.Builder newBuilder(RecoveryConfig prototype)
Parameter
Name Description
prototype RecoveryConfig
Returns
Type Description
RecoveryConfig.Builder

parseDelimitedFrom(InputStream input)

public static RecoveryConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RecoveryConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecoveryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecoveryConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RecoveryConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RecoveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RecoveryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecoveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RecoveryConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RecoveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RecoveryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecoveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RecoveryConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RecoveryConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RecoveryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecoveryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RecoveryConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RecoveryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecoveryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecoveryConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RecoveryConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RecoveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RecoveryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecoveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RecoveryConfig> parser()
Returns
Type Description
Parser<RecoveryConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RecoveryConfig getDefaultInstanceForType()
Returns
Type Description
RecoveryConfig

getParserForType()

public Parser<RecoveryConfig> getParserForType()
Returns
Type Description
Parser<RecoveryConfig>
Overrides

getScheduledSnapshotsConfig()

public ScheduledSnapshotsConfig getScheduledSnapshotsConfig()

Optional. The configuration for scheduled snapshot creation mechanism.

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

Returns
Type Description
ScheduledSnapshotsConfig

The scheduledSnapshotsConfig.

getScheduledSnapshotsConfigOrBuilder()

public ScheduledSnapshotsConfigOrBuilder getScheduledSnapshotsConfigOrBuilder()

Optional. The configuration for scheduled snapshot creation mechanism.

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

Returns
Type Description
ScheduledSnapshotsConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasScheduledSnapshotsConfig()

public boolean hasScheduledSnapshotsConfig()

Optional. The configuration for scheduled snapshot creation mechanism.

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

Returns
Type Description
boolean

Whether the scheduledSnapshotsConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RecoveryConfig.Builder newBuilderForType()
Returns
Type Description
RecoveryConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RecoveryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RecoveryConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RecoveryConfig.Builder toBuilder()
Returns
Type Description
RecoveryConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException