All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.clarifai.grpc.api.ImageOrBuilder Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: proto/clarifai/api/resources.proto

package com.clarifai.grpc.api;

public interface ImageOrBuilder extends
    // @@protoc_insertion_point(interface_extends:clarifai.api.Image)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * This is a URL to a publicly accessible image file. The platform will download this file server
   * side and then process.
   * 
* * string url = 1; * @return The url. */ java.lang.String getUrl(); /** *
   * This is a URL to a publicly accessible image file. The platform will download this file server
   * side and then process.
   * 
* * string url = 1; * @return The bytes for url. */ com.google.protobuf.ByteString getUrlBytes(); /** *
   * The base64 field is using image file bytes directly in the request.
   * NOTE: if you're sending a json request, then this MUST be base64 encoded before sending (hence
   * the name here).
   * When using our grpc clients, you DO NOT need to base64 encode
   * it yourself since the clients know how to do this for you automatically and will avoid the
   * base64 encoding if they send a binary request.
   * 
* * bytes base64 = 2; * @return The base64. */ com.google.protobuf.ByteString getBase64(); /** * bool allow_duplicate_url = 4; * @return The allowDuplicateUrl. */ boolean getAllowDuplicateUrl(); /** *
   * The hosted field lists images in different sizes hosted in Clarifai storage.
   * 
* * .clarifai.api.HostedURL hosted = 5; * @return Whether the hosted field is set. */ boolean hasHosted(); /** *
   * The hosted field lists images in different sizes hosted in Clarifai storage.
   * 
* * .clarifai.api.HostedURL hosted = 5; * @return The hosted. */ com.clarifai.grpc.api.HostedURL getHosted(); /** *
   * The hosted field lists images in different sizes hosted in Clarifai storage.
   * 
* * .clarifai.api.HostedURL hosted = 5; */ com.clarifai.grpc.api.HostedURLOrBuilder getHostedOrBuilder(); /** *
   * image info
   * 
* * .clarifai.api.ImageInfo image_info = 6; * @return Whether the imageInfo field is set. */ boolean hasImageInfo(); /** *
   * image info
   * 
* * .clarifai.api.ImageInfo image_info = 6; * @return The imageInfo. */ com.clarifai.grpc.api.ImageInfo getImageInfo(); /** *
   * image info
   * 
* * .clarifai.api.ImageInfo image_info = 6; */ com.clarifai.grpc.api.ImageInfoOrBuilder getImageInfoOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy