public static final class ProductRecognizerConfig.Builder extends GeneratedMessageV3.Builder<ProductRecognizerConfig.Builder> implements ProductRecognizerConfigOrBuilder
Message describing ProductRecognizerConfig.
Protobuf type google.cloud.visionai.v1.ProductRecognizerConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProductRecognizerConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ProductRecognizerConfig build()
buildPartial()
public ProductRecognizerConfig buildPartial()
clear()
public ProductRecognizerConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ProductRecognizerConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProductRecognizerConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRecognitionConfidenceThreshold()
public ProductRecognizerConfig.Builder clearRecognitionConfidenceThreshold()
Confidence threshold to filter detection results. If not set, a system
default value will be used.
float recognition_confidence_threshold = 2;
clearRetailEndpoint()
public ProductRecognizerConfig.Builder clearRetailEndpoint()
The resource name of retail endpoint to use.
string retail_endpoint = 1;
clone()
public ProductRecognizerConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public ProductRecognizerConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ProductRecognizerConfig other)
public ProductRecognizerConfig.Builder mergeFrom(ProductRecognizerConfig other)
public ProductRecognizerConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ProductRecognizerConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProductRecognizerConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ProductRecognizerConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRecognitionConfidenceThreshold(float value)
public ProductRecognizerConfig.Builder setRecognitionConfidenceThreshold(float value)
Confidence threshold to filter detection results. If not set, a system
default value will be used.
float recognition_confidence_threshold = 2;
Parameter |
Name |
Description |
value |
float
The recognitionConfidenceThreshold to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProductRecognizerConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRetailEndpoint(String value)
public ProductRecognizerConfig.Builder setRetailEndpoint(String value)
The resource name of retail endpoint to use.
string retail_endpoint = 1;
Parameter |
Name |
Description |
value |
String
The retailEndpoint to set.
|
setRetailEndpointBytes(ByteString value)
public ProductRecognizerConfig.Builder setRetailEndpointBytes(ByteString value)
The resource name of retail endpoint to use.
string retail_endpoint = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for retailEndpoint to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ProductRecognizerConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides