Package org.opensearch.protobufs
Interface LongTermsBucketOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LongTermsBucket,LongTermsBucket.Builder
public interface LongTermsBucketOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsAggregate(String key) map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"];Deprecated.intmap<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"];map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"];getAggregateOrDefault(String key, Aggregate defaultValue) map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"];map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"];longint64 doc_count = 1 [json_name = "docCount"];longoptional int64 doc_count_error_upper_bound = 3 [json_name = "docCountErrorUpperBound"];getKey().org.opensearch.protobufs.LongTermsBucketKey key = 4 [json_name = "key"];optional string key_as_string = 5 [json_name = "keyAsString"];com.google.protobuf.ByteStringoptional string key_as_string = 5 [json_name = "keyAsString"];.org.opensearch.protobufs.LongTermsBucketKey key = 4 [json_name = "key"];booleanoptional int64 doc_count_error_upper_bound = 3 [json_name = "docCountErrorUpperBound"];booleanhasKey().org.opensearch.protobufs.LongTermsBucketKey key = 4 [json_name = "key"];booleanoptional string key_as_string = 5 [json_name = "keyAsString"];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
-
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
map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"]; -
getAggregate
Deprecated.UsegetAggregateMap()instead. -
getAggregateMap
map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"]; -
getAggregateOrDefault
map<string, .org.opensearch.protobufs.Aggregate> aggregate = 2 [json_name = "aggregate"]; -
getAggregateOrThrow
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.
-
hasKey
boolean hasKey().org.opensearch.protobufs.LongTermsBucketKey key = 4 [json_name = "key"];- Returns:
- Whether the key field is set.
-
getKey
LongTermsBucketKey getKey().org.opensearch.protobufs.LongTermsBucketKey key = 4 [json_name = "key"];- Returns:
- The key.
-
getKeyOrBuilder
LongTermsBucketKeyOrBuilder getKeyOrBuilder().org.opensearch.protobufs.LongTermsBucketKey key = 4 [json_name = "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.
-