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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WebDetectionParams.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public WebDetectionParams build()
Returns
buildPartial()
public WebDetectionParams buildPartial()
Returns
clear()
public WebDetectionParams.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public WebDetectionParams.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIncludeGeoResults()
public WebDetectionParams.Builder clearIncludeGeoResults()
Whether to include results derived from the geo information in the image.
bool include_geo_results = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public WebDetectionParams.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public WebDetectionParams.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public WebDetectionParams getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(WebDetectionParams other)
public WebDetectionParams.Builder mergeFrom(WebDetectionParams other)
Parameter
Returns
public WebDetectionParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WebDetectionParams.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WebDetectionParams.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WebDetectionParams.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WebDetectionParams.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WebDetectionParams.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides