Class ScheduledSnapshotsConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
-
- com.google.cloud.orchestration.airflow.service.v1beta1.ScheduledSnapshotsConfig.Builder
-
- All Implemented Interfaces:
ScheduledSnapshotsConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ScheduledSnapshotsConfig
public static final class ScheduledSnapshotsConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder> implements ScheduledSnapshotsConfigOrBuilder
The configuration for scheduled snapshot creation mechanism.
Protobuf typegoogle.cloud.orchestration.airflow.service.v1beta1.ScheduledSnapshotsConfig
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
-
clear
public ScheduledSnapshotsConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
-
getDefaultInstanceForType
public ScheduledSnapshotsConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ScheduledSnapshotsConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ScheduledSnapshotsConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ScheduledSnapshotsConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
-
setField
public ScheduledSnapshotsConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
-
clearField
public ScheduledSnapshotsConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
-
clearOneof
public ScheduledSnapshotsConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
-
setRepeatedField
public ScheduledSnapshotsConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
-
addRepeatedField
public ScheduledSnapshotsConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
-
mergeFrom
public ScheduledSnapshotsConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ScheduledSnapshotsConfig.Builder>
-
mergeFrom
public ScheduledSnapshotsConfig.Builder mergeFrom(ScheduledSnapshotsConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
-
mergeFrom
public ScheduledSnapshotsConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ScheduledSnapshotsConfig.Builder>
- Throws:
IOException
-
getEnabled
public boolean getEnabled()
Optional. Whether scheduled snapshots creation is enabled.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEnabled
in interfaceScheduledSnapshotsConfigOrBuilder
- Returns:
- The enabled.
-
setEnabled
public ScheduledSnapshotsConfig.Builder setEnabled(boolean value)
Optional. Whether scheduled snapshots creation is enabled.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The enabled to set.- Returns:
- This builder for chaining.
-
clearEnabled
public ScheduledSnapshotsConfig.Builder clearEnabled()
Optional. Whether scheduled snapshots creation is enabled.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
getSnapshotLocation
public String getSnapshotLocation()
Optional. The Cloud Storage location for storing automatically created snapshots.
string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSnapshotLocation
in interfaceScheduledSnapshotsConfigOrBuilder
- Returns:
- The snapshotLocation.
-
getSnapshotLocationBytes
public com.google.protobuf.ByteString getSnapshotLocationBytes()
Optional. The Cloud Storage location for storing automatically created snapshots.
string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSnapshotLocationBytes
in interfaceScheduledSnapshotsConfigOrBuilder
- Returns:
- The bytes for snapshotLocation.
-
setSnapshotLocation
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];
- Parameters:
value
- The snapshotLocation to set.- Returns:
- 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:
- This builder for chaining.
-
setSnapshotLocationBytes
public ScheduledSnapshotsConfig.Builder setSnapshotLocationBytes(com.google.protobuf.ByteString value)
Optional. The Cloud Storage location for storing automatically created snapshots.
string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for snapshotLocation to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getSnapshotCreationSchedule
in interfaceScheduledSnapshotsConfigOrBuilder
- Returns:
- The snapshotCreationSchedule.
-
getSnapshotCreationScheduleBytes
public com.google.protobuf.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];
- Specified by:
getSnapshotCreationScheduleBytes
in interfaceScheduledSnapshotsConfigOrBuilder
- Returns:
- The bytes for snapshotCreationSchedule.
-
setSnapshotCreationSchedule
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];
- Parameters:
value
- The snapshotCreationSchedule to set.- Returns:
- 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:
- This builder for chaining.
-
setSnapshotCreationScheduleBytes
public ScheduledSnapshotsConfig.Builder setSnapshotCreationScheduleBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for snapshotCreationSchedule to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getTimeZone
in interfaceScheduledSnapshotsConfigOrBuilder
- Returns:
- The timeZone.
-
getTimeZoneBytes
public com.google.protobuf.ByteString getTimeZoneBytes()
Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTimeZoneBytes
in interfaceScheduledSnapshotsConfigOrBuilder
- Returns:
- The bytes for timeZone.
-
setTimeZone
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];
- Parameters:
value
- The timeZone to set.- Returns:
- 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:
- This builder for chaining.
-
setTimeZoneBytes
public ScheduledSnapshotsConfig.Builder setTimeZoneBytes(com.google.protobuf.ByteString value)
Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for timeZone to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ScheduledSnapshotsConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
-
mergeUnknownFields
public final ScheduledSnapshotsConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
-
-