Class ListBackupsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
- com.google.cloud.filestore.v1beta1.ListBackupsResponse.Builder
-
- All Implemented Interfaces:
ListBackupsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListBackupsResponse
public static final class ListBackupsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder> implements ListBackupsResponseOrBuilder
ListBackupsResponse is the result of ListBackupsRequest.
Protobuf typegoogle.cloud.filestore.v1beta1.ListBackupsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBackupsResponse.BuilderaddAllBackups(Iterable<? extends Backup> values)A list of backups in the project for the specified location.ListBackupsResponse.BuilderaddAllUnreachable(Iterable<String> values)Locations that could not be reached.ListBackupsResponse.BuilderaddBackups(int index, Backup value)A list of backups in the project for the specified location.ListBackupsResponse.BuilderaddBackups(int index, Backup.Builder builderForValue)A list of backups in the project for the specified location.ListBackupsResponse.BuilderaddBackups(Backup value)A list of backups in the project for the specified location.ListBackupsResponse.BuilderaddBackups(Backup.Builder builderForValue)A list of backups in the project for the specified location.Backup.BuilderaddBackupsBuilder()A list of backups in the project for the specified location.Backup.BuilderaddBackupsBuilder(int index)A list of backups in the project for the specified location.ListBackupsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListBackupsResponse.BuilderaddUnreachable(String value)Locations that could not be reached.ListBackupsResponse.BuilderaddUnreachableBytes(com.google.protobuf.ByteString value)Locations that could not be reached.ListBackupsResponsebuild()ListBackupsResponsebuildPartial()ListBackupsResponse.Builderclear()ListBackupsResponse.BuilderclearBackups()A list of backups in the project for the specified location.ListBackupsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListBackupsResponse.BuilderclearNextPageToken()The token you can use to retrieve the next page of results.ListBackupsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListBackupsResponse.BuilderclearUnreachable()Locations that could not be reached.ListBackupsResponse.Builderclone()BackupgetBackups(int index)A list of backups in the project for the specified location.Backup.BuildergetBackupsBuilder(int index)A list of backups in the project for the specified location.List<Backup.Builder>getBackupsBuilderList()A list of backups in the project for the specified location.intgetBackupsCount()A list of backups in the project for the specified location.List<Backup>getBackupsList()A list of backups in the project for the specified location.BackupOrBuildergetBackupsOrBuilder(int index)A list of backups in the project for the specified location.List<? extends BackupOrBuilder>getBackupsOrBuilderList()A list of backups in the project for the specified location.ListBackupsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNextPageToken()The token you can use to retrieve the next page of results.com.google.protobuf.ByteStringgetNextPageTokenBytes()The token you can use to retrieve the next page of results.StringgetUnreachable(int index)Locations that could not be reached.com.google.protobuf.ByteStringgetUnreachableBytes(int index)Locations that could not be reached.intgetUnreachableCount()Locations that could not be reached.com.google.protobuf.ProtocolStringListgetUnreachableList()Locations that could not be reached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListBackupsResponse.BuildermergeFrom(ListBackupsResponse other)ListBackupsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListBackupsResponse.BuildermergeFrom(com.google.protobuf.Message other)ListBackupsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListBackupsResponse.BuilderremoveBackups(int index)A list of backups in the project for the specified location.ListBackupsResponse.BuildersetBackups(int index, Backup value)A list of backups in the project for the specified location.ListBackupsResponse.BuildersetBackups(int index, Backup.Builder builderForValue)A list of backups in the project for the specified location.ListBackupsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListBackupsResponse.BuildersetNextPageToken(String value)The token you can use to retrieve the next page of results.ListBackupsResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)The token you can use to retrieve the next page of results.ListBackupsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListBackupsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListBackupsResponse.BuildersetUnreachable(int index, String value)Locations that could not be reached.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
clear
public ListBackupsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.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.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
getDefaultInstanceForType
public ListBackupsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListBackupsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListBackupsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListBackupsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
setField
public ListBackupsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
clearField
public ListBackupsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
clearOneof
public ListBackupsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
setRepeatedField
public ListBackupsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
addRepeatedField
public ListBackupsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
mergeFrom
public ListBackupsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListBackupsResponse.Builder>
-
mergeFrom
public ListBackupsResponse.Builder mergeFrom(ListBackupsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
mergeFrom
public ListBackupsResponse.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<ListBackupsResponse.Builder>- Throws:
IOException
-
getBackupsList
public List<Backup> getBackupsList()
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;- Specified by:
getBackupsListin interfaceListBackupsResponseOrBuilder
-
getBackupsCount
public int getBackupsCount()
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;- Specified by:
getBackupsCountin interfaceListBackupsResponseOrBuilder
-
getBackups
public Backup getBackups(int index)
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;- Specified by:
getBackupsin interfaceListBackupsResponseOrBuilder
-
setBackups
public ListBackupsResponse.Builder setBackups(int index, Backup value)
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;
-
setBackups
public ListBackupsResponse.Builder setBackups(int index, Backup.Builder builderForValue)
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;
-
addBackups
public ListBackupsResponse.Builder addBackups(Backup value)
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;
-
addBackups
public ListBackupsResponse.Builder addBackups(int index, Backup value)
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;
-
addBackups
public ListBackupsResponse.Builder addBackups(Backup.Builder builderForValue)
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;
-
addBackups
public ListBackupsResponse.Builder addBackups(int index, Backup.Builder builderForValue)
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;
-
addAllBackups
public ListBackupsResponse.Builder addAllBackups(Iterable<? extends Backup> values)
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;
-
clearBackups
public ListBackupsResponse.Builder clearBackups()
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;
-
removeBackups
public ListBackupsResponse.Builder removeBackups(int index)
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;
-
getBackupsBuilder
public Backup.Builder getBackupsBuilder(int index)
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;
-
getBackupsOrBuilder
public BackupOrBuilder getBackupsOrBuilder(int index)
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;- Specified by:
getBackupsOrBuilderin interfaceListBackupsResponseOrBuilder
-
getBackupsOrBuilderList
public List<? extends BackupOrBuilder> getBackupsOrBuilderList()
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;- Specified by:
getBackupsOrBuilderListin interfaceListBackupsResponseOrBuilder
-
addBackupsBuilder
public Backup.Builder addBackupsBuilder()
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;
-
addBackupsBuilder
public Backup.Builder addBackupsBuilder(int index)
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;
-
getBackupsBuilderList
public List<Backup.Builder> getBackupsBuilderList()
A list of backups in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.repeated .google.cloud.filestore.v1beta1.Backup backups = 1;
-
getNextPageToken
public String getNextPageToken()
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListBackupsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListBackupsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListBackupsResponse.Builder setNextPageToken(String value)
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListBackupsResponse.Builder clearNextPageToken()
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListBackupsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()
Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListBackupsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListBackupsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListBackupsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index)
Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListBackupsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListBackupsResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
public ListBackupsResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
public ListBackupsResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListBackupsResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListBackupsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListBackupsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
mergeUnknownFields
public final ListBackupsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
-