Package com.google.cloud.talent.v4
Interface HistogramQueryResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HistogramQueryResult,HistogramQueryResult.Builder
@Generated
public interface HistogramQueryResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsHistogram(String key) A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value.Deprecated.intA map from the values of the facet associated with distinct values to the number of matching entries with corresponding value.A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value.longgetHistogramOrDefault(String key, long defaultValue) A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value.longA map from the values of the facet associated with distinct values to the number of matching entries with corresponding value.Requested histogram expression.com.google.protobuf.ByteStringRequested histogram expression.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
-
getHistogramQuery
String getHistogramQuery()Requested histogram expression.
string histogram_query = 1;- Returns:
- The histogramQuery.
-
getHistogramQueryBytes
com.google.protobuf.ByteString getHistogramQueryBytes()Requested histogram expression.
string histogram_query = 1;- Returns:
- The bytes for histogramQuery.
-
getHistogramCount
int getHistogramCount()A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: * (for string histogram) string values stored in the field. * (for named numeric bucket) name specified in `bucket()` function, like for `bucket(0, MAX, "non-negative")`, the key will be `non-negative`. * (for anonymous numeric bucket) range formatted as `<low>-<high>`, for example, `0-1000`, `MIN-0`, and `0-MAX`.
map<string, int64> histogram = 2; -
containsHistogram
A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: * (for string histogram) string values stored in the field. * (for named numeric bucket) name specified in `bucket()` function, like for `bucket(0, MAX, "non-negative")`, the key will be `non-negative`. * (for anonymous numeric bucket) range formatted as `<low>-<high>`, for example, `0-1000`, `MIN-0`, and `0-MAX`.
map<string, int64> histogram = 2; -
getHistogram
Deprecated.UsegetHistogramMap()instead. -
getHistogramMap
A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: * (for string histogram) string values stored in the field. * (for named numeric bucket) name specified in `bucket()` function, like for `bucket(0, MAX, "non-negative")`, the key will be `non-negative`. * (for anonymous numeric bucket) range formatted as `<low>-<high>`, for example, `0-1000`, `MIN-0`, and `0-MAX`.
map<string, int64> histogram = 2; -
getHistogramOrDefault
A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: * (for string histogram) string values stored in the field. * (for named numeric bucket) name specified in `bucket()` function, like for `bucket(0, MAX, "non-negative")`, the key will be `non-negative`. * (for anonymous numeric bucket) range formatted as `<low>-<high>`, for example, `0-1000`, `MIN-0`, and `0-MAX`.
map<string, int64> histogram = 2; -
getHistogramOrThrow
A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: * (for string histogram) string values stored in the field. * (for named numeric bucket) name specified in `bucket()` function, like for `bucket(0, MAX, "non-negative")`, the key will be `non-negative`. * (for anonymous numeric bucket) range formatted as `<low>-<high>`, for example, `0-1000`, `MIN-0`, and `0-MAX`.
map<string, int64> histogram = 2;
-