Class Property.Builder (2.1.2)

public static final class Property.Builder extends GeneratedMessageV3.Builder<Property.Builder> implements PropertyOrBuilder

A Property consists of a user-supplied name/value pair.

Protobuf type google.cloud.vision.v1p4beta1.Property

Implements

PropertyOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Property build()
Returns
TypeDescription
Property

buildPartial()

public Property buildPartial()
Returns
TypeDescription
Property

clear()

public Property.Builder clear()
Returns
TypeDescription
Property.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Property.Builder clearName()

Name of the property.

string name = 1;

Returns
TypeDescription
Property.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Property.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Property.Builder
Overrides

clearUint64Value()

public Property.Builder clearUint64Value()

Value of numeric properties.

uint64 uint64_value = 3;

Returns
TypeDescription