Class AutoMlTextSentiment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AutoMlTextSentiment.Builder>
-
- com.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentiment.Builder
-
- All Implemented Interfaces:
AutoMlTextSentimentOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AutoMlTextSentiment
public static final class AutoMlTextSentiment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AutoMlTextSentiment.Builder> implements AutoMlTextSentimentOrBuilder
A TrainingJob that trains and uploads an AutoML Text Sentiment Model.
Protobuf typegoogle.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentiment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoMlTextSentiment.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AutoMlTextSentiment
build()
AutoMlTextSentiment
buildPartial()
AutoMlTextSentiment.Builder
clear()
AutoMlTextSentiment.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AutoMlTextSentiment.Builder
clearInputs()
The input parameters of this TrainingJob.AutoMlTextSentiment.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AutoMlTextSentiment.Builder
clone()
AutoMlTextSentiment
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
AutoMlTextSentimentInputs
getInputs()
The input parameters of this TrainingJob.AutoMlTextSentimentInputs.Builder
getInputsBuilder()
The input parameters of this TrainingJob.AutoMlTextSentimentInputsOrBuilder
getInputsOrBuilder()
The input parameters of this TrainingJob.boolean
hasInputs()
The input parameters of this TrainingJob.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AutoMlTextSentiment.Builder
mergeFrom(AutoMlTextSentiment other)
AutoMlTextSentiment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AutoMlTextSentiment.Builder
mergeFrom(com.google.protobuf.Message other)
AutoMlTextSentiment.Builder
mergeInputs(AutoMlTextSentimentInputs value)
The input parameters of this TrainingJob.AutoMlTextSentiment.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AutoMlTextSentiment.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AutoMlTextSentiment.Builder
setInputs(AutoMlTextSentimentInputs value)
The input parameters of this TrainingJob.AutoMlTextSentiment.Builder
setInputs(AutoMlTextSentimentInputs.Builder builderForValue)
The input parameters of this TrainingJob.AutoMlTextSentiment.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AutoMlTextSentiment.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlTextSentiment.Builder>
-
clear
public AutoMlTextSentiment.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlTextSentiment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlTextSentiment.Builder>
-
getDefaultInstanceForType
public AutoMlTextSentiment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AutoMlTextSentiment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AutoMlTextSentiment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AutoMlTextSentiment.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlTextSentiment.Builder>
-
setField
public AutoMlTextSentiment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlTextSentiment.Builder>
-
clearField
public AutoMlTextSentiment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlTextSentiment.Builder>
-
clearOneof
public AutoMlTextSentiment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlTextSentiment.Builder>
-
setRepeatedField
public AutoMlTextSentiment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlTextSentiment.Builder>
-
addRepeatedField
public AutoMlTextSentiment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlTextSentiment.Builder>
-
mergeFrom
public AutoMlTextSentiment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AutoMlTextSentiment.Builder>
-
mergeFrom
public AutoMlTextSentiment.Builder mergeFrom(AutoMlTextSentiment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlTextSentiment.Builder>
-
mergeFrom
public AutoMlTextSentiment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AutoMlTextSentiment.Builder>
- Throws:
IOException
-
hasInputs
public boolean hasInputs()
The input parameters of this TrainingJob.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs inputs = 1;
- Specified by:
hasInputs
in interfaceAutoMlTextSentimentOrBuilder
- Returns:
- Whether the inputs field is set.
-
getInputs
public AutoMlTextSentimentInputs getInputs()
The input parameters of this TrainingJob.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs inputs = 1;
- Specified by:
getInputs
in interfaceAutoMlTextSentimentOrBuilder
- Returns:
- The inputs.
-
setInputs
public AutoMlTextSentiment.Builder setInputs(AutoMlTextSentimentInputs value)
The input parameters of this TrainingJob.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs inputs = 1;
-
setInputs
public AutoMlTextSentiment.Builder setInputs(AutoMlTextSentimentInputs.Builder builderForValue)
The input parameters of this TrainingJob.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs inputs = 1;
-
mergeInputs
public AutoMlTextSentiment.Builder mergeInputs(AutoMlTextSentimentInputs value)
The input parameters of this TrainingJob.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs inputs = 1;
-
clearInputs
public AutoMlTextSentiment.Builder clearInputs()
The input parameters of this TrainingJob.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs inputs = 1;
-
getInputsBuilder
public AutoMlTextSentimentInputs.Builder getInputsBuilder()
The input parameters of this TrainingJob.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs inputs = 1;
-
getInputsOrBuilder
public AutoMlTextSentimentInputsOrBuilder getInputsOrBuilder()
The input parameters of this TrainingJob.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs inputs = 1;
- Specified by:
getInputsOrBuilder
in interfaceAutoMlTextSentimentOrBuilder
-
setUnknownFields
public final AutoMlTextSentiment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlTextSentiment.Builder>
-
mergeUnknownFields
public final AutoMlTextSentiment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutoMlTextSentiment.Builder>
-
-