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()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CategoryStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
build()
public CategoryStats build()
buildPartial()
public CategoryStats buildPartial()
clear()
public CategoryStats.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CategoryStats.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CategoryStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public CategoryStats.Builder clone()
Overrides
getDefaultInstanceForType()
public CategoryStats getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CategoryStats other)
public CategoryStats.Builder mergeFrom(CategoryStats other)
public CategoryStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CategoryStats.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CategoryStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public CategoryStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CategoryStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final CategoryStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides