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.v1.schema.trainingjob.definition.AutoMlTextSentiment
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutoMlTextSentiment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AutoMlTextSentiment build()
Returns
buildPartial()
public AutoMlTextSentiment buildPartial()
Returns
clear()
public AutoMlTextSentiment.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AutoMlTextSentiment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInputs()
public AutoMlTextSentiment.Builder clearInputs()
The input parameters of this TrainingJob.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs inputs = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoMlTextSentiment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AutoMlTextSentiment.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AutoMlTextSentiment getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInputs()
public AutoMlTextSentimentInputs getInputs()
The input parameters of this TrainingJob.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs inputs = 1;
Returns
getInputsBuilder()
public AutoMlTextSentimentInputs.Builder getInputsBuilder()
The input parameters of this TrainingJob.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs inputs = 1;
Returns
getInputsOrBuilder()
public AutoMlTextSentimentInputsOrBuilder getInputsOrBuilder()
The input parameters of this TrainingJob.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs inputs = 1;
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AutoMlTextSentiment other)
public AutoMlTextSentiment.Builder mergeFrom(AutoMlTextSentiment other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutoMlTextSentiment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AutoMlTextSentiment.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoMlTextSentiment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AutoMlTextSentiment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoMlTextSentiment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoMlTextSentiment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides