com.google.cloud.vision.v1p3beta1.SafeSearchAnnotationOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-vision-v1p3beta1 Show documentation
Show all versions of proto-google-cloud-vision-v1p3beta1 Show documentation
PROTO library for proto-google-cloud-vision-v1p3beta1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/vision/v1p3beta1/image_annotator.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.vision.v1p3beta1;
public interface SafeSearchAnnotationOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.vision.v1p3beta1.SafeSearchAnnotation)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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.v1p3beta1.Likelihood adult = 1;
*
* @return The enum numeric value on the wire for adult.
*/
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.v1p3beta1.Likelihood adult = 1;
*
* @return The adult.
*/
com.google.cloud.vision.v1p3beta1.Likelihood getAdult();
/**
*
*
*
* 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.v1p3beta1.Likelihood spoof = 2;
*
* @return The enum numeric value on the wire for spoof.
*/
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.v1p3beta1.Likelihood spoof = 2;
*
* @return The spoof.
*/
com.google.cloud.vision.v1p3beta1.Likelihood getSpoof();
/**
*
*
*
* Likelihood that this is a medical image.
*
*
* .google.cloud.vision.v1p3beta1.Likelihood medical = 3;
*
* @return The enum numeric value on the wire for medical.
*/
int getMedicalValue();
/**
*
*
*
* Likelihood that this is a medical image.
*
*
* .google.cloud.vision.v1p3beta1.Likelihood medical = 3;
*
* @return The medical.
*/
com.google.cloud.vision.v1p3beta1.Likelihood getMedical();
/**
*
*
*
* Likelihood that this image contains violent content.
*
*
* .google.cloud.vision.v1p3beta1.Likelihood violence = 4;
*
* @return The enum numeric value on the wire for violence.
*/
int getViolenceValue();
/**
*
*
*
* Likelihood that this image contains violent content.
*
*
* .google.cloud.vision.v1p3beta1.Likelihood violence = 4;
*
* @return The violence.
*/
com.google.cloud.vision.v1p3beta1.Likelihood getViolence();
/**
*
*
*
* 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.v1p3beta1.Likelihood racy = 9;
*
* @return The enum numeric value on the wire for racy.
*/
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.v1p3beta1.Likelihood racy = 9;
*
* @return The racy.
*/
com.google.cloud.vision.v1p3beta1.Likelihood getRacy();
}