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

com.google.cloud.vision.v1.ImageOrBuilder Maven / Gradle / Ivy

There is a newer version: 3.47.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/vision/v1/image_annotator.proto

package com.google.cloud.vision.v1;

public interface ImageOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.cloud.vision.v1.Image)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Image content, represented as a stream of bytes.
   * Note: As with all `bytes` fields, protobuffers use a pure binary
   * representation, whereas JSON representations use base64.
   * 
* * bytes content = 1; */ com.google.protobuf.ByteString getContent(); /** *
   * Google Cloud Storage image location, or publicly-accessible image
   * URL. If both `content` and `source` are provided for an image, `content`
   * takes precedence and is used to perform the image annotation request.
   * 
* * .google.cloud.vision.v1.ImageSource source = 2; */ boolean hasSource(); /** *
   * Google Cloud Storage image location, or publicly-accessible image
   * URL. If both `content` and `source` are provided for an image, `content`
   * takes precedence and is used to perform the image annotation request.
   * 
* * .google.cloud.vision.v1.ImageSource source = 2; */ com.google.cloud.vision.v1.ImageSource getSource(); /** *
   * Google Cloud Storage image location, or publicly-accessible image
   * URL. If both `content` and `source` are provided for an image, `content`
   * takes precedence and is used to perform the image annotation request.
   * 
* * .google.cloud.vision.v1.ImageSource source = 2; */ com.google.cloud.vision.v1.ImageSourceOrBuilder getSourceOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy