Class AutoMlTextExtraction.Builder (3.8.0)

public static final class AutoMlTextExtraction.Builder extends GeneratedMessageV3.Builder<AutoMlTextExtraction.Builder> implements AutoMlTextExtractionOrBuilder

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

Protobuf type google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextExtraction

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AutoMlTextExtraction build()
Returns
TypeDescription
AutoMlTextExtraction

buildPartial()

public AutoMlTextExtraction buildPartial()
Returns
TypeDescription
AutoMlTextExtraction

clear()

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

clearField(Descriptors.FieldDescriptor field)

public AutoMlTextExtraction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AutoMlTextExtraction.Builder
Overrides

clearInputs()

public AutoMlTextExtraction.Builder clearInputs()

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextExtractionInputs inputs = 1;

Returns
TypeDescription
AutoMlTextExtraction.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AutoMlTextExtraction getDefaultInstanceForType()
Returns
TypeDescription
AutoMlTextExtraction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInputs()

public AutoMlTextExtractionInputs getInputs()

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextExtractionInputs inputs = 1;

Returns
TypeDescription
AutoMlTextExtractionInputs

The inputs.

getInputsBuilder()

public AutoMlTextExtractionInputs.Builder getInputsBuilder()

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextExtractionInputs inputs = 1;

Returns
TypeDescription
AutoMlTextExtractionInputs.Builder

getInputsOrBuilder()

public AutoMlTextExtractionInputsOrBuilder getInputsOrBuilder()

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextExtractionInputs inputs = 1;

Returns
TypeDescription
AutoMlTextExtractionInputsOrBuilder

hasInputs()

public boolean hasInputs()

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextExtractionInputs 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(AutoMlTextExtraction other)

public AutoMlTextExtraction.Builder mergeFrom(AutoMlTextExtraction other)
Parameter
NameDescription
otherAutoMlTextExtraction
Returns
TypeDescription
AutoMlTextExtraction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AutoMlTextExtraction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AutoMlTextExtraction.Builder
Overrides

mergeInputs(AutoMlTextExtractionInputs value)

public AutoMlTextExtraction.Builder mergeInputs(AutoMlTextExtractionInputs value)

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextExtractionInputs inputs = 1;

Parameter
NameDescription
valueAutoMlTextExtractionInputs
Returns
TypeDescription
AutoMlTextExtraction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInputs(AutoMlTextExtractionInputs value)

public AutoMlTextExtraction.Builder setInputs(AutoMlTextExtractionInputs value)

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextExtractionInputs inputs = 1;

Parameter
NameDescription
valueAutoMlTextExtractionInputs
Returns
TypeDescription
AutoMlTextExtraction.Builder

setInputs(AutoMlTextExtractionInputs.Builder builderForValue)

public AutoMlTextExtraction.Builder setInputs(AutoMlTextExtractionInputs.Builder builderForValue)

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextExtractionInputs inputs = 1;

Parameter
NameDescription
builderForValueAutoMlTextExtractionInputs.Builder
Returns
TypeDescription
AutoMlTextExtraction.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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