Class ListSnapshotsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListSnapshotsResponse.Builder>
com.google.cloud.filestore.v1beta1.ListSnapshotsResponse.Builder
- All Implemented Interfaces:
ListSnapshotsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListSnapshotsResponse
public static final class ListSnapshotsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListSnapshotsResponse.Builder>
implements ListSnapshotsResponseOrBuilder
ListSnapshotsResponse is the result of ListSnapshotsRequest.Protobuf type
google.cloud.filestore.v1beta1.ListSnapshotsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllSnapshots(Iterable<? extends Snapshot> values) A list of snapshots in the project for the specified instance.addAllUnreachable(Iterable<String> values) Unordered list.addSnapshots(int index, Snapshot value) A list of snapshots in the project for the specified instance.addSnapshots(int index, Snapshot.Builder builderForValue) A list of snapshots in the project for the specified instance.addSnapshots(Snapshot value) A list of snapshots in the project for the specified instance.addSnapshots(Snapshot.Builder builderForValue) A list of snapshots in the project for the specified instance.A list of snapshots in the project for the specified instance.addSnapshotsBuilder(int index) A list of snapshots in the project for the specified instance.addUnreachable(String value) Unordered list.addUnreachableBytes(com.google.protobuf.ByteString value) Unordered list.build()clear()The token you can use to retrieve the next page of results.A list of snapshots in the project for the specified instance.Unordered list.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe token you can use to retrieve the next page of results.com.google.protobuf.ByteStringThe token you can use to retrieve the next page of results.getSnapshots(int index) A list of snapshots in the project for the specified instance.getSnapshotsBuilder(int index) A list of snapshots in the project for the specified instance.A list of snapshots in the project for the specified instance.intA list of snapshots in the project for the specified instance.A list of snapshots in the project for the specified instance.getSnapshotsOrBuilder(int index) A list of snapshots in the project for the specified instance.List<? extends SnapshotOrBuilder>A list of snapshots in the project for the specified instance.getUnreachable(int index) Unordered list.com.google.protobuf.ByteStringgetUnreachableBytes(int index) Unordered list.intUnordered list.com.google.protobuf.ProtocolStringListUnordered list.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListSnapshotsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeSnapshots(int index) A list of snapshots in the project for the specified instance.setNextPageToken(String value) The token you can use to retrieve the next page of results.setNextPageTokenBytes(com.google.protobuf.ByteString value) The token you can use to retrieve the next page of results.setSnapshots(int index, Snapshot value) A list of snapshots in the project for the specified instance.setSnapshots(int index, Snapshot.Builder builderForValue) A list of snapshots in the project for the specified instance.setUnreachable(int index, String value) Unordered list.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<ListSnapshotsResponse.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<ListSnapshotsResponse.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<ListSnapshotsResponse.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<ListSnapshotsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListSnapshotsResponse.Builder>
-
mergeFrom
public ListSnapshotsResponse.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<ListSnapshotsResponse.Builder>- Throws:
IOException
-
getSnapshotsList
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1;- Specified by:
getSnapshotsListin interfaceListSnapshotsResponseOrBuilder
-
getSnapshotsCount
public int getSnapshotsCount()A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1;- Specified by:
getSnapshotsCountin interfaceListSnapshotsResponseOrBuilder
-
getSnapshots
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1;- Specified by:
getSnapshotsin interfaceListSnapshotsResponseOrBuilder
-
setSnapshots
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1; -
setSnapshots
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1; -
addSnapshots
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1; -
addSnapshots
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1; -
addSnapshots
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1; -
addSnapshots
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1; -
addAllSnapshots
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1; -
clearSnapshots
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1; -
removeSnapshots
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1; -
getSnapshotsBuilder
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1; -
getSnapshotsOrBuilder
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1;- Specified by:
getSnapshotsOrBuilderin interfaceListSnapshotsResponseOrBuilder
-
getSnapshotsOrBuilderList
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1;- Specified by:
getSnapshotsOrBuilderListin interfaceListSnapshotsResponseOrBuilder
-
addSnapshotsBuilder
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1; -
addSnapshotsBuilder
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1; -
getSnapshotsBuilderList
A list of snapshots in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Snapshot snapshots = 1; -
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 interfaceListSnapshotsResponseOrBuilder- 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 interfaceListSnapshotsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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
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
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()Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];- Specified by:
getUnreachableListin interfaceListSnapshotsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];- Specified by:
getUnreachableCountin interfaceListSnapshotsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];- Specified by:
getUnreachablein interfaceListSnapshotsResponseOrBuilder- 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) Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];- Specified by:
getUnreachableBytesin interfaceListSnapshotsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];- Returns:
- This builder for chaining.
-
addUnreachableBytes
Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-