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()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListVolumeRestoresResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
addVolumeRestoresBuilder()
public VolumeRestore.Builder addVolumeRestoresBuilder()
The list of VolumeRestores matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
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
|
build()
public ListVolumeRestoresResponse build()
buildPartial()
public ListVolumeRestoresResponse buildPartial()
clear()
public ListVolumeRestoresResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListVolumeRestoresResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListVolumeRestoresResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVolumeRestores()
public ListVolumeRestoresResponse.Builder clearVolumeRestores()
The list of VolumeRestores matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
clone()
public ListVolumeRestoresResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListVolumeRestoresResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getVolumeRestoresBuilderList()
public List<VolumeRestore.Builder> getVolumeRestoresBuilderList()
The list of VolumeRestores matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListVolumeRestoresResponse other)
public ListVolumeRestoresResponse.Builder mergeFrom(ListVolumeRestoresResponse other)
public ListVolumeRestoresResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListVolumeRestoresResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListVolumeRestoresResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListVolumeRestoresResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListVolumeRestoresResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListVolumeRestoresResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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;