Class SearchRequest.Payload.Filter

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.iotics.api.SearchRequest.Payload.Filter
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SearchRequest.Payload.FilterOrBuilder, Serializable
Enclosing class:
SearchRequest.Payload

public static final class SearchRequest.Payload.Filter extends com.google.protobuf.GeneratedMessageV3 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
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • 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:
      hasText in interface SearchRequest.Payload.FilterOrBuilder
      Returns:
      Whether the text field is set.
    • getText

      public StringValue 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:
      getText in interface SearchRequest.Payload.FilterOrBuilder
      Returns:
      The text.
    • getTextOrBuilder

      public StringValueOrBuilder 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:
      getTextOrBuilder in interface SearchRequest.Payload.FilterOrBuilder
    • hasLocation

      public boolean hasLocation()
       Location filtering: area within which twins must be located
       
      .iotics.api.GeoCircle location = 2;
      Specified by:
      hasLocation in interface SearchRequest.Payload.FilterOrBuilder
      Returns:
      Whether the location field is set.
    • getLocation

      public GeoCircle getLocation()
       Location filtering: area within which twins must be located
       
      .iotics.api.GeoCircle location = 2;
      Specified by:
      getLocation in interface SearchRequest.Payload.FilterOrBuilder
      Returns:
      The location.
    • getLocationOrBuilder

      public GeoCircleOrBuilder getLocationOrBuilder()
       Location filtering: area within which twins must be located
       
      .iotics.api.GeoCircle location = 2;
      Specified by:
      getLocationOrBuilder in interface SearchRequest.Payload.FilterOrBuilder
    • getPropertiesList

      public List<Property> getPropertiesList()
       Properties filtering: one or more exact properties, all of which twins must have.
       
      repeated .iotics.api.Property properties = 3;
      Specified by:
      getPropertiesList in interface SearchRequest.Payload.FilterOrBuilder
    • getPropertiesOrBuilderList

      public List<? extends PropertyOrBuilder> getPropertiesOrBuilderList()
       Properties filtering: one or more exact properties, all of which twins must have.
       
      repeated .iotics.api.Property properties = 3;
      Specified by:
      getPropertiesOrBuilderList in interface SearchRequest.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:
      getPropertiesCount in interface SearchRequest.Payload.FilterOrBuilder
    • getProperties

      public Property getProperties(int index)
       Properties filtering: one or more exact properties, all of which twins must have.
       
      repeated .iotics.api.Property properties = 3;
      Specified by:
      getProperties in interface SearchRequest.Payload.FilterOrBuilder
    • getPropertiesOrBuilder

      public PropertyOrBuilder getPropertiesOrBuilder(int index)
       Properties filtering: one or more exact properties, all of which twins must have.
       
      repeated .iotics.api.Property properties = 3;
      Specified by:
      getPropertiesOrBuilder in interface SearchRequest.Payload.FilterOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 SearchRequest.Payload.Filter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchRequest.Payload.Filter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchRequest.Payload.Filter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchRequest.Payload.Filter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchRequest.Payload.Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchRequest.Payload.Filter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchRequest.Payload.Filter parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchRequest.Payload.Filter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SearchRequest.Payload.Filter parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SearchRequest.Payload.Filter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchRequest.Payload.Filter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchRequest.Payload.Filter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SearchRequest.Payload.Filter.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SearchRequest.Payload.Filter.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SearchRequest.Payload.Filter.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static SearchRequest.Payload.Filter getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SearchRequest.Payload.Filter> parser()
    • getParserForType

      public com.google.protobuf.Parser<SearchRequest.Payload.Filter> 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.GeneratedMessageV3
    • getDefaultInstanceForType

      public SearchRequest.Payload.Filter getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder