public static final class AutoMlTextSentimentInputs.Builder extends GeneratedMessageV3.Builder<AutoMlTextSentimentInputs.Builder> implements AutoMlTextSentimentInputsOrBuilder
Protobuf type
google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutoMlTextSentimentInputs.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AutoMlTextSentimentInputs build()
buildPartial()
public AutoMlTextSentimentInputs buildPartial()
clear()
public AutoMlTextSentimentInputs.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AutoMlTextSentimentInputs.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoMlTextSentimentInputs.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSentimentMax()
public AutoMlTextSentimentInputs.Builder clearSentimentMax()
A sentiment is expressed as an integer ordinal, where higher value
means a more positive sentiment. The range of sentiments that will be used
is between 0 and sentimentMax (inclusive on both ends), and all the values
in the range must be represented in the dataset before a model can be
created.
Only the Annotations with this sentimentMax will be used for training.
sentimentMax value must be between 1 and 10 (inclusive).
int32 sentiment_max = 1;
clone()
public AutoMlTextSentimentInputs.Builder clone()
Overrides
getDefaultInstanceForType()
public AutoMlTextSentimentInputs getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSentimentMax()
public int getSentimentMax()
A sentiment is expressed as an integer ordinal, where higher value
means a more positive sentiment. The range of sentiments that will be used
is between 0 and sentimentMax (inclusive on both ends), and all the values
in the range must be represented in the dataset before a model can be
created.
Only the Annotations with this sentimentMax will be used for training.
sentimentMax value must be between 1 and 10 (inclusive).
int32 sentiment_max = 1;
Returns |
---|
Type | Description |
int | The sentimentMax.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AutoMlTextSentimentInputs other)
public AutoMlTextSentimentInputs.Builder mergeFrom(AutoMlTextSentimentInputs other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutoMlTextSentimentInputs.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AutoMlTextSentimentInputs.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoMlTextSentimentInputs.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AutoMlTextSentimentInputs.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoMlTextSentimentInputs.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSentimentMax(int value)
public AutoMlTextSentimentInputs.Builder setSentimentMax(int value)
A sentiment is expressed as an integer ordinal, where higher value
means a more positive sentiment. The range of sentiments that will be used
is between 0 and sentimentMax (inclusive on both ends), and all the values
in the range must be represented in the dataset before a model can be
created.
Only the Annotations with this sentimentMax will be used for training.
sentimentMax value must be between 1 and 10 (inclusive).
int32 sentiment_max = 1;
Parameter |
---|
Name | Description |
value | int
The sentimentMax to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoMlTextSentimentInputs.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides