Class ScheduledSnapshotsConfig (1.22.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
Type Description
int

SNAPSHOT_CREATION_SCHEDULE_FIELD_NUMBER

public static final int SNAPSHOT_CREATION_SCHEDULE_FIELD_NUMBER
Field Value
Type Description
int

SNAPSHOT_LOCATION_FIELD_NUMBER

public static final int SNAPSHOT_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

TIME_ZONE_FIELD_NUMBER

public static final int TIME_ZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ScheduledSnapshotsConfig getDefaultInstance()
Returns
Type Description
ScheduledSnapshotsConfig

getDescriptor()

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

newBuilder()

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

newBuilder(ScheduledSnapshotsConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ScheduledSnapshotsConfig getDefaultInstanceForType()
Returns
Type Description
ScheduledSnapshotsConfig

getEnabled()

public boolean getEnabled()

Optional. Whether scheduled snapshots creation is enabled.

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

Returns
Type Description
boolean

The enabled.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for timeZone.

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 ScheduledSnapshotsConfig.Builder newBuilderForType()
Returns
Type Description
ScheduledSnapshotsConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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