Interface TotalHitsOrBuilder

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

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

    Modifier and Type
    Method
    Description
    .org.opensearch.protobufs.TotalHitsRelation relation = 1 [json_name = "relation"];
    int
    .org.opensearch.protobufs.TotalHitsRelation relation = 1 [json_name = "relation"];
    long
    int64 value = 2 [json_name = "value"];

    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

    • getRelationValue

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

      TotalHitsRelation getRelation()
      .org.opensearch.protobufs.TotalHitsRelation relation = 1 [json_name = "relation"];
      Returns:
      The relation.
    • getValue

      long getValue()
      int64 value = 2 [json_name = "value"];
      Returns:
      The value.