Interface SafeSearchAnnotationOrBuilder (3.9.0)

public interface SafeSearchAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdult()

public abstract Likelihood getAdult()

Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.

.google.cloud.vision.v1p4beta1.Likelihood adult = 1;

Returns
TypeDescription
Likelihood

The adult.

getAdultValue()

public abstract int getAdultValue()

Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.

.google.cloud.vision.v1p4beta1.Likelihood adult = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for adult.

getMedical()

public abstract Likelihood getMedical()

Likelihood that this is a medical image.

.google.cloud.vision.v1p4beta1.Likelihood medical = 3;

Returns
TypeDescription
Likelihood

The medical.

getMedicalValue()

public abstract int getMedicalValue()

Likelihood that this is a medical image.

.google.cloud.vision.v1p4beta1.Likelihood medical = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for medical.

getRacy()

public abstract Likelihood getRacy()

Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.

.google.cloud.vision.v1p4beta1.Likelihood racy = 9;

Returns
TypeDescription
Likelihood

The racy.

getRacyValue()

public abstract int getRacyValue()

Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.

.google.cloud.vision.v1p4beta1.Likelihood racy = 9;

Returns
TypeDescription
int

The enum numeric value on the wire for racy.

getSpoof()

public abstract Likelihood getSpoof()

Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.

.google.cloud.vision.v1p4beta1.Likelihood spoof = 2;

Returns
TypeDescription
Likelihood

The spoof.

getSpoofValue()

public abstract int getSpoofValue()

Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.

.google.cloud.vision.v1p4beta1.Likelihood spoof = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for spoof.

getViolence()

public abstract Likelihood getViolence()

Likelihood that this image contains violent content.

.google.cloud.vision.v1p4beta1.Likelihood violence = 4;

Returns
TypeDescription
Likelihood

The violence.

getViolenceValue()

public abstract int getViolenceValue()

Likelihood that this image contains violent content.

.google.cloud.vision.v1p4beta1.Likelihood violence = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for violence.