Class DeleteBackupScheduleRequest.Builder (3.20.0)

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

The request for [FirestoreAdmin.DeleteBackupSchedules][].

Protobuf type google.firestore.admin.v1.DeleteBackupScheduleRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteBackupScheduleRequest build()
Returns
TypeDescription
DeleteBackupScheduleRequest

buildPartial()

public DeleteBackupScheduleRequest buildPartial()
Returns
TypeDescription
DeleteBackupScheduleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteBackupScheduleRequest.Builder clearName()

Required. The name of backup schedule.

Format projects/{project}/databases/{database}/backupSchedules/{backup_schedule}

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

Returns
TypeDescription
DeleteBackupScheduleRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteBackupScheduleRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteBackupScheduleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of backup schedule.

Format projects/{project}/databases/{database}/backupSchedules/{backup_schedule}

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of backup schedule.

Format projects/{project}/databases/{database}/backupSchedules/{backup_schedule}

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteBackupScheduleRequest other)

public DeleteBackupScheduleRequest.Builder mergeFrom(DeleteBackupScheduleRequest other)
Parameter
NameDescription
otherDeleteBackupScheduleRequest
Returns
TypeDescription
DeleteBackupScheduleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteBackupScheduleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteBackupScheduleRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteBackupScheduleRequest.Builder setName(String value)

Required. The name of backup schedule.

Format projects/{project}/databases/{database}/backupSchedules/{backup_schedule}

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteBackupScheduleRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteBackupScheduleRequest.Builder setNameBytes(ByteString value)

Required. The name of backup schedule.

Format projects/{project}/databases/{database}/backupSchedules/{backup_schedule}

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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