Class AutoMlTextSentiment.Builder (3.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutoMlTextSentiment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoMlTextSentiment.Builder
Overrides

build()

public AutoMlTextSentiment build()
Returns
TypeDescription
AutoMlTextSentiment

buildPartial()

public AutoMlTextSentiment buildPartial()
Returns
TypeDescription
AutoMlTextSentiment

clear()

public AutoMlTextSentiment.Builder clear()
Returns
TypeDescription
AutoMlTextSentiment.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AutoMlTextSentiment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AutoMlTextSentiment.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoMlTextSentiment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AutoMlTextSentiment.Builder
Overrides

clone()

public AutoMlTextSentiment.Builder clone()
Returns
TypeDescription
AutoMlTextSentiment.Builder
Overrides

getDefaultInstanceForType()

public AutoMlTextSentiment getDefaultInstanceForType()
Returns
TypeDescription
AutoMlTextSentiment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInputs()

public AutoMlTextSentimentInputs getInputs()

The input parameters of this TrainingJob.

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

Returns
TypeDescription
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
TypeDescription
AutoMlTextSentimentInputs.Builder

getInputsOrBuilder()

public AutoMlTextSentimentInputsOrBuilder getInputsOrBuilder()

The input parameters of this TrainingJob.

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

Returns
TypeDescription
AutoMlTextSentimentInputsOrBuilder

hasInputs()

public boolean hasInputs()

The input parameters of this TrainingJob.

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

Returns
TypeDescription
boolean

Whether the inputs field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutoMlTextSentiment other)

public AutoMlTextSentiment.Builder mergeFrom(AutoMlTextSentiment other)
Parameter
NameDescription
otherAutoMlTextSentiment
Returns
TypeDescription
AutoMlTextSentiment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutoMlTextSentiment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlTextSentiment.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AutoMlTextSentiment.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueAutoMlTextSentimentInputs
Returns
TypeDescription
AutoMlTextSentiment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlTextSentiment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoMlTextSentiment.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AutoMlTextSentiment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueAutoMlTextSentimentInputs
Returns
TypeDescription
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
NameDescription
builderForValueAutoMlTextSentimentInputs.Builder
Returns
TypeDescription
AutoMlTextSentiment.Builder

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

public AutoMlTextSentiment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutoMlTextSentiment.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlTextSentiment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoMlTextSentiment.Builder
Overrides