Interface DateRangeQueryOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DateRangeQuery, DateRangeQuery.Builder

public interface DateRangeQueryOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    optional float boost = 2 [json_name = "boost"];
    string field = 1 [json_name = "field"];
    com.google.protobuf.ByteString
    string field = 1 [json_name = "field"];
    optional string format = 11 [json_name = "format"];
    com.google.protobuf.ByteString
    optional string format = 11 [json_name = "format"];
    optional .org.opensearch.protobufs.DateRangeQueryAllOfFrom from = 9 [json_name = "from"];
    optional .org.opensearch.protobufs.DateRangeQueryAllOfFrom from = 9 [json_name = "from"];
    optional string gt = 5 [json_name = "gt"];
    com.google.protobuf.ByteString
    optional string gt = 5 [json_name = "gt"];
    optional string gte = 6 [json_name = "gte"];
    com.google.protobuf.ByteString
    optional string gte = 6 [json_name = "gte"];
    boolean
    optional bool include_lower = 13 [json_name = "includeLower"];
    boolean
    optional bool include_upper = 14 [json_name = "includeUpper"];
    optional string lt = 7 [json_name = "lt"];
    com.google.protobuf.ByteString
    optional string lt = 7 [json_name = "lt"];
    optional string lte = 8 [json_name = "lte"];
    com.google.protobuf.ByteString
    optional string lte = 8 [json_name = "lte"];
    optional .org.opensearch.protobufs.RangeRelation relation = 4 [json_name = "relation"];
    int
    optional .org.opensearch.protobufs.RangeRelation relation = 4 [json_name = "relation"];
    optional string time_zone = 12 [json_name = "timeZone"];
    com.google.protobuf.ByteString
    optional string time_zone = 12 [json_name = "timeZone"];
    optional .org.opensearch.protobufs.DateRangeQueryAllOfTo to = 10 [json_name = "to"];
    optional .org.opensearch.protobufs.DateRangeQueryAllOfTo to = 10 [json_name = "to"];
    optional string x_name = 3 [json_name = "xName"];
    com.google.protobuf.ByteString
    optional string x_name = 3 [json_name = "xName"];
    boolean
    optional float boost = 2 [json_name = "boost"];
    boolean
    optional string format = 11 [json_name = "format"];
    boolean
    optional .org.opensearch.protobufs.DateRangeQueryAllOfFrom from = 9 [json_name = "from"];
    boolean
    optional string gt = 5 [json_name = "gt"];
    boolean
    optional string gte = 6 [json_name = "gte"];
    boolean
    optional bool include_lower = 13 [json_name = "includeLower"];
    boolean
    optional bool include_upper = 14 [json_name = "includeUpper"];
    boolean
    optional string lt = 7 [json_name = "lt"];
    boolean
    optional string lte = 8 [json_name = "lte"];
    boolean
    optional .org.opensearch.protobufs.RangeRelation relation = 4 [json_name = "relation"];
    boolean
    optional string time_zone = 12 [json_name = "timeZone"];
    boolean
    optional .org.opensearch.protobufs.DateRangeQueryAllOfTo to = 10 [json_name = "to"];
    boolean
    optional string x_name = 3 [json_name = "xName"];

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getField

      String getField()
      string field = 1 [json_name = "field"];
      Returns:
      The field.
    • getFieldBytes

      com.google.protobuf.ByteString getFieldBytes()
      string field = 1 [json_name = "field"];
      Returns:
      The bytes for field.
    • hasBoost

      boolean hasBoost()
      optional float boost = 2 [json_name = "boost"];
      Returns:
      Whether the boost field is set.
    • getBoost

      float getBoost()
      optional float boost = 2 [json_name = "boost"];
      Returns:
      The boost.
    • hasXName

      boolean hasXName()
      optional string x_name = 3 [json_name = "xName"];
      Returns:
      Whether the xName field is set.
    • getXName

      String getXName()
      optional string x_name = 3 [json_name = "xName"];
      Returns:
      The xName.
    • getXNameBytes

      com.google.protobuf.ByteString getXNameBytes()
      optional string x_name = 3 [json_name = "xName"];
      Returns:
      The bytes for xName.
    • hasRelation

      boolean hasRelation()
      optional .org.opensearch.protobufs.RangeRelation relation = 4 [json_name = "relation"];
      Returns:
      Whether the relation field is set.
    • getRelationValue

      int getRelationValue()
      optional .org.opensearch.protobufs.RangeRelation relation = 4 [json_name = "relation"];
      Returns:
      The enum numeric value on the wire for relation.
    • getRelation

      RangeRelation getRelation()
      optional .org.opensearch.protobufs.RangeRelation relation = 4 [json_name = "relation"];
      Returns:
      The relation.
    • hasGt

      boolean hasGt()
      optional string gt = 5 [json_name = "gt"];
      Returns:
      Whether the gt field is set.
    • getGt

      String getGt()
      optional string gt = 5 [json_name = "gt"];
      Returns:
      The gt.
    • getGtBytes

      com.google.protobuf.ByteString getGtBytes()
      optional string gt = 5 [json_name = "gt"];
      Returns:
      The bytes for gt.
    • hasGte

      boolean hasGte()
      optional string gte = 6 [json_name = "gte"];
      Returns:
      Whether the gte field is set.
    • getGte

      String getGte()
      optional string gte = 6 [json_name = "gte"];
      Returns:
      The gte.
    • getGteBytes

      com.google.protobuf.ByteString getGteBytes()
      optional string gte = 6 [json_name = "gte"];
      Returns:
      The bytes for gte.
    • hasLt

      boolean hasLt()
      optional string lt = 7 [json_name = "lt"];
      Returns:
      Whether the lt field is set.
    • getLt

      String getLt()
      optional string lt = 7 [json_name = "lt"];
      Returns:
      The lt.
    • getLtBytes

      com.google.protobuf.ByteString getLtBytes()
      optional string lt = 7 [json_name = "lt"];
      Returns:
      The bytes for lt.
    • hasLte

      boolean hasLte()
      optional string lte = 8 [json_name = "lte"];
      Returns:
      Whether the lte field is set.
    • getLte

      String getLte()
      optional string lte = 8 [json_name = "lte"];
      Returns:
      The lte.
    • getLteBytes

      com.google.protobuf.ByteString getLteBytes()
      optional string lte = 8 [json_name = "lte"];
      Returns:
      The bytes for lte.
    • hasFrom

      boolean hasFrom()
      optional .org.opensearch.protobufs.DateRangeQueryAllOfFrom from = 9 [json_name = "from"];
      Returns:
      Whether the from field is set.
    • getFrom

      optional .org.opensearch.protobufs.DateRangeQueryAllOfFrom from = 9 [json_name = "from"];
      Returns:
      The from.
    • getFromOrBuilder

      optional .org.opensearch.protobufs.DateRangeQueryAllOfFrom from = 9 [json_name = "from"];
    • hasTo

      boolean hasTo()
      optional .org.opensearch.protobufs.DateRangeQueryAllOfTo to = 10 [json_name = "to"];
      Returns:
      Whether the to field is set.
    • getTo

      optional .org.opensearch.protobufs.DateRangeQueryAllOfTo to = 10 [json_name = "to"];
      Returns:
      The to.
    • getToOrBuilder

      optional .org.opensearch.protobufs.DateRangeQueryAllOfTo to = 10 [json_name = "to"];
    • hasFormat

      boolean hasFormat()
      optional string format = 11 [json_name = "format"];
      Returns:
      Whether the format field is set.
    • getFormat

      String getFormat()
      optional string format = 11 [json_name = "format"];
      Returns:
      The format.
    • getFormatBytes

      com.google.protobuf.ByteString getFormatBytes()
      optional string format = 11 [json_name = "format"];
      Returns:
      The bytes for format.
    • hasTimeZone

      boolean hasTimeZone()
      optional string time_zone = 12 [json_name = "timeZone"];
      Returns:
      Whether the timeZone field is set.
    • getTimeZone

      String getTimeZone()
      optional string time_zone = 12 [json_name = "timeZone"];
      Returns:
      The timeZone.
    • getTimeZoneBytes

      com.google.protobuf.ByteString getTimeZoneBytes()
      optional string time_zone = 12 [json_name = "timeZone"];
      Returns:
      The bytes for timeZone.
    • hasIncludeLower

      boolean hasIncludeLower()
      optional bool include_lower = 13 [json_name = "includeLower"];
      Returns:
      Whether the includeLower field is set.
    • getIncludeLower

      boolean getIncludeLower()
      optional bool include_lower = 13 [json_name = "includeLower"];
      Returns:
      The includeLower.
    • hasIncludeUpper

      boolean hasIncludeUpper()
      optional bool include_upper = 14 [json_name = "includeUpper"];
      Returns:
      Whether the includeUpper field is set.
    • getIncludeUpper

      boolean getIncludeUpper()
      optional bool include_upper = 14 [json_name = "includeUpper"];
      Returns:
      The includeUpper.