Class ListSharesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListSharesResponse.Builder>
-
- com.google.cloud.filestore.v1beta1.ListSharesResponse.Builder
-
- All Implemented Interfaces:
ListSharesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListSharesResponse
public static final class ListSharesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListSharesResponse.Builder> implements ListSharesResponseOrBuilder
ListSharesResponse is the result of ListSharesRequest.
Protobuf typegoogle.cloud.filestore.v1beta1.ListSharesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSharesResponse.BuilderaddAllShares(Iterable<? extends Share> values)A list of shares in the project for the specified instance.ListSharesResponse.BuilderaddAllUnreachable(Iterable<String> values)Locations that could not be reached.ListSharesResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListSharesResponse.BuilderaddShares(int index, Share value)A list of shares in the project for the specified instance.ListSharesResponse.BuilderaddShares(int index, Share.Builder builderForValue)A list of shares in the project for the specified instance.ListSharesResponse.BuilderaddShares(Share value)A list of shares in the project for the specified instance.ListSharesResponse.BuilderaddShares(Share.Builder builderForValue)A list of shares in the project for the specified instance.Share.BuilderaddSharesBuilder()A list of shares in the project for the specified instance.Share.BuilderaddSharesBuilder(int index)A list of shares in the project for the specified instance.ListSharesResponse.BuilderaddUnreachable(String value)Locations that could not be reached.ListSharesResponse.BuilderaddUnreachableBytes(com.google.protobuf.ByteString value)Locations that could not be reached.ListSharesResponsebuild()ListSharesResponsebuildPartial()ListSharesResponse.Builderclear()ListSharesResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListSharesResponse.BuilderclearNextPageToken()The token you can use to retrieve the next page of results.ListSharesResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListSharesResponse.BuilderclearShares()A list of shares in the project for the specified instance.ListSharesResponse.BuilderclearUnreachable()Locations that could not be reached.ListSharesResponse.Builderclone()ListSharesResponsegetDefaultInstanceForType()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.SharegetShares(int index)A list of shares in the project for the specified instance.Share.BuildergetSharesBuilder(int index)A list of shares in the project for the specified instance.List<Share.Builder>getSharesBuilderList()A list of shares in the project for the specified instance.intgetSharesCount()A list of shares in the project for the specified instance.List<Share>getSharesList()A list of shares in the project for the specified instance.ShareOrBuildergetSharesOrBuilder(int index)A list of shares in the project for the specified instance.List<? extends ShareOrBuilder>getSharesOrBuilderList()A list of shares in the project for the specified instance.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()ListSharesResponse.BuildermergeFrom(ListSharesResponse other)ListSharesResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListSharesResponse.BuildermergeFrom(com.google.protobuf.Message other)ListSharesResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListSharesResponse.BuilderremoveShares(int index)A list of shares in the project for the specified instance.ListSharesResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListSharesResponse.BuildersetNextPageToken(String value)The token you can use to retrieve the next page of results.ListSharesResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)The token you can use to retrieve the next page of results.ListSharesResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListSharesResponse.BuildersetShares(int index, Share value)A list of shares in the project for the specified instance.ListSharesResponse.BuildersetShares(int index, Share.Builder builderForValue)A list of shares in the project for the specified instance.ListSharesResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListSharesResponse.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<ListSharesResponse.Builder>
-
clear
public ListSharesResponse.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<ListSharesResponse.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<ListSharesResponse.Builder>
-
getDefaultInstanceForType
public ListSharesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListSharesResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListSharesResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListSharesResponse.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<ListSharesResponse.Builder>
-
setField
public ListSharesResponse.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<ListSharesResponse.Builder>
-
clearField
public ListSharesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListSharesResponse.Builder>
-
clearOneof
public ListSharesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListSharesResponse.Builder>
-
setRepeatedField
public ListSharesResponse.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<ListSharesResponse.Builder>
-
addRepeatedField
public ListSharesResponse.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<ListSharesResponse.Builder>
-
mergeFrom
public ListSharesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListSharesResponse.Builder>
-
mergeFrom
public ListSharesResponse.Builder mergeFrom(ListSharesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListSharesResponse.Builder>
-
mergeFrom
public ListSharesResponse.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<ListSharesResponse.Builder>- Throws:
IOException
-
getSharesList
public List<Share> getSharesList()
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;- Specified by:
getSharesListin interfaceListSharesResponseOrBuilder
-
getSharesCount
public int getSharesCount()
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;- Specified by:
getSharesCountin interfaceListSharesResponseOrBuilder
-
getShares
public Share getShares(int index)
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;- Specified by:
getSharesin interfaceListSharesResponseOrBuilder
-
setShares
public ListSharesResponse.Builder setShares(int index, Share value)
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;
-
setShares
public ListSharesResponse.Builder setShares(int index, Share.Builder builderForValue)
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;
-
addShares
public ListSharesResponse.Builder addShares(Share value)
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;
-
addShares
public ListSharesResponse.Builder addShares(int index, Share value)
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;
-
addShares
public ListSharesResponse.Builder addShares(Share.Builder builderForValue)
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;
-
addShares
public ListSharesResponse.Builder addShares(int index, Share.Builder builderForValue)
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;
-
addAllShares
public ListSharesResponse.Builder addAllShares(Iterable<? extends Share> values)
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;
-
clearShares
public ListSharesResponse.Builder clearShares()
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;
-
removeShares
public ListSharesResponse.Builder removeShares(int index)
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;
-
getSharesBuilder
public Share.Builder getSharesBuilder(int index)
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;
-
getSharesOrBuilder
public ShareOrBuilder getSharesOrBuilder(int index)
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;- Specified by:
getSharesOrBuilderin interfaceListSharesResponseOrBuilder
-
getSharesOrBuilderList
public List<? extends ShareOrBuilder> getSharesOrBuilderList()
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;- Specified by:
getSharesOrBuilderListin interfaceListSharesResponseOrBuilder
-
addSharesBuilder
public Share.Builder addSharesBuilder()
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;
-
addSharesBuilder
public Share.Builder addSharesBuilder(int index)
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 1;
-
getSharesBuilderList
public List<Share.Builder> getSharesBuilderList()
A list of shares in the project for the specified instance.
repeated .google.cloud.filestore.v1beta1.Share shares = 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 interfaceListSharesResponseOrBuilder- 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 interfaceListSharesResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListSharesResponse.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 ListSharesResponse.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 ListSharesResponse.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 interfaceListSharesResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListSharesResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListSharesResponseOrBuilder- 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 interfaceListSharesResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListSharesResponse.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 ListSharesResponse.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 ListSharesResponse.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 ListSharesResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListSharesResponse.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 ListSharesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListSharesResponse.Builder>
-
mergeUnknownFields
public final ListSharesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListSharesResponse.Builder>
-
-