public interface SafeSearchAnnotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Likelihood |
getAdult()
Represents the adult content likelihood for the image.
|
float |
getAdultConfidence()
Deprecated.
google.cloud.vision.v1.SafeSearchAnnotation.adult_confidence is deprecated. See
google/cloud/vision/v1/image_annotator.proto;l=582
|
int |
getAdultValue()
Represents the adult content likelihood for the image.
|
Likelihood |
getMedical()
Likelihood that this is a medical image.
|
float |
getMedicalConfidence()
Deprecated.
google.cloud.vision.v1.SafeSearchAnnotation.medical_confidence is deprecated. See
google/cloud/vision/v1/image_annotator.proto;l=590
|
int |
getMedicalValue()
Likelihood that this is a medical image.
|
float |
getNsfwConfidence()
Deprecated.
google.cloud.vision.v1.SafeSearchAnnotation.nsfw_confidence is deprecated. See
google/cloud/vision/v1/image_annotator.proto;l=602
|
Likelihood |
getRacy()
Likelihood that the request image contains racy content.
|
float |
getRacyConfidence()
Deprecated.
google.cloud.vision.v1.SafeSearchAnnotation.racy_confidence is deprecated. See
google/cloud/vision/v1/image_annotator.proto;l=598
|
int |
getRacyValue()
Likelihood that the request image contains racy content.
|
Likelihood |
getSpoof()
Spoof likelihood.
|
float |
getSpoofConfidence()
Deprecated.
google.cloud.vision.v1.SafeSearchAnnotation.spoof_confidence is deprecated. See
google/cloud/vision/v1/image_annotator.proto;l=586
|
int |
getSpoofValue()
Spoof likelihood.
|
Likelihood |
getViolence()
Likelihood that this image contains violent content.
|
float |
getViolenceConfidence()
Deprecated.
google.cloud.vision.v1.SafeSearchAnnotation.violence_confidence is deprecated. See
google/cloud/vision/v1/image_annotator.proto;l=594
|
int |
getViolenceValue()
Likelihood that this image contains violent content.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint 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.v1.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.v1.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.v1.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.v1.Likelihood spoof = 2;int getMedicalValue()
Likelihood that this is a medical image.
.google.cloud.vision.v1.Likelihood medical = 3;Likelihood getMedical()
Likelihood that this is a medical image.
.google.cloud.vision.v1.Likelihood medical = 3;int getViolenceValue()
Likelihood that this image contains violent content.
.google.cloud.vision.v1.Likelihood violence = 4;Likelihood getViolence()
Likelihood that this image contains violent content.
.google.cloud.vision.v1.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.v1.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.v1.Likelihood racy = 9;@Deprecated float getAdultConfidence()
Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means very confident.
float adult_confidence = 16 [deprecated = true];@Deprecated float getSpoofConfidence()
Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means very confident.
float spoof_confidence = 18 [deprecated = true];@Deprecated float getMedicalConfidence()
Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means very confident.
float medical_confidence = 20 [deprecated = true];@Deprecated float getViolenceConfidence()
Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means very confident.
float violence_confidence = 22 [deprecated = true];@Deprecated float getRacyConfidence()
Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very confident.
float racy_confidence = 24 [deprecated = true];@Deprecated float getNsfwConfidence()
Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very confident.
float nsfw_confidence = 26 [deprecated = true];Copyright © 2022 Google LLC. All rights reserved.