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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WebDetection.WebLabel.BuilderImplements
WebDetection.WebLabelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WebDetection.WebLabel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
WebDetection.WebLabel.Builder |
build()
public WebDetection.WebLabel build()
Type | Description |
WebDetection.WebLabel |
buildPartial()
public WebDetection.WebLabel buildPartial()
Type | Description |
WebDetection.WebLabel |
clear()
public WebDetection.WebLabel.Builder clear()
Type | Description |
WebDetection.WebLabel.Builder |
clearField(Descriptors.FieldDescriptor field)
public WebDetection.WebLabel.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
WebDetection.WebLabel.Builder |
clearLabel()
public WebDetection.WebLabel.Builder clearLabel()
Label for extra metadata.
string label = 1;
Type | Description |
WebDetection.WebLabel.Builder | This builder for chaining. |
clearLanguageCode()
public WebDetection.WebLabel.Builder clearLanguageCode()
The BCP-47 language code for label
, such as