Class AutoMlTextSentiment.Builder (3.84.0)

public static final class AutoMlTextSentiment.Builder extends GeneratedMessage.Builder<AutoMlTextSentiment.Builder> implements AutoMlTextSentimentOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

build()

public AutoMlTextSentiment build()
Returns
Type Description
AutoMlTextSentiment

buildPartial()

public AutoMlTextSentiment buildPartial()
Returns
Type Description
AutoMlTextSentiment

clear()

public AutoMlTextSentiment.Builder clear()
Returns
Type Description
AutoMlTextSentiment.Builder
Overrides

clearInputs()

public AutoMlTextSentiment.Builder clearInputs()

The input parameters of this TrainingJob.

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

Returns
Type Description
AutoMlTextSentiment.Builder

getDefaultInstanceForType()

public AutoMlTextSentiment getDefaultInstanceForType()
Returns
Type Description
AutoMlTextSentiment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInputs()

public AutoMlTextSentimentInputs getInputs()

The input parameters of this TrainingJob.

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

Returns
Type Description
AutoMlTextSentimentInputs

The inputs.

getInputsBuilder()

public AutoMlTextSentimentInputs.Builder getInputsBuilder()

The input parameters of this TrainingJob.

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

Returns
Type Description
AutoMlTextSentimentInputs.Builder

getInputsOrBuilder()

public AutoMlTextSentimentInputsOrBuilder getInputsOrBuilder()

The input parameters of this TrainingJob.

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

Returns
Type Description
AutoMlTextSentimentInputsOrBuilder

hasInputs()

public boolean hasInputs()

The input parameters of this TrainingJob.

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

Returns
Type Description
boolean

Whether the inputs field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AutoMlTextSentiment other)

public AutoMlTextSentiment.Builder mergeFrom(AutoMlTextSentiment other)
Parameter
Name Description
other AutoMlTextSentiment
Returns
Type Description
AutoMlTextSentiment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutoMlTextSentiment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoMlTextSentiment.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AutoMlTextSentiment.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AutoMlTextSentiment.Builder
Overrides

mergeInputs(AutoMlTextSentimentInputs value)

public AutoMlTextSentiment.Builder mergeInputs(AutoMlTextSentimentInputs value)

The input parameters of this TrainingJob.

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

Parameter
Name Description
value AutoMlTextSentimentInputs
Returns
Type Description
AutoMlTextSentiment.Builder

setInputs(AutoMlTextSentimentInputs value)

public AutoMlTextSentiment.Builder setInputs(AutoMlTextSentimentInputs value)

The input parameters of this TrainingJob.

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

Parameter
Name Description
value AutoMlTextSentimentInputs
Returns
Type Description
AutoMlTextSentiment.Builder

setInputs(AutoMlTextSentimentInputs.Builder builderForValue)

public AutoMlTextSentiment.Builder setInputs(AutoMlTextSentimentInputs.Builder builderForValue)

The input parameters of this TrainingJob.

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

Parameter
Name Description
builderForValue AutoMlTextSentimentInputs.Builder
Returns
Type Description
AutoMlTextSentiment.Builder