Package io.deephaven.proto.controller
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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Match the PQ whose (owner, name) equals this pair.Match the PQ whose serial equals this value.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorMatch the PQ whose (owner, name) equals this pair.Match the PQ whose (owner, name) equals this pair.Match the PQ whose (owner, name) equals this pair.longMatch the PQ whose serial equals this value.booleanMatch the PQ whose (owner, name) equals this pair.booleanMatch the PQ whose serial equals this value.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(SubscriptionFilter other) Match the PQ whose (owner, name) equals this pair.Match the PQ whose (owner, name) equals this pair.setOwnerAndName(SubscriptionFilter.OwnerAndName.Builder builderForValue) Match the PQ whose (owner, name) equals this pair.setSerial(long value) Match the PQ whose serial equals this value.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SubscriptionFilter.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SubscriptionFilter.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SubscriptionFilter.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SubscriptionFilter.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SubscriptionFilter.Builder>- Throws:
IOException
-
getMatchCase
- Specified by:
getMatchCasein interfaceSubscriptionFilterOrBuilder
-
clearMatch
-
hasSerial
public boolean hasSerial()Match the PQ whose serial equals this value.
int64 serial = 1;- Specified by:
hasSerialin interfaceSubscriptionFilterOrBuilder- Returns:
- Whether the serial field is set.
-
getSerial
public long getSerial()Match the PQ whose serial equals this value.
int64 serial = 1;- Specified by:
getSerialin interfaceSubscriptionFilterOrBuilder- Returns:
- The serial.
-
setSerial
Match the PQ whose serial equals this value.
int64 serial = 1;- Parameters:
value- The serial to set.- Returns:
- This builder for chaining.
-
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:
hasOwnerAndNamein interfaceSubscriptionFilterOrBuilder- Returns:
- Whether the ownerAndName field is set.
-
getOwnerAndName
Match the PQ whose (owner, name) equals this pair.
.io.deephaven.proto.controller.SubscriptionFilter.OwnerAndName ownerAndName = 2;- Specified by:
getOwnerAndNamein interfaceSubscriptionFilterOrBuilder- 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
Match the PQ whose (owner, name) equals this pair.
.io.deephaven.proto.controller.SubscriptionFilter.OwnerAndName ownerAndName = 2; -
getOwnerAndNameBuilder
Match the PQ whose (owner, name) equals this pair.
.io.deephaven.proto.controller.SubscriptionFilter.OwnerAndName ownerAndName = 2; -
getOwnerAndNameOrBuilder
Match the PQ whose (owner, name) equals this pair.
.io.deephaven.proto.controller.SubscriptionFilter.OwnerAndName ownerAndName = 2;- Specified by:
getOwnerAndNameOrBuilderin interfaceSubscriptionFilterOrBuilder
-