public static final class TextExtractionModelMetadata.Builder extends GeneratedMessageV3.Builder<TextExtractionModelMetadata.Builder> implements TextExtractionModelMetadataOrBuilder
Model metadata that is specific to text extraction.
Protobuf type google.cloud.automl.v1beta1.TextExtractionModelMetadata
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public TextExtractionModelMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TextExtractionModelMetadata build()
public TextExtractionModelMetadata buildPartial()
public TextExtractionModelMetadata.Builder clear()
Overrides
public TextExtractionModelMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public TextExtractionModelMetadata.Builder clearModelHint()
Indicates the scope of model use case.
default
: Use to train a general text extraction model. Default value.
health_care
: Use to train a text extraction model that is tuned for
healthcare applications.
string model_hint = 3;
public TextExtractionModelMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public TextExtractionModelMetadata.Builder clone()
Overrides
public TextExtractionModelMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getModelHint()
Indicates the scope of model use case.
default
: Use to train a general text extraction model. Default value.
health_care
: Use to train a text extraction model that is tuned for
healthcare applications.
string model_hint = 3;
Returns |
---|
Type | Description |
String | The modelHint.
|
public ByteString getModelHintBytes()
Indicates the scope of model use case.
default
: Use to train a general text extraction model. Default value.
health_care
: Use to train a text extraction model that is tuned for
healthcare applications.
string model_hint = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for modelHint.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TextExtractionModelMetadata.Builder mergeFrom(TextExtractionModelMetadata other)
public TextExtractionModelMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public TextExtractionModelMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final TextExtractionModelMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public TextExtractionModelMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TextExtractionModelMetadata.Builder setModelHint(String value)
Indicates the scope of model use case.
default
: Use to train a general text extraction model. Default value.
health_care
: Use to train a text extraction model that is tuned for
healthcare applications.
string model_hint = 3;
Parameter |
---|
Name | Description |
value | String
The modelHint to set.
|
public TextExtractionModelMetadata.Builder setModelHintBytes(ByteString value)
Indicates the scope of model use case.
default
: Use to train a general text extraction model. Default value.
health_care
: Use to train a text extraction model that is tuned for
healthcare applications.
string model_hint = 3;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for modelHint to set.
|
public TextExtractionModelMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final TextExtractionModelMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides