Package com.google.cloud.filestore.v1
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.v1.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.v1.ListBackupsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBackupsResponse.Builder
addAllBackups(Iterable<? extends Backup> values)
A list of backups in the project for the specified location.ListBackupsResponse.Builder
addAllUnreachable(Iterable<String> values)
Locations that could not be reached.ListBackupsResponse.Builder
addBackups(int index, Backup value)
A list of backups in the project for the specified location.ListBackupsResponse.Builder
addBackups(int index, Backup.Builder builderForValue)
A list of backups in the project for the specified location.ListBackupsResponse.Builder
addBackups(Backup value)
A list of backups in the project for the specified location.ListBackupsResponse.Builder
addBackups(Backup.Builder builderForValue)
A list of backups in the project for the specified location.Backup.Builder
addBackupsBuilder()
A list of backups in the project for the specified location.Backup.Builder
addBackupsBuilder(int index)
A list of backups in the project for the specified location.ListBackupsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListBackupsResponse.Builder
addUnreachable(String value)
Locations that could not be reached.ListBackupsResponse.Builder
addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.ListBackupsResponse
build()
ListBackupsResponse
buildPartial()
ListBackupsResponse.Builder
clear()
ListBackupsResponse.Builder
clearBackups()
A list of backups in the project for the specified location.ListBackupsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListBackupsResponse.Builder
clearNextPageToken()
The token you can use to retrieve the next page of results.ListBackupsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListBackupsResponse.Builder
clearUnreachable()
Locations that could not be reached.ListBackupsResponse.Builder
clone()
Backup
getBackups(int index)
A list of backups in the project for the specified location.Backup.Builder
getBackupsBuilder(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.int
getBackupsCount()
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.BackupOrBuilder
getBackupsOrBuilder(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.ListBackupsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
The token you can use to retrieve the next page of results.com.google.protobuf.ByteString
getNextPageTokenBytes()
The token you can use to retrieve the next page of results.String
getUnreachable(int index)
Locations that could not be reached.com.google.protobuf.ByteString
getUnreachableBytes(int index)
Locations that could not be reached.int
getUnreachableCount()
Locations that could not be reached.com.google.protobuf.ProtocolStringList
getUnreachableList()
Locations that could not be reached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListBackupsResponse.Builder
mergeFrom(ListBackupsResponse other)
ListBackupsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListBackupsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListBackupsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListBackupsResponse.Builder
removeBackups(int index)
A list of backups in the project for the specified location.ListBackupsResponse.Builder
setBackups(int index, Backup value)
A list of backups in the project for the specified location.ListBackupsResponse.Builder
setBackups(int index, Backup.Builder builderForValue)
A list of backups in the project for the specified location.ListBackupsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListBackupsResponse.Builder
setNextPageToken(String value)
The token you can use to retrieve the next page of results.ListBackupsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
The token you can use to retrieve the next page of results.ListBackupsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListBackupsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListBackupsResponse.Builder
setUnreachable(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
clear
public ListBackupsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
getDefaultInstanceForType
public ListBackupsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListBackupsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListBackupsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListBackupsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
setField
public ListBackupsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
clearField
public ListBackupsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
clearOneof
public ListBackupsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
setRepeatedField
public ListBackupsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
addRepeatedField
public ListBackupsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
mergeFrom
public ListBackupsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListBackupsResponse.Builder>
-
mergeFrom
public ListBackupsResponse.Builder mergeFrom(ListBackupsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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.v1.Backup backups = 1;
- Specified by:
getBackupsList
in 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.v1.Backup backups = 1;
- Specified by:
getBackupsCount
in 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.v1.Backup backups = 1;
- Specified by:
getBackups
in 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.Backup backups = 1;
- Specified by:
getBackupsOrBuilder
in 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.v1.Backup backups = 1;
- Specified by:
getBackupsOrBuilderList
in 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.v1.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.v1.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.v1.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:
getNextPageToken
in 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:
getNextPageTokenBytes
in 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:
getUnreachableList
in interfaceListBackupsResponseOrBuilder
- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableCount
in interfaceListBackupsResponseOrBuilder
- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachable
in 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:
getUnreachableBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
mergeUnknownFields
public final ListBackupsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupsResponse.Builder>
-
-