public static final class StringStats.UnigramStats extends GeneratedMessageV3 implements StringStats.UnigramStatsOrBuilder
The statistics of a unigram.
Protobuf type google.cloud.automl.v1beta1.StringStats.UnigramStats
Static Fields
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
Field Value
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StringStats.UnigramStats getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StringStats.UnigramStats.Builder newBuilder()
Returns
newBuilder(StringStats.UnigramStats prototype)
public static StringStats.UnigramStats.Builder newBuilder(StringStats.UnigramStats prototype)
Parameter
Returns
public static StringStats.UnigramStats parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StringStats.UnigramStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StringStats.UnigramStats parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StringStats.UnigramStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StringStats.UnigramStats parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StringStats.UnigramStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StringStats.UnigramStats parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StringStats.UnigramStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StringStats.UnigramStats parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StringStats.UnigramStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StringStats.UnigramStats parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StringStats.UnigramStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StringStats.UnigramStats> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCount()
The number of occurrences of this unigram in the series.
int64 count = 2;
Returns
Type | Description |
long | The count.
|
getDefaultInstanceForType()
public StringStats.UnigramStats getDefaultInstanceForType()
Returns
getParserForType()
public Parser<StringStats.UnigramStats> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getValue()
The unigram.
string value = 1;
Returns
Type | Description |
String | The value.
|
getValueBytes()
public ByteString getValueBytes()
The unigram.
string value = 1;
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StringStats.UnigramStats.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StringStats.UnigramStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StringStats.UnigramStats.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions