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
SNAPSHOT_CREATION_SCHEDULE_FIELD_NUMBER
public static final int SNAPSHOT_CREATION_SCHEDULE_FIELD_NUMBER
Field Value
SNAPSHOT_LOCATION_FIELD_NUMBER
public static final int SNAPSHOT_LOCATION_FIELD_NUMBER
Field Value
TIME_ZONE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ScheduledSnapshotsConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ScheduledSnapshotsConfig.Builder newBuilder()
Returns
newBuilder(ScheduledSnapshotsConfig prototype)
public static ScheduledSnapshotsConfig.Builder newBuilder(ScheduledSnapshotsConfig prototype)
Parameter
Returns
public static ScheduledSnapshotsConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ScheduledSnapshotsConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ScheduledSnapshotsConfig parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScheduledSnapshotsConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ScheduledSnapshotsConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScheduledSnapshotsConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ScheduledSnapshotsConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ScheduledSnapshotsConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ScheduledSnapshotsConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ScheduledSnapshotsConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ScheduledSnapshotsConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScheduledSnapshotsConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ScheduledSnapshotsConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ScheduledSnapshotsConfig getDefaultInstanceForType()
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ScheduledSnapshotsConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ScheduledSnapshotsConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ScheduledSnapshotsConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions