Class ListVolumeRestoresResponse.Builder (0.51.0)

public static final class ListVolumeRestoresResponse.Builder extends GeneratedMessageV3.Builder<ListVolumeRestoresResponse.Builder> implements ListVolumeRestoresResponseOrBuilder

Response message for ListVolumeRestores.

Protobuf type google.cloud.gkebackup.v1.ListVolumeRestoresResponse

Static Methods

getDescriptor()

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

Methods

addAllVolumeRestores(Iterable<? extends VolumeRestore> values)

public ListVolumeRestoresResponse.Builder addAllVolumeRestores(Iterable<? extends VolumeRestore> values)

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addVolumeRestores(VolumeRestore value)

public ListVolumeRestoresResponse.Builder addVolumeRestores(VolumeRestore value)

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Parameter
Name Description
value VolumeRestore
Returns
Type Description
ListVolumeRestoresResponse.Builder

addVolumeRestores(VolumeRestore.Builder builderForValue)

public ListVolumeRestoresResponse.Builder addVolumeRestores(VolumeRestore.Builder builderForValue)

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Parameter
Name Description
builderForValue VolumeRestore.Builder
Returns
Type Description
ListVolumeRestoresResponse.Builder

addVolumeRestores(int index, VolumeRestore value)

public ListVolumeRestoresResponse.Builder addVolumeRestores(int index, VolumeRestore value)

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Parameters
Name Description
index int
value VolumeRestore
Returns
Type Description
ListVolumeRestoresResponse.Builder

addVolumeRestores(int index, VolumeRestore.Builder builderForValue)

public ListVolumeRestoresResponse.Builder addVolumeRestores(int index, VolumeRestore.Builder builderForValue)

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Parameters
Name Description
index int
builderForValue VolumeRestore.Builder
Returns
Type Description
ListVolumeRestoresResponse.Builder

addVolumeRestoresBuilder()

public VolumeRestore.Builder addVolumeRestoresBuilder()

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Returns
Type Description
VolumeRestore.Builder

addVolumeRestoresBuilder(int index)

public VolumeRestore.Builder addVolumeRestoresBuilder(int index)

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Parameter
Name Description
index int
Returns
Type Description
VolumeRestore.Builder

build()

public ListVolumeRestoresResponse build()
Returns
Type Description
ListVolumeRestoresResponse

buildPartial()

public ListVolumeRestoresResponse buildPartial()
Returns
Type Description
ListVolumeRestoresResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListVolumeRestoresResponse.Builder clearNextPageToken()

A token which may be sent as page_token in a subsequent ListVolumeRestores 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
ListVolumeRestoresResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVolumeRestores()

public ListVolumeRestoresResponse.Builder clearVolumeRestores()

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Returns
Type Description
ListVolumeRestoresResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListVolumeRestoresResponse getDefaultInstanceForType()
Returns
Type Description
ListVolumeRestoresResponse

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 ListVolumeRestores 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 ListVolumeRestores 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.

getVolumeRestores(int index)

public VolumeRestore getVolumeRestores(int index)

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Parameter
Name Description
index int
Returns
Type Description
VolumeRestore

getVolumeRestoresBuilder(int index)

public VolumeRestore.Builder getVolumeRestoresBuilder(int index)

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Parameter
Name Description
index int
Returns
Type Description
VolumeRestore.Builder

getVolumeRestoresBuilderList()

public List<VolumeRestore.Builder> getVolumeRestoresBuilderList()

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Returns
Type Description
List<Builder>

getVolumeRestoresCount()

public int getVolumeRestoresCount()

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Returns
Type Description
int

getVolumeRestoresList()

public List<VolumeRestore> getVolumeRestoresList()

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Returns
Type Description
List<VolumeRestore>

getVolumeRestoresOrBuilder(int index)

public VolumeRestoreOrBuilder getVolumeRestoresOrBuilder(int index)

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Parameter
Name Description
index int
Returns
Type Description
VolumeRestoreOrBuilder

getVolumeRestoresOrBuilderList()

public List<? extends VolumeRestoreOrBuilder> getVolumeRestoresOrBuilderList()

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListVolumeRestoresResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeVolumeRestores(int index)

public ListVolumeRestoresResponse.Builder removeVolumeRestores(int index)

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Parameter
Name Description
index int
Returns
Type Description
ListVolumeRestoresResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListVolumeRestoresResponse.Builder setNextPageToken(String value)

A token which may be sent as page_token in a subsequent ListVolumeRestores 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
ListVolumeRestoresResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListVolumeRestoresResponse.Builder setNextPageTokenBytes(ByteString value)

A token which may be sent as page_token in a subsequent ListVolumeRestores 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
ListVolumeRestoresResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVolumeRestores(int index, VolumeRestore value)

public ListVolumeRestoresResponse.Builder setVolumeRestores(int index, VolumeRestore value)

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Parameters
Name Description
index int
value VolumeRestore
Returns
Type Description
ListVolumeRestoresResponse.Builder

setVolumeRestores(int index, VolumeRestore.Builder builderForValue)

public ListVolumeRestoresResponse.Builder setVolumeRestores(int index, VolumeRestore.Builder builderForValue)

The list of VolumeRestores matching the given criteria.

repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;

Parameters
Name Description
index int
builderForValue VolumeRestore.Builder
Returns
Type Description
ListVolumeRestoresResponse.Builder