Class WebDetectionParams.Builder (3.29.0)

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)

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

clone()

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

getDefaultInstanceForType()

public WebDetectionParams getDefaultInstanceForType()
Returns
TypeDescription
WebDetectionParams

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIncludeGeoResults()

public boolean getIncludeGeoResults()

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

bool include_geo_results = 2;

Returns
TypeDescription
boolean

The includeGeoResults.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WebDetectionParams other)

public WebDetectionParams.Builder mergeFrom(WebDetectionParams other)
Parameter
NameDescription
otherWebDetectionParams
Returns
TypeDescription
WebDetectionParams.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WebDetectionParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WebDetectionParams.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public WebDetectionParams.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
WebDetectionParams.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WebDetectionParams.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WebDetectionParams.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public WebDetectionParams.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The includeGeoResults to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
WebDetectionParams.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WebDetectionParams.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WebDetectionParams.Builder
Overrides