Class PersonBlurConfig.Builder (0.14.1)

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

Message describing FaceBlurConfig.

Protobuf type google.events.cloud.visionai.v1.PersonBlurConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PersonBlurConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PersonBlurConfig.Builder
Overrides

build()

public PersonBlurConfig build()
Returns
TypeDescription
PersonBlurConfig

buildPartial()

public PersonBlurConfig buildPartial()
Returns
TypeDescription
PersonBlurConfig

clear()

public PersonBlurConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
PersonBlurConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PersonBlurConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PersonBlurConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PersonBlurConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PersonBlurConfig.Builder
Overrides

clearPersonBlurType()

public PersonBlurConfig.Builder clearPersonBlurType()

Person blur type.

.google.events.cloud.visionai.v1.PersonBlurConfig.PersonBlurType person_blur_type = 1;

Returns
TypeDescription
PersonBlurConfig.Builder

This builder for chaining.

clone()

public PersonBlurConfig.Builder clone()
Returns
TypeDescription
PersonBlurConfig.Builder
Overrides

getDefaultInstanceForType()

public PersonBlurConfig getDefaultInstanceForType()
Returns
TypeDescription
PersonBlurConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFacesOnly()

public boolean getFacesOnly()

Whether only blur faces other than the whole object in the processor.

bool faces_only = 2;

Returns
TypeDescription
boolean

The facesOnly.

getPersonBlurType()

public PersonBlurConfig.PersonBlurType getPersonBlurType()

Person blur type.

.google.events.cloud.visionai.v1.PersonBlurConfig.PersonBlurType person_blur_type = 1;

Returns
TypeDescription
PersonBlurConfig.PersonBlurType

The personBlurType.

getPersonBlurTypeValue()

public int getPersonBlurTypeValue()

Person blur type.

.google.events.cloud.visionai.v1.PersonBlurConfig.PersonBlurType person_blur_type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for personBlurType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PersonBlurConfig other)

public PersonBlurConfig.Builder mergeFrom(PersonBlurConfig other)
Parameter
NameDescription
otherPersonBlurConfig
Returns
TypeDescription
PersonBlurConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PersonBlurConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonBlurConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PersonBlurConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PersonBlurConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PersonBlurConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The facesOnly to set.

Returns
TypeDescription
PersonBlurConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PersonBlurConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PersonBlurConfig.Builder
Overrides

setPersonBlurType(PersonBlurConfig.PersonBlurType value)

public PersonBlurConfig.Builder setPersonBlurType(PersonBlurConfig.PersonBlurType value)

Person blur type.

.google.events.cloud.visionai.v1.PersonBlurConfig.PersonBlurType person_blur_type = 1;

Parameter
NameDescription
valuePersonBlurConfig.PersonBlurType

The personBlurType to set.

Returns
TypeDescription
PersonBlurConfig.Builder

This builder for chaining.

setPersonBlurTypeValue(int value)

public PersonBlurConfig.Builder setPersonBlurTypeValue(int value)

Person blur type.

.google.events.cloud.visionai.v1.PersonBlurConfig.PersonBlurType person_blur_type = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PersonBlurConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PersonBlurConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PersonBlurConfig.Builder
Overrides