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/v1beta1/text_sentiment.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// Contains annotation details specific to text sentiment.
45type TextSentimentAnnotation struct {
46	state         protoimpl.MessageState
47	sizeCache     protoimpl.SizeCache
48	unknownFields protoimpl.UnknownFields
49
50	// Output only. The sentiment with the semantic, as given to the
51	// [AutoMl.ImportData][google.cloud.automl.v1beta1.AutoMl.ImportData] when populating the dataset from which the model used
52	// for the prediction had been trained.
53	// The sentiment values are between 0 and
54	// Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive),
55	// with higher value meaning more positive sentiment. They are completely
56	// relative, i.e. 0 means least positive sentiment and sentiment_max means
57	// the most positive from the sentiments present in the train data. Therefore
58	//  e.g. if train data had only negative sentiment, then sentiment_max, would
59	// be still negative (although least negative).
60	// The sentiment shouldn't be confused with "score" or "magnitude"
61	// from the previous Natural Language Sentiment Analysis API.
62	Sentiment int32 `protobuf:"varint,1,opt,name=sentiment,proto3" json:"sentiment,omitempty"`
63}
64
65func (x *TextSentimentAnnotation) Reset() {
66	*x = TextSentimentAnnotation{}
67	if protoimpl.UnsafeEnabled {
68		mi := &file_google_cloud_automl_v1beta1_text_sentiment_proto_msgTypes[0]
69		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70		ms.StoreMessageInfo(mi)
71	}
72}
73
74func (x *TextSentimentAnnotation) String() string {
75	return protoimpl.X.MessageStringOf(x)
76}
77
78func (*TextSentimentAnnotation) ProtoMessage() {}
79
80func (x *TextSentimentAnnotation) ProtoReflect() protoreflect.Message {
81	mi := &file_google_cloud_automl_v1beta1_text_sentiment_proto_msgTypes[0]
82	if protoimpl.UnsafeEnabled && x != nil {
83		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
84		if ms.LoadMessageInfo() == nil {
85			ms.StoreMessageInfo(mi)
86		}
87		return ms
88	}
89	return mi.MessageOf(x)
90}
91
92// Deprecated: Use TextSentimentAnnotation.ProtoReflect.Descriptor instead.
93func (*TextSentimentAnnotation) Descriptor() ([]byte, []int) {
94	return file_google_cloud_automl_v1beta1_text_sentiment_proto_rawDescGZIP(), []int{0}
95}
96
97func (x *TextSentimentAnnotation) GetSentiment() int32 {
98	if x != nil {
99		return x.Sentiment
100	}
101	return 0
102}
103
104// Model evaluation metrics for text sentiment problems.
105type TextSentimentEvaluationMetrics struct {
106	state         protoimpl.MessageState
107	sizeCache     protoimpl.SizeCache
108	unknownFields protoimpl.UnknownFields
109
110	// Output only. Precision.
111	Precision float32 `protobuf:"fixed32,1,opt,name=precision,proto3" json:"precision,omitempty"`
112	// Output only. Recall.
113	Recall float32 `protobuf:"fixed32,2,opt,name=recall,proto3" json:"recall,omitempty"`
114	// Output only. The harmonic mean of recall and precision.
115	F1Score float32 `protobuf:"fixed32,3,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"`
116	// Output only. Mean absolute error. Only set for the overall model
117	// evaluation, not for evaluation of a single annotation spec.
118	MeanAbsoluteError float32 `protobuf:"fixed32,4,opt,name=mean_absolute_error,json=meanAbsoluteError,proto3" json:"mean_absolute_error,omitempty"`
119	// Output only. Mean squared error. Only set for the overall model
120	// evaluation, not for evaluation of a single annotation spec.
121	MeanSquaredError float32 `protobuf:"fixed32,5,opt,name=mean_squared_error,json=meanSquaredError,proto3" json:"mean_squared_error,omitempty"`
122	// Output only. Linear weighted kappa. Only set for the overall model
123	// evaluation, not for evaluation of a single annotation spec.
124	LinearKappa float32 `protobuf:"fixed32,6,opt,name=linear_kappa,json=linearKappa,proto3" json:"linear_kappa,omitempty"`
125	// Output only. Quadratic weighted kappa. Only set for the overall model
126	// evaluation, not for evaluation of a single annotation spec.
127	QuadraticKappa float32 `protobuf:"fixed32,7,opt,name=quadratic_kappa,json=quadraticKappa,proto3" json:"quadratic_kappa,omitempty"`
128	// Output only. Confusion matrix of the evaluation.
129	// Only set for the overall model evaluation, not for evaluation of a single
130	// annotation spec.
131	ConfusionMatrix *ClassificationEvaluationMetrics_ConfusionMatrix `protobuf:"bytes,8,opt,name=confusion_matrix,json=confusionMatrix,proto3" json:"confusion_matrix,omitempty"`
132	// Output only. The annotation spec ids used for this evaluation.
133	// Deprecated .
134	//
135	// Deprecated: Do not use.
136	AnnotationSpecId []string `protobuf:"bytes,9,rep,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
137}
138
139func (x *TextSentimentEvaluationMetrics) Reset() {
140	*x = TextSentimentEvaluationMetrics{}
141	if protoimpl.UnsafeEnabled {
142		mi := &file_google_cloud_automl_v1beta1_text_sentiment_proto_msgTypes[1]
143		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
144		ms.StoreMessageInfo(mi)
145	}
146}
147
148func (x *TextSentimentEvaluationMetrics) String() string {
149	return protoimpl.X.MessageStringOf(x)
150}
151
152func (*TextSentimentEvaluationMetrics) ProtoMessage() {}
153
154func (x *TextSentimentEvaluationMetrics) ProtoReflect() protoreflect.Message {
155	mi := &file_google_cloud_automl_v1beta1_text_sentiment_proto_msgTypes[1]
156	if protoimpl.UnsafeEnabled && x != nil {
157		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
158		if ms.LoadMessageInfo() == nil {
159			ms.StoreMessageInfo(mi)
160		}
161		return ms
162	}
163	return mi.MessageOf(x)
164}
165
166// Deprecated: Use TextSentimentEvaluationMetrics.ProtoReflect.Descriptor instead.
167func (*TextSentimentEvaluationMetrics) Descriptor() ([]byte, []int) {
168	return file_google_cloud_automl_v1beta1_text_sentiment_proto_rawDescGZIP(), []int{1}
169}
170
171func (x *TextSentimentEvaluationMetrics) GetPrecision() float32 {
172	if x != nil {
173		return x.Precision
174	}
175	return 0
176}
177
178func (x *TextSentimentEvaluationMetrics) GetRecall() float32 {
179	if x != nil {
180		return x.Recall
181	}
182	return 0
183}
184
185func (x *TextSentimentEvaluationMetrics) GetF1Score() float32 {
186	if x != nil {
187		return x.F1Score
188	}
189	return 0
190}
191
192func (x *TextSentimentEvaluationMetrics) GetMeanAbsoluteError() float32 {
193	if x != nil {
194		return x.MeanAbsoluteError
195	}
196	return 0
197}
198
199func (x *TextSentimentEvaluationMetrics) GetMeanSquaredError() float32 {
200	if x != nil {
201		return x.MeanSquaredError
202	}
203	return 0
204}
205
206func (x *TextSentimentEvaluationMetrics) GetLinearKappa() float32 {
207	if x != nil {
208		return x.LinearKappa
209	}
210	return 0
211}
212
213func (x *TextSentimentEvaluationMetrics) GetQuadraticKappa() float32 {
214	if x != nil {
215		return x.QuadraticKappa
216	}
217	return 0
218}
219
220func (x *TextSentimentEvaluationMetrics) GetConfusionMatrix() *ClassificationEvaluationMetrics_ConfusionMatrix {
221	if x != nil {
222		return x.ConfusionMatrix
223	}
224	return nil
225}
226
227// Deprecated: Do not use.
228func (x *TextSentimentEvaluationMetrics) GetAnnotationSpecId() []string {
229	if x != nil {
230		return x.AnnotationSpecId
231	}
232	return nil
233}
234
235var File_google_cloud_automl_v1beta1_text_sentiment_proto protoreflect.FileDescriptor
236
237var file_google_cloud_automl_v1beta1_text_sentiment_proto_rawDesc = []byte{
238	0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
239	0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x65,
240	0x78, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f,
241	0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
242	0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a,
243	0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75,
244	0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6c, 0x61,
245	0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
246	0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e,
247	0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
248	0x37, 0x0a, 0x17, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74,
249	0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65,
250	0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73,
251	0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xc6, 0x03, 0x0a, 0x1e, 0x54, 0x65, 0x78,
252	0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61,
253	0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70,
254	0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09,
255	0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x63,
256	0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x72, 0x65, 0x63, 0x61, 0x6c,
257	0x6c, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x31, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03, 0x20,
258	0x01, 0x28, 0x02, 0x52, 0x07, 0x66, 0x31, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x2e, 0x0a, 0x13,
259	0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x61, 0x62, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x65, 0x5f, 0x65, 0x72,
260	0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x11, 0x6d, 0x65, 0x61, 0x6e, 0x41,
261	0x62, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2c, 0x0a, 0x12,
262	0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x73, 0x71, 0x75, 0x61, 0x72, 0x65, 0x64, 0x5f, 0x65, 0x72, 0x72,
263	0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x10, 0x6d, 0x65, 0x61, 0x6e, 0x53, 0x71,
264	0x75, 0x61, 0x72, 0x65, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x69,
265	0x6e, 0x65, 0x61, 0x72, 0x5f, 0x6b, 0x61, 0x70, 0x70, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02,
266	0x52, 0x0b, 0x6c, 0x69, 0x6e, 0x65, 0x61, 0x72, 0x4b, 0x61, 0x70, 0x70, 0x61, 0x12, 0x27, 0x0a,
267	0x0f, 0x71, 0x75, 0x61, 0x64, 0x72, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x6b, 0x61, 0x70, 0x70, 0x61,
268	0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0e, 0x71, 0x75, 0x61, 0x64, 0x72, 0x61, 0x74, 0x69,
269	0x63, 0x4b, 0x61, 0x70, 0x70, 0x61, 0x12, 0x77, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x75, 0x73,
270	0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
271	0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
272	0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43,
273	0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61,
274	0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43,
275	0x6f, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x52, 0x0f,
276	0x63, 0x6f, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x12,
277	0x30, 0x0a, 0x12, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70,
278	0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52,
279	0x10, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x49,
280	0x64, 0x42, 0xb7, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
281	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31,
282	0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x12, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69,
283	0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
284	0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
285	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
286	0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31,
287	0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0xca, 0x02, 0x1b, 0x47,
288	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x74, 0x6f,
289	0x4d, 0x6c, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f,
290	0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x6f,
291	0x4d, 0x4c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
292	0x74, 0x6f, 0x33,
293}
294
295var (
296	file_google_cloud_automl_v1beta1_text_sentiment_proto_rawDescOnce sync.Once
297	file_google_cloud_automl_v1beta1_text_sentiment_proto_rawDescData = file_google_cloud_automl_v1beta1_text_sentiment_proto_rawDesc
298)
299
300func file_google_cloud_automl_v1beta1_text_sentiment_proto_rawDescGZIP() []byte {
301	file_google_cloud_automl_v1beta1_text_sentiment_proto_rawDescOnce.Do(func() {
302		file_google_cloud_automl_v1beta1_text_sentiment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1beta1_text_sentiment_proto_rawDescData)
303	})
304	return file_google_cloud_automl_v1beta1_text_sentiment_proto_rawDescData
305}
306
307var file_google_cloud_automl_v1beta1_text_sentiment_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
308var file_google_cloud_automl_v1beta1_text_sentiment_proto_goTypes = []interface{}{
309	(*TextSentimentAnnotation)(nil),                         // 0: google.cloud.automl.v1beta1.TextSentimentAnnotation
310	(*TextSentimentEvaluationMetrics)(nil),                  // 1: google.cloud.automl.v1beta1.TextSentimentEvaluationMetrics
311	(*ClassificationEvaluationMetrics_ConfusionMatrix)(nil), // 2: google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix
312}
313var file_google_cloud_automl_v1beta1_text_sentiment_proto_depIdxs = []int32{
314	2, // 0: google.cloud.automl.v1beta1.TextSentimentEvaluationMetrics.confusion_matrix:type_name -> google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix
315	1, // [1:1] is the sub-list for method output_type
316	1, // [1:1] is the sub-list for method input_type
317	1, // [1:1] is the sub-list for extension type_name
318	1, // [1:1] is the sub-list for extension extendee
319	0, // [0:1] is the sub-list for field type_name
320}
321
322func init() { file_google_cloud_automl_v1beta1_text_sentiment_proto_init() }
323func file_google_cloud_automl_v1beta1_text_sentiment_proto_init() {
324	if File_google_cloud_automl_v1beta1_text_sentiment_proto != nil {
325		return
326	}
327	file_google_cloud_automl_v1beta1_classification_proto_init()
328	if !protoimpl.UnsafeEnabled {
329		file_google_cloud_automl_v1beta1_text_sentiment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
330			switch v := v.(*TextSentimentAnnotation); i {
331			case 0:
332				return &v.state
333			case 1:
334				return &v.sizeCache
335			case 2:
336				return &v.unknownFields
337			default:
338				return nil
339			}
340		}
341		file_google_cloud_automl_v1beta1_text_sentiment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
342			switch v := v.(*TextSentimentEvaluationMetrics); i {
343			case 0:
344				return &v.state
345			case 1:
346				return &v.sizeCache
347			case 2:
348				return &v.unknownFields
349			default:
350				return nil
351			}
352		}
353	}
354	type x struct{}
355	out := protoimpl.TypeBuilder{
356		File: protoimpl.DescBuilder{
357			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
358			RawDescriptor: file_google_cloud_automl_v1beta1_text_sentiment_proto_rawDesc,
359			NumEnums:      0,
360			NumMessages:   2,
361			NumExtensions: 0,
362			NumServices:   0,
363		},
364		GoTypes:           file_google_cloud_automl_v1beta1_text_sentiment_proto_goTypes,
365		DependencyIndexes: file_google_cloud_automl_v1beta1_text_sentiment_proto_depIdxs,
366		MessageInfos:      file_google_cloud_automl_v1beta1_text_sentiment_proto_msgTypes,
367	}.Build()
368	File_google_cloud_automl_v1beta1_text_sentiment_proto = out.File
369	file_google_cloud_automl_v1beta1_text_sentiment_proto_rawDesc = nil
370	file_google_cloud_automl_v1beta1_text_sentiment_proto_goTypes = nil
371	file_google_cloud_automl_v1beta1_text_sentiment_proto_depIdxs = nil
372}
373