• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/vision/v1/image_annotator.proto
18 
19 package com.google.cloud.vision.v1;
20 
21 public interface GcsDestinationOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.vision.v1.GcsDestination)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Google Cloud Storage URI prefix where the results will be stored. Results
31    * will be in JSON format and preceded by its corresponding input URI prefix.
32    * This field can either represent a gcs file prefix or gcs directory. In
33    * either case, the uri should be unique because in order to get all of the
34    * output files, you will need to do a wildcard gcs search on the uri prefix
35    * you provide.
36    * Examples:
37    * *    File Prefix: gs://bucket-name/here/filenameprefix   The output files
38    * will be created in gs://bucket-name/here/ and the names of the
39    * output files will begin with "filenameprefix".
40    * *    Directory Prefix: gs://bucket-name/some/location/   The output files
41    * will be created in gs://bucket-name/some/location/ and the names of the
42    * output files could be anything because there was no filename prefix
43    * specified.
44    * If multiple outputs, each response is still AnnotateFileResponse, each of
45    * which contains some subset of the full list of AnnotateImageResponse.
46    * Multiple outputs can happen if, for example, the output JSON is too large
47    * and overflows into multiple sharded files.
48    * </pre>
49    *
50    * <code>string uri = 1;</code>
51    *
52    * @return The uri.
53    */
getUri()54   java.lang.String getUri();
55   /**
56    *
57    *
58    * <pre>
59    * Google Cloud Storage URI prefix where the results will be stored. Results
60    * will be in JSON format and preceded by its corresponding input URI prefix.
61    * This field can either represent a gcs file prefix or gcs directory. In
62    * either case, the uri should be unique because in order to get all of the
63    * output files, you will need to do a wildcard gcs search on the uri prefix
64    * you provide.
65    * Examples:
66    * *    File Prefix: gs://bucket-name/here/filenameprefix   The output files
67    * will be created in gs://bucket-name/here/ and the names of the
68    * output files will begin with "filenameprefix".
69    * *    Directory Prefix: gs://bucket-name/some/location/   The output files
70    * will be created in gs://bucket-name/some/location/ and the names of the
71    * output files could be anything because there was no filename prefix
72    * specified.
73    * If multiple outputs, each response is still AnnotateFileResponse, each of
74    * which contains some subset of the full list of AnnotateImageResponse.
75    * Multiple outputs can happen if, for example, the output JSON is too large
76    * and overflows into multiple sharded files.
77    * </pre>
78    *
79    * <code>string uri = 1;</code>
80    *
81    * @return The bytes for uri.
82    */
getUriBytes()83   com.google.protobuf.ByteString getUriBytes();
84 }
85