Class ScheduledSnapshotsConfig.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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
      • setRepeatedField

        public ScheduledSnapshotsConfig.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
      • addRepeatedField

        public ScheduledSnapshotsConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 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.
      • setUnknownFields

        public final ScheduledSnapshotsConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>
      • mergeUnknownFields

        public final ScheduledSnapshotsConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ScheduledSnapshotsConfig.Builder>