public static final class HistogramQuery.Builder extends GeneratedMessageV3.Builder<HistogramQuery.Builder> implements HistogramQueryOrBuilder
The histogram request.
Protobuf type google.cloud.talent.v4beta1.HistogramQuery
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HistogramQuery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public HistogramQuery build()
Returns
buildPartial()
public HistogramQuery buildPartial()
Returns
clear()
public HistogramQuery.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public HistogramQuery.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHistogramQuery()
public HistogramQuery.Builder clearHistogramQuery()
An expression specifies a histogram request against matching resources
(for example, jobs, profiles) for searches.
See
SearchJobsRequest.histogram_queries
and
SearchProfilesRequest.histogram_queries
for details about syntax.
string histogram_query = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public HistogramQuery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public HistogramQuery.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public HistogramQuery getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getHistogramQuery()
public String getHistogramQuery()
An expression specifies a histogram request against matching resources
(for example, jobs, profiles) for searches.
See
SearchJobsRequest.histogram_queries
and
SearchProfilesRequest.histogram_queries
for details about syntax.
string histogram_query = 1;
Returns
Type | Description |
String | The histogramQuery.
|
getHistogramQueryBytes()
public ByteString getHistogramQueryBytes()
An expression specifies a histogram request against matching resources
(for example, jobs, profiles) for searches.
See
SearchJobsRequest.histogram_queries
and
SearchProfilesRequest.histogram_queries
for details about syntax.
string histogram_query = 1;
Returns
Type | Description |
ByteString | The bytes for histogramQuery.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(HistogramQuery other)
public HistogramQuery.Builder mergeFrom(HistogramQuery other)
Parameter
Returns
public HistogramQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public HistogramQuery.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HistogramQuery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public HistogramQuery.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setHistogramQuery(String value)
public HistogramQuery.Builder setHistogramQuery(String value)
An expression specifies a histogram request against matching resources
(for example, jobs, profiles) for searches.
See
SearchJobsRequest.histogram_queries
and
SearchProfilesRequest.histogram_queries
for details about syntax.
string histogram_query = 1;
Parameter
Name | Description |
value | String
The histogramQuery to set.
|
Returns
setHistogramQueryBytes(ByteString value)
public HistogramQuery.Builder setHistogramQueryBytes(ByteString value)
An expression specifies a histogram request against matching resources
(for example, jobs, profiles) for searches.
See
SearchJobsRequest.histogram_queries
and
SearchProfilesRequest.histogram_queries
for details about syntax.
string histogram_query = 1;
Parameter
Name | Description |
value | ByteString
The bytes for histogramQuery to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HistogramQuery.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HistogramQuery.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides