- 6.102.1 (latest)
- 6.102.0
- 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 CopyCloudBackupAction.Builder extends GeneratedMessageV3.Builder<CopyCloudBackupAction.Builder> implements CopyCloudBackupActionOrBuilderAction that copies a Cloud Spanner database backup.
 Protobuf type google.spanner.executor.v1.CopyCloudBackupAction
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CopyCloudBackupAction.BuilderImplements
CopyCloudBackupActionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CopyCloudBackupAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |
build()
public CopyCloudBackupAction build()| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction | |
buildPartial()
public CopyCloudBackupAction buildPartial()| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction | |
clear()
public CopyCloudBackupAction.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |
clearBackupId()
public CopyCloudBackupAction.Builder clearBackupId()The id of the backup to be created, e.g. "test-backup".
 string backup_id = 3;
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | This builder for chaining. | 
clearExpireTime()
public CopyCloudBackupAction.Builder clearExpireTime()Output only. The expiration time of the backup, which must be at least 6 hours and at most 366 days from the time the request is received.
 
 .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |
clearField(Descriptors.FieldDescriptor field)
public CopyCloudBackupAction.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |
clearInstanceId()
public CopyCloudBackupAction.Builder clearInstanceId()Cloud instance ID (not path), e.g. "test-instance".
 string instance_id = 2;
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public CopyCloudBackupAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |
clearProjectId()
public CopyCloudBackupAction.Builder clearProjectId()Cloud project ID, e.g. "spanner-cloud-systest".
 string project_id = 1;
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | This builder for chaining. | 
clearSourceBackup()
public CopyCloudBackupAction.Builder clearSourceBackup()The fully qualified uri of the source backup from which this backup was copied. eg. "projects/<project_id>/instances/<instance_id>/backups/<backup_id>".
 string source_backup = 4;
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | This builder for chaining. | 
clone()
public CopyCloudBackupAction.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |
getBackupId()
public String getBackupId()The id of the backup to be created, e.g. "test-backup".
 string backup_id = 3;
| Returns | |
|---|---|
| Type | Description | 
| String | The backupId. | 
getBackupIdBytes()
public ByteString getBackupIdBytes()The id of the backup to be created, e.g. "test-backup".
 string backup_id = 3;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for backupId. | 
getDefaultInstanceForType()
public CopyCloudBackupAction getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getExpireTime()
public Timestamp getExpireTime()Output only. The expiration time of the backup, which must be at least 6 hours and at most 366 days from the time the request is received.
 
 .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The expireTime. | 
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()Output only. The expiration time of the backup, which must be at least 6 hours and at most 366 days from the time the request is received.
 
 .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()Output only. The expiration time of the backup, which must be at least 6 hours and at most 366 days from the time the request is received.
 
 .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getInstanceId()
public String getInstanceId()Cloud instance ID (not path), e.g. "test-instance".
 string instance_id = 2;
| Returns | |
|---|---|
| Type | Description | 
| String | The instanceId. | 
getInstanceIdBytes()
public ByteString getInstanceIdBytes()Cloud instance ID (not path), e.g. "test-instance".
 string instance_id = 2;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for instanceId. | 
getProjectId()
public String getProjectId()Cloud project ID, e.g. "spanner-cloud-systest".
 string project_id = 1;
| Returns | |
|---|---|
| Type | Description | 
| String | The projectId. | 
getProjectIdBytes()
public ByteString getProjectIdBytes()Cloud project ID, e.g. "spanner-cloud-systest".
 string project_id = 1;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for projectId. | 
getSourceBackup()
public String getSourceBackup()The fully qualified uri of the source backup from which this backup was copied. eg. "projects/<project_id>/instances/<instance_id>/backups/<backup_id>".
 string source_backup = 4;
| Returns | |
|---|---|
| Type | Description | 
| String | The sourceBackup. | 
getSourceBackupBytes()
public ByteString getSourceBackupBytes()The fully qualified uri of the source backup from which this backup was copied. eg. "projects/<project_id>/instances/<instance_id>/backups/<backup_id>".
 string source_backup = 4;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for sourceBackup. | 
hasExpireTime()
public boolean hasExpireTime()Output only. The expiration time of the backup, which must be at least 6 hours and at most 366 days from the time the request is received.
 
 .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the expireTime field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeExpireTime(Timestamp value)
public CopyCloudBackupAction.Builder mergeExpireTime(Timestamp value)Output only. The expiration time of the backup, which must be at least 6 hours and at most 366 days from the time the request is received.
 
 .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CopyCloudBackupAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public CopyCloudBackupAction.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |
mergeFrom(CopyCloudBackupAction other)
public CopyCloudBackupAction.Builder mergeFrom(CopyCloudBackupAction other)| Parameter | |
|---|---|
| Name | Description | 
| other | CopyCloudBackupAction | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CopyCloudBackupAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |
setBackupId(String value)
public CopyCloudBackupAction.Builder setBackupId(String value)The id of the backup to be created, e.g. "test-backup".
 string backup_id = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe backupId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | This builder for chaining. | 
setBackupIdBytes(ByteString value)
public CopyCloudBackupAction.Builder setBackupIdBytes(ByteString value)The id of the backup to be created, e.g. "test-backup".
 string backup_id = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for backupId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | This builder for chaining. | 
setExpireTime(Timestamp value)
public CopyCloudBackupAction.Builder setExpireTime(Timestamp value)Output only. The expiration time of the backup, which must be at least 6 hours and at most 366 days from the time the request is received.
 
 .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |
setExpireTime(Timestamp.Builder builderForValue)
public CopyCloudBackupAction.Builder setExpireTime(Timestamp.Builder builderForValue)Output only. The expiration time of the backup, which must be at least 6 hours and at most 366 days from the time the request is received.
 
 .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public CopyCloudBackupAction.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |
setInstanceId(String value)
public CopyCloudBackupAction.Builder setInstanceId(String value)Cloud instance ID (not path), e.g. "test-instance".
 string instance_id = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe instanceId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | This builder for chaining. | 
setInstanceIdBytes(ByteString value)
public CopyCloudBackupAction.Builder setInstanceIdBytes(ByteString value)Cloud instance ID (not path), e.g. "test-instance".
 string instance_id = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for instanceId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | This builder for chaining. | 
setProjectId(String value)
public CopyCloudBackupAction.Builder setProjectId(String value)Cloud project ID, e.g. "spanner-cloud-systest".
 string project_id = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe projectId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | This builder for chaining. | 
setProjectIdBytes(ByteString value)
public CopyCloudBackupAction.Builder setProjectIdBytes(ByteString value)Cloud project ID, e.g. "spanner-cloud-systest".
 string project_id = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for projectId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CopyCloudBackupAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |
setSourceBackup(String value)
public CopyCloudBackupAction.Builder setSourceBackup(String value)The fully qualified uri of the source backup from which this backup was copied. eg. "projects/<project_id>/instances/<instance_id>/backups/<backup_id>".
 string source_backup = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe sourceBackup to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | This builder for chaining. | 
setSourceBackupBytes(ByteString value)
public CopyCloudBackupAction.Builder setSourceBackupBytes(ByteString value)The fully qualified uri of the source backup from which this backup was copied. eg. "projects/<project_id>/instances/<instance_id>/backups/<backup_id>".
 string source_backup = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for sourceBackup to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final CopyCloudBackupAction.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| CopyCloudBackupAction.Builder | |