public static final class StringStats.Builder extends GeneratedMessageV3.Builder<StringStats.Builder> implements StringStatsOrBuilder
The data statistics of a series of STRING values.
Protobuf type google.cloud.automl.v1beta1.StringStats
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
addAllTopUnigramStats(Iterable<? extends StringStats.UnigramStats> values)
public StringStats.Builder addAllTopUnigramStats(Iterable<? extends StringStats.UnigramStats> values)
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.automl.v1beta1.StringStats.UnigramStats>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StringStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addTopUnigramStats(StringStats.UnigramStats value)
public StringStats.Builder addTopUnigramStats(StringStats.UnigramStats value)
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Parameter
Returns
addTopUnigramStats(StringStats.UnigramStats.Builder builderForValue)
public StringStats.Builder addTopUnigramStats(StringStats.UnigramStats.Builder builderForValue)
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Parameter
Returns
addTopUnigramStats(int index, StringStats.UnigramStats value)
public StringStats.Builder addTopUnigramStats(int index, StringStats.UnigramStats value)
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Parameters
Returns
addTopUnigramStats(int index, StringStats.UnigramStats.Builder builderForValue)
public StringStats.Builder addTopUnigramStats(int index, StringStats.UnigramStats.Builder builderForValue)
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Parameters
Returns
addTopUnigramStatsBuilder()
public StringStats.UnigramStats.Builder addTopUnigramStatsBuilder()
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Returns
addTopUnigramStatsBuilder(int index)
public StringStats.UnigramStats.Builder addTopUnigramStatsBuilder(int index)
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Parameter
Returns
build()
public StringStats build()
Returns
buildPartial()
public StringStats buildPartial()
Returns
clear()
public StringStats.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public StringStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StringStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTopUnigramStats()
public StringStats.Builder clearTopUnigramStats()
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Returns
clone()
public StringStats.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public StringStats getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getTopUnigramStats(int index)
public StringStats.UnigramStats getTopUnigramStats(int index)
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Parameter
Returns
getTopUnigramStatsBuilder(int index)
public StringStats.UnigramStats.Builder getTopUnigramStatsBuilder(int index)
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Parameter
Returns
getTopUnigramStatsBuilderList()
public List<StringStats.UnigramStats.Builder> getTopUnigramStatsBuilderList()
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Returns
getTopUnigramStatsCount()
public int getTopUnigramStatsCount()
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Returns
getTopUnigramStatsList()
public List<StringStats.UnigramStats> getTopUnigramStatsList()
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Returns
getTopUnigramStatsOrBuilder(int index)
public StringStats.UnigramStatsOrBuilder getTopUnigramStatsOrBuilder(int index)
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Parameter
Returns
getTopUnigramStatsOrBuilderList()
public List<? extends StringStats.UnigramStatsOrBuilder> getTopUnigramStatsOrBuilderList()
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Returns
Type | Description |
List<? extends com.google.cloud.automl.v1beta1.StringStats.UnigramStatsOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(StringStats other)
public StringStats.Builder mergeFrom(StringStats other)
Parameter
Returns
public StringStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StringStats.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StringStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeTopUnigramStats(int index)
public StringStats.Builder removeTopUnigramStats(int index)
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StringStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StringStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTopUnigramStats(int index, StringStats.UnigramStats value)
public StringStats.Builder setTopUnigramStats(int index, StringStats.UnigramStats value)
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Parameters
Returns
setTopUnigramStats(int index, StringStats.UnigramStats.Builder builderForValue)
public StringStats.Builder setTopUnigramStats(int index, StringStats.UnigramStats.Builder builderForValue)
The statistics of the top 20 unigrams, ordered by
count.
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final StringStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides