- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
public static final class ScheduledSnapshotsConfig.Builder extends GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder> implements ScheduledSnapshotsConfigOrBuilder
The configuration for scheduled snapshot creation mechanism.
Protobuf type
google.cloud.orchestration.airflow.service.v1beta1.ScheduledSnapshotsConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ScheduledSnapshotsConfig.BuilderImplements
ScheduledSnapshotsConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ScheduledSnapshotsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ScheduledSnapshotsConfig.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public ScheduledSnapshotsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ScheduledSnapshotsConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ScheduledSnapshotsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ScheduledSnapshotsConfig.Builder |
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. |
clone()
public ScheduledSnapshotsConfig.Builder clone()
Returns | |
---|---|
Type | Description |
ScheduledSnapshotsConfig.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ScheduledSnapshotsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
boolean The enabled to set. |
Returns | |
---|---|
Type | Description |
ScheduledSnapshotsConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ScheduledSnapshotsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ScheduledSnapshotsConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ScheduledSnapshotsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ScheduledSnapshotsConfig.Builder |
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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The bytes for timeZone to set. |
Returns | |
---|---|
Type | Description |
ScheduledSnapshotsConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ScheduledSnapshotsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ScheduledSnapshotsConfig.Builder |