1// Copyright 2020 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Code generated by protoc-gen-go. DO NOT EDIT.
16// versions:
17// 	protoc-gen-go v1.25.0
18// 	protoc        v3.13.0
19// source: google/cloud/automl/v1/prediction_service.proto
20
21package automl
22
23import (
24	context "context"
25	reflect "reflect"
26	sync "sync"
27
28	proto "github.com/golang/protobuf/proto"
29	_ "google.golang.org/genproto/googleapis/api/annotations"
30	longrunning "google.golang.org/genproto/googleapis/longrunning"
31	grpc "google.golang.org/grpc"
32	codes "google.golang.org/grpc/codes"
33	status "google.golang.org/grpc/status"
34	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
35	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
36)
37
38const (
39	// Verify that this generated code is sufficiently up-to-date.
40	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
41	// Verify that runtime/protoimpl is sufficiently up-to-date.
42	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
43)
44
45// This is a compile-time assertion that a sufficiently up-to-date version
46// of the legacy proto package is being used.
47const _ = proto.ProtoPackageIsVersion4
48
49// Request message for [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict].
50type PredictRequest struct {
51	state         protoimpl.MessageState
52	sizeCache     protoimpl.SizeCache
53	unknownFields protoimpl.UnknownFields
54
55	// Required. Name of the model requested to serve the prediction.
56	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
57	// Required. Payload to perform a prediction on. The payload must match the
58	// problem type that the model was trained to solve.
59	Payload *ExamplePayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
60	// Additional domain-specific parameters, any string must be up to 25000
61	// characters long.
62	//
63	// AutoML Vision Classification
64	//
65	// `score_threshold`
66	// : (float) A value from 0.0 to 1.0. When the model
67	//   makes predictions for an image, it will only produce results that have
68	//   at least this confidence score. The default is 0.5.
69	//
70	// AutoML Vision Object Detection
71	//
72	// `score_threshold`
73	// : (float) When Model detects objects on the image,
74	//   it will only produce bounding boxes which have at least this
75	//   confidence score. Value in 0 to 1 range, default is 0.5.
76	//
77	// `max_bounding_box_count`
78	// : (int64) The maximum number of bounding
79	//   boxes returned. The default is 100. The
80	//   number of returned bounding boxes might be limited by the server.
81	//
82	// AutoML Tables
83	//
84	// `feature_importance`
85	// : (boolean) Whether
86	//
87	// [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
88	//   is populated in the returned list of
89	//   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
90	//   objects. The default is false.
91	Params map[string]string `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
92}
93
94func (x *PredictRequest) Reset() {
95	*x = PredictRequest{}
96	if protoimpl.UnsafeEnabled {
97		mi := &file_google_cloud_automl_v1_prediction_service_proto_msgTypes[0]
98		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
99		ms.StoreMessageInfo(mi)
100	}
101}
102
103func (x *PredictRequest) String() string {
104	return protoimpl.X.MessageStringOf(x)
105}
106
107func (*PredictRequest) ProtoMessage() {}
108
109func (x *PredictRequest) ProtoReflect() protoreflect.Message {
110	mi := &file_google_cloud_automl_v1_prediction_service_proto_msgTypes[0]
111	if protoimpl.UnsafeEnabled && x != nil {
112		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
113		if ms.LoadMessageInfo() == nil {
114			ms.StoreMessageInfo(mi)
115		}
116		return ms
117	}
118	return mi.MessageOf(x)
119}
120
121// Deprecated: Use PredictRequest.ProtoReflect.Descriptor instead.
122func (*PredictRequest) Descriptor() ([]byte, []int) {
123	return file_google_cloud_automl_v1_prediction_service_proto_rawDescGZIP(), []int{0}
124}
125
126func (x *PredictRequest) GetName() string {
127	if x != nil {
128		return x.Name
129	}
130	return ""
131}
132
133func (x *PredictRequest) GetPayload() *ExamplePayload {
134	if x != nil {
135		return x.Payload
136	}
137	return nil
138}
139
140func (x *PredictRequest) GetParams() map[string]string {
141	if x != nil {
142		return x.Params
143	}
144	return nil
145}
146
147// Response message for [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict].
148type PredictResponse struct {
149	state         protoimpl.MessageState
150	sizeCache     protoimpl.SizeCache
151	unknownFields protoimpl.UnknownFields
152
153	// Prediction result.
154	// AutoML Translation and AutoML Natural Language Sentiment Analysis
155	// return precisely one payload.
156	Payload []*AnnotationPayload `protobuf:"bytes,1,rep,name=payload,proto3" json:"payload,omitempty"`
157	// The preprocessed example that AutoML actually makes prediction on.
158	// Empty if AutoML does not preprocess the input example.
159	//
160	// For AutoML Natural Language (Classification, Entity Extraction, and
161	// Sentiment Analysis), if the input is a document, the recognized text is
162	// returned in the
163	// [document_text][google.cloud.automl.v1.Document.document_text]
164	// property.
165	PreprocessedInput *ExamplePayload `protobuf:"bytes,3,opt,name=preprocessed_input,json=preprocessedInput,proto3" json:"preprocessed_input,omitempty"`
166	// Additional domain-specific prediction response metadata.
167	//
168	// AutoML Vision Object Detection
169	//
170	// `max_bounding_box_count`
171	// : (int64) The maximum number of bounding boxes to return per image.
172	//
173	// AutoML Natural Language Sentiment Analysis
174	//
175	// `sentiment_score`
176	// : (float, deprecated) A value between -1 and 1,
177	//   -1 maps to least positive sentiment, while 1 maps to the most positive
178	//   one and the higher the score, the more positive the sentiment in the
179	//   document is. Yet these values are relative to the training data, so
180	//   e.g. if all data was positive then -1 is also positive (though
181	//   the least).
182	//   `sentiment_score` is not the same as "score" and "magnitude"
183	//   from Sentiment Analysis in the Natural Language API.
184	Metadata map[string]string `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
185}
186
187func (x *PredictResponse) Reset() {
188	*x = PredictResponse{}
189	if protoimpl.UnsafeEnabled {
190		mi := &file_google_cloud_automl_v1_prediction_service_proto_msgTypes[1]
191		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
192		ms.StoreMessageInfo(mi)
193	}
194}
195
196func (x *PredictResponse) String() string {
197	return protoimpl.X.MessageStringOf(x)
198}
199
200func (*PredictResponse) ProtoMessage() {}
201
202func (x *PredictResponse) ProtoReflect() protoreflect.Message {
203	mi := &file_google_cloud_automl_v1_prediction_service_proto_msgTypes[1]
204	if protoimpl.UnsafeEnabled && x != nil {
205		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
206		if ms.LoadMessageInfo() == nil {
207			ms.StoreMessageInfo(mi)
208		}
209		return ms
210	}
211	return mi.MessageOf(x)
212}
213
214// Deprecated: Use PredictResponse.ProtoReflect.Descriptor instead.
215func (*PredictResponse) Descriptor() ([]byte, []int) {
216	return file_google_cloud_automl_v1_prediction_service_proto_rawDescGZIP(), []int{1}
217}
218
219func (x *PredictResponse) GetPayload() []*AnnotationPayload {
220	if x != nil {
221		return x.Payload
222	}
223	return nil
224}
225
226func (x *PredictResponse) GetPreprocessedInput() *ExamplePayload {
227	if x != nil {
228		return x.PreprocessedInput
229	}
230	return nil
231}
232
233func (x *PredictResponse) GetMetadata() map[string]string {
234	if x != nil {
235		return x.Metadata
236	}
237	return nil
238}
239
240// Request message for [PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict].
241type BatchPredictRequest struct {
242	state         protoimpl.MessageState
243	sizeCache     protoimpl.SizeCache
244	unknownFields protoimpl.UnknownFields
245
246	// Required. Name of the model requested to serve the batch prediction.
247	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
248	// Required. The input configuration for batch prediction.
249	InputConfig *BatchPredictInputConfig `protobuf:"bytes,3,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
250	// Required. The Configuration specifying where output predictions should
251	// be written.
252	OutputConfig *BatchPredictOutputConfig `protobuf:"bytes,4,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
253	// Additional domain-specific parameters for the predictions, any string must
254	// be up to 25000 characters long.
255	//
256	// AutoML Natural Language Classification
257	//
258	// `score_threshold`
259	// : (float) A value from 0.0 to 1.0. When the model
260	//   makes predictions for a text snippet, it will only produce results
261	//   that have at least this confidence score. The default is 0.5.
262	//
263	//
264	// AutoML Vision Classification
265	//
266	// `score_threshold`
267	// : (float) A value from 0.0 to 1.0. When the model
268	//   makes predictions for an image, it will only produce results that
269	//   have at least this confidence score. The default is 0.5.
270	//
271	// AutoML Vision Object Detection
272	//
273	// `score_threshold`
274	// : (float) When Model detects objects on the image,
275	//   it will only produce bounding boxes which have at least this
276	//   confidence score. Value in 0 to 1 range, default is 0.5.
277	//
278	// `max_bounding_box_count`
279	// : (int64) The maximum number of bounding
280	//   boxes returned per image. The default is 100, the
281	//   number of bounding boxes returned might be limited by the server.
282	// AutoML Video Intelligence Classification
283	//
284	// `score_threshold`
285	// : (float) A value from 0.0 to 1.0. When the model
286	//   makes predictions for a video, it will only produce results that
287	//   have at least this confidence score. The default is 0.5.
288	//
289	// `segment_classification`
290	// : (boolean) Set to true to request
291	//   segment-level classification. AutoML Video Intelligence returns
292	//   labels and their confidence scores for the entire segment of the
293	//   video that user specified in the request configuration.
294	//   The default is true.
295	//
296	// `shot_classification`
297	// : (boolean) Set to true to request shot-level
298	//   classification. AutoML Video Intelligence determines the boundaries
299	//   for each camera shot in the entire segment of the video that user
300	//   specified in the request configuration. AutoML Video Intelligence
301	//   then returns labels and their confidence scores for each detected
302	//   shot, along with the start and end time of the shot.
303	//   The default is false.
304	//
305	//   WARNING: Model evaluation is not done for this classification type,
306	//   the quality of it depends on training data, but there are no metrics
307	//   provided to describe that quality.
308	//
309	// `1s_interval_classification`
310	// : (boolean) Set to true to request
311	//   classification for a video at one-second intervals. AutoML Video
312	//   Intelligence returns labels and their confidence scores for each
313	//   second of the entire segment of the video that user specified in the
314	//   request configuration. The default is false.
315	//
316	//   WARNING: Model evaluation is not done for this classification
317	//   type, the quality of it depends on training data, but there are no
318	//   metrics provided to describe that quality.
319	//
320	// AutoML Video Intelligence Object Tracking
321	//
322	// `score_threshold`
323	// : (float) When Model detects objects on video frames,
324	//   it will only produce bounding boxes which have at least this
325	//   confidence score. Value in 0 to 1 range, default is 0.5.
326	//
327	// `max_bounding_box_count`
328	// : (int64) The maximum number of bounding
329	//   boxes returned per image. The default is 100, the
330	//   number of bounding boxes returned might be limited by the server.
331	//
332	// `min_bounding_box_size`
333	// : (float) Only bounding boxes with shortest edge
334	//   at least that long as a relative value of video frame size are
335	//   returned. Value in 0 to 1 range. Default is 0.
336	//
337	Params map[string]string `protobuf:"bytes,5,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
338}
339
340func (x *BatchPredictRequest) Reset() {
341	*x = BatchPredictRequest{}
342	if protoimpl.UnsafeEnabled {
343		mi := &file_google_cloud_automl_v1_prediction_service_proto_msgTypes[2]
344		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
345		ms.StoreMessageInfo(mi)
346	}
347}
348
349func (x *BatchPredictRequest) String() string {
350	return protoimpl.X.MessageStringOf(x)
351}
352
353func (*BatchPredictRequest) ProtoMessage() {}
354
355func (x *BatchPredictRequest) ProtoReflect() protoreflect.Message {
356	mi := &file_google_cloud_automl_v1_prediction_service_proto_msgTypes[2]
357	if protoimpl.UnsafeEnabled && x != nil {
358		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
359		if ms.LoadMessageInfo() == nil {
360			ms.StoreMessageInfo(mi)
361		}
362		return ms
363	}
364	return mi.MessageOf(x)
365}
366
367// Deprecated: Use BatchPredictRequest.ProtoReflect.Descriptor instead.
368func (*BatchPredictRequest) Descriptor() ([]byte, []int) {
369	return file_google_cloud_automl_v1_prediction_service_proto_rawDescGZIP(), []int{2}
370}
371
372func (x *BatchPredictRequest) GetName() string {
373	if x != nil {
374		return x.Name
375	}
376	return ""
377}
378
379func (x *BatchPredictRequest) GetInputConfig() *BatchPredictInputConfig {
380	if x != nil {
381		return x.InputConfig
382	}
383	return nil
384}
385
386func (x *BatchPredictRequest) GetOutputConfig() *BatchPredictOutputConfig {
387	if x != nil {
388		return x.OutputConfig
389	}
390	return nil
391}
392
393func (x *BatchPredictRequest) GetParams() map[string]string {
394	if x != nil {
395		return x.Params
396	}
397	return nil
398}
399
400// Result of the Batch Predict. This message is returned in
401// [response][google.longrunning.Operation.response] of the operation returned
402// by the [PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict].
403type BatchPredictResult struct {
404	state         protoimpl.MessageState
405	sizeCache     protoimpl.SizeCache
406	unknownFields protoimpl.UnknownFields
407
408	// Additional domain-specific prediction response metadata.
409	//
410	// AutoML Vision Object Detection
411	//
412	// `max_bounding_box_count`
413	// : (int64) The maximum number of bounding boxes returned per image.
414	//
415	// AutoML Video Intelligence Object Tracking
416	//
417	// `max_bounding_box_count`
418	// : (int64) The maximum number of bounding boxes returned per frame.
419	Metadata map[string]string `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
420}
421
422func (x *BatchPredictResult) Reset() {
423	*x = BatchPredictResult{}
424	if protoimpl.UnsafeEnabled {
425		mi := &file_google_cloud_automl_v1_prediction_service_proto_msgTypes[3]
426		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
427		ms.StoreMessageInfo(mi)
428	}
429}
430
431func (x *BatchPredictResult) String() string {
432	return protoimpl.X.MessageStringOf(x)
433}
434
435func (*BatchPredictResult) ProtoMessage() {}
436
437func (x *BatchPredictResult) ProtoReflect() protoreflect.Message {
438	mi := &file_google_cloud_automl_v1_prediction_service_proto_msgTypes[3]
439	if protoimpl.UnsafeEnabled && x != nil {
440		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
441		if ms.LoadMessageInfo() == nil {
442			ms.StoreMessageInfo(mi)
443		}
444		return ms
445	}
446	return mi.MessageOf(x)
447}
448
449// Deprecated: Use BatchPredictResult.ProtoReflect.Descriptor instead.
450func (*BatchPredictResult) Descriptor() ([]byte, []int) {
451	return file_google_cloud_automl_v1_prediction_service_proto_rawDescGZIP(), []int{3}
452}
453
454func (x *BatchPredictResult) GetMetadata() map[string]string {
455	if x != nil {
456		return x.Metadata
457	}
458	return nil
459}
460
461var File_google_cloud_automl_v1_prediction_service_proto protoreflect.FileDescriptor
462
463var file_google_cloud_automl_v1_prediction_service_proto_rawDesc = []byte{
464	0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
465	0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
466	0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
467	0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
468	0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
469	0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
470	0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
471	0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
472	0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65,
473	0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
474	0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65,
475	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x67, 0x6f,
476	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d,
477	0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
478	0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x67,
479	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f,
480	0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73,
481	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63,
482	0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x69,
483	0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
484	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f,
485	0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
486	0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e,
487	0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
488	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x02, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63,
489	0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
490	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1d, 0x0a, 0x1b,
491	0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
492	0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d,
493	0x65, 0x12, 0x45, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01,
494	0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
495	0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x61, 0x6d,
496	0x70, 0x6c, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
497	0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x4a, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61,
498	0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
499	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76,
500	0x31, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
501	0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61,
502	0x72, 0x61, 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e,
503	0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
504	0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
505	0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
506	0xbd, 0x02, 0x0a, 0x0f, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
507	0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01,
508	0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
509	0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e,
510	0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52,
511	0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x55, 0x0a, 0x12, 0x70, 0x72, 0x65, 0x70,
512	0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x03,
513	0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
514	0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78,
515	0x61, 0x6d, 0x70, 0x6c, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x11, 0x70, 0x72,
516	0x65, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12,
517	0x51, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28,
518	0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
519	0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69,
520	0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64,
521	0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
522	0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e,
523	0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
524	0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
525	0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
526	0x8f, 0x03, 0x0a, 0x13, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
527	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
528	0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x61,
529	0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
530	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
531	0x12, 0x57, 0x0a, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
532	0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
533	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e,
534	0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75,
535	0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x69, 0x6e,
536	0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5a, 0x0a, 0x0d, 0x6f, 0x75, 0x74,
537	0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
538	0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
539	0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50,
540	0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66,
541	0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43,
542	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18,
543	0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
544	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x42,
545	0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
546	0x73, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06,
547	0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
548	0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
549	0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
550	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
551	0x01, 0x22, 0xa7, 0x01, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x65, 0x64, 0x69,
552	0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x54, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61,
553	0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f,
554	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c,
555	0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
556	0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45,
557	0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x3b,
558	0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
559	0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
560	0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
561	0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0x85, 0x04, 0x0a, 0x11,
562	0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
563	0x65, 0x12, 0xaf, 0x01, 0x0a, 0x07, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x12, 0x26, 0x2e,
564	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74,
565	0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x52, 0x65,
566	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
567	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50,
568	0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x53,
569	0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, 0x32, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
570	0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63,
571	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f,
572	0x2a, 0x7d, 0x3a, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x13,
573	0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2c, 0x70, 0x61, 0x72,
574	0x61, 0x6d, 0x73, 0x12, 0xf2, 0x01, 0x0a, 0x0c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x65,
575	0x64, 0x69, 0x63, 0x74, 0x12, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
576	0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61,
577	0x74, 0x63, 0x68, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
578	0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72,
579	0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
580	0x22, 0x95, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x22, 0x37, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
581	0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
582	0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65,
583	0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x65, 0x64, 0x69,
584	0x63, 0x74, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x26, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x69, 0x6e, 0x70,
585	0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74,
586	0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2c, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0xca, 0x41,
587	0x27, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x52,
588	0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
589	0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x49, 0xca, 0x41, 0x15, 0x61, 0x75, 0x74,
590	0x6f, 0x6d, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
591	0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77,
592	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
593	0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66,
594	0x6f, 0x72, 0x6d, 0x42, 0xc2, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
595	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e,
596	0x76, 0x31, 0x42, 0x16, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65,
597	0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x6f,
598	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
599	0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
600	0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c,
601	0x2f, 0x76, 0x31, 0x3b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0xaa, 0x02, 0x16, 0x47, 0x6f, 0x6f,
602	0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c,
603	0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
604	0x75, 0x64, 0x5c, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x19, 0x47,
605	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x75,
606	0x74, 0x6f, 0x4d, 0x4c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
607}
608
609var (
610	file_google_cloud_automl_v1_prediction_service_proto_rawDescOnce sync.Once
611	file_google_cloud_automl_v1_prediction_service_proto_rawDescData = file_google_cloud_automl_v1_prediction_service_proto_rawDesc
612)
613
614func file_google_cloud_automl_v1_prediction_service_proto_rawDescGZIP() []byte {
615	file_google_cloud_automl_v1_prediction_service_proto_rawDescOnce.Do(func() {
616		file_google_cloud_automl_v1_prediction_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1_prediction_service_proto_rawDescData)
617	})
618	return file_google_cloud_automl_v1_prediction_service_proto_rawDescData
619}
620
621var file_google_cloud_automl_v1_prediction_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
622var file_google_cloud_automl_v1_prediction_service_proto_goTypes = []interface{}{
623	(*PredictRequest)(nil),           // 0: google.cloud.automl.v1.PredictRequest
624	(*PredictResponse)(nil),          // 1: google.cloud.automl.v1.PredictResponse
625	(*BatchPredictRequest)(nil),      // 2: google.cloud.automl.v1.BatchPredictRequest
626	(*BatchPredictResult)(nil),       // 3: google.cloud.automl.v1.BatchPredictResult
627	nil,                              // 4: google.cloud.automl.v1.PredictRequest.ParamsEntry
628	nil,                              // 5: google.cloud.automl.v1.PredictResponse.MetadataEntry
629	nil,                              // 6: google.cloud.automl.v1.BatchPredictRequest.ParamsEntry
630	nil,                              // 7: google.cloud.automl.v1.BatchPredictResult.MetadataEntry
631	(*ExamplePayload)(nil),           // 8: google.cloud.automl.v1.ExamplePayload
632	(*AnnotationPayload)(nil),        // 9: google.cloud.automl.v1.AnnotationPayload
633	(*BatchPredictInputConfig)(nil),  // 10: google.cloud.automl.v1.BatchPredictInputConfig
634	(*BatchPredictOutputConfig)(nil), // 11: google.cloud.automl.v1.BatchPredictOutputConfig
635	(*longrunning.Operation)(nil),    // 12: google.longrunning.Operation
636}
637var file_google_cloud_automl_v1_prediction_service_proto_depIdxs = []int32{
638	8,  // 0: google.cloud.automl.v1.PredictRequest.payload:type_name -> google.cloud.automl.v1.ExamplePayload
639	4,  // 1: google.cloud.automl.v1.PredictRequest.params:type_name -> google.cloud.automl.v1.PredictRequest.ParamsEntry
640	9,  // 2: google.cloud.automl.v1.PredictResponse.payload:type_name -> google.cloud.automl.v1.AnnotationPayload
641	8,  // 3: google.cloud.automl.v1.PredictResponse.preprocessed_input:type_name -> google.cloud.automl.v1.ExamplePayload
642	5,  // 4: google.cloud.automl.v1.PredictResponse.metadata:type_name -> google.cloud.automl.v1.PredictResponse.MetadataEntry
643	10, // 5: google.cloud.automl.v1.BatchPredictRequest.input_config:type_name -> google.cloud.automl.v1.BatchPredictInputConfig
644	11, // 6: google.cloud.automl.v1.BatchPredictRequest.output_config:type_name -> google.cloud.automl.v1.BatchPredictOutputConfig
645	6,  // 7: google.cloud.automl.v1.BatchPredictRequest.params:type_name -> google.cloud.automl.v1.BatchPredictRequest.ParamsEntry
646	7,  // 8: google.cloud.automl.v1.BatchPredictResult.metadata:type_name -> google.cloud.automl.v1.BatchPredictResult.MetadataEntry
647	0,  // 9: google.cloud.automl.v1.PredictionService.Predict:input_type -> google.cloud.automl.v1.PredictRequest
648	2,  // 10: google.cloud.automl.v1.PredictionService.BatchPredict:input_type -> google.cloud.automl.v1.BatchPredictRequest
649	1,  // 11: google.cloud.automl.v1.PredictionService.Predict:output_type -> google.cloud.automl.v1.PredictResponse
650	12, // 12: google.cloud.automl.v1.PredictionService.BatchPredict:output_type -> google.longrunning.Operation
651	11, // [11:13] is the sub-list for method output_type
652	9,  // [9:11] is the sub-list for method input_type
653	9,  // [9:9] is the sub-list for extension type_name
654	9,  // [9:9] is the sub-list for extension extendee
655	0,  // [0:9] is the sub-list for field type_name
656}
657
658func init() { file_google_cloud_automl_v1_prediction_service_proto_init() }
659func file_google_cloud_automl_v1_prediction_service_proto_init() {
660	if File_google_cloud_automl_v1_prediction_service_proto != nil {
661		return
662	}
663	file_google_cloud_automl_v1_annotation_payload_proto_init()
664	file_google_cloud_automl_v1_data_items_proto_init()
665	file_google_cloud_automl_v1_io_proto_init()
666	file_google_cloud_automl_v1_operations_proto_init()
667	if !protoimpl.UnsafeEnabled {
668		file_google_cloud_automl_v1_prediction_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
669			switch v := v.(*PredictRequest); i {
670			case 0:
671				return &v.state
672			case 1:
673				return &v.sizeCache
674			case 2:
675				return &v.unknownFields
676			default:
677				return nil
678			}
679		}
680		file_google_cloud_automl_v1_prediction_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
681			switch v := v.(*PredictResponse); i {
682			case 0:
683				return &v.state
684			case 1:
685				return &v.sizeCache
686			case 2:
687				return &v.unknownFields
688			default:
689				return nil
690			}
691		}
692		file_google_cloud_automl_v1_prediction_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
693			switch v := v.(*BatchPredictRequest); i {
694			case 0:
695				return &v.state
696			case 1:
697				return &v.sizeCache
698			case 2:
699				return &v.unknownFields
700			default:
701				return nil
702			}
703		}
704		file_google_cloud_automl_v1_prediction_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
705			switch v := v.(*BatchPredictResult); i {
706			case 0:
707				return &v.state
708			case 1:
709				return &v.sizeCache
710			case 2:
711				return &v.unknownFields
712			default:
713				return nil
714			}
715		}
716	}
717	type x struct{}
718	out := protoimpl.TypeBuilder{
719		File: protoimpl.DescBuilder{
720			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
721			RawDescriptor: file_google_cloud_automl_v1_prediction_service_proto_rawDesc,
722			NumEnums:      0,
723			NumMessages:   8,
724			NumExtensions: 0,
725			NumServices:   1,
726		},
727		GoTypes:           file_google_cloud_automl_v1_prediction_service_proto_goTypes,
728		DependencyIndexes: file_google_cloud_automl_v1_prediction_service_proto_depIdxs,
729		MessageInfos:      file_google_cloud_automl_v1_prediction_service_proto_msgTypes,
730	}.Build()
731	File_google_cloud_automl_v1_prediction_service_proto = out.File
732	file_google_cloud_automl_v1_prediction_service_proto_rawDesc = nil
733	file_google_cloud_automl_v1_prediction_service_proto_goTypes = nil
734	file_google_cloud_automl_v1_prediction_service_proto_depIdxs = nil
735}
736
737// Reference imports to suppress errors if they are not otherwise used.
738var _ context.Context
739var _ grpc.ClientConnInterface
740
741// This is a compile-time assertion to ensure that this generated file
742// is compatible with the grpc package it is being compiled against.
743const _ = grpc.SupportPackageIsVersion6
744
745// PredictionServiceClient is the client API for PredictionService service.
746//
747// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
748type PredictionServiceClient interface {
749	// Perform an online prediction. The prediction result is directly
750	// returned in the response.
751	// Available for following ML scenarios, and their expected request payloads:
752	//
753	// AutoML Vision Classification
754	//
755	// * An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
756	//
757	// AutoML Vision Object Detection
758	//
759	// * An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
760	//
761	// AutoML Natural Language Classification
762	//
763	// * A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
764	// .PDF, .TIF or .TIFF format with size upto 2MB.
765	//
766	// AutoML Natural Language Entity Extraction
767	//
768	// * A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document
769	//  in .PDF, .TIF or .TIFF format with size upto 20MB.
770	//
771	// AutoML Natural Language Sentiment Analysis
772	//
773	// * A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
774	// .PDF, .TIF or .TIFF format with size upto 2MB.
775	//
776	// AutoML Translation
777	//
778	// * A TextSnippet up to 25,000 characters, UTF-8 encoded.
779	//
780	// AutoML Tables
781	//
782	// * A row with column values matching
783	//   the columns of the model, up to 5MB. Not available for FORECASTING
784	//   `prediction_type`.
785	Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*PredictResponse, error)
786	// Perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1.PredictionService.Predict], batch
787	// prediction result won't be immediately available in the response. Instead,
788	// a long running operation object is returned. User can poll the operation
789	// result via [GetOperation][google.longrunning.Operations.GetOperation]
790	// method. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned in
791	// the [response][google.longrunning.Operation.response] field.
792	// Available for following ML scenarios:
793	//
794	// * AutoML Vision Classification
795	// * AutoML Vision Object Detection
796	// * AutoML Video Intelligence Classification
797	// * AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification
798	// * AutoML Natural Language Entity Extraction
799	// * AutoML Natural Language Sentiment Analysis
800	// * AutoML Tables
801	BatchPredict(ctx context.Context, in *BatchPredictRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
802}
803
804type predictionServiceClient struct {
805	cc grpc.ClientConnInterface
806}
807
808func NewPredictionServiceClient(cc grpc.ClientConnInterface) PredictionServiceClient {
809	return &predictionServiceClient{cc}
810}
811
812func (c *predictionServiceClient) Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*PredictResponse, error) {
813	out := new(PredictResponse)
814	err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.PredictionService/Predict", in, out, opts...)
815	if err != nil {
816		return nil, err
817	}
818	return out, nil
819}
820
821func (c *predictionServiceClient) BatchPredict(ctx context.Context, in *BatchPredictRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
822	out := new(longrunning.Operation)
823	err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.PredictionService/BatchPredict", in, out, opts...)
824	if err != nil {
825		return nil, err
826	}
827	return out, nil
828}
829
830// PredictionServiceServer is the server API for PredictionService service.
831type PredictionServiceServer interface {
832	// Perform an online prediction. The prediction result is directly
833	// returned in the response.
834	// Available for following ML scenarios, and their expected request payloads:
835	//
836	// AutoML Vision Classification
837	//
838	// * An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
839	//
840	// AutoML Vision Object Detection
841	//
842	// * An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
843	//
844	// AutoML Natural Language Classification
845	//
846	// * A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
847	// .PDF, .TIF or .TIFF format with size upto 2MB.
848	//
849	// AutoML Natural Language Entity Extraction
850	//
851	// * A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document
852	//  in .PDF, .TIF or .TIFF format with size upto 20MB.
853	//
854	// AutoML Natural Language Sentiment Analysis
855	//
856	// * A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
857	// .PDF, .TIF or .TIFF format with size upto 2MB.
858	//
859	// AutoML Translation
860	//
861	// * A TextSnippet up to 25,000 characters, UTF-8 encoded.
862	//
863	// AutoML Tables
864	//
865	// * A row with column values matching
866	//   the columns of the model, up to 5MB. Not available for FORECASTING
867	//   `prediction_type`.
868	Predict(context.Context, *PredictRequest) (*PredictResponse, error)
869	// Perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1.PredictionService.Predict], batch
870	// prediction result won't be immediately available in the response. Instead,
871	// a long running operation object is returned. User can poll the operation
872	// result via [GetOperation][google.longrunning.Operations.GetOperation]
873	// method. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned in
874	// the [response][google.longrunning.Operation.response] field.
875	// Available for following ML scenarios:
876	//
877	// * AutoML Vision Classification
878	// * AutoML Vision Object Detection
879	// * AutoML Video Intelligence Classification
880	// * AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification
881	// * AutoML Natural Language Entity Extraction
882	// * AutoML Natural Language Sentiment Analysis
883	// * AutoML Tables
884	BatchPredict(context.Context, *BatchPredictRequest) (*longrunning.Operation, error)
885}
886
887// UnimplementedPredictionServiceServer can be embedded to have forward compatible implementations.
888type UnimplementedPredictionServiceServer struct {
889}
890
891func (*UnimplementedPredictionServiceServer) Predict(context.Context, *PredictRequest) (*PredictResponse, error) {
892	return nil, status.Errorf(codes.Unimplemented, "method Predict not implemented")
893}
894func (*UnimplementedPredictionServiceServer) BatchPredict(context.Context, *BatchPredictRequest) (*longrunning.Operation, error) {
895	return nil, status.Errorf(codes.Unimplemented, "method BatchPredict not implemented")
896}
897
898func RegisterPredictionServiceServer(s *grpc.Server, srv PredictionServiceServer) {
899	s.RegisterService(&_PredictionService_serviceDesc, srv)
900}
901
902func _PredictionService_Predict_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
903	in := new(PredictRequest)
904	if err := dec(in); err != nil {
905		return nil, err
906	}
907	if interceptor == nil {
908		return srv.(PredictionServiceServer).Predict(ctx, in)
909	}
910	info := &grpc.UnaryServerInfo{
911		Server:     srv,
912		FullMethod: "/google.cloud.automl.v1.PredictionService/Predict",
913	}
914	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
915		return srv.(PredictionServiceServer).Predict(ctx, req.(*PredictRequest))
916	}
917	return interceptor(ctx, in, info, handler)
918}
919
920func _PredictionService_BatchPredict_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
921	in := new(BatchPredictRequest)
922	if err := dec(in); err != nil {
923		return nil, err
924	}
925	if interceptor == nil {
926		return srv.(PredictionServiceServer).BatchPredict(ctx, in)
927	}
928	info := &grpc.UnaryServerInfo{
929		Server:     srv,
930		FullMethod: "/google.cloud.automl.v1.PredictionService/BatchPredict",
931	}
932	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
933		return srv.(PredictionServiceServer).BatchPredict(ctx, req.(*BatchPredictRequest))
934	}
935	return interceptor(ctx, in, info, handler)
936}
937
938var _PredictionService_serviceDesc = grpc.ServiceDesc{
939	ServiceName: "google.cloud.automl.v1.PredictionService",
940	HandlerType: (*PredictionServiceServer)(nil),
941	Methods: []grpc.MethodDesc{
942		{
943			MethodName: "Predict",
944			Handler:    _PredictionService_Predict_Handler,
945		},
946		{
947			MethodName: "BatchPredict",
948			Handler:    _PredictionService_BatchPredict_Handler,
949		},
950	},
951	Streams:  []grpc.StreamDesc{},
952	Metadata: "google/cloud/automl/v1/prediction_service.proto",
953}
954