public static final class StringStats.UnigramStats extends GeneratedMessageV3 implements StringStats.UnigramStatsOrBuilder
The statistics of a unigram.
Protobuf type google.cloud.automl.v1beta1.StringStats.UnigramStats
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static StringStats.UnigramStats getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StringStats.UnigramStats.Builder newBuilder()
newBuilder(StringStats.UnigramStats prototype)
public static StringStats.UnigramStats.Builder newBuilder(StringStats.UnigramStats prototype)
public static StringStats.UnigramStats parseDelimitedFrom(InputStream input)
public static StringStats.UnigramStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StringStats.UnigramStats parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StringStats.UnigramStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StringStats.UnigramStats parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StringStats.UnigramStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StringStats.UnigramStats parseFrom(CodedInputStream input)
public static StringStats.UnigramStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StringStats.UnigramStats parseFrom(InputStream input)
public static StringStats.UnigramStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StringStats.UnigramStats parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StringStats.UnigramStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StringStats.UnigramStats> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
getParserForType()
public Parser<StringStats.UnigramStats> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getValue()
The unigram.
string value = 1;
Returns |
---|
Type | Description |
String | The value.
|
getValueBytes()
public ByteString getValueBytes()
The unigram.
string value = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for value.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StringStats.UnigramStats.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StringStats.UnigramStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public StringStats.UnigramStats.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides