public final class ProductRecognizerConfig extends GeneratedMessage implements ProductRecognizerConfigOrBuilderMessage describing ProductRecognizerConfig.
Protobuf type google.cloud.visionai.v1.ProductRecognizerConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ProductRecognizerConfigImplements
ProductRecognizerConfigOrBuilderStatic Fields
RECOGNITION_CONFIDENCE_THRESHOLD_FIELD_NUMBER
public static final int RECOGNITION_CONFIDENCE_THRESHOLD_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RETAIL_ENDPOINT_FIELD_NUMBER
public static final int RETAIL_ENDPOINT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ProductRecognizerConfig getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ProductRecognizerConfig.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig.Builder |
|
newBuilder(ProductRecognizerConfig prototype)
public static ProductRecognizerConfig.Builder newBuilder(ProductRecognizerConfig prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ProductRecognizerConfig |
| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig.Builder |
|
parseDelimitedFrom(InputStream input)
public static ProductRecognizerConfig parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductRecognizerConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ProductRecognizerConfig parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProductRecognizerConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ProductRecognizerConfig parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProductRecognizerConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ProductRecognizerConfig parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductRecognizerConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ProductRecognizerConfig parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductRecognizerConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ProductRecognizerConfig parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ProductRecognizerConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ProductRecognizerConfig> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ProductRecognizerConfig> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ProductRecognizerConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig |
|
getParserForType()
public Parser<ProductRecognizerConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ProductRecognizerConfig> |
|
getRecognitionConfidenceThreshold()
public float getRecognitionConfidenceThreshold()Confidence threshold to filter detection results. If not set, a system default value will be used.
float recognition_confidence_threshold = 2;
| Returns | |
|---|---|
| Type | Description |
float |
The recognitionConfidenceThreshold. |
getRetailEndpoint()
public String getRetailEndpoint()The resource name of retail endpoint to use.
string retail_endpoint = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The retailEndpoint. |
getRetailEndpointBytes()
public ByteString getRetailEndpointBytes()The resource name of retail endpoint to use.
string retail_endpoint = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for retailEndpoint. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ProductRecognizerConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ProductRecognizerConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig.Builder |
|
toBuilder()
public ProductRecognizerConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ProductRecognizerConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|