Package s2.v1alpha
Class ListAccessTokensRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<ListAccessTokensRequest.Builder>
-
- s2.v1alpha.ListAccessTokensRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,ListAccessTokensRequestOrBuilder
- Enclosing class:
- ListAccessTokensRequest
public static final class ListAccessTokensRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListAccessTokensRequest.Builder> implements ListAccessTokensRequestOrBuilder
List access tokens request.
Protobuf types2.v1alpha.ListAccessTokensRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAccessTokensRequestbuild()ListAccessTokensRequestbuildPartial()ListAccessTokensRequest.Builderclear()ListAccessTokensRequest.BuilderclearLimit()Number of results, up to a maximum of 1000.ListAccessTokensRequest.BuilderclearPrefix()List access tokens that begin with this prefix.ListAccessTokensRequest.BuilderclearStartAfter()Only return access tokens that lexicographically start after this ID.ListAccessTokensRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetLimit()Number of results, up to a maximum of 1000.java.lang.StringgetPrefix()List access tokens that begin with this prefix.com.google.protobuf.ByteStringgetPrefixBytes()List access tokens that begin with this prefix.java.lang.StringgetStartAfter()Only return access tokens that lexicographically start after this ID.com.google.protobuf.ByteStringgetStartAfterBytes()Only return access tokens that lexicographically start after this ID.booleanhasLimit()Number of results, up to a maximum of 1000.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListAccessTokensRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListAccessTokensRequest.BuildermergeFrom(com.google.protobuf.Message other)ListAccessTokensRequest.BuildermergeFrom(ListAccessTokensRequest other)ListAccessTokensRequest.BuildersetLimit(long value)Number of results, up to a maximum of 1000.ListAccessTokensRequest.BuildersetPrefix(java.lang.String value)List access tokens that begin with this prefix.ListAccessTokensRequest.BuildersetPrefixBytes(com.google.protobuf.ByteString value)List access tokens that begin with this prefix.ListAccessTokensRequest.BuildersetStartAfter(java.lang.String value)Only return access tokens that lexicographically start after this ID.ListAccessTokensRequest.BuildersetStartAfterBytes(com.google.protobuf.ByteString value)Only return access tokens that lexicographically start after this ID.-
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, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListAccessTokensRequest.Builder>
-
clear
public ListAccessTokensRequest.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<ListAccessTokensRequest.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<ListAccessTokensRequest.Builder>
-
getDefaultInstanceForType
public ListAccessTokensRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListAccessTokensRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListAccessTokensRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ListAccessTokensRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListAccessTokensRequest.Builder>
-
mergeFrom
public ListAccessTokensRequest.Builder mergeFrom(ListAccessTokensRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListAccessTokensRequest.Builder>
-
mergeFrom
public ListAccessTokensRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListAccessTokensRequest.Builder>- Throws:
java.io.IOException
-
getPrefix
public java.lang.String getPrefix()
List access tokens that begin with this prefix.
string prefix = 1;- Specified by:
getPrefixin interfaceListAccessTokensRequestOrBuilder- Returns:
- The prefix.
-
getPrefixBytes
public com.google.protobuf.ByteString getPrefixBytes()
List access tokens that begin with this prefix.
string prefix = 1;- Specified by:
getPrefixBytesin interfaceListAccessTokensRequestOrBuilder- Returns:
- The bytes for prefix.
-
setPrefix
public ListAccessTokensRequest.Builder setPrefix(java.lang.String value)
List access tokens that begin with this prefix.
string prefix = 1;- Parameters:
value- The prefix to set.- Returns:
- This builder for chaining.
-
clearPrefix
public ListAccessTokensRequest.Builder clearPrefix()
List access tokens that begin with this prefix.
string prefix = 1;- Returns:
- This builder for chaining.
-
setPrefixBytes
public ListAccessTokensRequest.Builder setPrefixBytes(com.google.protobuf.ByteString value)
List access tokens that begin with this prefix.
string prefix = 1;- Parameters:
value- The bytes for prefix to set.- Returns:
- This builder for chaining.
-
getStartAfter
public java.lang.String getStartAfter()
Only return access tokens that lexicographically start after this ID.
string start_after = 2;- Specified by:
getStartAfterin interfaceListAccessTokensRequestOrBuilder- Returns:
- The startAfter.
-
getStartAfterBytes
public com.google.protobuf.ByteString getStartAfterBytes()
Only return access tokens that lexicographically start after this ID.
string start_after = 2;- Specified by:
getStartAfterBytesin interfaceListAccessTokensRequestOrBuilder- Returns:
- The bytes for startAfter.
-
setStartAfter
public ListAccessTokensRequest.Builder setStartAfter(java.lang.String value)
Only return access tokens that lexicographically start after this ID.
string start_after = 2;- Parameters:
value- The startAfter to set.- Returns:
- This builder for chaining.
-
clearStartAfter
public ListAccessTokensRequest.Builder clearStartAfter()
Only return access tokens that lexicographically start after this ID.
string start_after = 2;- Returns:
- This builder for chaining.
-
setStartAfterBytes
public ListAccessTokensRequest.Builder setStartAfterBytes(com.google.protobuf.ByteString value)
Only return access tokens that lexicographically start after this ID.
string start_after = 2;- Parameters:
value- The bytes for startAfter to set.- Returns:
- This builder for chaining.
-
hasLimit
public boolean hasLimit()
Number of results, up to a maximum of 1000.
optional uint64 limit = 3;- Specified by:
hasLimitin interfaceListAccessTokensRequestOrBuilder- Returns:
- Whether the limit field is set.
-
getLimit
public long getLimit()
Number of results, up to a maximum of 1000.
optional uint64 limit = 3;- Specified by:
getLimitin interfaceListAccessTokensRequestOrBuilder- Returns:
- The limit.
-
setLimit
public ListAccessTokensRequest.Builder setLimit(long value)
Number of results, up to a maximum of 1000.
optional uint64 limit = 3;- Parameters:
value- The limit to set.- Returns:
- This builder for chaining.
-
clearLimit
public ListAccessTokensRequest.Builder clearLimit()
Number of results, up to a maximum of 1000.
optional uint64 limit = 3;- Returns:
- This builder for chaining.
-
-