Class AutoMlTextSentiment.Builder (3.55.0)

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

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutoMlTextSentiment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutoMlTextSentiment.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public AutoMlTextSentiment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AutoMlTextSentiment.Builder
Overrides

clearInputs()

public AutoMlTextSentiment.Builder clearInputs()

The input parameters of this TrainingJob.

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

Returns
Type Description
AutoMlTextSentiment.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoMlTextSentiment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AutoMlTextSentiment.Builder
Overrides

clone()

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

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.v1beta1.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.v1beta1.schema.trainingjob.definition.AutoMlTextSentimentInputs inputs = 1;

Returns
Type Description
AutoMlTextSentimentInputs.Builder

getInputsOrBuilder()

public AutoMlTextSentimentInputsOrBuilder getInputsOrBuilder()

The input parameters of this TrainingJob.

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

Returns
Type Description
AutoMlTextSentimentInputsOrBuilder

hasInputs()

public boolean hasInputs()

The input parameters of this TrainingJob.

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

Returns
Type Description
boolean

Whether the inputs field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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.v1beta1.schema.trainingjob.definition.AutoMlTextSentimentInputs inputs = 1;

Parameter
Name Description
value AutoMlTextSentimentInputs
Returns
Type Description
AutoMlTextSentiment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlTextSentiment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutoMlTextSentiment.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AutoMlTextSentiment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutoMlTextSentiment.Builder
Overrides

setInputs(AutoMlTextSentimentInputs value)

public AutoMlTextSentiment.Builder setInputs(AutoMlTextSentimentInputs value)

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1beta1.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.v1beta1.schema.trainingjob.definition.AutoMlTextSentimentInputs inputs = 1;

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutoMlTextSentiment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AutoMlTextSentiment.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlTextSentiment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutoMlTextSentiment.Builder
Overrides