Class TagsAndNamesCriterion.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<TagsAndNamesCriterion.Builder>
-
- io.axoniq.axonserver.grpc.event.dcb.TagsAndNamesCriterion.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TagsAndNamesCriterionOrBuilder,Cloneable
- Enclosing class:
- TagsAndNamesCriterion
public static final class TagsAndNamesCriterion.Builder extends com.google.protobuf.GeneratedMessage.Builder<TagsAndNamesCriterion.Builder> 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 typeio.axoniq.axonserver.grpc.event.dcb.TagsAndNamesCriterion
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TagsAndNamesCriterion.BuilderaddAllName(Iterable<String> values)A list of event names.TagsAndNamesCriterion.BuilderaddAllTag(Iterable<? extends Tag> values)A list of event tags.TagsAndNamesCriterion.BuilderaddName(String value)A list of event names.TagsAndNamesCriterion.BuilderaddNameBytes(com.google.protobuf.ByteString value)A list of event names.TagsAndNamesCriterion.BuilderaddTag(int index, Tag value)A list of event tags.TagsAndNamesCriterion.BuilderaddTag(int index, Tag.Builder builderForValue)A list of event tags.TagsAndNamesCriterion.BuilderaddTag(Tag value)A list of event tags.TagsAndNamesCriterion.BuilderaddTag(Tag.Builder builderForValue)A list of event tags.Tag.BuilderaddTagBuilder()A list of event tags.Tag.BuilderaddTagBuilder(int index)A list of event tags.TagsAndNamesCriterionbuild()TagsAndNamesCriterionbuildPartial()TagsAndNamesCriterion.Builderclear()TagsAndNamesCriterion.BuilderclearName()A list of event names.TagsAndNamesCriterion.BuilderclearTag()A list of event tags.TagsAndNamesCriteriongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetName(int index)A list of event names.com.google.protobuf.ByteStringgetNameBytes(int index)A list of event names.intgetNameCount()A list of event names.com.google.protobuf.ProtocolStringListgetNameList()A list of event names.TaggetTag(int index)A list of event tags.Tag.BuildergetTagBuilder(int index)A list of event tags.List<Tag.Builder>getTagBuilderList()A list of event tags.intgetTagCount()A list of event tags.List<Tag>getTagList()A list of event tags.TagOrBuildergetTagOrBuilder(int index)A list of event tags.List<? extends TagOrBuilder>getTagOrBuilderList()A list of event tags.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TagsAndNamesCriterion.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TagsAndNamesCriterion.BuildermergeFrom(com.google.protobuf.Message other)TagsAndNamesCriterion.BuildermergeFrom(TagsAndNamesCriterion other)TagsAndNamesCriterion.BuilderremoveTag(int index)A list of event tags.TagsAndNamesCriterion.BuildersetName(int index, String value)A list of event names.TagsAndNamesCriterion.BuildersetTag(int index, Tag value)A list of event tags.TagsAndNamesCriterion.BuildersetTag(int index, Tag.Builder builderForValue)A list of event tags.-
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
-
-
-
-
Method Detail
-
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<TagsAndNamesCriterion.Builder>
-
clear
public TagsAndNamesCriterion.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<TagsAndNamesCriterion.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<TagsAndNamesCriterion.Builder>
-
getDefaultInstanceForType
public TagsAndNamesCriterion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TagsAndNamesCriterion build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TagsAndNamesCriterion buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public TagsAndNamesCriterion.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TagsAndNamesCriterion.Builder>
-
mergeFrom
public TagsAndNamesCriterion.Builder mergeFrom(TagsAndNamesCriterion other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TagsAndNamesCriterion.Builder>
-
mergeFrom
public TagsAndNamesCriterion.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<TagsAndNamesCriterion.Builder>- Throws:
IOException
-
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:
getNameListin interfaceTagsAndNamesCriterionOrBuilder- 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:
getNameCountin interfaceTagsAndNamesCriterionOrBuilder- 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:
getNamein interfaceTagsAndNamesCriterionOrBuilder- 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:
getNameBytesin interfaceTagsAndNamesCriterionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the name at the given index.
-
setName
public TagsAndNamesCriterion.Builder setName(int index, String value)
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;- Parameters:
index- The index to set the value at.value- The name to set.- Returns:
- This builder for chaining.
-
addName
public TagsAndNamesCriterion.Builder addName(String value)
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;- Parameters:
value- The name to add.- Returns:
- This builder for chaining.
-
addAllName
public TagsAndNamesCriterion.Builder addAllName(Iterable<String> values)
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;- Parameters:
values- The name to add.- Returns:
- This builder for chaining.
-
clearName
public TagsAndNamesCriterion.Builder clearName()
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;- Returns:
- This builder for chaining.
-
addNameBytes
public TagsAndNamesCriterion.Builder addNameBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes of the name to add.- Returns:
- This builder for chaining.
-
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:
getTagListin interfaceTagsAndNamesCriterionOrBuilder
-
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:
getTagCountin interfaceTagsAndNamesCriterionOrBuilder
-
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:
getTagin interfaceTagsAndNamesCriterionOrBuilder
-
setTag
public TagsAndNamesCriterion.Builder setTag(int index, Tag value)
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;
-
setTag
public TagsAndNamesCriterion.Builder setTag(int index, Tag.Builder builderForValue)
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;
-
addTag
public TagsAndNamesCriterion.Builder addTag(Tag value)
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;
-
addTag
public TagsAndNamesCriterion.Builder addTag(int index, Tag value)
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;
-
addTag
public TagsAndNamesCriterion.Builder addTag(Tag.Builder builderForValue)
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;
-
addTag
public TagsAndNamesCriterion.Builder addTag(int index, Tag.Builder builderForValue)
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;
-
addAllTag
public TagsAndNamesCriterion.Builder addAllTag(Iterable<? extends Tag> values)
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;
-
clearTag
public TagsAndNamesCriterion.Builder clearTag()
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;
-
removeTag
public TagsAndNamesCriterion.Builder removeTag(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;
-
getTagBuilder
public Tag.Builder getTagBuilder(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;
-
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:
getTagOrBuilderin interfaceTagsAndNamesCriterionOrBuilder
-
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:
getTagOrBuilderListin interfaceTagsAndNamesCriterionOrBuilder
-
addTagBuilder
public Tag.Builder addTagBuilder()
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;
-
addTagBuilder
public Tag.Builder addTagBuilder(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;
-
getTagBuilderList
public List<Tag.Builder> getTagBuilderList()
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;
-
-