Package com.google.cloud.gkebackup.v1
Class ListVolumeBackupsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListVolumeBackupsResponse.Builder>
com.google.cloud.gkebackup.v1.ListVolumeBackupsResponse.Builder
- All Implemented Interfaces:
ListVolumeBackupsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListVolumeBackupsResponse
public static final class ListVolumeBackupsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListVolumeBackupsResponse.Builder>
implements ListVolumeBackupsResponseOrBuilder
Response message for ListVolumeBackups.Protobuf type
google.cloud.gkebackup.v1.ListVolumeBackupsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllVolumeBackups(Iterable<? extends VolumeBackup> values) The list of VolumeBackups matching the given criteria.addVolumeBackups(int index, VolumeBackup value) The list of VolumeBackups matching the given criteria.addVolumeBackups(int index, VolumeBackup.Builder builderForValue) The list of VolumeBackups matching the given criteria.addVolumeBackups(VolumeBackup value) The list of VolumeBackups matching the given criteria.addVolumeBackups(VolumeBackup.Builder builderForValue) The list of VolumeBackups matching the given criteria.The list of VolumeBackups matching the given criteria.addVolumeBackupsBuilder(int index) The list of VolumeBackups matching the given criteria.build()clear()A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListVolumeBackupsRequest.page_token] in a subsequent `ListVolumeBackups` call to retrieve the next page of results.The list of VolumeBackups matching the given criteria.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA token which may be sent as [page_token][google.cloud.gkebackup.v1.ListVolumeBackupsRequest.page_token] in a subsequent `ListVolumeBackups` call to retrieve the next page of results.com.google.protobuf.ByteStringA token which may be sent as [page_token][google.cloud.gkebackup.v1.ListVolumeBackupsRequest.page_token] in a subsequent `ListVolumeBackups` call to retrieve the next page of results.getVolumeBackups(int index) The list of VolumeBackups matching the given criteria.getVolumeBackupsBuilder(int index) The list of VolumeBackups matching the given criteria.The list of VolumeBackups matching the given criteria.intThe list of VolumeBackups matching the given criteria.The list of VolumeBackups matching the given criteria.getVolumeBackupsOrBuilder(int index) The list of VolumeBackups matching the given criteria.List<? extends VolumeBackupOrBuilder>The list of VolumeBackups matching the given criteria.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeVolumeBackups(int index) The list of VolumeBackups matching the given criteria.setNextPageToken(String value) A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListVolumeBackupsRequest.page_token] in a subsequent `ListVolumeBackups` call to retrieve the next page of results.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListVolumeBackupsRequest.page_token] in a subsequent `ListVolumeBackups` call to retrieve the next page of results.setVolumeBackups(int index, VolumeBackup value) The list of VolumeBackups matching the given criteria.setVolumeBackups(int index, VolumeBackup.Builder builderForValue) The list of VolumeBackups matching the given criteria.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListVolumeBackupsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListVolumeBackupsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListVolumeBackupsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListVolumeBackupsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListVolumeBackupsResponse.Builder>
-
mergeFrom
public ListVolumeBackupsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListVolumeBackupsResponse.Builder>- Throws:
IOException
-
getVolumeBackupsList
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;- Specified by:
getVolumeBackupsListin interfaceListVolumeBackupsResponseOrBuilder
-
getVolumeBackupsCount
public int getVolumeBackupsCount()The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;- Specified by:
getVolumeBackupsCountin interfaceListVolumeBackupsResponseOrBuilder
-
getVolumeBackups
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;- Specified by:
getVolumeBackupsin interfaceListVolumeBackupsResponseOrBuilder
-
setVolumeBackups
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1; -
setVolumeBackups
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; -
addVolumeBackups
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1; -
addVolumeBackups
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1; -
addVolumeBackups
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1; -
addVolumeBackups
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; -
addAllVolumeBackups
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; -
clearVolumeBackups
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1; -
removeVolumeBackups
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1; -
getVolumeBackupsBuilder
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1; -
getVolumeBackupsOrBuilder
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;- Specified by:
getVolumeBackupsOrBuilderin interfaceListVolumeBackupsResponseOrBuilder
-
getVolumeBackupsOrBuilderList
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1;- Specified by:
getVolumeBackupsOrBuilderListin interfaceListVolumeBackupsResponseOrBuilder
-
addVolumeBackupsBuilder
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1; -
addVolumeBackupsBuilder
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1; -
getVolumeBackupsBuilderList
The list of VolumeBackups matching the given criteria.
repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1; -
getNextPageToken
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListVolumeBackupsRequest.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;- Specified by:
getNextPageTokenin interfaceListVolumeBackupsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListVolumeBackupsRequest.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;- Specified by:
getNextPageTokenBytesin interfaceListVolumeBackupsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListVolumeBackupsRequest.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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListVolumeBackupsRequest.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:
- This builder for chaining.
-
setNextPageTokenBytes
public ListVolumeBackupsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListVolumeBackupsRequest.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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-