- 3.51.0 (latest)
- 3.50.0
- 3.49.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.3
- 2.1.4
- 2.0.29
public static final class FaceRecognitionParams.Builder extends GeneratedMessageV3.Builder<FaceRecognitionParams.Builder> implements FaceRecognitionParamsOrBuilder
Parameters for a celebrity recognition request.
Protobuf type google.cloud.vision.v1p4beta1.FaceRecognitionParams
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FaceRecognitionParams.BuilderImplements
FaceRecognitionParamsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllCelebritySet(Iterable<String> values)
public FaceRecognitionParams.Builder addAllCelebritySet(Iterable<String> values)
The resource names for one or more CelebritySets. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.
repeated string celebrity_set = 1;
Name | Description |
values | Iterable<String> The celebritySet to add. |
Type | Description |
FaceRecognitionParams.Builder | This builder for chaining. |
addCelebritySet(String value)
public FaceRecognitionParams.Builder addCelebritySet(String value)
The resource names for one or more CelebritySets. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.
repeated string celebrity_set = 1;
Name | Description |
value | String The celebritySet to add. |
Type | Description |
FaceRecognitionParams.Builder | This builder for chaining. |
addCelebritySetBytes(ByteString value)
public FaceRecognitionParams.Builder addCelebritySetBytes(ByteString value)
The resource names for one or more CelebritySets. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.
repeated string celebrity_set = 1;
Name | Description |
value | ByteString The bytes of the celebritySet to add. |
Type | Description |
FaceRecognitionParams.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FaceRecognitionParams.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
FaceRecognitionParams.Builder |
build()
public FaceRecognitionParams build()
Type | Description |
FaceRecognitionParams |
buildPartial()
public FaceRecognitionParams buildPartial()
Type | Description |
FaceRecognitionParams |
clear()
public FaceRecognitionParams.Builder clear()
Type | Description |
FaceRecognitionParams.Builder |
clearCelebritySet()
public FaceRecognitionParams.Builder clearCelebritySet()
The resource names for one or more CelebritySets. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.
repeated string celebrity_set = 1;
Type | Description |
FaceRecognitionParams.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public FaceRecognitionParams.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
FaceRecognitionParams.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public FaceRecognitionParams.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
FaceRecognitionParams.Builder |
clone()
public FaceRecognitionParams.Builder clone()
Type | Description |
FaceRecognitionParams.Builder |
getCelebritySet(int index)
public String getCelebritySet(int index)
The resource names for one or more CelebritySets. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.
repeated string celebrity_set = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The celebritySet at the given index. |
getCelebritySetBytes(int index)
public ByteString getCelebritySetBytes(int index)
The resource names for one or more CelebritySets. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.
repeated string celebrity_set = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the celebritySet at the given index. |
getCelebritySetCount()
public int getCelebritySetCount()
The resource names for one or more CelebritySets. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.
repeated string celebrity_set = 1;
Type | Description |
int | The count of celebritySet. |
getCelebritySetList()
public ProtocolStringList getCelebritySetList()
The resource names for one or more CelebritySets. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.
repeated string celebrity_set = 1;
Type | Description |
ProtocolStringList | A list containing the celebritySet. |
getDefaultInstanceForType()
public FaceRecognitionParams getDefaultInstanceForType()
Type | Description |
FaceRecognitionParams |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(FaceRecognitionParams other)
public FaceRecognitionParams.Builder mergeFrom(FaceRecognitionParams other)
Name | Description |
other | FaceRecognitionParams |
Type | Description |
FaceRecognitionParams.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FaceRecognitionParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
FaceRecognitionParams.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public FaceRecognitionParams.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
FaceRecognitionParams.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FaceRecognitionParams.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
FaceRecognitionParams.Builder |
setCelebritySet(int index, String value)
public FaceRecognitionParams.Builder setCelebritySet(int index, String value)
The resource names for one or more CelebritySets. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.
repeated string celebrity_set = 1;
Name | Description |
index | int The index to set the value at. |
value | String The celebritySet to set. |
Type | Description |
FaceRecognitionParams.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public FaceRecognitionParams.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
FaceRecognitionParams.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FaceRecognitionParams.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
FaceRecognitionParams.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final FaceRecognitionParams.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
FaceRecognitionParams.Builder |