Class BackupInfo.Builder

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

    public static final class BackupInfo.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
    implements BackupInfoOrBuilder
     Information about a backup.
     
    Protobuf type google.bigtable.admin.v2.BackupInfo
    • 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<BackupInfo.Builder>
      • clear

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

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

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

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

        public BackupInfo.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<BackupInfo.Builder>
      • setField

        public BackupInfo.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<BackupInfo.Builder>
      • clearField

        public BackupInfo.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<BackupInfo.Builder>
      • clearOneof

        public BackupInfo.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<BackupInfo.Builder>
      • setRepeatedField

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

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

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

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

        public BackupInfo.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<BackupInfo.Builder>
        Throws:
        IOException
      • getBackup

        public String getBackup()
         Output only. Name of the backup.
         
        string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getBackup in interface BackupInfoOrBuilder
        Returns:
        The backup.
      • getBackupBytes

        public com.google.protobuf.ByteString getBackupBytes()
         Output only. Name of the backup.
         
        string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getBackupBytes in interface BackupInfoOrBuilder
        Returns:
        The bytes for backup.
      • setBackup

        public BackupInfo.Builder setBackup​(String value)
         Output only. Name of the backup.
         
        string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The backup to set.
        Returns:
        This builder for chaining.
      • clearBackup

        public BackupInfo.Builder clearBackup()
         Output only. Name of the backup.
         
        string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setBackupBytes

        public BackupInfo.Builder setBackupBytes​(com.google.protobuf.ByteString value)
         Output only. Name of the backup.
         
        string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for backup to set.
        Returns:
        This builder for chaining.
      • hasStartTime

        public boolean hasStartTime()
         Output only. The time that the backup was started. Row data in the backup
         will be no older than this timestamp.
         
        .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasStartTime in interface BackupInfoOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public com.google.protobuf.Timestamp getStartTime()
         Output only. The time that the backup was started. Row data in the backup
         will be no older than this timestamp.
         
        .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStartTime in interface BackupInfoOrBuilder
        Returns:
        The startTime.
      • setStartTime

        public BackupInfo.Builder setStartTime​(com.google.protobuf.Timestamp value)
         Output only. The time that the backup was started. Row data in the backup
         will be no older than this timestamp.
         
        .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setStartTime

        public BackupInfo.Builder setStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time that the backup was started. Row data in the backup
         will be no older than this timestamp.
         
        .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeStartTime

        public BackupInfo.Builder mergeStartTime​(com.google.protobuf.Timestamp value)
         Output only. The time that the backup was started. Row data in the backup
         will be no older than this timestamp.
         
        .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearStartTime

        public BackupInfo.Builder clearStartTime()
         Output only. The time that the backup was started. Row data in the backup
         will be no older than this timestamp.
         
        .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
         Output only. The time that the backup was started. Row data in the backup
         will be no older than this timestamp.
         
        .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getStartTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
         Output only. The time that the backup was started. Row data in the backup
         will be no older than this timestamp.
         
        .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStartTimeOrBuilder in interface BackupInfoOrBuilder
      • hasEndTime

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

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

        public BackupInfo.Builder setEndTime​(com.google.protobuf.Timestamp value)
         Output only. This time that the backup was finished. Row data in the
         backup will be no newer than this timestamp.
         
        .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setEndTime

        public BackupInfo.Builder setEndTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. This time that the backup was finished. Row data in the
         backup will be no newer than this timestamp.
         
        .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeEndTime

        public BackupInfo.Builder mergeEndTime​(com.google.protobuf.Timestamp value)
         Output only. This time that the backup was finished. Row data in the
         backup will be no newer than this timestamp.
         
        .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearEndTime

        public BackupInfo.Builder clearEndTime()
         Output only. This time that the backup was finished. Row data in the
         backup will be no newer than this timestamp.
         
        .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEndTimeBuilder

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

        public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
         Output only. This time that the backup was finished. Row data in the
         backup will be no newer than this timestamp.
         
        .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEndTimeOrBuilder in interface BackupInfoOrBuilder
      • getSourceTable

        public String getSourceTable()
         Output only. Name of the table the backup was created from.
         
        string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSourceTable in interface BackupInfoOrBuilder
        Returns:
        The sourceTable.
      • getSourceTableBytes

        public com.google.protobuf.ByteString getSourceTableBytes()
         Output only. Name of the table the backup was created from.
         
        string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSourceTableBytes in interface BackupInfoOrBuilder
        Returns:
        The bytes for sourceTable.
      • setSourceTable

        public BackupInfo.Builder setSourceTable​(String value)
         Output only. Name of the table the backup was created from.
         
        string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The sourceTable to set.
        Returns:
        This builder for chaining.
      • clearSourceTable

        public BackupInfo.Builder clearSourceTable()
         Output only. Name of the table the backup was created from.
         
        string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setSourceTableBytes

        public BackupInfo.Builder setSourceTableBytes​(com.google.protobuf.ByteString value)
         Output only. Name of the table the backup was created from.
         
        string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        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 BackupInfoOrBuilder
        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 BackupInfoOrBuilder
        Returns:
        The bytes for sourceBackup.
      • setSourceBackup

        public BackupInfo.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 BackupInfo.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 BackupInfo.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.
      • setUnknownFields

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

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