Class ListBackupSchedulesResponse.Builder (6.83.0)

public static final class ListBackupSchedulesResponse.Builder extends GeneratedMessageV3.Builder<ListBackupSchedulesResponse.Builder> implements ListBackupSchedulesResponseOrBuilder

The response for ListBackupSchedules.

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

Static Methods

getDescriptor()

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

Methods

addAllBackupSchedules(Iterable<? extends BackupSchedule> values)

public ListBackupSchedulesResponse.Builder addAllBackupSchedules(Iterable<? extends BackupSchedule> values)

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Parameter
Name Description
values Iterable<? extends com.google.spanner.admin.database.v1.BackupSchedule>
Returns
Type Description
ListBackupSchedulesResponse.Builder

addBackupSchedules(BackupSchedule value)

public ListBackupSchedulesResponse.Builder addBackupSchedules(BackupSchedule value)

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Parameter
Name Description
value BackupSchedule
Returns
Type Description
ListBackupSchedulesResponse.Builder

addBackupSchedules(BackupSchedule.Builder builderForValue)

public ListBackupSchedulesResponse.Builder addBackupSchedules(BackupSchedule.Builder builderForValue)

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

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

addBackupSchedules(int index, BackupSchedule value)

public ListBackupSchedulesResponse.Builder addBackupSchedules(int index, BackupSchedule value)

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Parameters
Name Description
index int
value BackupSchedule
Returns
Type Description
ListBackupSchedulesResponse.Builder

addBackupSchedules(int index, BackupSchedule.Builder builderForValue)

public ListBackupSchedulesResponse.Builder addBackupSchedules(int index, BackupSchedule.Builder builderForValue)

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Parameters
Name Description
index int
builderForValue BackupSchedule.Builder
Returns
Type Description
ListBackupSchedulesResponse.Builder

addBackupSchedulesBuilder()

public BackupSchedule.Builder addBackupSchedulesBuilder()

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Returns
Type Description
BackupSchedule.Builder

addBackupSchedulesBuilder(int index)

public BackupSchedule.Builder addBackupSchedulesBuilder(int index)

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupSchedule.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListBackupSchedulesResponse build()
Returns
Type Description
ListBackupSchedulesResponse

buildPartial()

public ListBackupSchedulesResponse buildPartial()
Returns
Type Description
ListBackupSchedulesResponse

clear()

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

clearBackupSchedules()

public ListBackupSchedulesResponse.Builder clearBackupSchedules()

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Returns
Type Description
ListBackupSchedulesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListBackupSchedulesResponse.Builder clearNextPageToken()

next_page_token can be sent in a subsequent ListBackupSchedules call to fetch more of the schedules.

string next_page_token = 2;

Returns
Type Description
ListBackupSchedulesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBackupSchedules(int index)

public BackupSchedule getBackupSchedules(int index)

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupSchedule

getBackupSchedulesBuilder(int index)

public BackupSchedule.Builder getBackupSchedulesBuilder(int index)

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupSchedule.Builder

getBackupSchedulesBuilderList()

public List<BackupSchedule.Builder> getBackupSchedulesBuilderList()

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Returns
Type Description
List<Builder>

getBackupSchedulesCount()

public int getBackupSchedulesCount()

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Returns
Type Description
int

getBackupSchedulesList()

public List<BackupSchedule> getBackupSchedulesList()

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Returns
Type Description
List<BackupSchedule>

getBackupSchedulesOrBuilder(int index)

public BackupScheduleOrBuilder getBackupSchedulesOrBuilder(int index)

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupScheduleOrBuilder

getBackupSchedulesOrBuilderList()

public List<? extends BackupScheduleOrBuilder> getBackupSchedulesOrBuilderList()

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Returns
Type Description
List<? extends com.google.spanner.admin.database.v1.BackupScheduleOrBuilder>

getDefaultInstanceForType()

public ListBackupSchedulesResponse getDefaultInstanceForType()
Returns
Type Description
ListBackupSchedulesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

next_page_token can be sent in a subsequent ListBackupSchedules call to fetch more of the schedules.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

next_page_token can be sent in a subsequent ListBackupSchedules call to fetch more of the schedules.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

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 ListBackupSchedulesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBackupSchedulesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(ListBackupSchedulesResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeBackupSchedules(int index)

public ListBackupSchedulesResponse.Builder removeBackupSchedules(int index)

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Parameter
Name Description
index int
Returns
Type Description
ListBackupSchedulesResponse.Builder

setBackupSchedules(int index, BackupSchedule value)

public ListBackupSchedulesResponse.Builder setBackupSchedules(int index, BackupSchedule value)

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Parameters
Name Description
index int
value BackupSchedule
Returns
Type Description
ListBackupSchedulesResponse.Builder

setBackupSchedules(int index, BackupSchedule.Builder builderForValue)

public ListBackupSchedulesResponse.Builder setBackupSchedules(int index, BackupSchedule.Builder builderForValue)

The list of backup schedules for a database.

repeated .google.spanner.admin.database.v1.BackupSchedule backup_schedules = 1;

Parameters
Name Description
index int
builderForValue BackupSchedule.Builder
Returns
Type Description
ListBackupSchedulesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListBackupSchedulesResponse.Builder setNextPageToken(String value)

next_page_token can be sent in a subsequent ListBackupSchedules call to fetch more of the schedules.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListBackupSchedulesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListBackupSchedulesResponse.Builder setNextPageTokenBytes(ByteString value)

next_page_token can be sent in a subsequent ListBackupSchedules call to fetch more of the schedules.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListBackupSchedulesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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