Class TextSentimentModelMetadata (2.42.0)

public final class TextSentimentModelMetadata extends GeneratedMessageV3 implements TextSentimentModelMetadataOrBuilder

Model metadata that is specific to text sentiment.

Protobuf type google.cloud.automl.v1.TextSentimentModelMetadata

Static Methods

getDefaultInstance()

public static TextSentimentModelMetadata getDefaultInstance()
Returns
Type Description
TextSentimentModelMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TextSentimentModelMetadata.Builder newBuilder()
Returns
Type Description
TextSentimentModelMetadata.Builder

newBuilder(TextSentimentModelMetadata prototype)

public static TextSentimentModelMetadata.Builder newBuilder(TextSentimentModelMetadata prototype)
Parameter
Name Description
prototype TextSentimentModelMetadata
Returns
Type Description
TextSentimentModelMetadata.Builder

parseDelimitedFrom(InputStream input)

public static TextSentimentModelMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TextSentimentModelMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TextSentimentModelMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextSentimentModelMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TextSentimentModelMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TextSentimentModelMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TextSentimentModelMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextSentimentModelMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TextSentimentModelMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TextSentimentModelMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TextSentimentModelMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextSentimentModelMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TextSentimentModelMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TextSentimentModelMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TextSentimentModelMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextSentimentModelMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TextSentimentModelMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TextSentimentModelMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TextSentimentModelMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextSentimentModelMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TextSentimentModelMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TextSentimentModelMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TextSentimentModelMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextSentimentModelMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TextSentimentModelMetadata> parser()
Returns
Type Description
Parser<TextSentimentModelMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TextSentimentModelMetadata getDefaultInstanceForType()
Returns
Type Description
TextSentimentModelMetadata

getParserForType()

public Parser<TextSentimentModelMetadata> getParserForType()
Returns
Type Description
Parser<TextSentimentModelMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TextSentimentModelMetadata.Builder newBuilderForType()
Returns
Type Description
TextSentimentModelMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TextSentimentModelMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TextSentimentModelMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TextSentimentModelMetadata.Builder toBuilder()
Returns
Type Description
TextSentimentModelMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException