Class ListenMessage.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ListenMessage.Builder>
com.google.protobuf.GeneratedMessage.Builder<ListenMessage.Builder>
studio.o7.octopus.sdk.v1.ListenMessage.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ListenMessageOrBuilder
Enclosing class:
ListenMessage

public static final class ListenMessage.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListenMessage.Builder> implements ListenMessageOrBuilder
*
Message type for the listen stream.
Protobuf type octopus_sdk.v1.ListenMessage
  • Method Summary

    Modifier and Type
    Method
    Description
    Pattern to match keys.
    Pattern to match keys.
    addKeyPatternBytes(com.google.protobuf.ByteString value)
    Pattern to match keys.
     
     
     
    Pattern to match keys.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    getKeyPattern(int index)
    Pattern to match keys.
    com.google.protobuf.ByteString
    getKeyPatternBytes(int index)
    Pattern to match keys.
    int
    Pattern to match keys.
    com.google.protobuf.ProtocolStringList
    Pattern to match keys.
    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)
     
     
    setKeyPattern(int index, String value)
    Pattern to match keys.

    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 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<ListenMessage.Builder>
    • clear

      public ListenMessage.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<ListenMessage.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<ListenMessage.Builder>
    • getDefaultInstanceForType

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

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

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

      public ListenMessage.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<ListenMessage.Builder>
    • mergeFrom

      public ListenMessage.Builder mergeFrom(ListenMessage other)
    • isInitialized

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

      public ListenMessage.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<ListenMessage.Builder>
      Throws:
      IOException
    • getKeyPatternList

      public com.google.protobuf.ProtocolStringList getKeyPatternList()
      Pattern to match keys. Supports wildcards:
      *  - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar"
      >  - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc.
      Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
      
      repeated string key_pattern = 1 [json_name = "keyPattern"];
      Specified by:
      getKeyPatternList in interface ListenMessageOrBuilder
      Returns:
      A list containing the keyPattern.
    • getKeyPatternCount

      public int getKeyPatternCount()
      Pattern to match keys. Supports wildcards:
      *  - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar"
      >  - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc.
      Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
      
      repeated string key_pattern = 1 [json_name = "keyPattern"];
      Specified by:
      getKeyPatternCount in interface ListenMessageOrBuilder
      Returns:
      The count of keyPattern.
    • getKeyPattern

      public String getKeyPattern(int index)
      Pattern to match keys. Supports wildcards:
      *  - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar"
      >  - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc.
      Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
      
      repeated string key_pattern = 1 [json_name = "keyPattern"];
      Specified by:
      getKeyPattern in interface ListenMessageOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The keyPattern at the given index.
    • getKeyPatternBytes

      public com.google.protobuf.ByteString getKeyPatternBytes(int index)
      Pattern to match keys. Supports wildcards:
      *  - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar"
      >  - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc.
      Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
      
      repeated string key_pattern = 1 [json_name = "keyPattern"];
      Specified by:
      getKeyPatternBytes in interface ListenMessageOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the keyPattern at the given index.
    • setKeyPattern

      public ListenMessage.Builder setKeyPattern(int index, String value)
      Pattern to match keys. Supports wildcards:
      *  - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar"
      >  - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc.
      Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
      
      repeated string key_pattern = 1 [json_name = "keyPattern"];
      Parameters:
      index - The index to set the value at.
      value - The keyPattern to set.
      Returns:
      This builder for chaining.
    • addKeyPattern

      public ListenMessage.Builder addKeyPattern(String value)
      Pattern to match keys. Supports wildcards:
      *  - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar"
      >  - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc.
      Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
      
      repeated string key_pattern = 1 [json_name = "keyPattern"];
      Parameters:
      value - The keyPattern to add.
      Returns:
      This builder for chaining.
    • addAllKeyPattern

      public ListenMessage.Builder addAllKeyPattern(Iterable<String> values)
      Pattern to match keys. Supports wildcards:
      *  - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar"
      >  - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc.
      Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
      
      repeated string key_pattern = 1 [json_name = "keyPattern"];
      Parameters:
      values - The keyPattern to add.
      Returns:
      This builder for chaining.
    • clearKeyPattern

      public ListenMessage.Builder clearKeyPattern()
      Pattern to match keys. Supports wildcards:
      *  - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar"
      >  - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc.
      Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
      
      repeated string key_pattern = 1 [json_name = "keyPattern"];
      Returns:
      This builder for chaining.
    • addKeyPatternBytes

      public ListenMessage.Builder addKeyPatternBytes(com.google.protobuf.ByteString value)
      Pattern to match keys. Supports wildcards:
      *  - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar"
      >  - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc.
      Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
      
      repeated string key_pattern = 1 [json_name = "keyPattern"];
      Parameters:
      value - The bytes of the keyPattern to add.
      Returns:
      This builder for chaining.