Class ScheduledSnapshotsConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<ScheduledSnapshotsConfig.Builder> implements ScheduledSnapshotsConfigOrBuilder
 The configuration for scheduled snapshot creation mechanism.
 
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.ScheduledSnapshotsConfig
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ScheduledSnapshotsConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ScheduledSnapshotsConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ScheduledSnapshotsConfig.Builder>
    • getDefaultInstanceForType

      public ScheduledSnapshotsConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ScheduledSnapshotsConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ScheduledSnapshotsConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ScheduledSnapshotsConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ScheduledSnapshotsConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ScheduledSnapshotsConfig.Builder>
    • mergeFrom

      public ScheduledSnapshotsConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface ScheduledSnapshotsConfigOrBuilder
      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 interface ScheduledSnapshotsConfigOrBuilder
      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 interface ScheduledSnapshotsConfigOrBuilder
      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 interface ScheduledSnapshotsConfigOrBuilder
      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 interface ScheduledSnapshotsConfigOrBuilder
      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 interface ScheduledSnapshotsConfigOrBuilder
      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 interface ScheduledSnapshotsConfigOrBuilder
      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.