Class BackupRunsListResponse.Builder (0.1.0)

public static final class BackupRunsListResponse.Builder extends GeneratedMessage.Builder<BackupRunsListResponse.Builder> implements BackupRunsListResponseOrBuilder

Backup run list results.

Protobuf type google.cloud.sql.v1.BackupRunsListResponse

Static Methods

getDescriptor()

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

Methods

addAllItems(Iterable<? extends BackupRun> values)

public BackupRunsListResponse.Builder addAllItems(Iterable<? extends BackupRun> values)

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.sql.v1.BackupRun>
Returns
Type Description
BackupRunsListResponse.Builder

addItems(BackupRun value)

public BackupRunsListResponse.Builder addItems(BackupRun value)

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Parameter
Name Description
value BackupRun
Returns
Type Description
BackupRunsListResponse.Builder

addItems(BackupRun.Builder builderForValue)

public BackupRunsListResponse.Builder addItems(BackupRun.Builder builderForValue)

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Parameter
Name Description
builderForValue BackupRun.Builder
Returns
Type Description
BackupRunsListResponse.Builder

addItems(int index, BackupRun value)

public BackupRunsListResponse.Builder addItems(int index, BackupRun value)

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Parameters
Name Description
index int
value BackupRun
Returns
Type Description
BackupRunsListResponse.Builder

addItems(int index, BackupRun.Builder builderForValue)

public BackupRunsListResponse.Builder addItems(int index, BackupRun.Builder builderForValue)

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Parameters
Name Description
index int
builderForValue BackupRun.Builder
Returns
Type Description
BackupRunsListResponse.Builder

addItemsBuilder()

public BackupRun.Builder addItemsBuilder()

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Returns
Type Description
BackupRun.Builder

addItemsBuilder(int index)

public BackupRun.Builder addItemsBuilder(int index)

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Parameter
Name Description
index int
Returns
Type Description
BackupRun.Builder

build()

public BackupRunsListResponse build()
Returns
Type Description
BackupRunsListResponse

buildPartial()

public BackupRunsListResponse buildPartial()
Returns
Type Description
BackupRunsListResponse

clear()

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

clearItems()

public BackupRunsListResponse.Builder clearItems()

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Returns
Type Description
BackupRunsListResponse.Builder

clearKind()

public BackupRunsListResponse.Builder clearKind()

This is always sql#backupRunsList.

string kind = 1;

Returns
Type Description
BackupRunsListResponse.Builder

This builder for chaining.

clearNextPageToken()

public BackupRunsListResponse.Builder clearNextPageToken()

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

string next_page_token = 3;

Returns
Type Description
BackupRunsListResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public BackupRunsListResponse getDefaultInstanceForType()
Returns
Type Description
BackupRunsListResponse

getDescriptorForType()

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

getItems(int index)

public BackupRun getItems(int index)

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Parameter
Name Description
index int
Returns
Type Description
BackupRun

getItemsBuilder(int index)

public BackupRun.Builder getItemsBuilder(int index)

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Parameter
Name Description
index int
Returns
Type Description
BackupRun.Builder

getItemsBuilderList()

public List<BackupRun.Builder> getItemsBuilderList()

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Returns
Type Description
List<Builder>

getItemsCount()

public int getItemsCount()

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Returns
Type Description
int

getItemsList()

public List<BackupRun> getItemsList()

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Returns
Type Description
List<BackupRun>

getItemsOrBuilder(int index)

public BackupRunOrBuilder getItemsOrBuilder(int index)

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Parameter
Name Description
index int
Returns
Type Description
BackupRunOrBuilder

getItemsOrBuilderList()

public List<? extends BackupRunOrBuilder> getItemsOrBuilderList()

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Returns
Type Description
List<? extends com.google.cloud.sql.v1.BackupRunOrBuilder>

getKind()

public String getKind()

This is always sql#backupRunsList.

string kind = 1;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

This is always sql#backupRunsList.

string kind = 1;

Returns
Type Description
ByteString

The bytes for kind.

getNextPageToken()

public String getNextPageToken()

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

string next_page_token = 3;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

string next_page_token = 3;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BackupRunsListResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeItems(int index)

public BackupRunsListResponse.Builder removeItems(int index)

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Parameter
Name Description
index int
Returns
Type Description
BackupRunsListResponse.Builder

setItems(int index, BackupRun value)

public BackupRunsListResponse.Builder setItems(int index, BackupRun value)

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Parameters
Name Description
index int
value BackupRun
Returns
Type Description
BackupRunsListResponse.Builder

setItems(int index, BackupRun.Builder builderForValue)

public BackupRunsListResponse.Builder setItems(int index, BackupRun.Builder builderForValue)

A list of backup runs in reverse chronological order of the enqueued time.

repeated .google.cloud.sql.v1.BackupRun items = 2;

Parameters
Name Description
index int
builderForValue BackupRun.Builder
Returns
Type Description
BackupRunsListResponse.Builder

setKind(String value)

public BackupRunsListResponse.Builder setKind(String value)

This is always sql#backupRunsList.

string kind = 1;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
BackupRunsListResponse.Builder

This builder for chaining.

setKindBytes(ByteString value)

public BackupRunsListResponse.Builder setKindBytes(ByteString value)

This is always sql#backupRunsList.

string kind = 1;

Parameter
Name Description
value ByteString

The bytes for kind to set.

Returns
Type Description
BackupRunsListResponse.Builder

This builder for chaining.

setNextPageToken(String value)

public BackupRunsListResponse.Builder setNextPageToken(String value)

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

string next_page_token = 3;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
BackupRunsListResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public BackupRunsListResponse.Builder setNextPageTokenBytes(ByteString value)

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

string next_page_token = 3;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
BackupRunsListResponse.Builder

This builder for chaining.