Class Umadb.QueryItem.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Umadb.QueryItem.Builder>
com.google.protobuf.GeneratedMessage.Builder<Umadb.QueryItem.Builder>
umadb.v1.Umadb.QueryItem.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Umadb.QueryItemOrBuilder
- Enclosing class:
Umadb.QueryItem
public static final class Umadb.QueryItem.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Umadb.QueryItem.Builder>
implements Umadb.QueryItemOrBuilder
A specific filter condition used to match events in the store.Protobuf type
umadb.v1.QueryItem-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags(Iterable<String> values) A list of event tags to match.addAllTypes(Iterable<String> values) A list of event types to match.A list of event tags to match.addTagsBytes(com.google.protobuf.ByteString value) A list of event tags to match.A list of event types to match.addTypesBytes(com.google.protobuf.ByteString value) A list of event types to match.build()clear()A list of event tags to match.A list of event types to match.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetTags(int index) A list of event tags to match.com.google.protobuf.ByteStringgetTagsBytes(int index) A list of event tags to match.intA list of event tags to match.com.google.protobuf.ProtocolStringListA list of event tags to match.getTypes(int index) A list of event types to match.com.google.protobuf.ByteStringgetTypesBytes(int index) A list of event types to match.intA list of event types to match.com.google.protobuf.ProtocolStringListA list of event types to match.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Umadb.QueryItem other) A list of event tags to match.A list of event types to match.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 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<Umadb.QueryItem.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<Umadb.QueryItem.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<Umadb.QueryItem.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<Umadb.QueryItem.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Umadb.QueryItem.Builder>
-
mergeFrom
public Umadb.QueryItem.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<Umadb.QueryItem.Builder>- Throws:
IOException
-
getTypesList
public com.google.protobuf.ProtocolStringList getTypesList()A list of event types to match.
repeated string types = 1;- Specified by:
getTypesListin interfaceUmadb.QueryItemOrBuilder- Returns:
- A list containing the types.
-
getTypesCount
public int getTypesCount()A list of event types to match.
repeated string types = 1;- Specified by:
getTypesCountin interfaceUmadb.QueryItemOrBuilder- Returns:
- The count of types.
-
getTypes
A list of event types to match.
repeated string types = 1;- Specified by:
getTypesin interfaceUmadb.QueryItemOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
getTypesBytes
public com.google.protobuf.ByteString getTypesBytes(int index) A list of event types to match.
repeated string types = 1;- Specified by:
getTypesBytesin interfaceUmadb.QueryItemOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the types at the given index.
-
setTypes
A list of event types to match.
repeated string types = 1;- Parameters:
index- The index to set the value at.value- The types to set.- Returns:
- This builder for chaining.
-
addTypes
A list of event types to match.
repeated string types = 1;- Parameters:
value- The types to add.- Returns:
- This builder for chaining.
-
addAllTypes
A list of event types to match.
repeated string types = 1;- Parameters:
values- The types to add.- Returns:
- This builder for chaining.
-
clearTypes
A list of event types to match.
repeated string types = 1;- Returns:
- This builder for chaining.
-
addTypesBytes
A list of event types to match.
repeated string types = 1;- Parameters:
value- The bytes of the types to add.- Returns:
- This builder for chaining.
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()A list of event tags to match.
repeated string tags = 2;- Specified by:
getTagsListin interfaceUmadb.QueryItemOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()A list of event tags to match.
repeated string tags = 2;- Specified by:
getTagsCountin interfaceUmadb.QueryItemOrBuilder- Returns:
- The count of tags.
-
getTags
A list of event tags to match.
repeated string tags = 2;- Specified by:
getTagsin interfaceUmadb.QueryItemOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) A list of event tags to match.
repeated string tags = 2;- Specified by:
getTagsBytesin interfaceUmadb.QueryItemOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
A list of event tags to match.
repeated string tags = 2;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
A list of event tags to match.
repeated string tags = 2;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
A list of event tags to match.
repeated string tags = 2;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
A list of event tags to match.
repeated string tags = 2;- Returns:
- This builder for chaining.
-
addTagsBytes
A list of event tags to match.
repeated string tags = 2;- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-