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
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WebDetectionParams.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WebDetectionParams build()
buildPartial()
public WebDetectionParams buildPartial()
clear()
public WebDetectionParams.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public WebDetectionParams.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIncludeGeoResults()
public WebDetectionParams.Builder clearIncludeGeoResults()
Whether to include results derived from the geo information in the image.
bool include_geo_results = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public WebDetectionParams.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public WebDetectionParams.Builder clone()
Overrides
getDefaultInstanceForType()
public WebDetectionParams getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WebDetectionParams other)
public WebDetectionParams.Builder mergeFrom(WebDetectionParams other)
public WebDetectionParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WebDetectionParams.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WebDetectionParams.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WebDetectionParams.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WebDetectionParams.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WebDetectionParams.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides