| 1 |
// Copyright 2025 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.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/cloud/automl/v1/text.proto |
| 20 |
|
| 21 |
package automlpb |
| 22 |
|
| 23 |
import ( |
| 24 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 25 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 26 |
reflect "reflect" |
| 27 |
sync "sync" |
| 28 |
) |
| 29 |
|
| 30 |
const ( |
| 31 |
// Verify that this generated code is sufficiently up-to-date. |
| 32 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 33 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 35 |
) |
| 36 |
|
| 37 |
// Dataset metadata for classification. |
| 38 |
type TextClassificationDatasetMetadata struct { |
| 39 |
state protoimpl.MessageState |
| 40 |
sizeCache protoimpl.SizeCache |
| 41 |
unknownFields protoimpl.UnknownFields |
| 42 |
|
| 43 |
// Required. Type of the classification problem. |
| 44 |
ClassificationType ClassificationType `protobuf:"varint,1,opt,name=classification_type,json=classificationType,proto3,enum=google.cloud.automl.v1.ClassificationType" json:"classification_type,omitempty"` |
| 45 |
} |
| 46 |
|
| 47 |
func (x *TextClassificationDatasetMetadata) Reset() { |
| 48 |
*x = TextClassificationDatasetMetadata{} |
| 49 |
mi := &file_google_cloud_automl_v1_text_proto_msgTypes[0] |
| 50 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 51 |
ms.StoreMessageInfo(mi) |
| 52 |
} |
| 53 |
|
| 54 |
func (x *TextClassificationDatasetMetadata) String() string { |
| 55 |
return protoimpl.X.MessageStringOf(x) |
| 56 |
} |
| 57 |
|
| 58 |
func (*TextClassificationDatasetMetadata) ProtoMessage() {} |
| 59 |
|
| 60 |
func (x *TextClassificationDatasetMetadata) ProtoReflect() protoreflect.Message { |
| 61 |
mi := &file_google_cloud_automl_v1_text_proto_msgTypes[0] |
| 62 |
if x != nil { |
| 63 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 64 |
if ms.LoadMessageInfo() == nil { |
| 65 |
ms.StoreMessageInfo(mi) |
| 66 |
} |
| 67 |
return ms |
| 68 |
} |
| 69 |
return mi.MessageOf(x) |
| 70 |
} |
| 71 |
|
| 72 |
// Deprecated: Use TextClassificationDatasetMetadata.ProtoReflect.Descriptor instead. |
| 73 |
func (*TextClassificationDatasetMetadata) Descriptor() ([]byte, []int) { |
| 74 |
return file_google_cloud_automl_v1_text_proto_rawDescGZIP(), []int{0} |
| 75 |
} |
| 76 |
|
| 77 |
func (x *TextClassificationDatasetMetadata) GetClassificationType() ClassificationType { |
| 78 |
if x != nil { |
| 79 |
return x.ClassificationType |
| 80 |
} |
| 81 |
return ClassificationType_CLASSIFICATION_TYPE_UNSPECIFIED |
| 82 |
} |
| 83 |
|
| 84 |
// Model metadata that is specific to text classification. |
| 85 |
type TextClassificationModelMetadata struct { |
| 86 |
state protoimpl.MessageState |
| 87 |
sizeCache protoimpl.SizeCache |
| 88 |
unknownFields protoimpl.UnknownFields |
| 89 |
|
| 90 |
// Output only. Classification type of the dataset used to train this model. |
| 91 |
ClassificationType ClassificationType `protobuf:"varint,3,opt,name=classification_type,json=classificationType,proto3,enum=google.cloud.automl.v1.ClassificationType" json:"classification_type,omitempty"` |
| 92 |
} |
| 93 |
|
| 94 |
func (x *TextClassificationModelMetadata) Reset() { |
| 95 |
*x = TextClassificationModelMetadata{} |
| 96 |
mi := &file_google_cloud_automl_v1_text_proto_msgTypes[1] |
| 97 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 98 |
ms.StoreMessageInfo(mi) |
| 99 |
} |
| 100 |
|
| 101 |
func (x *TextClassificationModelMetadata) String() string { |
| 102 |
return protoimpl.X.MessageStringOf(x) |
| 103 |
} |
| 104 |
|
| 105 |
func (*TextClassificationModelMetadata) ProtoMessage() {} |
| 106 |
|
| 107 |
func (x *TextClassificationModelMetadata) ProtoReflect() protoreflect.Message { |
| 108 |
mi := &file_google_cloud_automl_v1_text_proto_msgTypes[1] |
| 109 |
if x != nil { |
| 110 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 111 |
if ms.LoadMessageInfo() == nil { |
| 112 |
ms.StoreMessageInfo(mi) |
| 113 |
} |
| 114 |
return ms |
| 115 |
} |
| 116 |
return mi.MessageOf(x) |
| 117 |
} |
| 118 |
|
| 119 |
// Deprecated: Use TextClassificationModelMetadata.ProtoReflect.Descriptor instead. |
| 120 |
func (*TextClassificationModelMetadata) Descriptor() ([]byte, []int) { |
| 121 |
return file_google_cloud_automl_v1_text_proto_rawDescGZIP(), []int{1} |
| 122 |
} |
| 123 |
|
| 124 |
func (x *TextClassificationModelMetadata) GetClassificationType() ClassificationType { |
| 125 |
if x != nil { |
| 126 |
return x.ClassificationType |
| 127 |
} |
| 128 |
return ClassificationType_CLASSIFICATION_TYPE_UNSPECIFIED |
| 129 |
} |
| 130 |
|
| 131 |
// Dataset metadata that is specific to text extraction |
| 132 |
type TextExtractionDatasetMetadata struct { |
| 133 |
state protoimpl.MessageState |
| 134 |
sizeCache protoimpl.SizeCache |
| 135 |
unknownFields protoimpl.UnknownFields |
| 136 |
} |
| 137 |
|
| 138 |
func (x *TextExtractionDatasetMetadata) Reset() { |
| 139 |
*x = TextExtractionDatasetMetadata{} |
| 140 |
mi := &file_google_cloud_automl_v1_text_proto_msgTypes[2] |
| 141 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 142 |
ms.StoreMessageInfo(mi) |
| 143 |
} |
| 144 |
|
| 145 |
func (x *TextExtractionDatasetMetadata) String() string { |
| 146 |
return protoimpl.X.MessageStringOf(x) |
| 147 |
} |
| 148 |
|
| 149 |
func (*TextExtractionDatasetMetadata) ProtoMessage() {} |
| 150 |
|
| 151 |
func (x *TextExtractionDatasetMetadata) ProtoReflect() protoreflect.Message { |
| 152 |
mi := &file_google_cloud_automl_v1_text_proto_msgTypes[2] |
| 153 |
if x != nil { |
| 154 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 155 |
if ms.LoadMessageInfo() == nil { |
| 156 |
ms.StoreMessageInfo(mi) |
| 157 |
} |
| 158 |
return ms |
| 159 |
} |
| 160 |
return mi.MessageOf(x) |
| 161 |
} |
| 162 |
|
| 163 |
// Deprecated: Use TextExtractionDatasetMetadata.ProtoReflect.Descriptor instead. |
| 164 |
func (*TextExtractionDatasetMetadata) Descriptor() ([]byte, []int) { |
| 165 |
return file_google_cloud_automl_v1_text_proto_rawDescGZIP(), []int{2} |
| 166 |
} |
| 167 |
|
| 168 |
// Model metadata that is specific to text extraction. |
| 169 |
type TextExtractionModelMetadata struct { |
| 170 |
state protoimpl.MessageState |
| 171 |
sizeCache protoimpl.SizeCache |
| 172 |
unknownFields protoimpl.UnknownFields |
| 173 |
} |
| 174 |
|
| 175 |
func (x *TextExtractionModelMetadata) Reset() { |
| 176 |
*x = TextExtractionModelMetadata{} |
| 177 |
mi := &file_google_cloud_automl_v1_text_proto_msgTypes[3] |
| 178 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 179 |
ms.StoreMessageInfo(mi) |
| 180 |
} |
| 181 |
|
| 182 |
func (x *TextExtractionModelMetadata) String() string { |
| 183 |
return protoimpl.X.MessageStringOf(x) |
| 184 |
} |
| 185 |
|
| 186 |
func (*TextExtractionModelMetadata) ProtoMessage() {} |
| 187 |
|
| 188 |
func (x *TextExtractionModelMetadata) ProtoReflect() protoreflect.Message { |
| 189 |
mi := &file_google_cloud_automl_v1_text_proto_msgTypes[3] |
| 190 |
if x != nil { |
| 191 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 192 |
if ms.LoadMessageInfo() == nil { |
| 193 |
ms.StoreMessageInfo(mi) |
| 194 |
} |
| 195 |
return ms |
| 196 |
} |
| 197 |
return mi.MessageOf(x) |
| 198 |
} |
| 199 |
|
| 200 |
// Deprecated: Use TextExtractionModelMetadata.ProtoReflect.Descriptor instead. |
| 201 |
func (*TextExtractionModelMetadata) Descriptor() ([]byte, []int) { |
| 202 |
return file_google_cloud_automl_v1_text_proto_rawDescGZIP(), []int{3} |
| 203 |
} |
| 204 |
|
| 205 |
// Dataset metadata for text sentiment. |
| 206 |
type TextSentimentDatasetMetadata struct { |
| 207 |
state protoimpl.MessageState |
| 208 |
sizeCache protoimpl.SizeCache |
| 209 |
unknownFields protoimpl.UnknownFields |
| 210 |
|
| 211 |
// Required. A sentiment is expressed as an integer ordinal, where higher value |
| 212 |
// means a more positive sentiment. The range of sentiments that will be used |
| 213 |
// is between 0 and sentiment_max (inclusive on both ends), and all the values |
| 214 |
// in the range must be represented in the dataset before a model can be |
| 215 |
// created. |
| 216 |
// sentiment_max value must be between 1 and 10 (inclusive). |
| 217 |
SentimentMax int32 `protobuf:"varint,1,opt,name=sentiment_max,json=sentimentMax,proto3" json:"sentiment_max,omitempty"` |
| 218 |
} |
| 219 |
|
| 220 |
func (x *TextSentimentDatasetMetadata) Reset() { |
| 221 |
*x = TextSentimentDatasetMetadata{} |
| 222 |
mi := &file_google_cloud_automl_v1_text_proto_msgTypes[4] |
| 223 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 224 |
ms.StoreMessageInfo(mi) |
| 225 |
} |
| 226 |
|
| 227 |
func (x *TextSentimentDatasetMetadata) String() string { |
| 228 |
return protoimpl.X.MessageStringOf(x) |
| 229 |
} |
| 230 |
|
| 231 |
func (*TextSentimentDatasetMetadata) ProtoMessage() {} |
| 232 |
|
| 233 |
func (x *TextSentimentDatasetMetadata) ProtoReflect() protoreflect.Message { |
| 234 |
mi := &file_google_cloud_automl_v1_text_proto_msgTypes[4] |
| 235 |
if x != nil { |
| 236 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 237 |
if ms.LoadMessageInfo() == nil { |
| 238 |
ms.StoreMessageInfo(mi) |
| 239 |
} |
| 240 |
return ms |
| 241 |
} |
| 242 |
return mi.MessageOf(x) |
| 243 |
} |
| 244 |
|
| 245 |
// Deprecated: Use TextSentimentDatasetMetadata.ProtoReflect.Descriptor instead. |
| 246 |
func (*TextSentimentDatasetMetadata) Descriptor() ([]byte, []int) { |
| 247 |
return file_google_cloud_automl_v1_text_proto_rawDescGZIP(), []int{4} |
| 248 |
} |
| 249 |
|
| 250 |
func (x *TextSentimentDatasetMetadata) GetSentimentMax() int32 { |
| 251 |
if x != nil { |
| 252 |
return x.SentimentMax |
| 253 |
} |
| 254 |
return 0 |
| 255 |
} |
| 256 |
|
| 257 |
// Model metadata that is specific to text sentiment. |
| 258 |
type TextSentimentModelMetadata struct { |
| 259 |
state protoimpl.MessageState |
| 260 |
sizeCache protoimpl.SizeCache |
| 261 |
unknownFields protoimpl.UnknownFields |
| 262 |
} |
| 263 |
|
| 264 |
func (x *TextSentimentModelMetadata) Reset() { |
| 265 |
*x = TextSentimentModelMetadata{} |
| 266 |
mi := &file_google_cloud_automl_v1_text_proto_msgTypes[5] |
| 267 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 268 |
ms.StoreMessageInfo(mi) |
| 269 |
} |
| 270 |
|
| 271 |
func (x *TextSentimentModelMetadata) String() string { |
| 272 |
return protoimpl.X.MessageStringOf(x) |
| 273 |
} |
| 274 |
|
| 275 |
func (*TextSentimentModelMetadata) ProtoMessage() {} |
| 276 |
|
| 277 |
func (x *TextSentimentModelMetadata) ProtoReflect() protoreflect.Message { |
| 278 |
mi := &file_google_cloud_automl_v1_text_proto_msgTypes[5] |
| 279 |
if x != nil { |
| 280 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 281 |
if ms.LoadMessageInfo() == nil { |
| 282 |
ms.StoreMessageInfo(mi) |
| 283 |
} |
| 284 |
return ms |
| 285 |
} |
| 286 |
return mi.MessageOf(x) |
| 287 |
} |
| 288 |
|
| 289 |
// Deprecated: Use TextSentimentModelMetadata.ProtoReflect.Descriptor instead. |
| 290 |
func (*TextSentimentModelMetadata) Descriptor() ([]byte, []int) { |
| 291 |
return file_google_cloud_automl_v1_text_proto_rawDescGZIP(), []int{5} |
| 292 |
} |
| 293 |
|
| 294 |
var File_google_cloud_automl_v1_text_proto protoreflect.FileDescriptor |
| 295 |
|
| 296 |
var file_google_cloud_automl_v1_text_proto_rawDesc = []byte{ |
| 297 |
0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, |
| 298 |
0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, |
| 299 |
0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 300 |
0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x2b, 0x67, 0x6f, 0x6f, |
| 301 |
0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, |
| 302 |
0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, |
| 303 |
0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a, 0x21, 0x54, 0x65, 0x78, |
| 304 |
0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, |
| 305 |
0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5b, |
| 306 |
0x0a, 0x13, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 307 |
0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, |
| 308 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, |
| 309 |
0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, |
| 310 |
0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x12, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, |
| 311 |
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x7e, 0x0a, 0x1f, 0x54, |
| 312 |
0x65, 0x78, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, |
| 313 |
0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5b, |
| 314 |
0x0a, 0x13, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 315 |
0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, |
| 316 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, |
| 317 |
0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, |
| 318 |
0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x12, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, |
| 319 |
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x1f, 0x0a, 0x1d, 0x54, |
| 320 |
0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, |
| 321 |
0x61, 0x73, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1d, 0x0a, 0x1b, |
| 322 |
0x54, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, |
| 323 |
0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x43, 0x0a, 0x1c, 0x54, |
| 324 |
0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, |
| 325 |
0x73, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x73, |
| 326 |
0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x01, 0x20, 0x01, |
| 327 |
0x28, 0x05, 0x52, 0x0c, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x78, |
| 328 |
0x22, 0x1c, 0x0a, 0x1a, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, |
| 329 |
0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0xab, |
| 330 |
0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 331 |
0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x54, |
| 332 |
0x65, 0x78, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x32, 0x63, 0x6c, 0x6f, 0x75, |
| 333 |
0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, |
| 334 |
0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, |
| 335 |
0x6f, 0x6d, 0x6c, 0x70, 0x62, 0x3b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0xaa, 0x02, |
| 336 |
0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x75, |
| 337 |
0x74, 0x6f, 0x4d, 0x4c, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 338 |
0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x5c, 0x56, 0x31, |
| 339 |
0xea, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 340 |
0x3a, 0x3a, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, |
| 341 |
0x6f, 0x74, 0x6f, 0x33, |
| 342 |
} |
| 343 |
|
| 344 |
var ( |
| 345 |
file_google_cloud_automl_v1_text_proto_rawDescOnce sync.Once |
| 346 |
file_google_cloud_automl_v1_text_proto_rawDescData = file_google_cloud_automl_v1_text_proto_rawDesc |
| 347 |
) |
| 348 |
|
| 349 |
func file_google_cloud_automl_v1_text_proto_rawDescGZIP() []byte { |
| 350 |
file_google_cloud_automl_v1_text_proto_rawDescOnce.Do(func() { |
| 351 |
file_google_cloud_automl_v1_text_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1_text_proto_rawDescData) |
| 352 |
}) |
| 353 |
return file_google_cloud_automl_v1_text_proto_rawDescData |
| 354 |
} |
| 355 |
|
| 356 |
var file_google_cloud_automl_v1_text_proto_msgTypes = make([]protoimpl.MessageInfo, 6) |
| 357 |
var file_google_cloud_automl_v1_text_proto_goTypes = []any{ |
| 358 |
(*TextClassificationDatasetMetadata)(nil), // 0: google.cloud.automl.v1.TextClassificationDatasetMetadata |
| 359 |
(*TextClassificationModelMetadata)(nil), // 1: google.cloud.automl.v1.TextClassificationModelMetadata |
| 360 |
(*TextExtractionDatasetMetadata)(nil), // 2: google.cloud.automl.v1.TextExtractionDatasetMetadata |
| 361 |
(*TextExtractionModelMetadata)(nil), // 3: google.cloud.automl.v1.TextExtractionModelMetadata |
| 362 |
(*TextSentimentDatasetMetadata)(nil), // 4: google.cloud.automl.v1.TextSentimentDatasetMetadata |
| 363 |
(*TextSentimentModelMetadata)(nil), // 5: google.cloud.automl.v1.TextSentimentModelMetadata |
| 364 |
(ClassificationType)(0), // 6: google.cloud.automl.v1.ClassificationType |
| 365 |
} |
| 366 |
var file_google_cloud_automl_v1_text_proto_depIdxs = []int32{ |
| 367 |
6, // 0: google.cloud.automl.v1.TextClassificationDatasetMetadata.classification_type:type_name -> google.cloud.automl.v1.ClassificationType |
| 368 |
6, // 1: google.cloud.automl.v1.TextClassificationModelMetadata.classification_type:type_name -> google.cloud.automl.v1.ClassificationType |
| 369 |
2, // [2:2] is the sub-list for method output_type |
| 370 |
2, // [2:2] is the sub-list for method input_type |
| 371 |
2, // [2:2] is the sub-list for extension type_name |
| 372 |
2, // [2:2] is the sub-list for extension extendee |
| 373 |
0, // [0:2] is the sub-list for field type_name |
| 374 |
} |
| 375 |
|
| 376 |
func init() { file_google_cloud_automl_v1_text_proto_init() } |
| 377 |
func file_google_cloud_automl_v1_text_proto_init() { |
| 378 |
if File_google_cloud_automl_v1_text_proto != nil { |
| 379 |
return |
| 380 |
} |
| 381 |
file_google_cloud_automl_v1_classification_proto_init() |
| 382 |
type x struct{} |
| 383 |
out := protoimpl.TypeBuilder{ |
| 384 |
File: protoimpl.DescBuilder{ |
| 385 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 386 |
RawDescriptor: file_google_cloud_automl_v1_text_proto_rawDesc, |
| 387 |
NumEnums: 0, |
| 388 |
NumMessages: 6, |
| 389 |
NumExtensions: 0, |
| 390 |
NumServices: 0, |
| 391 |
}, |
| 392 |
GoTypes: file_google_cloud_automl_v1_text_proto_goTypes, |
| 393 |
DependencyIndexes: file_google_cloud_automl_v1_text_proto_depIdxs, |
| 394 |
MessageInfos: file_google_cloud_automl_v1_text_proto_msgTypes, |
| 395 |
}.Build() |
| 396 |
File_google_cloud_automl_v1_text_proto = out.File |
| 397 |
file_google_cloud_automl_v1_text_proto_rawDesc = nil |
| 398 |
file_google_cloud_automl_v1_text_proto_goTypes = nil |
| 399 |
file_google_cloud_automl_v1_text_proto_depIdxs = nil |
| 400 |
} |