public final class TextClassificationDatasetMetadata extends GeneratedMessageV3 implements TextClassificationDatasetMetadataOrBuilder
Dataset metadata for classification.
Protobuf type google.cloud.automl.v1.TextClassificationDatasetMetadata
Static Fields
CLASSIFICATION_TYPE_FIELD_NUMBER
public static final int CLASSIFICATION_TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TextClassificationDatasetMetadata getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TextClassificationDatasetMetadata.Builder newBuilder()
Returns
newBuilder(TextClassificationDatasetMetadata prototype)
public static TextClassificationDatasetMetadata.Builder newBuilder(TextClassificationDatasetMetadata prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static TextClassificationDatasetMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TextClassificationDatasetMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TextClassificationDatasetMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TextClassificationDatasetMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TextClassificationDatasetMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TextClassificationDatasetMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static TextClassificationDatasetMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TextClassificationDatasetMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static TextClassificationDatasetMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TextClassificationDatasetMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TextClassificationDatasetMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TextClassificationDatasetMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TextClassificationDatasetMetadata> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getClassificationType()
public ClassificationType getClassificationType()
Required. Type of the classification problem.
.google.cloud.automl.v1.ClassificationType classification_type = 1;
Returns
getClassificationTypeValue()
public int getClassificationTypeValue()
Required. Type of the classification problem.
.google.cloud.automl.v1.ClassificationType classification_type = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for classificationType.
|
getDefaultInstanceForType()
public TextClassificationDatasetMetadata getDefaultInstanceForType()
Returns
getParserForType()
public Parser<TextClassificationDatasetMetadata> 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 TextClassificationDatasetMetadata.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TextClassificationDatasetMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TextClassificationDatasetMetadata.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions