Interface UnsignedLongTermsBucketOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"];
    Deprecated.
    int
    map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"];
    map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"];
    map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"];
    map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"];
    long
    int64 doc_count = 1 [json_name = "docCount"];
    long
    optional int64 doc_count_error_upper_bound = 3 [json_name = "docCountErrorUpperBound"];
    long
    uint64 key = 4 [json_name = "key"];
    optional string key_as_string = 5 [json_name = "keyAsString"];
    com.google.protobuf.ByteString
    optional string key_as_string = 5 [json_name = "keyAsString"];
    boolean
    optional int64 doc_count_error_upper_bound = 3 [json_name = "docCountErrorUpperBound"];
    boolean
    optional string key_as_string = 5 [json_name = "keyAsString"];

    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

    • getDocCount

      long getDocCount()
      int64 doc_count = 1 [json_name = "docCount"];
      Returns:
      The docCount.
    • getAggregateCount

      int getAggregateCount()
      map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"];
    • containsAggregate

      boolean containsAggregate(String key)
      map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"];
    • getAggregate

      @Deprecated Map<String,Aggregate> getAggregate()
      Deprecated.
      Use getAggregateMap() instead.
    • getAggregateMap

      Map<String,Aggregate> getAggregateMap()
      map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"];
    • getAggregateOrDefault

      Aggregate getAggregateOrDefault(String key, Aggregate defaultValue)
      map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"];
    • getAggregateOrThrow

      Aggregate getAggregateOrThrow(String key)
      map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"];
    • hasDocCountErrorUpperBound

      boolean hasDocCountErrorUpperBound()
      optional int64 doc_count_error_upper_bound = 3 [json_name = "docCountErrorUpperBound"];
      Returns:
      Whether the docCountErrorUpperBound field is set.
    • getDocCountErrorUpperBound

      long getDocCountErrorUpperBound()
      optional int64 doc_count_error_upper_bound = 3 [json_name = "docCountErrorUpperBound"];
      Returns:
      The docCountErrorUpperBound.
    • getKey

      long getKey()
      uint64 key = 4 [json_name = "key"];
      Returns:
      The key.
    • hasKeyAsString

      boolean hasKeyAsString()
      optional string key_as_string = 5 [json_name = "keyAsString"];
      Returns:
      Whether the keyAsString field is set.
    • getKeyAsString

      String getKeyAsString()
      optional string key_as_string = 5 [json_name = "keyAsString"];
      Returns:
      The keyAsString.
    • getKeyAsStringBytes

      com.google.protobuf.ByteString getKeyAsStringBytes()
      optional string key_as_string = 5 [json_name = "keyAsString"];
      Returns:
      The bytes for keyAsString.