Class UpdateCloudBackupAction.Builder (6.57.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateCloudBackupAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateCloudBackupAction.Builder
Overrides

build()

public UpdateCloudBackupAction build()
Returns
TypeDescription
UpdateCloudBackupAction

buildPartial()

public UpdateCloudBackupAction buildPartial()
Returns
TypeDescription
UpdateCloudBackupAction

clear()

public UpdateCloudBackupAction.Builder clear()
Returns
TypeDescription
UpdateCloudBackupAction.Builder
Overrides

clearBackupId()

public UpdateCloudBackupAction.Builder clearBackupId()

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

string backup_id = 3;

Returns
TypeDescription
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
TypeDescription
UpdateCloudBackupAction.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateCloudBackupAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateCloudBackupAction.Builder
Overrides

clearInstanceId()

public UpdateCloudBackupAction.Builder clearInstanceId()

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

string instance_id = 2;

Returns
TypeDescription
UpdateCloudBackupAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateCloudBackupAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateCloudBackupAction.Builder
Overrides

clearProjectId()

public UpdateCloudBackupAction.Builder clearProjectId()

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

string project_id = 1;

Returns
TypeDescription
UpdateCloudBackupAction.Builder

This builder for chaining.

clone()

public UpdateCloudBackupAction.Builder clone()
Returns
TypeDescription
UpdateCloudBackupAction.Builder
Overrides

getBackupId()

public String getBackupId()

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

string backup_id = 3;

Returns
TypeDescription
String

The backupId.

getBackupIdBytes()

public ByteString getBackupIdBytes()

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

string backup_id = 3;

Returns
TypeDescription
ByteString

The bytes for backupId.

getDefaultInstanceForType()

public UpdateCloudBackupAction getDefaultInstanceForType()
Returns
TypeDescription
UpdateCloudBackupAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getInstanceId()

public String getInstanceId()

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

string instance_id = 2;

Returns
TypeDescription
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

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

string instance_id = 2;

Returns
TypeDescription
ByteString

The bytes for instanceId.

getProjectId()

public String getProjectId()

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

string project_id = 1;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

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

string project_id = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the expireTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
UpdateCloudBackupAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateCloudBackupAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateCloudBackupAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateCloudBackupAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateCloudBackupAction.Builder
Overrides

mergeFrom(UpdateCloudBackupAction other)

public UpdateCloudBackupAction.Builder mergeFrom(UpdateCloudBackupAction other)
Parameter
NameDescription
otherUpdateCloudBackupAction
Returns
TypeDescription
UpdateCloudBackupAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCloudBackupAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The backupId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for backupId to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateCloudBackupAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateCloudBackupAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The instanceId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for instanceId to set.

Returns
TypeDescription
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
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateCloudBackupAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCloudBackupAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateCloudBackupAction.Builder
Overrides