Class ImageClassificationDatasetMetadata (2.30.0)

public final class ImageClassificationDatasetMetadata extends GeneratedMessageV3 implements ImageClassificationDatasetMetadataOrBuilder

Dataset metadata that is specific to image classification.

Protobuf type google.cloud.automl.v1.ImageClassificationDatasetMetadata

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImageClassificationDatasetMetadata

Static Fields

CLASSIFICATION_TYPE_FIELD_NUMBER

public static final int CLASSIFICATION_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImageClassificationDatasetMetadata getDefaultInstance()
Returns
TypeDescription
ImageClassificationDatasetMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ImageClassificationDatasetMetadata.Builder newBuilder()
Returns
TypeDescription
ImageClassificationDatasetMetadata.Builder

newBuilder(ImageClassificationDatasetMetadata prototype)

public static ImageClassificationDatasetMetadata.Builder newBuilder(ImageClassificationDatasetMetadata prototype)
Parameter
NameDescription
prototypeImageClassificationDatasetMetadata
Returns
TypeDescription
ImageClassificationDatasetMetadata.Builder

parseDelimitedFrom(InputStream input)

public static ImageClassificationDatasetMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImageClassificationDatasetMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageClassificationDatasetMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageClassificationDatasetMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImageClassificationDatasetMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImageClassificationDatasetMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImageClassificationDatasetMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageClassificationDatasetMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImageClassificationDatasetMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImageClassificationDatasetMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImageClassificationDatasetMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageClassificationDatasetMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImageClassificationDatasetMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImageClassificationDatasetMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageClassificationDatasetMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageClassificationDatasetMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImageClassificationDatasetMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImageClassificationDatasetMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageClassificationDatasetMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageClassificationDatasetMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImageClassificationDatasetMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImageClassificationDatasetMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImageClassificationDatasetMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageClassificationDatasetMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImageClassificationDatasetMetadata> parser()
Returns
TypeDescription
Parser<ImageClassificationDatasetMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getClassificationType()

public ClassificationType getClassificationType()

Required. Type of the classification problem.

.google.cloud.automl.v1.ClassificationType classification_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ClassificationType

The classificationType.

getClassificationTypeValue()

public int getClassificationTypeValue()

Required. Type of the classification problem.

.google.cloud.automl.v1.ClassificationType classification_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for classificationType.

getDefaultInstanceForType()

public ImageClassificationDatasetMetadata getDefaultInstanceForType()
Returns
TypeDescription
ImageClassificationDatasetMetadata

getParserForType()

public Parser<ImageClassificationDatasetMetadata> getParserForType()
Returns
TypeDescription
Parser<ImageClassificationDatasetMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImageClassificationDatasetMetadata.Builder newBuilderForType()
Returns
TypeDescription
ImageClassificationDatasetMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImageClassificationDatasetMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImageClassificationDatasetMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImageClassificationDatasetMetadata.Builder toBuilder()
Returns
TypeDescription
ImageClassificationDatasetMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException