NAME

Google::Cloud::Talent::V4::Histogram - Compiled Protocol Buffers messages for google/cloud/talent/v4/histogram.proto

SYNOPSIS

use Google::Cloud::Talent::V4::Histogram;

my $msg = Google::Cloud::Talent::V4::Histogram::HistogramQuery->new({
    histogram_query => $histogram_query,
});

# Read or update a field
my $val = $msg->histogram_query();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Talent::V4::Histogram::HistogramQuery->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/talent/v4/histogram.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Talent::V4::Histogram::HistogramQuery

The histogram request.

Inherits from Protobuf::Message.

Accessors

  • $msg->histogram_query() / $msg->histogram_query($value)

    Type: String

    An expression specifies a histogram request against matching jobs for searches.

    See [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries] for details about syntax.

Google::Cloud::Talent::V4::Histogram::HistogramQueryResult

Histogram result that matches [HistogramQuery][google.cloud.talent.v4.HistogramQuery] specified in searches.

Inherits from Protobuf::Message.

Accessors

  • $msg->histogram_query() / $msg->histogram_query($value)

    Type: String

    Requested histogram expression.

  • $msg->histogram() / $msg->histogram($value)

    Type: Message (Google::Cloud::Talent::V4::Histogram::HistogramQueryResult::HistogramEntry)

    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`.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Talent::V4::Histogram::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.