Class WebDetectionParams.Builder (2.1.4)

public static final class WebDetectionParams.Builder extends GeneratedMessageV3.Builder<WebDetectionParams.Builder> implements WebDetectionParamsOrBuilder

Parameters for web detection request.

Protobuf type google.cloud.vision.v1p4beta1.WebDetectionParams

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WebDetectionParams build()
Returns
TypeDescription
WebDetectionParams

buildPartial()

public WebDetectionParams buildPartial()
Returns
TypeDescription
WebDetectionParams

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIncludeGeoResults()

public WebDetectionParams.Builder clearIncludeGeoResults()

Whether to include results derived from the geo information in the image.

bool include_geo_results = 2;

Returns
TypeDescription
WebDetectionParams.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)