Package org.opensearch.protobufs
Interface HitsMetadataTotalOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HitsMetadataTotal,HitsMetadataTotal.Builder
public interface HitsMetadataTotalOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonggetInt64()int64 int64 = 2 [json_name = "int64"];.org.opensearch.protobufs.TotalHits total_hits = 1 [json_name = "totalHits"];.org.opensearch.protobufs.TotalHits total_hits = 1 [json_name = "totalHits"];booleanhasInt64()int64 int64 = 2 [json_name = "int64"];boolean.org.opensearch.protobufs.TotalHits total_hits = 1 [json_name = "totalHits"];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
-
hasTotalHits
boolean hasTotalHits().org.opensearch.protobufs.TotalHits total_hits = 1 [json_name = "totalHits"];- Returns:
- Whether the totalHits field is set.
-
getTotalHits
TotalHits getTotalHits().org.opensearch.protobufs.TotalHits total_hits = 1 [json_name = "totalHits"];- Returns:
- The totalHits.
-
getTotalHitsOrBuilder
TotalHitsOrBuilder getTotalHitsOrBuilder().org.opensearch.protobufs.TotalHits total_hits = 1 [json_name = "totalHits"]; -
hasInt64
boolean hasInt64()int64 int64 = 2 [json_name = "int64"];- Returns:
- Whether the int64 field is set.
-
getInt64
long getInt64()int64 int64 = 2 [json_name = "int64"];- Returns:
- The int64.
-
getHitsMetadataTotalCase
HitsMetadataTotal.HitsMetadataTotalCase getHitsMetadataTotalCase()
-