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.22.0
18// 	protoc        v3.11.2
19// source: google/cloud/automl/v1beta1/translation.proto
20
21package automl
22
23import (
24	reflect "reflect"
25	sync "sync"
26
27	proto "github.com/golang/protobuf/proto"
28	_ "google.golang.org/genproto/googleapis/api/annotations"
29	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31)
32
33const (
34	// Verify that this generated code is sufficiently up-to-date.
35	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36	// Verify that runtime/protoimpl is sufficiently up-to-date.
37	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38)
39
40// This is a compile-time assertion that a sufficiently up-to-date version
41// of the legacy proto package is being used.
42const _ = proto.ProtoPackageIsVersion4
43
44// Dataset metadata that is specific to translation.
45type TranslationDatasetMetadata struct {
46	state         protoimpl.MessageState
47	sizeCache     protoimpl.SizeCache
48	unknownFields protoimpl.UnknownFields
49
50	// Required. The BCP-47 language code of the source language.
51	SourceLanguageCode string `protobuf:"bytes,1,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"`
52	// Required. The BCP-47 language code of the target language.
53	TargetLanguageCode string `protobuf:"bytes,2,opt,name=target_language_code,json=targetLanguageCode,proto3" json:"target_language_code,omitempty"`
54}
55
56func (x *TranslationDatasetMetadata) Reset() {
57	*x = TranslationDatasetMetadata{}
58	if protoimpl.UnsafeEnabled {
59		mi := &file_google_cloud_automl_v1beta1_translation_proto_msgTypes[0]
60		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61		ms.StoreMessageInfo(mi)
62	}
63}
64
65func (x *TranslationDatasetMetadata) String() string {
66	return protoimpl.X.MessageStringOf(x)
67}
68
69func (*TranslationDatasetMetadata) ProtoMessage() {}
70
71func (x *TranslationDatasetMetadata) ProtoReflect() protoreflect.Message {
72	mi := &file_google_cloud_automl_v1beta1_translation_proto_msgTypes[0]
73	if protoimpl.UnsafeEnabled && x != nil {
74		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75		if ms.LoadMessageInfo() == nil {
76			ms.StoreMessageInfo(mi)
77		}
78		return ms
79	}
80	return mi.MessageOf(x)
81}
82
83// Deprecated: Use TranslationDatasetMetadata.ProtoReflect.Descriptor instead.
84func (*TranslationDatasetMetadata) Descriptor() ([]byte, []int) {
85	return file_google_cloud_automl_v1beta1_translation_proto_rawDescGZIP(), []int{0}
86}
87
88func (x *TranslationDatasetMetadata) GetSourceLanguageCode() string {
89	if x != nil {
90		return x.SourceLanguageCode
91	}
92	return ""
93}
94
95func (x *TranslationDatasetMetadata) GetTargetLanguageCode() string {
96	if x != nil {
97		return x.TargetLanguageCode
98	}
99	return ""
100}
101
102// Evaluation metrics for the dataset.
103type TranslationEvaluationMetrics struct {
104	state         protoimpl.MessageState
105	sizeCache     protoimpl.SizeCache
106	unknownFields protoimpl.UnknownFields
107
108	// Output only. BLEU score.
109	BleuScore float64 `protobuf:"fixed64,1,opt,name=bleu_score,json=bleuScore,proto3" json:"bleu_score,omitempty"`
110	// Output only. BLEU score for base model.
111	BaseBleuScore float64 `protobuf:"fixed64,2,opt,name=base_bleu_score,json=baseBleuScore,proto3" json:"base_bleu_score,omitempty"`
112}
113
114func (x *TranslationEvaluationMetrics) Reset() {
115	*x = TranslationEvaluationMetrics{}
116	if protoimpl.UnsafeEnabled {
117		mi := &file_google_cloud_automl_v1beta1_translation_proto_msgTypes[1]
118		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
119		ms.StoreMessageInfo(mi)
120	}
121}
122
123func (x *TranslationEvaluationMetrics) String() string {
124	return protoimpl.X.MessageStringOf(x)
125}
126
127func (*TranslationEvaluationMetrics) ProtoMessage() {}
128
129func (x *TranslationEvaluationMetrics) ProtoReflect() protoreflect.Message {
130	mi := &file_google_cloud_automl_v1beta1_translation_proto_msgTypes[1]
131	if protoimpl.UnsafeEnabled && x != nil {
132		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
133		if ms.LoadMessageInfo() == nil {
134			ms.StoreMessageInfo(mi)
135		}
136		return ms
137	}
138	return mi.MessageOf(x)
139}
140
141// Deprecated: Use TranslationEvaluationMetrics.ProtoReflect.Descriptor instead.
142func (*TranslationEvaluationMetrics) Descriptor() ([]byte, []int) {
143	return file_google_cloud_automl_v1beta1_translation_proto_rawDescGZIP(), []int{1}
144}
145
146func (x *TranslationEvaluationMetrics) GetBleuScore() float64 {
147	if x != nil {
148		return x.BleuScore
149	}
150	return 0
151}
152
153func (x *TranslationEvaluationMetrics) GetBaseBleuScore() float64 {
154	if x != nil {
155		return x.BaseBleuScore
156	}
157	return 0
158}
159
160// Model metadata that is specific to translation.
161type TranslationModelMetadata struct {
162	state         protoimpl.MessageState
163	sizeCache     protoimpl.SizeCache
164	unknownFields protoimpl.UnknownFields
165
166	// The resource name of the model to use as a baseline to train the custom
167	// model. If unset, we use the default base model provided by Google
168	// Translate. Format:
169	// `projects/{project_id}/locations/{location_id}/models/{model_id}`
170	BaseModel string `protobuf:"bytes,1,opt,name=base_model,json=baseModel,proto3" json:"base_model,omitempty"`
171	// Output only. Inferred from the dataset.
172	// The source languge (The BCP-47 language code) that is used for training.
173	SourceLanguageCode string `protobuf:"bytes,2,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"`
174	// Output only. The target languge (The BCP-47 language code) that is used for
175	// training.
176	TargetLanguageCode string `protobuf:"bytes,3,opt,name=target_language_code,json=targetLanguageCode,proto3" json:"target_language_code,omitempty"`
177}
178
179func (x *TranslationModelMetadata) Reset() {
180	*x = TranslationModelMetadata{}
181	if protoimpl.UnsafeEnabled {
182		mi := &file_google_cloud_automl_v1beta1_translation_proto_msgTypes[2]
183		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
184		ms.StoreMessageInfo(mi)
185	}
186}
187
188func (x *TranslationModelMetadata) String() string {
189	return protoimpl.X.MessageStringOf(x)
190}
191
192func (*TranslationModelMetadata) ProtoMessage() {}
193
194func (x *TranslationModelMetadata) ProtoReflect() protoreflect.Message {
195	mi := &file_google_cloud_automl_v1beta1_translation_proto_msgTypes[2]
196	if protoimpl.UnsafeEnabled && x != nil {
197		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
198		if ms.LoadMessageInfo() == nil {
199			ms.StoreMessageInfo(mi)
200		}
201		return ms
202	}
203	return mi.MessageOf(x)
204}
205
206// Deprecated: Use TranslationModelMetadata.ProtoReflect.Descriptor instead.
207func (*TranslationModelMetadata) Descriptor() ([]byte, []int) {
208	return file_google_cloud_automl_v1beta1_translation_proto_rawDescGZIP(), []int{2}
209}
210
211func (x *TranslationModelMetadata) GetBaseModel() string {
212	if x != nil {
213		return x.BaseModel
214	}
215	return ""
216}
217
218func (x *TranslationModelMetadata) GetSourceLanguageCode() string {
219	if x != nil {
220		return x.SourceLanguageCode
221	}
222	return ""
223}
224
225func (x *TranslationModelMetadata) GetTargetLanguageCode() string {
226	if x != nil {
227		return x.TargetLanguageCode
228	}
229	return ""
230}
231
232// Annotation details specific to translation.
233type TranslationAnnotation struct {
234	state         protoimpl.MessageState
235	sizeCache     protoimpl.SizeCache
236	unknownFields protoimpl.UnknownFields
237
238	// Output only . The translated content.
239	TranslatedContent *TextSnippet `protobuf:"bytes,1,opt,name=translated_content,json=translatedContent,proto3" json:"translated_content,omitempty"`
240}
241
242func (x *TranslationAnnotation) Reset() {
243	*x = TranslationAnnotation{}
244	if protoimpl.UnsafeEnabled {
245		mi := &file_google_cloud_automl_v1beta1_translation_proto_msgTypes[3]
246		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
247		ms.StoreMessageInfo(mi)
248	}
249}
250
251func (x *TranslationAnnotation) String() string {
252	return protoimpl.X.MessageStringOf(x)
253}
254
255func (*TranslationAnnotation) ProtoMessage() {}
256
257func (x *TranslationAnnotation) ProtoReflect() protoreflect.Message {
258	mi := &file_google_cloud_automl_v1beta1_translation_proto_msgTypes[3]
259	if protoimpl.UnsafeEnabled && x != nil {
260		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
261		if ms.LoadMessageInfo() == nil {
262			ms.StoreMessageInfo(mi)
263		}
264		return ms
265	}
266	return mi.MessageOf(x)
267}
268
269// Deprecated: Use TranslationAnnotation.ProtoReflect.Descriptor instead.
270func (*TranslationAnnotation) Descriptor() ([]byte, []int) {
271	return file_google_cloud_automl_v1beta1_translation_proto_rawDescGZIP(), []int{3}
272}
273
274func (x *TranslationAnnotation) GetTranslatedContent() *TextSnippet {
275	if x != nil {
276		return x.TranslatedContent
277	}
278	return nil
279}
280
281var File_google_cloud_automl_v1beta1_translation_proto protoreflect.FileDescriptor
282
283var file_google_cloud_automl_v1beta1_translation_proto_rawDesc = []byte{
284	0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
285	0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x72,
286	0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
287	0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75,
288	0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f,
289	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
290	0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67,
291	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f,
292	0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x5f,
293	0x69, 0x74, 0x65, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
294	0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
295	0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x01, 0x0a, 0x1a, 0x54, 0x72,
296	0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74,
297	0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x35, 0x0a, 0x14, 0x73, 0x6f, 0x75, 0x72,
298	0x63, 0x65, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65,
299	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x12, 0x73, 0x6f, 0x75,
300	0x72, 0x63, 0x65, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12,
301	0x35, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
302	0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
303	0x41, 0x02, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61,
304	0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x65, 0x0a, 0x1c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c,
305	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
306	0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x65, 0x75, 0x5f, 0x73,
307	0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x62, 0x6c, 0x65, 0x75,
308	0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x62, 0x6c,
309	0x65, 0x75, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d,
310	0x62, 0x61, 0x73, 0x65, 0x42, 0x6c, 0x65, 0x75, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x22, 0x9d, 0x01,
311	0x0a, 0x18, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64,
312	0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61,
313	0x73, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
314	0x62, 0x61, 0x73, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x6f, 0x75,
315	0x72, 0x63, 0x65, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64,
316	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c,
317	0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x74,
318	0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63,
319	0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65,
320	0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x70, 0x0a,
321	0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f,
322	0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x57, 0x0a, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c,
323	0x61, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
324	0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
325	0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
326	0x2e, 0x54, 0x65, 0x78, 0x74, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x52, 0x11, 0x74, 0x72,
327	0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42,
328	0xb7, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
329	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65,
330	0x74, 0x61, 0x31, 0x42, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
331	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
332	0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
333	0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63,
334	0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65,
335	0x74, 0x61, 0x31, 0x3b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f,
336	0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c,
337	0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
338	0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c,
339	0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
340	0x33,
341}
342
343var (
344	file_google_cloud_automl_v1beta1_translation_proto_rawDescOnce sync.Once
345	file_google_cloud_automl_v1beta1_translation_proto_rawDescData = file_google_cloud_automl_v1beta1_translation_proto_rawDesc
346)
347
348func file_google_cloud_automl_v1beta1_translation_proto_rawDescGZIP() []byte {
349	file_google_cloud_automl_v1beta1_translation_proto_rawDescOnce.Do(func() {
350		file_google_cloud_automl_v1beta1_translation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1beta1_translation_proto_rawDescData)
351	})
352	return file_google_cloud_automl_v1beta1_translation_proto_rawDescData
353}
354
355var file_google_cloud_automl_v1beta1_translation_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
356var file_google_cloud_automl_v1beta1_translation_proto_goTypes = []interface{}{
357	(*TranslationDatasetMetadata)(nil),   // 0: google.cloud.automl.v1beta1.TranslationDatasetMetadata
358	(*TranslationEvaluationMetrics)(nil), // 1: google.cloud.automl.v1beta1.TranslationEvaluationMetrics
359	(*TranslationModelMetadata)(nil),     // 2: google.cloud.automl.v1beta1.TranslationModelMetadata
360	(*TranslationAnnotation)(nil),        // 3: google.cloud.automl.v1beta1.TranslationAnnotation
361	(*TextSnippet)(nil),                  // 4: google.cloud.automl.v1beta1.TextSnippet
362}
363var file_google_cloud_automl_v1beta1_translation_proto_depIdxs = []int32{
364	4, // 0: google.cloud.automl.v1beta1.TranslationAnnotation.translated_content:type_name -> google.cloud.automl.v1beta1.TextSnippet
365	1, // [1:1] is the sub-list for method output_type
366	1, // [1:1] is the sub-list for method input_type
367	1, // [1:1] is the sub-list for extension type_name
368	1, // [1:1] is the sub-list for extension extendee
369	0, // [0:1] is the sub-list for field type_name
370}
371
372func init() { file_google_cloud_automl_v1beta1_translation_proto_init() }
373func file_google_cloud_automl_v1beta1_translation_proto_init() {
374	if File_google_cloud_automl_v1beta1_translation_proto != nil {
375		return
376	}
377	file_google_cloud_automl_v1beta1_data_items_proto_init()
378	if !protoimpl.UnsafeEnabled {
379		file_google_cloud_automl_v1beta1_translation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
380			switch v := v.(*TranslationDatasetMetadata); i {
381			case 0:
382				return &v.state
383			case 1:
384				return &v.sizeCache
385			case 2:
386				return &v.unknownFields
387			default:
388				return nil
389			}
390		}
391		file_google_cloud_automl_v1beta1_translation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
392			switch v := v.(*TranslationEvaluationMetrics); i {
393			case 0:
394				return &v.state
395			case 1:
396				return &v.sizeCache
397			case 2:
398				return &v.unknownFields
399			default:
400				return nil
401			}
402		}
403		file_google_cloud_automl_v1beta1_translation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
404			switch v := v.(*TranslationModelMetadata); i {
405			case 0:
406				return &v.state
407			case 1:
408				return &v.sizeCache
409			case 2:
410				return &v.unknownFields
411			default:
412				return nil
413			}
414		}
415		file_google_cloud_automl_v1beta1_translation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
416			switch v := v.(*TranslationAnnotation); i {
417			case 0:
418				return &v.state
419			case 1:
420				return &v.sizeCache
421			case 2:
422				return &v.unknownFields
423			default:
424				return nil
425			}
426		}
427	}
428	type x struct{}
429	out := protoimpl.TypeBuilder{
430		File: protoimpl.DescBuilder{
431			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
432			RawDescriptor: file_google_cloud_automl_v1beta1_translation_proto_rawDesc,
433			NumEnums:      0,
434			NumMessages:   4,
435			NumExtensions: 0,
436			NumServices:   0,
437		},
438		GoTypes:           file_google_cloud_automl_v1beta1_translation_proto_goTypes,
439		DependencyIndexes: file_google_cloud_automl_v1beta1_translation_proto_depIdxs,
440		MessageInfos:      file_google_cloud_automl_v1beta1_translation_proto_msgTypes,
441	}.Build()
442	File_google_cloud_automl_v1beta1_translation_proto = out.File
443	file_google_cloud_automl_v1beta1_translation_proto_rawDesc = nil
444	file_google_cloud_automl_v1beta1_translation_proto_goTypes = nil
445	file_google_cloud_automl_v1beta1_translation_proto_depIdxs = nil
446}
447