Class PersonBlurConfig (0.14.1)

public final class PersonBlurConfig extends GeneratedMessageV3 implements PersonBlurConfigOrBuilder

Message describing FaceBlurConfig.

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

Static Fields

FACES_ONLY_FIELD_NUMBER

public static final int FACES_ONLY_FIELD_NUMBER
Field Value
TypeDescription
int

PERSON_BLUR_TYPE_FIELD_NUMBER

public static final int PERSON_BLUR_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PersonBlurConfig getDefaultInstance()
Returns
TypeDescription
PersonBlurConfig

getDescriptor()

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

newBuilder()

public static PersonBlurConfig.Builder newBuilder()
Returns
TypeDescription
PersonBlurConfig.Builder

newBuilder(PersonBlurConfig prototype)

public static PersonBlurConfig.Builder newBuilder(PersonBlurConfig prototype)
Parameter
NameDescription
prototypePersonBlurConfig
Returns
TypeDescription
PersonBlurConfig.Builder

parseDelimitedFrom(InputStream input)

public static PersonBlurConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PersonBlurConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PersonBlurConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonBlurConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PersonBlurConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PersonBlurConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PersonBlurConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonBlurConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PersonBlurConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PersonBlurConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PersonBlurConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonBlurConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PersonBlurConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PersonBlurConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PersonBlurConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonBlurConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PersonBlurConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PersonBlurConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PersonBlurConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonBlurConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PersonBlurConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PersonBlurConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PersonBlurConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonBlurConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PersonBlurConfig> parser()
Returns
TypeDescription
Parser<PersonBlurConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PersonBlurConfig getDefaultInstanceForType()
Returns
TypeDescription
PersonBlurConfig

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.

getParserForType()

public Parser<PersonBlurConfig> getParserForType()
Returns
TypeDescription
Parser<PersonBlurConfig>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PersonBlurConfig.Builder newBuilderForType()
Returns
TypeDescription
PersonBlurConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PersonBlurConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PersonBlurConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PersonBlurConfig.Builder toBuilder()
Returns
TypeDescription
PersonBlurConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException