Package org.opensearch.protobufs
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 TypeMethodDescription.org.opensearch.protobufs.TotalHitsRelation relation = 1 [json_name = "relation"];int.org.opensearch.protobufs.TotalHitsRelation relation = 1 [json_name = "relation"];longgetValue()int64 value = 2 [json_name = "value"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-