Interface SafeSearchAnnotationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SafeSearchAnnotation, SafeSearchAnnotation.Builder

@Generated public interface SafeSearchAnnotationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Represents the adult content likelihood for the image.
    int
    Represents the adult content likelihood for the image.
    Likelihood that this is a medical image.
    int
    Likelihood that this is a medical image.
    Likelihood that the request image contains racy content.
    int
    Likelihood that the request image contains racy content.
    Spoof likelihood.
    int
    Spoof likelihood.
    Likelihood that this image contains violent content.
    int
    Likelihood that this image contains violent content.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getAdultValue

      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.v1.Likelihood adult = 1;
      Returns:
      The enum numeric value on the wire for adult.
    • getAdult

      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;
      Returns:
      The adult.
    • getSpoofValue

      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;
      Returns:
      The enum numeric value on the wire for spoof.
    • getSpoof

      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;
      Returns:
      The spoof.
    • getMedicalValue

      int getMedicalValue()
       Likelihood that this is a medical image.
       
      .google.cloud.vision.v1.Likelihood medical = 3;
      Returns:
      The enum numeric value on the wire for medical.
    • getMedical

      Likelihood getMedical()
       Likelihood that this is a medical image.
       
      .google.cloud.vision.v1.Likelihood medical = 3;
      Returns:
      The medical.
    • getViolenceValue

      int getViolenceValue()
       Likelihood that this image contains violent content. Violent content may
       include death, serious harm, or injury to individuals or groups of
       individuals.
       
      .google.cloud.vision.v1.Likelihood violence = 4;
      Returns:
      The enum numeric value on the wire for violence.
    • getViolence

      Likelihood getViolence()
       Likelihood that this image contains violent content. Violent content may
       include death, serious harm, or injury to individuals or groups of
       individuals.
       
      .google.cloud.vision.v1.Likelihood violence = 4;
      Returns:
      The violence.
    • getRacyValue

      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;
      Returns:
      The enum numeric value on the wire for racy.
    • getRacy

      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;
      Returns:
      The racy.