Class WebDetection.WebLabel.Builder (2.1.4)

public static final class WebDetection.WebLabel.Builder extends GeneratedMessageV3.Builder<WebDetection.WebLabel.Builder> implements WebDetection.WebLabelOrBuilder

Label to provide extra metadata for the web detection.

Protobuf type google.cloud.vision.v1.WebDetection.WebLabel

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WebDetection.WebLabel build()
Returns
TypeDescription
WebDetection.WebLabel

buildPartial()

public WebDetection.WebLabel buildPartial()
Returns
TypeDescription
WebDetection.WebLabel

clear()

public WebDetection.WebLabel.Builder clear()
Returns
TypeDescription
WebDetection.WebLabel.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearLabel()

public WebDetection.WebLabel.Builder clearLabel()

Label for extra metadata.

string label = 1;

Returns
TypeDescription
WebDetection.WebLabel.Builder

This builder for chaining.

clearLanguageCode()

public WebDetection.WebLabel.Builder clearLanguageCode()

The BCP-47 language code for label, such as