public static final class ListVolumeBackupsResponse.Builder extends GeneratedMessageV3.Builder<ListVolumeBackupsResponse.Builder> implements ListVolumeBackupsResponseOrBuilder
Response message for ListVolumeBackups.
Protobuf type google.cloud.gkebackup.v1.ListVolumeBackupsResponse
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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListVolumeBackupsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addVolumeBackupsBuilder()
public VolumeBackup.Builder addVolumeBackupsBuilder()
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;
Returns
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
Returns
build()
public ListVolumeBackupsResponse build()
Returns
buildPartial()
public ListVolumeBackupsResponse buildPartial()
Returns
clear()
public ListVolumeBackupsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListVolumeBackupsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListVolumeBackupsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVolumeBackups()
public ListVolumeBackupsResponse.Builder clearVolumeBackups()
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;
Returns
clone()
public ListVolumeBackupsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListVolumeBackupsResponse 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
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
Returns
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
Returns
getVolumeBackupsBuilderList()
public List<VolumeBackup.Builder> getVolumeBackupsBuilderList()
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;
Returns
getVolumeBackupsCount()
public int getVolumeBackupsCount()
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;
Returns
getVolumeBackupsList()
public List<VolumeBackup> getVolumeBackupsList()
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;
Returns
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListVolumeBackupsResponse other)
public ListVolumeBackupsResponse.Builder mergeFrom(ListVolumeBackupsResponse other)
Parameter
Returns
public ListVolumeBackupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListVolumeBackupsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListVolumeBackupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListVolumeBackupsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListVolumeBackupsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListVolumeBackupsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns