public static final class CategoryStats.Builder extends GeneratedMessageV3.Builder<CategoryStats.Builder> implements CategoryStatsOrBuilder
The data statistics of a series of CATEGORY values.
Protobuf type google.cloud.automl.v1beta1.CategoryStats
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
addAllTopCategoryStats(Iterable<? extends CategoryStats.SingleCategoryStats> values)
public CategoryStats.Builder addAllTopCategoryStats(Iterable<? extends CategoryStats.SingleCategoryStats> values)
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CategoryStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addTopCategoryStats(CategoryStats.SingleCategoryStats value)
public CategoryStats.Builder addTopCategoryStats(CategoryStats.SingleCategoryStats value)
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Parameter
Returns
addTopCategoryStats(CategoryStats.SingleCategoryStats.Builder builderForValue)
public CategoryStats.Builder addTopCategoryStats(CategoryStats.SingleCategoryStats.Builder builderForValue)
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Parameter
Returns
addTopCategoryStats(int index, CategoryStats.SingleCategoryStats value)
public CategoryStats.Builder addTopCategoryStats(int index, CategoryStats.SingleCategoryStats value)
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Parameters
Returns
addTopCategoryStats(int index, CategoryStats.SingleCategoryStats.Builder builderForValue)
public CategoryStats.Builder addTopCategoryStats(int index, CategoryStats.SingleCategoryStats.Builder builderForValue)
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Parameters
Returns
addTopCategoryStatsBuilder()
public CategoryStats.SingleCategoryStats.Builder addTopCategoryStatsBuilder()
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Returns
addTopCategoryStatsBuilder(int index)
public CategoryStats.SingleCategoryStats.Builder addTopCategoryStatsBuilder(int index)
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Parameter
Returns
build()
public CategoryStats build()
Returns
buildPartial()
public CategoryStats buildPartial()
Returns
clear()
public CategoryStats.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CategoryStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CategoryStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTopCategoryStats()
public CategoryStats.Builder clearTopCategoryStats()
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Returns
clone()
public CategoryStats.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CategoryStats getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getTopCategoryStats(int index)
public CategoryStats.SingleCategoryStats getTopCategoryStats(int index)
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Parameter
Returns
getTopCategoryStatsBuilder(int index)
public CategoryStats.SingleCategoryStats.Builder getTopCategoryStatsBuilder(int index)
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Parameter
Returns
getTopCategoryStatsBuilderList()
public List<CategoryStats.SingleCategoryStats.Builder> getTopCategoryStatsBuilderList()
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Returns
getTopCategoryStatsCount()
public int getTopCategoryStatsCount()
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Returns
getTopCategoryStatsList()
public List<CategoryStats.SingleCategoryStats> getTopCategoryStatsList()
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Returns
getTopCategoryStatsOrBuilder(int index)
public CategoryStats.SingleCategoryStatsOrBuilder getTopCategoryStatsOrBuilder(int index)
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Parameter
Returns
getTopCategoryStatsOrBuilderList()
public List<? extends CategoryStats.SingleCategoryStatsOrBuilder> getTopCategoryStatsOrBuilderList()
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Returns
Type | Description |
List<? extends com.google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStatsOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CategoryStats other)
public CategoryStats.Builder mergeFrom(CategoryStats other)
Parameter
Returns
public CategoryStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CategoryStats.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CategoryStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeTopCategoryStats(int index)
public CategoryStats.Builder removeTopCategoryStats(int index)
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CategoryStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CategoryStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTopCategoryStats(int index, CategoryStats.SingleCategoryStats value)
public CategoryStats.Builder setTopCategoryStats(int index, CategoryStats.SingleCategoryStats value)
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Parameters
Returns
setTopCategoryStats(int index, CategoryStats.SingleCategoryStats.Builder builderForValue)
public CategoryStats.Builder setTopCategoryStats(int index, CategoryStats.SingleCategoryStats.Builder builderForValue)
The statistics of the top 20 CATEGORY values, ordered by
count.
repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CategoryStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides