Class CreateBackupScheduleRequest.Builder (3.30.0)

public static final class CreateBackupScheduleRequest.Builder extends GeneratedMessageV3.Builder<CreateBackupScheduleRequest.Builder> implements CreateBackupScheduleRequestOrBuilder

The request for FirestoreAdmin.CreateBackupSchedule.

Protobuf type google.firestore.admin.v1.CreateBackupScheduleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateBackupScheduleRequest build()
Returns
Type Description
CreateBackupScheduleRequest

buildPartial()

public CreateBackupScheduleRequest buildPartial()
Returns
Type Description
CreateBackupScheduleRequest

clear()

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

clearBackupSchedule()

public CreateBackupScheduleRequest.Builder clearBackupSchedule()

Required. The backup schedule to create.

.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateBackupScheduleRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateBackupScheduleRequest.Builder clearParent()

Required. The parent database.

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

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

Returns
Type Description
CreateBackupScheduleRequest.Builder

This builder for chaining.

clone()

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

getBackupSchedule()

public BackupSchedule getBackupSchedule()

Required. The backup schedule to create.

.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupSchedule

The backupSchedule.

getBackupScheduleBuilder()

public BackupSchedule.Builder getBackupScheduleBuilder()

Required. The backup schedule to create.

.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupSchedule.Builder

getBackupScheduleOrBuilder()

public BackupScheduleOrBuilder getBackupScheduleOrBuilder()

Required. The backup schedule to create.

.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupScheduleOrBuilder

getDefaultInstanceForType()

public CreateBackupScheduleRequest getDefaultInstanceForType()
Returns
Type Description
CreateBackupScheduleRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent database.

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

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent database.

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

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

Returns
Type Description
ByteString

The bytes for parent.

hasBackupSchedule()

public boolean hasBackupSchedule()

Required. The backup schedule to create.

.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the backupSchedule field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBackupSchedule(BackupSchedule value)

public CreateBackupScheduleRequest.Builder mergeBackupSchedule(BackupSchedule value)

Required. The backup schedule to create.

.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BackupSchedule
Returns
Type Description
CreateBackupScheduleRequest.Builder

mergeFrom(CreateBackupScheduleRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBackupSchedule(BackupSchedule value)

public CreateBackupScheduleRequest.Builder setBackupSchedule(BackupSchedule value)

Required. The backup schedule to create.

.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BackupSchedule
Returns
Type Description
CreateBackupScheduleRequest.Builder

setBackupSchedule(BackupSchedule.Builder builderForValue)

public CreateBackupScheduleRequest.Builder setBackupSchedule(BackupSchedule.Builder builderForValue)

Required. The backup schedule to create.

.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue BackupSchedule.Builder
Returns
Type Description
CreateBackupScheduleRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateBackupScheduleRequest.Builder setParent(String value)

Required. The parent database.

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

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateBackupScheduleRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateBackupScheduleRequest.Builder setParentBytes(ByteString value)

Required. The parent database.

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

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateBackupScheduleRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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