Class AutoMlTextClassification (3.38.0)

public final class AutoMlTextClassification extends GeneratedMessageV3 implements AutoMlTextClassificationOrBuilder

A TrainingJob that trains and uploads an AutoML Text Classification Model.

Protobuf type google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextClassification

Static Fields

INPUTS_FIELD_NUMBER

public static final int INPUTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AutoMlTextClassification getDefaultInstance()
Returns
TypeDescription
AutoMlTextClassification

getDescriptor()

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

newBuilder()

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

newBuilder(AutoMlTextClassification prototype)

public static AutoMlTextClassification.Builder newBuilder(AutoMlTextClassification prototype)
Parameter
NameDescription
prototypeAutoMlTextClassification
Returns
TypeDescription
AutoMlTextClassification.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AutoMlTextClassification getDefaultInstanceForType()
Returns
TypeDescription
AutoMlTextClassification

getInputs()

public AutoMlTextClassificationInputs getInputs()

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextClassificationInputs inputs = 1;

Returns
TypeDescription
AutoMlTextClassificationInputs

The inputs.

getInputsOrBuilder()

public AutoMlTextClassificationInputsOrBuilder getInputsOrBuilder()

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextClassificationInputs inputs = 1;

Returns
TypeDescription
AutoMlTextClassificationInputsOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasInputs()

public boolean hasInputs()

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextClassificationInputs inputs = 1;

Returns
TypeDescription
boolean

Whether the inputs field is set.

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 AutoMlTextClassification.Builder newBuilderForType()
Returns
TypeDescription
AutoMlTextClassification.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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