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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BackupInfobuild()BackupInfobuildPartial()BackupInfo.Builderclear()BackupInfo.BuilderclearBackup()Output only.BackupInfo.BuilderclearEndTime()Output only.BackupInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BackupInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BackupInfo.BuilderclearSourceBackup()Output only.BackupInfo.BuilderclearSourceTable()Output only.BackupInfo.BuilderclearStartTime()Output only.BackupInfo.Builderclone()StringgetBackup()Output only.com.google.protobuf.ByteStringgetBackupBytes()Output only.BackupInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetEndTime()Output only.com.google.protobuf.Timestamp.BuildergetEndTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()Output only.StringgetSourceBackup()Output only.com.google.protobuf.ByteStringgetSourceBackupBytes()Output only.StringgetSourceTable()Output only.com.google.protobuf.ByteStringgetSourceTableBytes()Output only.com.google.protobuf.TimestampgetStartTime()Output only.com.google.protobuf.Timestamp.BuildergetStartTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Output only.booleanhasEndTime()Output only.booleanhasStartTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BackupInfo.BuildermergeEndTime(com.google.protobuf.Timestamp value)Output only.BackupInfo.BuildermergeFrom(BackupInfo other)BackupInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BackupInfo.BuildermergeFrom(com.google.protobuf.Message other)BackupInfo.BuildermergeStartTime(com.google.protobuf.Timestamp value)Output only.BackupInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BackupInfo.BuildersetBackup(String value)Output only.BackupInfo.BuildersetBackupBytes(com.google.protobuf.ByteString value)Output only.BackupInfo.BuildersetEndTime(com.google.protobuf.Timestamp value)Output only.BackupInfo.BuildersetEndTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.BackupInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BackupInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BackupInfo.BuildersetSourceBackup(String value)Output only.BackupInfo.BuildersetSourceBackupBytes(com.google.protobuf.ByteString value)Output only.BackupInfo.BuildersetSourceTable(String value)Output only.BackupInfo.BuildersetSourceTableBytes(com.google.protobuf.ByteString value)Output only.BackupInfo.BuildersetStartTime(com.google.protobuf.Timestamp value)Output only.BackupInfo.BuildersetStartTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.BackupInfo.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
-
clear
public BackupInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
-
getDefaultInstanceForType
public BackupInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BackupInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BackupInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BackupInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
-
setField
public BackupInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
-
clearField
public BackupInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
-
clearOneof
public BackupInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
-
setRepeatedField
public BackupInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
-
addRepeatedField
public BackupInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
-
mergeFrom
public BackupInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackupInfo.Builder>
-
mergeFrom
public BackupInfo.Builder mergeFrom(BackupInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getBackupin 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:
getBackupBytesin 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:
hasStartTimein 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:
getStartTimein 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:
getStartTimeOrBuilderin 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:
hasEndTimein 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:
getEndTimein 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:
getEndTimeOrBuilderin 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:
getSourceTablein 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:
getSourceTableBytesin 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:
getSourceBackupin 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:
getSourceBackupBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
-
mergeUnknownFields
public final BackupInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
-
-