Class ListVolumeBackupsResponse.Builder (0.45.0)

public static final class ListVolumeBackupsResponse.Builder extends GeneratedMessageV3.Builder<ListVolumeBackupsResponse.Builder> implements ListVolumeBackupsResponseOrBuilder

Response message for ListVolumeBackups.

Protobuf type google.cloud.gkebackup.v1.ListVolumeBackupsResponse

Static Methods

getDescriptor()

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

Methods

addAllVolumeBackups(Iterable<? extends VolumeBackup> values)

public ListVolumeBackupsResponse.Builder addAllVolumeBackups(Iterable<? extends VolumeBackup> values)

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkebackup.v1.VolumeBackup>
Returns
Type Description
ListVolumeBackupsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addVolumeBackups(VolumeBackup value)

public ListVolumeBackupsResponse.Builder addVolumeBackups(VolumeBackup value)

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Parameter
Name Description
value VolumeBackup
Returns
Type Description
ListVolumeBackupsResponse.Builder

addVolumeBackups(VolumeBackup.Builder builderForValue)

public ListVolumeBackupsResponse.Builder addVolumeBackups(VolumeBackup.Builder builderForValue)

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Parameter
Name Description
builderForValue VolumeBackup.Builder
Returns
Type Description
ListVolumeBackupsResponse.Builder

addVolumeBackups(int index, VolumeBackup value)

public ListVolumeBackupsResponse.Builder addVolumeBackups(int index, VolumeBackup value)

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Parameters
Name Description
index int
value VolumeBackup
Returns
Type Description
ListVolumeBackupsResponse.Builder

addVolumeBackups(int index, VolumeBackup.Builder builderForValue)

public ListVolumeBackupsResponse.Builder addVolumeBackups(int index, VolumeBackup.Builder builderForValue)

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Parameters
Name Description
index int
builderForValue VolumeBackup.Builder
Returns
Type Description
ListVolumeBackupsResponse.Builder

addVolumeBackupsBuilder()

public VolumeBackup.Builder addVolumeBackupsBuilder()

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Returns
Type Description
VolumeBackup.Builder

addVolumeBackupsBuilder(int index)

public VolumeBackup.Builder addVolumeBackupsBuilder(int index)

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Parameter
Name Description
index int
Returns
Type Description
VolumeBackup.Builder

build()

public ListVolumeBackupsResponse build()
Returns
Type Description
ListVolumeBackupsResponse

buildPartial()

public ListVolumeBackupsResponse buildPartial()
Returns
Type Description
ListVolumeBackupsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListVolumeBackupsResponse.Builder clearNextPageToken()

A token which may be sent as page_token in a subsequent ListVolumeBackups call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 2;

Returns
Type Description
ListVolumeBackupsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVolumeBackups()

public ListVolumeBackupsResponse.Builder clearVolumeBackups()

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Returns
Type Description
ListVolumeBackupsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListVolumeBackupsResponse getDefaultInstanceForType()
Returns
Type Description
ListVolumeBackupsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token which may be sent as page_token in a subsequent ListVolumeBackups call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token which may be sent as page_token in a subsequent ListVolumeBackups call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getVolumeBackups(int index)

public VolumeBackup getVolumeBackups(int index)

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Parameter
Name Description
index int
Returns
Type Description
VolumeBackup

getVolumeBackupsBuilder(int index)

public VolumeBackup.Builder getVolumeBackupsBuilder(int index)

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Parameter
Name Description
index int
Returns
Type Description
VolumeBackup.Builder

getVolumeBackupsBuilderList()

public List<VolumeBackup.Builder> getVolumeBackupsBuilderList()

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Returns
Type Description
List<Builder>

getVolumeBackupsCount()

public int getVolumeBackupsCount()

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Returns
Type Description
int

getVolumeBackupsList()

public List<VolumeBackup> getVolumeBackupsList()

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Returns
Type Description
List<VolumeBackup>

getVolumeBackupsOrBuilder(int index)

public VolumeBackupOrBuilder getVolumeBackupsOrBuilder(int index)

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Parameter
Name Description
index int
Returns
Type Description
VolumeBackupOrBuilder

getVolumeBackupsOrBuilderList()

public List<? extends VolumeBackupOrBuilder> getVolumeBackupsOrBuilderList()

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Returns
Type Description
List<? extends com.google.cloud.gkebackup.v1.VolumeBackupOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListVolumeBackupsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeVolumeBackups(int index)

public ListVolumeBackupsResponse.Builder removeVolumeBackups(int index)

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Parameter
Name Description
index int
Returns
Type Description
ListVolumeBackupsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListVolumeBackupsResponse.Builder setNextPageToken(String value)

A token which may be sent as page_token in a subsequent ListVolumeBackups call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListVolumeBackupsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListVolumeBackupsResponse.Builder setNextPageTokenBytes(ByteString value)

A token which may be sent as page_token in a subsequent ListVolumeBackups call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListVolumeBackupsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVolumeBackups(int index, VolumeBackup value)

public ListVolumeBackupsResponse.Builder setVolumeBackups(int index, VolumeBackup value)

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Parameters
Name Description
index int
value VolumeBackup
Returns
Type Description
ListVolumeBackupsResponse.Builder

setVolumeBackups(int index, VolumeBackup.Builder builderForValue)

public ListVolumeBackupsResponse.Builder setVolumeBackups(int index, VolumeBackup.Builder builderForValue)

The list of VolumeBackups matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;

Parameters
Name Description
index int
builderForValue VolumeBackup.Builder
Returns
Type Description
ListVolumeBackupsResponse.Builder