Package org.opensearch.protobufs
Interface StringTermsBucketOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StringTermsBucket,StringTermsBucket.Builder
public interface StringTermsBucketOrBuilder
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()string key = 4 [json_name = "key"];com.google.protobuf.ByteStringstring key = 4 [json_name = "key"];booleanoptional int64 doc_count_error_upper_bound = 3 [json_name = "docCountErrorUpperBound"];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.
-
getKey
String getKey()string key = 4 [json_name = "key"];- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()string key = 4 [json_name = "key"];- Returns:
- The bytes for key.
-