Package com.iotics.api
Class SearchRequest.Payload.Filter.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Payload.Filter.Builder>
com.iotics.api.SearchRequest.Payload.Filter.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SearchRequest.Payload.FilterOrBuilder,Cloneable
- Enclosing class:
- SearchRequest.Payload.Filter
public static final class SearchRequest.Payload.Filter.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Payload.Filter.Builder>
implements SearchRequest.Payload.FilterOrBuilder
Search request filters, any of these can be used in combination or on their own.Protobuf type
iotics.api.SearchRequest.Payload.Filter-
Method Summary
Modifier and TypeMethodDescriptionaddAllProperties(Iterable<? extends Property> values) Properties filtering: one or more exact properties, all of which twins must have.addProperties(int index, Property value) Properties filtering: one or more exact properties, all of which twins must have.addProperties(int index, Property.Builder builderForValue) Properties filtering: one or more exact properties, all of which twins must have.addProperties(Property value) Properties filtering: one or more exact properties, all of which twins must have.addProperties(Property.Builder builderForValue) Properties filtering: one or more exact properties, all of which twins must have.Properties filtering: one or more exact properties, all of which twins must have.addPropertiesBuilder(int index) Properties filtering: one or more exact properties, all of which twins must have.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Location filtering: area within which twins must be locatedclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Properties filtering: one or more exact properties, all of which twins must have.Text filtering.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorLocation filtering: area within which twins must be locatedLocation filtering: area within which twins must be locatedLocation filtering: area within which twins must be locatedgetProperties(int index) Properties filtering: one or more exact properties, all of which twins must have.getPropertiesBuilder(int index) Properties filtering: one or more exact properties, all of which twins must have.Properties filtering: one or more exact properties, all of which twins must have.intProperties filtering: one or more exact properties, all of which twins must have.Properties filtering: one or more exact properties, all of which twins must have.getPropertiesOrBuilder(int index) Properties filtering: one or more exact properties, all of which twins must have.List<? extends PropertyOrBuilder>Properties filtering: one or more exact properties, all of which twins must have.getText()Text filtering.Text filtering.Text filtering.booleanLocation filtering: area within which twins must be locatedbooleanhasText()Text filtering.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLocation(GeoCircle value) Location filtering: area within which twins must be locatedmergeText(StringValue value) Text filtering.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeProperties(int index) Properties filtering: one or more exact properties, all of which twins must have.setLocation(GeoCircle value) Location filtering: area within which twins must be locatedsetLocation(GeoCircle.Builder builderForValue) Location filtering: area within which twins must be locatedsetProperties(int index, Property value) Properties filtering: one or more exact properties, all of which twins must have.setProperties(int index, Property.Builder builderForValue) Properties filtering: one or more exact properties, all of which twins must have.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setText(StringValue value) Text filtering.setText(StringValue.Builder builderForValue) Text filtering.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Payload.Filter.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Payload.Filter.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.GeneratedMessageV3.Builder<SearchRequest.Payload.Filter.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Payload.Filter.Builder>
-
setField
public SearchRequest.Payload.Filter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Payload.Filter.Builder>
-
clearField
public SearchRequest.Payload.Filter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Payload.Filter.Builder>
-
clearOneof
public SearchRequest.Payload.Filter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Payload.Filter.Builder>
-
setRepeatedField
public SearchRequest.Payload.Filter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Payload.Filter.Builder>
-
addRepeatedField
public SearchRequest.Payload.Filter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Payload.Filter.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchRequest.Payload.Filter.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Payload.Filter.Builder>
-
mergeFrom
public SearchRequest.Payload.Filter.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<SearchRequest.Payload.Filter.Builder>- Throws:
IOException
-
hasText
public boolean hasText()Text filtering. One or more keywords which must match text from twin properties. Note that any (rather than all) of the keywords will produce a match.
.google.protobuf.StringValue text = 1;- Specified by:
hasTextin interfaceSearchRequest.Payload.FilterOrBuilder- Returns:
- Whether the text field is set.
-
getText
Text filtering. One or more keywords which must match text from twin properties. Note that any (rather than all) of the keywords will produce a match.
.google.protobuf.StringValue text = 1;- Specified by:
getTextin interfaceSearchRequest.Payload.FilterOrBuilder- Returns:
- The text.
-
setText
Text filtering. One or more keywords which must match text from twin properties. Note that any (rather than all) of the keywords will produce a match.
.google.protobuf.StringValue text = 1; -
setText
Text filtering. One or more keywords which must match text from twin properties. Note that any (rather than all) of the keywords will produce a match.
.google.protobuf.StringValue text = 1; -
mergeText
Text filtering. One or more keywords which must match text from twin properties. Note that any (rather than all) of the keywords will produce a match.
.google.protobuf.StringValue text = 1; -
clearText
Text filtering. One or more keywords which must match text from twin properties. Note that any (rather than all) of the keywords will produce a match.
.google.protobuf.StringValue text = 1; -
getTextBuilder
Text filtering. One or more keywords which must match text from twin properties. Note that any (rather than all) of the keywords will produce a match.
.google.protobuf.StringValue text = 1; -
getTextOrBuilder
Text filtering. One or more keywords which must match text from twin properties. Note that any (rather than all) of the keywords will produce a match.
.google.protobuf.StringValue text = 1;- Specified by:
getTextOrBuilderin interfaceSearchRequest.Payload.FilterOrBuilder
-
hasLocation
public boolean hasLocation()Location filtering: area within which twins must be located
.iotics.api.GeoCircle location = 2;- Specified by:
hasLocationin interfaceSearchRequest.Payload.FilterOrBuilder- Returns:
- Whether the location field is set.
-
getLocation
Location filtering: area within which twins must be located
.iotics.api.GeoCircle location = 2;- Specified by:
getLocationin interfaceSearchRequest.Payload.FilterOrBuilder- Returns:
- The location.
-
setLocation
Location filtering: area within which twins must be located
.iotics.api.GeoCircle location = 2; -
setLocation
Location filtering: area within which twins must be located
.iotics.api.GeoCircle location = 2; -
mergeLocation
Location filtering: area within which twins must be located
.iotics.api.GeoCircle location = 2; -
clearLocation
Location filtering: area within which twins must be located
.iotics.api.GeoCircle location = 2; -
getLocationBuilder
Location filtering: area within which twins must be located
.iotics.api.GeoCircle location = 2; -
getLocationOrBuilder
Location filtering: area within which twins must be located
.iotics.api.GeoCircle location = 2;- Specified by:
getLocationOrBuilderin interfaceSearchRequest.Payload.FilterOrBuilder
-
getPropertiesList
Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3;- Specified by:
getPropertiesListin interfaceSearchRequest.Payload.FilterOrBuilder
-
getPropertiesCount
public int getPropertiesCount()Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3;- Specified by:
getPropertiesCountin interfaceSearchRequest.Payload.FilterOrBuilder
-
getProperties
Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3;- Specified by:
getPropertiesin interfaceSearchRequest.Payload.FilterOrBuilder
-
setProperties
Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3; -
setProperties
public SearchRequest.Payload.Filter.Builder setProperties(int index, Property.Builder builderForValue) Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3; -
addProperties
Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3; -
addProperties
Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3; -
addProperties
Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3; -
addProperties
public SearchRequest.Payload.Filter.Builder addProperties(int index, Property.Builder builderForValue) Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3; -
addAllProperties
Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3; -
clearProperties
Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3; -
removeProperties
Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3; -
getPropertiesBuilder
Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3; -
getPropertiesOrBuilder
Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3;- Specified by:
getPropertiesOrBuilderin interfaceSearchRequest.Payload.FilterOrBuilder
-
getPropertiesOrBuilderList
Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3;- Specified by:
getPropertiesOrBuilderListin interfaceSearchRequest.Payload.FilterOrBuilder
-
addPropertiesBuilder
Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3; -
addPropertiesBuilder
Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3; -
getPropertiesBuilderList
Properties filtering: one or more exact properties, all of which twins must have.
repeated .iotics.api.Property properties = 3; -
setUnknownFields
public final SearchRequest.Payload.Filter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Payload.Filter.Builder>
-
mergeUnknownFields
public final SearchRequest.Payload.Filter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Payload.Filter.Builder>
-