Class Product.KeyValue.Builder (3.1.0)

public static final class Product.KeyValue.Builder extends GeneratedMessageV3.Builder<Product.KeyValue.Builder> implements Product.KeyValueOrBuilder

A product label represented as a key-value pair.

Protobuf type google.cloud.vision.v1.Product.KeyValue

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Product.KeyValue build()
Returns
TypeDescription
Product.KeyValue

buildPartial()

public Product.KeyValue buildPartial()
Returns
TypeDescription
Product.KeyValue

clear()

public Product.KeyValue.Builder clear()
Returns
TypeDescription
Product.KeyValue.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Product.KeyValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
field