public static final class PersonBlurConfig.Builder extends GeneratedMessage.Builder<PersonBlurConfig.Builder> implements PersonBlurConfigOrBuilderMessage describing FaceBlurConfig.
Protobuf type google.cloud.visionai.v1.PersonBlurConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PersonBlurConfig.BuilderImplements
PersonBlurConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PersonBlurConfig build()| Returns | |
|---|---|
| Type | Description |
PersonBlurConfig |
|
buildPartial()
public PersonBlurConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
PersonBlurConfig |
|
clear()
public PersonBlurConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
PersonBlurConfig.Builder |
|
clearFacesOnly()
public PersonBlurConfig.Builder clearFacesOnly()Whether only blur faces other than the whole object in the processor.
bool faces_only = 2;
| Returns | |
|---|---|
| Type | Description |
PersonBlurConfig.Builder |
This builder for chaining. |
clearPersonBlurType()
public PersonBlurConfig.Builder clearPersonBlurType()Person blur type.
.google.cloud.visionai.v1.PersonBlurConfig.PersonBlurType person_blur_type = 1;
| Returns | |
|---|---|
| Type | Description |
PersonBlurConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PersonBlurConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PersonBlurConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFacesOnly()
public boolean getFacesOnly()Whether only blur faces other than the whole object in the processor.
bool faces_only = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The facesOnly. |
getPersonBlurType()
public PersonBlurConfig.PersonBlurType getPersonBlurType()Person blur type.
.google.cloud.visionai.v1.PersonBlurConfig.PersonBlurType person_blur_type = 1;
| Returns | |
|---|---|
| Type | Description |
PersonBlurConfig.PersonBlurType |
The personBlurType. |
getPersonBlurTypeValue()
public int getPersonBlurTypeValue()Person blur type.
.google.cloud.visionai.v1.PersonBlurConfig.PersonBlurType person_blur_type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for personBlurType. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PersonBlurConfig other)
public PersonBlurConfig.Builder mergeFrom(PersonBlurConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
PersonBlurConfig |
| Returns | |
|---|---|
| Type | Description |
PersonBlurConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PersonBlurConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PersonBlurConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PersonBlurConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PersonBlurConfig.Builder |
|
setFacesOnly(boolean value)
public PersonBlurConfig.Builder setFacesOnly(boolean value)Whether only blur faces other than the whole object in the processor.
bool faces_only = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe facesOnly to set. |
| Returns | |
|---|---|
| Type | Description |
PersonBlurConfig.Builder |
This builder for chaining. |
setPersonBlurType(PersonBlurConfig.PersonBlurType value)
public PersonBlurConfig.Builder setPersonBlurType(PersonBlurConfig.PersonBlurType value)Person blur type.
.google.cloud.visionai.v1.PersonBlurConfig.PersonBlurType person_blur_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
PersonBlurConfig.PersonBlurTypeThe personBlurType to set. |
| Returns | |
|---|---|
| Type | Description |
PersonBlurConfig.Builder |
This builder for chaining. |
setPersonBlurTypeValue(int value)
public PersonBlurConfig.Builder setPersonBlurTypeValue(int value)Person blur type.
.google.cloud.visionai.v1.PersonBlurConfig.PersonBlurType person_blur_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for personBlurType to set. |
| Returns | |
|---|---|
| Type | Description |
PersonBlurConfig.Builder |
This builder for chaining. |