Class SubscriptionFilter.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SubscriptionFilter.Builder>
io.deephaven.proto.controller.SubscriptionFilter.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SubscriptionFilterOrBuilder, Cloneable
Enclosing class:
SubscriptionFilter

public static final class SubscriptionFilter.Builder extends com.google.protobuf.GeneratedMessage.Builder<SubscriptionFilter.Builder> implements SubscriptionFilterOrBuilder
 A single subscription filter element matching a Persistent Query (PQ) either
 by its serial, or by the combination of its owner and name.

 Exactly one of the variants below must be set. A filter element with neither
 variant set, or with an OwnerAndName where either field is empty, is malformed;
 servers that honor filters MUST reject such a request with INVALID_ARGUMENT.
 
Protobuf type io.deephaven.proto.controller.SubscriptionFilter
  • 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<SubscriptionFilter.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<SubscriptionFilter.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<SubscriptionFilter.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public SubscriptionFilter.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<SubscriptionFilter.Builder>
      Throws:
      IOException
    • getMatchCase

      public SubscriptionFilter.MatchCase getMatchCase()
      Specified by:
      getMatchCase in interface SubscriptionFilterOrBuilder
    • clearMatch

      public SubscriptionFilter.Builder clearMatch()
    • hasSerial

      public boolean hasSerial()
       Match the PQ whose serial equals this value.
       
      int64 serial = 1;
      Specified by:
      hasSerial in interface SubscriptionFilterOrBuilder
      Returns:
      Whether the serial field is set.
    • getSerial

      public long getSerial()
       Match the PQ whose serial equals this value.
       
      int64 serial = 1;
      Specified by:
      getSerial in interface SubscriptionFilterOrBuilder
      Returns:
      The serial.
    • setSerial

      public SubscriptionFilter.Builder setSerial(long value)
       Match the PQ whose serial equals this value.
       
      int64 serial = 1;
      Parameters:
      value - The serial to set.
      Returns:
      This builder for chaining.
    • clearSerial

      public SubscriptionFilter.Builder clearSerial()
       Match the PQ whose serial equals this value.
       
      int64 serial = 1;
      Returns:
      This builder for chaining.
    • hasOwnerAndName

      public boolean hasOwnerAndName()
       Match the PQ whose (owner, name) equals this pair.
       
      .io.deephaven.proto.controller.SubscriptionFilter.OwnerAndName ownerAndName = 2;
      Specified by:
      hasOwnerAndName in interface SubscriptionFilterOrBuilder
      Returns:
      Whether the ownerAndName field is set.
    • getOwnerAndName

      public SubscriptionFilter.OwnerAndName getOwnerAndName()
       Match the PQ whose (owner, name) equals this pair.
       
      .io.deephaven.proto.controller.SubscriptionFilter.OwnerAndName ownerAndName = 2;
      Specified by:
      getOwnerAndName in interface SubscriptionFilterOrBuilder
      Returns:
      The ownerAndName.
    • setOwnerAndName

       Match the PQ whose (owner, name) equals this pair.
       
      .io.deephaven.proto.controller.SubscriptionFilter.OwnerAndName ownerAndName = 2;
    • setOwnerAndName

      public SubscriptionFilter.Builder setOwnerAndName(SubscriptionFilter.OwnerAndName.Builder builderForValue)
       Match the PQ whose (owner, name) equals this pair.
       
      .io.deephaven.proto.controller.SubscriptionFilter.OwnerAndName ownerAndName = 2;
    • mergeOwnerAndName

       Match the PQ whose (owner, name) equals this pair.
       
      .io.deephaven.proto.controller.SubscriptionFilter.OwnerAndName ownerAndName = 2;
    • clearOwnerAndName

      public SubscriptionFilter.Builder clearOwnerAndName()
       Match the PQ whose (owner, name) equals this pair.
       
      .io.deephaven.proto.controller.SubscriptionFilter.OwnerAndName ownerAndName = 2;
    • getOwnerAndNameBuilder

      public SubscriptionFilter.OwnerAndName.Builder getOwnerAndNameBuilder()
       Match the PQ whose (owner, name) equals this pair.
       
      .io.deephaven.proto.controller.SubscriptionFilter.OwnerAndName ownerAndName = 2;
    • getOwnerAndNameOrBuilder

      public SubscriptionFilter.OwnerAndNameOrBuilder getOwnerAndNameOrBuilder()
       Match the PQ whose (owner, name) equals this pair.
       
      .io.deephaven.proto.controller.SubscriptionFilter.OwnerAndName ownerAndName = 2;
      Specified by:
      getOwnerAndNameOrBuilder in interface SubscriptionFilterOrBuilder