• 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/io.proto
18 
19 package com.google.cloud.automl.v1;
20 
21 public interface InputConfigOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1.InputConfig)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The Google Cloud Storage location for the input content.
31    * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
32    * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
33    * </pre>
34    *
35    * <code>.google.cloud.automl.v1.GcsSource gcs_source = 1;</code>
36    *
37    * @return Whether the gcsSource field is set.
38    */
hasGcsSource()39   boolean hasGcsSource();
40   /**
41    *
42    *
43    * <pre>
44    * The Google Cloud Storage location for the input content.
45    * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
46    * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
47    * </pre>
48    *
49    * <code>.google.cloud.automl.v1.GcsSource gcs_source = 1;</code>
50    *
51    * @return The gcsSource.
52    */
getGcsSource()53   com.google.cloud.automl.v1.GcsSource getGcsSource();
54   /**
55    *
56    *
57    * <pre>
58    * The Google Cloud Storage location for the input content.
59    * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
60    * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
61    * </pre>
62    *
63    * <code>.google.cloud.automl.v1.GcsSource gcs_source = 1;</code>
64    */
getGcsSourceOrBuilder()65   com.google.cloud.automl.v1.GcsSourceOrBuilder getGcsSourceOrBuilder();
66 
67   /**
68    *
69    *
70    * <pre>
71    * Additional domain-specific parameters describing the semantic of the
72    * imported data, any string must be up to 25000
73    * characters long.
74    * &lt;h4&gt;AutoML Tables&lt;/h4&gt;
75    * `schema_inference_version`
76    * : (integer) This value must be supplied.
77    *   The version of the
78    *   algorithm to use for the initial inference of the
79    *   column data types of the imported table. Allowed values: "1".
80    * </pre>
81    *
82    * <code>map&lt;string, string&gt; params = 2;</code>
83    */
getParamsCount()84   int getParamsCount();
85   /**
86    *
87    *
88    * <pre>
89    * Additional domain-specific parameters describing the semantic of the
90    * imported data, any string must be up to 25000
91    * characters long.
92    * &lt;h4&gt;AutoML Tables&lt;/h4&gt;
93    * `schema_inference_version`
94    * : (integer) This value must be supplied.
95    *   The version of the
96    *   algorithm to use for the initial inference of the
97    *   column data types of the imported table. Allowed values: "1".
98    * </pre>
99    *
100    * <code>map&lt;string, string&gt; params = 2;</code>
101    */
containsParams(java.lang.String key)102   boolean containsParams(java.lang.String key);
103   /** Use {@link #getParamsMap()} instead. */
104   @java.lang.Deprecated
getParams()105   java.util.Map<java.lang.String, java.lang.String> getParams();
106   /**
107    *
108    *
109    * <pre>
110    * Additional domain-specific parameters describing the semantic of the
111    * imported data, any string must be up to 25000
112    * characters long.
113    * &lt;h4&gt;AutoML Tables&lt;/h4&gt;
114    * `schema_inference_version`
115    * : (integer) This value must be supplied.
116    *   The version of the
117    *   algorithm to use for the initial inference of the
118    *   column data types of the imported table. Allowed values: "1".
119    * </pre>
120    *
121    * <code>map&lt;string, string&gt; params = 2;</code>
122    */
getParamsMap()123   java.util.Map<java.lang.String, java.lang.String> getParamsMap();
124   /**
125    *
126    *
127    * <pre>
128    * Additional domain-specific parameters describing the semantic of the
129    * imported data, any string must be up to 25000
130    * characters long.
131    * &lt;h4&gt;AutoML Tables&lt;/h4&gt;
132    * `schema_inference_version`
133    * : (integer) This value must be supplied.
134    *   The version of the
135    *   algorithm to use for the initial inference of the
136    *   column data types of the imported table. Allowed values: "1".
137    * </pre>
138    *
139    * <code>map&lt;string, string&gt; params = 2;</code>
140    */
141   /* nullable */
getParamsOrDefault( java.lang.String key, java.lang.String defaultValue)142   java.lang.String getParamsOrDefault(
143       java.lang.String key,
144       /* nullable */
145       java.lang.String defaultValue);
146   /**
147    *
148    *
149    * <pre>
150    * Additional domain-specific parameters describing the semantic of the
151    * imported data, any string must be up to 25000
152    * characters long.
153    * &lt;h4&gt;AutoML Tables&lt;/h4&gt;
154    * `schema_inference_version`
155    * : (integer) This value must be supplied.
156    *   The version of the
157    *   algorithm to use for the initial inference of the
158    *   column data types of the imported table. Allowed values: "1".
159    * </pre>
160    *
161    * <code>map&lt;string, string&gt; params = 2;</code>
162    */
getParamsOrThrow(java.lang.String key)163   java.lang.String getParamsOrThrow(java.lang.String key);
164 
getSourceCase()165   public com.google.cloud.automl.v1.InputConfig.SourceCase getSourceCase();
166 }
167