Class ListVolumeRestoresResponse.Builder (0.16.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.gkebackup.v1.VolumeRestore>
Returns
TypeDescription
ListVolumeRestoresResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListVolumeRestoresResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueVolumeRestore
Returns
TypeDescription
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
NameDescription
builderForValueVolumeRestore.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueVolumeRestore
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVolumeRestore.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
VolumeRestore.Builder

build()

public ListVolumeRestoresResponse build()
Returns
TypeDescription
ListVolumeRestoresResponse

buildPartial()

public ListVolumeRestoresResponse buildPartial()
Returns
TypeDescription
ListVolumeRestoresResponse

clear()

public ListVolumeRestoresResponse.Builder clear()
Returns
TypeDescription
ListVolumeRestoresResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListVolumeRestoresResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListVolumeRestoresResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListVolumeRestoresResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListVolumeRestoresResponse.Builder

clone()

public ListVolumeRestoresResponse.Builder clone()
Returns
TypeDescription
ListVolumeRestoresResponse.Builder
Overrides

getDefaultInstanceForType()

public ListVolumeRestoresResponse getDefaultInstanceForType()
Returns
TypeDescription
ListVolumeRestoresResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getVolumeRestoresCount()

public int getVolumeRestoresCount()

The list of VolumeRestores matching the given criteria.

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

Returns
TypeDescription
int

getVolumeRestoresList()

public List<VolumeRestore> getVolumeRestoresList()

The list of VolumeRestores matching the given criteria.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.gkebackup.v1.VolumeRestoreOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListVolumeRestoresResponse other)

public ListVolumeRestoresResponse.Builder mergeFrom(ListVolumeRestoresResponse other)
Parameter
NameDescription
otherListVolumeRestoresResponse
Returns
TypeDescription
ListVolumeRestoresResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListVolumeRestoresResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListVolumeRestoresResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListVolumeRestoresResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListVolumeRestoresResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListVolumeRestoresResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListVolumeRestoresResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListVolumeRestoresResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListVolumeRestoresResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListVolumeRestoresResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueVolumeRestore
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVolumeRestore.Builder
Returns
TypeDescription
ListVolumeRestoresResponse.Builder