public static final class Backup.Builder extends GeneratedMessageV3.Builder<Backup.Builder> implements BackupOrBuilder
A backup of a Cloud Bigtable table.
Protobuf type google.bigtable.admin.v2.Backup
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Backup.BuilderImplements
BackupOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Backup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Backup.Builder |
build()
public Backup build()
Type | Description |
Backup |
buildPartial()
public Backup buildPartial()
Type | Description |
Backup |
clear()
public Backup.Builder clear()
Type | Description |
Backup.Builder |
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];
Type | Description |
Backup.Builder |
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];
Type | Description |
Backup.Builder |
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 30 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];
Type | Description |
Backup.Builder |
clearField(Descriptors.FieldDescriptor field)
public Backup.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Backup.Builder |
clearName()
public Backup.Builder clearName()
Output only. 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*
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Backup.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Backup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Backup.Builder |
clearSizeBytes()
public Backup.Builder clearSizeBytes()
Output only. Size of the backup in bytes.
int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Backup.Builder | 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];
Type | Description |
Backup.Builder | This builder for chaining. |
clearStartTime()
public Backup.Builder clearStartTime()
Output only. start_time
is the time that the backup was started
(i.e. approximately the time the
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];
Type | Description |
Backup.Builder |
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];
Type | Description |
Backup.Builder | This builder for chaining. |
clone()
public Backup.Builder clone()
Type | Description |
Backup.Builder |
getDefaultInstanceForType()
public Backup getDefaultInstanceForType()
Type | Description |
Backup |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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];
Type | Description |
EncryptionInfo | The encryptionInfo. |
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];
Type | Description |
EncryptionInfo.Builder |
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];
Type | Description |
EncryptionInfoOrBuilder |
getEndTime()
public 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];
Type | Description |
Timestamp | The endTime. |
getEndTimeBuilder()
public 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];
Type | Description |
Builder |
getEndTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
getExpireTime()
public Timestamp getExpireTime()
Required. The expiration time of the backup, with microseconds
granularity that must be at least 6 hours and at most 30 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];
Type | Description |
Timestamp | The expireTime. |
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()
Required. The expiration time of the backup, with microseconds
granularity that must be at least 6 hours and at most 30 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];
Type | Description |
Builder |
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()
Required. The expiration time of the backup, with microseconds
granularity that must be at least 6 hours and at most 30 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];
Type | Description |
TimestampOrBuilder |
getName()
public String getName()
Output only. 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*
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. 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*
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getSizeBytes()
public long getSizeBytes()
Output only. Size of the backup in bytes.
int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
long | The sizeBytes. |
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];
Type | Description |
String | The sourceTable. |
getSourceTableBytes()
public 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];
Type | Description |
ByteString | The bytes for sourceTable. |
getStartTime()
public Timestamp getStartTime()
Output only. start_time
is the time that the backup was started
(i.e. approximately the time the
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];
Type | Description |
Timestamp | The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Output only. start_time
is the time that the backup was started
(i.e. approximately the time the
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];
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. start_time
is the time that the backup was started
(i.e. approximately the time the
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];
Type | Description |
TimestampOrBuilder |
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];
Type | Description |
Backup.State | The state. |
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];
Type | Description |
int | The enum numeric value on the wire for state. |
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];
Type | Description |
boolean | Whether the encryptionInfo field is set. |
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];
Type | Description |
boolean | Whether the endTime field is set. |
hasExpireTime()
public boolean hasExpireTime()
Required. The expiration time of the backup, with microseconds
granularity that must be at least 6 hours and at most 30 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];
Type | Description |
boolean | Whether the expireTime field is set. |
hasStartTime()
public boolean hasStartTime()
Output only. start_time
is the time that the backup was started
(i.e. approximately the time the
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];
Type | Description |
boolean | Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeEncryptionInfo(EncryptionInfo value)
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];
Name | Description |
value | EncryptionInfo |
Type | Description |
Backup.Builder |
mergeEndTime(Timestamp value)
public Backup.Builder mergeEndTime(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];
Name | Description |
value | Timestamp |
Type | Description |
Backup.Builder |
mergeExpireTime(Timestamp value)
public Backup.Builder mergeExpireTime(Timestamp value)
Required. The expiration time of the backup, with microseconds
granularity that must be at least 6 hours and at most 30 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];
Name | Description |
value | Timestamp |
Type | Description |
Backup.Builder |
mergeFrom(Backup other)
public Backup.Builder mergeFrom(Backup other)
Name | Description |
other | Backup |
Type | Description |
Backup.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Backup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Backup.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Backup.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Backup.Builder |
mergeStartTime(Timestamp value)
public Backup.Builder mergeStartTime(Timestamp value)
Output only. start_time
is the time that the backup was started
(i.e. approximately the time the
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];
Name | Description |
value | Timestamp |
Type | Description |
Backup.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Backup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Backup.Builder |
setEncryptionInfo(EncryptionInfo value)
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];
Name | Description |
value | EncryptionInfo |
Type | Description |
Backup.Builder |
setEncryptionInfo(EncryptionInfo.Builder builderForValue)
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];
Name | Description |
builderForValue | EncryptionInfo.Builder |
Type | Description |
Backup.Builder |
setEndTime(Timestamp value)
public Backup.Builder setEndTime(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];
Name | Description |
value | Timestamp |
Type | Description |
Backup.Builder |
setEndTime(Timestamp.Builder builderForValue)
public Backup.Builder setEndTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
Backup.Builder |
setExpireTime(Timestamp value)
public Backup.Builder setExpireTime(Timestamp value)
Required. The expiration time of the backup, with microseconds
granularity that must be at least 6 hours and at most 30 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];
Name | Description |
value | Timestamp |
Type | Description |
Backup.Builder |
setExpireTime(Timestamp.Builder builderForValue)
public Backup.Builder setExpireTime(Timestamp.Builder builderForValue)
Required. The expiration time of the backup, with microseconds
granularity that must be at least 6 hours and at most 30 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];
Name | Description |
builderForValue | Builder |
Type | Description |
Backup.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Backup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Backup.Builder |
setName(String value)
public Backup.Builder setName(String value)
Output only. 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*
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
Backup.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Backup.Builder setNameBytes(ByteString value)
Output only. 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*
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Backup.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Backup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Backup.Builder |
setSizeBytes(long value)
public Backup.Builder setSizeBytes(long value)
Output only. Size of the backup in bytes.
int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | long The sizeBytes to set. |
Type | Description |
Backup.Builder | This builder for chaining. |
setSourceTable(String value)
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];
Name | Description |
value | String The sourceTable to set. |
Type | Description |
Backup.Builder | This builder for chaining. |
setSourceTableBytes(ByteString value)
public Backup.Builder setSourceTableBytes(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];
Name | Description |
value | ByteString The bytes for sourceTable to set. |
Type | Description |
Backup.Builder | This builder for chaining. |
setStartTime(Timestamp value)
public Backup.Builder setStartTime(Timestamp value)
Output only. start_time
is the time that the backup was started
(i.e. approximately the time the
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];
Name | Description |
value | Timestamp |
Type | Description |
Backup.Builder |
setStartTime(Timestamp.Builder builderForValue)
public Backup.Builder setStartTime(Timestamp.Builder builderForValue)
Output only. start_time
is the time that the backup was started
(i.e. approximately the time the
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];
Name | Description |
builderForValue | Builder |
Type | Description |
Backup.Builder |
setState(Backup.State value)
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];
Name | Description |
value | Backup.State The state to set. |
Type | Description |
Backup.Builder | This builder for chaining. |
setStateValue(int value)
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];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Backup.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Backup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Backup.Builder |