Class Backup.Builder

  • All Implemented Interfaces:
    BackupOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Backup

    public static final class Backup.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
    implements BackupOrBuilder
     A backup of a Cloud Bigtable table.
     
    Protobuf type google.bigtable.admin.v2.Backup
    • 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<Backup.Builder>
      • clear

        public Backup.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.GeneratedMessageV3.Builder<Backup.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<Backup.Builder>
      • getDefaultInstanceForType

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

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

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

        public Backup.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
      • setField

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

        public Backup.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
      • clearOneof

        public Backup.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
      • setRepeatedField

        public Backup.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<Backup.Builder>
      • addRepeatedField

        public Backup.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<Backup.Builder>
      • mergeFrom

        public Backup.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<Backup.Builder>
      • isInitialized

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

        public Backup.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<Backup.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         A globally unique identifier for the backup which cannot be
         changed. Values are of the form
         `projects/{project}/instances/{instance}/clusters/{cluster}/
            backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
         The final segment of the name must be between 1 and 50 characters
         in length.
        
         The backup is stored in the cluster identified by the prefix of the backup
         name of the form
         `projects/{project}/instances/{instance}/clusters/{cluster}`.
         
        string name = 1;
        Specified by:
        getName in interface BackupOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         A globally unique identifier for the backup which cannot be
         changed. Values are of the form
         `projects/{project}/instances/{instance}/clusters/{cluster}/
            backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
         The final segment of the name must be between 1 and 50 characters
         in length.
        
         The backup is stored in the cluster identified by the prefix of the backup
         name of the form
         `projects/{project}/instances/{instance}/clusters/{cluster}`.
         
        string name = 1;
        Specified by:
        getNameBytes in interface BackupOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Backup.Builder setName​(String value)
         A globally unique identifier for the backup which cannot be
         changed. Values are of the form
         `projects/{project}/instances/{instance}/clusters/{cluster}/
            backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
         The final segment of the name must be between 1 and 50 characters
         in length.
        
         The backup is stored in the cluster identified by the prefix of the backup
         name of the form
         `projects/{project}/instances/{instance}/clusters/{cluster}`.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Backup.Builder clearName()
         A globally unique identifier for the backup which cannot be
         changed. Values are of the form
         `projects/{project}/instances/{instance}/clusters/{cluster}/
            backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
         The final segment of the name must be between 1 and 50 characters
         in length.
        
         The backup is stored in the cluster identified by the prefix of the backup
         name of the form
         `projects/{project}/instances/{instance}/clusters/{cluster}`.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Backup.Builder setNameBytes​(com.google.protobuf.ByteString value)
         A globally unique identifier for the backup which cannot be
         changed. Values are of the form
         `projects/{project}/instances/{instance}/clusters/{cluster}/
            backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
         The final segment of the name must be between 1 and 50 characters
         in length.
        
         The backup is stored in the cluster identified by the prefix of the backup
         name of the form
         `projects/{project}/instances/{instance}/clusters/{cluster}`.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getSourceTable

        public String getSourceTable()
         Required. Immutable. Name of the table from which this backup was created.
         This needs to be in the same instance as the backup. Values are of the form
         `projects/{project}/instances/{instance}/tables/{source_table}`.
         
        string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getSourceTable in interface BackupOrBuilder
        Returns:
        The sourceTable.
      • getSourceTableBytes

        public com.google.protobuf.ByteString getSourceTableBytes()
         Required. Immutable. Name of the table from which this backup was created.
         This needs to be in the same instance as the backup. Values are of the form
         `projects/{project}/instances/{instance}/tables/{source_table}`.
         
        string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getSourceTableBytes in interface BackupOrBuilder
        Returns:
        The bytes for sourceTable.
      • setSourceTable

        public Backup.Builder setSourceTable​(String value)
         Required. Immutable. Name of the table from which this backup was created.
         This needs to be in the same instance as the backup. Values are of the form
         `projects/{project}/instances/{instance}/tables/{source_table}`.
         
        string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The sourceTable to set.
        Returns:
        This builder for chaining.
      • clearSourceTable

        public Backup.Builder clearSourceTable()
         Required. Immutable. Name of the table from which this backup was created.
         This needs to be in the same instance as the backup. Values are of the form
         `projects/{project}/instances/{instance}/tables/{source_table}`.
         
        string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setSourceTableBytes

        public Backup.Builder setSourceTableBytes​(com.google.protobuf.ByteString value)
         Required. Immutable. Name of the table from which this backup was created.
         This needs to be in the same instance as the backup. Values are of the form
         `projects/{project}/instances/{instance}/tables/{source_table}`.
         
        string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for sourceTable to set.
        Returns:
        This builder for chaining.
      • getSourceBackup

        public String getSourceBackup()
         Output only. Name of the backup from which this backup was copied. If a
         backup is not created by copying a backup, this field will be empty. Values
         are of the form: projects/<project>/instances/<instance>/backups/<backup>.
         
        string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSourceBackup in interface BackupOrBuilder
        Returns:
        The sourceBackup.
      • getSourceBackupBytes

        public com.google.protobuf.ByteString getSourceBackupBytes()
         Output only. Name of the backup from which this backup was copied. If a
         backup is not created by copying a backup, this field will be empty. Values
         are of the form: projects/<project>/instances/<instance>/backups/<backup>.
         
        string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSourceBackupBytes in interface BackupOrBuilder
        Returns:
        The bytes for sourceBackup.
      • setSourceBackup

        public Backup.Builder setSourceBackup​(String value)
         Output only. Name of the backup from which this backup was copied. If a
         backup is not created by copying a backup, this field will be empty. Values
         are of the form: projects/<project>/instances/<instance>/backups/<backup>.
         
        string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The sourceBackup to set.
        Returns:
        This builder for chaining.
      • clearSourceBackup

        public Backup.Builder clearSourceBackup()
         Output only. Name of the backup from which this backup was copied. If a
         backup is not created by copying a backup, this field will be empty. Values
         are of the form: projects/<project>/instances/<instance>/backups/<backup>.
         
        string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setSourceBackupBytes

        public Backup.Builder setSourceBackupBytes​(com.google.protobuf.ByteString value)
         Output only. Name of the backup from which this backup was copied. If a
         backup is not created by copying a backup, this field will be empty. Values
         are of the form: projects/<project>/instances/<instance>/backups/<backup>.
         
        string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for sourceBackup to set.
        Returns:
        This builder for chaining.
      • hasExpireTime

        public boolean hasExpireTime()
         Required. The expiration time of the backup, with microseconds
         granularity that must be at least 6 hours and at most 90 days
         from the time the request is received. Once the `expire_time`
         has passed, Cloud Bigtable will delete the backup and free the
         resources used by the backup.
         
        .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasExpireTime in interface BackupOrBuilder
        Returns:
        Whether the expireTime field is set.
      • getExpireTime

        public com.google.protobuf.Timestamp getExpireTime()
         Required. The expiration time of the backup, with microseconds
         granularity that must be at least 6 hours and at most 90 days
         from the time the request is received. Once the `expire_time`
         has passed, Cloud Bigtable will delete the backup and free the
         resources used by the backup.
         
        .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getExpireTime in interface BackupOrBuilder
        Returns:
        The expireTime.
      • setExpireTime

        public Backup.Builder setExpireTime​(com.google.protobuf.Timestamp value)
         Required. The expiration time of the backup, with microseconds
         granularity that must be at least 6 hours and at most 90 days
         from the time the request is received. Once the `expire_time`
         has passed, Cloud Bigtable will delete the backup and free the
         resources used by the backup.
         
        .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
      • setExpireTime

        public Backup.Builder setExpireTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Required. The expiration time of the backup, with microseconds
         granularity that must be at least 6 hours and at most 90 days
         from the time the request is received. Once the `expire_time`
         has passed, Cloud Bigtable will delete the backup and free the
         resources used by the backup.
         
        .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeExpireTime

        public Backup.Builder mergeExpireTime​(com.google.protobuf.Timestamp value)
         Required. The expiration time of the backup, with microseconds
         granularity that must be at least 6 hours and at most 90 days
         from the time the request is received. Once the `expire_time`
         has passed, Cloud Bigtable will delete the backup and free the
         resources used by the backup.
         
        .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearExpireTime

        public Backup.Builder clearExpireTime()
         Required. The expiration time of the backup, with microseconds
         granularity that must be at least 6 hours and at most 90 days
         from the time the request is received. Once the `expire_time`
         has passed, Cloud Bigtable will delete the backup and free the
         resources used by the backup.
         
        .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
      • getExpireTimeBuilder

        public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
         Required. The expiration time of the backup, with microseconds
         granularity that must be at least 6 hours and at most 90 days
         from the time the request is received. Once the `expire_time`
         has passed, Cloud Bigtable will delete the backup and free the
         resources used by the backup.
         
        .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
      • getExpireTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
         Required. The expiration time of the backup, with microseconds
         granularity that must be at least 6 hours and at most 90 days
         from the time the request is received. Once the `expire_time`
         has passed, Cloud Bigtable will delete the backup and free the
         resources used by the backup.
         
        .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getExpireTimeOrBuilder in interface BackupOrBuilder
      • hasStartTime

        public boolean hasStartTime()
         Output only. `start_time` is the time that the backup was started
         (i.e. approximately the time the
         [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]
         request is received).  The row data in this backup will be no older than
         this timestamp.
         
        .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasStartTime in interface BackupOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public com.google.protobuf.Timestamp getStartTime()
         Output only. `start_time` is the time that the backup was started
         (i.e. approximately the time the
         [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]
         request is received).  The row data in this backup will be no older than
         this timestamp.
         
        .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStartTime in interface BackupOrBuilder
        Returns:
        The startTime.
      • setStartTime

        public Backup.Builder setStartTime​(com.google.protobuf.Timestamp value)
         Output only. `start_time` is the time that the backup was started
         (i.e. approximately the time the
         [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]
         request is received).  The row data in this backup will be no older than
         this timestamp.
         
        .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setStartTime

        public Backup.Builder setStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. `start_time` is the time that the backup was started
         (i.e. approximately the time the
         [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]
         request is received).  The row data in this backup will be no older than
         this timestamp.
         
        .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeStartTime

        public Backup.Builder mergeStartTime​(com.google.protobuf.Timestamp value)
         Output only. `start_time` is the time that the backup was started
         (i.e. approximately the time the
         [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]
         request is received).  The row data in this backup will be no older than
         this timestamp.
         
        .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearStartTime

        public Backup.Builder clearStartTime()
         Output only. `start_time` is the time that the backup was started
         (i.e. approximately the time the
         [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]
         request is received).  The row data in this backup will be no older than
         this timestamp.
         
        .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
         Output only. `start_time` is the time that the backup was started
         (i.e. approximately the time the
         [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]
         request is received).  The row data in this backup will be no older than
         this timestamp.
         
        .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getStartTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
         Output only. `start_time` is the time that the backup was started
         (i.e. approximately the time the
         [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]
         request is received).  The row data in this backup will be no older than
         this timestamp.
         
        .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStartTimeOrBuilder in interface BackupOrBuilder
      • hasEndTime

        public boolean hasEndTime()
         Output only. `end_time` is the time that the backup was finished. The row
         data in the backup will be no newer than this timestamp.
         
        .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasEndTime in interface BackupOrBuilder
        Returns:
        Whether the endTime field is set.
      • getEndTime

        public com.google.protobuf.Timestamp getEndTime()
         Output only. `end_time` is the time that the backup was finished. The row
         data in the backup will be no newer than this timestamp.
         
        .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEndTime in interface BackupOrBuilder
        Returns:
        The endTime.
      • setEndTime

        public Backup.Builder setEndTime​(com.google.protobuf.Timestamp value)
         Output only. `end_time` is the time that the backup was finished. The row
         data in the backup will be no newer than this timestamp.
         
        .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setEndTime

        public Backup.Builder setEndTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. `end_time` is the time that the backup was finished. The row
         data in the backup will be no newer than this timestamp.
         
        .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeEndTime

        public Backup.Builder mergeEndTime​(com.google.protobuf.Timestamp value)
         Output only. `end_time` is the time that the backup was finished. The row
         data in the backup will be no newer than this timestamp.
         
        .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearEndTime

        public Backup.Builder clearEndTime()
         Output only. `end_time` is the time that the backup was finished. The row
         data in the backup will be no newer than this timestamp.
         
        .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEndTimeBuilder

        public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
         Output only. `end_time` is the time that the backup was finished. The row
         data in the backup will be no newer than this timestamp.
         
        .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEndTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
         Output only. `end_time` is the time that the backup was finished. The row
         data in the backup will be no newer than this timestamp.
         
        .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEndTimeOrBuilder in interface BackupOrBuilder
      • getSizeBytes

        public long getSizeBytes()
         Output only. Size of the backup in bytes.
         
        int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSizeBytes in interface BackupOrBuilder
        Returns:
        The sizeBytes.
      • setSizeBytes

        public Backup.Builder setSizeBytes​(long value)
         Output only. Size of the backup in bytes.
         
        int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The sizeBytes to set.
        Returns:
        This builder for chaining.
      • clearSizeBytes

        public Backup.Builder clearSizeBytes()
         Output only. Size of the backup in bytes.
         
        int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getStateValue

        public int getStateValue()
         Output only. The current state of the backup.
         
        .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface BackupOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public Backup.Builder setStateValue​(int value)
         Output only. The current state of the backup.
         
        .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • getState

        public Backup.State getState()
         Output only. The current state of the backup.
         
        .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface BackupOrBuilder
        Returns:
        The state.
      • setState

        public Backup.Builder setState​(Backup.State value)
         Output only. The current state of the backup.
         
        .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Backup.Builder clearState()
         Output only. The current state of the backup.
         
        .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasEncryptionInfo

        public boolean hasEncryptionInfo()
         Output only. The encryption information for the backup.
         
        .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasEncryptionInfo in interface BackupOrBuilder
        Returns:
        Whether the encryptionInfo field is set.
      • getEncryptionInfo

        public EncryptionInfo getEncryptionInfo()
         Output only. The encryption information for the backup.
         
        .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEncryptionInfo in interface BackupOrBuilder
        Returns:
        The encryptionInfo.
      • setEncryptionInfo

        public Backup.Builder setEncryptionInfo​(EncryptionInfo value)
         Output only. The encryption information for the backup.
         
        .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setEncryptionInfo

        public Backup.Builder setEncryptionInfo​(EncryptionInfo.Builder builderForValue)
         Output only. The encryption information for the backup.
         
        .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeEncryptionInfo

        public Backup.Builder mergeEncryptionInfo​(EncryptionInfo value)
         Output only. The encryption information for the backup.
         
        .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearEncryptionInfo

        public Backup.Builder clearEncryptionInfo()
         Output only. The encryption information for the backup.
         
        .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEncryptionInfoBuilder

        public EncryptionInfo.Builder getEncryptionInfoBuilder()
         Output only. The encryption information for the backup.
         
        .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEncryptionInfoOrBuilder

        public EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()
         Output only. The encryption information for the backup.
         
        .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEncryptionInfoOrBuilder in interface BackupOrBuilder
      • setUnknownFields

        public final Backup.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<Backup.Builder>
      • mergeUnknownFields

        public final Backup.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<Backup.Builder>