Package s2.v1alpha

Class ListAccessTokensRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListAccessTokensRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListAccessTokensRequest.Builder>
      • getDefaultInstanceForType

        public ListAccessTokensRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ListAccessTokensRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ListAccessTokensRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface ListAccessTokensRequestOrBuilder
        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 interface ListAccessTokensRequestOrBuilder
        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 interface ListAccessTokensRequestOrBuilder
        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 interface ListAccessTokensRequestOrBuilder
        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 interface ListAccessTokensRequestOrBuilder
        Returns:
        Whether the limit field is set.
      • 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.