Class PersonBlurConfig.Builder (0.10.0)

public static final class PersonBlurConfig.Builder extends GeneratedMessageV3.Builder<PersonBlurConfig.Builder> implements PersonBlurConfigOrBuilder

Message describing FaceBlurConfig.

Protobuf type google.cloud.visionai.v1.PersonBlurConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PersonBlurConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PersonBlurConfig.Builder
Overrides

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public PersonBlurConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PersonBlurConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PersonBlurConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PersonBlurConfig.Builder
Overrides

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.

clone()

public PersonBlurConfig.Builder clone()
Returns
Type Description
PersonBlurConfig.Builder
Overrides

getDefaultInstanceForType()

public PersonBlurConfig getDefaultInstanceForType()
Returns
Type Description
PersonBlurConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PersonBlurConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PersonBlurConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PersonBlurConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PersonBlurConfig.Builder
Overrides

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 boolean

The facesOnly to set.

Returns
Type Description
PersonBlurConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PersonBlurConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PersonBlurConfig.Builder
Overrides

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.PersonBlurType

The 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 int

The enum numeric value on the wire for personBlurType to set.

Returns
Type Description
PersonBlurConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PersonBlurConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PersonBlurConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PersonBlurConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PersonBlurConfig.Builder
Overrides