Class SafeSearchAnnotation (2.1.2)

public final class SafeSearchAnnotation extends GeneratedMessageV3 implements SafeSearchAnnotationOrBuilder

Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).

Protobuf type google.cloud.vision.v1p1beta1.SafeSearchAnnotation

Static Fields

ADULT_FIELD_NUMBER

public static final int ADULT_FIELD_NUMBER
Field Value
TypeDescription
int

MEDICAL_FIELD_NUMBER

public static final int MEDICAL_FIELD_NUMBER
Field Value
TypeDescription
int

RACY_FIELD_NUMBER

public static final int RACY_FIELD_NUMBER
Field Value
TypeDescription
int

SPOOF_FIELD_NUMBER

public static final int SPOOF_FIELD_NUMBER
Field Value
TypeDescription
int

VIOLENCE_FIELD_NUMBER

public static final int VIOLENCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SafeSearchAnnotation getDefaultInstance()
Returns
TypeDescription
SafeSearchAnnotation

getDescriptor()

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

newBuilder()

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

newBui