Class TagsAndNamesCriterion

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TagsAndNamesCriterionOrBuilder, Serializable

    @Generated
    public final class TagsAndNamesCriterion
    extends com.google.protobuf.GeneratedMessage
    implements TagsAndNamesCriterionOrBuilder
     The criterion based on event tags and event names. The event meets this criterion if ALL tags from this criterion
     are present in the tags of the event AND if the event name is present in one of the names of the this criterion. 
     
    Protobuf type io.axoniq.axonserver.grpc.event.dcb.TagsAndNamesCriterion
    See Also:
    Serialized Form
    • Method Detail

      • getDescriptor

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

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • getNameList

        public com.google.protobuf.ProtocolStringList getNameList()
         A list of event names. The event meets this criterion if its name is in one of the names in this list. 
         
        repeated string name = 1;
        Specified by:
        getNameList in interface TagsAndNamesCriterionOrBuilder
        Returns:
        A list containing the name.
      • getNameCount

        public int getNameCount()
         A list of event names. The event meets this criterion if its name is in one of the names in this list. 
         
        repeated string name = 1;
        Specified by:
        getNameCount in interface TagsAndNamesCriterionOrBuilder
        Returns:
        The count of name.
      • getName

        public String getName​(int index)
         A list of event names. The event meets this criterion if its name is in one of the names in this list. 
         
        repeated string name = 1;
        Specified by:
        getName in interface TagsAndNamesCriterionOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The name at the given index.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes​(int index)
         A list of event names. The event meets this criterion if its name is in one of the names in this list. 
         
        repeated string name = 1;
        Specified by:
        getNameBytes in interface TagsAndNamesCriterionOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the name at the given index.
      • getTagList

        public List<Tag> getTagList()
         A list of event tags. The event meets this criterion if it contains all the tags from this list. It meets the
         criterion if it contains more than provided list here, but it MUST contain all from the list. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
        Specified by:
        getTagList in interface TagsAndNamesCriterionOrBuilder
      • getTagOrBuilderList

        public List<? extends TagOrBuilder> getTagOrBuilderList()
         A list of event tags. The event meets this criterion if it contains all the tags from this list. It meets the
         criterion if it contains more than provided list here, but it MUST contain all from the list. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
        Specified by:
        getTagOrBuilderList in interface TagsAndNamesCriterionOrBuilder
      • getTagCount

        public int getTagCount()
         A list of event tags. The event meets this criterion if it contains all the tags from this list. It meets the
         criterion if it contains more than provided list here, but it MUST contain all from the list. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
        Specified by:
        getTagCount in interface TagsAndNamesCriterionOrBuilder
      • getTag

        public Tag getTag​(int index)
         A list of event tags. The event meets this criterion if it contains all the tags from this list. It meets the
         criterion if it contains more than provided list here, but it MUST contain all from the list. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
        Specified by:
        getTag in interface TagsAndNamesCriterionOrBuilder
      • getTagOrBuilder

        public TagOrBuilder getTagOrBuilder​(int index)
         A list of event tags. The event meets this criterion if it contains all the tags from this list. It meets the
         criterion if it contains more than provided list here, but it MUST contain all from the list. 
         
        repeated .io.axoniq.axonserver.grpc.event.dcb.Tag tag = 2;
        Specified by:
        getTagOrBuilder in interface TagsAndNamesCriterionOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static TagsAndNamesCriterion parseFrom​(ByteBuffer data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TagsAndNamesCriterion parseFrom​(ByteBuffer data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TagsAndNamesCriterion parseFrom​(com.google.protobuf.ByteString data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TagsAndNamesCriterion parseFrom​(com.google.protobuf.ByteString data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TagsAndNamesCriterion parseFrom​(byte[] data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TagsAndNamesCriterion parseFrom​(byte[] data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public TagsAndNamesCriterion.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public TagsAndNamesCriterion.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected TagsAndNamesCriterion.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getParserForType

        public com.google.protobuf.Parser<TagsAndNamesCriterion> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

        public TagsAndNamesCriterion getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder