public final class TextClassificationModelMetadata extends GeneratedMessageV3 implements TextClassificationModelMetadataOrBuilder
Model metadata that is specific to text classification.
Protobuf type google.cloud.automl.v1.TextClassificationModelMetadata
Static Fields
CLASSIFICATION_TYPE_FIELD_NUMBER
public static final int CLASSIFICATION_TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TextClassificationModelMetadata getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TextClassificationModelMetadata.Builder newBuilder()
Returns
newBuilder(TextClassificationModelMetadata prototype)
public static TextClassificationModelMetadata.Builder newBuilder(TextClassificationModelMetadata prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static TextClassificationModelMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TextClassificationModelMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TextClassificationModelMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TextClassificationModelMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TextClassificationModelMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TextClassificationModelMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static TextClassificationModelMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TextClassificationModelMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static TextClassificationModelMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TextClassificationModelMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TextClassificationModelMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TextClassificationModelMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TextClassificationModelMetadata> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getClassificationType()
public ClassificationType getClassificationType()
Output only. Classification type of the dataset used to train this model.
.google.cloud.automl.v1.ClassificationType classification_type = 3;
Returns
getClassificationTypeValue()
public int getClassificationTypeValue()
Output only. Classification type of the dataset used to train this model.
.google.cloud.automl.v1.ClassificationType classification_type = 3;
Returns
Type | Description |
int | The enum numeric value on the wire for classificationType.
|
getDefaultInstanceForType()
public TextClassificationModelMetadata getDefaultInstanceForType()
Returns
getParserForType()
public Parser<TextClassificationModelMetadata> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TextClassificationModelMetadata.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TextClassificationModelMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TextClassificationModelMetadata.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions