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 type
google.bigtable.admin.v2.BackupInfo-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Output only.Output only.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.Output only.Output only.clone()Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeEndTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(BackupInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Output only.final BackupInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Output only.setBackupBytes(com.google.protobuf.ByteString value) Output only.setEndTime(com.google.protobuf.Timestamp value) Output only.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSourceBackup(String value) Output only.setSourceBackupBytes(com.google.protobuf.ByteString value) Output only.setSourceTable(String value) Output only.setSourceTableBytes(com.google.protobuf.ByteString value) Output only.setStartTime(com.google.protobuf.Timestamp value) Output only.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.final 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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>
-
clearOneof
- 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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackupInfo.Builder>
-
mergeFrom
-
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
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
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
Output only. Name of the backup.
string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setBackupBytes
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
- 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>
-