Class ScheduledSnapshotsConfig (1.41.0)

public final class ScheduledSnapshotsConfig extends GeneratedMessageV3 implements ScheduledSnapshotsConfigOrBuilder

The configuration for scheduled snapshot creation mechanism.

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

Static Fields

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

SNAPSHOT_CREATION_SCHEDULE_FIELD_NUMBER

public static final int SNAPSHOT_CREATION_SCHEDULE_FIELD_NUMBER
Field Value
TypeDescription
int

SNAPSHOT_LOCATION_FIELD_NUMBER

public static final int SNAPSHOT_LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

TIME_ZONE_FIELD_NUMBER

public static final int TIME_ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ScheduledSnapshotsConfig getDefaultInstance()
Returns
TypeDescription
ScheduledSnapshotsConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ScheduledSnapshotsConfig.Builder newBuilder()
Returns
TypeDescription
ScheduledSnapshotsConfig.Builder

newBuilder(ScheduledSnapshotsConfig prototype)

public static ScheduledSnapshotsConfig.Builder newBuilder(ScheduledSnapshotsConfig prototype)
Parameter
NameDescription
prototypeScheduledSnapshotsConfig
Returns
TypeDescription
ScheduledSnapshotsConfig.Builder

parseDelimitedFrom(InputStream input)

public static ScheduledSnapshotsConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ScheduledSnapshotsConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ScheduledSnapshotsConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScheduledSnapshotsConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ScheduledSnapshotsConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ScheduledSnapshotsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ScheduledSnapshotsConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScheduledSnapshotsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ScheduledSnapshotsConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ScheduledSnapshotsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ScheduledSnapshotsConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScheduledSnapshotsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ScheduledSnapshotsConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ScheduledSnapshotsConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ScheduledSnapshotsConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScheduledSnapshotsConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ScheduledSnapshotsConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ScheduledSnapshotsConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ScheduledSnapshotsConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScheduledSnapshotsConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ScheduledSnapshotsConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ScheduledSnapshotsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ScheduledSnapshotsConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScheduledSnapshotsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ScheduledSnapshotsConfig> parser()
Returns
TypeDescription
Parser<ScheduledSnapshotsConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ScheduledSnapshotsConfig getDefaultInstanceForType()
Returns
TypeDescription
ScheduledSnapshotsConfig

getEnabled()

public boolean getEnabled()

Optional. Whether scheduled snapshots creation is enabled.

bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The enabled.

getParserForType()

public Parser<ScheduledSnapshotsConfig> getParserForType()
Returns
TypeDescription
Parser<ScheduledSnapshotsConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSnapshotCreationSchedule()

public String getSnapshotCreationSchedule()

Optional. The cron expression representing the time when snapshots creation mechanism runs. This field is subject to additional validation around frequency of execution.

string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The snapshotCreationSchedule.

getSnapshotCreationScheduleBytes()

public ByteString getSnapshotCreationScheduleBytes()

Optional. The cron expression representing the time when snapshots creation mechanism runs. This field is subject to additional validation around frequency of execution.

string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for snapshotCreationSchedule.

getSnapshotLocation()

public String getSnapshotLocation()

Optional. The Cloud Storage location for storing automatically created snapshots.

string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The snapshotLocation.

getSnapshotLocationBytes()

public ByteString getSnapshotLocationBytes()

Optional. The Cloud Storage location for storing automatically created snapshots.

string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for snapshotLocation.

getTimeZone()

public String getTimeZone()

Optional. Time zone that sets the context to interpret snapshot_creation_schedule.

string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The timeZone.

getTimeZoneBytes()

public ByteString getTimeZoneBytes()

Optional. Time zone that sets the context to interpret snapshot_creation_schedule.

string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for timeZone.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ScheduledSnapshotsConfig.Builder newBuilderForType()
Returns
TypeDescription
ScheduledSnapshotsConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ScheduledSnapshotsConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ScheduledSnapshotsConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ScheduledSnapshotsConfig.Builder toBuilder()
Returns
TypeDescription
ScheduledSnapshotsConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException