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 ListAccessTokensRequest
build()
ListAccessTokensRequest
buildPartial()
ListAccessTokensRequest.Builder
clear()
ListAccessTokensRequest.Builder
clearLimit()
Number of results, up to a maximum of 1000.ListAccessTokensRequest.Builder
clearPrefix()
List access tokens that begin with this prefix.ListAccessTokensRequest.Builder
clearStartAfter()
Only return access tokens that lexicographically start after this ID.ListAccessTokensRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getLimit()
Number of results, up to a maximum of 1000.java.lang.String
getPrefix()
List access tokens that begin with this prefix.com.google.protobuf.ByteString
getPrefixBytes()
List access tokens that begin with this prefix.java.lang.String
getStartAfter()
Only return access tokens that lexicographically start after this ID.com.google.protobuf.ByteString
getStartAfterBytes()
Only return access tokens that lexicographically start after this ID.boolean
hasLimit()
Number of results, up to a maximum of 1000.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListAccessTokensRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListAccessTokensRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ListAccessTokensRequest.Builder
mergeFrom(ListAccessTokensRequest other)
ListAccessTokensRequest.Builder
setLimit(long value)
Number of results, up to a maximum of 1000.ListAccessTokensRequest.Builder
setPrefix(java.lang.String value)
List access tokens that begin with this prefix.ListAccessTokensRequest.Builder
setPrefixBytes(com.google.protobuf.ByteString value)
List access tokens that begin with this prefix.ListAccessTokensRequest.Builder
setStartAfter(java.lang.String value)
Only return access tokens that lexicographically start after this ID.ListAccessTokensRequest.Builder
setStartAfterBytes(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<ListAccessTokensRequest.Builder>
-
clear
public ListAccessTokensRequest.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.GeneratedMessage.Builder<ListAccessTokensRequest.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.GeneratedMessage.Builder<ListAccessTokensRequest.Builder>
-
getDefaultInstanceForType
public ListAccessTokensRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListAccessTokensRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListAccessTokensRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ListAccessTokensRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListAccessTokensRequest.Builder>
-
mergeFrom
public ListAccessTokensRequest.Builder mergeFrom(ListAccessTokensRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getPrefix
in interfaceListAccessTokensRequestOrBuilder
- Returns:
- The prefix.
-
getPrefixBytes
public com.google.protobuf.ByteString getPrefixBytes()
List access tokens that begin with this prefix.
string prefix = 1;
- Specified by:
getPrefixBytes
in 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:
getStartAfter
in 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:
getStartAfterBytes
in 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:
hasLimit
in 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:
getLimit
in 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.
-
-