Package com.google.cloud.automl.v1beta1
Class StringStats.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StringStats.Builder>
com.google.cloud.automl.v1beta1.StringStats.Builder
- All Implemented Interfaces:
StringStatsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StringStats
public static final class StringStats.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StringStats.Builder>
implements StringStatsOrBuilder
The data statistics of a series of STRING values.Protobuf type
google.cloud.automl.v1beta1.StringStats-
Method Summary
Modifier and TypeMethodDescriptionaddAllTopUnigramStats(Iterable<? extends StringStats.UnigramStats> values) The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].addTopUnigramStats(int index, StringStats.UnigramStats value) The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].addTopUnigramStats(int index, StringStats.UnigramStats.Builder builderForValue) The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].addTopUnigramStats(StringStats.UnigramStats.Builder builderForValue) The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].addTopUnigramStatsBuilder(int index) The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].build()clear()The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetTopUnigramStats(int index) The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].getTopUnigramStatsBuilder(int index) The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].intThe statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].getTopUnigramStatsOrBuilder(int index) The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].List<? extends StringStats.UnigramStatsOrBuilder>The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(StringStats other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeTopUnigramStats(int index) The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].setTopUnigramStats(int index, StringStats.UnigramStats value) The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].setTopUnigramStats(int index, StringStats.UnigramStats.Builder builderForValue) The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StringStats.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StringStats.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StringStats.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StringStats.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StringStats.Builder>
-
mergeFrom
public StringStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StringStats.Builder>- Throws:
IOException
-
getTopUnigramStatsList
The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;- Specified by:
getTopUnigramStatsListin interfaceStringStatsOrBuilder
-
getTopUnigramStatsCount
public int getTopUnigramStatsCount()The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;- Specified by:
getTopUnigramStatsCountin interfaceStringStatsOrBuilder
-
getTopUnigramStats
The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;- Specified by:
getTopUnigramStatsin interfaceStringStatsOrBuilder
-
setTopUnigramStats
The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1; -
setTopUnigramStats
public StringStats.Builder setTopUnigramStats(int index, StringStats.UnigramStats.Builder builderForValue) The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1; -
addTopUnigramStats
The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1; -
addTopUnigramStats
The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1; -
addTopUnigramStats
The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1; -
addTopUnigramStats
public StringStats.Builder addTopUnigramStats(int index, StringStats.UnigramStats.Builder builderForValue) The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1; -
addAllTopUnigramStats
public StringStats.Builder addAllTopUnigramStats(Iterable<? extends StringStats.UnigramStats> values) The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1; -
clearTopUnigramStats
The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1; -
removeTopUnigramStats
The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1; -
getTopUnigramStatsBuilder
The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1; -
getTopUnigramStatsOrBuilder
The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;- Specified by:
getTopUnigramStatsOrBuilderin interfaceStringStatsOrBuilder
-
getTopUnigramStatsOrBuilderList
The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;- Specified by:
getTopUnigramStatsOrBuilderListin interfaceStringStatsOrBuilder
-
addTopUnigramStatsBuilder
The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1; -
addTopUnigramStatsBuilder
The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1; -
getTopUnigramStatsBuilderList
The statistics of the top 20 unigrams, ordered by [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count].
repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;
-