• 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 FeatureOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.vision.v1.Feature)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The feature type.
31    * </pre>
32    *
33    * <code>.google.cloud.vision.v1.Feature.Type type = 1;</code>
34    *
35    * @return The enum numeric value on the wire for type.
36    */
getTypeValue()37   int getTypeValue();
38   /**
39    *
40    *
41    * <pre>
42    * The feature type.
43    * </pre>
44    *
45    * <code>.google.cloud.vision.v1.Feature.Type type = 1;</code>
46    *
47    * @return The type.
48    */
getType()49   com.google.cloud.vision.v1.Feature.Type getType();
50 
51   /**
52    *
53    *
54    * <pre>
55    * Maximum number of results of this type. Does not apply to
56    * `TEXT_DETECTION`, `DOCUMENT_TEXT_DETECTION`, or `CROP_HINTS`.
57    * </pre>
58    *
59    * <code>int32 max_results = 2;</code>
60    *
61    * @return The maxResults.
62    */
getMaxResults()63   int getMaxResults();
64 
65   /**
66    *
67    *
68    * <pre>
69    * Model to use for the feature.
70    * Supported values: "builtin/stable" (the default if unset) and
71    * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
72    * support "builtin/weekly" for the bleeding edge release updated weekly.
73    * </pre>
74    *
75    * <code>string model = 3;</code>
76    *
77    * @return The model.
78    */
getModel()79   java.lang.String getModel();
80   /**
81    *
82    *
83    * <pre>
84    * Model to use for the feature.
85    * Supported values: "builtin/stable" (the default if unset) and
86    * "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
87    * support "builtin/weekly" for the bleeding edge release updated weekly.
88    * </pre>
89    *
90    * <code>string model = 3;</code>
91    *
92    * @return The bytes for model.
93    */
getModelBytes()94   com.google.protobuf.ByteString getModelBytes();
95 }
96