Package s2.v1alpha

Class ListStreamsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListStreamsRequest.Builder>
s2.v1alpha.ListStreamsRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ListStreamsRequestOrBuilder
Enclosing class:
ListStreamsRequest

public static final class ListStreamsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListStreamsRequest.Builder> implements ListStreamsRequestOrBuilder
 List streams request.
 
Protobuf type s2.v1alpha.ListStreamsRequest
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Number of results, up to a maximum of 1000.
    List stream names that begin with this prefix.
    Only return stream names that lexicographically start after this name.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    long
    Number of results, up to a maximum of 1000.
    List stream names that begin with this prefix.
    com.google.protobuf.ByteString
    List stream names that begin with this prefix.
    Only return stream names that lexicographically start after this name.
    com.google.protobuf.ByteString
    Only return stream names that lexicographically start after this name.
    boolean
    Number of results, up to a maximum of 1000.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    setLimit(long value)
    Number of results, up to a maximum of 1000.
    List stream names that begin with this prefix.
    setPrefixBytes(com.google.protobuf.ByteString value)
    List stream names that begin with this prefix.
    Only return stream names that lexicographically start after this name.
    setStartAfterBytes(com.google.protobuf.ByteString value)
    Only return stream names that lexicographically start after this name.

    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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListStreamsRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ListStreamsRequest.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<ListStreamsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public ListStreamsRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListStreamsRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListStreamsRequest.Builder>
    • mergeFrom

      public ListStreamsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<ListStreamsRequest.Builder>
      Throws:
      IOException
    • getPrefix

      public String getPrefix()
       List stream names that begin with this prefix.
       
      string prefix = 1;
      Specified by:
      getPrefix in interface ListStreamsRequestOrBuilder
      Returns:
      The prefix.
    • getPrefixBytes

      public com.google.protobuf.ByteString getPrefixBytes()
       List stream names that begin with this prefix.
       
      string prefix = 1;
      Specified by:
      getPrefixBytes in interface ListStreamsRequestOrBuilder
      Returns:
      The bytes for prefix.
    • setPrefix

      public ListStreamsRequest.Builder setPrefix(String value)
       List stream names that begin with this prefix.
       
      string prefix = 1;
      Parameters:
      value - The prefix to set.
      Returns:
      This builder for chaining.
    • clearPrefix

      public ListStreamsRequest.Builder clearPrefix()
       List stream names that begin with this prefix.
       
      string prefix = 1;
      Returns:
      This builder for chaining.
    • setPrefixBytes

      public ListStreamsRequest.Builder setPrefixBytes(com.google.protobuf.ByteString value)
       List stream names that begin with this prefix.
       
      string prefix = 1;
      Parameters:
      value - The bytes for prefix to set.
      Returns:
      This builder for chaining.
    • getStartAfter

      public String getStartAfter()
       Only return stream names that lexicographically start after this name.
       This can be the last stream name seen in a previous listing, to continue from there.
       It must be greater than or equal to the prefix if specified.
       
      string start_after = 2;
      Specified by:
      getStartAfter in interface ListStreamsRequestOrBuilder
      Returns:
      The startAfter.
    • getStartAfterBytes

      public com.google.protobuf.ByteString getStartAfterBytes()
       Only return stream names that lexicographically start after this name.
       This can be the last stream name seen in a previous listing, to continue from there.
       It must be greater than or equal to the prefix if specified.
       
      string start_after = 2;
      Specified by:
      getStartAfterBytes in interface ListStreamsRequestOrBuilder
      Returns:
      The bytes for startAfter.
    • setStartAfter

      public ListStreamsRequest.Builder setStartAfter(String value)
       Only return stream names that lexicographically start after this name.
       This can be the last stream name seen in a previous listing, to continue from there.
       It must be greater than or equal to the prefix if specified.
       
      string start_after = 2;
      Parameters:
      value - The startAfter to set.
      Returns:
      This builder for chaining.
    • clearStartAfter

      public ListStreamsRequest.Builder clearStartAfter()
       Only return stream names that lexicographically start after this name.
       This can be the last stream name seen in a previous listing, to continue from there.
       It must be greater than or equal to the prefix if specified.
       
      string start_after = 2;
      Returns:
      This builder for chaining.
    • setStartAfterBytes

      public ListStreamsRequest.Builder setStartAfterBytes(com.google.protobuf.ByteString value)
       Only return stream names that lexicographically start after this name.
       This can be the last stream name seen in a previous listing, to continue from there.
       It must be greater than or equal to the prefix if specified.
       
      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 ListStreamsRequestOrBuilder
      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 interface ListStreamsRequestOrBuilder
      Returns:
      The limit.
    • setLimit

      public ListStreamsRequest.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 ListStreamsRequest.Builder clearLimit()
       Number of results, up to a maximum of 1000.
       
      optional uint64 limit = 3;
      Returns:
      This builder for chaining.