Package com.google.bigtable.admin.v2
Class BackupInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
-
- com.google.bigtable.admin.v2.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 typegoogle.bigtable.admin.v2.BackupInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BackupInfo
build()
BackupInfo
buildPartial()
BackupInfo.Builder
clear()
BackupInfo.Builder
clearBackup()
Output only.BackupInfo.Builder
clearEndTime()
Output only.BackupInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BackupInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BackupInfo.Builder
clearSourceBackup()
Output only.BackupInfo.Builder
clearSourceTable()
Output only.BackupInfo.Builder
clearStartTime()
Output only.BackupInfo.Builder
clone()
String
getBackup()
Output only.com.google.protobuf.ByteString
getBackupBytes()
Output only.BackupInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getEndTime()
Output only.com.google.protobuf.Timestamp.Builder
getEndTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
Output only.String
getSourceBackup()
Output only.com.google.protobuf.ByteString
getSourceBackupBytes()
Output only.String
getSourceTable()
Output only.com.google.protobuf.ByteString
getSourceTableBytes()
Output only.com.google.protobuf.Timestamp
getStartTime()
Output only.com.google.protobuf.Timestamp.Builder
getStartTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Output only.boolean
hasEndTime()
Output only.boolean
hasStartTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BackupInfo.Builder
mergeEndTime(com.google.protobuf.Timestamp value)
Output only.BackupInfo.Builder
mergeFrom(BackupInfo other)
BackupInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BackupInfo.Builder
mergeFrom(com.google.protobuf.Message other)
BackupInfo.Builder
mergeStartTime(com.google.protobuf.Timestamp value)
Output only.BackupInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BackupInfo.Builder
setBackup(String value)
Output only.BackupInfo.Builder
setBackupBytes(com.google.protobuf.ByteString value)
Output only.BackupInfo.Builder
setEndTime(com.google.protobuf.Timestamp value)
Output only.BackupInfo.Builder
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.BackupInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BackupInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
BackupInfo.Builder
setSourceBackup(String value)
Output only.BackupInfo.Builder
setSourceBackupBytes(com.google.protobuf.ByteString value)
Output only.BackupInfo.Builder
setSourceTable(String value)
Output only.BackupInfo.Builder
setSourceTableBytes(com.google.protobuf.ByteString value)
Output only.BackupInfo.Builder
setStartTime(com.google.protobuf.Timestamp value)
Output only.BackupInfo.Builder
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.BackupInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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<BackupInfo.Builder>
-
clear
public BackupInfo.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<BackupInfo.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<BackupInfo.Builder>
-
getDefaultInstanceForType
public BackupInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BackupInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BackupInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BackupInfo.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<BackupInfo.Builder>
-
setField
public BackupInfo.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<BackupInfo.Builder>
-
clearField
public BackupInfo.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<BackupInfo.Builder>
-
clearOneof
public BackupInfo.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<BackupInfo.Builder>
-
setRepeatedField
public BackupInfo.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<BackupInfo.Builder>
-
addRepeatedField
public BackupInfo.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<BackupInfo.Builder>
-
mergeFrom
public BackupInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BackupInfo.Builder>
-
mergeFrom
public BackupInfo.Builder mergeFrom(BackupInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceBackupInfoOrBuilder
- 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 interfaceBackupInfoOrBuilder
- 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 interfaceBackupInfoOrBuilder
- 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 interfaceBackupInfoOrBuilder
- 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 interfaceBackupInfoOrBuilder
-
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 interfaceBackupInfoOrBuilder
- 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 interfaceBackupInfoOrBuilder
- 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 interfaceBackupInfoOrBuilder
-
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 interfaceBackupInfoOrBuilder
- 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 interfaceBackupInfoOrBuilder
- 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 interfaceBackupInfoOrBuilder
- 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 interfaceBackupInfoOrBuilder
- 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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
-
mergeUnknownFields
public final BackupInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
-
-