public static final class PersonBlurConfig.Builder extends GeneratedMessageV3.Builder<PersonBlurConfig.Builder> implements PersonBlurConfigOrBuilder
Message describing FaceBlurConfig.
Protobuf type google.cloud.visionai.v1.PersonBlurConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PersonBlurConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PersonBlurConfig build()
buildPartial()
public PersonBlurConfig buildPartial()
clear()
public PersonBlurConfig.Builder clear()
Overrides
clearFacesOnly()
public PersonBlurConfig.Builder clearFacesOnly()
Whether only blur faces other than the whole object in the processor.
bool faces_only = 2;
clearField(Descriptors.FieldDescriptor field)
public PersonBlurConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PersonBlurConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPersonBlurType()
public PersonBlurConfig.Builder clearPersonBlurType()
Person blur type.
.google.cloud.visionai.v1.PersonBlurConfig.PersonBlurType person_blur_type = 1;
clone()
public PersonBlurConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public PersonBlurConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PersonBlurConfig other)
public PersonBlurConfig.Builder mergeFrom(PersonBlurConfig other)
public PersonBlurConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PersonBlurConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PersonBlurConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public PersonBlurConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PersonBlurConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PersonBlurConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides