public static interface Document.LabelOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAutomlModel()
Label is generated AutoML model.
|
com.google.protobuf.ByteString |
getAutomlModelBytes()
Label is generated AutoML model.
|
float |
getConfidence()
Confidence score between 0 and 1 for label assignment.
|
String |
getName()
Name of the label.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the label.
|
Document.Label.SourceCase |
getSourceCase() |
boolean |
hasAutomlModel()
Label is generated AutoML model.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasAutomlModel()
Label is generated AutoML model. This field stores the full resource
name of the AutoML model.
Format:
`projects/{project-id}/locations/{location-id}/models/{model-id}`
string automl_model = 2;String getAutomlModel()
Label is generated AutoML model. This field stores the full resource
name of the AutoML model.
Format:
`projects/{project-id}/locations/{location-id}/models/{model-id}`
string automl_model = 2;com.google.protobuf.ByteString getAutomlModelBytes()
Label is generated AutoML model. This field stores the full resource
name of the AutoML model.
Format:
`projects/{project-id}/locations/{location-id}/models/{model-id}`
string automl_model = 2;String getName()
Name of the label. When the label is generated from AutoML Text Classification model, this field represents the name of the category.
string name = 1;com.google.protobuf.ByteString getNameBytes()
Name of the label. When the label is generated from AutoML Text Classification model, this field represents the name of the category.
string name = 1;float getConfidence()
Confidence score between 0 and 1 for label assignment.
float confidence = 3;Document.Label.SourceCase getSourceCase()
Copyright © 2024 Google LLC. All rights reserved.