public static final class ListVolumeRestoresResponse.Builder extends GeneratedMessageV3.Builder<ListVolumeRestoresResponse.Builder> implements ListVolumeRestoresResponseOrBuilder
Response message for ListVolumeRestores.
Protobuf type google.cloud.gkebackup.v1.ListVolumeRestoresResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListVolumeRestoresResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addVolumeRestoresBuilder()
public VolumeRestore.Builder addVolumeRestoresBuilder()
The list of VolumeRestores matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
Returns
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
Returns
build()
public ListVolumeRestoresResponse build()
Returns
buildPartial()
public ListVolumeRestoresResponse buildPartial()
Returns
clear()
public ListVolumeRestoresResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListVolumeRestoresResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListVolumeRestoresResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVolumeRestores()
public ListVolumeRestoresResponse.Builder clearVolumeRestores()
The list of VolumeRestores matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
Returns
clone()
public ListVolumeRestoresResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListVolumeRestoresResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getVolumeRestoresBuilderList()
public List<VolumeRestore.Builder> getVolumeRestoresBuilderList()
The list of VolumeRestores matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
Returns
getVolumeRestoresCount()
public int getVolumeRestoresCount()
The list of VolumeRestores matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
Returns
getVolumeRestoresList()
public List<VolumeRestore> getVolumeRestoresList()
The list of VolumeRestores matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
Returns
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListVolumeRestoresResponse other)
public ListVolumeRestoresResponse.Builder mergeFrom(ListVolumeRestoresResponse other)
Parameter
Returns
public ListVolumeRestoresResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListVolumeRestoresResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListVolumeRestoresResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListVolumeRestoresResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListVolumeRestoresResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListVolumeRestoresResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns