Class DeleteBackupScheduleRequest.Builder (6.83.0)

public static final class DeleteBackupScheduleRequest.Builder extends GeneratedMessageV3.Builder<DeleteBackupScheduleRequest.Builder> implements DeleteBackupScheduleRequestOrBuilder

The request for DeleteBackupSchedule.

Protobuf type google.spanner.admin.database.v1.DeleteBackupScheduleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteBackupScheduleRequest build()
Returns
Type Description
DeleteBackupScheduleRequest

buildPartial()

public DeleteBackupScheduleRequest buildPartial()
Returns
Type Description
DeleteBackupScheduleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteBackupScheduleRequest.Builder clearName()

Required. The name of the schedule to delete. Values are of the form projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeleteBackupScheduleRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteBackupScheduleRequest getDefaultInstanceForType()
Returns
Type Description
DeleteBackupScheduleRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the schedule to delete. Values are of the form projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the schedule to delete. Values are of the form projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(DeleteBackupScheduleRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteBackupScheduleRequest.Builder setName(String value)

Required. The name of the schedule to delete. Values are of the form projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteBackupScheduleRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteBackupScheduleRequest.Builder setNameBytes(ByteString value)

Required. The name of the schedule to delete. Values are of the form projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteBackupScheduleRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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