public final class ScheduledSnapshotsConfig extends GeneratedMessageV3 implements ScheduledSnapshotsConfigOrBuilder
The configuration for scheduled snapshot creation mechanism.
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ScheduledSnapshotsConfig.Builder newBuilder()
newBuilder(ScheduledSnapshotsConfig prototype)
public static ScheduledSnapshotsConfig.Builder newBuilder(ScheduledSnapshotsConfig prototype)
public static ScheduledSnapshotsConfig parseDelimitedFrom(InputStream input)
public static ScheduledSnapshotsConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ScheduledSnapshotsConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScheduledSnapshotsConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ScheduledSnapshotsConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScheduledSnapshotsConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScheduledSnapshotsConfig parseFrom(CodedInputStream input)
public static ScheduledSnapshotsConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ScheduledSnapshotsConfig parseFrom(InputStream input)
public static ScheduledSnapshotsConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ScheduledSnapshotsConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScheduledSnapshotsConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ScheduledSnapshotsConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ScheduledSnapshotsConfig getDefaultInstanceForType()
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()
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ScheduledSnapshotsConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ScheduledSnapshotsConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ScheduledSnapshotsConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides