public static final class ScheduledSnapshotsConfig.Builder extends GeneratedMessage.Builder<ScheduledSnapshotsConfig.Builder> implements ScheduledSnapshotsConfigOrBuilderThe configuration for scheduled snapshot creation mechanism.
Protobuf type
google.cloud.orchestration.airflow.service.v1beta1.ScheduledSnapshotsConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ScheduledSnapshotsConfig.BuilderImplements
ScheduledSnapshotsConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ScheduledSnapshotsConfig build()| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig |
|
buildPartial()
public ScheduledSnapshotsConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig |
|
clear()
public ScheduledSnapshotsConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig.Builder |
|
clearEnabled()
public ScheduledSnapshotsConfig.Builder clearEnabled()Optional. Whether scheduled snapshots creation is enabled.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig.Builder |
This builder for chaining. |
clearSnapshotCreationSchedule()
public ScheduledSnapshotsConfig.Builder clearSnapshotCreationSchedule()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 |
ScheduledSnapshotsConfig.Builder |
This builder for chaining. |
clearSnapshotLocation()
public ScheduledSnapshotsConfig.Builder clearSnapshotLocation()Optional. The Cloud Storage location for storing automatically created snapshots.
string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig.Builder |
This builder for chaining. |
clearTimeZone()
public ScheduledSnapshotsConfig.Builder clearTimeZone()Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ScheduledSnapshotsConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ScheduledSnapshotsConfig other)
public ScheduledSnapshotsConfig.Builder mergeFrom(ScheduledSnapshotsConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ScheduledSnapshotsConfig |
| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ScheduledSnapshotsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ScheduledSnapshotsConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig.Builder |
|
setEnabled(boolean value)
public ScheduledSnapshotsConfig.Builder setEnabled(boolean value)Optional. Whether scheduled snapshots creation is enabled.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enabled to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig.Builder |
This builder for chaining. |
setSnapshotCreationSchedule(String value)
public ScheduledSnapshotsConfig.Builder setSnapshotCreationSchedule(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe snapshotCreationSchedule to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig.Builder |
This builder for chaining. |
setSnapshotCreationScheduleBytes(ByteString value)
public ScheduledSnapshotsConfig.Builder setSnapshotCreationScheduleBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for snapshotCreationSchedule to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig.Builder |
This builder for chaining. |
setSnapshotLocation(String value)
public ScheduledSnapshotsConfig.Builder setSnapshotLocation(String value)Optional. The Cloud Storage location for storing automatically created snapshots.
string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe snapshotLocation to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig.Builder |
This builder for chaining. |
setSnapshotLocationBytes(ByteString value)
public ScheduledSnapshotsConfig.Builder setSnapshotLocationBytes(ByteString value)Optional. The Cloud Storage location for storing automatically created snapshots.
string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for snapshotLocation to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig.Builder |
This builder for chaining. |
setTimeZone(String value)
public ScheduledSnapshotsConfig.Builder setTimeZone(String value)Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe timeZone to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig.Builder |
This builder for chaining. |
setTimeZoneBytes(ByteString value)
public ScheduledSnapshotsConfig.Builder setTimeZoneBytes(ByteString value)Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for timeZone to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledSnapshotsConfig.Builder |
This builder for chaining. |