Class ProductSearchResults.ObjectAnnotation.Builder (2.1.4)

public static final class ProductSearchResults.ObjectAnnotation.Builder extends GeneratedMessageV3.Builder<ProductSearchResults.ObjectAnnotation.Builder> implements ProductSearchResults.ObjectAnnotationOrBuilder

Prediction for what the object in the bounding box is.

Protobuf type google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProductSearchResults.ObjectAnnotation build()
Returns
TypeDescription
ProductSearchResults.ObjectAnnotation

buildPartial()

public ProductSearchResults.ObjectAnnotation buildPartial()
Returns
TypeDescription
ProductSearchResults.ObjectAnnotation

clear()

public ProductSearchResults.ObjectAnnotation.Builder clear()
Returns
TypeDescription
ProductSearchResults.ObjectAnnotation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearLanguageCode()

public ProductSearchResults.ObjectAnnotation.Builder clearLanguageCode()

The BCP-47 language code, such as "en-US" or "sr-Latn"