public static final class ListBackupsResponse.Builder extends GeneratedMessageV3.Builder<ListBackupsResponse.Builder> implements ListBackupsResponseOrBuilder
Response message for ListBackups.
Protobuf type google.cloud.gkebackup.v1.ListBackupsResponse
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
addAllBackups(Iterable<? extends Backup> values)
public ListBackupsResponse.Builder addAllBackups(Iterable<? extends Backup> values)
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.gkebackup.v1.Backup>
|
Returns
addBackups(Backup value)
public ListBackupsResponse.Builder addBackups(Backup value)
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Parameter
Returns
addBackups(Backup.Builder builderForValue)
public ListBackupsResponse.Builder addBackups(Backup.Builder builderForValue)
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Parameter
Returns
addBackups(int index, Backup value)
public ListBackupsResponse.Builder addBackups(int index, Backup value)
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Parameters
Returns
addBackups(int index, Backup.Builder builderForValue)
public ListBackupsResponse.Builder addBackups(int index, Backup.Builder builderForValue)
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Parameters
Returns
addBackupsBuilder()
public Backup.Builder addBackupsBuilder()
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Returns
addBackupsBuilder(int index)
public Backup.Builder addBackupsBuilder(int index)
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBackupsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListBackupsResponse build()
Returns
buildPartial()
public ListBackupsResponse buildPartial()
Returns
clear()
public ListBackupsResponse.Builder clear()
Returns
Overrides
clearBackups()
public ListBackupsResponse.Builder clearBackups()
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListBackupsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListBackupsResponse.Builder clearNextPageToken()
A token which may be sent as page_token in
a subsequent ListBackups
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 ListBackupsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListBackupsResponse.Builder clone()
Returns
Overrides
getBackups(int index)
public Backup getBackups(int index)
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Parameter
Returns
getBackupsBuilder(int index)
public Backup.Builder getBackupsBuilder(int index)
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Parameter
Returns
getBackupsBuilderList()
public List<Backup.Builder> getBackupsBuilderList()
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Returns
getBackupsCount()
public int getBackupsCount()
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Returns
getBackupsList()
public List<Backup> getBackupsList()
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Returns
getBackupsOrBuilder(int index)
public BackupOrBuilder getBackupsOrBuilder(int index)
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Parameter
Returns
getBackupsOrBuilderList()
public List<? extends BackupOrBuilder> getBackupsOrBuilderList()
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Returns
Type | Description |
List<? extends com.google.cloud.gkebackup.v1.BackupOrBuilder> | |
getDefaultInstanceForType()
public ListBackupsResponse 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 ListBackups
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 ListBackups
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListBackupsResponse other)
public ListBackupsResponse.Builder mergeFrom(ListBackupsResponse other)
Parameter
Returns
public ListBackupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListBackupsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBackupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeBackups(int index)
public ListBackupsResponse.Builder removeBackups(int index)
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Parameter
Returns
setBackups(int index, Backup value)
public ListBackupsResponse.Builder setBackups(int index, Backup value)
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Parameters
Returns
setBackups(int index, Backup.Builder builderForValue)
public ListBackupsResponse.Builder setBackups(int index, Backup.Builder builderForValue)
The list of Backups matching the given criteria.
repeated .google.cloud.gkebackup.v1.Backup backups = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListBackupsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListBackupsResponse.Builder setNextPageToken(String value)
A token which may be sent as page_token in
a subsequent ListBackups
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 ListBackupsResponse.Builder setNextPageTokenBytes(ByteString value)
A token which may be sent as page_token in
a subsequent ListBackups
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 ListBackupsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBackupsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides