Package com.google.bigtable.admin.v2
Class Backup.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
- com.google.bigtable.admin.v2.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 typegoogle.bigtable.admin.v2.Backup
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Backup.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Backup
build()
Backup
buildPartial()
Backup.Builder
clear()
Backup.Builder
clearEncryptionInfo()
Output only.Backup.Builder
clearEndTime()
Output only.Backup.Builder
clearExpireTime()
Required.Backup.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Backup.Builder
clearName()
A globally unique identifier for the backup which cannot be changed.Backup.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Backup.Builder
clearSizeBytes()
Output only.Backup.Builder
clearSourceBackup()
Output only.Backup.Builder
clearSourceTable()
Required.Backup.Builder
clearStartTime()
Output only.Backup.Builder
clearState()
Output only.Backup.Builder
clone()
Backup
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
EncryptionInfo
getEncryptionInfo()
Output only.EncryptionInfo.Builder
getEncryptionInfoBuilder()
Output only.EncryptionInfoOrBuilder
getEncryptionInfoOrBuilder()
Output only.com.google.protobuf.Timestamp
getEndTime()
Output only.com.google.protobuf.Timestamp.Builder
getEndTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
Output only.com.google.protobuf.Timestamp
getExpireTime()
Required.com.google.protobuf.Timestamp.Builder
getExpireTimeBuilder()
Required.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
Required.String
getName()
A globally unique identifier for the backup which cannot be changed.com.google.protobuf.ByteString
getNameBytes()
A globally unique identifier for the backup which cannot be changed.long
getSizeBytes()
Output only.String
getSourceBackup()
Output only.com.google.protobuf.ByteString
getSourceBackupBytes()
Output only.String
getSourceTable()
Required.com.google.protobuf.ByteString
getSourceTableBytes()
Required.com.google.protobuf.Timestamp
getStartTime()
Output only.com.google.protobuf.Timestamp.Builder
getStartTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Output only.Backup.State
getState()
Output only.int
getStateValue()
Output only.boolean
hasEncryptionInfo()
Output only.boolean
hasEndTime()
Output only.boolean
hasExpireTime()
Required.boolean
hasStartTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Backup.Builder
mergeEncryptionInfo(EncryptionInfo value)
Output only.Backup.Builder
mergeEndTime(com.google.protobuf.Timestamp value)
Output only.Backup.Builder
mergeExpireTime(com.google.protobuf.Timestamp value)
Required.Backup.Builder
mergeFrom(Backup other)
Backup.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Backup.Builder
mergeFrom(com.google.protobuf.Message other)
Backup.Builder
mergeStartTime(com.google.protobuf.Timestamp value)
Output only.Backup.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Backup.Builder
setEncryptionInfo(EncryptionInfo value)
Output only.Backup.Builder
setEncryptionInfo(EncryptionInfo.Builder builderForValue)
Output only.Backup.Builder
setEndTime(com.google.protobuf.Timestamp value)
Output only.Backup.Builder
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Backup.Builder
setExpireTime(com.google.protobuf.Timestamp value)
Required.Backup.Builder
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Required.Backup.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Backup.Builder
setName(String value)
A globally unique identifier for the backup which cannot be changed.Backup.Builder
setNameBytes(com.google.protobuf.ByteString value)
A globally unique identifier for the backup which cannot be changed.Backup.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Backup.Builder
setSizeBytes(long value)
Output only.Backup.Builder
setSourceBackup(String value)
Output only.Backup.Builder
setSourceBackupBytes(com.google.protobuf.ByteString value)
Output only.Backup.Builder
setSourceTable(String value)
Required.Backup.Builder
setSourceTableBytes(com.google.protobuf.ByteString value)
Required.Backup.Builder
setStartTime(com.google.protobuf.Timestamp value)
Output only.Backup.Builder
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Backup.Builder
setState(Backup.State value)
Output only.Backup.Builder
setStateValue(int value)
Output only.Backup.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<Backup.Builder>
-
clear
public Backup.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<Backup.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<Backup.Builder>
-
getDefaultInstanceForType
public Backup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Backup build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Backup buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Backup.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<Backup.Builder>
-
setField
public Backup.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<Backup.Builder>
-
clearField
public Backup.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<Backup.Builder>
-
clearOneof
public Backup.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<Backup.Builder>
-
setRepeatedField
public Backup.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<Backup.Builder>
-
addRepeatedField
public Backup.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<Backup.Builder>
-
mergeFrom
public Backup.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Backup.Builder>
-
mergeFrom
public Backup.Builder mergeFrom(Backup other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
-
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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
-
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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
-
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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
- 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 interfaceBackupOrBuilder
-
setUnknownFields
public final Backup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
mergeUnknownFields
public final Backup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
-