public interface SafeSearchAnnotationOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Likelihood |
getAdult()
Represents the adult content likelihood for the image.
|
int |
getAdultValue()
Represents the adult content likelihood for the image.
|
Likelihood |
getMedical()
Likelihood that this is a medical image.
|
int |
getMedicalValue()
Likelihood that this is a medical image.
|
Likelihood |
getRacy()
Likelihood that the request image contains racy content.
|
int |
getRacyValue()
Likelihood that the request image contains racy content.
|
Likelihood |
getSpoof()
Spoof likelihood.
|
int |
getSpoofValue()
Spoof likelihood.
|
Likelihood |
getViolence()
Likelihood that this image contains violent content.
|
int |
getViolenceValue()
Likelihood that this image contains violent content.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
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.v1p2beta1.Likelihood adult = 1;
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.v1p2beta1.Likelihood adult = 1;
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.v1p2beta1.Likelihood spoof = 2;
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.v1p2beta1.Likelihood spoof = 2;
int getMedicalValue()
Likelihood that this is a medical image.
.google.cloud.vision.v1p2beta1.Likelihood medical = 3;
Likelihood getMedical()
Likelihood that this is a medical image.
.google.cloud.vision.v1p2beta1.Likelihood medical = 3;
int getViolenceValue()
Likelihood that this image contains violent content.
.google.cloud.vision.v1p2beta1.Likelihood violence = 4;
Likelihood getViolence()
Likelihood that this image contains violent content.
.google.cloud.vision.v1p2beta1.Likelihood violence = 4;
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.v1p2beta1.Likelihood racy = 9;
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.v1p2beta1.Likelihood racy = 9;
Copyright © 2022 Google LLC. All rights reserved.