Class WebDetectionParams.Builder (3.45.0)

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

Parameters for web detection request.

Protobuf type google.cloud.vision.v1p1beta1.WebDetectionParams

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WebDetectionParams.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WebDetectionParams.Builder
Overrides

build()

public WebDetectionParams build()
Returns
Type Description
WebDetectionParams

buildPartial()

public WebDetectionParams buildPartial()
Returns
Type Description
WebDetectionParams

clear()

public WebDetectionParams.Builder clear()
Returns
Type Description
WebDetectionParams.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public WebDetectionParams.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
WebDetectionParams.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public WebDetectionParams.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WebDetectionParams.Builder
Overrides

clone()

public WebDetectionParams.Builder clone()
Returns
Type Description
WebDetectionParams.Builder
Overrides

getDefaultInstanceForType()

public WebDetectionParams getDefaultInstanceForType()
Returns
Type Description
WebDetectionParams

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIncludeGeoResults()

public boolean getIncludeGeoResults()

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

bool include_geo_results = 2;

Returns
Type Description
boolean

The includeGeoResults.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WebDetectionParams other)

public WebDetectionParams.Builder mergeFrom(WebDetectionParams other)
Parameter
Name Description
other WebDetectionParams
Returns
Type Description
WebDetectionParams.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WebDetectionParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WebDetectionParams.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WebDetectionParams.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WebDetectionParams.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WebDetectionParams.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WebDetectionParams.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public WebDetectionParams.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WebDetectionParams.Builder
Overrides

setIncludeGeoResults(boolean value)

public WebDetectionParams.Builder setIncludeGeoResults(boolean value)

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

bool include_geo_results = 2;

Parameter
Name Description
value boolean

The includeGeoResults to set.

Returns
Type Description
WebDetectionParams.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WebDetectionParams.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WebDetectionParams.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WebDetectionParams.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WebDetectionParams.Builder
Overrides