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