• 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/automl/v1/data_items.proto
18 
19 package com.google.cloud.automl.v1;
20 
21 public interface ExamplePayloadOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1.ExamplePayload)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Example image.
31    * </pre>
32    *
33    * <code>.google.cloud.automl.v1.Image image = 1;</code>
34    *
35    * @return Whether the image field is set.
36    */
hasImage()37   boolean hasImage();
38   /**
39    *
40    *
41    * <pre>
42    * Example image.
43    * </pre>
44    *
45    * <code>.google.cloud.automl.v1.Image image = 1;</code>
46    *
47    * @return The image.
48    */
getImage()49   com.google.cloud.automl.v1.Image getImage();
50   /**
51    *
52    *
53    * <pre>
54    * Example image.
55    * </pre>
56    *
57    * <code>.google.cloud.automl.v1.Image image = 1;</code>
58    */
getImageOrBuilder()59   com.google.cloud.automl.v1.ImageOrBuilder getImageOrBuilder();
60 
61   /**
62    *
63    *
64    * <pre>
65    * Example text.
66    * </pre>
67    *
68    * <code>.google.cloud.automl.v1.TextSnippet text_snippet = 2;</code>
69    *
70    * @return Whether the textSnippet field is set.
71    */
hasTextSnippet()72   boolean hasTextSnippet();
73   /**
74    *
75    *
76    * <pre>
77    * Example text.
78    * </pre>
79    *
80    * <code>.google.cloud.automl.v1.TextSnippet text_snippet = 2;</code>
81    *
82    * @return The textSnippet.
83    */
getTextSnippet()84   com.google.cloud.automl.v1.TextSnippet getTextSnippet();
85   /**
86    *
87    *
88    * <pre>
89    * Example text.
90    * </pre>
91    *
92    * <code>.google.cloud.automl.v1.TextSnippet text_snippet = 2;</code>
93    */
getTextSnippetOrBuilder()94   com.google.cloud.automl.v1.TextSnippetOrBuilder getTextSnippetOrBuilder();
95 
96   /**
97    *
98    *
99    * <pre>
100    * Example document.
101    * </pre>
102    *
103    * <code>.google.cloud.automl.v1.Document document = 4;</code>
104    *
105    * @return Whether the document field is set.
106    */
hasDocument()107   boolean hasDocument();
108   /**
109    *
110    *
111    * <pre>
112    * Example document.
113    * </pre>
114    *
115    * <code>.google.cloud.automl.v1.Document document = 4;</code>
116    *
117    * @return The document.
118    */
getDocument()119   com.google.cloud.automl.v1.Document getDocument();
120   /**
121    *
122    *
123    * <pre>
124    * Example document.
125    * </pre>
126    *
127    * <code>.google.cloud.automl.v1.Document document = 4;</code>
128    */
getDocumentOrBuilder()129   com.google.cloud.automl.v1.DocumentOrBuilder getDocumentOrBuilder();
130 
getPayloadCase()131   public com.google.cloud.automl.v1.ExamplePayload.PayloadCase getPayloadCase();
132 }
133