Debian Codegraph @

googleapis/cloud/language/v1beta1/language_service.pb.go

raw
1 // Copyright 2017 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v3.12.2
19 // source: google/cloud/language/v1beta1/language_service.proto
20
21 package language
22
23 import (
24 context "context"
25 reflect "reflect"
26 sync "sync"
27
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 grpc "google.golang.org/grpc"
30 codes "google.golang.org/grpc/codes"
31 status "google.golang.org/grpc/status"
32 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
33 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
34 )
35
36 const (
37 // Verify that this generated code is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39 // Verify that runtime/protoimpl is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41 )
42
43 // Represents the text encoding that the caller uses to process the output.
44 // Providing an `EncodingType` is recommended because the API provides the
45 // beginning offsets for various outputs, such as tokens and mentions, and
46 // languages that natively use different text encodings may access offsets
47 // differently.
48 type EncodingType int32
49
50 const (
51 // If `EncodingType` is not specified, encoding-dependent information (such as
52 // `begin_offset`) will be set at `-1`.
53 EncodingType_NONE EncodingType = 0
54 // Encoding-dependent information (such as `begin_offset`) is calculated based
55 // on the UTF-8 encoding of the input. C++ and Go are examples of languages
56 // that use this encoding natively.
57 EncodingType_UTF8 EncodingType = 1
58 // Encoding-dependent information (such as `begin_offset`) is calculated based
59 // on the UTF-16 encoding of the input. Java and Javascript are examples of
60 // languages that use this encoding natively.
61 EncodingType_UTF16 EncodingType = 2
62 // Encoding-dependent information (such as `begin_offset`) is calculated based
63 // on the UTF-32 encoding of the input. Python is an example of a language
64 // that uses this encoding natively.
65 EncodingType_UTF32 EncodingType = 3
66 )
67
68 // Enum value maps for EncodingType.
69 var (
70 EncodingType_name = map[int32]string{
71 0: "NONE",
72 1: "UTF8",
73 2: "UTF16",
74 3: "UTF32",
75 }
76 EncodingType_value = map[string]int32{
77 "NONE": 0,
78 "UTF8": 1,
79 "UTF16": 2,
80 "UTF32": 3,
81 }
82 )
83
84 func (x EncodingType) Enum() *EncodingType {
85 p := new(EncodingType)
86 *p = x
87 return p
88 }
89
90 func (x EncodingType) String() string {
91 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
92 }
93
94 func (EncodingType) Descriptor() protoreflect.EnumDescriptor {
95 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[0].Descriptor()
96 }
97
98 func (EncodingType) Type() protoreflect.EnumType {
99 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[0]
100 }
101
102 func (x EncodingType) Number() protoreflect.EnumNumber {
103 return protoreflect.EnumNumber(x)
104 }
105
106 // Deprecated: Use EncodingType.Descriptor instead.
107 func (EncodingType) EnumDescriptor() ([]byte, []int) {
108 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{0}
109 }
110
111 // The document types enum.
112 type Document_Type int32
113
114 const (
115 // The content type is not specified.
116 Document_TYPE_UNSPECIFIED Document_Type = 0
117 // Plain text
118 Document_PLAIN_TEXT Document_Type = 1
119 // HTML
120 Document_HTML Document_Type = 2
121 )
122
123 // Enum value maps for Document_Type.
124 var (
125 Document_Type_name = map[int32]string{
126 0: "TYPE_UNSPECIFIED",
127 1: "PLAIN_TEXT",
128 2: "HTML",
129 }
130 Document_Type_value = map[string]int32{
131 "TYPE_UNSPECIFIED": 0,
132 "PLAIN_TEXT": 1,
133 "HTML": 2,
134 }
135 )
136
137 func (x Document_Type) Enum() *Document_Type {
138 p := new(Document_Type)
139 *p = x
140 return p
141 }
142
143 func (x Document_Type) String() string {
144 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
145 }
146
147 func (Document_Type) Descriptor() protoreflect.EnumDescriptor {
148 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[1].Descriptor()
149 }
150
151 func (Document_Type) Type() protoreflect.EnumType {
152 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[1]
153 }
154
155 func (x Document_Type) Number() protoreflect.EnumNumber {
156 return protoreflect.EnumNumber(x)
157 }
158
159 // Deprecated: Use Document_Type.Descriptor instead.
160 func (Document_Type) EnumDescriptor() ([]byte, []int) {
161 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{0, 0}
162 }
163
164 // The type of the entity.
165 type Entity_Type int32
166
167 const (
168 // Unknown
169 Entity_UNKNOWN Entity_Type = 0
170 // Person
171 Entity_PERSON Entity_Type = 1
172 // Location
173 Entity_LOCATION Entity_Type = 2
174 // Organization
175 Entity_ORGANIZATION Entity_Type = 3
176 // Event
177 Entity_EVENT Entity_Type = 4
178 // Work of art
179 Entity_WORK_OF_ART Entity_Type = 5
180 // Consumer goods
181 Entity_CONSUMER_GOOD Entity_Type = 6
182 // Other types
183 Entity_OTHER Entity_Type = 7
184 )
185
186 // Enum value maps for Entity_Type.
187 var (
188 Entity_Type_name = map[int32]string{
189 0: "UNKNOWN",
190 1: "PERSON",
191 2: "LOCATION",
192 3: "ORGANIZATION",
193 4: "EVENT",
194 5: "WORK_OF_ART",
195 6: "CONSUMER_GOOD",
196 7: "OTHER",
197 }
198 Entity_Type_value = map[string]int32{
199 "UNKNOWN": 0,
200 "PERSON": 1,
201 "LOCATION": 2,
202 "ORGANIZATION": 3,
203 "EVENT": 4,
204 "WORK_OF_ART": 5,
205 "CONSUMER_GOOD": 6,
206 "OTHER": 7,
207 }
208 )
209
210 func (x Entity_Type) Enum() *Entity_Type {
211 p := new(Entity_Type)
212 *p = x
213 return p
214 }
215
216 func (x Entity_Type) String() string {
217 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
218 }
219
220 func (Entity_Type) Descriptor() protoreflect.EnumDescriptor {
221 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[2].Descriptor()
222 }
223
224 func (Entity_Type) Type() protoreflect.EnumType {
225 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[2]
226 }
227
228 func (x Entity_Type) Number() protoreflect.EnumNumber {
229 return protoreflect.EnumNumber(x)
230 }
231
232 // Deprecated: Use Entity_Type.Descriptor instead.
233 func (Entity_Type) EnumDescriptor() ([]byte, []int) {
234 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{2, 0}
235 }
236
237 // The part of speech tags enum.
238 type PartOfSpeech_Tag int32
239
240 const (
241 // Unknown
242 PartOfSpeech_UNKNOWN PartOfSpeech_Tag = 0
243 // Adjective
244 PartOfSpeech_ADJ PartOfSpeech_Tag = 1
245 // Adposition (preposition and postposition)
246 PartOfSpeech_ADP PartOfSpeech_Tag = 2
247 // Adverb
248 PartOfSpeech_ADV PartOfSpeech_Tag = 3
249 // Conjunction
250 PartOfSpeech_CONJ PartOfSpeech_Tag = 4
251 // Determiner
252 PartOfSpeech_DET PartOfSpeech_Tag = 5
253 // Noun (common and proper)
254 PartOfSpeech_NOUN PartOfSpeech_Tag = 6
255 // Cardinal number
256 PartOfSpeech_NUM PartOfSpeech_Tag = 7
257 // Pronoun
258 PartOfSpeech_PRON PartOfSpeech_Tag = 8
259 // Particle or other function word
260 PartOfSpeech_PRT PartOfSpeech_Tag = 9
261 // Punctuation
262 PartOfSpeech_PUNCT PartOfSpeech_Tag = 10
263 // Verb (all tenses and modes)
264 PartOfSpeech_VERB PartOfSpeech_Tag = 11
265 // Other: foreign words, typos, abbreviations
266 PartOfSpeech_X PartOfSpeech_Tag = 12
267 // Affix
268 PartOfSpeech_AFFIX PartOfSpeech_Tag = 13
269 )
270
271 // Enum value maps for PartOfSpeech_Tag.
272 var (
273 PartOfSpeech_Tag_name = map[int32]string{
274 0: "UNKNOWN",
275 1: "ADJ",
276 2: "ADP",
277 3: "ADV",
278 4: "CONJ",
279 5: "DET",
280 6: "NOUN",
281 7: "NUM",
282 8: "PRON",
283 9: "PRT",
284 10: "PUNCT",
285 11: "VERB",
286 12: "X",
287 13: "AFFIX",
288 }
289 PartOfSpeech_Tag_value = map[string]int32{
290 "UNKNOWN": 0,
291 "ADJ": 1,
292 "ADP": 2,
293 "ADV": 3,
294 "CONJ": 4,
295 "DET": 5,
296 "NOUN": 6,
297 "NUM": 7,
298 "PRON": 8,
299 "PRT": 9,
300 "PUNCT": 10,
301 "VERB": 11,
302 "X": 12,
303 "AFFIX": 13,
304 }
305 )
306
307 func (x PartOfSpeech_Tag) Enum() *PartOfSpeech_Tag {
308 p := new(PartOfSpeech_Tag)
309 *p = x
310 return p
311 }
312
313 func (x PartOfSpeech_Tag) String() string {
314 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
315 }
316
317 func (PartOfSpeech_Tag) Descriptor() protoreflect.EnumDescriptor {
318 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[3].Descriptor()
319 }
320
321 func (PartOfSpeech_Tag) Type() protoreflect.EnumType {
322 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[3]
323 }
324
325 func (x PartOfSpeech_Tag) Number() protoreflect.EnumNumber {
326 return protoreflect.EnumNumber(x)
327 }
328
329 // Deprecated: Use PartOfSpeech_Tag.Descriptor instead.
330 func (PartOfSpeech_Tag) EnumDescriptor() ([]byte, []int) {
331 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{5, 0}
332 }
333
334 // The characteristic of a verb that expresses time flow during an event.
335 type PartOfSpeech_Aspect int32
336
337 const (
338 // Aspect is not applicable in the analyzed language or is not predicted.
339 PartOfSpeech_ASPECT_UNKNOWN PartOfSpeech_Aspect = 0
340 // Perfective
341 PartOfSpeech_PERFECTIVE PartOfSpeech_Aspect = 1
342 // Imperfective
343 PartOfSpeech_IMPERFECTIVE PartOfSpeech_Aspect = 2
344 // Progressive
345 PartOfSpeech_PROGRESSIVE PartOfSpeech_Aspect = 3
346 )
347
348 // Enum value maps for PartOfSpeech_Aspect.
349 var (
350 PartOfSpeech_Aspect_name = map[int32]string{
351 0: "ASPECT_UNKNOWN",
352 1: "PERFECTIVE",
353 2: "IMPERFECTIVE",
354 3: "PROGRESSIVE",
355 }
356 PartOfSpeech_Aspect_value = map[string]int32{
357 "ASPECT_UNKNOWN": 0,
358 "PERFECTIVE": 1,
359 "IMPERFECTIVE": 2,
360 "PROGRESSIVE": 3,
361 }
362 )
363
364 func (x PartOfSpeech_Aspect) Enum() *PartOfSpeech_Aspect {
365 p := new(PartOfSpeech_Aspect)
366 *p = x
367 return p
368 }
369
370 func (x PartOfSpeech_Aspect) String() string {
371 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
372 }
373
374 func (PartOfSpeech_Aspect) Descriptor() protoreflect.EnumDescriptor {
375 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[4].Descriptor()
376 }
377
378 func (PartOfSpeech_Aspect) Type() protoreflect.EnumType {
379 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[4]
380 }
381
382 func (x PartOfSpeech_Aspect) Number() protoreflect.EnumNumber {
383 return protoreflect.EnumNumber(x)
384 }
385
386 // Deprecated: Use PartOfSpeech_Aspect.Descriptor instead.
387 func (PartOfSpeech_Aspect) EnumDescriptor() ([]byte, []int) {
388 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{5, 1}
389 }
390
391 // The grammatical function performed by a noun or pronoun in a phrase,
392 // clause, or sentence. In some languages, other parts of speech, such as
393 // adjective and determiner, take case inflection in agreement with the noun.
394 type PartOfSpeech_Case int32
395
396 const (
397 // Case is not applicable in the analyzed language or is not predicted.
398 PartOfSpeech_CASE_UNKNOWN PartOfSpeech_Case = 0
399 // Accusative
400 PartOfSpeech_ACCUSATIVE PartOfSpeech_Case = 1
401 // Adverbial
402 PartOfSpeech_ADVERBIAL PartOfSpeech_Case = 2
403 // Complementive
404 PartOfSpeech_COMPLEMENTIVE PartOfSpeech_Case = 3
405 // Dative
406 PartOfSpeech_DATIVE PartOfSpeech_Case = 4
407 // Genitive
408 PartOfSpeech_GENITIVE PartOfSpeech_Case = 5
409 // Instrumental
410 PartOfSpeech_INSTRUMENTAL PartOfSpeech_Case = 6
411 // Locative
412 PartOfSpeech_LOCATIVE PartOfSpeech_Case = 7
413 // Nominative
414 PartOfSpeech_NOMINATIVE PartOfSpeech_Case = 8
415 // Oblique
416 PartOfSpeech_OBLIQUE PartOfSpeech_Case = 9
417 // Partitive
418 PartOfSpeech_PARTITIVE PartOfSpeech_Case = 10
419 // Prepositional
420 PartOfSpeech_PREPOSITIONAL PartOfSpeech_Case = 11
421 // Reflexive
422 PartOfSpeech_REFLEXIVE_CASE PartOfSpeech_Case = 12
423 // Relative
424 PartOfSpeech_RELATIVE_CASE PartOfSpeech_Case = 13
425 // Vocative
426 PartOfSpeech_VOCATIVE PartOfSpeech_Case = 14
427 )
428
429 // Enum value maps for PartOfSpeech_Case.
430 var (
431 PartOfSpeech_Case_name = map[int32]string{
432 0: "CASE_UNKNOWN",
433 1: "ACCUSATIVE",
434 2: "ADVERBIAL",
435 3: "COMPLEMENTIVE",
436 4: "DATIVE",
437 5: "GENITIVE",
438 6: "INSTRUMENTAL",
439 7: "LOCATIVE",
440 8: "NOMINATIVE",
441 9: "OBLIQUE",
442 10: "PARTITIVE",
443 11: "PREPOSITIONAL",
444 12: "REFLEXIVE_CASE",
445 13: "RELATIVE_CASE",
446 14: "VOCATIVE",
447 }
448 PartOfSpeech_Case_value = map[string]int32{
449 "CASE_UNKNOWN": 0,
450 "ACCUSATIVE": 1,
451 "ADVERBIAL": 2,
452 "COMPLEMENTIVE": 3,
453 "DATIVE": 4,
454 "GENITIVE": 5,
455 "INSTRUMENTAL": 6,
456 "LOCATIVE": 7,
457 "NOMINATIVE": 8,
458 "OBLIQUE": 9,
459 "PARTITIVE": 10,
460 "PREPOSITIONAL": 11,
461 "REFLEXIVE_CASE": 12,
462 "RELATIVE_CASE": 13,
463 "VOCATIVE": 14,
464 }
465 )
466
467 func (x PartOfSpeech_Case) Enum() *PartOfSpeech_Case {
468 p := new(PartOfSpeech_Case)
469 *p = x
470 return p
471 }
472
473 func (x PartOfSpeech_Case) String() string {
474 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
475 }
476
477 func (PartOfSpeech_Case) Descriptor() protoreflect.EnumDescriptor {
478 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[5].Descriptor()
479 }
480
481 func (PartOfSpeech_Case) Type() protoreflect.EnumType {
482 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[5]
483 }
484
485 func (x PartOfSpeech_Case) Number() protoreflect.EnumNumber {
486 return protoreflect.EnumNumber(x)
487 }
488
489 // Deprecated: Use PartOfSpeech_Case.Descriptor instead.
490 func (PartOfSpeech_Case) EnumDescriptor() ([]byte, []int) {
491 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{5, 2}
492 }
493
494 // Depending on the language, Form can be categorizing different forms of
495 // verbs, adjectives, adverbs, etc. For example, categorizing inflected
496 // endings of verbs and adjectives or distinguishing between short and long
497 // forms of adjectives and participles
498 type PartOfSpeech_Form int32
499
500 const (
501 // Form is not applicable in the analyzed language or is not predicted.
502 PartOfSpeech_FORM_UNKNOWN PartOfSpeech_Form = 0
503 // Adnomial
504 PartOfSpeech_ADNOMIAL PartOfSpeech_Form = 1
505 // Auxiliary
506 PartOfSpeech_AUXILIARY PartOfSpeech_Form = 2
507 // Complementizer
508 PartOfSpeech_COMPLEMENTIZER PartOfSpeech_Form = 3
509 // Final ending
510 PartOfSpeech_FINAL_ENDING PartOfSpeech_Form = 4
511 // Gerund
512 PartOfSpeech_GERUND PartOfSpeech_Form = 5
513 // Realis
514 PartOfSpeech_REALIS PartOfSpeech_Form = 6
515 // Irrealis
516 PartOfSpeech_IRREALIS PartOfSpeech_Form = 7
517 // Short form
518 PartOfSpeech_SHORT PartOfSpeech_Form = 8
519 // Long form
520 PartOfSpeech_LONG PartOfSpeech_Form = 9
521 // Order form
522 PartOfSpeech_ORDER PartOfSpeech_Form = 10
523 // Specific form
524 PartOfSpeech_SPECIFIC PartOfSpeech_Form = 11
525 )
526
527 // Enum value maps for PartOfSpeech_Form.
528 var (
529 PartOfSpeech_Form_name = map[int32]string{
530 0: "FORM_UNKNOWN",
531 1: "ADNOMIAL",
532 2: "AUXILIARY",
533 3: "COMPLEMENTIZER",
534 4: "FINAL_ENDING",
535 5: "GERUND",
536 6: "REALIS",
537 7: "IRREALIS",
538 8: "SHORT",
539 9: "LONG",
540 10: "ORDER",
541 11: "SPECIFIC",
542 }
543 PartOfSpeech_Form_value = map[string]int32{
544 "FORM_UNKNOWN": 0,
545 "ADNOMIAL": 1,
546 "AUXILIARY": 2,
547 "COMPLEMENTIZER": 3,
548 "FINAL_ENDING": 4,
549 "GERUND": 5,
550 "REALIS": 6,
551 "IRREALIS": 7,
552 "SHORT": 8,
553 "LONG": 9,
554 "ORDER": 10,
555 "SPECIFIC": 11,
556 }
557 )
558
559 func (x PartOfSpeech_Form) Enum() *PartOfSpeech_Form {
560 p := new(PartOfSpeech_Form)
561 *p = x
562 return p
563 }
564
565 func (x PartOfSpeech_Form) String() string {
566 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
567 }
568
569 func (PartOfSpeech_Form) Descriptor() protoreflect.EnumDescriptor {
570 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[6].Descriptor()
571 }
572
573 func (PartOfSpeech_Form) Type() protoreflect.EnumType {
574 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[6]
575 }
576
577 func (x PartOfSpeech_Form) Number() protoreflect.EnumNumber {
578 return protoreflect.EnumNumber(x)
579 }
580
581 // Deprecated: Use PartOfSpeech_Form.Descriptor instead.
582 func (PartOfSpeech_Form) EnumDescriptor() ([]byte, []int) {
583 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{5, 3}
584 }
585
586 // Gender classes of nouns reflected in the behaviour of associated words.
587 type PartOfSpeech_Gender int32
588
589 const (
590 // Gender is not applicable in the analyzed language or is not predicted.
591 PartOfSpeech_GENDER_UNKNOWN PartOfSpeech_Gender = 0
592 // Feminine
593 PartOfSpeech_FEMININE PartOfSpeech_Gender = 1
594 // Masculine
595 PartOfSpeech_MASCULINE PartOfSpeech_Gender = 2
596 // Neuter
597 PartOfSpeech_NEUTER PartOfSpeech_Gender = 3
598 )
599
600 // Enum value maps for PartOfSpeech_Gender.
601 var (
602 PartOfSpeech_Gender_name = map[int32]string{
603 0: "GENDER_UNKNOWN",
604 1: "FEMININE",
605 2: "MASCULINE",
606 3: "NEUTER",
607 }
608 PartOfSpeech_Gender_value = map[string]int32{
609 "GENDER_UNKNOWN": 0,
610 "FEMININE": 1,
611 "MASCULINE": 2,
612 "NEUTER": 3,
613 }
614 )
615
616 func (x PartOfSpeech_Gender) Enum() *PartOfSpeech_Gender {
617 p := new(PartOfSpeech_Gender)
618 *p = x
619 return p
620 }
621
622 func (x PartOfSpeech_Gender) String() string {
623 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
624 }
625
626 func (PartOfSpeech_Gender) Descriptor() protoreflect.EnumDescriptor {
627 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[7].Descriptor()
628 }
629
630 func (PartOfSpeech_Gender) Type() protoreflect.EnumType {
631 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[7]
632 }
633
634 func (x PartOfSpeech_Gender) Number() protoreflect.EnumNumber {
635 return protoreflect.EnumNumber(x)
636 }
637
638 // Deprecated: Use PartOfSpeech_Gender.Descriptor instead.
639 func (PartOfSpeech_Gender) EnumDescriptor() ([]byte, []int) {
640 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{5, 4}
641 }
642
643 // The grammatical feature of verbs, used for showing modality and attitude.
644 type PartOfSpeech_Mood int32
645
646 const (
647 // Mood is not applicable in the analyzed language or is not predicted.
648 PartOfSpeech_MOOD_UNKNOWN PartOfSpeech_Mood = 0
649 // Conditional
650 PartOfSpeech_CONDITIONAL_MOOD PartOfSpeech_Mood = 1
651 // Imperative
652 PartOfSpeech_IMPERATIVE PartOfSpeech_Mood = 2
653 // Indicative
654 PartOfSpeech_INDICATIVE PartOfSpeech_Mood = 3
655 // Interrogative
656 PartOfSpeech_INTERROGATIVE PartOfSpeech_Mood = 4
657 // Jussive
658 PartOfSpeech_JUSSIVE PartOfSpeech_Mood = 5
659 // Subjunctive
660 PartOfSpeech_SUBJUNCTIVE PartOfSpeech_Mood = 6
661 )
662
663 // Enum value maps for PartOfSpeech_Mood.
664 var (
665 PartOfSpeech_Mood_name = map[int32]string{
666 0: "MOOD_UNKNOWN",
667 1: "CONDITIONAL_MOOD",
668 2: "IMPERATIVE",
669 3: "INDICATIVE",
670 4: "INTERROGATIVE",
671 5: "JUSSIVE",
672 6: "SUBJUNCTIVE",
673 }
674 PartOfSpeech_Mood_value = map[string]int32{
675 "MOOD_UNKNOWN": 0,
676 "CONDITIONAL_MOOD": 1,
677 "IMPERATIVE": 2,
678 "INDICATIVE": 3,
679 "INTERROGATIVE": 4,
680 "JUSSIVE": 5,
681 "SUBJUNCTIVE": 6,
682 }
683 )
684
685 func (x PartOfSpeech_Mood) Enum() *PartOfSpeech_Mood {
686 p := new(PartOfSpeech_Mood)
687 *p = x
688 return p
689 }
690
691 func (x PartOfSpeech_Mood) String() string {
692 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
693 }
694
695 func (PartOfSpeech_Mood) Descriptor() protoreflect.EnumDescriptor {
696 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[8].Descriptor()
697 }
698
699 func (PartOfSpeech_Mood) Type() protoreflect.EnumType {
700 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[8]
701 }
702
703 func (x PartOfSpeech_Mood) Number() protoreflect.EnumNumber {
704 return protoreflect.EnumNumber(x)
705 }
706
707 // Deprecated: Use PartOfSpeech_Mood.Descriptor instead.
708 func (PartOfSpeech_Mood) EnumDescriptor() ([]byte, []int) {
709 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{5, 5}
710 }
711
712 // Count distinctions.
713 type PartOfSpeech_Number int32
714
715 const (
716 // Number is not applicable in the analyzed language or is not predicted.
717 PartOfSpeech_NUMBER_UNKNOWN PartOfSpeech_Number = 0
718 // Singular
719 PartOfSpeech_SINGULAR PartOfSpeech_Number = 1
720 // Plural
721 PartOfSpeech_PLURAL PartOfSpeech_Number = 2
722 // Dual
723 PartOfSpeech_DUAL PartOfSpeech_Number = 3
724 )
725
726 // Enum value maps for PartOfSpeech_Number.
727 var (
728 PartOfSpeech_Number_name = map[int32]string{
729 0: "NUMBER_UNKNOWN",
730 1: "SINGULAR",
731 2: "PLURAL",
732 3: "DUAL",
733 }
734 PartOfSpeech_Number_value = map[string]int32{
735 "NUMBER_UNKNOWN": 0,
736 "SINGULAR": 1,
737 "PLURAL": 2,
738 "DUAL": 3,
739 }
740 )
741
742 func (x PartOfSpeech_Number) Enum() *PartOfSpeech_Number {
743 p := new(PartOfSpeech_Number)
744 *p = x
745 return p
746 }
747
748 func (x PartOfSpeech_Number) String() string {
749 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
750 }
751
752 func (PartOfSpeech_Number) Descriptor() protoreflect.EnumDescriptor {
753 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[9].Descriptor()
754 }
755
756 func (PartOfSpeech_Number) Type() protoreflect.EnumType {
757 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[9]
758 }
759
760 func (x PartOfSpeech_Number) Number() protoreflect.EnumNumber {
761 return protoreflect.EnumNumber(x)
762 }
763
764 // Deprecated: Use PartOfSpeech_Number.Descriptor instead.
765 func (PartOfSpeech_Number) EnumDescriptor() ([]byte, []int) {
766 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{5, 6}
767 }
768
769 // The distinction between the speaker, second person, third person, etc.
770 type PartOfSpeech_Person int32
771
772 const (
773 // Person is not applicable in the analyzed language or is not predicted.
774 PartOfSpeech_PERSON_UNKNOWN PartOfSpeech_Person = 0
775 // First
776 PartOfSpeech_FIRST PartOfSpeech_Person = 1
777 // Second
778 PartOfSpeech_SECOND PartOfSpeech_Person = 2
779 // Third
780 PartOfSpeech_THIRD PartOfSpeech_Person = 3
781 // Reflexive
782 PartOfSpeech_REFLEXIVE_PERSON PartOfSpeech_Person = 4
783 )
784
785 // Enum value maps for PartOfSpeech_Person.
786 var (
787 PartOfSpeech_Person_name = map[int32]string{
788 0: "PERSON_UNKNOWN",
789 1: "FIRST",
790 2: "SECOND",
791 3: "THIRD",
792 4: "REFLEXIVE_PERSON",
793 }
794 PartOfSpeech_Person_value = map[string]int32{
795 "PERSON_UNKNOWN": 0,
796 "FIRST": 1,
797 "SECOND": 2,
798 "THIRD": 3,
799 "REFLEXIVE_PERSON": 4,
800 }
801 )
802
803 func (x PartOfSpeech_Person) Enum() *PartOfSpeech_Person {
804 p := new(PartOfSpeech_Person)
805 *p = x
806 return p
807 }
808
809 func (x PartOfSpeech_Person) String() string {
810 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
811 }
812
813 func (PartOfSpeech_Person) Descriptor() protoreflect.EnumDescriptor {
814 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[10].Descriptor()
815 }
816
817 func (PartOfSpeech_Person) Type() protoreflect.EnumType {
818 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[10]
819 }
820
821 func (x PartOfSpeech_Person) Number() protoreflect.EnumNumber {
822 return protoreflect.EnumNumber(x)
823 }
824
825 // Deprecated: Use PartOfSpeech_Person.Descriptor instead.
826 func (PartOfSpeech_Person) EnumDescriptor() ([]byte, []int) {
827 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{5, 7}
828 }
829
830 // This category shows if the token is part of a proper name.
831 type PartOfSpeech_Proper int32
832
833 const (
834 // Proper is not applicable in the analyzed language or is not predicted.
835 PartOfSpeech_PROPER_UNKNOWN PartOfSpeech_Proper = 0
836 // Proper
837 PartOfSpeech_PROPER PartOfSpeech_Proper = 1
838 // Not proper
839 PartOfSpeech_NOT_PROPER PartOfSpeech_Proper = 2
840 )
841
842 // Enum value maps for PartOfSpeech_Proper.
843 var (
844 PartOfSpeech_Proper_name = map[int32]string{
845 0: "PROPER_UNKNOWN",
846 1: "PROPER",
847 2: "NOT_PROPER",
848 }
849 PartOfSpeech_Proper_value = map[string]int32{
850 "PROPER_UNKNOWN": 0,
851 "PROPER": 1,
852 "NOT_PROPER": 2,
853 }
854 )
855
856 func (x PartOfSpeech_Proper) Enum() *PartOfSpeech_Proper {
857 p := new(PartOfSpeech_Proper)
858 *p = x
859 return p
860 }
861
862 func (x PartOfSpeech_Proper) String() string {
863 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
864 }
865
866 func (PartOfSpeech_Proper) Descriptor() protoreflect.EnumDescriptor {
867 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[11].Descriptor()
868 }
869
870 func (PartOfSpeech_Proper) Type() protoreflect.EnumType {
871 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[11]
872 }
873
874 func (x PartOfSpeech_Proper) Number() protoreflect.EnumNumber {
875 return protoreflect.EnumNumber(x)
876 }
877
878 // Deprecated: Use PartOfSpeech_Proper.Descriptor instead.
879 func (PartOfSpeech_Proper) EnumDescriptor() ([]byte, []int) {
880 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{5, 8}
881 }
882
883 // Reciprocal features of a pronoun.
884 type PartOfSpeech_Reciprocity int32
885
886 const (
887 // Reciprocity is not applicable in the analyzed language or is not
888 // predicted.
889 PartOfSpeech_RECIPROCITY_UNKNOWN PartOfSpeech_Reciprocity = 0
890 // Reciprocal
891 PartOfSpeech_RECIPROCAL PartOfSpeech_Reciprocity = 1
892 // Non-reciprocal
893 PartOfSpeech_NON_RECIPROCAL PartOfSpeech_Reciprocity = 2
894 )
895
896 // Enum value maps for PartOfSpeech_Reciprocity.
897 var (
898 PartOfSpeech_Reciprocity_name = map[int32]string{
899 0: "RECIPROCITY_UNKNOWN",
900 1: "RECIPROCAL",
901 2: "NON_RECIPROCAL",
902 }
903 PartOfSpeech_Reciprocity_value = map[string]int32{
904 "RECIPROCITY_UNKNOWN": 0,
905 "RECIPROCAL": 1,
906 "NON_RECIPROCAL": 2,
907 }
908 )
909
910 func (x PartOfSpeech_Reciprocity) Enum() *PartOfSpeech_Reciprocity {
911 p := new(PartOfSpeech_Reciprocity)
912 *p = x
913 return p
914 }
915
916 func (x PartOfSpeech_Reciprocity) String() string {
917 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
918 }
919
920 func (PartOfSpeech_Reciprocity) Descriptor() protoreflect.EnumDescriptor {
921 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[12].Descriptor()
922 }
923
924 func (PartOfSpeech_Reciprocity) Type() protoreflect.EnumType {
925 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[12]
926 }
927
928 func (x PartOfSpeech_Reciprocity) Number() protoreflect.EnumNumber {
929 return protoreflect.EnumNumber(x)
930 }
931
932 // Deprecated: Use PartOfSpeech_Reciprocity.Descriptor instead.
933 func (PartOfSpeech_Reciprocity) EnumDescriptor() ([]byte, []int) {
934 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{5, 9}
935 }
936
937 // Time reference.
938 type PartOfSpeech_Tense int32
939
940 const (
941 // Tense is not applicable in the analyzed language or is not predicted.
942 PartOfSpeech_TENSE_UNKNOWN PartOfSpeech_Tense = 0
943 // Conditional
944 PartOfSpeech_CONDITIONAL_TENSE PartOfSpeech_Tense = 1
945 // Future
946 PartOfSpeech_FUTURE PartOfSpeech_Tense = 2
947 // Past
948 PartOfSpeech_PAST PartOfSpeech_Tense = 3
949 // Present
950 PartOfSpeech_PRESENT PartOfSpeech_Tense = 4
951 // Imperfect
952 PartOfSpeech_IMPERFECT PartOfSpeech_Tense = 5
953 // Pluperfect
954 PartOfSpeech_PLUPERFECT PartOfSpeech_Tense = 6
955 )
956
957 // Enum value maps for PartOfSpeech_Tense.
958 var (
959 PartOfSpeech_Tense_name = map[int32]string{
960 0: "TENSE_UNKNOWN",
961 1: "CONDITIONAL_TENSE",
962 2: "FUTURE",
963 3: "PAST",
964 4: "PRESENT",
965 5: "IMPERFECT",
966 6: "PLUPERFECT",
967 }
968 PartOfSpeech_Tense_value = map[string]int32{
969 "TENSE_UNKNOWN": 0,
970 "CONDITIONAL_TENSE": 1,
971 "FUTURE": 2,
972 "PAST": 3,
973 "PRESENT": 4,
974 "IMPERFECT": 5,
975 "PLUPERFECT": 6,
976 }
977 )
978
979 func (x PartOfSpeech_Tense) Enum() *PartOfSpeech_Tense {
980 p := new(PartOfSpeech_Tense)
981 *p = x
982 return p
983 }
984
985 func (x PartOfSpeech_Tense) String() string {
986 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
987 }
988
989 func (PartOfSpeech_Tense) Descriptor() protoreflect.EnumDescriptor {
990 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[13].Descriptor()
991 }
992
993 func (PartOfSpeech_Tense) Type() protoreflect.EnumType {
994 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[13]
995 }
996
997 func (x PartOfSpeech_Tense) Number() protoreflect.EnumNumber {
998 return protoreflect.EnumNumber(x)
999 }
1000
1001 // Deprecated: Use PartOfSpeech_Tense.Descriptor instead.
1002 func (PartOfSpeech_Tense) EnumDescriptor() ([]byte, []int) {
1003 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{5, 10}
1004 }
1005
1006 // The relationship between the action that a verb expresses and the
1007 // participants identified by its arguments.
1008 type PartOfSpeech_Voice int32
1009
1010 const (
1011 // Voice is not applicable in the analyzed language or is not predicted.
1012 PartOfSpeech_VOICE_UNKNOWN PartOfSpeech_Voice = 0
1013 // Active
1014 PartOfSpeech_ACTIVE PartOfSpeech_Voice = 1
1015 // Causative
1016 PartOfSpeech_CAUSATIVE PartOfSpeech_Voice = 2
1017 // Passive
1018 PartOfSpeech_PASSIVE PartOfSpeech_Voice = 3
1019 )
1020
1021 // Enum value maps for PartOfSpeech_Voice.
1022 var (
1023 PartOfSpeech_Voice_name = map[int32]string{
1024 0: "VOICE_UNKNOWN",
1025 1: "ACTIVE",
1026 2: "CAUSATIVE",
1027 3: "PASSIVE",
1028 }
1029 PartOfSpeech_Voice_value = map[string]int32{
1030 "VOICE_UNKNOWN": 0,
1031 "ACTIVE": 1,
1032 "CAUSATIVE": 2,
1033 "PASSIVE": 3,
1034 }
1035 )
1036
1037 func (x PartOfSpeech_Voice) Enum() *PartOfSpeech_Voice {
1038 p := new(PartOfSpeech_Voice)
1039 *p = x
1040 return p
1041 }
1042
1043 func (x PartOfSpeech_Voice) String() string {
1044 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
1045 }
1046
1047 func (PartOfSpeech_Voice) Descriptor() protoreflect.EnumDescriptor {
1048 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[14].Descriptor()
1049 }
1050
1051 func (PartOfSpeech_Voice) Type() protoreflect.EnumType {
1052 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[14]
1053 }
1054
1055 func (x PartOfSpeech_Voice) Number() protoreflect.EnumNumber {
1056 return protoreflect.EnumNumber(x)
1057 }
1058
1059 // Deprecated: Use PartOfSpeech_Voice.Descriptor instead.
1060 func (PartOfSpeech_Voice) EnumDescriptor() ([]byte, []int) {
1061 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{5, 11}
1062 }
1063
1064 // The parse label enum for the token.
1065 type DependencyEdge_Label int32
1066
1067 const (
1068 // Unknown
1069 DependencyEdge_UNKNOWN DependencyEdge_Label = 0
1070 // Abbreviation modifier
1071 DependencyEdge_ABBREV DependencyEdge_Label = 1
1072 // Adjectival complement
1073 DependencyEdge_ACOMP DependencyEdge_Label = 2
1074 // Adverbial clause modifier
1075 DependencyEdge_ADVCL DependencyEdge_Label = 3
1076 // Adverbial modifier
1077 DependencyEdge_ADVMOD DependencyEdge_Label = 4
1078 // Adjectival modifier of an NP
1079 DependencyEdge_AMOD DependencyEdge_Label = 5
1080 // Appositional modifier of an NP
1081 DependencyEdge_APPOS DependencyEdge_Label = 6
1082 // Attribute dependent of a copular verb
1083 DependencyEdge_ATTR DependencyEdge_Label = 7
1084 // Auxiliary (non-main) verb
1085 DependencyEdge_AUX DependencyEdge_Label = 8
1086 // Passive auxiliary
1087 DependencyEdge_AUXPASS DependencyEdge_Label = 9
1088 // Coordinating conjunction
1089 DependencyEdge_CC DependencyEdge_Label = 10
1090 // Clausal complement of a verb or adjective
1091 DependencyEdge_CCOMP DependencyEdge_Label = 11
1092 // Conjunct
1093 DependencyEdge_CONJ DependencyEdge_Label = 12
1094 // Clausal subject
1095 DependencyEdge_CSUBJ DependencyEdge_Label = 13
1096 // Clausal passive subject
1097 DependencyEdge_CSUBJPASS DependencyEdge_Label = 14
1098 // Dependency (unable to determine)
1099 DependencyEdge_DEP DependencyEdge_Label = 15
1100 // Determiner
1101 DependencyEdge_DET DependencyEdge_Label = 16
1102 // Discourse
1103 DependencyEdge_DISCOURSE DependencyEdge_Label = 17
1104 // Direct object
1105 DependencyEdge_DOBJ DependencyEdge_Label = 18
1106 // Expletive
1107 DependencyEdge_EXPL DependencyEdge_Label = 19
1108 // Goes with (part of a word in a text not well edited)
1109 DependencyEdge_GOESWITH DependencyEdge_Label = 20
1110 // Indirect object
1111 DependencyEdge_IOBJ DependencyEdge_Label = 21
1112 // Marker (word introducing a subordinate clause)
1113 DependencyEdge_MARK DependencyEdge_Label = 22
1114 // Multi-word expression
1115 DependencyEdge_MWE DependencyEdge_Label = 23
1116 // Multi-word verbal expression
1117 DependencyEdge_MWV DependencyEdge_Label = 24
1118 // Negation modifier
1119 DependencyEdge_NEG DependencyEdge_Label = 25
1120 // Noun compound modifier
1121 DependencyEdge_NN DependencyEdge_Label = 26
1122 // Noun phrase used as an adverbial modifier
1123 DependencyEdge_NPADVMOD DependencyEdge_Label = 27
1124 // Nominal subject
1125 DependencyEdge_NSUBJ DependencyEdge_Label = 28
1126 // Passive nominal subject
1127 DependencyEdge_NSUBJPASS DependencyEdge_Label = 29
1128 // Numeric modifier of a noun
1129 DependencyEdge_NUM DependencyEdge_Label = 30
1130 // Element of compound number
1131 DependencyEdge_NUMBER DependencyEdge_Label = 31
1132 // Punctuation mark
1133 DependencyEdge_P DependencyEdge_Label = 32
1134 // Parataxis relation
1135 DependencyEdge_PARATAXIS DependencyEdge_Label = 33
1136 // Participial modifier
1137 DependencyEdge_PARTMOD DependencyEdge_Label = 34
1138 // The complement of a preposition is a clause
1139 DependencyEdge_PCOMP DependencyEdge_Label = 35
1140 // Object of a preposition
1141 DependencyEdge_POBJ DependencyEdge_Label = 36
1142 // Possession modifier
1143 DependencyEdge_POSS DependencyEdge_Label = 37
1144 // Postverbal negative particle
1145 DependencyEdge_POSTNEG DependencyEdge_Label = 38
1146 // Predicate complement
1147 DependencyEdge_PRECOMP DependencyEdge_Label = 39
1148 // Preconjunt
1149 DependencyEdge_PRECONJ DependencyEdge_Label = 40
1150 // Predeterminer
1151 DependencyEdge_PREDET DependencyEdge_Label = 41
1152 // Prefix
1153 DependencyEdge_PREF DependencyEdge_Label = 42
1154 // Prepositional modifier
1155 DependencyEdge_PREP DependencyEdge_Label = 43
1156 // The relationship between a verb and verbal morpheme
1157 DependencyEdge_PRONL DependencyEdge_Label = 44
1158 // Particle
1159 DependencyEdge_PRT DependencyEdge_Label = 45
1160 // Associative or possessive marker
1161 DependencyEdge_PS DependencyEdge_Label = 46
1162 // Quantifier phrase modifier
1163 DependencyEdge_QUANTMOD DependencyEdge_Label = 47
1164 // Relative clause modifier
1165 DependencyEdge_RCMOD DependencyEdge_Label = 48
1166 // Complementizer in relative clause
1167 DependencyEdge_RCMODREL DependencyEdge_Label = 49
1168 // Ellipsis without a preceding predicate
1169 DependencyEdge_RDROP DependencyEdge_Label = 50
1170 // Referent
1171 DependencyEdge_REF DependencyEdge_Label = 51
1172 // Remnant
1173 DependencyEdge_REMNANT DependencyEdge_Label = 52
1174 // Reparandum
1175 DependencyEdge_REPARANDUM DependencyEdge_Label = 53
1176 // Root
1177 DependencyEdge_ROOT DependencyEdge_Label = 54
1178 // Suffix specifying a unit of number
1179 DependencyEdge_SNUM DependencyEdge_Label = 55
1180 // Suffix
1181 DependencyEdge_SUFF DependencyEdge_Label = 56
1182 // Temporal modifier
1183 DependencyEdge_TMOD DependencyEdge_Label = 57
1184 // Topic marker
1185 DependencyEdge_TOPIC DependencyEdge_Label = 58
1186 // Clause headed by an infinite form of the verb that modifies a noun
1187 DependencyEdge_VMOD DependencyEdge_Label = 59
1188 // Vocative
1189 DependencyEdge_VOCATIVE DependencyEdge_Label = 60
1190 // Open clausal complement
1191 DependencyEdge_XCOMP DependencyEdge_Label = 61
1192 // Name suffix
1193 DependencyEdge_SUFFIX DependencyEdge_Label = 62
1194 // Name title
1195 DependencyEdge_TITLE DependencyEdge_Label = 63
1196 // Adverbial phrase modifier
1197 DependencyEdge_ADVPHMOD DependencyEdge_Label = 64
1198 // Causative auxiliary
1199 DependencyEdge_AUXCAUS DependencyEdge_Label = 65
1200 // Helper auxiliary
1201 DependencyEdge_AUXVV DependencyEdge_Label = 66
1202 // Rentaishi (Prenominal modifier)
1203 DependencyEdge_DTMOD DependencyEdge_Label = 67
1204 // Foreign words
1205 DependencyEdge_FOREIGN DependencyEdge_Label = 68
1206 // Keyword
1207 DependencyEdge_KW DependencyEdge_Label = 69
1208 // List for chains of comparable items
1209 DependencyEdge_LIST DependencyEdge_Label = 70
1210 // Nominalized clause
1211 DependencyEdge_NOMC DependencyEdge_Label = 71
1212 // Nominalized clausal subject
1213 DependencyEdge_NOMCSUBJ DependencyEdge_Label = 72
1214 // Nominalized clausal passive
1215 DependencyEdge_NOMCSUBJPASS DependencyEdge_Label = 73
1216 // Compound of numeric modifier
1217 DependencyEdge_NUMC DependencyEdge_Label = 74
1218 // Copula
1219 DependencyEdge_COP DependencyEdge_Label = 75
1220 // Dislocated relation (for fronted/topicalized elements)
1221 DependencyEdge_DISLOCATED DependencyEdge_Label = 76
1222 )
1223
1224 // Enum value maps for DependencyEdge_Label.
1225 var (
1226 DependencyEdge_Label_name = map[int32]string{
1227 0: "UNKNOWN",
1228 1: "ABBREV",
1229 2: "ACOMP",
1230 3: "ADVCL",
1231 4: "ADVMOD",
1232 5: "AMOD",
1233 6: "APPOS",
1234 7: "ATTR",
1235 8: "AUX",
1236 9: "AUXPASS",
1237 10: "CC",
1238 11: "CCOMP",
1239 12: "CONJ",
1240 13: "CSUBJ",
1241 14: "CSUBJPASS",
1242 15: "DEP",
1243 16: "DET",
1244 17: "DISCOURSE",
1245 18: "DOBJ",
1246 19: "EXPL",
1247 20: "GOESWITH",
1248 21: "IOBJ",
1249 22: "MARK",
1250 23: "MWE",
1251 24: "MWV",
1252 25: "NEG",
1253 26: "NN",
1254 27: "NPADVMOD",
1255 28: "NSUBJ",
1256 29: "NSUBJPASS",
1257 30: "NUM",
1258 31: "NUMBER",
1259 32: "P",
1260 33: "PARATAXIS",
1261 34: "PARTMOD",
1262 35: "PCOMP",
1263 36: "POBJ",
1264 37: "POSS",
1265 38: "POSTNEG",
1266 39: "PRECOMP",
1267 40: "PRECONJ",
1268 41: "PREDET",
1269 42: "PREF",
1270 43: "PREP",
1271 44: "PRONL",
1272 45: "PRT",
1273 46: "PS",
1274 47: "QUANTMOD",
1275 48: "RCMOD",
1276 49: "RCMODREL",
1277 50: "RDROP",
1278 51: "REF",
1279 52: "REMNANT",
1280 53: "REPARANDUM",
1281 54: "ROOT",
1282 55: "SNUM",
1283 56: "SUFF",
1284 57: "TMOD",
1285 58: "TOPIC",
1286 59: "VMOD",
1287 60: "VOCATIVE",
1288 61: "XCOMP",
1289 62: "SUFFIX",
1290 63: "TITLE",
1291 64: "ADVPHMOD",
1292 65: "AUXCAUS",
1293 66: "AUXVV",
1294 67: "DTMOD",
1295 68: "FOREIGN",
1296 69: "KW",
1297 70: "LIST",
1298 71: "NOMC",
1299 72: "NOMCSUBJ",
1300 73: "NOMCSUBJPASS",
1301 74: "NUMC",
1302 75: "COP",
1303 76: "DISLOCATED",
1304 }
1305 DependencyEdge_Label_value = map[string]int32{
1306 "UNKNOWN": 0,
1307 "ABBREV": 1,
1308 "ACOMP": 2,
1309 "ADVCL": 3,
1310 "ADVMOD": 4,
1311 "AMOD": 5,
1312 "APPOS": 6,
1313 "ATTR": 7,
1314 "AUX": 8,
1315 "AUXPASS": 9,
1316 "CC": 10,
1317 "CCOMP": 11,
1318 "CONJ": 12,
1319 "CSUBJ": 13,
1320 "CSUBJPASS": 14,
1321 "DEP": 15,
1322 "DET": 16,
1323 "DISCOURSE": 17,
1324 "DOBJ": 18,
1325 "EXPL": 19,
1326 "GOESWITH": 20,
1327 "IOBJ": 21,
1328 "MARK": 22,
1329 "MWE": 23,
1330 "MWV": 24,
1331 "NEG": 25,
1332 "NN": 26,
1333 "NPADVMOD": 27,
1334 "NSUBJ": 28,
1335 "NSUBJPASS": 29,
1336 "NUM": 30,
1337 "NUMBER": 31,
1338 "P": 32,
1339 "PARATAXIS": 33,
1340 "PARTMOD": 34,
1341 "PCOMP": 35,
1342 "POBJ": 36,
1343 "POSS": 37,
1344 "POSTNEG": 38,
1345 "PRECOMP": 39,
1346 "PRECONJ": 40,
1347 "PREDET": 41,
1348 "PREF": 42,
1349 "PREP": 43,
1350 "PRONL": 44,
1351 "PRT": 45,
1352 "PS": 46,
1353 "QUANTMOD": 47,
1354 "RCMOD": 48,
1355 "RCMODREL": 49,
1356 "RDROP": 50,
1357 "REF": 51,
1358 "REMNANT": 52,
1359 "REPARANDUM": 53,
1360 "ROOT": 54,
1361 "SNUM": 55,
1362 "SUFF": 56,
1363 "TMOD": 57,
1364 "TOPIC": 58,
1365 "VMOD": 59,
1366 "VOCATIVE": 60,
1367 "XCOMP": 61,
1368 "SUFFIX": 62,
1369 "TITLE": 63,
1370 "ADVPHMOD": 64,
1371 "AUXCAUS": 65,
1372 "AUXVV": 66,
1373 "DTMOD": 67,
1374 "FOREIGN": 68,
1375 "KW": 69,
1376 "LIST": 70,
1377 "NOMC": 71,
1378 "NOMCSUBJ": 72,
1379 "NOMCSUBJPASS": 73,
1380 "NUMC": 74,
1381 "COP": 75,
1382 "DISLOCATED": 76,
1383 }
1384 )
1385
1386 func (x DependencyEdge_Label) Enum() *DependencyEdge_Label {
1387 p := new(DependencyEdge_Label)
1388 *p = x
1389 return p
1390 }
1391
1392 func (x DependencyEdge_Label) String() string {
1393 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
1394 }
1395
1396 func (DependencyEdge_Label) Descriptor() protoreflect.EnumDescriptor {
1397 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[15].Descriptor()
1398 }
1399
1400 func (DependencyEdge_Label) Type() protoreflect.EnumType {
1401 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[15]
1402 }
1403
1404 func (x DependencyEdge_Label) Number() protoreflect.EnumNumber {
1405 return protoreflect.EnumNumber(x)
1406 }
1407
1408 // Deprecated: Use DependencyEdge_Label.Descriptor instead.
1409 func (DependencyEdge_Label) EnumDescriptor() ([]byte, []int) {
1410 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{6, 0}
1411 }
1412
1413 // The supported types of mentions.
1414 type EntityMention_Type int32
1415
1416 const (
1417 // Unknown
1418 EntityMention_TYPE_UNKNOWN EntityMention_Type = 0
1419 // Proper name
1420 EntityMention_PROPER EntityMention_Type = 1
1421 // Common noun (or noun compound)
1422 EntityMention_COMMON EntityMention_Type = 2
1423 )
1424
1425 // Enum value maps for EntityMention_Type.
1426 var (
1427 EntityMention_Type_name = map[int32]string{
1428 0: "TYPE_UNKNOWN",
1429 1: "PROPER",
1430 2: "COMMON",
1431 }
1432 EntityMention_Type_value = map[string]int32{
1433 "TYPE_UNKNOWN": 0,
1434 "PROPER": 1,
1435 "COMMON": 2,
1436 }
1437 )
1438
1439 func (x EntityMention_Type) Enum() *EntityMention_Type {
1440 p := new(EntityMention_Type)
1441 *p = x
1442 return p
1443 }
1444
1445 func (x EntityMention_Type) String() string {
1446 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
1447 }
1448
1449 func (EntityMention_Type) Descriptor() protoreflect.EnumDescriptor {
1450 return file_google_cloud_language_v1beta1_language_service_proto_enumTypes[16].Descriptor()
1451 }
1452
1453 func (EntityMention_Type) Type() protoreflect.EnumType {
1454 return &file_google_cloud_language_v1beta1_language_service_proto_enumTypes[16]
1455 }
1456
1457 func (x EntityMention_Type) Number() protoreflect.EnumNumber {
1458 return protoreflect.EnumNumber(x)
1459 }
1460
1461 // Deprecated: Use EntityMention_Type.Descriptor instead.
1462 func (EntityMention_Type) EnumDescriptor() ([]byte, []int) {
1463 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{7, 0}
1464 }
1465
1466 // Represents the input to API methods.
1467 type Document struct {
1468 state protoimpl.MessageState
1469 sizeCache protoimpl.SizeCache
1470 unknownFields protoimpl.UnknownFields
1471
1472 // Required. If the type is not set or is `TYPE_UNSPECIFIED`,
1473 // returns an `INVALID_ARGUMENT` error.
1474 Type Document_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.language.v1beta1.Document_Type" json:"type,omitempty"`
1475 // The source of the document: a string containing the content or a
1476 // Google Cloud Storage URI.
1477 //
1478 // Types that are assignable to Source:
1479 // *Document_Content
1480 // *Document_GcsContentUri
1481 Source isDocument_Source `protobuf_oneof:"source"`
1482 // The language of the document (if not specified, the language is
1483 // automatically detected). Both ISO and BCP-47 language codes are
1484 // accepted.<br>
1485 // [Language
1486 // Support](https://cloud.google.com/natural-language/docs/languages) lists
1487 // currently supported languages for each API method. If the language (either
1488 // specified by the caller or automatically detected) is not supported by the
1489 // called API method, an `INVALID_ARGUMENT` error is returned.
1490 Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`
1491 }
1492
1493 func (x *Document) Reset() {
1494 *x = Document{}
1495 if protoimpl.UnsafeEnabled {
1496 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[0]
1497 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1498 ms.StoreMessageInfo(mi)
1499 }
1500 }
1501
1502 func (x *Document) String() string {
1503 return protoimpl.X.MessageStringOf(x)
1504 }
1505
1506 func (*Document) ProtoMessage() {}
1507
1508 func (x *Document) ProtoReflect() protoreflect.Message {
1509 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[0]
1510 if protoimpl.UnsafeEnabled && x != nil {
1511 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1512 if ms.LoadMessageInfo() == nil {
1513 ms.StoreMessageInfo(mi)
1514 }
1515 return ms
1516 }
1517 return mi.MessageOf(x)
1518 }
1519
1520 // Deprecated: Use Document.ProtoReflect.Descriptor instead.
1521 func (*Document) Descriptor() ([]byte, []int) {
1522 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{0}
1523 }
1524
1525 func (x *Document) GetType() Document_Type {
1526 if x != nil {
1527 return x.Type
1528 }
1529 return Document_TYPE_UNSPECIFIED
1530 }
1531
1532 func (m *Document) GetSource() isDocument_Source {
1533 if m != nil {
1534 return m.Source
1535 }
1536 return nil
1537 }
1538
1539 func (x *Document) GetContent() string {
1540 if x, ok := x.GetSource().(*Document_Content); ok {
1541 return x.Content
1542 }
1543 return ""
1544 }
1545
1546 func (x *Document) GetGcsContentUri() string {
1547 if x, ok := x.GetSource().(*Document_GcsContentUri); ok {
1548 return x.GcsContentUri
1549 }
1550 return ""
1551 }
1552
1553 func (x *Document) GetLanguage() string {
1554 if x != nil {
1555 return x.Language
1556 }
1557 return ""
1558 }
1559
1560 type isDocument_Source interface {
1561 isDocument_Source()
1562 }
1563
1564 type Document_Content struct {
1565 // The content of the input in string format.
1566 Content string `protobuf:"bytes,2,opt,name=content,proto3,oneof"`
1567 }
1568
1569 type Document_GcsContentUri struct {
1570 // The Google Cloud Storage URI where the file content is located.
1571 // This URI must be of the form: gs://bucket_name/object_name. For more
1572 // details, see https://cloud.google.com/storage/docs/reference-uris.
1573 // NOTE: Cloud Storage object versioning is not supported.
1574 GcsContentUri string `protobuf:"bytes,3,opt,name=gcs_content_uri,json=gcsContentUri,proto3,oneof"`
1575 }
1576
1577 func (*Document_Content) isDocument_Source() {}
1578
1579 func (*Document_GcsContentUri) isDocument_Source() {}
1580
1581 // Represents a sentence in the input document.
1582 type Sentence struct {
1583 state protoimpl.MessageState
1584 sizeCache protoimpl.SizeCache
1585 unknownFields protoimpl.UnknownFields
1586
1587 // The sentence text.
1588 Text *TextSpan `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
1589 // For calls to [AnalyzeSentiment][] or if
1590 // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta1.AnnotateTextRequest.Features.extract_document_sentiment]
1591 // is set to true, this field will contain the sentiment for the sentence.
1592 Sentiment *Sentiment `protobuf:"bytes,2,opt,name=sentiment,proto3" json:"sentiment,omitempty"`
1593 }
1594
1595 func (x *Sentence) Reset() {
1596 *x = Sentence{}
1597 if protoimpl.UnsafeEnabled {
1598 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[1]
1599 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1600 ms.StoreMessageInfo(mi)
1601 }
1602 }
1603
1604 func (x *Sentence) String() string {
1605 return protoimpl.X.MessageStringOf(x)
1606 }
1607
1608 func (*Sentence) ProtoMessage() {}
1609
1610 func (x *Sentence) ProtoReflect() protoreflect.Message {
1611 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[1]
1612 if protoimpl.UnsafeEnabled && x != nil {
1613 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1614 if ms.LoadMessageInfo() == nil {
1615 ms.StoreMessageInfo(mi)
1616 }
1617 return ms
1618 }
1619 return mi.MessageOf(x)
1620 }
1621
1622 // Deprecated: Use Sentence.ProtoReflect.Descriptor instead.
1623 func (*Sentence) Descriptor() ([]byte, []int) {
1624 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{1}
1625 }
1626
1627 func (x *Sentence) GetText() *TextSpan {
1628 if x != nil {
1629 return x.Text
1630 }
1631 return nil
1632 }
1633
1634 func (x *Sentence) GetSentiment() *Sentiment {
1635 if x != nil {
1636 return x.Sentiment
1637 }
1638 return nil
1639 }
1640
1641 // Represents a phrase in the text that is a known entity, such as
1642 // a person, an organization, or location. The API associates information, such
1643 // as salience and mentions, with entities.
1644 type Entity struct {
1645 state protoimpl.MessageState
1646 sizeCache protoimpl.SizeCache
1647 unknownFields protoimpl.UnknownFields
1648
1649 // The representative name for the entity.
1650 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1651 // The entity type.
1652 Type Entity_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.language.v1beta1.Entity_Type" json:"type,omitempty"`
1653 // Metadata associated with the entity.
1654 //
1655 // Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
1656 // available. The associated keys are "wikipedia_url" and "mid", respectively.
1657 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"`
1658 // The salience score associated with the entity in the [0, 1.0] range.
1659 //
1660 // The salience score for an entity provides information about the
1661 // importance or centrality of that entity to the entire document text.
1662 // Scores closer to 0 are less salient, while scores closer to 1.0 are highly
1663 // salient.
1664 Salience float32 `protobuf:"fixed32,4,opt,name=salience,proto3" json:"salience,omitempty"`
1665 // The mentions of this entity in the input document. The API currently
1666 // supports proper noun mentions.
1667 Mentions []*EntityMention `protobuf:"bytes,5,rep,name=mentions,proto3" json:"mentions,omitempty"`
1668 }
1669
1670 func (x *Entity) Reset() {
1671 *x = Entity{}
1672 if protoimpl.UnsafeEnabled {
1673 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[2]
1674 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1675 ms.StoreMessageInfo(mi)
1676 }
1677 }
1678
1679 func (x *Entity) String() string {
1680 return protoimpl.X.MessageStringOf(x)
1681 }
1682
1683 func (*Entity) ProtoMessage() {}
1684
1685 func (x *Entity) ProtoReflect() protoreflect.Message {
1686 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[2]
1687 if protoimpl.UnsafeEnabled && x != nil {
1688 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1689 if ms.LoadMessageInfo() == nil {
1690 ms.StoreMessageInfo(mi)
1691 }
1692 return ms
1693 }
1694 return mi.MessageOf(x)
1695 }
1696
1697 // Deprecated: Use Entity.ProtoReflect.Descriptor instead.
1698 func (*Entity) Descriptor() ([]byte, []int) {
1699 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{2}
1700 }
1701
1702 func (x *Entity) GetName() string {
1703 if x != nil {
1704 return x.Name
1705 }
1706 return ""
1707 }
1708
1709 func (x *Entity) GetType() Entity_Type {
1710 if x != nil {
1711 return x.Type
1712 }
1713 return Entity_UNKNOWN
1714 }
1715
1716 func (x *Entity) GetMetadata() map[string]string {
1717 if x != nil {
1718 return x.Metadata
1719 }
1720 return nil
1721 }
1722
1723 func (x *Entity) GetSalience() float32 {
1724 if x != nil {
1725 return x.Salience
1726 }
1727 return 0
1728 }
1729
1730 func (x *Entity) GetMentions() []*EntityMention {
1731 if x != nil {
1732 return x.Mentions
1733 }
1734 return nil
1735 }
1736
1737 // Represents the smallest syntactic building block of the text.
1738 type Token struct {
1739 state protoimpl.MessageState
1740 sizeCache protoimpl.SizeCache
1741 unknownFields protoimpl.UnknownFields
1742
1743 // The token text.
1744 Text *TextSpan `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
1745 // Parts of speech tag for this token.
1746 PartOfSpeech *PartOfSpeech `protobuf:"bytes,2,opt,name=part_of_speech,json=partOfSpeech,proto3" json:"part_of_speech,omitempty"`
1747 // Dependency tree parse for this token.
1748 DependencyEdge *DependencyEdge `protobuf:"bytes,3,opt,name=dependency_edge,json=dependencyEdge,proto3" json:"dependency_edge,omitempty"`
1749 // [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.
1750 Lemma string `protobuf:"bytes,4,opt,name=lemma,proto3" json:"lemma,omitempty"`
1751 }
1752
1753 func (x *Token) Reset() {
1754 *x = Token{}
1755 if protoimpl.UnsafeEnabled {
1756 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[3]
1757 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1758 ms.StoreMessageInfo(mi)
1759 }
1760 }
1761
1762 func (x *Token) String() string {
1763 return protoimpl.X.MessageStringOf(x)
1764 }
1765
1766 func (*Token) ProtoMessage() {}
1767
1768 func (x *Token) ProtoReflect() protoreflect.Message {
1769 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[3]
1770 if protoimpl.UnsafeEnabled && x != nil {
1771 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1772 if ms.LoadMessageInfo() == nil {
1773 ms.StoreMessageInfo(mi)
1774 }
1775 return ms
1776 }
1777 return mi.MessageOf(x)
1778 }
1779
1780 // Deprecated: Use Token.ProtoReflect.Descriptor instead.
1781 func (*Token) Descriptor() ([]byte, []int) {
1782 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{3}
1783 }
1784
1785 func (x *Token) GetText() *TextSpan {
1786 if x != nil {
1787 return x.Text
1788 }
1789 return nil
1790 }
1791
1792 func (x *Token) GetPartOfSpeech() *PartOfSpeech {
1793 if x != nil {
1794 return x.PartOfSpeech
1795 }
1796 return nil
1797 }
1798
1799 func (x *Token) GetDependencyEdge() *DependencyEdge {
1800 if x != nil {
1801 return x.DependencyEdge
1802 }
1803 return nil
1804 }
1805
1806 func (x *Token) GetLemma() string {
1807 if x != nil {
1808 return x.Lemma
1809 }
1810 return ""
1811 }
1812
1813 // Represents the feeling associated with the entire text or entities in
1814 // the text.
1815 type Sentiment struct {
1816 state protoimpl.MessageState
1817 sizeCache protoimpl.SizeCache
1818 unknownFields protoimpl.UnknownFields
1819
1820 // DEPRECATED FIELD - This field is being deprecated in
1821 // favor of score. Please refer to our documentation at
1822 // https://cloud.google.com/natural-language/docs for more information.
1823 Polarity float32 `protobuf:"fixed32,1,opt,name=polarity,proto3" json:"polarity,omitempty"`
1824 // A non-negative number in the [0, +inf) range, which represents
1825 // the absolute magnitude of sentiment regardless of score (positive or
1826 // negative).
1827 Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"`
1828 // Sentiment score between -1.0 (negative sentiment) and 1.0
1829 // (positive sentiment).
1830 Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"`
1831 }
1832
1833 func (x *Sentiment) Reset() {
1834 *x = Sentiment{}
1835 if protoimpl.UnsafeEnabled {
1836 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[4]
1837 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1838 ms.StoreMessageInfo(mi)
1839 }
1840 }
1841
1842 func (x *Sentiment) String() string {
1843 return protoimpl.X.MessageStringOf(x)
1844 }
1845
1846 func (*Sentiment) ProtoMessage() {}
1847
1848 func (x *Sentiment) ProtoReflect() protoreflect.Message {
1849 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[4]
1850 if protoimpl.UnsafeEnabled && x != nil {
1851 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1852 if ms.LoadMessageInfo() == nil {
1853 ms.StoreMessageInfo(mi)
1854 }
1855 return ms
1856 }
1857 return mi.MessageOf(x)
1858 }
1859
1860 // Deprecated: Use Sentiment.ProtoReflect.Descriptor instead.
1861 func (*Sentiment) Descriptor() ([]byte, []int) {
1862 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{4}
1863 }
1864
1865 func (x *Sentiment) GetPolarity() float32 {
1866 if x != nil {
1867 return x.Polarity
1868 }
1869 return 0
1870 }
1871
1872 func (x *Sentiment) GetMagnitude() float32 {
1873 if x != nil {
1874 return x.Magnitude
1875 }
1876 return 0
1877 }
1878
1879 func (x *Sentiment) GetScore() float32 {
1880 if x != nil {
1881 return x.Score
1882 }
1883 return 0
1884 }
1885
1886 // Represents part of speech information for a token.
1887 type PartOfSpeech struct {
1888 state protoimpl.MessageState
1889 sizeCache protoimpl.SizeCache
1890 unknownFields protoimpl.UnknownFields
1891
1892 // The part of speech tag.
1893 Tag PartOfSpeech_Tag `protobuf:"varint,1,opt,name=tag,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Tag" json:"tag,omitempty"`
1894 // The grammatical aspect.
1895 Aspect PartOfSpeech_Aspect `protobuf:"varint,2,opt,name=aspect,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Aspect" json:"aspect,omitempty"`
1896 // The grammatical case.
1897 Case PartOfSpeech_Case `protobuf:"varint,3,opt,name=case,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Case" json:"case,omitempty"`
1898 // The grammatical form.
1899 Form PartOfSpeech_Form `protobuf:"varint,4,opt,name=form,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Form" json:"form,omitempty"`
1900 // The grammatical gender.
1901 Gender PartOfSpeech_Gender `protobuf:"varint,5,opt,name=gender,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Gender" json:"gender,omitempty"`
1902 // The grammatical mood.
1903 Mood PartOfSpeech_Mood `protobuf:"varint,6,opt,name=mood,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Mood" json:"mood,omitempty"`
1904 // The grammatical number.
1905 Number PartOfSpeech_Number `protobuf:"varint,7,opt,name=number,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Number" json:"number,omitempty"`
1906 // The grammatical person.
1907 Person PartOfSpeech_Person `protobuf:"varint,8,opt,name=person,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Person" json:"person,omitempty"`
1908 // The grammatical properness.
1909 Proper PartOfSpeech_Proper `protobuf:"varint,9,opt,name=proper,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Proper" json:"proper,omitempty"`
1910 // The grammatical reciprocity.
1911 Reciprocity PartOfSpeech_Reciprocity `protobuf:"varint,10,opt,name=reciprocity,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Reciprocity" json:"reciprocity,omitempty"`
1912 // The grammatical tense.
1913 Tense PartOfSpeech_Tense `protobuf:"varint,11,opt,name=tense,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Tense" json:"tense,omitempty"`
1914 // The grammatical voice.
1915 Voice PartOfSpeech_Voice `protobuf:"varint,12,opt,name=voice,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Voice" json:"voice,omitempty"`
1916 }
1917
1918 func (x *PartOfSpeech) Reset() {
1919 *x = PartOfSpeech{}
1920 if protoimpl.UnsafeEnabled {
1921 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[5]
1922 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1923 ms.StoreMessageInfo(mi)
1924 }
1925 }
1926
1927 func (x *PartOfSpeech) String() string {
1928 return protoimpl.X.MessageStringOf(x)
1929 }
1930
1931 func (*PartOfSpeech) ProtoMessage() {}
1932
1933 func (x *PartOfSpeech) ProtoReflect() protoreflect.Message {
1934 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[5]
1935 if protoimpl.UnsafeEnabled && x != nil {
1936 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1937 if ms.LoadMessageInfo() == nil {
1938 ms.StoreMessageInfo(mi)
1939 }
1940 return ms
1941 }
1942 return mi.MessageOf(x)
1943 }
1944
1945 // Deprecated: Use PartOfSpeech.ProtoReflect.Descriptor instead.
1946 func (*PartOfSpeech) Descriptor() ([]byte, []int) {
1947 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{5}
1948 }
1949
1950 func (x *PartOfSpeech) GetTag() PartOfSpeech_Tag {
1951 if x != nil {
1952 return x.Tag
1953 }
1954 return PartOfSpeech_UNKNOWN
1955 }
1956
1957 func (x *PartOfSpeech) GetAspect() PartOfSpeech_Aspect {
1958 if x != nil {
1959 return x.Aspect
1960 }
1961 return PartOfSpeech_ASPECT_UNKNOWN
1962 }
1963
1964 func (x *PartOfSpeech) GetCase() PartOfSpeech_Case {
1965 if x != nil {
1966 return x.Case
1967 }
1968 return PartOfSpeech_CASE_UNKNOWN
1969 }
1970
1971 func (x *PartOfSpeech) GetForm() PartOfSpeech_Form {
1972 if x != nil {
1973 return x.Form
1974 }
1975 return PartOfSpeech_FORM_UNKNOWN
1976 }
1977
1978 func (x *PartOfSpeech) GetGender() PartOfSpeech_Gender {
1979 if x != nil {
1980 return x.Gender
1981 }
1982 return PartOfSpeech_GENDER_UNKNOWN
1983 }
1984
1985 func (x *PartOfSpeech) GetMood() PartOfSpeech_Mood {
1986 if x != nil {
1987 return x.Mood
1988 }
1989 return PartOfSpeech_MOOD_UNKNOWN
1990 }
1991
1992 func (x *PartOfSpeech) GetNumber() PartOfSpeech_Number {
1993 if x != nil {
1994 return x.Number
1995 }
1996 return PartOfSpeech_NUMBER_UNKNOWN
1997 }
1998
1999 func (x *PartOfSpeech) GetPerson() PartOfSpeech_Person {
2000 if x != nil {
2001 return x.Person
2002 }
2003 return PartOfSpeech_PERSON_UNKNOWN
2004 }
2005
2006 func (x *PartOfSpeech) GetProper() PartOfSpeech_Proper {
2007 if x != nil {
2008 return x.Proper
2009 }
2010 return PartOfSpeech_PROPER_UNKNOWN
2011 }
2012
2013 func (x *PartOfSpeech) GetReciprocity() PartOfSpeech_Reciprocity {
2014 if x != nil {
2015 return x.Reciprocity
2016 }
2017 return PartOfSpeech_RECIPROCITY_UNKNOWN
2018 }
2019
2020 func (x *PartOfSpeech) GetTense() PartOfSpeech_Tense {
2021 if x != nil {
2022 return x.Tense
2023 }
2024 return PartOfSpeech_TENSE_UNKNOWN
2025 }
2026
2027 func (x *PartOfSpeech) GetVoice() PartOfSpeech_Voice {
2028 if x != nil {
2029 return x.Voice
2030 }
2031 return PartOfSpeech_VOICE_UNKNOWN
2032 }
2033
2034 // Represents dependency parse tree information for a token.
2035 type DependencyEdge struct {
2036 state protoimpl.MessageState
2037 sizeCache protoimpl.SizeCache
2038 unknownFields protoimpl.UnknownFields
2039
2040 // Represents the head of this token in the dependency tree.
2041 // This is the index of the token which has an arc going to this token.
2042 // The index is the position of the token in the array of tokens returned
2043 // by the API method. If this token is a root token, then the
2044 // `head_token_index` is its own index.
2045 HeadTokenIndex int32 `protobuf:"varint,1,opt,name=head_token_index,json=headTokenIndex,proto3" json:"head_token_index,omitempty"`
2046 // The parse label for the token.
2047 Label DependencyEdge_Label `protobuf:"varint,2,opt,name=label,proto3,enum=google.cloud.language.v1beta1.DependencyEdge_Label" json:"label,omitempty"`
2048 }
2049
2050 func (x *DependencyEdge) Reset() {
2051 *x = DependencyEdge{}
2052 if protoimpl.UnsafeEnabled {
2053 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[6]
2054 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2055 ms.StoreMessageInfo(mi)
2056 }
2057 }
2058
2059 func (x *DependencyEdge) String() string {
2060 return protoimpl.X.MessageStringOf(x)
2061 }
2062
2063 func (*DependencyEdge) ProtoMessage() {}
2064
2065 func (x *DependencyEdge) ProtoReflect() protoreflect.Message {
2066 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[6]
2067 if protoimpl.UnsafeEnabled && x != nil {
2068 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2069 if ms.LoadMessageInfo() == nil {
2070 ms.StoreMessageInfo(mi)
2071 }
2072 return ms
2073 }
2074 return mi.MessageOf(x)
2075 }
2076
2077 // Deprecated: Use DependencyEdge.ProtoReflect.Descriptor instead.
2078 func (*DependencyEdge) Descriptor() ([]byte, []int) {
2079 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{6}
2080 }
2081
2082 func (x *DependencyEdge) GetHeadTokenIndex() int32 {
2083 if x != nil {
2084 return x.HeadTokenIndex
2085 }
2086 return 0
2087 }
2088
2089 func (x *DependencyEdge) GetLabel() DependencyEdge_Label {
2090 if x != nil {
2091 return x.Label
2092 }
2093 return DependencyEdge_UNKNOWN
2094 }
2095
2096 // Represents a mention for an entity in the text. Currently, proper noun
2097 // mentions are supported.
2098 type EntityMention struct {
2099 state protoimpl.MessageState
2100 sizeCache protoimpl.SizeCache
2101 unknownFields protoimpl.UnknownFields
2102
2103 // The mention text.
2104 Text *TextSpan `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
2105 // The type of the entity mention.
2106 Type EntityMention_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.language.v1beta1.EntityMention_Type" json:"type,omitempty"`
2107 }
2108
2109 func (x *EntityMention) Reset() {
2110 *x = EntityMention{}
2111 if protoimpl.UnsafeEnabled {
2112 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[7]
2113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2114 ms.StoreMessageInfo(mi)
2115 }
2116 }
2117
2118 func (x *EntityMention) String() string {
2119 return protoimpl.X.MessageStringOf(x)
2120 }
2121
2122 func (*EntityMention) ProtoMessage() {}
2123
2124 func (x *EntityMention) ProtoReflect() protoreflect.Message {
2125 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[7]
2126 if protoimpl.UnsafeEnabled && x != nil {
2127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2128 if ms.LoadMessageInfo() == nil {
2129 ms.StoreMessageInfo(mi)
2130 }
2131 return ms
2132 }
2133 return mi.MessageOf(x)
2134 }
2135
2136 // Deprecated: Use EntityMention.ProtoReflect.Descriptor instead.
2137 func (*EntityMention) Descriptor() ([]byte, []int) {
2138 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{7}
2139 }
2140
2141 func (x *EntityMention) GetText() *TextSpan {
2142 if x != nil {
2143 return x.Text
2144 }
2145 return nil
2146 }
2147
2148 func (x *EntityMention) GetType() EntityMention_Type {
2149 if x != nil {
2150 return x.Type
2151 }
2152 return EntityMention_TYPE_UNKNOWN
2153 }
2154
2155 // Represents an output piece of text.
2156 type TextSpan struct {
2157 state protoimpl.MessageState
2158 sizeCache protoimpl.SizeCache
2159 unknownFields protoimpl.UnknownFields
2160
2161 // The content of the output text.
2162 Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
2163 // The API calculates the beginning offset of the content in the original
2164 // document according to the
2165 // [EncodingType][google.cloud.language.v1beta1.EncodingType] specified in the
2166 // API request.
2167 BeginOffset int32 `protobuf:"varint,2,opt,name=begin_offset,json=beginOffset,proto3" json:"begin_offset,omitempty"`
2168 }
2169
2170 func (x *TextSpan) Reset() {
2171 *x = TextSpan{}
2172 if protoimpl.UnsafeEnabled {
2173 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[8]
2174 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2175 ms.StoreMessageInfo(mi)
2176 }
2177 }
2178
2179 func (x *TextSpan) String() string {
2180 return protoimpl.X.MessageStringOf(x)
2181 }
2182
2183 func (*TextSpan) ProtoMessage() {}
2184
2185 func (x *TextSpan) ProtoReflect() protoreflect.Message {
2186 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[8]
2187 if protoimpl.UnsafeEnabled && x != nil {
2188 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2189 if ms.LoadMessageInfo() == nil {
2190 ms.StoreMessageInfo(mi)
2191 }
2192 return ms
2193 }
2194 return mi.MessageOf(x)
2195 }
2196
2197 // Deprecated: Use TextSpan.ProtoReflect.Descriptor instead.
2198 func (*TextSpan) Descriptor() ([]byte, []int) {
2199 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{8}
2200 }
2201
2202 func (x *TextSpan) GetContent() string {
2203 if x != nil {
2204 return x.Content
2205 }
2206 return ""
2207 }
2208
2209 func (x *TextSpan) GetBeginOffset() int32 {
2210 if x != nil {
2211 return x.BeginOffset
2212 }
2213 return 0
2214 }
2215
2216 // The sentiment analysis request message.
2217 type AnalyzeSentimentRequest struct {
2218 state protoimpl.MessageState
2219 sizeCache protoimpl.SizeCache
2220 unknownFields protoimpl.UnknownFields
2221
2222 // Input document.
2223 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
2224 // The encoding type used by the API to calculate sentence offsets for the
2225 // sentence sentiment.
2226 EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta1.EncodingType" json:"encoding_type,omitempty"`
2227 }
2228
2229 func (x *AnalyzeSentimentRequest) Reset() {
2230 *x = AnalyzeSentimentRequest{}
2231 if protoimpl.UnsafeEnabled {
2232 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[9]
2233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2234 ms.StoreMessageInfo(mi)
2235 }
2236 }
2237
2238 func (x *AnalyzeSentimentRequest) String() string {
2239 return protoimpl.X.MessageStringOf(x)
2240 }
2241
2242 func (*AnalyzeSentimentRequest) ProtoMessage() {}
2243
2244 func (x *AnalyzeSentimentRequest) ProtoReflect() protoreflect.Message {
2245 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[9]
2246 if protoimpl.UnsafeEnabled && x != nil {
2247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2248 if ms.LoadMessageInfo() == nil {
2249 ms.StoreMessageInfo(mi)
2250 }
2251 return ms
2252 }
2253 return mi.MessageOf(x)
2254 }
2255
2256 // Deprecated: Use AnalyzeSentimentRequest.ProtoReflect.Descriptor instead.
2257 func (*AnalyzeSentimentRequest) Descriptor() ([]byte, []int) {
2258 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{9}
2259 }
2260
2261 func (x *AnalyzeSentimentRequest) GetDocument() *Document {
2262 if x != nil {
2263 return x.Document
2264 }
2265 return nil
2266 }
2267
2268 func (x *AnalyzeSentimentRequest) GetEncodingType() EncodingType {
2269 if x != nil {
2270 return x.EncodingType
2271 }
2272 return EncodingType_NONE
2273 }
2274
2275 // The sentiment analysis response message.
2276 type AnalyzeSentimentResponse struct {
2277 state protoimpl.MessageState
2278 sizeCache protoimpl.SizeCache
2279 unknownFields protoimpl.UnknownFields
2280
2281 // The overall sentiment of the input document.
2282 DocumentSentiment *Sentiment `protobuf:"bytes,1,opt,name=document_sentiment,json=documentSentiment,proto3" json:"document_sentiment,omitempty"`
2283 // The language of the text, which will be the same as the language specified
2284 // in the request or, if not specified, the automatically-detected language.
2285 // See [Document.language][google.cloud.language.v1beta1.Document.language]
2286 // field for more details.
2287 Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
2288 // The sentiment for all the sentences in the document.
2289 Sentences []*Sentence `protobuf:"bytes,3,rep,name=sentences,proto3" json:"sentences,omitempty"`
2290 }
2291
2292 func (x *AnalyzeSentimentResponse) Reset() {
2293 *x = AnalyzeSentimentResponse{}
2294 if protoimpl.UnsafeEnabled {
2295 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[10]
2296 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2297 ms.StoreMessageInfo(mi)
2298 }
2299 }
2300
2301 func (x *AnalyzeSentimentResponse) String() string {
2302 return protoimpl.X.MessageStringOf(x)
2303 }
2304
2305 func (*AnalyzeSentimentResponse) ProtoMessage() {}
2306
2307 func (x *AnalyzeSentimentResponse) ProtoReflect() protoreflect.Message {
2308 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[10]
2309 if protoimpl.UnsafeEnabled && x != nil {
2310 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2311 if ms.LoadMessageInfo() == nil {
2312 ms.StoreMessageInfo(mi)
2313 }
2314 return ms
2315 }
2316 return mi.MessageOf(x)
2317 }
2318
2319 // Deprecated: Use AnalyzeSentimentResponse.ProtoReflect.Descriptor instead.
2320 func (*AnalyzeSentimentResponse) Descriptor() ([]byte, []int) {
2321 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{10}
2322 }
2323
2324 func (x *AnalyzeSentimentResponse) GetDocumentSentiment() *Sentiment {
2325 if x != nil {
2326 return x.DocumentSentiment
2327 }
2328 return nil
2329 }
2330
2331 func (x *AnalyzeSentimentResponse) GetLanguage() string {
2332 if x != nil {
2333 return x.Language
2334 }
2335 return ""
2336 }
2337
2338 func (x *AnalyzeSentimentResponse) GetSentences() []*Sentence {
2339 if x != nil {
2340 return x.Sentences
2341 }
2342 return nil
2343 }
2344
2345 // The entity analysis request message.
2346 type AnalyzeEntitiesRequest struct {
2347 state protoimpl.MessageState
2348 sizeCache protoimpl.SizeCache
2349 unknownFields protoimpl.UnknownFields
2350
2351 // Input document.
2352 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
2353 // The encoding type used by the API to calculate offsets.
2354 EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta1.EncodingType" json:"encoding_type,omitempty"`
2355 }
2356
2357 func (x *AnalyzeEntitiesRequest) Reset() {
2358 *x = AnalyzeEntitiesRequest{}
2359 if protoimpl.UnsafeEnabled {
2360 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[11]
2361 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2362 ms.StoreMessageInfo(mi)
2363 }
2364 }
2365
2366 func (x *AnalyzeEntitiesRequest) String() string {
2367 return protoimpl.X.MessageStringOf(x)
2368 }
2369
2370 func (*AnalyzeEntitiesRequest) ProtoMessage() {}
2371
2372 func (x *AnalyzeEntitiesRequest) ProtoReflect() protoreflect.Message {
2373 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[11]
2374 if protoimpl.UnsafeEnabled && x != nil {
2375 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2376 if ms.LoadMessageInfo() == nil {
2377 ms.StoreMessageInfo(mi)
2378 }
2379 return ms
2380 }
2381 return mi.MessageOf(x)
2382 }
2383
2384 // Deprecated: Use AnalyzeEntitiesRequest.ProtoReflect.Descriptor instead.
2385 func (*AnalyzeEntitiesRequest) Descriptor() ([]byte, []int) {
2386 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{11}
2387 }
2388
2389 func (x *AnalyzeEntitiesRequest) GetDocument() *Document {
2390 if x != nil {
2391 return x.Document
2392 }
2393 return nil
2394 }
2395
2396 func (x *AnalyzeEntitiesRequest) GetEncodingType() EncodingType {
2397 if x != nil {
2398 return x.EncodingType
2399 }
2400 return EncodingType_NONE
2401 }
2402
2403 // The entity analysis response message.
2404 type AnalyzeEntitiesResponse struct {
2405 state protoimpl.MessageState
2406 sizeCache protoimpl.SizeCache
2407 unknownFields protoimpl.UnknownFields
2408
2409 // The recognized entities in the input document.
2410 Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
2411 // The language of the text, which will be the same as the language specified
2412 // in the request or, if not specified, the automatically-detected language.
2413 // See [Document.language][google.cloud.language.v1beta1.Document.language]
2414 // field for more details.
2415 Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
2416 }
2417
2418 func (x *AnalyzeEntitiesResponse) Reset() {
2419 *x = AnalyzeEntitiesResponse{}
2420 if protoimpl.UnsafeEnabled {
2421 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[12]
2422 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2423 ms.StoreMessageInfo(mi)
2424 }
2425 }
2426
2427 func (x *AnalyzeEntitiesResponse) String() string {
2428 return protoimpl.X.MessageStringOf(x)
2429 }
2430
2431 func (*AnalyzeEntitiesResponse) ProtoMessage() {}
2432
2433 func (x *AnalyzeEntitiesResponse) ProtoReflect() protoreflect.Message {
2434 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[12]
2435 if protoimpl.UnsafeEnabled && x != nil {
2436 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2437 if ms.LoadMessageInfo() == nil {
2438 ms.StoreMessageInfo(mi)
2439 }
2440 return ms
2441 }
2442 return mi.MessageOf(x)
2443 }
2444
2445 // Deprecated: Use AnalyzeEntitiesResponse.ProtoReflect.Descriptor instead.
2446 func (*AnalyzeEntitiesResponse) Descriptor() ([]byte, []int) {
2447 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{12}
2448 }
2449
2450 func (x *AnalyzeEntitiesResponse) GetEntities() []*Entity {
2451 if x != nil {
2452 return x.Entities
2453 }
2454 return nil
2455 }
2456
2457 func (x *AnalyzeEntitiesResponse) GetLanguage() string {
2458 if x != nil {
2459 return x.Language
2460 }
2461 return ""
2462 }
2463
2464 // The syntax analysis request message.
2465 type AnalyzeSyntaxRequest struct {
2466 state protoimpl.MessageState
2467 sizeCache protoimpl.SizeCache
2468 unknownFields protoimpl.UnknownFields
2469
2470 // Input document.
2471 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
2472 // The encoding type used by the API to calculate offsets.
2473 EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta1.EncodingType" json:"encoding_type,omitempty"`
2474 }
2475
2476 func (x *AnalyzeSyntaxRequest) Reset() {
2477 *x = AnalyzeSyntaxRequest{}
2478 if protoimpl.UnsafeEnabled {
2479 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[13]
2480 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2481 ms.StoreMessageInfo(mi)
2482 }
2483 }
2484
2485 func (x *AnalyzeSyntaxRequest) String() string {
2486 return protoimpl.X.MessageStringOf(x)
2487 }
2488
2489 func (*AnalyzeSyntaxRequest) ProtoMessage() {}
2490
2491 func (x *AnalyzeSyntaxRequest) ProtoReflect() protoreflect.Message {
2492 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[13]
2493 if protoimpl.UnsafeEnabled && x != nil {
2494 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2495 if ms.LoadMessageInfo() == nil {
2496 ms.StoreMessageInfo(mi)
2497 }
2498 return ms
2499 }
2500 return mi.MessageOf(x)
2501 }
2502
2503 // Deprecated: Use AnalyzeSyntaxRequest.ProtoReflect.Descriptor instead.
2504 func (*AnalyzeSyntaxRequest) Descriptor() ([]byte, []int) {
2505 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{13}
2506 }
2507
2508 func (x *AnalyzeSyntaxRequest) GetDocument() *Document {
2509 if x != nil {
2510 return x.Document
2511 }
2512 return nil
2513 }
2514
2515 func (x *AnalyzeSyntaxRequest) GetEncodingType() EncodingType {
2516 if x != nil {
2517 return x.EncodingType
2518 }
2519 return EncodingType_NONE
2520 }
2521
2522 // The syntax analysis response message.
2523 type AnalyzeSyntaxResponse struct {
2524 state protoimpl.MessageState
2525 sizeCache protoimpl.SizeCache
2526 unknownFields protoimpl.UnknownFields
2527
2528 // Sentences in the input document.
2529 Sentences []*Sentence `protobuf:"bytes,1,rep,name=sentences,proto3" json:"sentences,omitempty"`
2530 // Tokens, along with their syntactic information, in the input document.
2531 Tokens []*Token `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"`
2532 // The language of the text, which will be the same as the language specified
2533 // in the request or, if not specified, the automatically-detected language.
2534 // See [Document.language][google.cloud.language.v1beta1.Document.language]
2535 // field for more details.
2536 Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`
2537 }
2538
2539 func (x *AnalyzeSyntaxResponse) Reset() {
2540 *x = AnalyzeSyntaxResponse{}
2541 if protoimpl.UnsafeEnabled {
2542 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[14]
2543 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2544 ms.StoreMessageInfo(mi)
2545 }
2546 }
2547
2548 func (x *AnalyzeSyntaxResponse) String() string {
2549 return protoimpl.X.MessageStringOf(x)
2550 }
2551
2552 func (*AnalyzeSyntaxResponse) ProtoMessage() {}
2553
2554 func (x *AnalyzeSyntaxResponse) ProtoReflect() protoreflect.Message {
2555 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[14]
2556 if protoimpl.UnsafeEnabled && x != nil {
2557 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2558 if ms.LoadMessageInfo() == nil {
2559 ms.StoreMessageInfo(mi)
2560 }
2561 return ms
2562 }
2563 return mi.MessageOf(x)
2564 }
2565
2566 // Deprecated: Use AnalyzeSyntaxResponse.ProtoReflect.Descriptor instead.
2567 func (*AnalyzeSyntaxResponse) Descriptor() ([]byte, []int) {
2568 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{14}
2569 }
2570
2571 func (x *AnalyzeSyntaxResponse) GetSentences() []*Sentence {
2572 if x != nil {
2573 return x.Sentences
2574 }
2575 return nil
2576 }
2577
2578 func (x *AnalyzeSyntaxResponse) GetTokens() []*Token {
2579 if x != nil {
2580 return x.Tokens
2581 }
2582 return nil
2583 }
2584
2585 func (x *AnalyzeSyntaxResponse) GetLanguage() string {
2586 if x != nil {
2587 return x.Language
2588 }
2589 return ""
2590 }
2591
2592 // The request message for the text annotation API, which can perform multiple
2593 // analysis types (sentiment, entities, and syntax) in one call.
2594 type AnnotateTextRequest struct {
2595 state protoimpl.MessageState
2596 sizeCache protoimpl.SizeCache
2597 unknownFields protoimpl.UnknownFields
2598
2599 // Input document.
2600 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
2601 // The enabled features.
2602 Features *AnnotateTextRequest_Features `protobuf:"bytes,2,opt,name=features,proto3" json:"features,omitempty"`
2603 // The encoding type used by the API to calculate offsets.
2604 EncodingType EncodingType `protobuf:"varint,3,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta1.EncodingType" json:"encoding_type,omitempty"`
2605 }
2606
2607 func (x *AnnotateTextRequest) Reset() {
2608 *x = AnnotateTextRequest{}
2609 if protoimpl.UnsafeEnabled {
2610 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[15]
2611 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2612 ms.StoreMessageInfo(mi)
2613 }
2614 }
2615
2616 func (x *AnnotateTextRequest) String() string {
2617 return protoimpl.X.MessageStringOf(x)
2618 }
2619
2620 func (*AnnotateTextRequest) ProtoMessage() {}
2621
2622 func (x *AnnotateTextRequest) ProtoReflect() protoreflect.Message {
2623 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[15]
2624 if protoimpl.UnsafeEnabled && x != nil {
2625 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2626 if ms.LoadMessageInfo() == nil {
2627 ms.StoreMessageInfo(mi)
2628 }
2629 return ms
2630 }
2631 return mi.MessageOf(x)
2632 }
2633
2634 // Deprecated: Use AnnotateTextRequest.ProtoReflect.Descriptor instead.
2635 func (*AnnotateTextRequest) Descriptor() ([]byte, []int) {
2636 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{15}
2637 }
2638
2639 func (x *AnnotateTextRequest) GetDocument() *Document {
2640 if x != nil {
2641 return x.Document
2642 }
2643 return nil
2644 }
2645
2646 func (x *AnnotateTextRequest) GetFeatures() *AnnotateTextRequest_Features {
2647 if x != nil {
2648 return x.Features
2649 }
2650 return nil
2651 }
2652
2653 func (x *AnnotateTextRequest) GetEncodingType() EncodingType {
2654 if x != nil {
2655 return x.EncodingType
2656 }
2657 return EncodingType_NONE
2658 }
2659
2660 // The text annotations response message.
2661 type AnnotateTextResponse struct {
2662 state protoimpl.MessageState
2663 sizeCache protoimpl.SizeCache
2664 unknownFields protoimpl.UnknownFields
2665
2666 // Sentences in the input document. Populated if the user enables
2667 // [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta1.AnnotateTextRequest.Features.extract_syntax].
2668 Sentences []*Sentence `protobuf:"bytes,1,rep,name=sentences,proto3" json:"sentences,omitempty"`
2669 // Tokens, along with their syntactic information, in the input document.
2670 // Populated if the user enables
2671 // [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta1.AnnotateTextRequest.Features.extract_syntax].
2672 Tokens []*Token `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"`
2673 // Entities, along with their semantic information, in the input document.
2674 // Populated if the user enables
2675 // [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1beta1.AnnotateTextRequest.Features.extract_entities].
2676 Entities []*Entity `protobuf:"bytes,3,rep,name=entities,proto3" json:"entities,omitempty"`
2677 // The overall sentiment for the document. Populated if the user enables
2678 // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta1.AnnotateTextRequest.Features.extract_document_sentiment].
2679 DocumentSentiment *Sentiment `protobuf:"bytes,4,opt,name=document_sentiment,json=documentSentiment,proto3" json:"document_sentiment,omitempty"`
2680 // The language of the text, which will be the same as the language specified
2681 // in the request or, if not specified, the automatically-detected language.
2682 // See [Document.language][google.cloud.language.v1beta1.Document.language]
2683 // field for more details.
2684 Language string `protobuf:"bytes,5,opt,name=language,proto3" json:"language,omitempty"`
2685 }
2686
2687 func (x *AnnotateTextResponse) Reset() {
2688 *x = AnnotateTextResponse{}
2689 if protoimpl.UnsafeEnabled {
2690 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[16]
2691 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2692 ms.StoreMessageInfo(mi)
2693 }
2694 }
2695
2696 func (x *AnnotateTextResponse) String() string {
2697 return protoimpl.X.MessageStringOf(x)
2698 }
2699
2700 func (*AnnotateTextResponse) ProtoMessage() {}
2701
2702 func (x *AnnotateTextResponse) ProtoReflect() protoreflect.Message {
2703 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[16]
2704 if protoimpl.UnsafeEnabled && x != nil {
2705 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2706 if ms.LoadMessageInfo() == nil {
2707 ms.StoreMessageInfo(mi)
2708 }
2709 return ms
2710 }
2711 return mi.MessageOf(x)
2712 }
2713
2714 // Deprecated: Use AnnotateTextResponse.ProtoReflect.Descriptor instead.
2715 func (*AnnotateTextResponse) Descriptor() ([]byte, []int) {
2716 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{16}
2717 }
2718
2719 func (x *AnnotateTextResponse) GetSentences() []*Sentence {
2720 if x != nil {
2721 return x.Sentences
2722 }
2723 return nil
2724 }
2725
2726 func (x *AnnotateTextResponse) GetTokens() []*Token {
2727 if x != nil {
2728 return x.Tokens
2729 }
2730 return nil
2731 }
2732
2733 func (x *AnnotateTextResponse) GetEntities() []*Entity {
2734 if x != nil {
2735 return x.Entities
2736 }
2737 return nil
2738 }
2739
2740 func (x *AnnotateTextResponse) GetDocumentSentiment() *Sentiment {
2741 if x != nil {
2742 return x.DocumentSentiment
2743 }
2744 return nil
2745 }
2746
2747 func (x *AnnotateTextResponse) GetLanguage() string {
2748 if x != nil {
2749 return x.Language
2750 }
2751 return ""
2752 }
2753
2754 // All available features for sentiment, syntax, and semantic analysis.
2755 // Setting each one to true will enable that specific analysis for the input.
2756 type AnnotateTextRequest_Features struct {
2757 state protoimpl.MessageState
2758 sizeCache protoimpl.SizeCache
2759 unknownFields protoimpl.UnknownFields
2760
2761 // Extract syntax information.
2762 ExtractSyntax bool `protobuf:"varint,1,opt,name=extract_syntax,json=extractSyntax,proto3" json:"extract_syntax,omitempty"`
2763 // Extract entities.
2764 ExtractEntities bool `protobuf:"varint,2,opt,name=extract_entities,json=extractEntities,proto3" json:"extract_entities,omitempty"`
2765 // Extract document-level sentiment.
2766 ExtractDocumentSentiment bool `protobuf:"varint,3,opt,name=extract_document_sentiment,json=extractDocumentSentiment,proto3" json:"extract_document_sentiment,omitempty"`
2767 }
2768
2769 func (x *AnnotateTextRequest_Features) Reset() {
2770 *x = AnnotateTextRequest_Features{}
2771 if protoimpl.UnsafeEnabled {
2772 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[18]
2773 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2774 ms.StoreMessageInfo(mi)
2775 }
2776 }
2777
2778 func (x *AnnotateTextRequest_Features) String() string {
2779 return protoimpl.X.MessageStringOf(x)
2780 }
2781
2782 func (*AnnotateTextRequest_Features) ProtoMessage() {}
2783
2784 func (x *AnnotateTextRequest_Features) ProtoReflect() protoreflect.Message {
2785 mi := &file_google_cloud_language_v1beta1_language_service_proto_msgTypes[18]
2786 if protoimpl.UnsafeEnabled && x != nil {
2787 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2788 if ms.LoadMessageInfo() == nil {
2789 ms.StoreMessageInfo(mi)
2790 }
2791 return ms
2792 }
2793 return mi.MessageOf(x)
2794 }
2795
2796 // Deprecated: Use AnnotateTextRequest_Features.ProtoReflect.Descriptor instead.
2797 func (*AnnotateTextRequest_Features) Descriptor() ([]byte, []int) {
2798 return file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP(), []int{15, 0}
2799 }
2800
2801 func (x *AnnotateTextRequest_Features) GetExtractSyntax() bool {
2802 if x != nil {
2803 return x.ExtractSyntax
2804 }
2805 return false
2806 }
2807
2808 func (x *AnnotateTextRequest_Features) GetExtractEntities() bool {
2809 if x != nil {
2810 return x.ExtractEntities
2811 }
2812 return false
2813 }
2814
2815 func (x *AnnotateTextRequest_Features) GetExtractDocumentSentiment() bool {
2816 if x != nil {
2817 return x.ExtractDocumentSentiment
2818 }
2819 return false
2820 }
2821
2822 var File_google_cloud_language_v1beta1_language_service_proto protoreflect.FileDescriptor
2823
2824 var file_google_cloud_language_v1beta1_language_service_proto_rawDesc = []byte{
2825 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6c,
2826 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f,
2827 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
2828 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
2829 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,
2830 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
2831 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
2832 0x6f, 0x74, 0x6f, 0x22, 0xf0, 0x01, 0x0a, 0x08, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
2833 0x12, 0x40, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c,
2834 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61,
2835 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44,
2836 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79,
2837 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20,
2838 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x28,
2839 0x0a, 0x0f, 0x67, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x72,
2840 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x67, 0x63, 0x73, 0x43, 0x6f,
2841 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x55, 0x72, 0x69, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67,
2842 0x75, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67,
2843 0x75, 0x61, 0x67, 0x65, 0x22, 0x36, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10,
2844 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
2845 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x4c, 0x41, 0x49, 0x4e, 0x5f, 0x54, 0x45, 0x58, 0x54,
2846 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x4d, 0x4c, 0x10, 0x02, 0x42, 0x08, 0x0a, 0x06,
2847 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x08, 0x53, 0x65, 0x6e, 0x74, 0x65,
2848 0x6e, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
2849 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2850 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
2851 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74,
2852 0x12, 0x46, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20,
2853 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
2854 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65,
2855 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x73,
2856 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xcb, 0x03, 0x0a, 0x06, 0x45, 0x6e, 0x74,
2857 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
2858 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
2859 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
2860 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,
2861 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x54, 0x79, 0x70,
2862 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,
2863 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2864 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
2865 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79,
2866 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08,
2867 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x61, 0x6c, 0x69,
2868 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x73, 0x61, 0x6c, 0x69,
2869 0x65, 0x6e, 0x63, 0x65, 0x12, 0x48, 0x0a, 0x08, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73,
2870 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2871 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76,
2872 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6e,
2873 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3b,
2874 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
2875 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
2876 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
2877 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x79, 0x0a, 0x04, 0x54,
2878 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00,
2879 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x45, 0x52, 0x53, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08,
2880 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x52,
2881 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05,
2882 0x45, 0x56, 0x45, 0x4e, 0x54, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x57, 0x4f, 0x52, 0x4b, 0x5f,
2883 0x4f, 0x46, 0x5f, 0x41, 0x52, 0x54, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x4f, 0x4e, 0x53,
2884 0x55, 0x4d, 0x45, 0x52, 0x5f, 0x47, 0x4f, 0x4f, 0x44, 0x10, 0x06, 0x12, 0x09, 0x0a, 0x05, 0x4f,
2885 0x54, 0x48, 0x45, 0x52, 0x10, 0x07, 0x22, 0x85, 0x02, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
2886 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27,
2887 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61,
2888 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54,
2889 0x65, 0x78, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x51, 0x0a,
2890 0x0e, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x18,
2891 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
2892 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,
2893 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65,
2894 0x63, 0x68, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68,
2895 0x12, 0x56, 0x0a, 0x0f, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x65,
2896 0x64, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2897 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
2898 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64,
2899 0x65, 0x6e, 0x63, 0x79, 0x45, 0x64, 0x67, 0x65, 0x52, 0x0e, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64,
2900 0x65, 0x6e, 0x63, 0x79, 0x45, 0x64, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x6d, 0x6d,
2901 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x6d, 0x6d, 0x61, 0x22, 0x5b,
2902 0x0a, 0x09, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70,
2903 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x70,
2904 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x61, 0x67, 0x6e, 0x69,
2905 0x74, 0x75, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x6d, 0x61, 0x67, 0x6e,
2906 0x69, 0x74, 0x75, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03,
2907 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x22, 0xb9, 0x11, 0x0a, 0x0c,
2908 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x12, 0x41, 0x0a, 0x03,
2909 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2910 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
2911 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66,
2912 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12,
2913 0x4a, 0x0a, 0x06, 0x61, 0x73, 0x70, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
2914 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c,
2915 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
2916 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x41, 0x73, 0x70,
2917 0x65, 0x63, 0x74, 0x52, 0x06, 0x61, 0x73, 0x70, 0x65, 0x63, 0x74, 0x12, 0x44, 0x0a, 0x04, 0x63,
2918 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2919 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
2920 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66,
2921 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x43, 0x61, 0x73, 0x65, 0x52, 0x04, 0x63, 0x61, 0x73,
2922 0x65, 0x12, 0x44, 0x0a, 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32,
2923 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c,
2924 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
2925 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x46, 0x6f, 0x72,
2926 0x6d, 0x52, 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x4a, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65,
2927 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2928 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e,
2929 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70,
2930 0x65, 0x65, 0x63, 0x68, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06, 0x67, 0x65, 0x6e,
2931 0x64, 0x65, 0x72, 0x12, 0x44, 0x0a, 0x04, 0x6d, 0x6f, 0x6f, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28,
2932 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2933 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
2934 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x4d,
2935 0x6f, 0x6f, 0x64, 0x52, 0x04, 0x6d, 0x6f, 0x6f, 0x64, 0x12, 0x4a, 0x0a, 0x06, 0x6e, 0x75, 0x6d,
2936 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2937 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
2938 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66,
2939 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x06, 0x6e,
2940 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x18,
2941 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
2942 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,
2943 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65,
2944 0x63, 0x68, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x65, 0x72, 0x73, 0x6f,
2945 0x6e, 0x12, 0x4a, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28,
2946 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2947 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
2948 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x50,
2949 0x72, 0x6f, 0x70, 0x65, 0x72, 0x52, 0x06, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x12, 0x59, 0x0a,
2950 0x0b, 0x72, 0x65, 0x63, 0x69, 0x70, 0x72, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01,
2951 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2952 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
2953 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e,
2954 0x52, 0x65, 0x63, 0x69, 0x70, 0x72, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x52, 0x0b, 0x72, 0x65, 0x63,
2955 0x69, 0x70, 0x72, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x12, 0x47, 0x0a, 0x05, 0x74, 0x65, 0x6e, 0x73,
2956 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2957 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e,
2958 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70,
2959 0x65, 0x65, 0x63, 0x68, 0x2e, 0x54, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x74, 0x65, 0x6e, 0x73,
2960 0x65, 0x12, 0x47, 0x0a, 0x05, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e,
2961 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2962 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
2963 0x2e, 0x50, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x56, 0x6f,
2964 0x69, 0x63, 0x65, 0x52, 0x05, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x22, 0x8d, 0x01, 0x0a, 0x03, 0x54,
2965 0x61, 0x67, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12,
2966 0x07, 0x0a, 0x03, 0x41, 0x44, 0x4a, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x44, 0x50, 0x10,
2967 0x02, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x44, 0x56, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f,
2968 0x4e, 0x4a, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x45, 0x54, 0x10, 0x05, 0x12, 0x08, 0x0a,
2969 0x04, 0x4e, 0x4f, 0x55, 0x4e, 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x4e, 0x55, 0x4d, 0x10, 0x07,
2970 0x12, 0x08, 0x0a, 0x04, 0x50, 0x52, 0x4f, 0x4e, 0x10, 0x08, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x52,
2971 0x54, 0x10, 0x09, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x55, 0x4e, 0x43, 0x54, 0x10, 0x0a, 0x12, 0x08,
2972 0x0a, 0x04, 0x56, 0x45, 0x52, 0x42, 0x10, 0x0b, 0x12, 0x05, 0x0a, 0x01, 0x58, 0x10, 0x0c, 0x12,
2973 0x09, 0x0a, 0x05, 0x41, 0x46, 0x46, 0x49, 0x58, 0x10, 0x0d, 0x22, 0x4f, 0x0a, 0x06, 0x41, 0x73,
2974 0x70, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x53, 0x50, 0x45, 0x43, 0x54, 0x5f, 0x55,
2975 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x45, 0x52, 0x46,
2976 0x45, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4d, 0x50, 0x45,
2977 0x52, 0x46, 0x45, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x52,
2978 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x49, 0x56, 0x45, 0x10, 0x03, 0x22, 0xf8, 0x01, 0x0a, 0x04,
2979 0x43, 0x61, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x41, 0x53, 0x45, 0x5f, 0x55, 0x4e, 0x4b,
2980 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x43, 0x43, 0x55, 0x53, 0x41,
2981 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x44, 0x56, 0x45, 0x52, 0x42,
2982 0x49, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x4d,
2983 0x45, 0x4e, 0x54, 0x49, 0x56, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x41, 0x54, 0x49,
2984 0x56, 0x45, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x47, 0x45, 0x4e, 0x49, 0x54, 0x49, 0x56, 0x45,
2985 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4e, 0x53, 0x54, 0x52, 0x55, 0x4d, 0x45, 0x4e, 0x54,
2986 0x41, 0x4c, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x56, 0x45,
2987 0x10, 0x07, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x4f, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x56, 0x45,
2988 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x42, 0x4c, 0x49, 0x51, 0x55, 0x45, 0x10, 0x09, 0x12,
2989 0x0d, 0x0a, 0x09, 0x50, 0x41, 0x52, 0x54, 0x49, 0x54, 0x49, 0x56, 0x45, 0x10, 0x0a, 0x12, 0x11,
2990 0x0a, 0x0d, 0x50, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10,
2991 0x0b, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x46, 0x4c, 0x45, 0x58, 0x49, 0x56, 0x45, 0x5f, 0x43,
2992 0x41, 0x53, 0x45, 0x10, 0x0c, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x45, 0x4c, 0x41, 0x54, 0x49, 0x56,
2993 0x45, 0x5f, 0x43, 0x41, 0x53, 0x45, 0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x56, 0x4f, 0x43, 0x41,
2994 0x54, 0x49, 0x56, 0x45, 0x10, 0x0e, 0x22, 0xaf, 0x01, 0x0a, 0x04, 0x46, 0x6f, 0x72, 0x6d, 0x12,
2995 0x10, 0x0a, 0x0c, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10,
2996 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x44, 0x4e, 0x4f, 0x4d, 0x49, 0x41, 0x4c, 0x10, 0x01, 0x12,
2997 0x0d, 0x0a, 0x09, 0x41, 0x55, 0x58, 0x49, 0x4c, 0x49, 0x41, 0x52, 0x59, 0x10, 0x02, 0x12, 0x12,
2998 0x0a, 0x0e, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x49, 0x5a, 0x45, 0x52,
2999 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x49, 0x4e, 0x41, 0x4c, 0x5f, 0x45, 0x4e, 0x44, 0x49,
3000 0x4e, 0x47, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x47, 0x45, 0x52, 0x55, 0x4e, 0x44, 0x10, 0x05,
3001 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x41, 0x4c, 0x49, 0x53, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08,
3002 0x49, 0x52, 0x52, 0x45, 0x41, 0x4c, 0x49, 0x53, 0x10, 0x07, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x48,
3003 0x4f, 0x52, 0x54, 0x10, 0x08, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x4f, 0x4e, 0x47, 0x10, 0x09, 0x12,
3004 0x09, 0x0a, 0x05, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x10, 0x0a, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x50,
3005 0x45, 0x43, 0x49, 0x46, 0x49, 0x43, 0x10, 0x0b, 0x22, 0x45, 0x0a, 0x06, 0x47, 0x65, 0x6e, 0x64,
3006 0x65, 0x72, 0x12, 0x12, 0x0a, 0x0e, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x4b,
3007 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x45, 0x4d, 0x49, 0x4e, 0x49,
3008 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x41, 0x53, 0x43, 0x55, 0x4c, 0x49, 0x4e,
3009 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x45, 0x55, 0x54, 0x45, 0x52, 0x10, 0x03, 0x22,
3010 0x7f, 0x0a, 0x04, 0x4d, 0x6f, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x4f, 0x4f, 0x44, 0x5f,
3011 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4e,
3012 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x5f, 0x4d, 0x4f, 0x4f, 0x44, 0x10, 0x01, 0x12,
3013 0x0e, 0x0a, 0x0a, 0x49, 0x4d, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12,
3014 0x0e, 0x0a, 0x0a, 0x49, 0x4e, 0x44, 0x49, 0x43, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x03, 0x12,
3015 0x11, 0x0a, 0x0d, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x52, 0x4f, 0x47, 0x41, 0x54, 0x49, 0x56, 0x45,
3016 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x4a, 0x55, 0x53, 0x53, 0x49, 0x56, 0x45, 0x10, 0x05, 0x12,
3017 0x0f, 0x0a, 0x0b, 0x53, 0x55, 0x42, 0x4a, 0x55, 0x4e, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x06,
3018 0x22, 0x40, 0x0a, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x55,
3019 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c,
3020 0x0a, 0x08, 0x53, 0x49, 0x4e, 0x47, 0x55, 0x4c, 0x41, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06,
3021 0x50, 0x4c, 0x55, 0x52, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x55, 0x41, 0x4c,
3022 0x10, 0x03, 0x22, 0x54, 0x0a, 0x06, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x0e,
3023 0x50, 0x45, 0x52, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00,
3024 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x52, 0x53, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53,
3025 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x48, 0x49, 0x52, 0x44,
3026 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x45, 0x46, 0x4c, 0x45, 0x58, 0x49, 0x56, 0x45, 0x5f,
3027 0x50, 0x45, 0x52, 0x53, 0x4f, 0x4e, 0x10, 0x04, 0x22, 0x38, 0x0a, 0x06, 0x50, 0x72, 0x6f, 0x70,
3028 0x65, 0x72, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x4b,
3029 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52,
3030 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x4f, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52,
3031 0x10, 0x02, 0x22, 0x4a, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x69, 0x70, 0x72, 0x6f, 0x63, 0x69, 0x74,
3032 0x79, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x43, 0x49, 0x50, 0x52, 0x4f, 0x43, 0x49, 0x54, 0x59,
3033 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45,
3034 0x43, 0x49, 0x50, 0x52, 0x4f, 0x43, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x4f,
3035 0x4e, 0x5f, 0x52, 0x45, 0x43, 0x49, 0x50, 0x52, 0x4f, 0x43, 0x41, 0x4c, 0x10, 0x02, 0x22, 0x73,
3036 0x0a, 0x05, 0x54, 0x65, 0x6e, 0x73, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x45, 0x4e, 0x53, 0x45,
3037 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f,
3038 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x5f, 0x54, 0x45, 0x4e, 0x53, 0x45, 0x10,
3039 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x55, 0x54, 0x55, 0x52, 0x45, 0x10, 0x02, 0x12, 0x08, 0x0a,
3040 0x04, 0x50, 0x41, 0x53, 0x54, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x45, 0x53, 0x45,
3041 0x4e, 0x54, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4d, 0x50, 0x45, 0x52, 0x46, 0x45, 0x43,
3042 0x54, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x4c, 0x55, 0x50, 0x45, 0x52, 0x46, 0x45, 0x43,
3043 0x54, 0x10, 0x06, 0x22, 0x42, 0x0a, 0x05, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x11, 0x0a, 0x0d,
3044 0x56, 0x4f, 0x49, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12,
3045 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43,
3046 0x41, 0x55, 0x53, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x41,
3047 0x53, 0x53, 0x49, 0x56, 0x45, 0x10, 0x03, 0x22, 0xf4, 0x07, 0x0a, 0x0e, 0x44, 0x65, 0x70, 0x65,
3048 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x45, 0x64, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x68, 0x65,
3049 0x61, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01,
3050 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49,
3051 0x6e, 0x64, 0x65, 0x78, 0x12, 0x49, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20,
3052 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
3053 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65,
3054 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x45, 0x64,
3055 0x67, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x22,
3056 0xec, 0x06, 0x0a, 0x05, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b,
3057 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x42, 0x42, 0x52, 0x45, 0x56,
3058 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x43, 0x4f, 0x4d, 0x50, 0x10, 0x02, 0x12, 0x09, 0x0a,
3059 0x05, 0x41, 0x44, 0x56, 0x43, 0x4c, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x44, 0x56, 0x4d,
3060 0x4f, 0x44, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x4d, 0x4f, 0x44, 0x10, 0x05, 0x12, 0x09,
3061 0x0a, 0x05, 0x41, 0x50, 0x50, 0x4f, 0x53, 0x10, 0x06, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x54, 0x54,
3062 0x52, 0x10, 0x07, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x55, 0x58, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07,
3063 0x41, 0x55, 0x58, 0x50, 0x41, 0x53, 0x53, 0x10, 0x09, 0x12, 0x06, 0x0a, 0x02, 0x43, 0x43, 0x10,
3064 0x0a, 0x12, 0x09, 0x0a, 0x05, 0x43, 0x43, 0x4f, 0x4d, 0x50, 0x10, 0x0b, 0x12, 0x08, 0x0a, 0x04,
3065 0x43, 0x4f, 0x4e, 0x4a, 0x10, 0x0c, 0x12, 0x09, 0x0a, 0x05, 0x43, 0x53, 0x55, 0x42, 0x4a, 0x10,
3066 0x0d, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x53, 0x55, 0x42, 0x4a, 0x50, 0x41, 0x53, 0x53, 0x10, 0x0e,
3067 0x12, 0x07, 0x0a, 0x03, 0x44, 0x45, 0x50, 0x10, 0x0f, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x45, 0x54,
3068 0x10, 0x10, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x55, 0x52, 0x53, 0x45, 0x10,
3069 0x11, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x42, 0x4a, 0x10, 0x12, 0x12, 0x08, 0x0a, 0x04, 0x45,
3070 0x58, 0x50, 0x4c, 0x10, 0x13, 0x12, 0x0c, 0x0a, 0x08, 0x47, 0x4f, 0x45, 0x53, 0x57, 0x49, 0x54,
3071 0x48, 0x10, 0x14, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4f, 0x42, 0x4a, 0x10, 0x15, 0x12, 0x08, 0x0a,
3072 0x04, 0x4d, 0x41, 0x52, 0x4b, 0x10, 0x16, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x57, 0x45, 0x10, 0x17,
3073 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x57, 0x56, 0x10, 0x18, 0x12, 0x07, 0x0a, 0x03, 0x4e, 0x45, 0x47,
3074 0x10, 0x19, 0x12, 0x06, 0x0a, 0x02, 0x4e, 0x4e, 0x10, 0x1a, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x50,
3075 0x41, 0x44, 0x56, 0x4d, 0x4f, 0x44, 0x10, 0x1b, 0x12, 0x09, 0x0a, 0x05, 0x4e, 0x53, 0x55, 0x42,
3076 0x4a, 0x10, 0x1c, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x53, 0x55, 0x42, 0x4a, 0x50, 0x41, 0x53, 0x53,
3077 0x10, 0x1d, 0x12, 0x07, 0x0a, 0x03, 0x4e, 0x55, 0x4d, 0x10, 0x1e, 0x12, 0x0a, 0x0a, 0x06, 0x4e,
3078 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x1f, 0x12, 0x05, 0x0a, 0x01, 0x50, 0x10, 0x20, 0x12, 0x0d,
3079 0x0a, 0x09, 0x50, 0x41, 0x52, 0x41, 0x54, 0x41, 0x58, 0x49, 0x53, 0x10, 0x21, 0x12, 0x0b, 0x0a,
3080 0x07, 0x50, 0x41, 0x52, 0x54, 0x4d, 0x4f, 0x44, 0x10, 0x22, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x43,
3081 0x4f, 0x4d, 0x50, 0x10, 0x23, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x42, 0x4a, 0x10, 0x24, 0x12,
3082 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x53, 0x53, 0x10, 0x25, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x4f, 0x53,
3083 0x54, 0x4e, 0x45, 0x47, 0x10, 0x26, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x45, 0x43, 0x4f, 0x4d,
3084 0x50, 0x10, 0x27, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x4a, 0x10, 0x28,
3085 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x52, 0x45, 0x44, 0x45, 0x54, 0x10, 0x29, 0x12, 0x08, 0x0a, 0x04,
3086 0x50, 0x52, 0x45, 0x46, 0x10, 0x2a, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x52, 0x45, 0x50, 0x10, 0x2b,
3087 0x12, 0x09, 0x0a, 0x05, 0x50, 0x52, 0x4f, 0x4e, 0x4c, 0x10, 0x2c, 0x12, 0x07, 0x0a, 0x03, 0x50,
3088 0x52, 0x54, 0x10, 0x2d, 0x12, 0x06, 0x0a, 0x02, 0x50, 0x53, 0x10, 0x2e, 0x12, 0x0c, 0x0a, 0x08,
3089 0x51, 0x55, 0x41, 0x4e, 0x54, 0x4d, 0x4f, 0x44, 0x10, 0x2f, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x43,
3090 0x4d, 0x4f, 0x44, 0x10, 0x30, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x43, 0x4d, 0x4f, 0x44, 0x52, 0x45,
3091 0x4c, 0x10, 0x31, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x44, 0x52, 0x4f, 0x50, 0x10, 0x32, 0x12, 0x07,
3092 0x0a, 0x03, 0x52, 0x45, 0x46, 0x10, 0x33, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x4d, 0x4e, 0x41,
3093 0x4e, 0x54, 0x10, 0x34, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x50, 0x41, 0x52, 0x41, 0x4e, 0x44,
3094 0x55, 0x4d, 0x10, 0x35, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x4f, 0x4f, 0x54, 0x10, 0x36, 0x12, 0x08,
3095 0x0a, 0x04, 0x53, 0x4e, 0x55, 0x4d, 0x10, 0x37, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x55, 0x46, 0x46,
3096 0x10, 0x38, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x4d, 0x4f, 0x44, 0x10, 0x39, 0x12, 0x09, 0x0a, 0x05,
3097 0x54, 0x4f, 0x50, 0x49, 0x43, 0x10, 0x3a, 0x12, 0x08, 0x0a, 0x04, 0x56, 0x4d, 0x4f, 0x44, 0x10,
3098 0x3b, 0x12, 0x0c, 0x0a, 0x08, 0x56, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x3c, 0x12,
3099 0x09, 0x0a, 0x05, 0x58, 0x43, 0x4f, 0x4d, 0x50, 0x10, 0x3d, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x55,
3100 0x46, 0x46, 0x49, 0x58, 0x10, 0x3e, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x49, 0x54, 0x4c, 0x45, 0x10,
3101 0x3f, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x44, 0x56, 0x50, 0x48, 0x4d, 0x4f, 0x44, 0x10, 0x40, 0x12,
3102 0x0b, 0x0a, 0x07, 0x41, 0x55, 0x58, 0x43, 0x41, 0x55, 0x53, 0x10, 0x41, 0x12, 0x09, 0x0a, 0x05,
3103 0x41, 0x55, 0x58, 0x56, 0x56, 0x10, 0x42, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x54, 0x4d, 0x4f, 0x44,
3104 0x10, 0x43, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4f, 0x52, 0x45, 0x49, 0x47, 0x4e, 0x10, 0x44, 0x12,
3105 0x06, 0x0a, 0x02, 0x4b, 0x57, 0x10, 0x45, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10,
3106 0x46, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4d, 0x43, 0x10, 0x47, 0x12, 0x0c, 0x0a, 0x08, 0x4e,
3107 0x4f, 0x4d, 0x43, 0x53, 0x55, 0x42, 0x4a, 0x10, 0x48, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x4f, 0x4d,
3108 0x43, 0x53, 0x55, 0x42, 0x4a, 0x50, 0x41, 0x53, 0x53, 0x10, 0x49, 0x12, 0x08, 0x0a, 0x04, 0x4e,
3109 0x55, 0x4d, 0x43, 0x10, 0x4a, 0x12, 0x07, 0x0a, 0x03, 0x43, 0x4f, 0x50, 0x10, 0x4b, 0x12, 0x0e,
3110 0x0a, 0x0a, 0x44, 0x49, 0x53, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, 0x4c, 0x22, 0xc5,
3111 0x01, 0x0a, 0x0d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e,
3112 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27,
3113 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61,
3114 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54,
3115 0x65, 0x78, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x45, 0x0a,
3116 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f,
3117 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75,
3118 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69,
3119 0x74, 0x79, 0x4d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04,
3120 0x74, 0x79, 0x70, 0x65, 0x22, 0x30, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c,
3121 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a,
3122 0x0a, 0x06, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f,
3123 0x4d, 0x4d, 0x4f, 0x4e, 0x10, 0x02, 0x22, 0x47, 0x0a, 0x08, 0x54, 0x65, 0x78, 0x74, 0x53, 0x70,
3124 0x61, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
3125 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c,
3126 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01,
3127 0x28, 0x05, 0x52, 0x0b, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22,
3128 0xb0, 0x01, 0x0a, 0x17, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x53, 0x65, 0x6e, 0x74, 0x69,
3129 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x08, 0x64,
3130 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e,
3131 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e,
3132 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f,
3133 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
3134 0x12, 0x50, 0x0a, 0x0d, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70,
3135 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3136 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e,
3137 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67,
3138 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79,
3139 0x70, 0x65, 0x22, 0xd6, 0x01, 0x0a, 0x18, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x53, 0x65,
3140 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
3141 0x57, 0x0a, 0x12, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74,
3142 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f,
3143 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75,
3144 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x74,
3145 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x11, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53,
3146 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67,
3147 0x75, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67,
3148 0x75, 0x61, 0x67, 0x65, 0x12, 0x45, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65,
3149 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3150 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e,
3151 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65,
3152 0x52, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x22, 0xaf, 0x01, 0x0a, 0x16,
3153 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52,
3154 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65,
3155 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3156 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
3157 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
3158 0x74, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x50, 0x0a, 0x0d, 0x65,
3159 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
3160 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
3161 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
3162 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52,
3163 0x0c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0x78, 0x0a,
3164 0x17, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73,
3165 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x69,
3166 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f,
3167 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
3168 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74,
3169 0x79, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6c,
3170 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c,
3171 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x22, 0xad, 0x01, 0x0a, 0x14, 0x41, 0x6e, 0x61, 0x6c,
3172 0x79, 0x7a, 0x65, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
3173 0x12, 0x43, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
3174 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
3175 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
3176 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x64, 0x6f, 0x63,
3177 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x50, 0x0a, 0x0d, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e,
3178 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67,
3179 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67,
3180 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x63,
3181 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x65, 0x6e, 0x63, 0x6f, 0x64,
3182 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0xb8, 0x01, 0x0a, 0x15, 0x41, 0x6e, 0x61, 0x6c,
3183 0x79, 0x7a, 0x65, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
3184 0x65, 0x12, 0x45, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01,
3185 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
3186 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62,
3187 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x73,
3188 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65,
3189 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3190 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
3191 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x06,
3192 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
3193 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
3194 0x67, 0x65, 0x22, 0xa2, 0x03, 0x0a, 0x13, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x54,
3195 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x08, 0x64, 0x6f,
3196 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67,
3197 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67,
3198 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63,
3199 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12,
3200 0x57, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
3201 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
3202 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
3203 0x31, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65,
3204 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x08,
3205 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x50, 0x0a, 0x0d, 0x65, 0x6e, 0x63, 0x6f,
3206 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
3207 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c,
3208 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
3209 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x65, 0x6e,
3210 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x9a, 0x01, 0x0a, 0x08, 0x46,
3211 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x74, 0x72, 0x61,
3212 0x63, 0x74, 0x5f, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
3213 0x0d, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x12, 0x29,
3214 0x0a, 0x10, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69,
3215 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63,
3216 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x1a, 0x65, 0x78, 0x74,
3217 0x72, 0x61, 0x63, 0x74, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65,
3218 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x65,
3219 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65,
3220 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xd3, 0x02, 0x0a, 0x14, 0x41, 0x6e, 0x6e, 0x6f,
3221 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
3222 0x12, 0x45, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20,
3223 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
3224 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65,
3225 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x73, 0x65,
3226 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
3227 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3228 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e,
3229 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x06, 0x74,
3230 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65,
3231 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3232 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e,
3233 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x08,
3234 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x57, 0x0a, 0x12, 0x64, 0x6f, 0x63, 0x75,
3235 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04,
3236 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
3237 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62,
3238 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x11,
3239 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e,
3240 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20,
3241 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2a, 0x38, 0x0a,
3242 0x0c, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a,
3243 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x54, 0x46, 0x38, 0x10,
3244 0x01, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x54, 0x46, 0x31, 0x36, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05,
3245 0x55, 0x54, 0x46, 0x33, 0x32, 0x10, 0x03, 0x32, 0xc9, 0x05, 0x0a, 0x0f, 0x4c, 0x61, 0x6e, 0x67,
3246 0x75, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb3, 0x01, 0x0a, 0x10,
3247 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74,
3248 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
3249 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
3250 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e,
3251 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3252 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
3253 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65,
3254 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
3255 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x22, 0x23, 0x2f, 0x76, 0x31, 0x62, 0x65,
3256 0x74, 0x61, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x61, 0x6e,
3257 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x3a, 0x01,
3258 0x2a, 0x12, 0xaf, 0x01, 0x0a, 0x0f, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x45, 0x6e, 0x74,
3259 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
3260 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,
3261 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x45, 0x6e, 0x74,
3262 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67,
3263 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67,
3264 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x6e, 0x61,
3265 0x6c, 0x79, 0x7a, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
3266 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x22, 0x22, 0x2f, 0x76,
3267 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73,
3268 0x3a, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73,
3269 0x3a, 0x01, 0x2a, 0x12, 0xa7, 0x01, 0x0a, 0x0d, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x53,
3270 0x79, 0x6e, 0x74, 0x61, 0x78, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
3271 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,
3272 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x53, 0x79, 0x6e,
3273 0x74, 0x61, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f,
3274 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
3275 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79,
3276 0x7a, 0x65, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
3277 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x22, 0x20, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74,
3278 0x61, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x61, 0x6e, 0x61,
3279 0x6c, 0x79, 0x7a, 0x65, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x3a, 0x01, 0x2a, 0x12, 0xa3, 0x01,
3280 0x0a, 0x0c, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74, 0x12, 0x32,
3281 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61,
3282 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41,
3283 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
3284 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
3285 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
3286 0x61, 0x31, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74, 0x52,
3287 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x22,
3288 0x1f, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65,
3289 0x6e, 0x74, 0x73, 0x3a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74,
3290 0x3a, 0x01, 0x2a, 0x42, 0x82, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3291 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
3292 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x14, 0x4c, 0x61, 0x6e, 0x67, 0x75,
3293 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
3294 0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
3295 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
3296 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6c,
3297 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b,
3298 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
3299 }
3300
3301 var (
3302 file_google_cloud_language_v1beta1_language_service_proto_rawDescOnce sync.Once
3303 file_google_cloud_language_v1beta1_language_service_proto_rawDescData = file_google_cloud_language_v1beta1_language_service_proto_rawDesc
3304 )
3305
3306 func file_google_cloud_language_v1beta1_language_service_proto_rawDescGZIP() []byte {
3307 file_google_cloud_language_v1beta1_language_service_proto_rawDescOnce.Do(func() {
3308 file_google_cloud_language_v1beta1_language_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_language_v1beta1_language_service_proto_rawDescData)
3309 })
3310 return file_google_cloud_language_v1beta1_language_service_proto_rawDescData
3311 }
3312
3313 var file_google_cloud_language_v1beta1_language_service_proto_enumTypes = make([]protoimpl.EnumInfo, 17)
3314 var file_google_cloud_language_v1beta1_language_service_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
3315 var file_google_cloud_language_v1beta1_language_service_proto_goTypes = []interface{}{
3316 (EncodingType)(0), // 0: google.cloud.language.v1beta1.EncodingType
3317 (Document_Type)(0), // 1: google.cloud.language.v1beta1.Document.Type
3318 (Entity_Type)(0), // 2: google.cloud.language.v1beta1.Entity.Type
3319 (PartOfSpeech_Tag)(0), // 3: google.cloud.language.v1beta1.PartOfSpeech.Tag
3320 (PartOfSpeech_Aspect)(0), // 4: google.cloud.language.v1beta1.PartOfSpeech.Aspect
3321 (PartOfSpeech_Case)(0), // 5: google.cloud.language.v1beta1.PartOfSpeech.Case
3322 (PartOfSpeech_Form)(0), // 6: google.cloud.language.v1beta1.PartOfSpeech.Form
3323 (PartOfSpeech_Gender)(0), // 7: google.cloud.language.v1beta1.PartOfSpeech.Gender
3324 (PartOfSpeech_Mood)(0), // 8: google.cloud.language.v1beta1.PartOfSpeech.Mood
3325 (PartOfSpeech_Number)(0), // 9: google.cloud.language.v1beta1.PartOfSpeech.Number
3326 (PartOfSpeech_Person)(0), // 10: google.cloud.language.v1beta1.PartOfSpeech.Person
3327 (PartOfSpeech_Proper)(0), // 11: google.cloud.language.v1beta1.PartOfSpeech.Proper
3328 (PartOfSpeech_Reciprocity)(0), // 12: google.cloud.language.v1beta1.PartOfSpeech.Reciprocity
3329 (PartOfSpeech_Tense)(0), // 13: google.cloud.language.v1beta1.PartOfSpeech.Tense
3330 (PartOfSpeech_Voice)(0), // 14: google.cloud.language.v1beta1.PartOfSpeech.Voice
3331 (DependencyEdge_Label)(0), // 15: google.cloud.language.v1beta1.DependencyEdge.Label
3332 (EntityMention_Type)(0), // 16: google.cloud.language.v1beta1.EntityMention.Type
3333 (*Document)(nil), // 17: google.cloud.language.v1beta1.Document
3334 (*Sentence)(nil), // 18: google.cloud.language.v1beta1.Sentence
3335 (*Entity)(nil), // 19: google.cloud.language.v1beta1.Entity
3336 (*Token)(nil), // 20: google.cloud.language.v1beta1.Token
3337 (*Sentiment)(nil), // 21: google.cloud.language.v1beta1.Sentiment
3338 (*PartOfSpeech)(nil), // 22: google.cloud.language.v1beta1.PartOfSpeech
3339 (*DependencyEdge)(nil), // 23: google.cloud.language.v1beta1.DependencyEdge
3340 (*EntityMention)(nil), // 24: google.cloud.language.v1beta1.EntityMention
3341 (*TextSpan)(nil), // 25: google.cloud.language.v1beta1.TextSpan
3342 (*AnalyzeSentimentRequest)(nil), // 26: google.cloud.language.v1beta1.AnalyzeSentimentRequest
3343 (*AnalyzeSentimentResponse)(nil), // 27: google.cloud.language.v1beta1.AnalyzeSentimentResponse
3344 (*AnalyzeEntitiesRequest)(nil), // 28: google.cloud.language.v1beta1.AnalyzeEntitiesRequest
3345 (*AnalyzeEntitiesResponse)(nil), // 29: google.cloud.language.v1beta1.AnalyzeEntitiesResponse
3346 (*AnalyzeSyntaxRequest)(nil), // 30: google.cloud.language.v1beta1.AnalyzeSyntaxRequest
3347 (*AnalyzeSyntaxResponse)(nil), // 31: google.cloud.language.v1beta1.AnalyzeSyntaxResponse
3348 (*AnnotateTextRequest)(nil), // 32: google.cloud.language.v1beta1.AnnotateTextRequest
3349 (*AnnotateTextResponse)(nil), // 33: google.cloud.language.v1beta1.AnnotateTextResponse
3350 nil, // 34: google.cloud.language.v1beta1.Entity.MetadataEntry
3351 (*AnnotateTextRequest_Features)(nil), // 35: google.cloud.language.v1beta1.AnnotateTextRequest.Features
3352 }
3353 var file_google_cloud_language_v1beta1_language_service_proto_depIdxs = []int32{
3354 1, // 0: google.cloud.language.v1beta1.Document.type:type_name -> google.cloud.language.v1beta1.Document.Type
3355 25, // 1: google.cloud.language.v1beta1.Sentence.text:type_name -> google.cloud.language.v1beta1.TextSpan
3356 21, // 2: google.cloud.language.v1beta1.Sentence.sentiment:type_name -> google.cloud.language.v1beta1.Sentiment
3357 2, // 3: google.cloud.language.v1beta1.Entity.type:type_name -> google.cloud.language.v1beta1.Entity.Type
3358 34, // 4: google.cloud.language.v1beta1.Entity.metadata:type_name -> google.cloud.language.v1beta1.Entity.MetadataEntry
3359 24, // 5: google.cloud.language.v1beta1.Entity.mentions:type_name -> google.cloud.language.v1beta1.EntityMention
3360 25, // 6: google.cloud.language.v1beta1.Token.text:type_name -> google.cloud.language.v1beta1.TextSpan
3361 22, // 7: google.cloud.language.v1beta1.Token.part_of_speech:type_name -> google.cloud.language.v1beta1.PartOfSpeech
3362 23, // 8: google.cloud.language.v1beta1.Token.dependency_edge:type_name -> google.cloud.language.v1beta1.DependencyEdge
3363 3, // 9: google.cloud.language.v1beta1.PartOfSpeech.tag:type_name -> google.cloud.language.v1beta1.PartOfSpeech.Tag
3364 4, // 10: google.cloud.language.v1beta1.PartOfSpeech.aspect:type_name -> google.cloud.language.v1beta1.PartOfSpeech.Aspect
3365 5, // 11: google.cloud.language.v1beta1.PartOfSpeech.case:type_name -> google.cloud.language.v1beta1.PartOfSpeech.Case
3366 6, // 12: google.cloud.language.v1beta1.PartOfSpeech.form:type_name -> google.cloud.language.v1beta1.PartOfSpeech.Form
3367 7, // 13: google.cloud.language.v1beta1.PartOfSpeech.gender:type_name -> google.cloud.language.v1beta1.PartOfSpeech.Gender
3368 8, // 14: google.cloud.language.v1beta1.PartOfSpeech.mood:type_name -> google.cloud.language.v1beta1.PartOfSpeech.Mood
3369 9, // 15: google.cloud.language.v1beta1.PartOfSpeech.number:type_name -> google.cloud.language.v1beta1.PartOfSpeech.Number
3370 10, // 16: google.cloud.language.v1beta1.PartOfSpeech.person:type_name -> google.cloud.language.v1beta1.PartOfSpeech.Person
3371 11, // 17: google.cloud.language.v1beta1.PartOfSpeech.proper:type_name -> google.cloud.language.v1beta1.PartOfSpeech.Proper
3372 12, // 18: google.cloud.language.v1beta1.PartOfSpeech.reciprocity:type_name -> google.cloud.language.v1beta1.PartOfSpeech.Reciprocity
3373 13, // 19: google.cloud.language.v1beta1.PartOfSpeech.tense:type_name -> google.cloud.language.v1beta1.PartOfSpeech.Tense
3374 14, // 20: google.cloud.language.v1beta1.PartOfSpeech.voice:type_name -> google.cloud.language.v1beta1.PartOfSpeech.Voice
3375 15, // 21: google.cloud.language.v1beta1.DependencyEdge.label:type_name -> google.cloud.language.v1beta1.DependencyEdge.Label
3376 25, // 22: google.cloud.language.v1beta1.EntityMention.text:type_name -> google.cloud.language.v1beta1.TextSpan
3377 16, // 23: google.cloud.language.v1beta1.EntityMention.type:type_name -> google.cloud.language.v1beta1.EntityMention.Type
3378 17, // 24: google.cloud.language.v1beta1.AnalyzeSentimentRequest.document:type_name -> google.cloud.language.v1beta1.Document
3379 0, // 25: google.cloud.language.v1beta1.AnalyzeSentimentRequest.encoding_type:type_name -> google.cloud.language.v1beta1.EncodingType
3380 21, // 26: google.cloud.language.v1beta1.AnalyzeSentimentResponse.document_sentiment:type_name -> google.cloud.language.v1beta1.Sentiment
3381 18, // 27: google.cloud.language.v1beta1.AnalyzeSentimentResponse.sentences:type_name -> google.cloud.language.v1beta1.Sentence
3382 17, // 28: google.cloud.language.v1beta1.AnalyzeEntitiesRequest.document:type_name -> google.cloud.language.v1beta1.Document
3383 0, // 29: google.cloud.language.v1beta1.AnalyzeEntitiesRequest.encoding_type:type_name -> google.cloud.language.v1beta1.EncodingType
3384 19, // 30: google.cloud.language.v1beta1.AnalyzeEntitiesResponse.entities:type_name -> google.cloud.language.v1beta1.Entity
3385 17, // 31: google.cloud.language.v1beta1.AnalyzeSyntaxRequest.document:type_name -> google.cloud.language.v1beta1.Document
3386 0, // 32: google.cloud.language.v1beta1.AnalyzeSyntaxRequest.encoding_type:type_name -> google.cloud.language.v1beta1.EncodingType
3387 18, // 33: google.cloud.language.v1beta1.AnalyzeSyntaxResponse.sentences:type_name -> google.cloud.language.v1beta1.Sentence
3388 20, // 34: google.cloud.language.v1beta1.AnalyzeSyntaxResponse.tokens:type_name -> google.cloud.language.v1beta1.Token
3389 17, // 35: google.cloud.language.v1beta1.AnnotateTextRequest.document:type_name -> google.cloud.language.v1beta1.Document
3390 35, // 36: google.cloud.language.v1beta1.AnnotateTextRequest.features:type_name -> google.cloud.language.v1beta1.AnnotateTextRequest.Features
3391 0, // 37: google.cloud.language.v1beta1.AnnotateTextRequest.encoding_type:type_name -> google.cloud.language.v1beta1.EncodingType
3392 18, // 38: google.cloud.language.v1beta1.AnnotateTextResponse.sentences:type_name -> google.cloud.language.v1beta1.Sentence
3393 20, // 39: google.cloud.language.v1beta1.AnnotateTextResponse.tokens:type_name -> google.cloud.language.v1beta1.Token
3394 19, // 40: google.cloud.language.v1beta1.AnnotateTextResponse.entities:type_name -> google.cloud.language.v1beta1.Entity
3395 21, // 41: google.cloud.language.v1beta1.AnnotateTextResponse.document_sentiment:type_name -> google.cloud.language.v1beta1.Sentiment
3396 26, // 42: google.cloud.language.v1beta1.LanguageService.AnalyzeSentiment:input_type -> google.cloud.language.v1beta1.AnalyzeSentimentRequest
3397 28, // 43: google.cloud.language.v1beta1.LanguageService.AnalyzeEntities:input_type -> google.cloud.language.v1beta1.AnalyzeEntitiesRequest
3398 30, // 44: google.cloud.language.v1beta1.LanguageService.AnalyzeSyntax:input_type -> google.cloud.language.v1beta1.AnalyzeSyntaxRequest
3399 32, // 45: google.cloud.language.v1beta1.LanguageService.AnnotateText:input_type -> google.cloud.language.v1beta1.AnnotateTextRequest
3400 27, // 46: google.cloud.language.v1beta1.LanguageService.AnalyzeSentiment:output_type -> google.cloud.language.v1beta1.AnalyzeSentimentResponse
3401 29, // 47: google.cloud.language.v1beta1.LanguageService.AnalyzeEntities:output_type -> google.cloud.language.v1beta1.AnalyzeEntitiesResponse
3402 31, // 48: google.cloud.language.v1beta1.LanguageService.AnalyzeSyntax:output_type -> google.cloud.language.v1beta1.AnalyzeSyntaxResponse
3403 33, // 49: google.cloud.language.v1beta1.LanguageService.AnnotateText:output_type -> google.cloud.language.v1beta1.AnnotateTextResponse
3404 46, // [46:50] is the sub-list for method output_type
3405 42, // [42:46] is the sub-list for method input_type
3406 42, // [42:42] is the sub-list for extension type_name
3407 42, // [42:42] is the sub-list for extension extendee
3408 0, // [0:42] is the sub-list for field type_name
3409 }
3410
3411 func init() { file_google_cloud_language_v1beta1_language_service_proto_init() }
3412 func file_google_cloud_language_v1beta1_language_service_proto_init() {
3413 if File_google_cloud_language_v1beta1_language_service_proto != nil {
3414 return
3415 }
3416 if !protoimpl.UnsafeEnabled {
3417 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
3418 switch v := v.(*Document); i {
3419 case 0:
3420 return &v.state
3421 case 1:
3422 return &v.sizeCache
3423 case 2:
3424 return &v.unknownFields
3425 default:
3426 return nil
3427 }
3428 }
3429 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
3430 switch v := v.(*Sentence); i {
3431 case 0:
3432 return &v.state
3433 case 1:
3434 return &v.sizeCache
3435 case 2:
3436 return &v.unknownFields
3437 default:
3438 return nil
3439 }
3440 }
3441 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
3442 switch v := v.(*Entity); i {
3443 case 0:
3444 return &v.state
3445 case 1:
3446 return &v.sizeCache
3447 case 2:
3448 return &v.unknownFields
3449 default:
3450 return nil
3451 }
3452 }
3453 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
3454 switch v := v.(*Token); i {
3455 case 0:
3456 return &v.state
3457 case 1:
3458 return &v.sizeCache
3459 case 2:
3460 return &v.unknownFields
3461 default:
3462 return nil
3463 }
3464 }
3465 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
3466 switch v := v.(*Sentiment); i {
3467 case 0:
3468 return &v.state
3469 case 1:
3470 return &v.sizeCache
3471 case 2:
3472 return &v.unknownFields
3473 default:
3474 return nil
3475 }
3476 }
3477 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
3478 switch v := v.(*PartOfSpeech); i {
3479 case 0:
3480 return &v.state
3481 case 1:
3482 return &v.sizeCache
3483 case 2:
3484 return &v.unknownFields
3485 default:
3486 return nil
3487 }
3488 }
3489 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
3490 switch v := v.(*DependencyEdge); i {
3491 case 0:
3492 return &v.state
3493 case 1:
3494 return &v.sizeCache
3495 case 2:
3496 return &v.unknownFields
3497 default:
3498 return nil
3499 }
3500 }
3501 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
3502 switch v := v.(*EntityMention); i {
3503 case 0:
3504 return &v.state
3505 case 1:
3506 return &v.sizeCache
3507 case 2:
3508 return &v.unknownFields
3509 default:
3510 return nil
3511 }
3512 }
3513 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
3514 switch v := v.(*TextSpan); i {
3515 case 0:
3516 return &v.state
3517 case 1:
3518 return &v.sizeCache
3519 case 2:
3520 return &v.unknownFields
3521 default:
3522 return nil
3523 }
3524 }
3525 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
3526 switch v := v.(*AnalyzeSentimentRequest); i {
3527 case 0:
3528 return &v.state
3529 case 1:
3530 return &v.sizeCache
3531 case 2:
3532 return &v.unknownFields
3533 default:
3534 return nil
3535 }
3536 }
3537 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
3538 switch v := v.(*AnalyzeSentimentResponse); i {
3539 case 0:
3540 return &v.state
3541 case 1:
3542 return &v.sizeCache
3543 case 2:
3544 return &v.unknownFields
3545 default:
3546 return nil
3547 }
3548 }
3549 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
3550 switch v := v.(*AnalyzeEntitiesRequest); i {
3551 case 0:
3552 return &v.state
3553 case 1:
3554 return &v.sizeCache
3555 case 2:
3556 return &v.unknownFields
3557 default:
3558 return nil
3559 }
3560 }
3561 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
3562 switch v := v.(*AnalyzeEntitiesResponse); i {
3563 case 0:
3564 return &v.state
3565 case 1:
3566 return &v.sizeCache
3567 case 2:
3568 return &v.unknownFields
3569 default:
3570 return nil
3571 }
3572 }
3573 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
3574 switch v := v.(*AnalyzeSyntaxRequest); i {
3575 case 0:
3576 return &v.state
3577 case 1:
3578 return &v.sizeCache
3579 case 2:
3580 return &v.unknownFields
3581 default:
3582 return nil
3583 }
3584 }
3585 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
3586 switch v := v.(*AnalyzeSyntaxResponse); i {
3587 case 0:
3588 return &v.state
3589 case 1:
3590 return &v.sizeCache
3591 case 2:
3592 return &v.unknownFields
3593 default:
3594 return nil
3595 }
3596 }
3597 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
3598 switch v := v.(*AnnotateTextRequest); i {
3599 case 0:
3600 return &v.state
3601 case 1:
3602 return &v.sizeCache
3603 case 2:
3604 return &v.unknownFields
3605 default:
3606 return nil
3607 }
3608 }
3609 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
3610 switch v := v.(*AnnotateTextResponse); i {
3611 case 0:
3612 return &v.state
3613 case 1:
3614 return &v.sizeCache
3615 case 2:
3616 return &v.unknownFields
3617 default:
3618 return nil
3619 }
3620 }
3621 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
3622 switch v := v.(*AnnotateTextRequest_Features); i {
3623 case 0:
3624 return &v.state
3625 case 1:
3626 return &v.sizeCache
3627 case 2:
3628 return &v.unknownFields
3629 default:
3630 return nil
3631 }
3632 }
3633 }
3634 file_google_cloud_language_v1beta1_language_service_proto_msgTypes[0].OneofWrappers = []interface{}{
3635 (*Document_Content)(nil),
3636 (*Document_GcsContentUri)(nil),
3637 }
3638 type x struct{}
3639 out := protoimpl.TypeBuilder{
3640 File: protoimpl.DescBuilder{
3641 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
3642 RawDescriptor: file_google_cloud_language_v1beta1_language_service_proto_rawDesc,
3643 NumEnums: 17,
3644 NumMessages: 19,
3645 NumExtensions: 0,
3646 NumServices: 1,
3647 },
3648 GoTypes: file_google_cloud_language_v1beta1_language_service_proto_goTypes,
3649 DependencyIndexes: file_google_cloud_language_v1beta1_language_service_proto_depIdxs,
3650 EnumInfos: file_google_cloud_language_v1beta1_language_service_proto_enumTypes,
3651 MessageInfos: file_google_cloud_language_v1beta1_language_service_proto_msgTypes,
3652 }.Build()
3653 File_google_cloud_language_v1beta1_language_service_proto = out.File
3654 file_google_cloud_language_v1beta1_language_service_proto_rawDesc = nil
3655 file_google_cloud_language_v1beta1_language_service_proto_goTypes = nil
3656 file_google_cloud_language_v1beta1_language_service_proto_depIdxs = nil
3657 }
3658
3659 // Reference imports to suppress errors if they are not otherwise used.
3660 var _ context.Context
3661 var _ grpc.ClientConnInterface
3662
3663 // This is a compile-time assertion to ensure that this generated file
3664 // is compatible with the grpc package it is being compiled against.
3665 const _ = grpc.SupportPackageIsVersion6
3666
3667 // LanguageServiceClient is the client API for LanguageService service.
3668 //
3669 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
3670 type LanguageServiceClient interface {
3671 // Analyzes the sentiment of the provided text.
3672 AnalyzeSentiment(ctx context.Context, in *AnalyzeSentimentRequest, opts ...grpc.CallOption) (*AnalyzeSentimentResponse, error)
3673 // Finds named entities (currently proper names and common nouns) in the text
3674 // along with entity types, salience, mentions for each entity, and
3675 // other properties.
3676 AnalyzeEntities(ctx context.Context, in *AnalyzeEntitiesRequest, opts ...grpc.CallOption) (*AnalyzeEntitiesResponse, error)
3677 // Analyzes the syntax of the text and provides sentence boundaries and
3678 // tokenization along with part of speech tags, dependency trees, and other
3679 // properties.
3680 AnalyzeSyntax(ctx context.Context, in *AnalyzeSyntaxRequest, opts ...grpc.CallOption) (*AnalyzeSyntaxResponse, error)
3681 // A convenience method that provides all the features that analyzeSentiment,
3682 // analyzeEntities, and analyzeSyntax provide in one call.
3683 AnnotateText(ctx context.Context, in *AnnotateTextRequest, opts ...grpc.CallOption) (*AnnotateTextResponse, error)
3684 }
3685
3686 type languageServiceClient struct {
3687 cc grpc.ClientConnInterface
3688 }
3689
3690 func NewLanguageServiceClient(cc grpc.ClientConnInterface) LanguageServiceClient {
3691 return &languageServiceClient{cc}
3692 }
3693
3694 func (c *languageServiceClient) AnalyzeSentiment(ctx context.Context, in *AnalyzeSentimentRequest, opts ...grpc.CallOption) (*AnalyzeSentimentResponse, error) {
3695 out := new(AnalyzeSentimentResponse)
3696 err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta1.LanguageService/AnalyzeSentiment", in, out, opts...)
3697 if err != nil {
3698 return nil, err
3699 }
3700 return out, nil
3701 }
3702
3703 func (c *languageServiceClient) AnalyzeEntities(ctx context.Context, in *AnalyzeEntitiesRequest, opts ...grpc.CallOption) (*AnalyzeEntitiesResponse, error) {
3704 out := new(AnalyzeEntitiesResponse)
3705 err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta1.LanguageService/AnalyzeEntities", in, out, opts...)
3706 if err != nil {
3707 return nil, err
3708 }
3709 return out, nil
3710 }
3711
3712 func (c *languageServiceClient) AnalyzeSyntax(ctx context.Context, in *AnalyzeSyntaxRequest, opts ...grpc.CallOption) (*AnalyzeSyntaxResponse, error) {
3713 out := new(AnalyzeSyntaxResponse)
3714 err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta1.LanguageService/AnalyzeSyntax", in, out, opts...)
3715 if err != nil {
3716 return nil, err
3717 }
3718 return out, nil
3719 }
3720
3721 func (c *languageServiceClient) AnnotateText(ctx context.Context, in *AnnotateTextRequest, opts ...grpc.CallOption) (*AnnotateTextResponse, error) {
3722 out := new(AnnotateTextResponse)
3723 err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta1.LanguageService/AnnotateText", in, out, opts...)
3724 if err != nil {
3725 return nil, err
3726 }
3727 return out, nil
3728 }
3729
3730 // LanguageServiceServer is the server API for LanguageService service.
3731 type LanguageServiceServer interface {
3732 // Analyzes the sentiment of the provided text.
3733 AnalyzeSentiment(context.Context, *AnalyzeSentimentRequest) (*AnalyzeSentimentResponse, error)
3734 // Finds named entities (currently proper names and common nouns) in the text
3735 // along with entity types, salience, mentions for each entity, and
3736 // other properties.
3737 AnalyzeEntities(context.Context, *AnalyzeEntitiesRequest) (*AnalyzeEntitiesResponse, error)
3738 // Analyzes the syntax of the text and provides sentence boundaries and
3739 // tokenization along with part of speech tags, dependency trees, and other
3740 // properties.
3741 AnalyzeSyntax(context.Context, *AnalyzeSyntaxRequest) (*AnalyzeSyntaxResponse, error)
3742 // A convenience method that provides all the features that analyzeSentiment,
3743 // analyzeEntities, and analyzeSyntax provide in one call.
3744 AnnotateText(context.Context, *AnnotateTextRequest) (*AnnotateTextResponse, error)
3745 }
3746
3747 // UnimplementedLanguageServiceServer can be embedded to have forward compatible implementations.
3748 type UnimplementedLanguageServiceServer struct {
3749 }
3750
3751 func (*UnimplementedLanguageServiceServer) AnalyzeSentiment(context.Context, *AnalyzeSentimentRequest) (*AnalyzeSentimentResponse, error) {
3752 return nil, status.Errorf(codes.Unimplemented, "method AnalyzeSentiment not implemented")
3753 }
3754 func (*UnimplementedLanguageServiceServer) AnalyzeEntities(context.Context, *AnalyzeEntitiesRequest) (*AnalyzeEntitiesResponse, error) {
3755 return nil, status.Errorf(codes.Unimplemented, "method AnalyzeEntities not implemented")
3756 }
3757 func (*UnimplementedLanguageServiceServer) AnalyzeSyntax(context.Context, *AnalyzeSyntaxRequest) (*AnalyzeSyntaxResponse, error) {
3758 return nil, status.Errorf(codes.Unimplemented, "method AnalyzeSyntax not implemented")
3759 }
3760 func (*UnimplementedLanguageServiceServer) AnnotateText(context.Context, *AnnotateTextRequest) (*AnnotateTextResponse, error) {
3761 return nil, status.Errorf(codes.Unimplemented, "method AnnotateText not implemented")
3762 }
3763
3764 func RegisterLanguageServiceServer(s *grpc.Server, srv LanguageServiceServer) {
3765 s.RegisterService(&_LanguageService_serviceDesc, srv)
3766 }
3767
3768 func _LanguageService_AnalyzeSentiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3769 in := new(AnalyzeSentimentRequest)
3770 if err := dec(in); err != nil {
3771 return nil, err
3772 }
3773 if interceptor == nil {
3774 return srv.(LanguageServiceServer).AnalyzeSentiment(ctx, in)
3775 }
3776 info := &grpc.UnaryServerInfo{
3777 Server: srv,
3778 FullMethod: "/google.cloud.language.v1beta1.LanguageService/AnalyzeSentiment",
3779 }
3780 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3781 return srv.(LanguageServiceServer).AnalyzeSentiment(ctx, req.(*AnalyzeSentimentRequest))
3782 }
3783 return interceptor(ctx, in, info, handler)
3784 }
3785
3786 func _LanguageService_AnalyzeEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3787 in := new(AnalyzeEntitiesRequest)
3788 if err := dec(in); err != nil {
3789 return nil, err
3790 }
3791 if interceptor == nil {
3792 return srv.(LanguageServiceServer).AnalyzeEntities(ctx, in)
3793 }
3794 info := &grpc.UnaryServerInfo{
3795 Server: srv,
3796 FullMethod: "/google.cloud.language.v1beta1.LanguageService/AnalyzeEntities",
3797 }
3798 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3799 return srv.(LanguageServiceServer).AnalyzeEntities(ctx, req.(*AnalyzeEntitiesRequest))
3800 }
3801 return interceptor(ctx, in, info, handler)
3802 }
3803
3804 func _LanguageService_AnalyzeSyntax_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3805 in := new(AnalyzeSyntaxRequest)
3806 if err := dec(in); err != nil {
3807 return nil, err
3808 }
3809 if interceptor == nil {
3810 return srv.(LanguageServiceServer).AnalyzeSyntax(ctx, in)
3811 }
3812 info := &grpc.UnaryServerInfo{
3813 Server: srv,
3814 FullMethod: "/google.cloud.language.v1beta1.LanguageService/AnalyzeSyntax",
3815 }
3816 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3817 return srv.(LanguageServiceServer).AnalyzeSyntax(ctx, req.(*AnalyzeSyntaxRequest))
3818 }
3819 return interceptor(ctx, in, info, handler)
3820 }
3821
3822 func _LanguageService_AnnotateText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3823 in := new(AnnotateTextRequest)
3824 if err := dec(in); err != nil {
3825 return nil, err
3826 }
3827 if interceptor == nil {
3828 return srv.(LanguageServiceServer).AnnotateText(ctx, in)
3829 }
3830 info := &grpc.UnaryServerInfo{
3831 Server: srv,
3832 FullMethod: "/google.cloud.language.v1beta1.LanguageService/AnnotateText",
3833 }
3834 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3835 return srv.(LanguageServiceServer).AnnotateText(ctx, req.(*AnnotateTextRequest))
3836 }
3837 return interceptor(ctx, in, info, handler)
3838 }
3839
3840 var _LanguageService_serviceDesc = grpc.ServiceDesc{
3841 ServiceName: "google.cloud.language.v1beta1.LanguageService",
3842 HandlerType: (*LanguageServiceServer)(nil),
3843 Methods: []grpc.MethodDesc{
3844 {
3845 MethodName: "AnalyzeSentiment",
3846 Handler: _LanguageService_AnalyzeSentiment_Handler,
3847 },
3848 {
3849 MethodName: "AnalyzeEntities",
3850 Handler: _LanguageService_AnalyzeEntities_Handler,
3851 },
3852 {
3853 MethodName: "AnalyzeSyntax",
3854 Handler: _LanguageService_AnalyzeSyntax_Handler,
3855 },
3856 {
3857 MethodName: "AnnotateText",
3858 Handler: _LanguageService_AnnotateText_Handler,
3859 },
3860 },
3861 Streams: []grpc.StreamDesc{},
3862 Metadata: "google/cloud/language/v1beta1/language_service.proto",
3863 }