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