- 6.102.0 (latest)
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class BackupInfo.Builder extends GeneratedMessageV3.Builder<BackupInfo.Builder> implements BackupInfoOrBuilderInformation about a backup.
Protobuf type google.spanner.admin.database.v1.BackupInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BackupInfo.BuilderImplements
BackupInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackupInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
build()
public BackupInfo build()| Returns | |
|---|---|
| Type | Description |
BackupInfo |
|
buildPartial()
public BackupInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
BackupInfo |
|
clear()
public BackupInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
clearBackup()
public BackupInfo.Builder clearBackup()Name of the backup.
string backup = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
This builder for chaining. |
clearCreateTime()
public BackupInfo.Builder clearCreateTime()The time the CreateBackup request was received.
.google.protobuf.Timestamp create_time = 2;
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public BackupInfo.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public BackupInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
clearSourceDatabase()
public BackupInfo.Builder clearSourceDatabase()Name of the database the backup was created from.
string source_database = 3 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
This builder for chaining. |
clearVersionTime()
public BackupInfo.Builder clearVersionTime() The backup contains an externally consistent copy of source_database at
the timestamp specified by version_time. If the
CreateBackup
request did not specify version_time, the version_time of the backup is
equivalent to the create_time.
.google.protobuf.Timestamp version_time = 4;
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
clone()
public BackupInfo.Builder clone()| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
getBackup()
public String getBackup()Name of the backup.
string backup = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The backup. |
getBackupBytes()
public ByteString getBackupBytes()Name of the backup.
string backup = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for backup. |
getCreateTime()
public Timestamp getCreateTime()The time the CreateBackup request was received.
.google.protobuf.Timestamp create_time = 2;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()The time the CreateBackup request was received.
.google.protobuf.Timestamp create_time = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()The time the CreateBackup request was received.
.google.protobuf.Timestamp create_time = 2;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public BackupInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BackupInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSourceDatabase()
public String getSourceDatabase()Name of the database the backup was created from.
string source_database = 3 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The sourceDatabase. |
getSourceDatabaseBytes()
public ByteString getSourceDatabaseBytes()Name of the database the backup was created from.
string source_database = 3 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceDatabase. |
getVersionTime()
public Timestamp getVersionTime() The backup contains an externally consistent copy of source_database at
the timestamp specified by version_time. If the
CreateBackup
request did not specify version_time, the version_time of the backup is
equivalent to the create_time.
.google.protobuf.Timestamp version_time = 4;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The versionTime. |
getVersionTimeBuilder()
public Timestamp.Builder getVersionTimeBuilder() The backup contains an externally consistent copy of source_database at
the timestamp specified by version_time. If the
CreateBackup
request did not specify version_time, the version_time of the backup is
equivalent to the create_time.
.google.protobuf.Timestamp version_time = 4;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getVersionTimeOrBuilder()
public TimestampOrBuilder getVersionTimeOrBuilder() The backup contains an externally consistent copy of source_database at
the timestamp specified by version_time. If the
CreateBackup
request did not specify version_time, the version_time of the backup is
equivalent to the create_time.
.google.protobuf.Timestamp version_time = 4;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()The time the CreateBackup request was received.
.google.protobuf.Timestamp create_time = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasVersionTime()
public boolean hasVersionTime() The backup contains an externally consistent copy of source_database at
the timestamp specified by version_time. If the
CreateBackup
request did not specify version_time, the version_time of the backup is
equivalent to the create_time.
.google.protobuf.Timestamp version_time = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the versionTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public BackupInfo.Builder mergeCreateTime(Timestamp value)The time the CreateBackup request was received.
.google.protobuf.Timestamp create_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackupInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BackupInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
mergeFrom(BackupInfo other)
public BackupInfo.Builder mergeFrom(BackupInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
BackupInfo |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackupInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
mergeVersionTime(Timestamp value)
public BackupInfo.Builder mergeVersionTime(Timestamp value) The backup contains an externally consistent copy of source_database at
the timestamp specified by version_time. If the
CreateBackup
request did not specify version_time, the version_time of the backup is
equivalent to the create_time.
.google.protobuf.Timestamp version_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
setBackup(String value)
public BackupInfo.Builder setBackup(String value)Name of the backup.
string backup = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe backup to set. |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
This builder for chaining. |
setBackupBytes(ByteString value)
public BackupInfo.Builder setBackupBytes(ByteString value)Name of the backup.
string backup = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for backup to set. |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public BackupInfo.Builder setCreateTime(Timestamp value)The time the CreateBackup request was received.
.google.protobuf.Timestamp create_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public BackupInfo.Builder setCreateTime(Timestamp.Builder builderForValue)The time the CreateBackup request was received.
.google.protobuf.Timestamp create_time = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public BackupInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackupInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
setSourceDatabase(String value)
public BackupInfo.Builder setSourceDatabase(String value)Name of the database the backup was created from.
string source_database = 3 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceDatabase to set. |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
This builder for chaining. |
setSourceDatabaseBytes(ByteString value)
public BackupInfo.Builder setSourceDatabaseBytes(ByteString value)Name of the database the backup was created from.
string source_database = 3 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceDatabase to set. |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BackupInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
setVersionTime(Timestamp value)
public BackupInfo.Builder setVersionTime(Timestamp value) The backup contains an externally consistent copy of source_database at
the timestamp specified by version_time. If the
CreateBackup
request did not specify version_time, the version_time of the backup is
equivalent to the create_time.
.google.protobuf.Timestamp version_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|
setVersionTime(Timestamp.Builder builderForValue)
public BackupInfo.Builder setVersionTime(Timestamp.Builder builderForValue) The backup contains an externally consistent copy of source_database at
the timestamp specified by version_time. If the
CreateBackup
request did not specify version_time, the version_time of the backup is
equivalent to the create_time.
.google.protobuf.Timestamp version_time = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BackupInfo.Builder |
|