Debian Codegraph @

language/apiv1beta2/languagepb/language_service.pb.go

raw
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/language/v1beta2/language_service.proto
20
21 package languagepb
22
23 import (
24 context "context"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 grpc "google.golang.org/grpc"
27 codes "google.golang.org/grpc/codes"
28 status "google.golang.org/grpc/status"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 reflect "reflect"
32 sync "sync"
33 )
34
35 const (
36 // Verify that this generated code is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
38 // Verify that runtime/protoimpl is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
40 )
41
42 // Represents the text encoding that the caller uses to process the output.
43 // Providing an `EncodingType` is recommended because the API provides the
44 // beginning offsets for various outputs, such as tokens and mentions, and
45 // languages that natively use different text encodings may access offsets
46 // differently.
47 type EncodingType int32
48
49 const (
50 // If `EncodingType` is not specified, encoding-dependent information (such as
51 // `begin_offset`) will be set at `-1`.
52 EncodingType_NONE EncodingType = 0
53 // Encoding-dependent information (such as `begin_offset`) is calculated based
54 // on the UTF-8 encoding of the input. C++ and Go are examples of languages
55 // that use this encoding natively.
56 EncodingType_UTF8 EncodingType = 1
57 // Encoding-dependent information (such as `begin_offset`) is calculated based
58 // on the UTF-16 encoding of the input. Java and JavaScript are examples of
59 // languages that use this encoding natively.
60 EncodingType_UTF16 EncodingType = 2
61 // Encoding-dependent information (such as `begin_offset`) is calculated based
62 // on the UTF-32 encoding of the input. Python is an example of a language
63 // that uses this encoding natively.
64 EncodingType_UTF32 EncodingType = 3
65 )
66
67 // Enum value maps for EncodingType.
68 var (
69 EncodingType_name = map[int32]string{
70 0: "NONE",
71 1: "UTF8",
72 2: "UTF16",
73 3: "UTF32",
74 }
75 EncodingType_value = map[string]int32{
76 "NONE": 0,
77 "UTF8": 1,
78 "UTF16": 2,
79 "UTF32": 3,
80 }
81 )
82
83 func (x EncodingType) Enum() *EncodingType {
84 p := new(EncodingType)
85 *p = x
86 return p
87 }
88
89 func (x EncodingType) String() string {
90 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
91 }
92
93 func (EncodingType) Descriptor() protoreflect.EnumDescriptor {
94 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[0].Descriptor()
95 }
96
97 func (EncodingType) Type() protoreflect.EnumType {
98 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[0]
99 }
100
101 func (x EncodingType) Number() protoreflect.EnumNumber {
102 return protoreflect.EnumNumber(x)
103 }
104
105 // Deprecated: Use EncodingType.Descriptor instead.
106 func (EncodingType) EnumDescriptor() ([]byte, []int) {
107 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{0}
108 }
109
110 // The document types enum.
111 type Document_Type int32
112
113 const (
114 // The content type is not specified.
115 Document_TYPE_UNSPECIFIED Document_Type = 0
116 // Plain text
117 Document_PLAIN_TEXT Document_Type = 1
118 // HTML
119 Document_HTML Document_Type = 2
120 )
121
122 // Enum value maps for Document_Type.
123 var (
124 Document_Type_name = map[int32]string{
125 0: "TYPE_UNSPECIFIED",
126 1: "PLAIN_TEXT",
127 2: "HTML",
128 }
129 Document_Type_value = map[string]int32{
130 "TYPE_UNSPECIFIED": 0,
131 "PLAIN_TEXT": 1,
132 "HTML": 2,
133 }
134 )
135
136 func (x Document_Type) Enum() *Document_Type {
137 p := new(Document_Type)
138 *p = x
139 return p
140 }
141
142 func (x Document_Type) String() string {
143 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
144 }
145
146 func (Document_Type) Descriptor() protoreflect.EnumDescriptor {
147 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[1].Descriptor()
148 }
149
150 func (Document_Type) Type() protoreflect.EnumType {
151 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[1]
152 }
153
154 func (x Document_Type) Number() protoreflect.EnumNumber {
155 return protoreflect.EnumNumber(x)
156 }
157
158 // Deprecated: Use Document_Type.Descriptor instead.
159 func (Document_Type) EnumDescriptor() ([]byte, []int) {
160 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{0, 0}
161 }
162
163 // Ways of handling boilerplate detected in the document
164 type Document_BoilerplateHandling int32
165
166 const (
167 // The boilerplate handling is not specified.
168 Document_BOILERPLATE_HANDLING_UNSPECIFIED Document_BoilerplateHandling = 0
169 // Do not analyze detected boilerplate. Reference web URI is required for
170 // detecting boilerplate.
171 Document_SKIP_BOILERPLATE Document_BoilerplateHandling = 1
172 // Treat boilerplate the same as content.
173 Document_KEEP_BOILERPLATE Document_BoilerplateHandling = 2
174 )
175
176 // Enum value maps for Document_BoilerplateHandling.
177 var (
178 Document_BoilerplateHandling_name = map[int32]string{
179 0: "BOILERPLATE_HANDLING_UNSPECIFIED",
180 1: "SKIP_BOILERPLATE",
181 2: "KEEP_BOILERPLATE",
182 }
183 Document_BoilerplateHandling_value = map[string]int32{
184 "BOILERPLATE_HANDLING_UNSPECIFIED": 0,
185 "SKIP_BOILERPLATE": 1,
186 "KEEP_BOILERPLATE": 2,
187 }
188 )
189
190 func (x Document_BoilerplateHandling) Enum() *Document_BoilerplateHandling {
191 p := new(Document_BoilerplateHandling)
192 *p = x
193 return p
194 }
195
196 func (x Document_BoilerplateHandling) String() string {
197 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
198 }
199
200 func (Document_BoilerplateHandling) Descriptor() protoreflect.EnumDescriptor {
201 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[2].Descriptor()
202 }
203
204 func (Document_BoilerplateHandling) Type() protoreflect.EnumType {
205 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[2]
206 }
207
208 func (x Document_BoilerplateHandling) Number() protoreflect.EnumNumber {
209 return protoreflect.EnumNumber(x)
210 }
211
212 // Deprecated: Use Document_BoilerplateHandling.Descriptor instead.
213 func (Document_BoilerplateHandling) EnumDescriptor() ([]byte, []int) {
214 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{0, 1}
215 }
216
217 // The type of the entity. For most entity types, the associated metadata is a
218 // Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`). The table
219 // below lists the associated fields for entities that have different
220 // metadata.
221 type Entity_Type int32
222
223 const (
224 // Unknown
225 Entity_UNKNOWN Entity_Type = 0
226 // Person
227 Entity_PERSON Entity_Type = 1
228 // Location
229 Entity_LOCATION Entity_Type = 2
230 // Organization
231 Entity_ORGANIZATION Entity_Type = 3
232 // Event
233 Entity_EVENT Entity_Type = 4
234 // Artwork
235 Entity_WORK_OF_ART Entity_Type = 5
236 // Consumer product
237 Entity_CONSUMER_GOOD Entity_Type = 6
238 // Other types of entities
239 Entity_OTHER Entity_Type = 7
240 // Phone number
241 //
242 // The metadata lists the phone number, formatted according to local
243 // convention, plus whichever additional elements appear in the text:
244 //
245 // * `number` - the actual number, broken down into sections as per local
246 // convention
247 // * `national_prefix` - country code, if detected
248 // * `area_code` - region or area code, if detected
249 // * `extension` - phone extension (to be dialed after connection), if
250 // detected
251 Entity_PHONE_NUMBER Entity_Type = 9
252 // Address
253 //
254 // The metadata identifies the street number and locality plus whichever
255 // additional elements appear in the text:
256 //
257 // * `street_number` - street number
258 // * `locality` - city or town
259 // * `street_name` - street/route name, if detected
260 // * `postal_code` - postal code, if detected
261 // * `country` - country, if detected<
262 // * `broad_region` - administrative area, such as the state, if detected
263 // * `narrow_region` - smaller administrative area, such as county, if
264 // detected
265 // * `sublocality` - used in Asian addresses to demark a district within a
266 // city, if detected
267 Entity_ADDRESS Entity_Type = 10
268 // Date
269 //
270 // The metadata identifies the components of the date:
271 //
272 // * `year` - four digit year, if detected
273 // * `month` - two digit month number, if detected
274 // * `day` - two digit day number, if detected
275 Entity_DATE Entity_Type = 11
276 // Number
277 //
278 // The metadata is the number itself.
279 Entity_NUMBER Entity_Type = 12
280 // Price
281 //
282 // The metadata identifies the `value` and `currency`.
283 Entity_PRICE Entity_Type = 13
284 )
285
286 // Enum value maps for Entity_Type.
287 var (
288 Entity_Type_name = map[int32]string{
289 0: "UNKNOWN",
290 1: "PERSON",
291 2: "LOCATION",
292 3: "ORGANIZATION",
293 4: "EVENT",
294 5: "WORK_OF_ART",
295 6: "CONSUMER_GOOD",
296 7: "OTHER",
297 9: "PHONE_NUMBER",
298 10: "ADDRESS",
299 11: "DATE",
300 12: "NUMBER",
301 13: "PRICE",
302 }
303 Entity_Type_value = map[string]int32{
304 "UNKNOWN": 0,
305 "PERSON": 1,
306 "LOCATION": 2,
307 "ORGANIZATION": 3,
308 "EVENT": 4,
309 "WORK_OF_ART": 5,
310 "CONSUMER_GOOD": 6,
311 "OTHER": 7,
312 "PHONE_NUMBER": 9,
313 "ADDRESS": 10,
314 "DATE": 11,
315 "NUMBER": 12,
316 "PRICE": 13,
317 }
318 )
319
320 func (x Entity_Type) Enum() *Entity_Type {
321 p := new(Entity_Type)
322 *p = x
323 return p
324 }
325
326 func (x Entity_Type) String() string {
327 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
328 }
329
330 func (Entity_Type) Descriptor() protoreflect.EnumDescriptor {
331 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[3].Descriptor()
332 }
333
334 func (Entity_Type) Type() protoreflect.EnumType {
335 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[3]
336 }
337
338 func (x Entity_Type) Number() protoreflect.EnumNumber {
339 return protoreflect.EnumNumber(x)
340 }
341
342 // Deprecated: Use Entity_Type.Descriptor instead.
343 func (Entity_Type) EnumDescriptor() ([]byte, []int) {
344 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{2, 0}
345 }
346
347 // The part of speech tags enum.
348 type PartOfSpeech_Tag int32
349
350 const (
351 // Unknown
352 PartOfSpeech_UNKNOWN PartOfSpeech_Tag = 0
353 // Adjective
354 PartOfSpeech_ADJ PartOfSpeech_Tag = 1
355 // Adposition (preposition and postposition)
356 PartOfSpeech_ADP PartOfSpeech_Tag = 2
357 // Adverb
358 PartOfSpeech_ADV PartOfSpeech_Tag = 3
359 // Conjunction
360 PartOfSpeech_CONJ PartOfSpeech_Tag = 4
361 // Determiner
362 PartOfSpeech_DET PartOfSpeech_Tag = 5
363 // Noun (common and proper)
364 PartOfSpeech_NOUN PartOfSpeech_Tag = 6
365 // Cardinal number
366 PartOfSpeech_NUM PartOfSpeech_Tag = 7
367 // Pronoun
368 PartOfSpeech_PRON PartOfSpeech_Tag = 8
369 // Particle or other function word
370 PartOfSpeech_PRT PartOfSpeech_Tag = 9
371 // Punctuation
372 PartOfSpeech_PUNCT PartOfSpeech_Tag = 10
373 // Verb (all tenses and modes)
374 PartOfSpeech_VERB PartOfSpeech_Tag = 11
375 // Other: foreign words, typos, abbreviations
376 PartOfSpeech_X PartOfSpeech_Tag = 12
377 // Affix
378 PartOfSpeech_AFFIX PartOfSpeech_Tag = 13
379 )
380
381 // Enum value maps for PartOfSpeech_Tag.
382 var (
383 PartOfSpeech_Tag_name = map[int32]string{
384 0: "UNKNOWN",
385 1: "ADJ",
386 2: "ADP",
387 3: "ADV",
388 4: "CONJ",
389 5: "DET",
390 6: "NOUN",
391 7: "NUM",
392 8: "PRON",
393 9: "PRT",
394 10: "PUNCT",
395 11: "VERB",
396 12: "X",
397 13: "AFFIX",
398 }
399 PartOfSpeech_Tag_value = map[string]int32{
400 "UNKNOWN": 0,
401 "ADJ": 1,
402 "ADP": 2,
403 "ADV": 3,
404 "CONJ": 4,
405 "DET": 5,
406 "NOUN": 6,
407 "NUM": 7,
408 "PRON": 8,
409 "PRT": 9,
410 "PUNCT": 10,
411 "VERB": 11,
412 "X": 12,
413 "AFFIX": 13,
414 }
415 )
416
417 func (x PartOfSpeech_Tag) Enum() *PartOfSpeech_Tag {
418 p := new(PartOfSpeech_Tag)
419 *p = x
420 return p
421 }
422
423 func (x PartOfSpeech_Tag) String() string {
424 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
425 }
426
427 func (PartOfSpeech_Tag) Descriptor() protoreflect.EnumDescriptor {
428 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[4].Descriptor()
429 }
430
431 func (PartOfSpeech_Tag) Type() protoreflect.EnumType {
432 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[4]
433 }
434
435 func (x PartOfSpeech_Tag) Number() protoreflect.EnumNumber {
436 return protoreflect.EnumNumber(x)
437 }
438
439 // Deprecated: Use PartOfSpeech_Tag.Descriptor instead.
440 func (PartOfSpeech_Tag) EnumDescriptor() ([]byte, []int) {
441 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{5, 0}
442 }
443
444 // The characteristic of a verb that expresses time flow during an event.
445 type PartOfSpeech_Aspect int32
446
447 const (
448 // Aspect is not applicable in the analyzed language or is not predicted.
449 PartOfSpeech_ASPECT_UNKNOWN PartOfSpeech_Aspect = 0
450 // Perfective
451 PartOfSpeech_PERFECTIVE PartOfSpeech_Aspect = 1
452 // Imperfective
453 PartOfSpeech_IMPERFECTIVE PartOfSpeech_Aspect = 2
454 // Progressive
455 PartOfSpeech_PROGRESSIVE PartOfSpeech_Aspect = 3
456 )
457
458 // Enum value maps for PartOfSpeech_Aspect.
459 var (
460 PartOfSpeech_Aspect_name = map[int32]string{
461 0: "ASPECT_UNKNOWN",
462 1: "PERFECTIVE",
463 2: "IMPERFECTIVE",
464 3: "PROGRESSIVE",
465 }
466 PartOfSpeech_Aspect_value = map[string]int32{
467 "ASPECT_UNKNOWN": 0,
468 "PERFECTIVE": 1,
469 "IMPERFECTIVE": 2,
470 "PROGRESSIVE": 3,
471 }
472 )
473
474 func (x PartOfSpeech_Aspect) Enum() *PartOfSpeech_Aspect {
475 p := new(PartOfSpeech_Aspect)
476 *p = x
477 return p
478 }
479
480 func (x PartOfSpeech_Aspect) String() string {
481 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
482 }
483
484 func (PartOfSpeech_Aspect) Descriptor() protoreflect.EnumDescriptor {
485 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[5].Descriptor()
486 }
487
488 func (PartOfSpeech_Aspect) Type() protoreflect.EnumType {
489 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[5]
490 }
491
492 func (x PartOfSpeech_Aspect) Number() protoreflect.EnumNumber {
493 return protoreflect.EnumNumber(x)
494 }
495
496 // Deprecated: Use PartOfSpeech_Aspect.Descriptor instead.
497 func (PartOfSpeech_Aspect) EnumDescriptor() ([]byte, []int) {
498 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{5, 1}
499 }
500
501 // The grammatical function performed by a noun or pronoun in a phrase,
502 // clause, or sentence. In some languages, other parts of speech, such as
503 // adjective and determiner, take case inflection in agreement with the noun.
504 type PartOfSpeech_Case int32
505
506 const (
507 // Case is not applicable in the analyzed language or is not predicted.
508 PartOfSpeech_CASE_UNKNOWN PartOfSpeech_Case = 0
509 // Accusative
510 PartOfSpeech_ACCUSATIVE PartOfSpeech_Case = 1
511 // Adverbial
512 PartOfSpeech_ADVERBIAL PartOfSpeech_Case = 2
513 // Complementive
514 PartOfSpeech_COMPLEMENTIVE PartOfSpeech_Case = 3
515 // Dative
516 PartOfSpeech_DATIVE PartOfSpeech_Case = 4
517 // Genitive
518 PartOfSpeech_GENITIVE PartOfSpeech_Case = 5
519 // Instrumental
520 PartOfSpeech_INSTRUMENTAL PartOfSpeech_Case = 6
521 // Locative
522 PartOfSpeech_LOCATIVE PartOfSpeech_Case = 7
523 // Nominative
524 PartOfSpeech_NOMINATIVE PartOfSpeech_Case = 8
525 // Oblique
526 PartOfSpeech_OBLIQUE PartOfSpeech_Case = 9
527 // Partitive
528 PartOfSpeech_PARTITIVE PartOfSpeech_Case = 10
529 // Prepositional
530 PartOfSpeech_PREPOSITIONAL PartOfSpeech_Case = 11
531 // Reflexive
532 PartOfSpeech_REFLEXIVE_CASE PartOfSpeech_Case = 12
533 // Relative
534 PartOfSpeech_RELATIVE_CASE PartOfSpeech_Case = 13
535 // Vocative
536 PartOfSpeech_VOCATIVE PartOfSpeech_Case = 14
537 )
538
539 // Enum value maps for PartOfSpeech_Case.
540 var (
541 PartOfSpeech_Case_name = map[int32]string{
542 0: "CASE_UNKNOWN",
543 1: "ACCUSATIVE",
544 2: "ADVERBIAL",
545 3: "COMPLEMENTIVE",
546 4: "DATIVE",
547 5: "GENITIVE",
548 6: "INSTRUMENTAL",
549 7: "LOCATIVE",
550 8: "NOMINATIVE",
551 9: "OBLIQUE",
552 10: "PARTITIVE",
553 11: "PREPOSITIONAL",
554 12: "REFLEXIVE_CASE",
555 13: "RELATIVE_CASE",
556 14: "VOCATIVE",
557 }
558 PartOfSpeech_Case_value = map[string]int32{
559 "CASE_UNKNOWN": 0,
560 "ACCUSATIVE": 1,
561 "ADVERBIAL": 2,
562 "COMPLEMENTIVE": 3,
563 "DATIVE": 4,
564 "GENITIVE": 5,
565 "INSTRUMENTAL": 6,
566 "LOCATIVE": 7,
567 "NOMINATIVE": 8,
568 "OBLIQUE": 9,
569 "PARTITIVE": 10,
570 "PREPOSITIONAL": 11,
571 "REFLEXIVE_CASE": 12,
572 "RELATIVE_CASE": 13,
573 "VOCATIVE": 14,
574 }
575 )
576
577 func (x PartOfSpeech_Case) Enum() *PartOfSpeech_Case {
578 p := new(PartOfSpeech_Case)
579 *p = x
580 return p
581 }
582
583 func (x PartOfSpeech_Case) String() string {
584 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
585 }
586
587 func (PartOfSpeech_Case) Descriptor() protoreflect.EnumDescriptor {
588 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[6].Descriptor()
589 }
590
591 func (PartOfSpeech_Case) Type() protoreflect.EnumType {
592 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[6]
593 }
594
595 func (x PartOfSpeech_Case) Number() protoreflect.EnumNumber {
596 return protoreflect.EnumNumber(x)
597 }
598
599 // Deprecated: Use PartOfSpeech_Case.Descriptor instead.
600 func (PartOfSpeech_Case) EnumDescriptor() ([]byte, []int) {
601 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{5, 2}
602 }
603
604 // Depending on the language, Form can be categorizing different forms of
605 // verbs, adjectives, adverbs, etc. For example, categorizing inflected
606 // endings of verbs and adjectives or distinguishing between short and long
607 // forms of adjectives and participles
608 type PartOfSpeech_Form int32
609
610 const (
611 // Form is not applicable in the analyzed language or is not predicted.
612 PartOfSpeech_FORM_UNKNOWN PartOfSpeech_Form = 0
613 // Adnomial
614 PartOfSpeech_ADNOMIAL PartOfSpeech_Form = 1
615 // Auxiliary
616 PartOfSpeech_AUXILIARY PartOfSpeech_Form = 2
617 // Complementizer
618 PartOfSpeech_COMPLEMENTIZER PartOfSpeech_Form = 3
619 // Final ending
620 PartOfSpeech_FINAL_ENDING PartOfSpeech_Form = 4
621 // Gerund
622 PartOfSpeech_GERUND PartOfSpeech_Form = 5
623 // Realis
624 PartOfSpeech_REALIS PartOfSpeech_Form = 6
625 // Irrealis
626 PartOfSpeech_IRREALIS PartOfSpeech_Form = 7
627 // Short form
628 PartOfSpeech_SHORT PartOfSpeech_Form = 8
629 // Long form
630 PartOfSpeech_LONG PartOfSpeech_Form = 9
631 // Order form
632 PartOfSpeech_ORDER PartOfSpeech_Form = 10
633 // Specific form
634 PartOfSpeech_SPECIFIC PartOfSpeech_Form = 11
635 )
636
637 // Enum value maps for PartOfSpeech_Form.
638 var (
639 PartOfSpeech_Form_name = map[int32]string{
640 0: "FORM_UNKNOWN",
641 1: "ADNOMIAL",
642 2: "AUXILIARY",
643 3: "COMPLEMENTIZER",
644 4: "FINAL_ENDING",
645 5: "GERUND",
646 6: "REALIS",
647 7: "IRREALIS",
648 8: "SHORT",
649 9: "LONG",
650 10: "ORDER",
651 11: "SPECIFIC",
652 }
653 PartOfSpeech_Form_value = map[string]int32{
654 "FORM_UNKNOWN": 0,
655 "ADNOMIAL": 1,
656 "AUXILIARY": 2,
657 "COMPLEMENTIZER": 3,
658 "FINAL_ENDING": 4,
659 "GERUND": 5,
660 "REALIS": 6,
661 "IRREALIS": 7,
662 "SHORT": 8,
663 "LONG": 9,
664 "ORDER": 10,
665 "SPECIFIC": 11,
666 }
667 )
668
669 func (x PartOfSpeech_Form) Enum() *PartOfSpeech_Form {
670 p := new(PartOfSpeech_Form)
671 *p = x
672 return p
673 }
674
675 func (x PartOfSpeech_Form) String() string {
676 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
677 }
678
679 func (PartOfSpeech_Form) Descriptor() protoreflect.EnumDescriptor {
680 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[7].Descriptor()
681 }
682
683 func (PartOfSpeech_Form) Type() protoreflect.EnumType {
684 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[7]
685 }
686
687 func (x PartOfSpeech_Form) Number() protoreflect.EnumNumber {
688 return protoreflect.EnumNumber(x)
689 }
690
691 // Deprecated: Use PartOfSpeech_Form.Descriptor instead.
692 func (PartOfSpeech_Form) EnumDescriptor() ([]byte, []int) {
693 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{5, 3}
694 }
695
696 // Gender classes of nouns reflected in the behaviour of associated words.
697 type PartOfSpeech_Gender int32
698
699 const (
700 // Gender is not applicable in the analyzed language or is not predicted.
701 PartOfSpeech_GENDER_UNKNOWN PartOfSpeech_Gender = 0
702 // Feminine
703 PartOfSpeech_FEMININE PartOfSpeech_Gender = 1
704 // Masculine
705 PartOfSpeech_MASCULINE PartOfSpeech_Gender = 2
706 // Neuter
707 PartOfSpeech_NEUTER PartOfSpeech_Gender = 3
708 )
709
710 // Enum value maps for PartOfSpeech_Gender.
711 var (
712 PartOfSpeech_Gender_name = map[int32]string{
713 0: "GENDER_UNKNOWN",
714 1: "FEMININE",
715 2: "MASCULINE",
716 3: "NEUTER",
717 }
718 PartOfSpeech_Gender_value = map[string]int32{
719 "GENDER_UNKNOWN": 0,
720 "FEMININE": 1,
721 "MASCULINE": 2,
722 "NEUTER": 3,
723 }
724 )
725
726 func (x PartOfSpeech_Gender) Enum() *PartOfSpeech_Gender {
727 p := new(PartOfSpeech_Gender)
728 *p = x
729 return p
730 }
731
732 func (x PartOfSpeech_Gender) String() string {
733 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
734 }
735
736 func (PartOfSpeech_Gender) Descriptor() protoreflect.EnumDescriptor {
737 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[8].Descriptor()
738 }
739
740 func (PartOfSpeech_Gender) Type() protoreflect.EnumType {
741 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[8]
742 }
743
744 func (x PartOfSpeech_Gender) Number() protoreflect.EnumNumber {
745 return protoreflect.EnumNumber(x)
746 }
747
748 // Deprecated: Use PartOfSpeech_Gender.Descriptor instead.
749 func (PartOfSpeech_Gender) EnumDescriptor() ([]byte, []int) {
750 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{5, 4}
751 }
752
753 // The grammatical feature of verbs, used for showing modality and attitude.
754 type PartOfSpeech_Mood int32
755
756 const (
757 // Mood is not applicable in the analyzed language or is not predicted.
758 PartOfSpeech_MOOD_UNKNOWN PartOfSpeech_Mood = 0
759 // Conditional
760 PartOfSpeech_CONDITIONAL_MOOD PartOfSpeech_Mood = 1
761 // Imperative
762 PartOfSpeech_IMPERATIVE PartOfSpeech_Mood = 2
763 // Indicative
764 PartOfSpeech_INDICATIVE PartOfSpeech_Mood = 3
765 // Interrogative
766 PartOfSpeech_INTERROGATIVE PartOfSpeech_Mood = 4
767 // Jussive
768 PartOfSpeech_JUSSIVE PartOfSpeech_Mood = 5
769 // Subjunctive
770 PartOfSpeech_SUBJUNCTIVE PartOfSpeech_Mood = 6
771 )
772
773 // Enum value maps for PartOfSpeech_Mood.
774 var (
775 PartOfSpeech_Mood_name = map[int32]string{
776 0: "MOOD_UNKNOWN",
777 1: "CONDITIONAL_MOOD",
778 2: "IMPERATIVE",
779 3: "INDICATIVE",
780 4: "INTERROGATIVE",
781 5: "JUSSIVE",
782 6: "SUBJUNCTIVE",
783 }
784 PartOfSpeech_Mood_value = map[string]int32{
785 "MOOD_UNKNOWN": 0,
786 "CONDITIONAL_MOOD": 1,
787 "IMPERATIVE": 2,
788 "INDICATIVE": 3,
789 "INTERROGATIVE": 4,
790 "JUSSIVE": 5,
791 "SUBJUNCTIVE": 6,
792 }
793 )
794
795 func (x PartOfSpeech_Mood) Enum() *PartOfSpeech_Mood {
796 p := new(PartOfSpeech_Mood)
797 *p = x
798 return p
799 }
800
801 func (x PartOfSpeech_Mood) String() string {
802 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
803 }
804
805 func (PartOfSpeech_Mood) Descriptor() protoreflect.EnumDescriptor {
806 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[9].Descriptor()
807 }
808
809 func (PartOfSpeech_Mood) Type() protoreflect.EnumType {
810 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[9]
811 }
812
813 func (x PartOfSpeech_Mood) Number() protoreflect.EnumNumber {
814 return protoreflect.EnumNumber(x)
815 }
816
817 // Deprecated: Use PartOfSpeech_Mood.Descriptor instead.
818 func (PartOfSpeech_Mood) EnumDescriptor() ([]byte, []int) {
819 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{5, 5}
820 }
821
822 // Count distinctions.
823 type PartOfSpeech_Number int32
824
825 const (
826 // Number is not applicable in the analyzed language or is not predicted.
827 PartOfSpeech_NUMBER_UNKNOWN PartOfSpeech_Number = 0
828 // Singular
829 PartOfSpeech_SINGULAR PartOfSpeech_Number = 1
830 // Plural
831 PartOfSpeech_PLURAL PartOfSpeech_Number = 2
832 // Dual
833 PartOfSpeech_DUAL PartOfSpeech_Number = 3
834 )
835
836 // Enum value maps for PartOfSpeech_Number.
837 var (
838 PartOfSpeech_Number_name = map[int32]string{
839 0: "NUMBER_UNKNOWN",
840 1: "SINGULAR",
841 2: "PLURAL",
842 3: "DUAL",
843 }
844 PartOfSpeech_Number_value = map[string]int32{
845 "NUMBER_UNKNOWN": 0,
846 "SINGULAR": 1,
847 "PLURAL": 2,
848 "DUAL": 3,
849 }
850 )
851
852 func (x PartOfSpeech_Number) Enum() *PartOfSpeech_Number {
853 p := new(PartOfSpeech_Number)
854 *p = x
855 return p
856 }
857
858 func (x PartOfSpeech_Number) String() string {
859 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
860 }
861
862 func (PartOfSpeech_Number) Descriptor() protoreflect.EnumDescriptor {
863 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[10].Descriptor()
864 }
865
866 func (PartOfSpeech_Number) Type() protoreflect.EnumType {
867 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[10]
868 }
869
870 func (x PartOfSpeech_Number) Number() protoreflect.EnumNumber {
871 return protoreflect.EnumNumber(x)
872 }
873
874 // Deprecated: Use PartOfSpeech_Number.Descriptor instead.
875 func (PartOfSpeech_Number) EnumDescriptor() ([]byte, []int) {
876 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{5, 6}
877 }
878
879 // The distinction between the speaker, second person, third person, etc.
880 type PartOfSpeech_Person int32
881
882 const (
883 // Person is not applicable in the analyzed language or is not predicted.
884 PartOfSpeech_PERSON_UNKNOWN PartOfSpeech_Person = 0
885 // First
886 PartOfSpeech_FIRST PartOfSpeech_Person = 1
887 // Second
888 PartOfSpeech_SECOND PartOfSpeech_Person = 2
889 // Third
890 PartOfSpeech_THIRD PartOfSpeech_Person = 3
891 // Reflexive
892 PartOfSpeech_REFLEXIVE_PERSON PartOfSpeech_Person = 4
893 )
894
895 // Enum value maps for PartOfSpeech_Person.
896 var (
897 PartOfSpeech_Person_name = map[int32]string{
898 0: "PERSON_UNKNOWN",
899 1: "FIRST",
900 2: "SECOND",
901 3: "THIRD",
902 4: "REFLEXIVE_PERSON",
903 }
904 PartOfSpeech_Person_value = map[string]int32{
905 "PERSON_UNKNOWN": 0,
906 "FIRST": 1,
907 "SECOND": 2,
908 "THIRD": 3,
909 "REFLEXIVE_PERSON": 4,
910 }
911 )
912
913 func (x PartOfSpeech_Person) Enum() *PartOfSpeech_Person {
914 p := new(PartOfSpeech_Person)
915 *p = x
916 return p
917 }
918
919 func (x PartOfSpeech_Person) String() string {
920 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
921 }
922
923 func (PartOfSpeech_Person) Descriptor() protoreflect.EnumDescriptor {
924 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[11].Descriptor()
925 }
926
927 func (PartOfSpeech_Person) Type() protoreflect.EnumType {
928 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[11]
929 }
930
931 func (x PartOfSpeech_Person) Number() protoreflect.EnumNumber {
932 return protoreflect.EnumNumber(x)
933 }
934
935 // Deprecated: Use PartOfSpeech_Person.Descriptor instead.
936 func (PartOfSpeech_Person) EnumDescriptor() ([]byte, []int) {
937 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{5, 7}
938 }
939
940 // This category shows if the token is part of a proper name.
941 type PartOfSpeech_Proper int32
942
943 const (
944 // Proper is not applicable in the analyzed language or is not predicted.
945 PartOfSpeech_PROPER_UNKNOWN PartOfSpeech_Proper = 0
946 // Proper
947 PartOfSpeech_PROPER PartOfSpeech_Proper = 1
948 // Not proper
949 PartOfSpeech_NOT_PROPER PartOfSpeech_Proper = 2
950 )
951
952 // Enum value maps for PartOfSpeech_Proper.
953 var (
954 PartOfSpeech_Proper_name = map[int32]string{
955 0: "PROPER_UNKNOWN",
956 1: "PROPER",
957 2: "NOT_PROPER",
958 }
959 PartOfSpeech_Proper_value = map[string]int32{
960 "PROPER_UNKNOWN": 0,
961 "PROPER": 1,
962 "NOT_PROPER": 2,
963 }
964 )
965
966 func (x PartOfSpeech_Proper) Enum() *PartOfSpeech_Proper {
967 p := new(PartOfSpeech_Proper)
968 *p = x
969 return p
970 }
971
972 func (x PartOfSpeech_Proper) String() string {
973 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
974 }
975
976 func (PartOfSpeech_Proper) Descriptor() protoreflect.EnumDescriptor {
977 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[12].Descriptor()
978 }
979
980 func (PartOfSpeech_Proper) Type() protoreflect.EnumType {
981 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[12]
982 }
983
984 func (x PartOfSpeech_Proper) Number() protoreflect.EnumNumber {
985 return protoreflect.EnumNumber(x)
986 }
987
988 // Deprecated: Use PartOfSpeech_Proper.Descriptor instead.
989 func (PartOfSpeech_Proper) EnumDescriptor() ([]byte, []int) {
990 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{5, 8}
991 }
992
993 // Reciprocal features of a pronoun.
994 type PartOfSpeech_Reciprocity int32
995
996 const (
997 // Reciprocity is not applicable in the analyzed language or is not
998 // predicted.
999 PartOfSpeech_RECIPROCITY_UNKNOWN PartOfSpeech_Reciprocity = 0
1000 // Reciprocal
1001 PartOfSpeech_RECIPROCAL PartOfSpeech_Reciprocity = 1
1002 // Non-reciprocal
1003 PartOfSpeech_NON_RECIPROCAL PartOfSpeech_Reciprocity = 2
1004 )
1005
1006 // Enum value maps for PartOfSpeech_Reciprocity.
1007 var (
1008 PartOfSpeech_Reciprocity_name = map[int32]string{
1009 0: "RECIPROCITY_UNKNOWN",
1010 1: "RECIPROCAL",
1011 2: "NON_RECIPROCAL",
1012 }
1013 PartOfSpeech_Reciprocity_value = map[string]int32{
1014 "RECIPROCITY_UNKNOWN": 0,
1015 "RECIPROCAL": 1,
1016 "NON_RECIPROCAL": 2,
1017 }
1018 )
1019
1020 func (x PartOfSpeech_Reciprocity) Enum() *PartOfSpeech_Reciprocity {
1021 p := new(PartOfSpeech_Reciprocity)
1022 *p = x
1023 return p
1024 }
1025
1026 func (x PartOfSpeech_Reciprocity) String() string {
1027 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
1028 }
1029
1030 func (PartOfSpeech_Reciprocity) Descriptor() protoreflect.EnumDescriptor {
1031 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[13].Descriptor()
1032 }
1033
1034 func (PartOfSpeech_Reciprocity) Type() protoreflect.EnumType {
1035 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[13]
1036 }
1037
1038 func (x PartOfSpeech_Reciprocity) Number() protoreflect.EnumNumber {
1039 return protoreflect.EnumNumber(x)
1040 }
1041
1042 // Deprecated: Use PartOfSpeech_Reciprocity.Descriptor instead.
1043 func (PartOfSpeech_Reciprocity) EnumDescriptor() ([]byte, []int) {
1044 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{5, 9}
1045 }
1046
1047 // Time reference.
1048 type PartOfSpeech_Tense int32
1049
1050 const (
1051 // Tense is not applicable in the analyzed language or is not predicted.
1052 PartOfSpeech_TENSE_UNKNOWN PartOfSpeech_Tense = 0
1053 // Conditional
1054 PartOfSpeech_CONDITIONAL_TENSE PartOfSpeech_Tense = 1
1055 // Future
1056 PartOfSpeech_FUTURE PartOfSpeech_Tense = 2
1057 // Past
1058 PartOfSpeech_PAST PartOfSpeech_Tense = 3
1059 // Present
1060 PartOfSpeech_PRESENT PartOfSpeech_Tense = 4
1061 // Imperfect
1062 PartOfSpeech_IMPERFECT PartOfSpeech_Tense = 5
1063 // Pluperfect
1064 PartOfSpeech_PLUPERFECT PartOfSpeech_Tense = 6
1065 )
1066
1067 // Enum value maps for PartOfSpeech_Tense.
1068 var (
1069 PartOfSpeech_Tense_name = map[int32]string{
1070 0: "TENSE_UNKNOWN",
1071 1: "CONDITIONAL_TENSE",
1072 2: "FUTURE",
1073 3: "PAST",
1074 4: "PRESENT",
1075 5: "IMPERFECT",
1076 6: "PLUPERFECT",
1077 }
1078 PartOfSpeech_Tense_value = map[string]int32{
1079 "TENSE_UNKNOWN": 0,
1080 "CONDITIONAL_TENSE": 1,
1081 "FUTURE": 2,
1082 "PAST": 3,
1083 "PRESENT": 4,
1084 "IMPERFECT": 5,
1085 "PLUPERFECT": 6,
1086 }
1087 )
1088
1089 func (x PartOfSpeech_Tense) Enum() *PartOfSpeech_Tense {
1090 p := new(PartOfSpeech_Tense)
1091 *p = x
1092 return p
1093 }
1094
1095 func (x PartOfSpeech_Tense) String() string {
1096 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
1097 }
1098
1099 func (PartOfSpeech_Tense) Descriptor() protoreflect.EnumDescriptor {
1100 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[14].Descriptor()
1101 }
1102
1103 func (PartOfSpeech_Tense) Type() protoreflect.EnumType {
1104 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[14]
1105 }
1106
1107 func (x PartOfSpeech_Tense) Number() protoreflect.EnumNumber {
1108 return protoreflect.EnumNumber(x)
1109 }
1110
1111 // Deprecated: Use PartOfSpeech_Tense.Descriptor instead.
1112 func (PartOfSpeech_Tense) EnumDescriptor() ([]byte, []int) {
1113 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{5, 10}
1114 }
1115
1116 // The relationship between the action that a verb expresses and the
1117 // participants identified by its arguments.
1118 type PartOfSpeech_Voice int32
1119
1120 const (
1121 // Voice is not applicable in the analyzed language or is not predicted.
1122 PartOfSpeech_VOICE_UNKNOWN PartOfSpeech_Voice = 0
1123 // Active
1124 PartOfSpeech_ACTIVE PartOfSpeech_Voice = 1
1125 // Causative
1126 PartOfSpeech_CAUSATIVE PartOfSpeech_Voice = 2
1127 // Passive
1128 PartOfSpeech_PASSIVE PartOfSpeech_Voice = 3
1129 )
1130
1131 // Enum value maps for PartOfSpeech_Voice.
1132 var (
1133 PartOfSpeech_Voice_name = map[int32]string{
1134 0: "VOICE_UNKNOWN",
1135 1: "ACTIVE",
1136 2: "CAUSATIVE",
1137 3: "PASSIVE",
1138 }
1139 PartOfSpeech_Voice_value = map[string]int32{
1140 "VOICE_UNKNOWN": 0,
1141 "ACTIVE": 1,
1142 "CAUSATIVE": 2,
1143 "PASSIVE": 3,
1144 }
1145 )
1146
1147 func (x PartOfSpeech_Voice) Enum() *PartOfSpeech_Voice {
1148 p := new(PartOfSpeech_Voice)
1149 *p = x
1150 return p
1151 }
1152
1153 func (x PartOfSpeech_Voice) String() string {
1154 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
1155 }
1156
1157 func (PartOfSpeech_Voice) Descriptor() protoreflect.EnumDescriptor {
1158 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[15].Descriptor()
1159 }
1160
1161 func (PartOfSpeech_Voice) Type() protoreflect.EnumType {
1162 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[15]
1163 }
1164
1165 func (x PartOfSpeech_Voice) Number() protoreflect.EnumNumber {
1166 return protoreflect.EnumNumber(x)
1167 }
1168
1169 // Deprecated: Use PartOfSpeech_Voice.Descriptor instead.
1170 func (PartOfSpeech_Voice) EnumDescriptor() ([]byte, []int) {
1171 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{5, 11}
1172 }
1173
1174 // The parse label enum for the token.
1175 type DependencyEdge_Label int32
1176
1177 const (
1178 // Unknown
1179 DependencyEdge_UNKNOWN DependencyEdge_Label = 0
1180 // Abbreviation modifier
1181 DependencyEdge_ABBREV DependencyEdge_Label = 1
1182 // Adjectival complement
1183 DependencyEdge_ACOMP DependencyEdge_Label = 2
1184 // Adverbial clause modifier
1185 DependencyEdge_ADVCL DependencyEdge_Label = 3
1186 // Adverbial modifier
1187 DependencyEdge_ADVMOD DependencyEdge_Label = 4
1188 // Adjectival modifier of an NP
1189 DependencyEdge_AMOD DependencyEdge_Label = 5
1190 // Appositional modifier of an NP
1191 DependencyEdge_APPOS DependencyEdge_Label = 6
1192 // Attribute dependent of a copular verb
1193 DependencyEdge_ATTR DependencyEdge_Label = 7
1194 // Auxiliary (non-main) verb
1195 DependencyEdge_AUX DependencyEdge_Label = 8
1196 // Passive auxiliary
1197 DependencyEdge_AUXPASS DependencyEdge_Label = 9
1198 // Coordinating conjunction
1199 DependencyEdge_CC DependencyEdge_Label = 10
1200 // Clausal complement of a verb or adjective
1201 DependencyEdge_CCOMP DependencyEdge_Label = 11
1202 // Conjunct
1203 DependencyEdge_CONJ DependencyEdge_Label = 12
1204 // Clausal subject
1205 DependencyEdge_CSUBJ DependencyEdge_Label = 13
1206 // Clausal passive subject
1207 DependencyEdge_CSUBJPASS DependencyEdge_Label = 14
1208 // Dependency (unable to determine)
1209 DependencyEdge_DEP DependencyEdge_Label = 15
1210 // Determiner
1211 DependencyEdge_DET DependencyEdge_Label = 16
1212 // Discourse
1213 DependencyEdge_DISCOURSE DependencyEdge_Label = 17
1214 // Direct object
1215 DependencyEdge_DOBJ DependencyEdge_Label = 18
1216 // Expletive
1217 DependencyEdge_EXPL DependencyEdge_Label = 19
1218 // Goes with (part of a word in a text not well edited)
1219 DependencyEdge_GOESWITH DependencyEdge_Label = 20
1220 // Indirect object
1221 DependencyEdge_IOBJ DependencyEdge_Label = 21
1222 // Marker (word introducing a subordinate clause)
1223 DependencyEdge_MARK DependencyEdge_Label = 22
1224 // Multi-word expression
1225 DependencyEdge_MWE DependencyEdge_Label = 23
1226 // Multi-word verbal expression
1227 DependencyEdge_MWV DependencyEdge_Label = 24
1228 // Negation modifier
1229 DependencyEdge_NEG DependencyEdge_Label = 25
1230 // Noun compound modifier
1231 DependencyEdge_NN DependencyEdge_Label = 26
1232 // Noun phrase used as an adverbial modifier
1233 DependencyEdge_NPADVMOD DependencyEdge_Label = 27
1234 // Nominal subject
1235 DependencyEdge_NSUBJ DependencyEdge_Label = 28
1236 // Passive nominal subject
1237 DependencyEdge_NSUBJPASS DependencyEdge_Label = 29
1238 // Numeric modifier of a noun
1239 DependencyEdge_NUM DependencyEdge_Label = 30
1240 // Element of compound number
1241 DependencyEdge_NUMBER DependencyEdge_Label = 31
1242 // Punctuation mark
1243 DependencyEdge_P DependencyEdge_Label = 32
1244 // Parataxis relation
1245 DependencyEdge_PARATAXIS DependencyEdge_Label = 33
1246 // Participial modifier
1247 DependencyEdge_PARTMOD DependencyEdge_Label = 34
1248 // The complement of a preposition is a clause
1249 DependencyEdge_PCOMP DependencyEdge_Label = 35
1250 // Object of a preposition
1251 DependencyEdge_POBJ DependencyEdge_Label = 36
1252 // Possession modifier
1253 DependencyEdge_POSS DependencyEdge_Label = 37
1254 // Postverbal negative particle
1255 DependencyEdge_POSTNEG DependencyEdge_Label = 38
1256 // Predicate complement
1257 DependencyEdge_PRECOMP DependencyEdge_Label = 39
1258 // Preconjunt
1259 DependencyEdge_PRECONJ DependencyEdge_Label = 40
1260 // Predeterminer
1261 DependencyEdge_PREDET DependencyEdge_Label = 41
1262 // Prefix
1263 DependencyEdge_PREF DependencyEdge_Label = 42
1264 // Prepositional modifier
1265 DependencyEdge_PREP DependencyEdge_Label = 43
1266 // The relationship between a verb and verbal morpheme
1267 DependencyEdge_PRONL DependencyEdge_Label = 44
1268 // Particle
1269 DependencyEdge_PRT DependencyEdge_Label = 45
1270 // Associative or possessive marker
1271 DependencyEdge_PS DependencyEdge_Label = 46
1272 // Quantifier phrase modifier
1273 DependencyEdge_QUANTMOD DependencyEdge_Label = 47
1274 // Relative clause modifier
1275 DependencyEdge_RCMOD DependencyEdge_Label = 48
1276 // Complementizer in relative clause
1277 DependencyEdge_RCMODREL DependencyEdge_Label = 49
1278 // Ellipsis without a preceding predicate
1279 DependencyEdge_RDROP DependencyEdge_Label = 50
1280 // Referent
1281 DependencyEdge_REF DependencyEdge_Label = 51
1282 // Remnant
1283 DependencyEdge_REMNANT DependencyEdge_Label = 52
1284 // Reparandum
1285 DependencyEdge_REPARANDUM DependencyEdge_Label = 53
1286 // Root
1287 DependencyEdge_ROOT DependencyEdge_Label = 54
1288 // Suffix specifying a unit of number
1289 DependencyEdge_SNUM DependencyEdge_Label = 55
1290 // Suffix
1291 DependencyEdge_SUFF DependencyEdge_Label = 56
1292 // Temporal modifier
1293 DependencyEdge_TMOD DependencyEdge_Label = 57
1294 // Topic marker
1295 DependencyEdge_TOPIC DependencyEdge_Label = 58
1296 // Clause headed by an infinite form of the verb that modifies a noun
1297 DependencyEdge_VMOD DependencyEdge_Label = 59
1298 // Vocative
1299 DependencyEdge_VOCATIVE DependencyEdge_Label = 60
1300 // Open clausal complement
1301 DependencyEdge_XCOMP DependencyEdge_Label = 61
1302 // Name suffix
1303 DependencyEdge_SUFFIX DependencyEdge_Label = 62
1304 // Name title
1305 DependencyEdge_TITLE DependencyEdge_Label = 63
1306 // Adverbial phrase modifier
1307 DependencyEdge_ADVPHMOD DependencyEdge_Label = 64
1308 // Causative auxiliary
1309 DependencyEdge_AUXCAUS DependencyEdge_Label = 65
1310 // Helper auxiliary
1311 DependencyEdge_AUXVV DependencyEdge_Label = 66
1312 // Rentaishi (Prenominal modifier)
1313 DependencyEdge_DTMOD DependencyEdge_Label = 67
1314 // Foreign words
1315 DependencyEdge_FOREIGN DependencyEdge_Label = 68
1316 // Keyword
1317 DependencyEdge_KW DependencyEdge_Label = 69
1318 // List for chains of comparable items
1319 DependencyEdge_LIST DependencyEdge_Label = 70
1320 // Nominalized clause
1321 DependencyEdge_NOMC DependencyEdge_Label = 71
1322 // Nominalized clausal subject
1323 DependencyEdge_NOMCSUBJ DependencyEdge_Label = 72
1324 // Nominalized clausal passive
1325 DependencyEdge_NOMCSUBJPASS DependencyEdge_Label = 73
1326 // Compound of numeric modifier
1327 DependencyEdge_NUMC DependencyEdge_Label = 74
1328 // Copula
1329 DependencyEdge_COP DependencyEdge_Label = 75
1330 // Dislocated relation (for fronted/topicalized elements)
1331 DependencyEdge_DISLOCATED DependencyEdge_Label = 76
1332 // Aspect marker
1333 DependencyEdge_ASP DependencyEdge_Label = 77
1334 // Genitive modifier
1335 DependencyEdge_GMOD DependencyEdge_Label = 78
1336 // Genitive object
1337 DependencyEdge_GOBJ DependencyEdge_Label = 79
1338 // Infinitival modifier
1339 DependencyEdge_INFMOD DependencyEdge_Label = 80
1340 // Measure
1341 DependencyEdge_MES DependencyEdge_Label = 81
1342 // Nominal complement of a noun
1343 DependencyEdge_NCOMP DependencyEdge_Label = 82
1344 )
1345
1346 // Enum value maps for DependencyEdge_Label.
1347 var (
1348 DependencyEdge_Label_name = map[int32]string{
1349 0: "UNKNOWN",
1350 1: "ABBREV",
1351 2: "ACOMP",
1352 3: "ADVCL",
1353 4: "ADVMOD",
1354 5: "AMOD",
1355 6: "APPOS",
1356 7: "ATTR",
1357 8: "AUX",
1358 9: "AUXPASS",
1359 10: "CC",
1360 11: "CCOMP",
1361 12: "CONJ",
1362 13: "CSUBJ",
1363 14: "CSUBJPASS",
1364 15: "DEP",
1365 16: "DET",
1366 17: "DISCOURSE",
1367 18: "DOBJ",
1368 19: "EXPL",
1369 20: "GOESWITH",
1370 21: "IOBJ",
1371 22: "MARK",
1372 23: "MWE",
1373 24: "MWV",
1374 25: "NEG",
1375 26: "NN",
1376 27: "NPADVMOD",
1377 28: "NSUBJ",
1378 29: "NSUBJPASS",
1379 30: "NUM",
1380 31: "NUMBER",
1381 32: "P",
1382 33: "PARATAXIS",
1383 34: "PARTMOD",
1384 35: "PCOMP",
1385 36: "POBJ",
1386 37: "POSS",
1387 38: "POSTNEG",
1388 39: "PRECOMP",
1389 40: "PRECONJ",
1390 41: "PREDET",
1391 42: "PREF",
1392 43: "PREP",
1393 44: "PRONL",
1394 45: "PRT",
1395 46: "PS",
1396 47: "QUANTMOD",
1397 48: "RCMOD",
1398 49: "RCMODREL",
1399 50: "RDROP",
1400 51: "REF",
1401 52: "REMNANT",
1402 53: "REPARANDUM",
1403 54: "ROOT",
1404 55: "SNUM",
1405 56: "SUFF",
1406 57: "TMOD",
1407 58: "TOPIC",
1408 59: "VMOD",
1409 60: "VOCATIVE",
1410 61: "XCOMP",
1411 62: "SUFFIX",
1412 63: "TITLE",
1413 64: "ADVPHMOD",
1414 65: "AUXCAUS",
1415 66: "AUXVV",
1416 67: "DTMOD",
1417 68: "FOREIGN",
1418 69: "KW",
1419 70: "LIST",
1420 71: "NOMC",
1421 72: "NOMCSUBJ",
1422 73: "NOMCSUBJPASS",
1423 74: "NUMC",
1424 75: "COP",
1425 76: "DISLOCATED",
1426 77: "ASP",
1427 78: "GMOD",
1428 79: "GOBJ",
1429 80: "INFMOD",
1430 81: "MES",
1431 82: "NCOMP",
1432 }
1433 DependencyEdge_Label_value = map[string]int32{
1434 "UNKNOWN": 0,
1435 "ABBREV": 1,
1436 "ACOMP": 2,
1437 "ADVCL": 3,
1438 "ADVMOD": 4,
1439 "AMOD": 5,
1440 "APPOS": 6,
1441 "ATTR": 7,
1442 "AUX": 8,
1443 "AUXPASS": 9,
1444 "CC": 10,
1445 "CCOMP": 11,
1446 "CONJ": 12,
1447 "CSUBJ": 13,
1448 "CSUBJPASS": 14,
1449 "DEP": 15,
1450 "DET": 16,
1451 "DISCOURSE": 17,
1452 "DOBJ": 18,
1453 "EXPL": 19,
1454 "GOESWITH": 20,
1455 "IOBJ": 21,
1456 "MARK": 22,
1457 "MWE": 23,
1458 "MWV": 24,
1459 "NEG": 25,
1460 "NN": 26,
1461 "NPADVMOD": 27,
1462 "NSUBJ": 28,
1463 "NSUBJPASS": 29,
1464 "NUM": 30,
1465 "NUMBER": 31,
1466 "P": 32,
1467 "PARATAXIS": 33,
1468 "PARTMOD": 34,
1469 "PCOMP": 35,
1470 "POBJ": 36,
1471 "POSS": 37,
1472 "POSTNEG": 38,
1473 "PRECOMP": 39,
1474 "PRECONJ": 40,
1475 "PREDET": 41,
1476 "PREF": 42,
1477 "PREP": 43,
1478 "PRONL": 44,
1479 "PRT": 45,
1480 "PS": 46,
1481 "QUANTMOD": 47,
1482 "RCMOD": 48,
1483 "RCMODREL": 49,
1484 "RDROP": 50,
1485 "REF": 51,
1486 "REMNANT": 52,
1487 "REPARANDUM": 53,
1488 "ROOT": 54,
1489 "SNUM": 55,
1490 "SUFF": 56,
1491 "TMOD": 57,
1492 "TOPIC": 58,
1493 "VMOD": 59,
1494 "VOCATIVE": 60,
1495 "XCOMP": 61,
1496 "SUFFIX": 62,
1497 "TITLE": 63,
1498 "ADVPHMOD": 64,
1499 "AUXCAUS": 65,
1500 "AUXVV": 66,
1501 "DTMOD": 67,
1502 "FOREIGN": 68,
1503 "KW": 69,
1504 "LIST": 70,
1505 "NOMC": 71,
1506 "NOMCSUBJ": 72,
1507 "NOMCSUBJPASS": 73,
1508 "NUMC": 74,
1509 "COP": 75,
1510 "DISLOCATED": 76,
1511 "ASP": 77,
1512 "GMOD": 78,
1513 "GOBJ": 79,
1514 "INFMOD": 80,
1515 "MES": 81,
1516 "NCOMP": 82,
1517 }
1518 )
1519
1520 func (x DependencyEdge_Label) Enum() *DependencyEdge_Label {
1521 p := new(DependencyEdge_Label)
1522 *p = x
1523 return p
1524 }
1525
1526 func (x DependencyEdge_Label) String() string {
1527 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
1528 }
1529
1530 func (DependencyEdge_Label) Descriptor() protoreflect.EnumDescriptor {
1531 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[16].Descriptor()
1532 }
1533
1534 func (DependencyEdge_Label) Type() protoreflect.EnumType {
1535 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[16]
1536 }
1537
1538 func (x DependencyEdge_Label) Number() protoreflect.EnumNumber {
1539 return protoreflect.EnumNumber(x)
1540 }
1541
1542 // Deprecated: Use DependencyEdge_Label.Descriptor instead.
1543 func (DependencyEdge_Label) EnumDescriptor() ([]byte, []int) {
1544 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{6, 0}
1545 }
1546
1547 // The supported types of mentions.
1548 type EntityMention_Type int32
1549
1550 const (
1551 // Unknown
1552 EntityMention_TYPE_UNKNOWN EntityMention_Type = 0
1553 // Proper name
1554 EntityMention_PROPER EntityMention_Type = 1
1555 // Common noun (or noun compound)
1556 EntityMention_COMMON EntityMention_Type = 2
1557 )
1558
1559 // Enum value maps for EntityMention_Type.
1560 var (
1561 EntityMention_Type_name = map[int32]string{
1562 0: "TYPE_UNKNOWN",
1563 1: "PROPER",
1564 2: "COMMON",
1565 }
1566 EntityMention_Type_value = map[string]int32{
1567 "TYPE_UNKNOWN": 0,
1568 "PROPER": 1,
1569 "COMMON": 2,
1570 }
1571 )
1572
1573 func (x EntityMention_Type) Enum() *EntityMention_Type {
1574 p := new(EntityMention_Type)
1575 *p = x
1576 return p
1577 }
1578
1579 func (x EntityMention_Type) String() string {
1580 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
1581 }
1582
1583 func (EntityMention_Type) Descriptor() protoreflect.EnumDescriptor {
1584 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[17].Descriptor()
1585 }
1586
1587 func (EntityMention_Type) Type() protoreflect.EnumType {
1588 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[17]
1589 }
1590
1591 func (x EntityMention_Type) Number() protoreflect.EnumNumber {
1592 return protoreflect.EnumNumber(x)
1593 }
1594
1595 // Deprecated: Use EntityMention_Type.Descriptor instead.
1596 func (EntityMention_Type) EnumDescriptor() ([]byte, []int) {
1597 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{7, 0}
1598 }
1599
1600 // The content categories used for classification.
1601 type ClassificationModelOptions_V2Model_ContentCategoriesVersion int32
1602
1603 const (
1604 // If `ContentCategoriesVersion` is not specified, this option will
1605 // default to `V1`.
1606 ClassificationModelOptions_V2Model_CONTENT_CATEGORIES_VERSION_UNSPECIFIED ClassificationModelOptions_V2Model_ContentCategoriesVersion = 0
1607 // Legacy content categories of our initial launch in 2017.
1608 ClassificationModelOptions_V2Model_V1 ClassificationModelOptions_V2Model_ContentCategoriesVersion = 1
1609 // Updated content categories in 2022.
1610 ClassificationModelOptions_V2Model_V2 ClassificationModelOptions_V2Model_ContentCategoriesVersion = 2
1611 )
1612
1613 // Enum value maps for ClassificationModelOptions_V2Model_ContentCategoriesVersion.
1614 var (
1615 ClassificationModelOptions_V2Model_ContentCategoriesVersion_name = map[int32]string{
1616 0: "CONTENT_CATEGORIES_VERSION_UNSPECIFIED",
1617 1: "V1",
1618 2: "V2",
1619 }
1620 ClassificationModelOptions_V2Model_ContentCategoriesVersion_value = map[string]int32{
1621 "CONTENT_CATEGORIES_VERSION_UNSPECIFIED": 0,
1622 "V1": 1,
1623 "V2": 2,
1624 }
1625 )
1626
1627 func (x ClassificationModelOptions_V2Model_ContentCategoriesVersion) Enum() *ClassificationModelOptions_V2Model_ContentCategoriesVersion {
1628 p := new(ClassificationModelOptions_V2Model_ContentCategoriesVersion)
1629 *p = x
1630 return p
1631 }
1632
1633 func (x ClassificationModelOptions_V2Model_ContentCategoriesVersion) String() string {
1634 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
1635 }
1636
1637 func (ClassificationModelOptions_V2Model_ContentCategoriesVersion) Descriptor() protoreflect.EnumDescriptor {
1638 return file_google_cloud_language_v1beta2_language_service_proto_enumTypes[18].Descriptor()
1639 }
1640
1641 func (ClassificationModelOptions_V2Model_ContentCategoriesVersion) Type() protoreflect.EnumType {
1642 return &file_google_cloud_language_v1beta2_language_service_proto_enumTypes[18]
1643 }
1644
1645 func (x ClassificationModelOptions_V2Model_ContentCategoriesVersion) Number() protoreflect.EnumNumber {
1646 return protoreflect.EnumNumber(x)
1647 }
1648
1649 // Deprecated: Use ClassificationModelOptions_V2Model_ContentCategoriesVersion.Descriptor instead.
1650 func (ClassificationModelOptions_V2Model_ContentCategoriesVersion) EnumDescriptor() ([]byte, []int) {
1651 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{10, 1, 0}
1652 }
1653
1654 // Represents the input to API methods.
1655 type Document struct {
1656 state protoimpl.MessageState
1657 sizeCache protoimpl.SizeCache
1658 unknownFields protoimpl.UnknownFields
1659
1660 // Required. If the type is not set or is `TYPE_UNSPECIFIED`,
1661 // returns an `INVALID_ARGUMENT` error.
1662 Type Document_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.language.v1beta2.Document_Type" json:"type,omitempty"`
1663 // The source of the document: a string containing the content or a
1664 // Google Cloud Storage URI.
1665 //
1666 // Types that are assignable to Source:
1667 //
1668 // *Document_Content
1669 // *Document_GcsContentUri
1670 Source isDocument_Source `protobuf_oneof:"source"`
1671 // The language of the document (if not specified, the language is
1672 // automatically detected). Both ISO and BCP-47 language codes are
1673 // accepted.<br>
1674 // [Language
1675 // Support](https://cloud.google.com/natural-language/docs/languages) lists
1676 // currently supported languages for each API method. If the language (either
1677 // specified by the caller or automatically detected) is not supported by the
1678 // called API method, an `INVALID_ARGUMENT` error is returned.
1679 Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`
1680 // The web URI where the document comes from. This URI is not used for
1681 // fetching the content, but as a hint for analyzing the document.
1682 ReferenceWebUri string `protobuf:"bytes,5,opt,name=reference_web_uri,json=referenceWebUri,proto3" json:"reference_web_uri,omitempty"`
1683 // Indicates how detected boilerplate(e.g. advertisements, copyright
1684 // declarations, banners) should be handled for this document. If not
1685 // specified, boilerplate will be treated the same as content.
1686 BoilerplateHandling Document_BoilerplateHandling `protobuf:"varint,6,opt,name=boilerplate_handling,json=boilerplateHandling,proto3,enum=google.cloud.language.v1beta2.Document_BoilerplateHandling" json:"boilerplate_handling,omitempty"`
1687 }
1688
1689 func (x *Document) Reset() {
1690 *x = Document{}
1691 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[0]
1692 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1693 ms.StoreMessageInfo(mi)
1694 }
1695
1696 func (x *Document) String() string {
1697 return protoimpl.X.MessageStringOf(x)
1698 }
1699
1700 func (*Document) ProtoMessage() {}
1701
1702 func (x *Document) ProtoReflect() protoreflect.Message {
1703 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[0]
1704 if x != nil {
1705 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1706 if ms.LoadMessageInfo() == nil {
1707 ms.StoreMessageInfo(mi)
1708 }
1709 return ms
1710 }
1711 return mi.MessageOf(x)
1712 }
1713
1714 // Deprecated: Use Document.ProtoReflect.Descriptor instead.
1715 func (*Document) Descriptor() ([]byte, []int) {
1716 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{0}
1717 }
1718
1719 func (x *Document) GetType() Document_Type {
1720 if x != nil {
1721 return x.Type
1722 }
1723 return Document_TYPE_UNSPECIFIED
1724 }
1725
1726 func (m *Document) GetSource() isDocument_Source {
1727 if m != nil {
1728 return m.Source
1729 }
1730 return nil
1731 }
1732
1733 func (x *Document) GetContent() string {
1734 if x, ok := x.GetSource().(*Document_Content); ok {
1735 return x.Content
1736 }
1737 return ""
1738 }
1739
1740 func (x *Document) GetGcsContentUri() string {
1741 if x, ok := x.GetSource().(*Document_GcsContentUri); ok {
1742 return x.GcsContentUri
1743 }
1744 return ""
1745 }
1746
1747 func (x *Document) GetLanguage() string {
1748 if x != nil {
1749 return x.Language
1750 }
1751 return ""
1752 }
1753
1754 func (x *Document) GetReferenceWebUri() string {
1755 if x != nil {
1756 return x.ReferenceWebUri
1757 }
1758 return ""
1759 }
1760
1761 func (x *Document) GetBoilerplateHandling() Document_BoilerplateHandling {
1762 if x != nil {
1763 return x.BoilerplateHandling
1764 }
1765 return Document_BOILERPLATE_HANDLING_UNSPECIFIED
1766 }
1767
1768 type isDocument_Source interface {
1769 isDocument_Source()
1770 }
1771
1772 type Document_Content struct {
1773 // The content of the input in string format.
1774 // Cloud audit logging exempt since it is based on user data.
1775 Content string `protobuf:"bytes,2,opt,name=content,proto3,oneof"`
1776 }
1777
1778 type Document_GcsContentUri struct {
1779 // The Google Cloud Storage URI where the file content is located.
1780 // This URI must be of the form: gs://bucket_name/object_name. For more
1781 // details, see https://cloud.google.com/storage/docs/reference-uris.
1782 // NOTE: Cloud Storage object versioning is not supported.
1783 GcsContentUri string `protobuf:"bytes,3,opt,name=gcs_content_uri,json=gcsContentUri,proto3,oneof"`
1784 }
1785
1786 func (*Document_Content) isDocument_Source() {}
1787
1788 func (*Document_GcsContentUri) isDocument_Source() {}
1789
1790 // Represents a sentence in the input document.
1791 type Sentence struct {
1792 state protoimpl.MessageState
1793 sizeCache protoimpl.SizeCache
1794 unknownFields protoimpl.UnknownFields
1795
1796 // The sentence text.
1797 Text *TextSpan `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
1798 // For calls to [AnalyzeSentiment][] or if
1799 // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_document_sentiment]
1800 // is set to true, this field will contain the sentiment for the sentence.
1801 Sentiment *Sentiment `protobuf:"bytes,2,opt,name=sentiment,proto3" json:"sentiment,omitempty"`
1802 }
1803
1804 func (x *Sentence) Reset() {
1805 *x = Sentence{}
1806 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[1]
1807 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1808 ms.StoreMessageInfo(mi)
1809 }
1810
1811 func (x *Sentence) String() string {
1812 return protoimpl.X.MessageStringOf(x)
1813 }
1814
1815 func (*Sentence) ProtoMessage() {}
1816
1817 func (x *Sentence) ProtoReflect() protoreflect.Message {
1818 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[1]
1819 if x != nil {
1820 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1821 if ms.LoadMessageInfo() == nil {
1822 ms.StoreMessageInfo(mi)
1823 }
1824 return ms
1825 }
1826 return mi.MessageOf(x)
1827 }
1828
1829 // Deprecated: Use Sentence.ProtoReflect.Descriptor instead.
1830 func (*Sentence) Descriptor() ([]byte, []int) {
1831 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{1}
1832 }
1833
1834 func (x *Sentence) GetText() *TextSpan {
1835 if x != nil {
1836 return x.Text
1837 }
1838 return nil
1839 }
1840
1841 func (x *Sentence) GetSentiment() *Sentiment {
1842 if x != nil {
1843 return x.Sentiment
1844 }
1845 return nil
1846 }
1847
1848 // Represents a phrase in the text that is a known entity, such as
1849 // a person, an organization, or location. The API associates information, such
1850 // as salience and mentions, with entities.
1851 type Entity struct {
1852 state protoimpl.MessageState
1853 sizeCache protoimpl.SizeCache
1854 unknownFields protoimpl.UnknownFields
1855
1856 // The representative name for the entity.
1857 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1858 // The entity type.
1859 Type Entity_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.language.v1beta2.Entity_Type" json:"type,omitempty"`
1860 // Metadata associated with the entity.
1861 //
1862 // For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
1863 // and Knowledge Graph MID (`mid`), if they are available. For the metadata
1864 // associated with other entity types, see the Type table below.
1865 Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
1866 // The salience score associated with the entity in the [0, 1.0] range.
1867 //
1868 // The salience score for an entity provides information about the
1869 // importance or centrality of that entity to the entire document text.
1870 // Scores closer to 0 are less salient, while scores closer to 1.0 are highly
1871 // salient.
1872 Salience float32 `protobuf:"fixed32,4,opt,name=salience,proto3" json:"salience,omitempty"`
1873 // The mentions of this entity in the input document. The API currently
1874 // supports proper noun mentions.
1875 Mentions []*EntityMention `protobuf:"bytes,5,rep,name=mentions,proto3" json:"mentions,omitempty"`
1876 // For calls to [AnalyzeEntitySentiment][] or if
1877 // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entity_sentiment]
1878 // is set to true, this field will contain the aggregate sentiment expressed
1879 // for this entity in the provided document.
1880 Sentiment *Sentiment `protobuf:"bytes,6,opt,name=sentiment,proto3" json:"sentiment,omitempty"`
1881 }
1882
1883 func (x *Entity) Reset() {
1884 *x = Entity{}
1885 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[2]
1886 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1887 ms.StoreMessageInfo(mi)
1888 }
1889
1890 func (x *Entity) String() string {
1891 return protoimpl.X.MessageStringOf(x)
1892 }
1893
1894 func (*Entity) ProtoMessage() {}
1895
1896 func (x *Entity) ProtoReflect() protoreflect.Message {
1897 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[2]
1898 if x != nil {
1899 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1900 if ms.LoadMessageInfo() == nil {
1901 ms.StoreMessageInfo(mi)
1902 }
1903 return ms
1904 }
1905 return mi.MessageOf(x)
1906 }
1907
1908 // Deprecated: Use Entity.ProtoReflect.Descriptor instead.
1909 func (*Entity) Descriptor() ([]byte, []int) {
1910 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{2}
1911 }
1912
1913 func (x *Entity) GetName() string {
1914 if x != nil {
1915 return x.Name
1916 }
1917 return ""
1918 }
1919
1920 func (x *Entity) GetType() Entity_Type {
1921 if x != nil {
1922 return x.Type
1923 }
1924 return Entity_UNKNOWN
1925 }
1926
1927 func (x *Entity) GetMetadata() map[string]string {
1928 if x != nil {
1929 return x.Metadata
1930 }
1931 return nil
1932 }
1933
1934 func (x *Entity) GetSalience() float32 {
1935 if x != nil {
1936 return x.Salience
1937 }
1938 return 0
1939 }
1940
1941 func (x *Entity) GetMentions() []*EntityMention {
1942 if x != nil {
1943 return x.Mentions
1944 }
1945 return nil
1946 }
1947
1948 func (x *Entity) GetSentiment() *Sentiment {
1949 if x != nil {
1950 return x.Sentiment
1951 }
1952 return nil
1953 }
1954
1955 // Represents the smallest syntactic building block of the text.
1956 type Token struct {
1957 state protoimpl.MessageState
1958 sizeCache protoimpl.SizeCache
1959 unknownFields protoimpl.UnknownFields
1960
1961 // The token text.
1962 Text *TextSpan `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
1963 // Parts of speech tag for this token.
1964 PartOfSpeech *PartOfSpeech `protobuf:"bytes,2,opt,name=part_of_speech,json=partOfSpeech,proto3" json:"part_of_speech,omitempty"`
1965 // Dependency tree parse for this token.
1966 DependencyEdge *DependencyEdge `protobuf:"bytes,3,opt,name=dependency_edge,json=dependencyEdge,proto3" json:"dependency_edge,omitempty"`
1967 // [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.
1968 Lemma string `protobuf:"bytes,4,opt,name=lemma,proto3" json:"lemma,omitempty"`
1969 }
1970
1971 func (x *Token) Reset() {
1972 *x = Token{}
1973 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[3]
1974 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1975 ms.StoreMessageInfo(mi)
1976 }
1977
1978 func (x *Token) String() string {
1979 return protoimpl.X.MessageStringOf(x)
1980 }
1981
1982 func (*Token) ProtoMessage() {}
1983
1984 func (x *Token) ProtoReflect() protoreflect.Message {
1985 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[3]
1986 if x != nil {
1987 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1988 if ms.LoadMessageInfo() == nil {
1989 ms.StoreMessageInfo(mi)
1990 }
1991 return ms
1992 }
1993 return mi.MessageOf(x)
1994 }
1995
1996 // Deprecated: Use Token.ProtoReflect.Descriptor instead.
1997 func (*Token) Descriptor() ([]byte, []int) {
1998 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{3}
1999 }
2000
2001 func (x *Token) GetText() *TextSpan {
2002 if x != nil {
2003 return x.Text
2004 }
2005 return nil
2006 }
2007
2008 func (x *Token) GetPartOfSpeech() *PartOfSpeech {
2009 if x != nil {
2010 return x.PartOfSpeech
2011 }
2012 return nil
2013 }
2014
2015 func (x *Token) GetDependencyEdge() *DependencyEdge {
2016 if x != nil {
2017 return x.DependencyEdge
2018 }
2019 return nil
2020 }
2021
2022 func (x *Token) GetLemma() string {
2023 if x != nil {
2024 return x.Lemma
2025 }
2026 return ""
2027 }
2028
2029 // Represents the feeling associated with the entire text or entities in
2030 // the text.
2031 // Next ID: 6
2032 type Sentiment struct {
2033 state protoimpl.MessageState
2034 sizeCache protoimpl.SizeCache
2035 unknownFields protoimpl.UnknownFields
2036
2037 // A non-negative number in the [0, +inf) range, which represents
2038 // the absolute magnitude of sentiment regardless of score (positive or
2039 // negative).
2040 Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"`
2041 // Sentiment score between -1.0 (negative sentiment) and 1.0
2042 // (positive sentiment).
2043 Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"`
2044 }
2045
2046 func (x *Sentiment) Reset() {
2047 *x = Sentiment{}
2048 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[4]
2049 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2050 ms.StoreMessageInfo(mi)
2051 }
2052
2053 func (x *Sentiment) String() string {
2054 return protoimpl.X.MessageStringOf(x)
2055 }
2056
2057 func (*Sentiment) ProtoMessage() {}
2058
2059 func (x *Sentiment) ProtoReflect() protoreflect.Message {
2060 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[4]
2061 if x != nil {
2062 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2063 if ms.LoadMessageInfo() == nil {
2064 ms.StoreMessageInfo(mi)
2065 }
2066 return ms
2067 }
2068 return mi.MessageOf(x)
2069 }
2070
2071 // Deprecated: Use Sentiment.ProtoReflect.Descriptor instead.
2072 func (*Sentiment) Descriptor() ([]byte, []int) {
2073 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{4}
2074 }
2075
2076 func (x *Sentiment) GetMagnitude() float32 {
2077 if x != nil {
2078 return x.Magnitude
2079 }
2080 return 0
2081 }
2082
2083 func (x *Sentiment) GetScore() float32 {
2084 if x != nil {
2085 return x.Score
2086 }
2087 return 0
2088 }
2089
2090 // Represents part of speech information for a token.
2091 type PartOfSpeech struct {
2092 state protoimpl.MessageState
2093 sizeCache protoimpl.SizeCache
2094 unknownFields protoimpl.UnknownFields
2095
2096 // The part of speech tag.
2097 Tag PartOfSpeech_Tag `protobuf:"varint,1,opt,name=tag,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Tag" json:"tag,omitempty"`
2098 // The grammatical aspect.
2099 Aspect PartOfSpeech_Aspect `protobuf:"varint,2,opt,name=aspect,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Aspect" json:"aspect,omitempty"`
2100 // The grammatical case.
2101 Case PartOfSpeech_Case `protobuf:"varint,3,opt,name=case,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Case" json:"case,omitempty"`
2102 // The grammatical form.
2103 Form PartOfSpeech_Form `protobuf:"varint,4,opt,name=form,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Form" json:"form,omitempty"`
2104 // The grammatical gender.
2105 Gender PartOfSpeech_Gender `protobuf:"varint,5,opt,name=gender,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Gender" json:"gender,omitempty"`
2106 // The grammatical mood.
2107 Mood PartOfSpeech_Mood `protobuf:"varint,6,opt,name=mood,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Mood" json:"mood,omitempty"`
2108 // The grammatical number.
2109 Number PartOfSpeech_Number `protobuf:"varint,7,opt,name=number,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Number" json:"number,omitempty"`
2110 // The grammatical person.
2111 Person PartOfSpeech_Person `protobuf:"varint,8,opt,name=person,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Person" json:"person,omitempty"`
2112 // The grammatical properness.
2113 Proper PartOfSpeech_Proper `protobuf:"varint,9,opt,name=proper,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Proper" json:"proper,omitempty"`
2114 // The grammatical reciprocity.
2115 Reciprocity PartOfSpeech_Reciprocity `protobuf:"varint,10,opt,name=reciprocity,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Reciprocity" json:"reciprocity,omitempty"`
2116 // The grammatical tense.
2117 Tense PartOfSpeech_Tense `protobuf:"varint,11,opt,name=tense,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Tense" json:"tense,omitempty"`
2118 // The grammatical voice.
2119 Voice PartOfSpeech_Voice `protobuf:"varint,12,opt,name=voice,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Voice" json:"voice,omitempty"`
2120 }
2121
2122 func (x *PartOfSpeech) Reset() {
2123 *x = PartOfSpeech{}
2124 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[5]
2125 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2126 ms.StoreMessageInfo(mi)
2127 }
2128
2129 func (x *PartOfSpeech) String() string {
2130 return protoimpl.X.MessageStringOf(x)
2131 }
2132
2133 func (*PartOfSpeech) ProtoMessage() {}
2134
2135 func (x *PartOfSpeech) ProtoReflect() protoreflect.Message {
2136 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[5]
2137 if x != nil {
2138 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2139 if ms.LoadMessageInfo() == nil {
2140 ms.StoreMessageInfo(mi)
2141 }
2142 return ms
2143 }
2144 return mi.MessageOf(x)
2145 }
2146
2147 // Deprecated: Use PartOfSpeech.ProtoReflect.Descriptor instead.
2148 func (*PartOfSpeech) Descriptor() ([]byte, []int) {
2149 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{5}
2150 }
2151
2152 func (x *PartOfSpeech) GetTag() PartOfSpeech_Tag {
2153 if x != nil {
2154 return x.Tag
2155 }
2156 return PartOfSpeech_UNKNOWN
2157 }
2158
2159 func (x *PartOfSpeech) GetAspect() PartOfSpeech_Aspect {
2160 if x != nil {
2161 return x.Aspect
2162 }
2163 return PartOfSpeech_ASPECT_UNKNOWN
2164 }
2165
2166 func (x *PartOfSpeech) GetCase() PartOfSpeech_Case {
2167 if x != nil {
2168 return x.Case
2169 }
2170 return PartOfSpeech_CASE_UNKNOWN
2171 }
2172
2173 func (x *PartOfSpeech) GetForm() PartOfSpeech_Form {
2174 if x != nil {
2175 return x.Form
2176 }
2177 return PartOfSpeech_FORM_UNKNOWN
2178 }
2179
2180 func (x *PartOfSpeech) GetGender() PartOfSpeech_Gender {
2181 if x != nil {
2182 return x.Gender
2183 }
2184 return PartOfSpeech_GENDER_UNKNOWN
2185 }
2186
2187 func (x *PartOfSpeech) GetMood() PartOfSpeech_Mood {
2188 if x != nil {
2189 return x.Mood
2190 }
2191 return PartOfSpeech_MOOD_UNKNOWN
2192 }
2193
2194 func (x *PartOfSpeech) GetNumber() PartOfSpeech_Number {
2195 if x != nil {
2196 return x.Number
2197 }
2198 return PartOfSpeech_NUMBER_UNKNOWN
2199 }
2200
2201 func (x *PartOfSpeech) GetPerson() PartOfSpeech_Person {
2202 if x != nil {
2203 return x.Person
2204 }
2205 return PartOfSpeech_PERSON_UNKNOWN
2206 }
2207
2208 func (x *PartOfSpeech) GetProper() PartOfSpeech_Proper {
2209 if x != nil {
2210 return x.Proper
2211 }
2212 return PartOfSpeech_PROPER_UNKNOWN
2213 }
2214
2215 func (x *PartOfSpeech) GetReciprocity() PartOfSpeech_Reciprocity {
2216 if x != nil {
2217 return x.Reciprocity
2218 }
2219 return PartOfSpeech_RECIPROCITY_UNKNOWN
2220 }
2221
2222 func (x *PartOfSpeech) GetTense() PartOfSpeech_Tense {
2223 if x != nil {
2224 return x.Tense
2225 }
2226 return PartOfSpeech_TENSE_UNKNOWN
2227 }
2228
2229 func (x *PartOfSpeech) GetVoice() PartOfSpeech_Voice {
2230 if x != nil {
2231 return x.Voice
2232 }
2233 return PartOfSpeech_VOICE_UNKNOWN
2234 }
2235
2236 // Represents dependency parse tree information for a token.
2237 type DependencyEdge struct {
2238 state protoimpl.MessageState
2239 sizeCache protoimpl.SizeCache
2240 unknownFields protoimpl.UnknownFields
2241
2242 // Represents the head of this token in the dependency tree.
2243 // This is the index of the token which has an arc going to this token.
2244 // The index is the position of the token in the array of tokens returned
2245 // by the API method. If this token is a root token, then the
2246 // `head_token_index` is its own index.
2247 HeadTokenIndex int32 `protobuf:"varint,1,opt,name=head_token_index,json=headTokenIndex,proto3" json:"head_token_index,omitempty"`
2248 // The parse label for the token.
2249 Label DependencyEdge_Label `protobuf:"varint,2,opt,name=label,proto3,enum=google.cloud.language.v1beta2.DependencyEdge_Label" json:"label,omitempty"`
2250 }
2251
2252 func (x *DependencyEdge) Reset() {
2253 *x = DependencyEdge{}
2254 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[6]
2255 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2256 ms.StoreMessageInfo(mi)
2257 }
2258
2259 func (x *DependencyEdge) String() string {
2260 return protoimpl.X.MessageStringOf(x)
2261 }
2262
2263 func (*DependencyEdge) ProtoMessage() {}
2264
2265 func (x *DependencyEdge) ProtoReflect() protoreflect.Message {
2266 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[6]
2267 if x != nil {
2268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2269 if ms.LoadMessageInfo() == nil {
2270 ms.StoreMessageInfo(mi)
2271 }
2272 return ms
2273 }
2274 return mi.MessageOf(x)
2275 }
2276
2277 // Deprecated: Use DependencyEdge.ProtoReflect.Descriptor instead.
2278 func (*DependencyEdge) Descriptor() ([]byte, []int) {
2279 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{6}
2280 }
2281
2282 func (x *DependencyEdge) GetHeadTokenIndex() int32 {
2283 if x != nil {
2284 return x.HeadTokenIndex
2285 }
2286 return 0
2287 }
2288
2289 func (x *DependencyEdge) GetLabel() DependencyEdge_Label {
2290 if x != nil {
2291 return x.Label
2292 }
2293 return DependencyEdge_UNKNOWN
2294 }
2295
2296 // Represents a mention for an entity in the text. Currently, proper noun
2297 // mentions are supported.
2298 type EntityMention struct {
2299 state protoimpl.MessageState
2300 sizeCache protoimpl.SizeCache
2301 unknownFields protoimpl.UnknownFields
2302
2303 // The mention text.
2304 Text *TextSpan `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
2305 // The type of the entity mention.
2306 Type EntityMention_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.language.v1beta2.EntityMention_Type" json:"type,omitempty"`
2307 // For calls to [AnalyzeEntitySentiment][] or if
2308 // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entity_sentiment]
2309 // is set to true, this field will contain the sentiment expressed for this
2310 // mention of the entity in the provided document.
2311 Sentiment *Sentiment `protobuf:"bytes,3,opt,name=sentiment,proto3" json:"sentiment,omitempty"`
2312 }
2313
2314 func (x *EntityMention) Reset() {
2315 *x = EntityMention{}
2316 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[7]
2317 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2318 ms.StoreMessageInfo(mi)
2319 }
2320
2321 func (x *EntityMention) String() string {
2322 return protoimpl.X.MessageStringOf(x)
2323 }
2324
2325 func (*EntityMention) ProtoMessage() {}
2326
2327 func (x *EntityMention) ProtoReflect() protoreflect.Message {
2328 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[7]
2329 if x != nil {
2330 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2331 if ms.LoadMessageInfo() == nil {
2332 ms.StoreMessageInfo(mi)
2333 }
2334 return ms
2335 }
2336 return mi.MessageOf(x)
2337 }
2338
2339 // Deprecated: Use EntityMention.ProtoReflect.Descriptor instead.
2340 func (*EntityMention) Descriptor() ([]byte, []int) {
2341 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{7}
2342 }
2343
2344 func (x *EntityMention) GetText() *TextSpan {
2345 if x != nil {
2346 return x.Text
2347 }
2348 return nil
2349 }
2350
2351 func (x *EntityMention) GetType() EntityMention_Type {
2352 if x != nil {
2353 return x.Type
2354 }
2355 return EntityMention_TYPE_UNKNOWN
2356 }
2357
2358 func (x *EntityMention) GetSentiment() *Sentiment {
2359 if x != nil {
2360 return x.Sentiment
2361 }
2362 return nil
2363 }
2364
2365 // Represents an output piece of text.
2366 type TextSpan struct {
2367 state protoimpl.MessageState
2368 sizeCache protoimpl.SizeCache
2369 unknownFields protoimpl.UnknownFields
2370
2371 // The content of the output text.
2372 Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
2373 // The API calculates the beginning offset of the content in the original
2374 // document according to the
2375 // [EncodingType][google.cloud.language.v1beta2.EncodingType] specified in the
2376 // API request.
2377 BeginOffset int32 `protobuf:"varint,2,opt,name=begin_offset,json=beginOffset,proto3" json:"begin_offset,omitempty"`
2378 }
2379
2380 func (x *TextSpan) Reset() {
2381 *x = TextSpan{}
2382 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[8]
2383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2384 ms.StoreMessageInfo(mi)
2385 }
2386
2387 func (x *TextSpan) String() string {
2388 return protoimpl.X.MessageStringOf(x)
2389 }
2390
2391 func (*TextSpan) ProtoMessage() {}
2392
2393 func (x *TextSpan) ProtoReflect() protoreflect.Message {
2394 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[8]
2395 if x != nil {
2396 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2397 if ms.LoadMessageInfo() == nil {
2398 ms.StoreMessageInfo(mi)
2399 }
2400 return ms
2401 }
2402 return mi.MessageOf(x)
2403 }
2404
2405 // Deprecated: Use TextSpan.ProtoReflect.Descriptor instead.
2406 func (*TextSpan) Descriptor() ([]byte, []int) {
2407 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{8}
2408 }
2409
2410 func (x *TextSpan) GetContent() string {
2411 if x != nil {
2412 return x.Content
2413 }
2414 return ""
2415 }
2416
2417 func (x *TextSpan) GetBeginOffset() int32 {
2418 if x != nil {
2419 return x.BeginOffset
2420 }
2421 return 0
2422 }
2423
2424 // Represents a category returned from the text classifier.
2425 type ClassificationCategory struct {
2426 state protoimpl.MessageState
2427 sizeCache protoimpl.SizeCache
2428 unknownFields protoimpl.UnknownFields
2429
2430 // The name of the category representing the document.
2431 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
2432 // The classifier's confidence of the category. Number represents how certain
2433 // the classifier is that this category represents the given text.
2434 Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
2435 }
2436
2437 func (x *ClassificationCategory) Reset() {
2438 *x = ClassificationCategory{}
2439 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[9]
2440 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2441 ms.StoreMessageInfo(mi)
2442 }
2443
2444 func (x *ClassificationCategory) String() string {
2445 return protoimpl.X.MessageStringOf(x)
2446 }
2447
2448 func (*ClassificationCategory) ProtoMessage() {}
2449
2450 func (x *ClassificationCategory) ProtoReflect() protoreflect.Message {
2451 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[9]
2452 if x != nil {
2453 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2454 if ms.LoadMessageInfo() == nil {
2455 ms.StoreMessageInfo(mi)
2456 }
2457 return ms
2458 }
2459 return mi.MessageOf(x)
2460 }
2461
2462 // Deprecated: Use ClassificationCategory.ProtoReflect.Descriptor instead.
2463 func (*ClassificationCategory) Descriptor() ([]byte, []int) {
2464 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{9}
2465 }
2466
2467 func (x *ClassificationCategory) GetName() string {
2468 if x != nil {
2469 return x.Name
2470 }
2471 return ""
2472 }
2473
2474 func (x *ClassificationCategory) GetConfidence() float32 {
2475 if x != nil {
2476 return x.Confidence
2477 }
2478 return 0
2479 }
2480
2481 // Model options available for classification requests.
2482 type ClassificationModelOptions struct {
2483 state protoimpl.MessageState
2484 sizeCache protoimpl.SizeCache
2485 unknownFields protoimpl.UnknownFields
2486
2487 // If this field is not set, then the `v1_model` will be used by default.
2488 //
2489 // Types that are assignable to ModelType:
2490 //
2491 // *ClassificationModelOptions_V1Model_
2492 // *ClassificationModelOptions_V2Model_
2493 ModelType isClassificationModelOptions_ModelType `protobuf_oneof:"model_type"`
2494 }
2495
2496 func (x *ClassificationModelOptions) Reset() {
2497 *x = ClassificationModelOptions{}
2498 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[10]
2499 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2500 ms.StoreMessageInfo(mi)
2501 }
2502
2503 func (x *ClassificationModelOptions) String() string {
2504 return protoimpl.X.MessageStringOf(x)
2505 }
2506
2507 func (*ClassificationModelOptions) ProtoMessage() {}
2508
2509 func (x *ClassificationModelOptions) ProtoReflect() protoreflect.Message {
2510 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[10]
2511 if x != nil {
2512 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2513 if ms.LoadMessageInfo() == nil {
2514 ms.StoreMessageInfo(mi)
2515 }
2516 return ms
2517 }
2518 return mi.MessageOf(x)
2519 }
2520
2521 // Deprecated: Use ClassificationModelOptions.ProtoReflect.Descriptor instead.
2522 func (*ClassificationModelOptions) Descriptor() ([]byte, []int) {
2523 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{10}
2524 }
2525
2526 func (m *ClassificationModelOptions) GetModelType() isClassificationModelOptions_ModelType {
2527 if m != nil {
2528 return m.ModelType
2529 }
2530 return nil
2531 }
2532
2533 func (x *ClassificationModelOptions) GetV1Model() *ClassificationModelOptions_V1Model {
2534 if x, ok := x.GetModelType().(*ClassificationModelOptions_V1Model_); ok {
2535 return x.V1Model
2536 }
2537 return nil
2538 }
2539
2540 func (x *ClassificationModelOptions) GetV2Model() *ClassificationModelOptions_V2Model {
2541 if x, ok := x.GetModelType().(*ClassificationModelOptions_V2Model_); ok {
2542 return x.V2Model
2543 }
2544 return nil
2545 }
2546
2547 type isClassificationModelOptions_ModelType interface {
2548 isClassificationModelOptions_ModelType()
2549 }
2550
2551 type ClassificationModelOptions_V1Model_ struct {
2552 // Setting this field will use the V1 model and V1 content categories
2553 // version. The V1 model is a legacy model; support for this will be
2554 // discontinued in the future.
2555 V1Model *ClassificationModelOptions_V1Model `protobuf:"bytes,1,opt,name=v1_model,json=v1Model,proto3,oneof"`
2556 }
2557
2558 type ClassificationModelOptions_V2Model_ struct {
2559 // Setting this field will use the V2 model with the appropriate content
2560 // categories version. The V2 model is a better performing model.
2561 V2Model *ClassificationModelOptions_V2Model `protobuf:"bytes,2,opt,name=v2_model,json=v2Model,proto3,oneof"`
2562 }
2563
2564 func (*ClassificationModelOptions_V1Model_) isClassificationModelOptions_ModelType() {}
2565
2566 func (*ClassificationModelOptions_V2Model_) isClassificationModelOptions_ModelType() {}
2567
2568 // The sentiment analysis request message.
2569 type AnalyzeSentimentRequest struct {
2570 state protoimpl.MessageState
2571 sizeCache protoimpl.SizeCache
2572 unknownFields protoimpl.UnknownFields
2573
2574 // Required. Input document.
2575 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
2576 // The encoding type used by the API to calculate sentence offsets for the
2577 // sentence sentiment.
2578 EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta2.EncodingType" json:"encoding_type,omitempty"`
2579 }
2580
2581 func (x *AnalyzeSentimentRequest) Reset() {
2582 *x = AnalyzeSentimentRequest{}
2583 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[11]
2584 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2585 ms.StoreMessageInfo(mi)
2586 }
2587
2588 func (x *AnalyzeSentimentRequest) String() string {
2589 return protoimpl.X.MessageStringOf(x)
2590 }
2591
2592 func (*AnalyzeSentimentRequest) ProtoMessage() {}
2593
2594 func (x *AnalyzeSentimentRequest) ProtoReflect() protoreflect.Message {
2595 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[11]
2596 if x != nil {
2597 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2598 if ms.LoadMessageInfo() == nil {
2599 ms.StoreMessageInfo(mi)
2600 }
2601 return ms
2602 }
2603 return mi.MessageOf(x)
2604 }
2605
2606 // Deprecated: Use AnalyzeSentimentRequest.ProtoReflect.Descriptor instead.
2607 func (*AnalyzeSentimentRequest) Descriptor() ([]byte, []int) {
2608 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{11}
2609 }
2610
2611 func (x *AnalyzeSentimentRequest) GetDocument() *Document {
2612 if x != nil {
2613 return x.Document
2614 }
2615 return nil
2616 }
2617
2618 func (x *AnalyzeSentimentRequest) GetEncodingType() EncodingType {
2619 if x != nil {
2620 return x.EncodingType
2621 }
2622 return EncodingType_NONE
2623 }
2624
2625 // The sentiment analysis response message.
2626 type AnalyzeSentimentResponse struct {
2627 state protoimpl.MessageState
2628 sizeCache protoimpl.SizeCache
2629 unknownFields protoimpl.UnknownFields
2630
2631 // The overall sentiment of the input document.
2632 DocumentSentiment *Sentiment `protobuf:"bytes,1,opt,name=document_sentiment,json=documentSentiment,proto3" json:"document_sentiment,omitempty"`
2633 // The language of the text, which will be the same as the language specified
2634 // in the request or, if not specified, the automatically-detected language.
2635 // See [Document.language][google.cloud.language.v1beta2.Document.language]
2636 // field for more details.
2637 Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
2638 // The sentiment for all the sentences in the document.
2639 Sentences []*Sentence `protobuf:"bytes,3,rep,name=sentences,proto3" json:"sentences,omitempty"`
2640 }
2641
2642 func (x *AnalyzeSentimentResponse) Reset() {
2643 *x = AnalyzeSentimentResponse{}
2644 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[12]
2645 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2646 ms.StoreMessageInfo(mi)
2647 }
2648
2649 func (x *AnalyzeSentimentResponse) String() string {
2650 return protoimpl.X.MessageStringOf(x)
2651 }
2652
2653 func (*AnalyzeSentimentResponse) ProtoMessage() {}
2654
2655 func (x *AnalyzeSentimentResponse) ProtoReflect() protoreflect.Message {
2656 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[12]
2657 if x != nil {
2658 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2659 if ms.LoadMessageInfo() == nil {
2660 ms.StoreMessageInfo(mi)
2661 }
2662 return ms
2663 }
2664 return mi.MessageOf(x)
2665 }
2666
2667 // Deprecated: Use AnalyzeSentimentResponse.ProtoReflect.Descriptor instead.
2668 func (*AnalyzeSentimentResponse) Descriptor() ([]byte, []int) {
2669 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{12}
2670 }
2671
2672 func (x *AnalyzeSentimentResponse) GetDocumentSentiment() *Sentiment {
2673 if x != nil {
2674 return x.DocumentSentiment
2675 }
2676 return nil
2677 }
2678
2679 func (x *AnalyzeSentimentResponse) GetLanguage() string {
2680 if x != nil {
2681 return x.Language
2682 }
2683 return ""
2684 }
2685
2686 func (x *AnalyzeSentimentResponse) GetSentences() []*Sentence {
2687 if x != nil {
2688 return x.Sentences
2689 }
2690 return nil
2691 }
2692
2693 // The entity-level sentiment analysis request message.
2694 type AnalyzeEntitySentimentRequest struct {
2695 state protoimpl.MessageState
2696 sizeCache protoimpl.SizeCache
2697 unknownFields protoimpl.UnknownFields
2698
2699 // Required. Input document.
2700 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
2701 // The encoding type used by the API to calculate offsets.
2702 EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta2.EncodingType" json:"encoding_type,omitempty"`
2703 }
2704
2705 func (x *AnalyzeEntitySentimentRequest) Reset() {
2706 *x = AnalyzeEntitySentimentRequest{}
2707 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[13]
2708 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2709 ms.StoreMessageInfo(mi)
2710 }
2711
2712 func (x *AnalyzeEntitySentimentRequest) String() string {
2713 return protoimpl.X.MessageStringOf(x)
2714 }
2715
2716 func (*AnalyzeEntitySentimentRequest) ProtoMessage() {}
2717
2718 func (x *AnalyzeEntitySentimentRequest) ProtoReflect() protoreflect.Message {
2719 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[13]
2720 if x != nil {
2721 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2722 if ms.LoadMessageInfo() == nil {
2723 ms.StoreMessageInfo(mi)
2724 }
2725 return ms
2726 }
2727 return mi.MessageOf(x)
2728 }
2729
2730 // Deprecated: Use AnalyzeEntitySentimentRequest.ProtoReflect.Descriptor instead.
2731 func (*AnalyzeEntitySentimentRequest) Descriptor() ([]byte, []int) {
2732 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{13}
2733 }
2734
2735 func (x *AnalyzeEntitySentimentRequest) GetDocument() *Document {
2736 if x != nil {
2737 return x.Document
2738 }
2739 return nil
2740 }
2741
2742 func (x *AnalyzeEntitySentimentRequest) GetEncodingType() EncodingType {
2743 if x != nil {
2744 return x.EncodingType
2745 }
2746 return EncodingType_NONE
2747 }
2748
2749 // The entity-level sentiment analysis response message.
2750 type AnalyzeEntitySentimentResponse struct {
2751 state protoimpl.MessageState
2752 sizeCache protoimpl.SizeCache
2753 unknownFields protoimpl.UnknownFields
2754
2755 // The recognized entities in the input document with associated sentiments.
2756 Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
2757 // The language of the text, which will be the same as the language specified
2758 // in the request or, if not specified, the automatically-detected language.
2759 // See [Document.language][google.cloud.language.v1beta2.Document.language]
2760 // field for more details.
2761 Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
2762 }
2763
2764 func (x *AnalyzeEntitySentimentResponse) Reset() {
2765 *x = AnalyzeEntitySentimentResponse{}
2766 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[14]
2767 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2768 ms.StoreMessageInfo(mi)
2769 }
2770
2771 func (x *AnalyzeEntitySentimentResponse) String() string {
2772 return protoimpl.X.MessageStringOf(x)
2773 }
2774
2775 func (*AnalyzeEntitySentimentResponse) ProtoMessage() {}
2776
2777 func (x *AnalyzeEntitySentimentResponse) ProtoReflect() protoreflect.Message {
2778 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[14]
2779 if x != nil {
2780 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2781 if ms.LoadMessageInfo() == nil {
2782 ms.StoreMessageInfo(mi)
2783 }
2784 return ms
2785 }
2786 return mi.MessageOf(x)
2787 }
2788
2789 // Deprecated: Use AnalyzeEntitySentimentResponse.ProtoReflect.Descriptor instead.
2790 func (*AnalyzeEntitySentimentResponse) Descriptor() ([]byte, []int) {
2791 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{14}
2792 }
2793
2794 func (x *AnalyzeEntitySentimentResponse) GetEntities() []*Entity {
2795 if x != nil {
2796 return x.Entities
2797 }
2798 return nil
2799 }
2800
2801 func (x *AnalyzeEntitySentimentResponse) GetLanguage() string {
2802 if x != nil {
2803 return x.Language
2804 }
2805 return ""
2806 }
2807
2808 // The entity analysis request message.
2809 type AnalyzeEntitiesRequest struct {
2810 state protoimpl.MessageState
2811 sizeCache protoimpl.SizeCache
2812 unknownFields protoimpl.UnknownFields
2813
2814 // Required. Input document.
2815 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
2816 // The encoding type used by the API to calculate offsets.
2817 EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta2.EncodingType" json:"encoding_type,omitempty"`
2818 }
2819
2820 func (x *AnalyzeEntitiesRequest) Reset() {
2821 *x = AnalyzeEntitiesRequest{}
2822 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[15]
2823 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2824 ms.StoreMessageInfo(mi)
2825 }
2826
2827 func (x *AnalyzeEntitiesRequest) String() string {
2828 return protoimpl.X.MessageStringOf(x)
2829 }
2830
2831 func (*AnalyzeEntitiesRequest) ProtoMessage() {}
2832
2833 func (x *AnalyzeEntitiesRequest) ProtoReflect() protoreflect.Message {
2834 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[15]
2835 if x != nil {
2836 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2837 if ms.LoadMessageInfo() == nil {
2838 ms.StoreMessageInfo(mi)
2839 }
2840 return ms
2841 }
2842 return mi.MessageOf(x)
2843 }
2844
2845 // Deprecated: Use AnalyzeEntitiesRequest.ProtoReflect.Descriptor instead.
2846 func (*AnalyzeEntitiesRequest) Descriptor() ([]byte, []int) {
2847 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{15}
2848 }
2849
2850 func (x *AnalyzeEntitiesRequest) GetDocument() *Document {
2851 if x != nil {
2852 return x.Document
2853 }
2854 return nil
2855 }
2856
2857 func (x *AnalyzeEntitiesRequest) GetEncodingType() EncodingType {
2858 if x != nil {
2859 return x.EncodingType
2860 }
2861 return EncodingType_NONE
2862 }
2863
2864 // The entity analysis response message.
2865 type AnalyzeEntitiesResponse struct {
2866 state protoimpl.MessageState
2867 sizeCache protoimpl.SizeCache
2868 unknownFields protoimpl.UnknownFields
2869
2870 // The recognized entities in the input document.
2871 Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
2872 // The language of the text, which will be the same as the language specified
2873 // in the request or, if not specified, the automatically-detected language.
2874 // See [Document.language][google.cloud.language.v1beta2.Document.language]
2875 // field for more details.
2876 Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
2877 }
2878
2879 func (x *AnalyzeEntitiesResponse) Reset() {
2880 *x = AnalyzeEntitiesResponse{}
2881 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[16]
2882 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2883 ms.StoreMessageInfo(mi)
2884 }
2885
2886 func (x *AnalyzeEntitiesResponse) String() string {
2887 return protoimpl.X.MessageStringOf(x)
2888 }
2889
2890 func (*AnalyzeEntitiesResponse) ProtoMessage() {}
2891
2892 func (x *AnalyzeEntitiesResponse) ProtoReflect() protoreflect.Message {
2893 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[16]
2894 if x != nil {
2895 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2896 if ms.LoadMessageInfo() == nil {
2897 ms.StoreMessageInfo(mi)
2898 }
2899 return ms
2900 }
2901 return mi.MessageOf(x)
2902 }
2903
2904 // Deprecated: Use AnalyzeEntitiesResponse.ProtoReflect.Descriptor instead.
2905 func (*AnalyzeEntitiesResponse) Descriptor() ([]byte, []int) {
2906 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{16}
2907 }
2908
2909 func (x *AnalyzeEntitiesResponse) GetEntities() []*Entity {
2910 if x != nil {
2911 return x.Entities
2912 }
2913 return nil
2914 }
2915
2916 func (x *AnalyzeEntitiesResponse) GetLanguage() string {
2917 if x != nil {
2918 return x.Language
2919 }
2920 return ""
2921 }
2922
2923 // The syntax analysis request message.
2924 type AnalyzeSyntaxRequest struct {
2925 state protoimpl.MessageState
2926 sizeCache protoimpl.SizeCache
2927 unknownFields protoimpl.UnknownFields
2928
2929 // Required. Input document.
2930 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
2931 // The encoding type used by the API to calculate offsets.
2932 EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta2.EncodingType" json:"encoding_type,omitempty"`
2933 }
2934
2935 func (x *AnalyzeSyntaxRequest) Reset() {
2936 *x = AnalyzeSyntaxRequest{}
2937 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[17]
2938 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2939 ms.StoreMessageInfo(mi)
2940 }
2941
2942 func (x *AnalyzeSyntaxRequest) String() string {
2943 return protoimpl.X.MessageStringOf(x)
2944 }
2945
2946 func (*AnalyzeSyntaxRequest) ProtoMessage() {}
2947
2948 func (x *AnalyzeSyntaxRequest) ProtoReflect() protoreflect.Message {
2949 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[17]
2950 if x != nil {
2951 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2952 if ms.LoadMessageInfo() == nil {
2953 ms.StoreMessageInfo(mi)
2954 }
2955 return ms
2956 }
2957 return mi.MessageOf(x)
2958 }
2959
2960 // Deprecated: Use AnalyzeSyntaxRequest.ProtoReflect.Descriptor instead.
2961 func (*AnalyzeSyntaxRequest) Descriptor() ([]byte, []int) {
2962 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{17}
2963 }
2964
2965 func (x *AnalyzeSyntaxRequest) GetDocument() *Document {
2966 if x != nil {
2967 return x.Document
2968 }
2969 return nil
2970 }
2971
2972 func (x *AnalyzeSyntaxRequest) GetEncodingType() EncodingType {
2973 if x != nil {
2974 return x.EncodingType
2975 }
2976 return EncodingType_NONE
2977 }
2978
2979 // The syntax analysis response message.
2980 type AnalyzeSyntaxResponse struct {
2981 state protoimpl.MessageState
2982 sizeCache protoimpl.SizeCache
2983 unknownFields protoimpl.UnknownFields
2984
2985 // Sentences in the input document.
2986 Sentences []*Sentence `protobuf:"bytes,1,rep,name=sentences,proto3" json:"sentences,omitempty"`
2987 // Tokens, along with their syntactic information, in the input document.
2988 Tokens []*Token `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"`
2989 // The language of the text, which will be the same as the language specified
2990 // in the request or, if not specified, the automatically-detected language.
2991 // See [Document.language][google.cloud.language.v1beta2.Document.language]
2992 // field for more details.
2993 Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`
2994 }
2995
2996 func (x *AnalyzeSyntaxResponse) Reset() {
2997 *x = AnalyzeSyntaxResponse{}
2998 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[18]
2999 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3000 ms.StoreMessageInfo(mi)
3001 }
3002
3003 func (x *AnalyzeSyntaxResponse) String() string {
3004 return protoimpl.X.MessageStringOf(x)
3005 }
3006
3007 func (*AnalyzeSyntaxResponse) ProtoMessage() {}
3008
3009 func (x *AnalyzeSyntaxResponse) ProtoReflect() protoreflect.Message {
3010 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[18]
3011 if x != nil {
3012 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3013 if ms.LoadMessageInfo() == nil {
3014 ms.StoreMessageInfo(mi)
3015 }
3016 return ms
3017 }
3018 return mi.MessageOf(x)
3019 }
3020
3021 // Deprecated: Use AnalyzeSyntaxResponse.ProtoReflect.Descriptor instead.
3022 func (*AnalyzeSyntaxResponse) Descriptor() ([]byte, []int) {
3023 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{18}
3024 }
3025
3026 func (x *AnalyzeSyntaxResponse) GetSentences() []*Sentence {
3027 if x != nil {
3028 return x.Sentences
3029 }
3030 return nil
3031 }
3032
3033 func (x *AnalyzeSyntaxResponse) GetTokens() []*Token {
3034 if x != nil {
3035 return x.Tokens
3036 }
3037 return nil
3038 }
3039
3040 func (x *AnalyzeSyntaxResponse) GetLanguage() string {
3041 if x != nil {
3042 return x.Language
3043 }
3044 return ""
3045 }
3046
3047 // The document classification request message.
3048 type ClassifyTextRequest struct {
3049 state protoimpl.MessageState
3050 sizeCache protoimpl.SizeCache
3051 unknownFields protoimpl.UnknownFields
3052
3053 // Required. Input document.
3054 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
3055 // Model options to use for classification. Defaults to v1 options if not
3056 // specified.
3057 ClassificationModelOptions *ClassificationModelOptions `protobuf:"bytes,3,opt,name=classification_model_options,json=classificationModelOptions,proto3" json:"classification_model_options,omitempty"`
3058 }
3059
3060 func (x *ClassifyTextRequest) Reset() {
3061 *x = ClassifyTextRequest{}
3062 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[19]
3063 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3064 ms.StoreMessageInfo(mi)
3065 }
3066
3067 func (x *ClassifyTextRequest) String() string {
3068 return protoimpl.X.MessageStringOf(x)
3069 }
3070
3071 func (*ClassifyTextRequest) ProtoMessage() {}
3072
3073 func (x *ClassifyTextRequest) ProtoReflect() protoreflect.Message {
3074 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[19]
3075 if x != nil {
3076 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3077 if ms.LoadMessageInfo() == nil {
3078 ms.StoreMessageInfo(mi)
3079 }
3080 return ms
3081 }
3082 return mi.MessageOf(x)
3083 }
3084
3085 // Deprecated: Use ClassifyTextRequest.ProtoReflect.Descriptor instead.
3086 func (*ClassifyTextRequest) Descriptor() ([]byte, []int) {
3087 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{19}
3088 }
3089
3090 func (x *ClassifyTextRequest) GetDocument() *Document {
3091 if x != nil {
3092 return x.Document
3093 }
3094 return nil
3095 }
3096
3097 func (x *ClassifyTextRequest) GetClassificationModelOptions() *ClassificationModelOptions {
3098 if x != nil {
3099 return x.ClassificationModelOptions
3100 }
3101 return nil
3102 }
3103
3104 // The document classification response message.
3105 type ClassifyTextResponse struct {
3106 state protoimpl.MessageState
3107 sizeCache protoimpl.SizeCache
3108 unknownFields protoimpl.UnknownFields
3109
3110 // Categories representing the input document.
3111 Categories []*ClassificationCategory `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"`
3112 }
3113
3114 func (x *ClassifyTextResponse) Reset() {
3115 *x = ClassifyTextResponse{}
3116 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[20]
3117 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3118 ms.StoreMessageInfo(mi)
3119 }
3120
3121 func (x *ClassifyTextResponse) String() string {
3122 return protoimpl.X.MessageStringOf(x)
3123 }
3124
3125 func (*ClassifyTextResponse) ProtoMessage() {}
3126
3127 func (x *ClassifyTextResponse) ProtoReflect() protoreflect.Message {
3128 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[20]
3129 if x != nil {
3130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3131 if ms.LoadMessageInfo() == nil {
3132 ms.StoreMessageInfo(mi)
3133 }
3134 return ms
3135 }
3136 return mi.MessageOf(x)
3137 }
3138
3139 // Deprecated: Use ClassifyTextResponse.ProtoReflect.Descriptor instead.
3140 func (*ClassifyTextResponse) Descriptor() ([]byte, []int) {
3141 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{20}
3142 }
3143
3144 func (x *ClassifyTextResponse) GetCategories() []*ClassificationCategory {
3145 if x != nil {
3146 return x.Categories
3147 }
3148 return nil
3149 }
3150
3151 // The document moderation request message.
3152 type ModerateTextRequest struct {
3153 state protoimpl.MessageState
3154 sizeCache protoimpl.SizeCache
3155 unknownFields protoimpl.UnknownFields
3156
3157 // Required. Input document.
3158 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
3159 }
3160
3161 func (x *ModerateTextRequest) Reset() {
3162 *x = ModerateTextRequest{}
3163 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[21]
3164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3165 ms.StoreMessageInfo(mi)
3166 }
3167
3168 func (x *ModerateTextRequest) String() string {
3169 return protoimpl.X.MessageStringOf(x)
3170 }
3171
3172 func (*ModerateTextRequest) ProtoMessage() {}
3173
3174 func (x *ModerateTextRequest) ProtoReflect() protoreflect.Message {
3175 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[21]
3176 if x != nil {
3177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3178 if ms.LoadMessageInfo() == nil {
3179 ms.StoreMessageInfo(mi)
3180 }
3181 return ms
3182 }
3183 return mi.MessageOf(x)
3184 }
3185
3186 // Deprecated: Use ModerateTextRequest.ProtoReflect.Descriptor instead.
3187 func (*ModerateTextRequest) Descriptor() ([]byte, []int) {
3188 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{21}
3189 }
3190
3191 func (x *ModerateTextRequest) GetDocument() *Document {
3192 if x != nil {
3193 return x.Document
3194 }
3195 return nil
3196 }
3197
3198 // The document moderation response message.
3199 type ModerateTextResponse struct {
3200 state protoimpl.MessageState
3201 sizeCache protoimpl.SizeCache
3202 unknownFields protoimpl.UnknownFields
3203
3204 // Harmful and sensitive categories representing the input document.
3205 ModerationCategories []*ClassificationCategory `protobuf:"bytes,1,rep,name=moderation_categories,json=moderationCategories,proto3" json:"moderation_categories,omitempty"`
3206 }
3207
3208 func (x *ModerateTextResponse) Reset() {
3209 *x = ModerateTextResponse{}
3210 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[22]
3211 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3212 ms.StoreMessageInfo(mi)
3213 }
3214
3215 func (x *ModerateTextResponse) String() string {
3216 return protoimpl.X.MessageStringOf(x)
3217 }
3218
3219 func (*ModerateTextResponse) ProtoMessage() {}
3220
3221 func (x *ModerateTextResponse) ProtoReflect() protoreflect.Message {
3222 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[22]
3223 if x != nil {
3224 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3225 if ms.LoadMessageInfo() == nil {
3226 ms.StoreMessageInfo(mi)
3227 }
3228 return ms
3229 }
3230 return mi.MessageOf(x)
3231 }
3232
3233 // Deprecated: Use ModerateTextResponse.ProtoReflect.Descriptor instead.
3234 func (*ModerateTextResponse) Descriptor() ([]byte, []int) {
3235 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{22}
3236 }
3237
3238 func (x *ModerateTextResponse) GetModerationCategories() []*ClassificationCategory {
3239 if x != nil {
3240 return x.ModerationCategories
3241 }
3242 return nil
3243 }
3244
3245 // The request message for the text annotation API, which can perform multiple
3246 // analysis types (sentiment, entities, and syntax) in one call.
3247 type AnnotateTextRequest struct {
3248 state protoimpl.MessageState
3249 sizeCache protoimpl.SizeCache
3250 unknownFields protoimpl.UnknownFields
3251
3252 // Required. Input document.
3253 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
3254 // Required. The enabled features.
3255 Features *AnnotateTextRequest_Features `protobuf:"bytes,2,opt,name=features,proto3" json:"features,omitempty"`
3256 // The encoding type used by the API to calculate offsets.
3257 EncodingType EncodingType `protobuf:"varint,3,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta2.EncodingType" json:"encoding_type,omitempty"`
3258 }
3259
3260 func (x *AnnotateTextRequest) Reset() {
3261 *x = AnnotateTextRequest{}
3262 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[23]
3263 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3264 ms.StoreMessageInfo(mi)
3265 }
3266
3267 func (x *AnnotateTextRequest) String() string {
3268 return protoimpl.X.MessageStringOf(x)
3269 }
3270
3271 func (*AnnotateTextRequest) ProtoMessage() {}
3272
3273 func (x *AnnotateTextRequest) ProtoReflect() protoreflect.Message {
3274 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[23]
3275 if x != nil {
3276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3277 if ms.LoadMessageInfo() == nil {
3278 ms.StoreMessageInfo(mi)
3279 }
3280 return ms
3281 }
3282 return mi.MessageOf(x)
3283 }
3284
3285 // Deprecated: Use AnnotateTextRequest.ProtoReflect.Descriptor instead.
3286 func (*AnnotateTextRequest) Descriptor() ([]byte, []int) {
3287 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{23}
3288 }
3289
3290 func (x *AnnotateTextRequest) GetDocument() *Document {
3291 if x != nil {
3292 return x.Document
3293 }
3294 return nil
3295 }
3296
3297 func (x *AnnotateTextRequest) GetFeatures() *AnnotateTextRequest_Features {
3298 if x != nil {
3299 return x.Features
3300 }
3301 return nil
3302 }
3303
3304 func (x *AnnotateTextRequest) GetEncodingType() EncodingType {
3305 if x != nil {
3306 return x.EncodingType
3307 }
3308 return EncodingType_NONE
3309 }
3310
3311 // The text annotations response message.
3312 type AnnotateTextResponse struct {
3313 state protoimpl.MessageState
3314 sizeCache protoimpl.SizeCache
3315 unknownFields protoimpl.UnknownFields
3316
3317 // Sentences in the input document. Populated if the user enables
3318 // [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax].
3319 Sentences []*Sentence `protobuf:"bytes,1,rep,name=sentences,proto3" json:"sentences,omitempty"`
3320 // Tokens, along with their syntactic information, in the input document.
3321 // Populated if the user enables
3322 // [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax].
3323 Tokens []*Token `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"`
3324 // Entities, along with their semantic information, in the input document.
3325 // Populated if the user enables
3326 // [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entities].
3327 Entities []*Entity `protobuf:"bytes,3,rep,name=entities,proto3" json:"entities,omitempty"`
3328 // The overall sentiment for the document. Populated if the user enables
3329 // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_document_sentiment].
3330 DocumentSentiment *Sentiment `protobuf:"bytes,4,opt,name=document_sentiment,json=documentSentiment,proto3" json:"document_sentiment,omitempty"`
3331 // The language of the text, which will be the same as the language specified
3332 // in the request or, if not specified, the automatically-detected language.
3333 // See [Document.language][google.cloud.language.v1beta2.Document.language]
3334 // field for more details.
3335 Language string `protobuf:"bytes,5,opt,name=language,proto3" json:"language,omitempty"`
3336 // Categories identified in the input document.
3337 Categories []*ClassificationCategory `protobuf:"bytes,6,rep,name=categories,proto3" json:"categories,omitempty"`
3338 // Harmful and sensitive categories identified in the input document.
3339 ModerationCategories []*ClassificationCategory `protobuf:"bytes,8,rep,name=moderation_categories,json=moderationCategories,proto3" json:"moderation_categories,omitempty"`
3340 }
3341
3342 func (x *AnnotateTextResponse) Reset() {
3343 *x = AnnotateTextResponse{}
3344 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[24]
3345 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3346 ms.StoreMessageInfo(mi)
3347 }
3348
3349 func (x *AnnotateTextResponse) String() string {
3350 return protoimpl.X.MessageStringOf(x)
3351 }
3352
3353 func (*AnnotateTextResponse) ProtoMessage() {}
3354
3355 func (x *AnnotateTextResponse) ProtoReflect() protoreflect.Message {
3356 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[24]
3357 if x != nil {
3358 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3359 if ms.LoadMessageInfo() == nil {
3360 ms.StoreMessageInfo(mi)
3361 }
3362 return ms
3363 }
3364 return mi.MessageOf(x)
3365 }
3366
3367 // Deprecated: Use AnnotateTextResponse.ProtoReflect.Descriptor instead.
3368 func (*AnnotateTextResponse) Descriptor() ([]byte, []int) {
3369 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{24}
3370 }
3371
3372 func (x *AnnotateTextResponse) GetSentences() []*Sentence {
3373 if x != nil {
3374 return x.Sentences
3375 }
3376 return nil
3377 }
3378
3379 func (x *AnnotateTextResponse) GetTokens() []*Token {
3380 if x != nil {
3381 return x.Tokens
3382 }
3383 return nil
3384 }
3385
3386 func (x *AnnotateTextResponse) GetEntities() []*Entity {
3387 if x != nil {
3388 return x.Entities
3389 }
3390 return nil
3391 }
3392
3393 func (x *AnnotateTextResponse) GetDocumentSentiment() *Sentiment {
3394 if x != nil {
3395 return x.DocumentSentiment
3396 }
3397 return nil
3398 }
3399
3400 func (x *AnnotateTextResponse) GetLanguage() string {
3401 if x != nil {
3402 return x.Language
3403 }
3404 return ""
3405 }
3406
3407 func (x *AnnotateTextResponse) GetCategories() []*ClassificationCategory {
3408 if x != nil {
3409 return x.Categories
3410 }
3411 return nil
3412 }
3413
3414 func (x *AnnotateTextResponse) GetModerationCategories() []*ClassificationCategory {
3415 if x != nil {
3416 return x.ModerationCategories
3417 }
3418 return nil
3419 }
3420
3421 // Options for the V1 model.
3422 type ClassificationModelOptions_V1Model struct {
3423 state protoimpl.MessageState
3424 sizeCache protoimpl.SizeCache
3425 unknownFields protoimpl.UnknownFields
3426 }
3427
3428 func (x *ClassificationModelOptions_V1Model) Reset() {
3429 *x = ClassificationModelOptions_V1Model{}
3430 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[26]
3431 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3432 ms.StoreMessageInfo(mi)
3433 }
3434
3435 func (x *ClassificationModelOptions_V1Model) String() string {
3436 return protoimpl.X.MessageStringOf(x)
3437 }
3438
3439 func (*ClassificationModelOptions_V1Model) ProtoMessage() {}
3440
3441 func (x *ClassificationModelOptions_V1Model) ProtoReflect() protoreflect.Message {
3442 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[26]
3443 if x != nil {
3444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3445 if ms.LoadMessageInfo() == nil {
3446 ms.StoreMessageInfo(mi)
3447 }
3448 return ms
3449 }
3450 return mi.MessageOf(x)
3451 }
3452
3453 // Deprecated: Use ClassificationModelOptions_V1Model.ProtoReflect.Descriptor instead.
3454 func (*ClassificationModelOptions_V1Model) Descriptor() ([]byte, []int) {
3455 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{10, 0}
3456 }
3457
3458 // Options for the V2 model.
3459 type ClassificationModelOptions_V2Model struct {
3460 state protoimpl.MessageState
3461 sizeCache protoimpl.SizeCache
3462 unknownFields protoimpl.UnknownFields
3463
3464 // The content categories used for classification.
3465 ContentCategoriesVersion ClassificationModelOptions_V2Model_ContentCategoriesVersion `protobuf:"varint,1,opt,name=content_categories_version,json=contentCategoriesVersion,proto3,enum=google.cloud.language.v1beta2.ClassificationModelOptions_V2Model_ContentCategoriesVersion" json:"content_categories_version,omitempty"`
3466 }
3467
3468 func (x *ClassificationModelOptions_V2Model) Reset() {
3469 *x = ClassificationModelOptions_V2Model{}
3470 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[27]
3471 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3472 ms.StoreMessageInfo(mi)
3473 }
3474
3475 func (x *ClassificationModelOptions_V2Model) String() string {
3476 return protoimpl.X.MessageStringOf(x)
3477 }
3478
3479 func (*ClassificationModelOptions_V2Model) ProtoMessage() {}
3480
3481 func (x *ClassificationModelOptions_V2Model) ProtoReflect() protoreflect.Message {
3482 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[27]
3483 if x != nil {
3484 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3485 if ms.LoadMessageInfo() == nil {
3486 ms.StoreMessageInfo(mi)
3487 }
3488 return ms
3489 }
3490 return mi.MessageOf(x)
3491 }
3492
3493 // Deprecated: Use ClassificationModelOptions_V2Model.ProtoReflect.Descriptor instead.
3494 func (*ClassificationModelOptions_V2Model) Descriptor() ([]byte, []int) {
3495 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{10, 1}
3496 }
3497
3498 func (x *ClassificationModelOptions_V2Model) GetContentCategoriesVersion() ClassificationModelOptions_V2Model_ContentCategoriesVersion {
3499 if x != nil {
3500 return x.ContentCategoriesVersion
3501 }
3502 return ClassificationModelOptions_V2Model_CONTENT_CATEGORIES_VERSION_UNSPECIFIED
3503 }
3504
3505 // All available features for sentiment, syntax, and semantic analysis.
3506 // Setting each one to true will enable that specific analysis for the input.
3507 // Next ID: 12
3508 type AnnotateTextRequest_Features struct {
3509 state protoimpl.MessageState
3510 sizeCache protoimpl.SizeCache
3511 unknownFields protoimpl.UnknownFields
3512
3513 // Extract syntax information.
3514 ExtractSyntax bool `protobuf:"varint,1,opt,name=extract_syntax,json=extractSyntax,proto3" json:"extract_syntax,omitempty"`
3515 // Extract entities.
3516 ExtractEntities bool `protobuf:"varint,2,opt,name=extract_entities,json=extractEntities,proto3" json:"extract_entities,omitempty"`
3517 // Extract document-level sentiment.
3518 ExtractDocumentSentiment bool `protobuf:"varint,3,opt,name=extract_document_sentiment,json=extractDocumentSentiment,proto3" json:"extract_document_sentiment,omitempty"`
3519 // Extract entities and their associated sentiment.
3520 ExtractEntitySentiment bool `protobuf:"varint,4,opt,name=extract_entity_sentiment,json=extractEntitySentiment,proto3" json:"extract_entity_sentiment,omitempty"`
3521 // Classify the full document into categories. If this is true,
3522 // the API will use the default model which classifies into a
3523 // [predefined
3524 // taxonomy](https://cloud.google.com/natural-language/docs/categories).
3525 ClassifyText bool `protobuf:"varint,6,opt,name=classify_text,json=classifyText,proto3" json:"classify_text,omitempty"`
3526 // Moderate the document for harmful and sensitive categories.
3527 ModerateText bool `protobuf:"varint,11,opt,name=moderate_text,json=moderateText,proto3" json:"moderate_text,omitempty"`
3528 // The model options to use for classification. Defaults to v1 options
3529 // if not specified. Only used if `classify_text` is set to true.
3530 ClassificationModelOptions *ClassificationModelOptions `protobuf:"bytes,10,opt,name=classification_model_options,json=classificationModelOptions,proto3" json:"classification_model_options,omitempty"`
3531 }
3532
3533 func (x *AnnotateTextRequest_Features) Reset() {
3534 *x = AnnotateTextRequest_Features{}
3535 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[28]
3536 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3537 ms.StoreMessageInfo(mi)
3538 }
3539
3540 func (x *AnnotateTextRequest_Features) String() string {
3541 return protoimpl.X.MessageStringOf(x)
3542 }
3543
3544 func (*AnnotateTextRequest_Features) ProtoMessage() {}
3545
3546 func (x *AnnotateTextRequest_Features) ProtoReflect() protoreflect.Message {
3547 mi := &file_google_cloud_language_v1beta2_language_service_proto_msgTypes[28]
3548 if x != nil {
3549 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3550 if ms.LoadMessageInfo() == nil {
3551 ms.StoreMessageInfo(mi)
3552 }
3553 return ms
3554 }
3555 return mi.MessageOf(x)
3556 }
3557
3558 // Deprecated: Use AnnotateTextRequest_Features.ProtoReflect.Descriptor instead.
3559 func (*AnnotateTextRequest_Features) Descriptor() ([]byte, []int) {
3560 return file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP(), []int{23, 0}
3561 }
3562
3563 func (x *AnnotateTextRequest_Features) GetExtractSyntax() bool {
3564 if x != nil {
3565 return x.ExtractSyntax
3566 }
3567 return false
3568 }
3569
3570 func (x *AnnotateTextRequest_Features) GetExtractEntities() bool {
3571 if x != nil {
3572 return x.ExtractEntities
3573 }
3574 return false
3575 }
3576
3577 func (x *AnnotateTextRequest_Features) GetExtractDocumentSentiment() bool {
3578 if x != nil {
3579 return x.ExtractDocumentSentiment
3580 }
3581 return false
3582 }
3583
3584 func (x *AnnotateTextRequest_Features) GetExtractEntitySentiment() bool {
3585 if x != nil {
3586 return x.ExtractEntitySentiment
3587 }
3588 return false
3589 }
3590
3591 func (x *AnnotateTextRequest_Features) GetClassifyText() bool {
3592 if x != nil {
3593 return x.ClassifyText
3594 }
3595 return false
3596 }
3597
3598 func (x *AnnotateTextRequest_Features) GetModerateText() bool {
3599 if x != nil {
3600 return x.ModerateText
3601 }
3602 return false
3603 }
3604
3605 func (x *AnnotateTextRequest_Features) GetClassificationModelOptions() *ClassificationModelOptions {
3606 if x != nil {
3607 return x.ClassificationModelOptions
3608 }
3609 return nil
3610 }
3611
3612 var File_google_cloud_language_v1beta2_language_service_proto protoreflect.FileDescriptor
3613
3614 var file_google_cloud_language_v1beta2_language_service_proto_rawDesc = []byte{
3615 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6c,
3616 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f,
3617 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
3618 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
3619 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,
3620 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
3621 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
3622 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
3623 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
3624 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
3625 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf5, 0x03,
3626 0x0a, 0x08, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x74, 0x79,
3627 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3628 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
3629 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
3630 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x07,
3631 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
3632 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x67, 0x63, 0x73, 0x5f,
3633 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28,
3634 0x09, 0x48, 0x00, 0x52, 0x0d, 0x67, 0x63, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x55,
3635 0x72, 0x69, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x04,
3636 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x2a,
3637 0x0a, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x77, 0x65, 0x62, 0x5f,
3638 0x75, 0x72, 0x69, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72,
3639 0x65, 0x6e, 0x63, 0x65, 0x57, 0x65, 0x62, 0x55, 0x72, 0x69, 0x12, 0x6e, 0x0a, 0x14, 0x62, 0x6f,
3640 0x69, 0x6c, 0x65, 0x72, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x69,
3641 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3642 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
3643 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
3644 0x74, 0x2e, 0x42, 0x6f, 0x69, 0x6c, 0x65, 0x72, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x48, 0x61, 0x6e,
3645 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x13, 0x62, 0x6f, 0x69, 0x6c, 0x65, 0x72, 0x70, 0x6c, 0x61,
3646 0x74, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x22, 0x36, 0x0a, 0x04, 0x54, 0x79,
3647 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
3648 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x4c, 0x41, 0x49,
3649 0x4e, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x4d, 0x4c,
3650 0x10, 0x02, 0x22, 0x67, 0x0a, 0x13, 0x42, 0x6f, 0x69, 0x6c, 0x65, 0x72, 0x70, 0x6c, 0x61, 0x74,
3651 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x20, 0x42, 0x4f, 0x49,
3652 0x4c, 0x45, 0x52, 0x50, 0x4c, 0x41, 0x54, 0x45, 0x5f, 0x48, 0x41, 0x4e, 0x44, 0x4c, 0x49, 0x4e,
3653 0x47, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
3654 0x14, 0x0a, 0x10, 0x53, 0x4b, 0x49, 0x50, 0x5f, 0x42, 0x4f, 0x49, 0x4c, 0x45, 0x52, 0x50, 0x4c,
3655 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4b, 0x45, 0x45, 0x50, 0x5f, 0x42, 0x4f,
3656 0x49, 0x4c, 0x45, 0x52, 0x50, 0x4c, 0x41, 0x54, 0x45, 0x10, 0x02, 0x42, 0x08, 0x0a, 0x06, 0x73,
3657 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x08, 0x53, 0x65, 0x6e, 0x74, 0x65, 0x6e,
3658 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
3659 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
3660 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
3661 0x2e, 0x54, 0x65, 0x78, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12,
3662 0x46, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
3663 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
3664 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
3665 0x61, 0x32, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x73, 0x65,
3666 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xd4, 0x04, 0x0a, 0x06, 0x45, 0x6e, 0x74, 0x69,
3667 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
3668 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
3669 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
3670 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62,
3671 0x65, 0x74, 0x61, 0x32, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65,
3672 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
3673 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3674 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
3675 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e,
3676 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d,
3677 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x61, 0x6c, 0x69, 0x65,
3678 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x73, 0x61, 0x6c, 0x69, 0x65,
3679 0x6e, 0x63, 0x65, 0x12, 0x48, 0x0a, 0x08, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
3680 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
3681 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,
3682 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6e, 0x74,
3683 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x46, 0x0a,
3684 0x09, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
3685 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
3686 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
3687 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x73, 0x65, 0x6e, 0x74,
3688 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
3689 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
3690 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
3691 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
3692 0x38, 0x01, 0x22, 0xb9, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55,
3693 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x45, 0x52, 0x53,
3694 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e,
3695 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49,
3696 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x10, 0x04, 0x12,
3697 0x0f, 0x0a, 0x0b, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x4f, 0x46, 0x5f, 0x41, 0x52, 0x54, 0x10, 0x05,
3698 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x4f, 0x4e, 0x53, 0x55, 0x4d, 0x45, 0x52, 0x5f, 0x47, 0x4f, 0x4f,
3699 0x44, 0x10, 0x06, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x07, 0x12, 0x10,
3700 0x0a, 0x0c, 0x50, 0x48, 0x4f, 0x4e, 0x45, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x09,
3701 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x10, 0x0a, 0x12, 0x08, 0x0a,
3702 0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x55, 0x4d, 0x42, 0x45,
3703 0x52, 0x10, 0x0c, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x52, 0x49, 0x43, 0x45, 0x10, 0x0d, 0x22, 0x85,
3704 0x02, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74,
3705 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3706 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76,
3707 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x52,
3708 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x51, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x6f, 0x66,
3709 0x5f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e,
3710 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e,
3711 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61,
3712 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x74,
3713 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x12, 0x56, 0x0a, 0x0f, 0x64, 0x65, 0x70, 0x65,
3714 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x65, 0x64, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
3715 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
3716 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
3717 0x32, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x45, 0x64, 0x67, 0x65,
3718 0x52, 0x0e, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x45, 0x64, 0x67, 0x65,
3719 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x6d, 0x6d, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
3720 0x05, 0x6c, 0x65, 0x6d, 0x6d, 0x61, 0x22, 0x3f, 0x0a, 0x09, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d,
3721 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x61, 0x67, 0x6e, 0x69, 0x74, 0x75, 0x64, 0x65,
3722 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x6d, 0x61, 0x67, 0x6e, 0x69, 0x74, 0x75, 0x64,
3723 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02,
3724 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x22, 0xb9, 0x11, 0x0a, 0x0c, 0x50, 0x61, 0x72, 0x74,
3725 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x12, 0x41, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18,
3726 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
3727 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,
3728 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65,
3729 0x63, 0x68, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x4a, 0x0a, 0x06, 0x61,
3730 0x73, 0x70, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f,
3731 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75,
3732 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74,
3733 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x41, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52,
3734 0x06, 0x61, 0x73, 0x70, 0x65, 0x63, 0x74, 0x12, 0x44, 0x0a, 0x04, 0x63, 0x61, 0x73, 0x65, 0x18,
3735 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
3736 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,
3737 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65,
3738 0x63, 0x68, 0x2e, 0x43, 0x61, 0x73, 0x65, 0x52, 0x04, 0x63, 0x61, 0x73, 0x65, 0x12, 0x44, 0x0a,
3739 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f,
3740 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75,
3741 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74,
3742 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x52, 0x04, 0x66,
3743 0x6f, 0x72, 0x6d, 0x12, 0x4a, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20,
3744 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
3745 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65,
3746 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68,
3747 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12,
3748 0x44, 0x0a, 0x04, 0x6d, 0x6f, 0x6f, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e,
3749 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e,
3750 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61,
3751 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x4d, 0x6f, 0x6f, 0x64, 0x52,
3752 0x04, 0x6d, 0x6f, 0x6f, 0x64, 0x12, 0x4a, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18,
3753 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
3754 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,
3755 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65,
3756 0x63, 0x68, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65,
3757 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28,
3758 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
3759 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
3760 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x50,
3761 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x4a, 0x0a,
3762 0x06, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e,
3763 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e,
3764 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61,
3765 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65,
3766 0x72, 0x52, 0x06, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x12, 0x59, 0x0a, 0x0b, 0x72, 0x65, 0x63,
3767 0x69, 0x70, 0x72, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37,
3768 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61,
3769 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50,
3770 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x52, 0x65, 0x63, 0x69,
3771 0x70, 0x72, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x69, 0x70, 0x72, 0x6f,
3772 0x63, 0x69, 0x74, 0x79, 0x12, 0x47, 0x0a, 0x05, 0x74, 0x65, 0x6e, 0x73, 0x65, 0x18, 0x0b, 0x20,
3773 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
3774 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65,
3775 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68,
3776 0x2e, 0x54, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x74, 0x65, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a,
3777 0x05, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67,
3778 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67,
3779 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72,
3780 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x52,
3781 0x05, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x22, 0x8d, 0x01, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x0b,
3782 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41,
3783 0x44, 0x4a, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x44, 0x50, 0x10, 0x02, 0x12, 0x07, 0x0a,
3784 0x03, 0x41, 0x44, 0x56, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f, 0x4e, 0x4a, 0x10, 0x04,
3785 0x12, 0x07, 0x0a, 0x03, 0x44, 0x45, 0x54, 0x10, 0x05, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x55,
3786 0x4e, 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x4e, 0x55, 0x4d, 0x10, 0x07, 0x12, 0x08, 0x0a, 0x04,
3787 0x50, 0x52, 0x4f, 0x4e, 0x10, 0x08, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x52, 0x54, 0x10, 0x09, 0x12,
3788 0x09, 0x0a, 0x05, 0x50, 0x55, 0x4e, 0x43, 0x54, 0x10, 0x0a, 0x12, 0x08, 0x0a, 0x04, 0x56, 0x45,
3789 0x52, 0x42, 0x10, 0x0b, 0x12, 0x05, 0x0a, 0x01, 0x58, 0x10, 0x0c, 0x12, 0x09, 0x0a, 0x05, 0x41,
3790 0x46, 0x46, 0x49, 0x58, 0x10, 0x0d, 0x22, 0x4f, 0x0a, 0x06, 0x41, 0x73, 0x70, 0x65, 0x63, 0x74,
3791 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x53, 0x50, 0x45, 0x43, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
3792 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x45, 0x52, 0x46, 0x45, 0x43, 0x54, 0x49,
3793 0x56, 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4d, 0x50, 0x45, 0x52, 0x46, 0x45, 0x43,
3794 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45,
3795 0x53, 0x53, 0x49, 0x56, 0x45, 0x10, 0x03, 0x22, 0xf8, 0x01, 0x0a, 0x04, 0x43, 0x61, 0x73, 0x65,
3796 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x41, 0x53, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
3797 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x43, 0x43, 0x55, 0x53, 0x41, 0x54, 0x49, 0x56, 0x45,
3798 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x44, 0x56, 0x45, 0x52, 0x42, 0x49, 0x41, 0x4c, 0x10,
3799 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x49,
3800 0x56, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x04,
3801 0x12, 0x0c, 0x0a, 0x08, 0x47, 0x45, 0x4e, 0x49, 0x54, 0x49, 0x56, 0x45, 0x10, 0x05, 0x12, 0x10,
3802 0x0a, 0x0c, 0x49, 0x4e, 0x53, 0x54, 0x52, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x41, 0x4c, 0x10, 0x06,
3803 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x07, 0x12, 0x0e,
3804 0x0a, 0x0a, 0x4e, 0x4f, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x08, 0x12, 0x0b,
3805 0x0a, 0x07, 0x4f, 0x42, 0x4c, 0x49, 0x51, 0x55, 0x45, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x50,
3806 0x41, 0x52, 0x54, 0x49, 0x54, 0x49, 0x56, 0x45, 0x10, 0x0a, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x52,
3807 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x0b, 0x12, 0x12, 0x0a,
3808 0x0e, 0x52, 0x45, 0x46, 0x4c, 0x45, 0x58, 0x49, 0x56, 0x45, 0x5f, 0x43, 0x41, 0x53, 0x45, 0x10,
3809 0x0c, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x45, 0x4c, 0x41, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x43, 0x41,
3810 0x53, 0x45, 0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x56, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x56, 0x45,
3811 0x10, 0x0e, 0x22, 0xaf, 0x01, 0x0a, 0x04, 0x46, 0x6f, 0x72, 0x6d, 0x12, 0x10, 0x0a, 0x0c, 0x46,
3812 0x4f, 0x52, 0x4d, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a,
3813 0x08, 0x41, 0x44, 0x4e, 0x4f, 0x4d, 0x49, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x41,
3814 0x55, 0x58, 0x49, 0x4c, 0x49, 0x41, 0x52, 0x59, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4f,
3815 0x4d, 0x50, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x49, 0x5a, 0x45, 0x52, 0x10, 0x03, 0x12, 0x10,
3816 0x0a, 0x0c, 0x46, 0x49, 0x4e, 0x41, 0x4c, 0x5f, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x04,
3817 0x12, 0x0a, 0x0a, 0x06, 0x47, 0x45, 0x52, 0x55, 0x4e, 0x44, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06,
3818 0x52, 0x45, 0x41, 0x4c, 0x49, 0x53, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x52, 0x52, 0x45,
3819 0x41, 0x4c, 0x49, 0x53, 0x10, 0x07, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x48, 0x4f, 0x52, 0x54, 0x10,
3820 0x08, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x4f, 0x4e, 0x47, 0x10, 0x09, 0x12, 0x09, 0x0a, 0x05, 0x4f,
3821 0x52, 0x44, 0x45, 0x52, 0x10, 0x0a, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
3822 0x49, 0x43, 0x10, 0x0b, 0x22, 0x45, 0x0a, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x12,
3823 0x0a, 0x0e, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
3824 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x45, 0x4d, 0x49, 0x4e, 0x49, 0x4e, 0x45, 0x10, 0x01,
3825 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x41, 0x53, 0x43, 0x55, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x02, 0x12,
3826 0x0a, 0x0a, 0x06, 0x4e, 0x45, 0x55, 0x54, 0x45, 0x52, 0x10, 0x03, 0x22, 0x7f, 0x0a, 0x04, 0x4d,
3827 0x6f, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x4f, 0x4f, 0x44, 0x5f, 0x55, 0x4e, 0x4b, 0x4e,
3828 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4e, 0x44, 0x49, 0x54, 0x49,
3829 0x4f, 0x4e, 0x41, 0x4c, 0x5f, 0x4d, 0x4f, 0x4f, 0x44, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x49,
3830 0x4d, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x49,
3831 0x4e, 0x44, 0x49, 0x43, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x49,
3832 0x4e, 0x54, 0x45, 0x52, 0x52, 0x4f, 0x47, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x04, 0x12, 0x0b,
3833 0x0a, 0x07, 0x4a, 0x55, 0x53, 0x53, 0x49, 0x56, 0x45, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x53,
3834 0x55, 0x42, 0x4a, 0x55, 0x4e, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x06, 0x22, 0x40, 0x0a, 0x06,
3835 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52,
3836 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x49,
3837 0x4e, 0x47, 0x55, 0x4c, 0x41, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x4c, 0x55, 0x52,
3838 0x41, 0x4c, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x55, 0x41, 0x4c, 0x10, 0x03, 0x22, 0x54,
3839 0x0a, 0x06, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x45, 0x52, 0x53,
3840 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05,
3841 0x46, 0x49, 0x52, 0x53, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x45, 0x43, 0x4f, 0x4e,
3842 0x44, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x48, 0x49, 0x52, 0x44, 0x10, 0x03, 0x12, 0x14,
3843 0x0a, 0x10, 0x52, 0x45, 0x46, 0x4c, 0x45, 0x58, 0x49, 0x56, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x53,
3844 0x4f, 0x4e, 0x10, 0x04, 0x22, 0x38, 0x0a, 0x06, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x12, 0x12,
3845 0x0a, 0x0e, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
3846 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0e,
3847 0x0a, 0x0a, 0x4e, 0x4f, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x10, 0x02, 0x22, 0x4a,
3848 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x69, 0x70, 0x72, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x12, 0x17, 0x0a,
3849 0x13, 0x52, 0x45, 0x43, 0x49, 0x50, 0x52, 0x4f, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x4b,
3850 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x43, 0x49, 0x50, 0x52,
3851 0x4f, 0x43, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x4f, 0x4e, 0x5f, 0x52, 0x45,
3852 0x43, 0x49, 0x50, 0x52, 0x4f, 0x43, 0x41, 0x4c, 0x10, 0x02, 0x22, 0x73, 0x0a, 0x05, 0x54, 0x65,
3853 0x6e, 0x73, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x45, 0x4e, 0x53, 0x45, 0x5f, 0x55, 0x4e, 0x4b,
3854 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x44, 0x49, 0x54,
3855 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x5f, 0x54, 0x45, 0x4e, 0x53, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a,
3856 0x06, 0x46, 0x55, 0x54, 0x55, 0x52, 0x45, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x41, 0x53,
3857 0x54, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, 0x54, 0x10, 0x04,
3858 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4d, 0x50, 0x45, 0x52, 0x46, 0x45, 0x43, 0x54, 0x10, 0x05, 0x12,
3859 0x0e, 0x0a, 0x0a, 0x50, 0x4c, 0x55, 0x50, 0x45, 0x52, 0x46, 0x45, 0x43, 0x54, 0x10, 0x06, 0x22,
3860 0x42, 0x0a, 0x05, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x56, 0x4f, 0x49, 0x43,
3861 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41,
3862 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x55, 0x53, 0x41,
3863 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x41, 0x53, 0x53, 0x49, 0x56,
3864 0x45, 0x10, 0x03, 0x22, 0xb1, 0x08, 0x0a, 0x0e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e,
3865 0x63, 0x79, 0x45, 0x64, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x74,
3866 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
3867 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78,
3868 0x12, 0x49, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
3869 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c,
3870 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e,
3871 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x45, 0x64, 0x67, 0x65, 0x2e, 0x4c,
3872 0x61, 0x62, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0xa9, 0x07, 0x0a, 0x05,
3873 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
3874 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x42, 0x42, 0x52, 0x45, 0x56, 0x10, 0x01, 0x12, 0x09,
3875 0x0a, 0x05, 0x41, 0x43, 0x4f, 0x4d, 0x50, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x56,
3876 0x43, 0x4c, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x44, 0x56, 0x4d, 0x4f, 0x44, 0x10, 0x04,
3877 0x12, 0x08, 0x0a, 0x04, 0x41, 0x4d, 0x4f, 0x44, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x50,
3878 0x50, 0x4f, 0x53, 0x10, 0x06, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x54, 0x54, 0x52, 0x10, 0x07, 0x12,
3879 0x07, 0x0a, 0x03, 0x41, 0x55, 0x58, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x55, 0x58, 0x50,
3880 0x41, 0x53, 0x53, 0x10, 0x09, 0x12, 0x06, 0x0a, 0x02, 0x43, 0x43, 0x10, 0x0a, 0x12, 0x09, 0x0a,
3881 0x05, 0x43, 0x43, 0x4f, 0x4d, 0x50, 0x10, 0x0b, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f, 0x4e, 0x4a,
3882 0x10, 0x0c, 0x12, 0x09, 0x0a, 0x05, 0x43, 0x53, 0x55, 0x42, 0x4a, 0x10, 0x0d, 0x12, 0x0d, 0x0a,
3883 0x09, 0x43, 0x53, 0x55, 0x42, 0x4a, 0x50, 0x41, 0x53, 0x53, 0x10, 0x0e, 0x12, 0x07, 0x0a, 0x03,
3884 0x44, 0x45, 0x50, 0x10, 0x0f, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x45, 0x54, 0x10, 0x10, 0x12, 0x0d,
3885 0x0a, 0x09, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x55, 0x52, 0x53, 0x45, 0x10, 0x11, 0x12, 0x08, 0x0a,
3886 0x04, 0x44, 0x4f, 0x42, 0x4a, 0x10, 0x12, 0x12, 0x08, 0x0a, 0x04, 0x45, 0x58, 0x50, 0x4c, 0x10,
3887 0x13, 0x12, 0x0c, 0x0a, 0x08, 0x47, 0x4f, 0x45, 0x53, 0x57, 0x49, 0x54, 0x48, 0x10, 0x14, 0x12,
3888 0x08, 0x0a, 0x04, 0x49, 0x4f, 0x42, 0x4a, 0x10, 0x15, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x41, 0x52,
3889 0x4b, 0x10, 0x16, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x57, 0x45, 0x10, 0x17, 0x12, 0x07, 0x0a, 0x03,
3890 0x4d, 0x57, 0x56, 0x10, 0x18, 0x12, 0x07, 0x0a, 0x03, 0x4e, 0x45, 0x47, 0x10, 0x19, 0x12, 0x06,
3891 0x0a, 0x02, 0x4e, 0x4e, 0x10, 0x1a, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x50, 0x41, 0x44, 0x56, 0x4d,
3892 0x4f, 0x44, 0x10, 0x1b, 0x12, 0x09, 0x0a, 0x05, 0x4e, 0x53, 0x55, 0x42, 0x4a, 0x10, 0x1c, 0x12,
3893 0x0d, 0x0a, 0x09, 0x4e, 0x53, 0x55, 0x42, 0x4a, 0x50, 0x41, 0x53, 0x53, 0x10, 0x1d, 0x12, 0x07,
3894 0x0a, 0x03, 0x4e, 0x55, 0x4d, 0x10, 0x1e, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x55, 0x4d, 0x42, 0x45,
3895 0x52, 0x10, 0x1f, 0x12, 0x05, 0x0a, 0x01, 0x50, 0x10, 0x20, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x41,
3896 0x52, 0x41, 0x54, 0x41, 0x58, 0x49, 0x53, 0x10, 0x21, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x41, 0x52,
3897 0x54, 0x4d, 0x4f, 0x44, 0x10, 0x22, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x43, 0x4f, 0x4d, 0x50, 0x10,
3898 0x23, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x42, 0x4a, 0x10, 0x24, 0x12, 0x08, 0x0a, 0x04, 0x50,
3899 0x4f, 0x53, 0x53, 0x10, 0x25, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x4f, 0x53, 0x54, 0x4e, 0x45, 0x47,
3900 0x10, 0x26, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x45, 0x43, 0x4f, 0x4d, 0x50, 0x10, 0x27, 0x12,
3901 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x4a, 0x10, 0x28, 0x12, 0x0a, 0x0a, 0x06,
3902 0x50, 0x52, 0x45, 0x44, 0x45, 0x54, 0x10, 0x29, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x52, 0x45, 0x46,
3903 0x10, 0x2a, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x52, 0x45, 0x50, 0x10, 0x2b, 0x12, 0x09, 0x0a, 0x05,
3904 0x50, 0x52, 0x4f, 0x4e, 0x4c, 0x10, 0x2c, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x52, 0x54, 0x10, 0x2d,
3905 0x12, 0x06, 0x0a, 0x02, 0x50, 0x53, 0x10, 0x2e, 0x12, 0x0c, 0x0a, 0x08, 0x51, 0x55, 0x41, 0x4e,
3906 0x54, 0x4d, 0x4f, 0x44, 0x10, 0x2f, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x43, 0x4d, 0x4f, 0x44, 0x10,
3907 0x30, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x43, 0x4d, 0x4f, 0x44, 0x52, 0x45, 0x4c, 0x10, 0x31, 0x12,
3908 0x09, 0x0a, 0x05, 0x52, 0x44, 0x52, 0x4f, 0x50, 0x10, 0x32, 0x12, 0x07, 0x0a, 0x03, 0x52, 0x45,
3909 0x46, 0x10, 0x33, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x4d, 0x4e, 0x41, 0x4e, 0x54, 0x10, 0x34,
3910 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x50, 0x41, 0x52, 0x41, 0x4e, 0x44, 0x55, 0x4d, 0x10, 0x35,
3911 0x12, 0x08, 0x0a, 0x04, 0x52, 0x4f, 0x4f, 0x54, 0x10, 0x36, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x4e,
3912 0x55, 0x4d, 0x10, 0x37, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x55, 0x46, 0x46, 0x10, 0x38, 0x12, 0x08,
3913 0x0a, 0x04, 0x54, 0x4d, 0x4f, 0x44, 0x10, 0x39, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x4f, 0x50, 0x49,
3914 0x43, 0x10, 0x3a, 0x12, 0x08, 0x0a, 0x04, 0x56, 0x4d, 0x4f, 0x44, 0x10, 0x3b, 0x12, 0x0c, 0x0a,
3915 0x08, 0x56, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x3c, 0x12, 0x09, 0x0a, 0x05, 0x58,
3916 0x43, 0x4f, 0x4d, 0x50, 0x10, 0x3d, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x55, 0x46, 0x46, 0x49, 0x58,
3917 0x10, 0x3e, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x49, 0x54, 0x4c, 0x45, 0x10, 0x3f, 0x12, 0x0c, 0x0a,
3918 0x08, 0x41, 0x44, 0x56, 0x50, 0x48, 0x4d, 0x4f, 0x44, 0x10, 0x40, 0x12, 0x0b, 0x0a, 0x07, 0x41,
3919 0x55, 0x58, 0x43, 0x41, 0x55, 0x53, 0x10, 0x41, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x55, 0x58, 0x56,
3920 0x56, 0x10, 0x42, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x54, 0x4d, 0x4f, 0x44, 0x10, 0x43, 0x12, 0x0b,
3921 0x0a, 0x07, 0x46, 0x4f, 0x52, 0x45, 0x49, 0x47, 0x4e, 0x10, 0x44, 0x12, 0x06, 0x0a, 0x02, 0x4b,
3922 0x57, 0x10, 0x45, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x46, 0x12, 0x08, 0x0a,
3923 0x04, 0x4e, 0x4f, 0x4d, 0x43, 0x10, 0x47, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x4f, 0x4d, 0x43, 0x53,
3924 0x55, 0x42, 0x4a, 0x10, 0x48, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x4f, 0x4d, 0x43, 0x53, 0x55, 0x42,
3925 0x4a, 0x50, 0x41, 0x53, 0x53, 0x10, 0x49, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x55, 0x4d, 0x43, 0x10,
3926 0x4a, 0x12, 0x07, 0x0a, 0x03, 0x43, 0x4f, 0x50, 0x10, 0x4b, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x49,
3927 0x53, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, 0x4c, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x53,
3928 0x50, 0x10, 0x4d, 0x12, 0x08, 0x0a, 0x04, 0x47, 0x4d, 0x4f, 0x44, 0x10, 0x4e, 0x12, 0x08, 0x0a,
3929 0x04, 0x47, 0x4f, 0x42, 0x4a, 0x10, 0x4f, 0x12, 0x0a, 0x0a, 0x06, 0x49, 0x4e, 0x46, 0x4d, 0x4f,
3930 0x44, 0x10, 0x50, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x45, 0x53, 0x10, 0x51, 0x12, 0x09, 0x0a, 0x05,
3931 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x10, 0x52, 0x22, 0x8d, 0x02, 0x0a, 0x0d, 0x45, 0x6e, 0x74, 0x69,
3932 0x74, 0x79, 0x4d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x65, 0x78,
3933 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3934 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e,
3935 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x53, 0x70, 0x61, 0x6e,
3936 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x45, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
3937 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
3938 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62,
3939 0x65, 0x74, 0x61, 0x32, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6e, 0x74, 0x69,
3940 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x46, 0x0a,
3941 0x09, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
3942 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
3943 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
3944 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x73, 0x65, 0x6e, 0x74,
3945 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x30, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a,
3946 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12,
3947 0x0a, 0x0a, 0x06, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43,
3948 0x4f, 0x4d, 0x4d, 0x4f, 0x4e, 0x10, 0x02, 0x22, 0x47, 0x0a, 0x08, 0x54, 0x65, 0x78, 0x74, 0x53,
3949 0x70, 0x61, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01,
3950 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a,
3951 0x0c, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20,
3952 0x01, 0x28, 0x05, 0x52, 0x0b, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74,
3953 0x22, 0x4c, 0x0a, 0x16, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
3954 0x6f, 0x6e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
3955 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e,
3956 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01,
3957 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x22, 0xf4,
3958 0x03, 0x0a, 0x1a, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
3959 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5e, 0x0a,
3960 0x08, 0x76, 0x31, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
3961 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c,
3962 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e,
3963 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f,
3964 0x64, 0x65, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x31, 0x4d, 0x6f, 0x64,
3965 0x65, 0x6c, 0x48, 0x00, 0x52, 0x07, 0x76, 0x31, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x5e, 0x0a,
3966 0x08, 0x76, 0x32, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
3967 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c,
3968 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e,
3969 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f,
3970 0x64, 0x65, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x32, 0x4d, 0x6f, 0x64,
3971 0x65, 0x6c, 0x48, 0x00, 0x52, 0x07, 0x76, 0x32, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x1a, 0x09, 0x0a,
3972 0x07, 0x56, 0x31, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x1a, 0xfc, 0x01, 0x0a, 0x07, 0x56, 0x32, 0x4d,
3973 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x98, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
3974 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73,
3975 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x5a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3976 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
3977 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69,
3978 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4f, 0x70, 0x74,
3979 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x32, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x43, 0x6f, 0x6e,
3980 0x74, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x56, 0x65,
3981 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x18, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x61,
3982 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22,
3983 0x56, 0x0a, 0x18, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f,
3984 0x72, 0x69, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x26, 0x43,
3985 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x49, 0x45,
3986 0x53, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
3987 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x56, 0x31, 0x10, 0x01, 0x12,
3988 0x06, 0x0a, 0x02, 0x56, 0x32, 0x10, 0x02, 0x42, 0x0c, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
3989 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xb5, 0x01, 0x0a, 0x17, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a,
3990 0x65, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
3991 0x74, 0x12, 0x48, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
3992 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
3993 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65,
3994 0x74, 0x61, 0x32, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41,
3995 0x02, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x50, 0x0a, 0x0d, 0x65,
3996 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
3997 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
3998 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
3999 0x61, 0x32, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52,
4000 0x0c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0xd6, 0x01,
4001 0x0a, 0x18, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65,
4002 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x12, 0x64, 0x6f,
4003 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74,
4004 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
4005 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76,
4006 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74,
4007 0x52, 0x11, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d,
4008 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18,
4009 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12,
4010 0x45, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03,
4011 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
4012 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
4013 0x61, 0x32, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x73, 0x65, 0x6e,
4014 0x74, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x22, 0xbb, 0x01, 0x0a, 0x1d, 0x41, 0x6e, 0x61, 0x6c, 0x79,
4015 0x7a, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e,
4016 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75,
4017 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f,
4018 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
4019 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d,
4020 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65,
4021 0x6e, 0x74, 0x12, 0x50, 0x0a, 0x0d, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74,
4022 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
4023 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
4024 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69,
4025 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67,
4026 0x54, 0x79, 0x70, 0x65, 0x22, 0x7f, 0x0a, 0x1e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x45,
4027 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65,
4028 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69,
4029 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
4030 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
4031 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52,
4032 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e,
4033 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e,
4034 0x67, 0x75, 0x61, 0x67, 0x65, 0x22, 0xb4, 0x01, 0x0a, 0x16, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a,
4035 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
4036 0x12, 0x48, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
4037 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
4038 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
4039 0x61, 0x32, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02,
4040 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x50, 0x0a, 0x0d, 0x65, 0x6e,
4041 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
4042 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
4043 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
4044 0x32, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c,
4045 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0x78, 0x0a, 0x17,
4046 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52,
4047 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74,
4048 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
4049 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
4050 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79,
4051 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61,
4052 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61,
4053 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x22, 0xb2, 0x01, 0x0a, 0x14, 0x41, 0x6e, 0x61, 0x6c, 0x79,
4054 0x7a, 0x65, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
4055 0x48, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
4056 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
4057 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
4058 0x32, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
4059 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x50, 0x0a, 0x0d, 0x65, 0x6e, 0x63,
4060 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
4061 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
4062 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
4063 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x65,
4064 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0xb8, 0x01, 0x0a, 0x15,
4065 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x52, 0x65, 0x73,
4066 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63,
4067 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
4068 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
4069 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63,
4070 0x65, 0x52, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x06,
4071 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67,
4072 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67,
4073 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x6f, 0x6b,
4074 0x65, 0x6e, 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61,
4075 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61,
4076 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x22, 0xdc, 0x01, 0x0a, 0x13, 0x43, 0x6c, 0x61, 0x73, 0x73,
4077 0x69, 0x66, 0x79, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48,
4078 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
4079 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
4080 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
4081 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08,
4082 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x7b, 0x0a, 0x1c, 0x63, 0x6c, 0x61, 0x73,
4083 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
4084 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39,
4085 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61,
4086 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43,
4087 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64,
4088 0x65, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x1a, 0x63, 0x6c, 0x61, 0x73, 0x73,
4089 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4f, 0x70,
4090 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x6d, 0x0a, 0x14, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66,
4091 0x79, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a,
4092 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
4093 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
4094 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
4095 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
4096 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f,
4097 0x72, 0x69, 0x65, 0x73, 0x22, 0x5f, 0x0a, 0x13, 0x4d, 0x6f, 0x64, 0x65, 0x72, 0x61, 0x74, 0x65,
4098 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x08, 0x64,
4099 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e,
4100 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e,
4101 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x6f,
4102 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x64, 0x6f, 0x63,
4103 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x82, 0x01, 0x0a, 0x14, 0x4d, 0x6f, 0x64, 0x65, 0x72, 0x61,
4104 0x74, 0x65, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a,
4105 0x0a, 0x15, 0x6d, 0x6f, 0x64, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x61, 0x74,
4106 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e,
4107 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e,
4108 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43, 0x6c,
4109 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x74, 0x65,
4110 0x67, 0x6f, 0x72, 0x79, 0x52, 0x14, 0x6d, 0x6f, 0x64, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
4111 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x22, 0xad, 0x05, 0x0a, 0x13, 0x41,
4112 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
4113 0x73, 0x74, 0x12, 0x48, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01,
4114 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
4115 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62,
4116 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0,
4117 0x41, 0x02, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x5c, 0x0a, 0x08,
4118 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b,
4119 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61,
4120 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41,
4121 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
4122 0x73, 0x74, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02,
4123 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x50, 0x0a, 0x0d, 0x65, 0x6e,
4124 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
4125 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
4126 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
4127 0x32, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c,
4128 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x9b, 0x03, 0x0a,
4129 0x08, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x74,
4130 0x72, 0x61, 0x63, 0x74, 0x5f, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28,
4131 0x08, 0x52, 0x0d, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78,
4132 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69,
4133 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x65, 0x78, 0x74, 0x72,
4134 0x61, 0x63, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x1a, 0x65,
4135 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f,
4136 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
4137 0x18, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
4138 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x18, 0x65, 0x78, 0x74,
4139 0x72, 0x61, 0x63, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x6e, 0x74,
4140 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x65, 0x78, 0x74,
4141 0x72, 0x61, 0x63, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d,
4142 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x79, 0x5f,
4143 0x74, 0x65, 0x78, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x63, 0x6c, 0x61, 0x73,
4144 0x73, 0x69, 0x66, 0x79, 0x54, 0x65, 0x78, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x6f, 0x64, 0x65,
4145 0x72, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52,
4146 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x72, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74, 0x12, 0x7b, 0x0a,
4147 0x1c, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
4148 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20,
4149 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
4150 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65,
4151 0x74, 0x61, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
4152 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x1a,
4153 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f,
4154 0x64, 0x65, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x96, 0x04, 0x0a, 0x14, 0x41,
4155 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
4156 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x73,
4157 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
4158 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76,
4159 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x52,
4160 0x09, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x06, 0x74, 0x6f,
4161 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f,
4162 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
4163 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
4164 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x69,
4165 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f,
4166 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
4167 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74,
4168 0x79, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x57, 0x0a, 0x12, 0x64,
4169 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e,
4170 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
4171 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e,
4172 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e,
4173 0x74, 0x52, 0x11, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69,
4174 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
4175 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
4176 0x12, 0x55, 0x0a, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x06,
4177 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
4178 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62,
4179 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
4180 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x63, 0x61, 0x74,
4181 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x6a, 0x0a, 0x15, 0x6d, 0x6f, 0x64, 0x65, 0x72,
4182 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73,
4183 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
4184 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76,
4185 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63,
4186 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x14, 0x6d,
4187 0x6f, 0x64, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72,
4188 0x69, 0x65, 0x73, 0x2a, 0x38, 0x0a, 0x0c, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54,
4189 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a,
4190 0x04, 0x55, 0x54, 0x46, 0x38, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x54, 0x46, 0x31, 0x36,
4191 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x54, 0x46, 0x33, 0x32, 0x10, 0x03, 0x32, 0xbb, 0x0c,
4192 0x0a, 0x0f, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
4193 0x65, 0x12, 0xd7, 0x01, 0x0a, 0x10, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x53, 0x65, 0x6e,
4194 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
4195 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76,
4196 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x53, 0x65,
4197 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37,
4198 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61,
4199 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41,
4200 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x52,
4201 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0xda, 0x41, 0x16, 0x64, 0x6f, 0x63, 0x75,
4202 0x6d, 0x65, 0x6e, 0x74, 0x2c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79,
4203 0x70, 0x65, 0xda, 0x41, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4,
4204 0x93, 0x02, 0x28, 0x3a, 0x01, 0x2a, 0x22, 0x23, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
4205 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x61, 0x6e, 0x61, 0x6c, 0x79,
4206 0x7a, 0x65, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0xd3, 0x01, 0x0a, 0x0f,
4207 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12,
4208 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c,
4209 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e,
4210 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52,
4211 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
4212 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76,
4213 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x45, 0x6e,
4214 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x51,
4215 0xda, 0x41, 0x16, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2c, 0x65, 0x6e, 0x63, 0x6f,
4216 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0xda, 0x41, 0x08, 0x64, 0x6f, 0x63, 0x75,
4217 0x6d, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x3a, 0x01, 0x2a, 0x22, 0x22, 0x2f,
4218 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
4219 0x73, 0x3a, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65,
4220 0x73, 0x12, 0xef, 0x01, 0x0a, 0x16, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x45, 0x6e, 0x74,
4221 0x69, 0x74, 0x79, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3c, 0x2e, 0x67,
4222 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67,
4223 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41, 0x6e, 0x61,
4224 0x6c, 0x79, 0x7a, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d,
4225 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x67, 0x6f, 0x6f,
4226 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
4227 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79,
4228 0x7a, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e,
4229 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x58, 0xda, 0x41, 0x16, 0x64, 0x6f,
4230 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f,
4231 0x74, 0x79, 0x70, 0x65, 0xda, 0x41, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x82,
4232 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x3a, 0x01, 0x2a, 0x22, 0x29, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74,
4233 0x61, 0x32, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x61, 0x6e, 0x61,
4234 0x6c, 0x79, 0x7a, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d,
4235 0x65, 0x6e, 0x74, 0x12, 0xcb, 0x01, 0x0a, 0x0d, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x53,
4236 0x79, 0x6e, 0x74, 0x61, 0x78, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
4237 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,
4238 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x53, 0x79, 0x6e,
4239 0x74, 0x61, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f,
4240 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
4241 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79,
4242 0x7a, 0x65, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
4243 0x22, 0x4f, 0xda, 0x41, 0x16, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2c, 0x65, 0x6e,
4244 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0xda, 0x41, 0x08, 0x64, 0x6f,
4245 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x01, 0x2a, 0x22,
4246 0x20, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65,
4247 0x6e, 0x74, 0x73, 0x3a, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x53, 0x79, 0x6e, 0x74, 0x61,
4248 0x78, 0x12, 0xae, 0x01, 0x0a, 0x0c, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x79, 0x54, 0x65,
4249 0x78, 0x74, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
4250 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
4251 0x61, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x79, 0x54, 0x65, 0x78, 0x74, 0x52,
4252 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
4253 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76,
4254 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x79, 0x54,
4255 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0xda, 0x41, 0x08,
4256 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x3a, 0x01,
4257 0x2a, 0x22, 0x1f, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x64, 0x6f, 0x63, 0x75,
4258 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x79, 0x54, 0x65,
4259 0x78, 0x74, 0x12, 0xae, 0x01, 0x0a, 0x0c, 0x4d, 0x6f, 0x64, 0x65, 0x72, 0x61, 0x74, 0x65, 0x54,
4260 0x65, 0x78, 0x74, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
4261 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65,
4262 0x74, 0x61, 0x32, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x72, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74,
4263 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
4264 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e,
4265 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x72, 0x61, 0x74, 0x65,
4266 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0xda, 0x41,
4267 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x3a,
4268 0x01, 0x2a, 0x22, 0x1f, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x64, 0x6f, 0x63,
4269 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x6d, 0x6f, 0x64, 0x65, 0x72, 0x61, 0x74, 0x65, 0x54,
4270 0x65, 0x78, 0x74, 0x12, 0xd9, 0x01, 0x0a, 0x0c, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65,
4271 0x54, 0x65, 0x78, 0x74, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
4272 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62,
4273 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78,
4274 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
4275 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
4276 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
4277 0x65, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x60, 0xda,
4278 0x41, 0x1f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2c, 0x66, 0x65, 0x61, 0x74, 0x75,
4279 0x72, 0x65, 0x73, 0x2c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70,
4280 0x65, 0xda, 0x41, 0x11, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2c, 0x66, 0x65, 0x61,
4281 0x74, 0x75, 0x72, 0x65, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x3a, 0x01, 0x2a, 0x22, 0x1f,
4282 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
4283 0x74, 0x73, 0x3a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74, 0x1a,
4284 0x7a, 0xca, 0x41, 0x17, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x67, 0x6f, 0x6f,
4285 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x5d, 0x68, 0x74,
4286 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
4287 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c,
4288 0x6f, 0x75, 0x64, 0x2d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2c, 0x68, 0x74, 0x74,
4289 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
4290 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f,
4291 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x7a, 0x0a, 0x21, 0x63,
4292 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
4293 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
4294 0x42, 0x14, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
4295 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
4296 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6c, 0x61,
4297 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
4298 0x32, 0x2f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x70, 0x62, 0x3b, 0x6c, 0x61, 0x6e,
4299 0x67, 0x75, 0x61, 0x67, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
4300 }
4301
4302 var (
4303 file_google_cloud_language_v1beta2_language_service_proto_rawDescOnce sync.Once
4304 file_google_cloud_language_v1beta2_language_service_proto_rawDescData = file_google_cloud_language_v1beta2_language_service_proto_rawDesc
4305 )
4306
4307 func file_google_cloud_language_v1beta2_language_service_proto_rawDescGZIP() []byte {
4308 file_google_cloud_language_v1beta2_language_service_proto_rawDescOnce.Do(func() {
4309 file_google_cloud_language_v1beta2_language_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_language_v1beta2_language_service_proto_rawDescData)
4310 })
4311 return file_google_cloud_language_v1beta2_language_service_proto_rawDescData
4312 }
4313
4314 var file_google_cloud_language_v1beta2_language_service_proto_enumTypes = make([]protoimpl.EnumInfo, 19)
4315 var file_google_cloud_language_v1beta2_language_service_proto_msgTypes = make([]protoimpl.MessageInfo, 29)
4316 var file_google_cloud_language_v1beta2_language_service_proto_goTypes = []any{
4317 (EncodingType)(0), // 0: google.cloud.language.v1beta2.EncodingType
4318 (Document_Type)(0), // 1: google.cloud.language.v1beta2.Document.Type
4319 (Document_BoilerplateHandling)(0), // 2: google.cloud.language.v1beta2.Document.BoilerplateHandling
4320 (Entity_Type)(0), // 3: google.cloud.language.v1beta2.Entity.Type
4321 (PartOfSpeech_Tag)(0), // 4: google.cloud.language.v1beta2.PartOfSpeech.Tag
4322 (PartOfSpeech_Aspect)(0), // 5: google.cloud.language.v1beta2.PartOfSpeech.Aspect
4323 (PartOfSpeech_Case)(0), // 6: google.cloud.language.v1beta2.PartOfSpeech.Case
4324 (PartOfSpeech_Form)(0), // 7: google.cloud.language.v1beta2.PartOfSpeech.Form
4325 (PartOfSpeech_Gender)(0), // 8: google.cloud.language.v1beta2.PartOfSpeech.Gender
4326 (PartOfSpeech_Mood)(0), // 9: google.cloud.language.v1beta2.PartOfSpeech.Mood
4327 (PartOfSpeech_Number)(0), // 10: google.cloud.language.v1beta2.PartOfSpeech.Number
4328 (PartOfSpeech_Person)(0), // 11: google.cloud.language.v1beta2.PartOfSpeech.Person
4329 (PartOfSpeech_Proper)(0), // 12: google.cloud.language.v1beta2.PartOfSpeech.Proper
4330 (PartOfSpeech_Reciprocity)(0), // 13: google.cloud.language.v1beta2.PartOfSpeech.Reciprocity
4331 (PartOfSpeech_Tense)(0), // 14: google.cloud.language.v1beta2.PartOfSpeech.Tense
4332 (PartOfSpeech_Voice)(0), // 15: google.cloud.language.v1beta2.PartOfSpeech.Voice
4333 (DependencyEdge_Label)(0), // 16: google.cloud.language.v1beta2.DependencyEdge.Label
4334 (EntityMention_Type)(0), // 17: google.cloud.language.v1beta2.EntityMention.Type
4335 (ClassificationModelOptions_V2Model_ContentCategoriesVersion)(0), // 18: google.cloud.language.v1beta2.ClassificationModelOptions.V2Model.ContentCategoriesVersion
4336 (*Document)(nil), // 19: google.cloud.language.v1beta2.Document
4337 (*Sentence)(nil), // 20: google.cloud.language.v1beta2.Sentence
4338 (*Entity)(nil), // 21: google.cloud.language.v1beta2.Entity
4339 (*Token)(nil), // 22: google.cloud.language.v1beta2.Token
4340 (*Sentiment)(nil), // 23: google.cloud.language.v1beta2.Sentiment
4341 (*PartOfSpeech)(nil), // 24: google.cloud.language.v1beta2.PartOfSpeech
4342 (*DependencyEdge)(nil), // 25: google.cloud.language.v1beta2.DependencyEdge
4343 (*EntityMention)(nil), // 26: google.cloud.language.v1beta2.EntityMention
4344 (*TextSpan)(nil), // 27: google.cloud.language.v1beta2.TextSpan
4345 (*ClassificationCategory)(nil), // 28: google.cloud.language.v1beta2.ClassificationCategory
4346 (*ClassificationModelOptions)(nil), // 29: google.cloud.language.v1beta2.ClassificationModelOptions
4347 (*AnalyzeSentimentRequest)(nil), // 30: google.cloud.language.v1beta2.AnalyzeSentimentRequest
4348 (*AnalyzeSentimentResponse)(nil), // 31: google.cloud.language.v1beta2.AnalyzeSentimentResponse
4349 (*AnalyzeEntitySentimentRequest)(nil), // 32: google.cloud.language.v1beta2.AnalyzeEntitySentimentRequest
4350 (*AnalyzeEntitySentimentResponse)(nil), // 33: google.cloud.language.v1beta2.AnalyzeEntitySentimentResponse
4351 (*AnalyzeEntitiesRequest)(nil), // 34: google.cloud.language.v1beta2.AnalyzeEntitiesRequest
4352 (*AnalyzeEntitiesResponse)(nil), // 35: google.cloud.language.v1beta2.AnalyzeEntitiesResponse
4353 (*AnalyzeSyntaxRequest)(nil), // 36: google.cloud.language.v1beta2.AnalyzeSyntaxRequest
4354 (*AnalyzeSyntaxResponse)(nil), // 37: google.cloud.language.v1beta2.AnalyzeSyntaxResponse
4355 (*ClassifyTextRequest)(nil), // 38: google.cloud.language.v1beta2.ClassifyTextRequest
4356 (*ClassifyTextResponse)(nil), // 39: google.cloud.language.v1beta2.ClassifyTextResponse
4357 (*ModerateTextRequest)(nil), // 40: google.cloud.language.v1beta2.ModerateTextRequest
4358 (*ModerateTextResponse)(nil), // 41: google.cloud.language.v1beta2.ModerateTextResponse
4359 (*AnnotateTextRequest)(nil), // 42: google.cloud.language.v1beta2.AnnotateTextRequest
4360 (*AnnotateTextResponse)(nil), // 43: google.cloud.language.v1beta2.AnnotateTextResponse
4361 nil, // 44: google.cloud.language.v1beta2.Entity.MetadataEntry
4362 (*ClassificationModelOptions_V1Model)(nil), // 45: google.cloud.language.v1beta2.ClassificationModelOptions.V1Model
4363 (*ClassificationModelOptions_V2Model)(nil), // 46: google.cloud.language.v1beta2.ClassificationModelOptions.V2Model
4364 (*AnnotateTextRequest_Features)(nil), // 47: google.cloud.language.v1beta2.AnnotateTextRequest.Features
4365 }
4366 var file_google_cloud_language_v1beta2_language_service_proto_depIdxs = []int32{
4367 1, // 0: google.cloud.language.v1beta2.Document.type:type_name -> google.cloud.language.v1beta2.Document.Type
4368 2, // 1: google.cloud.language.v1beta2.Document.boilerplate_handling:type_name -> google.cloud.language.v1beta2.Document.BoilerplateHandling
4369 27, // 2: google.cloud.language.v1beta2.Sentence.text:type_name -> google.cloud.language.v1beta2.TextSpan
4370 23, // 3: google.cloud.language.v1beta2.Sentence.sentiment:type_name -> google.cloud.language.v1beta2.Sentiment
4371 3, // 4: google.cloud.language.v1beta2.Entity.type:type_name -> google.cloud.language.v1beta2.Entity.Type
4372 44, // 5: google.cloud.language.v1beta2.Entity.metadata:type_name -> google.cloud.language.v1beta2.Entity.MetadataEntry
4373 26, // 6: google.cloud.language.v1beta2.Entity.mentions:type_name -> google.cloud.language.v1beta2.EntityMention
4374 23, // 7: google.cloud.language.v1beta2.Entity.sentiment:type_name -> google.cloud.language.v1beta2.Sentiment
4375 27, // 8: google.cloud.language.v1beta2.Token.text:type_name -> google.cloud.language.v1beta2.TextSpan
4376 24, // 9: google.cloud.language.v1beta2.Token.part_of_speech:type_name -> google.cloud.language.v1beta2.PartOfSpeech
4377 25, // 10: google.cloud.language.v1beta2.Token.dependency_edge:type_name -> google.cloud.language.v1beta2.DependencyEdge
4378 4, // 11: google.cloud.language.v1beta2.PartOfSpeech.tag:type_name -> google.cloud.language.v1beta2.PartOfSpeech.Tag
4379 5, // 12: google.cloud.language.v1beta2.PartOfSpeech.aspect:type_name -> google.cloud.language.v1beta2.PartOfSpeech.Aspect
4380 6, // 13: google.cloud.language.v1beta2.PartOfSpeech.case:type_name -> google.cloud.language.v1beta2.PartOfSpeech.Case
4381 7, // 14: google.cloud.language.v1beta2.PartOfSpeech.form:type_name -> google.cloud.language.v1beta2.PartOfSpeech.Form
4382 8, // 15: google.cloud.language.v1beta2.PartOfSpeech.gender:type_name -> google.cloud.language.v1beta2.PartOfSpeech.Gender
4383 9, // 16: google.cloud.language.v1beta2.PartOfSpeech.mood:type_name -> google.cloud.language.v1beta2.PartOfSpeech.Mood
4384 10, // 17: google.cloud.language.v1beta2.PartOfSpeech.number:type_name -> google.cloud.language.v1beta2.PartOfSpeech.Number
4385 11, // 18: google.cloud.language.v1beta2.PartOfSpeech.person:type_name -> google.cloud.language.v1beta2.PartOfSpeech.Person
4386 12, // 19: google.cloud.language.v1beta2.PartOfSpeech.proper:type_name -> google.cloud.language.v1beta2.PartOfSpeech.Proper
4387 13, // 20: google.cloud.language.v1beta2.PartOfSpeech.reciprocity:type_name -> google.cloud.language.v1beta2.PartOfSpeech.Reciprocity
4388 14, // 21: google.cloud.language.v1beta2.PartOfSpeech.tense:type_name -> google.cloud.language.v1beta2.PartOfSpeech.Tense
4389 15, // 22: google.cloud.language.v1beta2.PartOfSpeech.voice:type_name -> google.cloud.language.v1beta2.PartOfSpeech.Voice
4390 16, // 23: google.cloud.language.v1beta2.DependencyEdge.label:type_name -> google.cloud.language.v1beta2.DependencyEdge.Label
4391 27, // 24: google.cloud.language.v1beta2.EntityMention.text:type_name -> google.cloud.language.v1beta2.TextSpan
4392 17, // 25: google.cloud.language.v1beta2.EntityMention.type:type_name -> google.cloud.language.v1beta2.EntityMention.Type
4393 23, // 26: google.cloud.language.v1beta2.EntityMention.sentiment:type_name -> google.cloud.language.v1beta2.Sentiment
4394 45, // 27: google.cloud.language.v1beta2.ClassificationModelOptions.v1_model:type_name -> google.cloud.language.v1beta2.ClassificationModelOptions.V1Model
4395 46, // 28: google.cloud.language.v1beta2.ClassificationModelOptions.v2_model:type_name -> google.cloud.language.v1beta2.ClassificationModelOptions.V2Model
4396 19, // 29: google.cloud.language.v1beta2.AnalyzeSentimentRequest.document:type_name -> google.cloud.language.v1beta2.Document
4397 0, // 30: google.cloud.language.v1beta2.AnalyzeSentimentRequest.encoding_type:type_name -> google.cloud.language.v1beta2.EncodingType
4398 23, // 31: google.cloud.language.v1beta2.AnalyzeSentimentResponse.document_sentiment:type_name -> google.cloud.language.v1beta2.Sentiment
4399 20, // 32: google.cloud.language.v1beta2.AnalyzeSentimentResponse.sentences:type_name -> google.cloud.language.v1beta2.Sentence
4400 19, // 33: google.cloud.language.v1beta2.AnalyzeEntitySentimentRequest.document:type_name -> google.cloud.language.v1beta2.Document
4401 0, // 34: google.cloud.language.v1beta2.AnalyzeEntitySentimentRequest.encoding_type:type_name -> google.cloud.language.v1beta2.EncodingType
4402 21, // 35: google.cloud.language.v1beta2.AnalyzeEntitySentimentResponse.entities:type_name -> google.cloud.language.v1beta2.Entity
4403 19, // 36: google.cloud.language.v1beta2.AnalyzeEntitiesRequest.document:type_name -> google.cloud.language.v1beta2.Document
4404 0, // 37: google.cloud.language.v1beta2.AnalyzeEntitiesRequest.encoding_type:type_name -> google.cloud.language.v1beta2.EncodingType
4405 21, // 38: google.cloud.language.v1beta2.AnalyzeEntitiesResponse.entities:type_name -> google.cloud.language.v1beta2.Entity
4406 19, // 39: google.cloud.language.v1beta2.AnalyzeSyntaxRequest.document:type_name -> google.cloud.language.v1beta2.Document
4407 0, // 40: google.cloud.language.v1beta2.AnalyzeSyntaxRequest.encoding_type:type_name -> google.cloud.language.v1beta2.EncodingType
4408 20, // 41: google.cloud.language.v1beta2.AnalyzeSyntaxResponse.sentences:type_name -> google.cloud.language.v1beta2.Sentence
4409 22, // 42: google.cloud.language.v1beta2.AnalyzeSyntaxResponse.tokens:type_name -> google.cloud.language.v1beta2.Token
4410 19, // 43: google.cloud.language.v1beta2.ClassifyTextRequest.document:type_name -> google.cloud.language.v1beta2.Document
4411 29, // 44: google.cloud.language.v1beta2.ClassifyTextRequest.classification_model_options:type_name -> google.cloud.language.v1beta2.ClassificationModelOptions
4412 28, // 45: google.cloud.language.v1beta2.ClassifyTextResponse.categories:type_name -> google.cloud.language.v1beta2.ClassificationCategory
4413 19, // 46: google.cloud.language.v1beta2.ModerateTextRequest.document:type_name -> google.cloud.language.v1beta2.Document
4414 28, // 47: google.cloud.language.v1beta2.ModerateTextResponse.moderation_categories:type_name -> google.cloud.language.v1beta2.ClassificationCategory
4415 19, // 48: google.cloud.language.v1beta2.AnnotateTextRequest.document:type_name -> google.cloud.language.v1beta2.Document
4416 47, // 49: google.cloud.language.v1beta2.AnnotateTextRequest.features:type_name -> google.cloud.language.v1beta2.AnnotateTextRequest.Features
4417 0, // 50: google.cloud.language.v1beta2.AnnotateTextRequest.encoding_type:type_name -> google.cloud.language.v1beta2.EncodingType
4418 20, // 51: google.cloud.language.v1beta2.AnnotateTextResponse.sentences:type_name -> google.cloud.language.v1beta2.Sentence
4419 22, // 52: google.cloud.language.v1beta2.AnnotateTextResponse.tokens:type_name -> google.cloud.language.v1beta2.Token
4420 21, // 53: google.cloud.language.v1beta2.AnnotateTextResponse.entities:type_name -> google.cloud.language.v1beta2.Entity
4421 23, // 54: google.cloud.language.v1beta2.AnnotateTextResponse.document_sentiment:type_name -> google.cloud.language.v1beta2.Sentiment
4422 28, // 55: google.cloud.language.v1beta2.AnnotateTextResponse.categories:type_name -> google.cloud.language.v1beta2.ClassificationCategory
4423 28, // 56: google.cloud.language.v1beta2.AnnotateTextResponse.moderation_categories:type_name -> google.cloud.language.v1beta2.ClassificationCategory
4424 18, // 57: google.cloud.language.v1beta2.ClassificationModelOptions.V2Model.content_categories_version:type_name -> google.cloud.language.v1beta2.ClassificationModelOptions.V2Model.ContentCategoriesVersion
4425 29, // 58: google.cloud.language.v1beta2.AnnotateTextRequest.Features.classification_model_options:type_name -> google.cloud.language.v1beta2.ClassificationModelOptions
4426 30, // 59: google.cloud.language.v1beta2.LanguageService.AnalyzeSentiment:input_type -> google.cloud.language.v1beta2.AnalyzeSentimentRequest
4427 34, // 60: google.cloud.language.v1beta2.LanguageService.AnalyzeEntities:input_type -> google.cloud.language.v1beta2.AnalyzeEntitiesRequest
4428 32, // 61: google.cloud.language.v1beta2.LanguageService.AnalyzeEntitySentiment:input_type -> google.cloud.language.v1beta2.AnalyzeEntitySentimentRequest
4429 36, // 62: google.cloud.language.v1beta2.LanguageService.AnalyzeSyntax:input_type -> google.cloud.language.v1beta2.AnalyzeSyntaxRequest
4430 38, // 63: google.cloud.language.v1beta2.LanguageService.ClassifyText:input_type -> google.cloud.language.v1beta2.ClassifyTextRequest
4431 40, // 64: google.cloud.language.v1beta2.LanguageService.ModerateText:input_type -> google.cloud.language.v1beta2.ModerateTextRequest
4432 42, // 65: google.cloud.language.v1beta2.LanguageService.AnnotateText:input_type -> google.cloud.language.v1beta2.AnnotateTextRequest
4433 31, // 66: google.cloud.language.v1beta2.LanguageService.AnalyzeSentiment:output_type -> google.cloud.language.v1beta2.AnalyzeSentimentResponse
4434 35, // 67: google.cloud.language.v1beta2.LanguageService.AnalyzeEntities:output_type -> google.cloud.language.v1beta2.AnalyzeEntitiesResponse
4435 33, // 68: google.cloud.language.v1beta2.LanguageService.AnalyzeEntitySentiment:output_type -> google.cloud.language.v1beta2.AnalyzeEntitySentimentResponse
4436 37, // 69: google.cloud.language.v1beta2.LanguageService.AnalyzeSyntax:output_type -> google.cloud.language.v1beta2.AnalyzeSyntaxResponse
4437 39, // 70: google.cloud.language.v1beta2.LanguageService.ClassifyText:output_type -> google.cloud.language.v1beta2.ClassifyTextResponse
4438 41, // 71: google.cloud.language.v1beta2.LanguageService.ModerateText:output_type -> google.cloud.language.v1beta2.ModerateTextResponse
4439 43, // 72: google.cloud.language.v1beta2.LanguageService.AnnotateText:output_type -> google.cloud.language.v1beta2.AnnotateTextResponse
4440 66, // [66:73] is the sub-list for method output_type
4441 59, // [59:66] is the sub-list for method input_type
4442 59, // [59:59] is the sub-list for extension type_name
4443 59, // [59:59] is the sub-list for extension extendee
4444 0, // [0:59] is the sub-list for field type_name
4445 }
4446
4447 func init() { file_google_cloud_language_v1beta2_language_service_proto_init() }
4448 func file_google_cloud_language_v1beta2_language_service_proto_init() {
4449 if File_google_cloud_language_v1beta2_language_service_proto != nil {
4450 return
4451 }
4452 file_google_cloud_language_v1beta2_language_service_proto_msgTypes[0].OneofWrappers = []any{
4453 (*Document_Content)(nil),
4454 (*Document_GcsContentUri)(nil),
4455 }
4456 file_google_cloud_language_v1beta2_language_service_proto_msgTypes[10].OneofWrappers = []any{
4457 (*ClassificationModelOptions_V1Model_)(nil),
4458 (*ClassificationModelOptions_V2Model_)(nil),
4459 }
4460 type x struct{}
4461 out := protoimpl.TypeBuilder{
4462 File: protoimpl.DescBuilder{
4463 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
4464 RawDescriptor: file_google_cloud_language_v1beta2_language_service_proto_rawDesc,
4465 NumEnums: 19,
4466 NumMessages: 29,
4467 NumExtensions: 0,
4468 NumServices: 1,
4469 },
4470 GoTypes: file_google_cloud_language_v1beta2_language_service_proto_goTypes,
4471 DependencyIndexes: file_google_cloud_language_v1beta2_language_service_proto_depIdxs,
4472 EnumInfos: file_google_cloud_language_v1beta2_language_service_proto_enumTypes,
4473 MessageInfos: file_google_cloud_language_v1beta2_language_service_proto_msgTypes,
4474 }.Build()
4475 File_google_cloud_language_v1beta2_language_service_proto = out.File
4476 file_google_cloud_language_v1beta2_language_service_proto_rawDesc = nil
4477 file_google_cloud_language_v1beta2_language_service_proto_goTypes = nil
4478 file_google_cloud_language_v1beta2_language_service_proto_depIdxs = nil
4479 }
4480
4481 // Reference imports to suppress errors if they are not otherwise used.
4482 var _ context.Context
4483 var _ grpc.ClientConnInterface
4484
4485 // This is a compile-time assertion to ensure that this generated file
4486 // is compatible with the grpc package it is being compiled against.
4487 const _ = grpc.SupportPackageIsVersion6
4488
4489 // LanguageServiceClient is the client API for LanguageService service.
4490 //
4491 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
4492 type LanguageServiceClient interface {
4493 // Analyzes the sentiment of the provided text.
4494 AnalyzeSentiment(ctx context.Context, in *AnalyzeSentimentRequest, opts ...grpc.CallOption) (*AnalyzeSentimentResponse, error)
4495 // Finds named entities (currently proper names and common nouns) in the text
4496 // along with entity types, salience, mentions for each entity, and
4497 // other properties.
4498 AnalyzeEntities(ctx context.Context, in *AnalyzeEntitiesRequest, opts ...grpc.CallOption) (*AnalyzeEntitiesResponse, error)
4499 // Finds entities, similar to
4500 // [AnalyzeEntities][google.cloud.language.v1beta2.LanguageService.AnalyzeEntities]
4501 // in the text and analyzes sentiment associated with each entity and its
4502 // mentions.
4503 AnalyzeEntitySentiment(ctx context.Context, in *AnalyzeEntitySentimentRequest, opts ...grpc.CallOption) (*AnalyzeEntitySentimentResponse, error)
4504 // Analyzes the syntax of the text and provides sentence boundaries and
4505 // tokenization along with part of speech tags, dependency trees, and other
4506 // properties.
4507 AnalyzeSyntax(ctx context.Context, in *AnalyzeSyntaxRequest, opts ...grpc.CallOption) (*AnalyzeSyntaxResponse, error)
4508 // Classifies a document into categories.
4509 ClassifyText(ctx context.Context, in *ClassifyTextRequest, opts ...grpc.CallOption) (*ClassifyTextResponse, error)
4510 // Moderates a document for harmful and sensitive categories.
4511 ModerateText(ctx context.Context, in *ModerateTextRequest, opts ...grpc.CallOption) (*ModerateTextResponse, error)
4512 // A convenience method that provides all syntax, sentiment, entity, and
4513 // classification features in one call.
4514 AnnotateText(ctx context.Context, in *AnnotateTextRequest, opts ...grpc.CallOption) (*AnnotateTextResponse, error)
4515 }
4516
4517 type languageServiceClient struct {
4518 cc grpc.ClientConnInterface
4519 }
4520
4521 func NewLanguageServiceClient(cc grpc.ClientConnInterface) LanguageServiceClient {
4522 return &languageServiceClient{cc}
4523 }
4524
4525 func (c *languageServiceClient) AnalyzeSentiment(ctx context.Context, in *AnalyzeSentimentRequest, opts ...grpc.CallOption) (*AnalyzeSentimentResponse, error) {
4526 out := new(AnalyzeSentimentResponse)
4527 err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/AnalyzeSentiment", in, out, opts...)
4528 if err != nil {
4529 return nil, err
4530 }
4531 return out, nil
4532 }
4533
4534 func (c *languageServiceClient) AnalyzeEntities(ctx context.Context, in *AnalyzeEntitiesRequest, opts ...grpc.CallOption) (*AnalyzeEntitiesResponse, error) {
4535 out := new(AnalyzeEntitiesResponse)
4536 err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/AnalyzeEntities", in, out, opts...)
4537 if err != nil {
4538 return nil, err
4539 }
4540 return out, nil
4541 }
4542
4543 func (c *languageServiceClient) AnalyzeEntitySentiment(ctx context.Context, in *AnalyzeEntitySentimentRequest, opts ...grpc.CallOption) (*AnalyzeEntitySentimentResponse, error) {
4544 out := new(AnalyzeEntitySentimentResponse)
4545 err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/AnalyzeEntitySentiment", in, out, opts...)
4546 if err != nil {
4547 return nil, err
4548 }
4549 return out, nil
4550 }
4551
4552 func (c *languageServiceClient) AnalyzeSyntax(ctx context.Context, in *AnalyzeSyntaxRequest, opts ...grpc.CallOption) (*AnalyzeSyntaxResponse, error) {
4553 out := new(AnalyzeSyntaxResponse)
4554 err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/AnalyzeSyntax", in, out, opts...)
4555 if err != nil {
4556 return nil, err
4557 }
4558 return out, nil
4559 }
4560
4561 func (c *languageServiceClient) ClassifyText(ctx context.Context, in *ClassifyTextRequest, opts ...grpc.CallOption) (*ClassifyTextResponse, error) {
4562 out := new(ClassifyTextResponse)
4563 err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/ClassifyText", in, out, opts...)
4564 if err != nil {
4565 return nil, err
4566 }
4567 return out, nil
4568 }
4569
4570 func (c *languageServiceClient) ModerateText(ctx context.Context, in *ModerateTextRequest, opts ...grpc.CallOption) (*ModerateTextResponse, error) {
4571 out := new(ModerateTextResponse)
4572 err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/ModerateText", in, out, opts...)
4573 if err != nil {
4574 return nil, err
4575 }
4576 return out, nil
4577 }
4578
4579 func (c *languageServiceClient) AnnotateText(ctx context.Context, in *AnnotateTextRequest, opts ...grpc.CallOption) (*AnnotateTextResponse, error) {
4580 out := new(AnnotateTextResponse)
4581 err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/AnnotateText", in, out, opts...)
4582 if err != nil {
4583 return nil, err
4584 }
4585 return out, nil
4586 }
4587
4588 // LanguageServiceServer is the server API for LanguageService service.
4589 type LanguageServiceServer interface {
4590 // Analyzes the sentiment of the provided text.
4591 AnalyzeSentiment(context.Context, *AnalyzeSentimentRequest) (*AnalyzeSentimentResponse, error)
4592 // Finds named entities (currently proper names and common nouns) in the text
4593 // along with entity types, salience, mentions for each entity, and
4594 // other properties.
4595 AnalyzeEntities(context.Context, *AnalyzeEntitiesRequest) (*AnalyzeEntitiesResponse, error)
4596 // Finds entities, similar to
4597 // [AnalyzeEntities][google.cloud.language.v1beta2.LanguageService.AnalyzeEntities]
4598 // in the text and analyzes sentiment associated with each entity and its
4599 // mentions.
4600 AnalyzeEntitySentiment(context.Context, *AnalyzeEntitySentimentRequest) (*AnalyzeEntitySentimentResponse, error)
4601 // Analyzes the syntax of the text and provides sentence boundaries and
4602 // tokenization along with part of speech tags, dependency trees, and other
4603 // properties.
4604 AnalyzeSyntax(context.Context, *AnalyzeSyntaxRequest) (*AnalyzeSyntaxResponse, error)
4605 // Classifies a document into categories.
4606 ClassifyText(context.Context, *ClassifyTextRequest) (*ClassifyTextResponse, error)
4607 // Moderates a document for harmful and sensitive categories.
4608 ModerateText(context.Context, *ModerateTextRequest) (*ModerateTextResponse, error)
4609 // A convenience method that provides all syntax, sentiment, entity, and
4610 // classification features in one call.
4611 AnnotateText(context.Context, *AnnotateTextRequest) (*AnnotateTextResponse, error)
4612 }
4613
4614 // UnimplementedLanguageServiceServer can be embedded to have forward compatible implementations.
4615 type UnimplementedLanguageServiceServer struct {
4616 }
4617
4618 func (*UnimplementedLanguageServiceServer) AnalyzeSentiment(context.Context, *AnalyzeSentimentRequest) (*AnalyzeSentimentResponse, error) {
4619 return nil, status.Errorf(codes.Unimplemented, "method AnalyzeSentiment not implemented")
4620 }
4621 func (*UnimplementedLanguageServiceServer) AnalyzeEntities(context.Context, *AnalyzeEntitiesRequest) (*AnalyzeEntitiesResponse, error) {
4622 return nil, status.Errorf(codes.Unimplemented, "method AnalyzeEntities not implemented")
4623 }
4624 func (*UnimplementedLanguageServiceServer) AnalyzeEntitySentiment(context.Context, *AnalyzeEntitySentimentRequest) (*AnalyzeEntitySentimentResponse, error) {
4625 return nil, status.Errorf(codes.Unimplemented, "method AnalyzeEntitySentiment not implemented")
4626 }
4627 func (*UnimplementedLanguageServiceServer) AnalyzeSyntax(context.Context, *AnalyzeSyntaxRequest) (*AnalyzeSyntaxResponse, error) {
4628 return nil, status.Errorf(codes.Unimplemented, "method AnalyzeSyntax not implemented")
4629 }
4630 func (*UnimplementedLanguageServiceServer) ClassifyText(context.Context, *ClassifyTextRequest) (*ClassifyTextResponse, error) {
4631 return nil, status.Errorf(codes.Unimplemented, "method ClassifyText not implemented")
4632 }
4633 func (*UnimplementedLanguageServiceServer) ModerateText(context.Context, *ModerateTextRequest) (*ModerateTextResponse, error) {
4634 return nil, status.Errorf(codes.Unimplemented, "method ModerateText not implemented")
4635 }
4636 func (*UnimplementedLanguageServiceServer) AnnotateText(context.Context, *AnnotateTextRequest) (*AnnotateTextResponse, error) {
4637 return nil, status.Errorf(codes.Unimplemented, "method AnnotateText not implemented")
4638 }
4639
4640 func RegisterLanguageServiceServer(s *grpc.Server, srv LanguageServiceServer) {
4641 s.RegisterService(&_LanguageService_serviceDesc, srv)
4642 }
4643
4644 func _LanguageService_AnalyzeSentiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4645 in := new(AnalyzeSentimentRequest)
4646 if err := dec(in); err != nil {
4647 return nil, err
4648 }
4649 if interceptor == nil {
4650 return srv.(LanguageServiceServer).AnalyzeSentiment(ctx, in)
4651 }
4652 info := &grpc.UnaryServerInfo{
4653 Server: srv,
4654 FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeSentiment",
4655 }
4656 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4657 return srv.(LanguageServiceServer).AnalyzeSentiment(ctx, req.(*AnalyzeSentimentRequest))
4658 }
4659 return interceptor(ctx, in, info, handler)
4660 }
4661
4662 func _LanguageService_AnalyzeEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4663 in := new(AnalyzeEntitiesRequest)
4664 if err := dec(in); err != nil {
4665 return nil, err
4666 }
4667 if interceptor == nil {
4668 return srv.(LanguageServiceServer).AnalyzeEntities(ctx, in)
4669 }
4670 info := &grpc.UnaryServerInfo{
4671 Server: srv,
4672 FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeEntities",
4673 }
4674 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4675 return srv.(LanguageServiceServer).AnalyzeEntities(ctx, req.(*AnalyzeEntitiesRequest))
4676 }
4677 return interceptor(ctx, in, info, handler)
4678 }
4679
4680 func _LanguageService_AnalyzeEntitySentiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4681 in := new(AnalyzeEntitySentimentRequest)
4682 if err := dec(in); err != nil {
4683 return nil, err
4684 }
4685 if interceptor == nil {
4686 return srv.(LanguageServiceServer).AnalyzeEntitySentiment(ctx, in)
4687 }
4688 info := &grpc.UnaryServerInfo{
4689 Server: srv,
4690 FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeEntitySentiment",
4691 }
4692 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4693 return srv.(LanguageServiceServer).AnalyzeEntitySentiment(ctx, req.(*AnalyzeEntitySentimentRequest))
4694 }
4695 return interceptor(ctx, in, info, handler)
4696 }
4697
4698 func _LanguageService_AnalyzeSyntax_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4699 in := new(AnalyzeSyntaxRequest)
4700 if err := dec(in); err != nil {
4701 return nil, err
4702 }
4703 if interceptor == nil {
4704 return srv.(LanguageServiceServer).AnalyzeSyntax(ctx, in)
4705 }
4706 info := &grpc.UnaryServerInfo{
4707 Server: srv,
4708 FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeSyntax",
4709 }
4710 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4711 return srv.(LanguageServiceServer).AnalyzeSyntax(ctx, req.(*AnalyzeSyntaxRequest))
4712 }
4713 return interceptor(ctx, in, info, handler)
4714 }
4715
4716 func _LanguageService_ClassifyText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4717 in := new(ClassifyTextRequest)
4718 if err := dec(in); err != nil {
4719 return nil, err
4720 }
4721 if interceptor == nil {
4722 return srv.(LanguageServiceServer).ClassifyText(ctx, in)
4723 }
4724 info := &grpc.UnaryServerInfo{
4725 Server: srv,
4726 FullMethod: "/google.cloud.language.v1beta2.LanguageService/ClassifyText",
4727 }
4728 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4729 return srv.(LanguageServiceServer).ClassifyText(ctx, req.(*ClassifyTextRequest))
4730 }
4731 return interceptor(ctx, in, info, handler)
4732 }
4733
4734 func _LanguageService_ModerateText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4735 in := new(ModerateTextRequest)
4736 if err := dec(in); err != nil {
4737 return nil, err
4738 }
4739 if interceptor == nil {
4740 return srv.(LanguageServiceServer).ModerateText(ctx, in)
4741 }
4742 info := &grpc.UnaryServerInfo{
4743 Server: srv,
4744 FullMethod: "/google.cloud.language.v1beta2.LanguageService/ModerateText",
4745 }
4746 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4747 return srv.(LanguageServiceServer).ModerateText(ctx, req.(*ModerateTextRequest))
4748 }
4749 return interceptor(ctx, in, info, handler)
4750 }
4751
4752 func _LanguageService_AnnotateText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4753 in := new(AnnotateTextRequest)
4754 if err := dec(in); err != nil {
4755 return nil, err
4756 }
4757 if interceptor == nil {
4758 return srv.(LanguageServiceServer).AnnotateText(ctx, in)
4759 }
4760 info := &grpc.UnaryServerInfo{
4761 Server: srv,
4762 FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnnotateText",
4763 }
4764 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4765 return srv.(LanguageServiceServer).AnnotateText(ctx, req.(*AnnotateTextRequest))
4766 }
4767 return interceptor(ctx, in, info, handler)
4768 }
4769
4770 var _LanguageService_serviceDesc = grpc.ServiceDesc{
4771 ServiceName: "google.cloud.language.v1beta2.LanguageService",
4772 HandlerType: (*LanguageServiceServer)(nil),
4773 Methods: []grpc.MethodDesc{
4774 {
4775 MethodName: "AnalyzeSentiment",
4776 Handler: _LanguageService_AnalyzeSentiment_Handler,
4777 },
4778 {
4779 MethodName: "AnalyzeEntities",
4780 Handler: _LanguageService_AnalyzeEntities_Handler,
4781 },
4782 {
4783 MethodName: "AnalyzeEntitySentiment",
4784 Handler: _LanguageService_AnalyzeEntitySentiment_Handler,
4785 },
4786 {
4787 MethodName: "AnalyzeSyntax",
4788 Handler: _LanguageService_AnalyzeSyntax_Handler,
4789 },
4790 {
4791 MethodName: "ClassifyText",
4792 Handler: _LanguageService_ClassifyText_Handler,
4793 },
4794 {
4795 MethodName: "ModerateText",
4796 Handler: _LanguageService_ModerateText_Handler,
4797 },
4798 {
4799 MethodName: "AnnotateText",
4800 Handler: _LanguageService_AnnotateText_Handler,
4801 },
4802 },
4803 Streams: []grpc.StreamDesc{},
4804 Metadata: "google/cloud/language/v1beta2/language_service.proto",
4805 }