Class UpdateCloudBackupAction.Builder (6.74.1)

public static final class UpdateCloudBackupAction.Builder extends GeneratedMessageV3.Builder<UpdateCloudBackupAction.Builder> implements UpdateCloudBackupActionOrBuilder

Action that updates a Cloud Spanner database backup.

Protobuf type google.spanner.executor.v1.UpdateCloudBackupAction

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateCloudBackupAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateCloudBackupAction.Builder
Overrides

build()

public UpdateCloudBackupAction build()
Returns
Type Description
UpdateCloudBackupAction

buildPartial()

public UpdateCloudBackupAction buildPartial()
Returns
Type Description
UpdateCloudBackupAction

clear()

public UpdateCloudBackupAction.Builder clear()
Returns
Type Description
UpdateCloudBackupAction.Builder
Overrides

clearBackupId()

public UpdateCloudBackupAction.Builder clearBackupId()

The id of the backup to update, e.g. "test-backup".

string backup_id = 3;

Returns
Type Description
UpdateCloudBackupAction.Builder

This builder for chaining.

clearExpireTime()

public UpdateCloudBackupAction.Builder clearExpireTime()

Output only. Updated value of expire_time, this is the only field that supported to be updated.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UpdateCloudBackupAction.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateCloudBackupAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateCloudBackupAction.Builder
Overrides

clearInstanceId()

public UpdateCloudBackupAction.Builder clearInstanceId()

Cloud instance ID (not path), e.g. "test-instance".

string instance_id = 2;

Returns
Type Description
UpdateCloudBackupAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateCloudBackupAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateCloudBackupAction.Builder
Overrides

clearProjectId()

public UpdateCloudBackupAction.Builder clearProjectId()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Returns
Type Description
UpdateCloudBackupAction.Builder

This builder for chaining.

clone()

public UpdateCloudBackupAction.Builder clone()
Returns
Type Description
UpdateCloudBackupAction.Builder
Overrides

getBackupId()

public String getBackupId()

The id of the backup to update, e.g. "test-backup".

string backup_id = 3;

Returns
Type Description
String

The backupId.

getBackupIdBytes()

public ByteString getBackupIdBytes()

The id of the backup to update, e.g. "test-backup".

string backup_id = 3;

Returns
Type Description
ByteString

The bytes for backupId.

getDefaultInstanceForType()

public UpdateCloudBackupAction getDefaultInstanceForType()
Returns
Type Description
UpdateCloudBackupAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExpireTime()

public Timestamp getExpireTime()

Output only. Updated value of expire_time, this is the only field that supported to be updated.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeBuilder()

public Timestamp.Builder getExpireTimeBuilder()

Output only. Updated value of expire_time, this is the only field that supported to be updated.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getExpireTimeOrBuilder()

public TimestampOrBuilder getExpireTimeOrBuilder()

Output only. Updated value of expire_time, this is the only field that supported to be updated.

.google.protobuf.Timestamp expire_time = 4 [(.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.

hasExpireTime()

public boolean hasExpireTime()

Output only. Updated value of expire_time, this is the only field that supported to be updated.

.google.protobuf.Timestamp expire_time = 4 [(.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExpireTime(Timestamp value)

public UpdateCloudBackupAction.Builder mergeExpireTime(Timestamp value)

Output only. Updated value of expire_time, this is the only field that supported to be updated.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdateCloudBackupAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateCloudBackupAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateCloudBackupAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateCloudBackupAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateCloudBackupAction.Builder
Overrides

mergeFrom(UpdateCloudBackupAction other)

public UpdateCloudBackupAction.Builder mergeFrom(UpdateCloudBackupAction other)
Parameter
Name Description
other UpdateCloudBackupAction
Returns
Type Description
UpdateCloudBackupAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCloudBackupAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateCloudBackupAction.Builder
Overrides

setBackupId(String value)

public UpdateCloudBackupAction.Builder setBackupId(String value)

The id of the backup to update, e.g. "test-backup".

string backup_id = 3;

Parameter
Name Description
value String

The backupId to set.

Returns
Type Description
UpdateCloudBackupAction.Builder

This builder for chaining.

setBackupIdBytes(ByteString value)

public UpdateCloudBackupAction.Builder setBackupIdBytes(ByteString value)

The id of the backup to update, e.g. "test-backup".

string backup_id = 3;

Parameter
Name Description
value ByteString

The bytes for backupId to set.

Returns
Type Description
UpdateCloudBackupAction.Builder

This builder for chaining.

setExpireTime(Timestamp value)

public UpdateCloudBackupAction.Builder setExpireTime(Timestamp value)

Output only. Updated value of expire_time, this is the only field that supported to be updated.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdateCloudBackupAction.Builder

setExpireTime(Timestamp.Builder builderForValue)

public UpdateCloudBackupAction.Builder setExpireTime(Timestamp.Builder builderForValue)

Output only. Updated value of expire_time, this is the only field that supported to be updated.

.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateCloudBackupAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateCloudBackupAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateCloudBackupAction.Builder
Overrides

setInstanceId(String value)

public UpdateCloudBackupAction.Builder setInstanceId(String value)

Cloud instance ID (not path), e.g. "test-instance".

string instance_id = 2;

Parameter
Name Description
value String

The instanceId to set.

Returns
Type Description
UpdateCloudBackupAction.Builder

This builder for chaining.

setInstanceIdBytes(ByteString value)

public UpdateCloudBackupAction.Builder setInstanceIdBytes(ByteString value)

Cloud instance ID (not path), e.g. "test-instance".

string instance_id = 2;

Parameter
Name Description
value ByteString

The bytes for instanceId to set.

Returns
Type Description
UpdateCloudBackupAction.Builder

This builder for chaining.

setProjectId(String value)

public UpdateCloudBackupAction.Builder setProjectId(String value)

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
UpdateCloudBackupAction.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public UpdateCloudBackupAction.Builder setProjectIdBytes(ByteString value)

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
UpdateCloudBackupAction.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateCloudBackupAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateCloudBackupAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCloudBackupAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateCloudBackupAction.Builder
Overrides