OSDN Git Service

new repo
[bytom/vapor.git] / vendor / google.golang.org / genproto / googleapis / cloud / language / v1beta2 / language_service.pb.go
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/cloud/language/v1beta2/language_service.proto
3
4 /*
5 Package language is a generated protocol buffer package.
6
7 It is generated from these files:
8         google/cloud/language/v1beta2/language_service.proto
9
10 It has these top-level messages:
11         Document
12         Sentence
13         Entity
14         Token
15         Sentiment
16         PartOfSpeech
17         DependencyEdge
18         EntityMention
19         TextSpan
20         AnalyzeSentimentRequest
21         AnalyzeSentimentResponse
22         AnalyzeEntitySentimentRequest
23         AnalyzeEntitySentimentResponse
24         AnalyzeEntitiesRequest
25         AnalyzeEntitiesResponse
26         AnalyzeSyntaxRequest
27         AnalyzeSyntaxResponse
28         AnnotateTextRequest
29         AnnotateTextResponse
30 */
31 package language
32
33 import proto "github.com/golang/protobuf/proto"
34 import fmt "fmt"
35 import math "math"
36 import _ "google.golang.org/genproto/googleapis/api/annotations"
37 import _ "google.golang.org/genproto/googleapis/longrunning"
38 import _ "github.com/golang/protobuf/ptypes/timestamp"
39 import _ "google.golang.org/genproto/googleapis/rpc/status"
40
41 import (
42         context "golang.org/x/net/context"
43         grpc "google.golang.org/grpc"
44 )
45
46 // Reference imports to suppress errors if they are not otherwise used.
47 var _ = proto.Marshal
48 var _ = fmt.Errorf
49 var _ = math.Inf
50
51 // This is a compile-time assertion to ensure that this generated file
52 // is compatible with the proto package it is being compiled against.
53 // A compilation error at this line likely means your copy of the
54 // proto package needs to be updated.
55 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
56
57 // Represents the text encoding that the caller uses to process the output.
58 // Providing an `EncodingType` is recommended because the API provides the
59 // beginning offsets for various outputs, such as tokens and mentions, and
60 // languages that natively use different text encodings may access offsets
61 // differently.
62 type EncodingType int32
63
64 const (
65         // If `EncodingType` is not specified, encoding-dependent information (such as
66         // `begin_offset`) will be set at `-1`.
67         EncodingType_NONE EncodingType = 0
68         // Encoding-dependent information (such as `begin_offset`) is calculated based
69         // on the UTF-8 encoding of the input. C++ and Go are examples of languages
70         // that use this encoding natively.
71         EncodingType_UTF8 EncodingType = 1
72         // Encoding-dependent information (such as `begin_offset`) is calculated based
73         // on the UTF-16 encoding of the input. Java and Javascript are examples of
74         // languages that use this encoding natively.
75         EncodingType_UTF16 EncodingType = 2
76         // Encoding-dependent information (such as `begin_offset`) is calculated based
77         // on the UTF-32 encoding of the input. Python is an example of a language
78         // that uses this encoding natively.
79         EncodingType_UTF32 EncodingType = 3
80 )
81
82 var EncodingType_name = map[int32]string{
83         0: "NONE",
84         1: "UTF8",
85         2: "UTF16",
86         3: "UTF32",
87 }
88 var EncodingType_value = map[string]int32{
89         "NONE":  0,
90         "UTF8":  1,
91         "UTF16": 2,
92         "UTF32": 3,
93 }
94
95 func (x EncodingType) String() string {
96         return proto.EnumName(EncodingType_name, int32(x))
97 }
98 func (EncodingType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
99
100 // The document types enum.
101 type Document_Type int32
102
103 const (
104         // The content type is not specified.
105         Document_TYPE_UNSPECIFIED Document_Type = 0
106         // Plain text
107         Document_PLAIN_TEXT Document_Type = 1
108         // HTML
109         Document_HTML Document_Type = 2
110 )
111
112 var Document_Type_name = map[int32]string{
113         0: "TYPE_UNSPECIFIED",
114         1: "PLAIN_TEXT",
115         2: "HTML",
116 }
117 var Document_Type_value = map[string]int32{
118         "TYPE_UNSPECIFIED": 0,
119         "PLAIN_TEXT":       1,
120         "HTML":             2,
121 }
122
123 func (x Document_Type) String() string {
124         return proto.EnumName(Document_Type_name, int32(x))
125 }
126 func (Document_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
127
128 // The type of the entity.
129 type Entity_Type int32
130
131 const (
132         // Unknown
133         Entity_UNKNOWN Entity_Type = 0
134         // Person
135         Entity_PERSON Entity_Type = 1
136         // Location
137         Entity_LOCATION Entity_Type = 2
138         // Organization
139         Entity_ORGANIZATION Entity_Type = 3
140         // Event
141         Entity_EVENT Entity_Type = 4
142         // Work of art
143         Entity_WORK_OF_ART Entity_Type = 5
144         // Consumer goods
145         Entity_CONSUMER_GOOD Entity_Type = 6
146         // Other types
147         Entity_OTHER Entity_Type = 7
148 )
149
150 var Entity_Type_name = map[int32]string{
151         0: "UNKNOWN",
152         1: "PERSON",
153         2: "LOCATION",
154         3: "ORGANIZATION",
155         4: "EVENT",
156         5: "WORK_OF_ART",
157         6: "CONSUMER_GOOD",
158         7: "OTHER",
159 }
160 var Entity_Type_value = map[string]int32{
161         "UNKNOWN":       0,
162         "PERSON":        1,
163         "LOCATION":      2,
164         "ORGANIZATION":  3,
165         "EVENT":         4,
166         "WORK_OF_ART":   5,
167         "CONSUMER_GOOD": 6,
168         "OTHER":         7,
169 }
170
171 func (x Entity_Type) String() string {
172         return proto.EnumName(Entity_Type_name, int32(x))
173 }
174 func (Entity_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
175
176 // The part of speech tags enum.
177 type PartOfSpeech_Tag int32
178
179 const (
180         // Unknown
181         PartOfSpeech_UNKNOWN PartOfSpeech_Tag = 0
182         // Adjective
183         PartOfSpeech_ADJ PartOfSpeech_Tag = 1
184         // Adposition (preposition and postposition)
185         PartOfSpeech_ADP PartOfSpeech_Tag = 2
186         // Adverb
187         PartOfSpeech_ADV PartOfSpeech_Tag = 3
188         // Conjunction
189         PartOfSpeech_CONJ PartOfSpeech_Tag = 4
190         // Determiner
191         PartOfSpeech_DET PartOfSpeech_Tag = 5
192         // Noun (common and proper)
193         PartOfSpeech_NOUN PartOfSpeech_Tag = 6
194         // Cardinal number
195         PartOfSpeech_NUM PartOfSpeech_Tag = 7
196         // Pronoun
197         PartOfSpeech_PRON PartOfSpeech_Tag = 8
198         // Particle or other function word
199         PartOfSpeech_PRT PartOfSpeech_Tag = 9
200         // Punctuation
201         PartOfSpeech_PUNCT PartOfSpeech_Tag = 10
202         // Verb (all tenses and modes)
203         PartOfSpeech_VERB PartOfSpeech_Tag = 11
204         // Other: foreign words, typos, abbreviations
205         PartOfSpeech_X PartOfSpeech_Tag = 12
206         // Affix
207         PartOfSpeech_AFFIX PartOfSpeech_Tag = 13
208 )
209
210 var PartOfSpeech_Tag_name = map[int32]string{
211         0:  "UNKNOWN",
212         1:  "ADJ",
213         2:  "ADP",
214         3:  "ADV",
215         4:  "CONJ",
216         5:  "DET",
217         6:  "NOUN",
218         7:  "NUM",
219         8:  "PRON",
220         9:  "PRT",
221         10: "PUNCT",
222         11: "VERB",
223         12: "X",
224         13: "AFFIX",
225 }
226 var PartOfSpeech_Tag_value = map[string]int32{
227         "UNKNOWN": 0,
228         "ADJ":     1,
229         "ADP":     2,
230         "ADV":     3,
231         "CONJ":    4,
232         "DET":     5,
233         "NOUN":    6,
234         "NUM":     7,
235         "PRON":    8,
236         "PRT":     9,
237         "PUNCT":   10,
238         "VERB":    11,
239         "X":       12,
240         "AFFIX":   13,
241 }
242
243 func (x PartOfSpeech_Tag) String() string {
244         return proto.EnumName(PartOfSpeech_Tag_name, int32(x))
245 }
246 func (PartOfSpeech_Tag) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 0} }
247
248 // The characteristic of a verb that expresses time flow during an event.
249 type PartOfSpeech_Aspect int32
250
251 const (
252         // Aspect is not applicable in the analyzed language or is not predicted.
253         PartOfSpeech_ASPECT_UNKNOWN PartOfSpeech_Aspect = 0
254         // Perfective
255         PartOfSpeech_PERFECTIVE PartOfSpeech_Aspect = 1
256         // Imperfective
257         PartOfSpeech_IMPERFECTIVE PartOfSpeech_Aspect = 2
258         // Progressive
259         PartOfSpeech_PROGRESSIVE PartOfSpeech_Aspect = 3
260 )
261
262 var PartOfSpeech_Aspect_name = map[int32]string{
263         0: "ASPECT_UNKNOWN",
264         1: "PERFECTIVE",
265         2: "IMPERFECTIVE",
266         3: "PROGRESSIVE",
267 }
268 var PartOfSpeech_Aspect_value = map[string]int32{
269         "ASPECT_UNKNOWN": 0,
270         "PERFECTIVE":     1,
271         "IMPERFECTIVE":   2,
272         "PROGRESSIVE":    3,
273 }
274
275 func (x PartOfSpeech_Aspect) String() string {
276         return proto.EnumName(PartOfSpeech_Aspect_name, int32(x))
277 }
278 func (PartOfSpeech_Aspect) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 1} }
279
280 // The grammatical function performed by a noun or pronoun in a phrase,
281 // clause, or sentence. In some languages, other parts of speech, such as
282 // adjective and determiner, take case inflection in agreement with the noun.
283 type PartOfSpeech_Case int32
284
285 const (
286         // Case is not applicable in the analyzed language or is not predicted.
287         PartOfSpeech_CASE_UNKNOWN PartOfSpeech_Case = 0
288         // Accusative
289         PartOfSpeech_ACCUSATIVE PartOfSpeech_Case = 1
290         // Adverbial
291         PartOfSpeech_ADVERBIAL PartOfSpeech_Case = 2
292         // Complementive
293         PartOfSpeech_COMPLEMENTIVE PartOfSpeech_Case = 3
294         // Dative
295         PartOfSpeech_DATIVE PartOfSpeech_Case = 4
296         // Genitive
297         PartOfSpeech_GENITIVE PartOfSpeech_Case = 5
298         // Instrumental
299         PartOfSpeech_INSTRUMENTAL PartOfSpeech_Case = 6
300         // Locative
301         PartOfSpeech_LOCATIVE PartOfSpeech_Case = 7
302         // Nominative
303         PartOfSpeech_NOMINATIVE PartOfSpeech_Case = 8
304         // Oblique
305         PartOfSpeech_OBLIQUE PartOfSpeech_Case = 9
306         // Partitive
307         PartOfSpeech_PARTITIVE PartOfSpeech_Case = 10
308         // Prepositional
309         PartOfSpeech_PREPOSITIONAL PartOfSpeech_Case = 11
310         // Reflexive
311         PartOfSpeech_REFLEXIVE_CASE PartOfSpeech_Case = 12
312         // Relative
313         PartOfSpeech_RELATIVE_CASE PartOfSpeech_Case = 13
314         // Vocative
315         PartOfSpeech_VOCATIVE PartOfSpeech_Case = 14
316 )
317
318 var PartOfSpeech_Case_name = map[int32]string{
319         0:  "CASE_UNKNOWN",
320         1:  "ACCUSATIVE",
321         2:  "ADVERBIAL",
322         3:  "COMPLEMENTIVE",
323         4:  "DATIVE",
324         5:  "GENITIVE",
325         6:  "INSTRUMENTAL",
326         7:  "LOCATIVE",
327         8:  "NOMINATIVE",
328         9:  "OBLIQUE",
329         10: "PARTITIVE",
330         11: "PREPOSITIONAL",
331         12: "REFLEXIVE_CASE",
332         13: "RELATIVE_CASE",
333         14: "VOCATIVE",
334 }
335 var PartOfSpeech_Case_value = map[string]int32{
336         "CASE_UNKNOWN":   0,
337         "ACCUSATIVE":     1,
338         "ADVERBIAL":      2,
339         "COMPLEMENTIVE":  3,
340         "DATIVE":         4,
341         "GENITIVE":       5,
342         "INSTRUMENTAL":   6,
343         "LOCATIVE":       7,
344         "NOMINATIVE":     8,
345         "OBLIQUE":        9,
346         "PARTITIVE":      10,
347         "PREPOSITIONAL":  11,
348         "REFLEXIVE_CASE": 12,
349         "RELATIVE_CASE":  13,
350         "VOCATIVE":       14,
351 }
352
353 func (x PartOfSpeech_Case) String() string {
354         return proto.EnumName(PartOfSpeech_Case_name, int32(x))
355 }
356 func (PartOfSpeech_Case) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 2} }
357
358 // Depending on the language, Form can be categorizing different forms of
359 // verbs, adjectives, adverbs, etc. For example, categorizing inflected
360 // endings of verbs and adjectives or distinguishing between short and long
361 // forms of adjectives and participles
362 type PartOfSpeech_Form int32
363
364 const (
365         // Form is not applicable in the analyzed language or is not predicted.
366         PartOfSpeech_FORM_UNKNOWN PartOfSpeech_Form = 0
367         // Adnomial
368         PartOfSpeech_ADNOMIAL PartOfSpeech_Form = 1
369         // Auxiliary
370         PartOfSpeech_AUXILIARY PartOfSpeech_Form = 2
371         // Complementizer
372         PartOfSpeech_COMPLEMENTIZER PartOfSpeech_Form = 3
373         // Final ending
374         PartOfSpeech_FINAL_ENDING PartOfSpeech_Form = 4
375         // Gerund
376         PartOfSpeech_GERUND PartOfSpeech_Form = 5
377         // Realis
378         PartOfSpeech_REALIS PartOfSpeech_Form = 6
379         // Irrealis
380         PartOfSpeech_IRREALIS PartOfSpeech_Form = 7
381         // Short form
382         PartOfSpeech_SHORT PartOfSpeech_Form = 8
383         // Long form
384         PartOfSpeech_LONG PartOfSpeech_Form = 9
385         // Order form
386         PartOfSpeech_ORDER PartOfSpeech_Form = 10
387         // Specific form
388         PartOfSpeech_SPECIFIC PartOfSpeech_Form = 11
389 )
390
391 var PartOfSpeech_Form_name = map[int32]string{
392         0:  "FORM_UNKNOWN",
393         1:  "ADNOMIAL",
394         2:  "AUXILIARY",
395         3:  "COMPLEMENTIZER",
396         4:  "FINAL_ENDING",
397         5:  "GERUND",
398         6:  "REALIS",
399         7:  "IRREALIS",
400         8:  "SHORT",
401         9:  "LONG",
402         10: "ORDER",
403         11: "SPECIFIC",
404 }
405 var PartOfSpeech_Form_value = map[string]int32{
406         "FORM_UNKNOWN":   0,
407         "ADNOMIAL":       1,
408         "AUXILIARY":      2,
409         "COMPLEMENTIZER": 3,
410         "FINAL_ENDING":   4,
411         "GERUND":         5,
412         "REALIS":         6,
413         "IRREALIS":       7,
414         "SHORT":          8,
415         "LONG":           9,
416         "ORDER":          10,
417         "SPECIFIC":       11,
418 }
419
420 func (x PartOfSpeech_Form) String() string {
421         return proto.EnumName(PartOfSpeech_Form_name, int32(x))
422 }
423 func (PartOfSpeech_Form) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 3} }
424
425 // Gender classes of nouns reflected in the behaviour of associated words.
426 type PartOfSpeech_Gender int32
427
428 const (
429         // Gender is not applicable in the analyzed language or is not predicted.
430         PartOfSpeech_GENDER_UNKNOWN PartOfSpeech_Gender = 0
431         // Feminine
432         PartOfSpeech_FEMININE PartOfSpeech_Gender = 1
433         // Masculine
434         PartOfSpeech_MASCULINE PartOfSpeech_Gender = 2
435         // Neuter
436         PartOfSpeech_NEUTER PartOfSpeech_Gender = 3
437 )
438
439 var PartOfSpeech_Gender_name = map[int32]string{
440         0: "GENDER_UNKNOWN",
441         1: "FEMININE",
442         2: "MASCULINE",
443         3: "NEUTER",
444 }
445 var PartOfSpeech_Gender_value = map[string]int32{
446         "GENDER_UNKNOWN": 0,
447         "FEMININE":       1,
448         "MASCULINE":      2,
449         "NEUTER":         3,
450 }
451
452 func (x PartOfSpeech_Gender) String() string {
453         return proto.EnumName(PartOfSpeech_Gender_name, int32(x))
454 }
455 func (PartOfSpeech_Gender) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 4} }
456
457 // The grammatical feature of verbs, used for showing modality and attitude.
458 type PartOfSpeech_Mood int32
459
460 const (
461         // Mood is not applicable in the analyzed language or is not predicted.
462         PartOfSpeech_MOOD_UNKNOWN PartOfSpeech_Mood = 0
463         // Conditional
464         PartOfSpeech_CONDITIONAL_MOOD PartOfSpeech_Mood = 1
465         // Imperative
466         PartOfSpeech_IMPERATIVE PartOfSpeech_Mood = 2
467         // Indicative
468         PartOfSpeech_INDICATIVE PartOfSpeech_Mood = 3
469         // Interrogative
470         PartOfSpeech_INTERROGATIVE PartOfSpeech_Mood = 4
471         // Jussive
472         PartOfSpeech_JUSSIVE PartOfSpeech_Mood = 5
473         // Subjunctive
474         PartOfSpeech_SUBJUNCTIVE PartOfSpeech_Mood = 6
475 )
476
477 var PartOfSpeech_Mood_name = map[int32]string{
478         0: "MOOD_UNKNOWN",
479         1: "CONDITIONAL_MOOD",
480         2: "IMPERATIVE",
481         3: "INDICATIVE",
482         4: "INTERROGATIVE",
483         5: "JUSSIVE",
484         6: "SUBJUNCTIVE",
485 }
486 var PartOfSpeech_Mood_value = map[string]int32{
487         "MOOD_UNKNOWN":     0,
488         "CONDITIONAL_MOOD": 1,
489         "IMPERATIVE":       2,
490         "INDICATIVE":       3,
491         "INTERROGATIVE":    4,
492         "JUSSIVE":          5,
493         "SUBJUNCTIVE":      6,
494 }
495
496 func (x PartOfSpeech_Mood) String() string {
497         return proto.EnumName(PartOfSpeech_Mood_name, int32(x))
498 }
499 func (PartOfSpeech_Mood) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 5} }
500
501 // Count distinctions.
502 type PartOfSpeech_Number int32
503
504 const (
505         // Number is not applicable in the analyzed language or is not predicted.
506         PartOfSpeech_NUMBER_UNKNOWN PartOfSpeech_Number = 0
507         // Singular
508         PartOfSpeech_SINGULAR PartOfSpeech_Number = 1
509         // Plural
510         PartOfSpeech_PLURAL PartOfSpeech_Number = 2
511         // Dual
512         PartOfSpeech_DUAL PartOfSpeech_Number = 3
513 )
514
515 var PartOfSpeech_Number_name = map[int32]string{
516         0: "NUMBER_UNKNOWN",
517         1: "SINGULAR",
518         2: "PLURAL",
519         3: "DUAL",
520 }
521 var PartOfSpeech_Number_value = map[string]int32{
522         "NUMBER_UNKNOWN": 0,
523         "SINGULAR":       1,
524         "PLURAL":         2,
525         "DUAL":           3,
526 }
527
528 func (x PartOfSpeech_Number) String() string {
529         return proto.EnumName(PartOfSpeech_Number_name, int32(x))
530 }
531 func (PartOfSpeech_Number) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 6} }
532
533 // The distinction between the speaker, second person, third person, etc.
534 type PartOfSpeech_Person int32
535
536 const (
537         // Person is not applicable in the analyzed language or is not predicted.
538         PartOfSpeech_PERSON_UNKNOWN PartOfSpeech_Person = 0
539         // First
540         PartOfSpeech_FIRST PartOfSpeech_Person = 1
541         // Second
542         PartOfSpeech_SECOND PartOfSpeech_Person = 2
543         // Third
544         PartOfSpeech_THIRD PartOfSpeech_Person = 3
545         // Reflexive
546         PartOfSpeech_REFLEXIVE_PERSON PartOfSpeech_Person = 4
547 )
548
549 var PartOfSpeech_Person_name = map[int32]string{
550         0: "PERSON_UNKNOWN",
551         1: "FIRST",
552         2: "SECOND",
553         3: "THIRD",
554         4: "REFLEXIVE_PERSON",
555 }
556 var PartOfSpeech_Person_value = map[string]int32{
557         "PERSON_UNKNOWN":   0,
558         "FIRST":            1,
559         "SECOND":           2,
560         "THIRD":            3,
561         "REFLEXIVE_PERSON": 4,
562 }
563
564 func (x PartOfSpeech_Person) String() string {
565         return proto.EnumName(PartOfSpeech_Person_name, int32(x))
566 }
567 func (PartOfSpeech_Person) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 7} }
568
569 // This category shows if the token is part of a proper name.
570 type PartOfSpeech_Proper int32
571
572 const (
573         // Proper is not applicable in the analyzed language or is not predicted.
574         PartOfSpeech_PROPER_UNKNOWN PartOfSpeech_Proper = 0
575         // Proper
576         PartOfSpeech_PROPER PartOfSpeech_Proper = 1
577         // Not proper
578         PartOfSpeech_NOT_PROPER PartOfSpeech_Proper = 2
579 )
580
581 var PartOfSpeech_Proper_name = map[int32]string{
582         0: "PROPER_UNKNOWN",
583         1: "PROPER",
584         2: "NOT_PROPER",
585 }
586 var PartOfSpeech_Proper_value = map[string]int32{
587         "PROPER_UNKNOWN": 0,
588         "PROPER":         1,
589         "NOT_PROPER":     2,
590 }
591
592 func (x PartOfSpeech_Proper) String() string {
593         return proto.EnumName(PartOfSpeech_Proper_name, int32(x))
594 }
595 func (PartOfSpeech_Proper) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 8} }
596
597 // Reciprocal features of a pronoun.
598 type PartOfSpeech_Reciprocity int32
599
600 const (
601         // Reciprocity is not applicable in the analyzed language or is not
602         // predicted.
603         PartOfSpeech_RECIPROCITY_UNKNOWN PartOfSpeech_Reciprocity = 0
604         // Reciprocal
605         PartOfSpeech_RECIPROCAL PartOfSpeech_Reciprocity = 1
606         // Non-reciprocal
607         PartOfSpeech_NON_RECIPROCAL PartOfSpeech_Reciprocity = 2
608 )
609
610 var PartOfSpeech_Reciprocity_name = map[int32]string{
611         0: "RECIPROCITY_UNKNOWN",
612         1: "RECIPROCAL",
613         2: "NON_RECIPROCAL",
614 }
615 var PartOfSpeech_Reciprocity_value = map[string]int32{
616         "RECIPROCITY_UNKNOWN": 0,
617         "RECIPROCAL":          1,
618         "NON_RECIPROCAL":      2,
619 }
620
621 func (x PartOfSpeech_Reciprocity) String() string {
622         return proto.EnumName(PartOfSpeech_Reciprocity_name, int32(x))
623 }
624 func (PartOfSpeech_Reciprocity) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 9} }
625
626 // Time reference.
627 type PartOfSpeech_Tense int32
628
629 const (
630         // Tense is not applicable in the analyzed language or is not predicted.
631         PartOfSpeech_TENSE_UNKNOWN PartOfSpeech_Tense = 0
632         // Conditional
633         PartOfSpeech_CONDITIONAL_TENSE PartOfSpeech_Tense = 1
634         // Future
635         PartOfSpeech_FUTURE PartOfSpeech_Tense = 2
636         // Past
637         PartOfSpeech_PAST PartOfSpeech_Tense = 3
638         // Present
639         PartOfSpeech_PRESENT PartOfSpeech_Tense = 4
640         // Imperfect
641         PartOfSpeech_IMPERFECT PartOfSpeech_Tense = 5
642         // Pluperfect
643         PartOfSpeech_PLUPERFECT PartOfSpeech_Tense = 6
644 )
645
646 var PartOfSpeech_Tense_name = map[int32]string{
647         0: "TENSE_UNKNOWN",
648         1: "CONDITIONAL_TENSE",
649         2: "FUTURE",
650         3: "PAST",
651         4: "PRESENT",
652         5: "IMPERFECT",
653         6: "PLUPERFECT",
654 }
655 var PartOfSpeech_Tense_value = map[string]int32{
656         "TENSE_UNKNOWN":     0,
657         "CONDITIONAL_TENSE": 1,
658         "FUTURE":            2,
659         "PAST":              3,
660         "PRESENT":           4,
661         "IMPERFECT":         5,
662         "PLUPERFECT":        6,
663 }
664
665 func (x PartOfSpeech_Tense) String() string {
666         return proto.EnumName(PartOfSpeech_Tense_name, int32(x))
667 }
668 func (PartOfSpeech_Tense) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 10} }
669
670 // The relationship between the action that a verb expresses and the
671 // participants identified by its arguments.
672 type PartOfSpeech_Voice int32
673
674 const (
675         // Voice is not applicable in the analyzed language or is not predicted.
676         PartOfSpeech_VOICE_UNKNOWN PartOfSpeech_Voice = 0
677         // Active
678         PartOfSpeech_ACTIVE PartOfSpeech_Voice = 1
679         // Causative
680         PartOfSpeech_CAUSATIVE PartOfSpeech_Voice = 2
681         // Passive
682         PartOfSpeech_PASSIVE PartOfSpeech_Voice = 3
683 )
684
685 var PartOfSpeech_Voice_name = map[int32]string{
686         0: "VOICE_UNKNOWN",
687         1: "ACTIVE",
688         2: "CAUSATIVE",
689         3: "PASSIVE",
690 }
691 var PartOfSpeech_Voice_value = map[string]int32{
692         "VOICE_UNKNOWN": 0,
693         "ACTIVE":        1,
694         "CAUSATIVE":     2,
695         "PASSIVE":       3,
696 }
697
698 func (x PartOfSpeech_Voice) String() string {
699         return proto.EnumName(PartOfSpeech_Voice_name, int32(x))
700 }
701 func (PartOfSpeech_Voice) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 11} }
702
703 // The parse label enum for the token.
704 type DependencyEdge_Label int32
705
706 const (
707         // Unknown
708         DependencyEdge_UNKNOWN DependencyEdge_Label = 0
709         // Abbreviation modifier
710         DependencyEdge_ABBREV DependencyEdge_Label = 1
711         // Adjectival complement
712         DependencyEdge_ACOMP DependencyEdge_Label = 2
713         // Adverbial clause modifier
714         DependencyEdge_ADVCL DependencyEdge_Label = 3
715         // Adverbial modifier
716         DependencyEdge_ADVMOD DependencyEdge_Label = 4
717         // Adjectival modifier of an NP
718         DependencyEdge_AMOD DependencyEdge_Label = 5
719         // Appositional modifier of an NP
720         DependencyEdge_APPOS DependencyEdge_Label = 6
721         // Attribute dependent of a copular verb
722         DependencyEdge_ATTR DependencyEdge_Label = 7
723         // Auxiliary (non-main) verb
724         DependencyEdge_AUX DependencyEdge_Label = 8
725         // Passive auxiliary
726         DependencyEdge_AUXPASS DependencyEdge_Label = 9
727         // Coordinating conjunction
728         DependencyEdge_CC DependencyEdge_Label = 10
729         // Clausal complement of a verb or adjective
730         DependencyEdge_CCOMP DependencyEdge_Label = 11
731         // Conjunct
732         DependencyEdge_CONJ DependencyEdge_Label = 12
733         // Clausal subject
734         DependencyEdge_CSUBJ DependencyEdge_Label = 13
735         // Clausal passive subject
736         DependencyEdge_CSUBJPASS DependencyEdge_Label = 14
737         // Dependency (unable to determine)
738         DependencyEdge_DEP DependencyEdge_Label = 15
739         // Determiner
740         DependencyEdge_DET DependencyEdge_Label = 16
741         // Discourse
742         DependencyEdge_DISCOURSE DependencyEdge_Label = 17
743         // Direct object
744         DependencyEdge_DOBJ DependencyEdge_Label = 18
745         // Expletive
746         DependencyEdge_EXPL DependencyEdge_Label = 19
747         // Goes with (part of a word in a text not well edited)
748         DependencyEdge_GOESWITH DependencyEdge_Label = 20
749         // Indirect object
750         DependencyEdge_IOBJ DependencyEdge_Label = 21
751         // Marker (word introducing a subordinate clause)
752         DependencyEdge_MARK DependencyEdge_Label = 22
753         // Multi-word expression
754         DependencyEdge_MWE DependencyEdge_Label = 23
755         // Multi-word verbal expression
756         DependencyEdge_MWV DependencyEdge_Label = 24
757         // Negation modifier
758         DependencyEdge_NEG DependencyEdge_Label = 25
759         // Noun compound modifier
760         DependencyEdge_NN DependencyEdge_Label = 26
761         // Noun phrase used as an adverbial modifier
762         DependencyEdge_NPADVMOD DependencyEdge_Label = 27
763         // Nominal subject
764         DependencyEdge_NSUBJ DependencyEdge_Label = 28
765         // Passive nominal subject
766         DependencyEdge_NSUBJPASS DependencyEdge_Label = 29
767         // Numeric modifier of a noun
768         DependencyEdge_NUM DependencyEdge_Label = 30
769         // Element of compound number
770         DependencyEdge_NUMBER DependencyEdge_Label = 31
771         // Punctuation mark
772         DependencyEdge_P DependencyEdge_Label = 32
773         // Parataxis relation
774         DependencyEdge_PARATAXIS DependencyEdge_Label = 33
775         // Participial modifier
776         DependencyEdge_PARTMOD DependencyEdge_Label = 34
777         // The complement of a preposition is a clause
778         DependencyEdge_PCOMP DependencyEdge_Label = 35
779         // Object of a preposition
780         DependencyEdge_POBJ DependencyEdge_Label = 36
781         // Possession modifier
782         DependencyEdge_POSS DependencyEdge_Label = 37
783         // Postverbal negative particle
784         DependencyEdge_POSTNEG DependencyEdge_Label = 38
785         // Predicate complement
786         DependencyEdge_PRECOMP DependencyEdge_Label = 39
787         // Preconjunt
788         DependencyEdge_PRECONJ DependencyEdge_Label = 40
789         // Predeterminer
790         DependencyEdge_PREDET DependencyEdge_Label = 41
791         // Prefix
792         DependencyEdge_PREF DependencyEdge_Label = 42
793         // Prepositional modifier
794         DependencyEdge_PREP DependencyEdge_Label = 43
795         // The relationship between a verb and verbal morpheme
796         DependencyEdge_PRONL DependencyEdge_Label = 44
797         // Particle
798         DependencyEdge_PRT DependencyEdge_Label = 45
799         // Associative or possessive marker
800         DependencyEdge_PS DependencyEdge_Label = 46
801         // Quantifier phrase modifier
802         DependencyEdge_QUANTMOD DependencyEdge_Label = 47
803         // Relative clause modifier
804         DependencyEdge_RCMOD DependencyEdge_Label = 48
805         // Complementizer in relative clause
806         DependencyEdge_RCMODREL DependencyEdge_Label = 49
807         // Ellipsis without a preceding predicate
808         DependencyEdge_RDROP DependencyEdge_Label = 50
809         // Referent
810         DependencyEdge_REF DependencyEdge_Label = 51
811         // Remnant
812         DependencyEdge_REMNANT DependencyEdge_Label = 52
813         // Reparandum
814         DependencyEdge_REPARANDUM DependencyEdge_Label = 53
815         // Root
816         DependencyEdge_ROOT DependencyEdge_Label = 54
817         // Suffix specifying a unit of number
818         DependencyEdge_SNUM DependencyEdge_Label = 55
819         // Suffix
820         DependencyEdge_SUFF DependencyEdge_Label = 56
821         // Temporal modifier
822         DependencyEdge_TMOD DependencyEdge_Label = 57
823         // Topic marker
824         DependencyEdge_TOPIC DependencyEdge_Label = 58
825         // Clause headed by an infinite form of the verb that modifies a noun
826         DependencyEdge_VMOD DependencyEdge_Label = 59
827         // Vocative
828         DependencyEdge_VOCATIVE DependencyEdge_Label = 60
829         // Open clausal complement
830         DependencyEdge_XCOMP DependencyEdge_Label = 61
831         // Name suffix
832         DependencyEdge_SUFFIX DependencyEdge_Label = 62
833         // Name title
834         DependencyEdge_TITLE DependencyEdge_Label = 63
835         // Adverbial phrase modifier
836         DependencyEdge_ADVPHMOD DependencyEdge_Label = 64
837         // Causative auxiliary
838         DependencyEdge_AUXCAUS DependencyEdge_Label = 65
839         // Helper auxiliary
840         DependencyEdge_AUXVV DependencyEdge_Label = 66
841         // Rentaishi (Prenominal modifier)
842         DependencyEdge_DTMOD DependencyEdge_Label = 67
843         // Foreign words
844         DependencyEdge_FOREIGN DependencyEdge_Label = 68
845         // Keyword
846         DependencyEdge_KW DependencyEdge_Label = 69
847         // List for chains of comparable items
848         DependencyEdge_LIST DependencyEdge_Label = 70
849         // Nominalized clause
850         DependencyEdge_NOMC DependencyEdge_Label = 71
851         // Nominalized clausal subject
852         DependencyEdge_NOMCSUBJ DependencyEdge_Label = 72
853         // Nominalized clausal passive
854         DependencyEdge_NOMCSUBJPASS DependencyEdge_Label = 73
855         // Compound of numeric modifier
856         DependencyEdge_NUMC DependencyEdge_Label = 74
857         // Copula
858         DependencyEdge_COP DependencyEdge_Label = 75
859         // Dislocated relation (for fronted/topicalized elements)
860         DependencyEdge_DISLOCATED DependencyEdge_Label = 76
861 )
862
863 var DependencyEdge_Label_name = map[int32]string{
864         0:  "UNKNOWN",
865         1:  "ABBREV",
866         2:  "ACOMP",
867         3:  "ADVCL",
868         4:  "ADVMOD",
869         5:  "AMOD",
870         6:  "APPOS",
871         7:  "ATTR",
872         8:  "AUX",
873         9:  "AUXPASS",
874         10: "CC",
875         11: "CCOMP",
876         12: "CONJ",
877         13: "CSUBJ",
878         14: "CSUBJPASS",
879         15: "DEP",
880         16: "DET",
881         17: "DISCOURSE",
882         18: "DOBJ",
883         19: "EXPL",
884         20: "GOESWITH",
885         21: "IOBJ",
886         22: "MARK",
887         23: "MWE",
888         24: "MWV",
889         25: "NEG",
890         26: "NN",
891         27: "NPADVMOD",
892         28: "NSUBJ",
893         29: "NSUBJPASS",
894         30: "NUM",
895         31: "NUMBER",
896         32: "P",
897         33: "PARATAXIS",
898         34: "PARTMOD",
899         35: "PCOMP",
900         36: "POBJ",
901         37: "POSS",
902         38: "POSTNEG",
903         39: "PRECOMP",
904         40: "PRECONJ",
905         41: "PREDET",
906         42: "PREF",
907         43: "PREP",
908         44: "PRONL",
909         45: "PRT",
910         46: "PS",
911         47: "QUANTMOD",
912         48: "RCMOD",
913         49: "RCMODREL",
914         50: "RDROP",
915         51: "REF",
916         52: "REMNANT",
917         53: "REPARANDUM",
918         54: "ROOT",
919         55: "SNUM",
920         56: "SUFF",
921         57: "TMOD",
922         58: "TOPIC",
923         59: "VMOD",
924         60: "VOCATIVE",
925         61: "XCOMP",
926         62: "SUFFIX",
927         63: "TITLE",
928         64: "ADVPHMOD",
929         65: "AUXCAUS",
930         66: "AUXVV",
931         67: "DTMOD",
932         68: "FOREIGN",
933         69: "KW",
934         70: "LIST",
935         71: "NOMC",
936         72: "NOMCSUBJ",
937         73: "NOMCSUBJPASS",
938         74: "NUMC",
939         75: "COP",
940         76: "DISLOCATED",
941 }
942 var DependencyEdge_Label_value = map[string]int32{
943         "UNKNOWN":      0,
944         "ABBREV":       1,
945         "ACOMP":        2,
946         "ADVCL":        3,
947         "ADVMOD":       4,
948         "AMOD":         5,
949         "APPOS":        6,
950         "ATTR":         7,
951         "AUX":          8,
952         "AUXPASS":      9,
953         "CC":           10,
954         "CCOMP":        11,
955         "CONJ":         12,
956         "CSUBJ":        13,
957         "CSUBJPASS":    14,
958         "DEP":          15,
959         "DET":          16,
960         "DISCOURSE":    17,
961         "DOBJ":         18,
962         "EXPL":         19,
963         "GOESWITH":     20,
964         "IOBJ":         21,
965         "MARK":         22,
966         "MWE":          23,
967         "MWV":          24,
968         "NEG":          25,
969         "NN":           26,
970         "NPADVMOD":     27,
971         "NSUBJ":        28,
972         "NSUBJPASS":    29,
973         "NUM":          30,
974         "NUMBER":       31,
975         "P":            32,
976         "PARATAXIS":    33,
977         "PARTMOD":      34,
978         "PCOMP":        35,
979         "POBJ":         36,
980         "POSS":         37,
981         "POSTNEG":      38,
982         "PRECOMP":      39,
983         "PRECONJ":      40,
984         "PREDET":       41,
985         "PREF":         42,
986         "PREP":         43,
987         "PRONL":        44,
988         "PRT":          45,
989         "PS":           46,
990         "QUANTMOD":     47,
991         "RCMOD":        48,
992         "RCMODREL":     49,
993         "RDROP":        50,
994         "REF":          51,
995         "REMNANT":      52,
996         "REPARANDUM":   53,
997         "ROOT":         54,
998         "SNUM":         55,
999         "SUFF":         56,
1000         "TMOD":         57,
1001         "TOPIC":        58,
1002         "VMOD":         59,
1003         "VOCATIVE":     60,
1004         "XCOMP":        61,
1005         "SUFFIX":       62,
1006         "TITLE":        63,
1007         "ADVPHMOD":     64,
1008         "AUXCAUS":      65,
1009         "AUXVV":        66,
1010         "DTMOD":        67,
1011         "FOREIGN":      68,
1012         "KW":           69,
1013         "LIST":         70,
1014         "NOMC":         71,
1015         "NOMCSUBJ":     72,
1016         "NOMCSUBJPASS": 73,
1017         "NUMC":         74,
1018         "COP":          75,
1019         "DISLOCATED":   76,
1020 }
1021
1022 func (x DependencyEdge_Label) String() string {
1023         return proto.EnumName(DependencyEdge_Label_name, int32(x))
1024 }
1025 func (DependencyEdge_Label) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{6, 0} }
1026
1027 // The supported types of mentions.
1028 type EntityMention_Type int32
1029
1030 const (
1031         // Unknown
1032         EntityMention_TYPE_UNKNOWN EntityMention_Type = 0
1033         // Proper name
1034         EntityMention_PROPER EntityMention_Type = 1
1035         // Common noun (or noun compound)
1036         EntityMention_COMMON EntityMention_Type = 2
1037 )
1038
1039 var EntityMention_Type_name = map[int32]string{
1040         0: "TYPE_UNKNOWN",
1041         1: "PROPER",
1042         2: "COMMON",
1043 }
1044 var EntityMention_Type_value = map[string]int32{
1045         "TYPE_UNKNOWN": 0,
1046         "PROPER":       1,
1047         "COMMON":       2,
1048 }
1049
1050 func (x EntityMention_Type) String() string {
1051         return proto.EnumName(EntityMention_Type_name, int32(x))
1052 }
1053 func (EntityMention_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{7, 0} }
1054
1055 // ################################################################ #
1056 //
1057 // Represents the input to API methods.
1058 type Document struct {
1059         // Required. If the type is not set or is `TYPE_UNSPECIFIED`,
1060         // returns an `INVALID_ARGUMENT` error.
1061         Type Document_Type `protobuf:"varint,1,opt,name=type,enum=google.cloud.language.v1beta2.Document_Type" json:"type,omitempty"`
1062         // The source of the document: a string containing the content or a
1063         // Google Cloud Storage URI.
1064         //
1065         // Types that are valid to be assigned to Source:
1066         //      *Document_Content
1067         //      *Document_GcsContentUri
1068         Source isDocument_Source `protobuf_oneof:"source"`
1069         // The language of the document (if not specified, the language is
1070         // automatically detected). Both ISO and BCP-47 language codes are
1071         // accepted.<br>
1072         // [Language Support](https://cloud.google.com/natural-language/docs/languages)
1073         // lists currently supported languages for each API method.
1074         // If the language (either specified by the caller or automatically detected)
1075         // is not supported by the called API method, an `INVALID_ARGUMENT` error
1076         // is returned.
1077         Language string `protobuf:"bytes,4,opt,name=language" json:"language,omitempty"`
1078 }
1079
1080 func (m *Document) Reset()                    { *m = Document{} }
1081 func (m *Document) String() string            { return proto.CompactTextString(m) }
1082 func (*Document) ProtoMessage()               {}
1083 func (*Document) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
1084
1085 type isDocument_Source interface {
1086         isDocument_Source()
1087 }
1088
1089 type Document_Content struct {
1090         Content string `protobuf:"bytes,2,opt,name=content,oneof"`
1091 }
1092 type Document_GcsContentUri struct {
1093         GcsContentUri string `protobuf:"bytes,3,opt,name=gcs_content_uri,json=gcsContentUri,oneof"`
1094 }
1095
1096 func (*Document_Content) isDocument_Source()       {}
1097 func (*Document_GcsContentUri) isDocument_Source() {}
1098
1099 func (m *Document) GetSource() isDocument_Source {
1100         if m != nil {
1101                 return m.Source
1102         }
1103         return nil
1104 }
1105
1106 func (m *Document) GetType() Document_Type {
1107         if m != nil {
1108                 return m.Type
1109         }
1110         return Document_TYPE_UNSPECIFIED
1111 }
1112
1113 func (m *Document) GetContent() string {
1114         if x, ok := m.GetSource().(*Document_Content); ok {
1115                 return x.Content
1116         }
1117         return ""
1118 }
1119
1120 func (m *Document) GetGcsContentUri() string {
1121         if x, ok := m.GetSource().(*Document_GcsContentUri); ok {
1122                 return x.GcsContentUri
1123         }
1124         return ""
1125 }
1126
1127 func (m *Document) GetLanguage() string {
1128         if m != nil {
1129                 return m.Language
1130         }
1131         return ""
1132 }
1133
1134 // XXX_OneofFuncs is for the internal use of the proto package.
1135 func (*Document) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
1136         return _Document_OneofMarshaler, _Document_OneofUnmarshaler, _Document_OneofSizer, []interface{}{
1137                 (*Document_Content)(nil),
1138                 (*Document_GcsContentUri)(nil),
1139         }
1140 }
1141
1142 func _Document_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
1143         m := msg.(*Document)
1144         // source
1145         switch x := m.Source.(type) {
1146         case *Document_Content:
1147                 b.EncodeVarint(2<<3 | proto.WireBytes)
1148                 b.EncodeStringBytes(x.Content)
1149         case *Document_GcsContentUri:
1150                 b.EncodeVarint(3<<3 | proto.WireBytes)
1151                 b.EncodeStringBytes(x.GcsContentUri)
1152         case nil:
1153         default:
1154                 return fmt.Errorf("Document.Source has unexpected type %T", x)
1155         }
1156         return nil
1157 }
1158
1159 func _Document_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
1160         m := msg.(*Document)
1161         switch tag {
1162         case 2: // source.content
1163                 if wire != proto.WireBytes {
1164                         return true, proto.ErrInternalBadWireType
1165                 }
1166                 x, err := b.DecodeStringBytes()
1167                 m.Source = &Document_Content{x}
1168                 return true, err
1169         case 3: // source.gcs_content_uri
1170                 if wire != proto.WireBytes {
1171                         return true, proto.ErrInternalBadWireType
1172                 }
1173                 x, err := b.DecodeStringBytes()
1174                 m.Source = &Document_GcsContentUri{x}
1175                 return true, err
1176         default:
1177                 return false, nil
1178         }
1179 }
1180
1181 func _Document_OneofSizer(msg proto.Message) (n int) {
1182         m := msg.(*Document)
1183         // source
1184         switch x := m.Source.(type) {
1185         case *Document_Content:
1186                 n += proto.SizeVarint(2<<3 | proto.WireBytes)
1187                 n += proto.SizeVarint(uint64(len(x.Content)))
1188                 n += len(x.Content)
1189         case *Document_GcsContentUri:
1190                 n += proto.SizeVarint(3<<3 | proto.WireBytes)
1191                 n += proto.SizeVarint(uint64(len(x.GcsContentUri)))
1192                 n += len(x.GcsContentUri)
1193         case nil:
1194         default:
1195                 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
1196         }
1197         return n
1198 }
1199
1200 // Represents a sentence in the input document.
1201 type Sentence struct {
1202         // The sentence text.
1203         Text *TextSpan `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
1204         // For calls to [AnalyzeSentiment][] or if
1205         // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_document_sentiment] is set to
1206         // true, this field will contain the sentiment for the sentence.
1207         Sentiment *Sentiment `protobuf:"bytes,2,opt,name=sentiment" json:"sentiment,omitempty"`
1208 }
1209
1210 func (m *Sentence) Reset()                    { *m = Sentence{} }
1211 func (m *Sentence) String() string            { return proto.CompactTextString(m) }
1212 func (*Sentence) ProtoMessage()               {}
1213 func (*Sentence) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
1214
1215 func (m *Sentence) GetText() *TextSpan {
1216         if m != nil {
1217                 return m.Text
1218         }
1219         return nil
1220 }
1221
1222 func (m *Sentence) GetSentiment() *Sentiment {
1223         if m != nil {
1224                 return m.Sentiment
1225         }
1226         return nil
1227 }
1228
1229 // Represents a phrase in the text that is a known entity, such as
1230 // a person, an organization, or location. The API associates information, such
1231 // as salience and mentions, with entities.
1232 type Entity struct {
1233         // The representative name for the entity.
1234         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
1235         // The entity type.
1236         Type Entity_Type `protobuf:"varint,2,opt,name=type,enum=google.cloud.language.v1beta2.Entity_Type" json:"type,omitempty"`
1237         // Metadata associated with the entity.
1238         //
1239         // Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
1240         // available. The associated keys are "wikipedia_url" and "mid", respectively.
1241         Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
1242         // The salience score associated with the entity in the [0, 1.0] range.
1243         //
1244         // The salience score for an entity provides information about the
1245         // importance or centrality of that entity to the entire document text.
1246         // Scores closer to 0 are less salient, while scores closer to 1.0 are highly
1247         // salient.
1248         Salience float32 `protobuf:"fixed32,4,opt,name=salience" json:"salience,omitempty"`
1249         // The mentions of this entity in the input document. The API currently
1250         // supports proper noun mentions.
1251         Mentions []*EntityMention `protobuf:"bytes,5,rep,name=mentions" json:"mentions,omitempty"`
1252         // For calls to [AnalyzeEntitySentiment][] or if
1253         // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
1254         // true, this field will contain the aggregate sentiment expressed for this
1255         // entity in the provided document.
1256         Sentiment *Sentiment `protobuf:"bytes,6,opt,name=sentiment" json:"sentiment,omitempty"`
1257 }
1258
1259 func (m *Entity) Reset()                    { *m = Entity{} }
1260 func (m *Entity) String() string            { return proto.CompactTextString(m) }
1261 func (*Entity) ProtoMessage()               {}
1262 func (*Entity) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
1263
1264 func (m *Entity) GetName() string {
1265         if m != nil {
1266                 return m.Name
1267         }
1268         return ""
1269 }
1270
1271 func (m *Entity) GetType() Entity_Type {
1272         if m != nil {
1273                 return m.Type
1274         }
1275         return Entity_UNKNOWN
1276 }
1277
1278 func (m *Entity) GetMetadata() map[string]string {
1279         if m != nil {
1280                 return m.Metadata
1281         }
1282         return nil
1283 }
1284
1285 func (m *Entity) GetSalience() float32 {
1286         if m != nil {
1287                 return m.Salience
1288         }
1289         return 0
1290 }
1291
1292 func (m *Entity) GetMentions() []*EntityMention {
1293         if m != nil {
1294                 return m.Mentions
1295         }
1296         return nil
1297 }
1298
1299 func (m *Entity) GetSentiment() *Sentiment {
1300         if m != nil {
1301                 return m.Sentiment
1302         }
1303         return nil
1304 }
1305
1306 // Represents the smallest syntactic building block of the text.
1307 type Token struct {
1308         // The token text.
1309         Text *TextSpan `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
1310         // Parts of speech tag for this token.
1311         PartOfSpeech *PartOfSpeech `protobuf:"bytes,2,opt,name=part_of_speech,json=partOfSpeech" json:"part_of_speech,omitempty"`
1312         // Dependency tree parse for this token.
1313         DependencyEdge *DependencyEdge `protobuf:"bytes,3,opt,name=dependency_edge,json=dependencyEdge" json:"dependency_edge,omitempty"`
1314         // [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.
1315         Lemma string `protobuf:"bytes,4,opt,name=lemma" json:"lemma,omitempty"`
1316 }
1317
1318 func (m *Token) Reset()                    { *m = Token{} }
1319 func (m *Token) String() string            { return proto.CompactTextString(m) }
1320 func (*Token) ProtoMessage()               {}
1321 func (*Token) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
1322
1323 func (m *Token) GetText() *TextSpan {
1324         if m != nil {
1325                 return m.Text
1326         }
1327         return nil
1328 }
1329
1330 func (m *Token) GetPartOfSpeech() *PartOfSpeech {
1331         if m != nil {
1332                 return m.PartOfSpeech
1333         }
1334         return nil
1335 }
1336
1337 func (m *Token) GetDependencyEdge() *DependencyEdge {
1338         if m != nil {
1339                 return m.DependencyEdge
1340         }
1341         return nil
1342 }
1343
1344 func (m *Token) GetLemma() string {
1345         if m != nil {
1346                 return m.Lemma
1347         }
1348         return ""
1349 }
1350
1351 // Represents the feeling associated with the entire text or entities in
1352 // the text.
1353 type Sentiment struct {
1354         // A non-negative number in the [0, +inf) range, which represents
1355         // the absolute magnitude of sentiment regardless of score (positive or
1356         // negative).
1357         Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude" json:"magnitude,omitempty"`
1358         // Sentiment score between -1.0 (negative sentiment) and 1.0
1359         // (positive sentiment).
1360         Score float32 `protobuf:"fixed32,3,opt,name=score" json:"score,omitempty"`
1361 }
1362
1363 func (m *Sentiment) Reset()                    { *m = Sentiment{} }
1364 func (m *Sentiment) String() string            { return proto.CompactTextString(m) }
1365 func (*Sentiment) ProtoMessage()               {}
1366 func (*Sentiment) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
1367
1368 func (m *Sentiment) GetMagnitude() float32 {
1369         if m != nil {
1370                 return m.Magnitude
1371         }
1372         return 0
1373 }
1374
1375 func (m *Sentiment) GetScore() float32 {
1376         if m != nil {
1377                 return m.Score
1378         }
1379         return 0
1380 }
1381
1382 // Represents part of speech information for a token.
1383 type PartOfSpeech struct {
1384         // The part of speech tag.
1385         Tag PartOfSpeech_Tag `protobuf:"varint,1,opt,name=tag,enum=google.cloud.language.v1beta2.PartOfSpeech_Tag" json:"tag,omitempty"`
1386         // The grammatical aspect.
1387         Aspect PartOfSpeech_Aspect `protobuf:"varint,2,opt,name=aspect,enum=google.cloud.language.v1beta2.PartOfSpeech_Aspect" json:"aspect,omitempty"`
1388         // The grammatical case.
1389         Case PartOfSpeech_Case `protobuf:"varint,3,opt,name=case,enum=google.cloud.language.v1beta2.PartOfSpeech_Case" json:"case,omitempty"`
1390         // The grammatical form.
1391         Form PartOfSpeech_Form `protobuf:"varint,4,opt,name=form,enum=google.cloud.language.v1beta2.PartOfSpeech_Form" json:"form,omitempty"`
1392         // The grammatical gender.
1393         Gender PartOfSpeech_Gender `protobuf:"varint,5,opt,name=gender,enum=google.cloud.language.v1beta2.PartOfSpeech_Gender" json:"gender,omitempty"`
1394         // The grammatical mood.
1395         Mood PartOfSpeech_Mood `protobuf:"varint,6,opt,name=mood,enum=google.cloud.language.v1beta2.PartOfSpeech_Mood" json:"mood,omitempty"`
1396         // The grammatical number.
1397         Number PartOfSpeech_Number `protobuf:"varint,7,opt,name=number,enum=google.cloud.language.v1beta2.PartOfSpeech_Number" json:"number,omitempty"`
1398         // The grammatical person.
1399         Person PartOfSpeech_Person `protobuf:"varint,8,opt,name=person,enum=google.cloud.language.v1beta2.PartOfSpeech_Person" json:"person,omitempty"`
1400         // The grammatical properness.
1401         Proper PartOfSpeech_Proper `protobuf:"varint,9,opt,name=proper,enum=google.cloud.language.v1beta2.PartOfSpeech_Proper" json:"proper,omitempty"`
1402         // The grammatical reciprocity.
1403         Reciprocity PartOfSpeech_Reciprocity `protobuf:"varint,10,opt,name=reciprocity,enum=google.cloud.language.v1beta2.PartOfSpeech_Reciprocity" json:"reciprocity,omitempty"`
1404         // The grammatical tense.
1405         Tense PartOfSpeech_Tense `protobuf:"varint,11,opt,name=tense,enum=google.cloud.language.v1beta2.PartOfSpeech_Tense" json:"tense,omitempty"`
1406         // The grammatical voice.
1407         Voice PartOfSpeech_Voice `protobuf:"varint,12,opt,name=voice,enum=google.cloud.language.v1beta2.PartOfSpeech_Voice" json:"voice,omitempty"`
1408 }
1409
1410 func (m *PartOfSpeech) Reset()                    { *m = PartOfSpeech{} }
1411 func (m *PartOfSpeech) String() string            { return proto.CompactTextString(m) }
1412 func (*PartOfSpeech) ProtoMessage()               {}
1413 func (*PartOfSpeech) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
1414
1415 func (m *PartOfSpeech) GetTag() PartOfSpeech_Tag {
1416         if m != nil {
1417                 return m.Tag
1418         }
1419         return PartOfSpeech_UNKNOWN
1420 }
1421
1422 func (m *PartOfSpeech) GetAspect() PartOfSpeech_Aspect {
1423         if m != nil {
1424                 return m.Aspect
1425         }
1426         return PartOfSpeech_ASPECT_UNKNOWN
1427 }
1428
1429 func (m *PartOfSpeech) GetCase() PartOfSpeech_Case {
1430         if m != nil {
1431                 return m.Case
1432         }
1433         return PartOfSpeech_CASE_UNKNOWN
1434 }
1435
1436 func (m *PartOfSpeech) GetForm() PartOfSpeech_Form {
1437         if m != nil {
1438                 return m.Form
1439         }
1440         return PartOfSpeech_FORM_UNKNOWN
1441 }
1442
1443 func (m *PartOfSpeech) GetGender() PartOfSpeech_Gender {
1444         if m != nil {
1445                 return m.Gender
1446         }
1447         return PartOfSpeech_GENDER_UNKNOWN
1448 }
1449
1450 func (m *PartOfSpeech) GetMood() PartOfSpeech_Mood {
1451         if m != nil {
1452                 return m.Mood
1453         }
1454         return PartOfSpeech_MOOD_UNKNOWN
1455 }
1456
1457 func (m *PartOfSpeech) GetNumber() PartOfSpeech_Number {
1458         if m != nil {
1459                 return m.Number
1460         }
1461         return PartOfSpeech_NUMBER_UNKNOWN
1462 }
1463
1464 func (m *PartOfSpeech) GetPerson() PartOfSpeech_Person {
1465         if m != nil {
1466                 return m.Person
1467         }
1468         return PartOfSpeech_PERSON_UNKNOWN
1469 }
1470
1471 func (m *PartOfSpeech) GetProper() PartOfSpeech_Proper {
1472         if m != nil {
1473                 return m.Proper
1474         }
1475         return PartOfSpeech_PROPER_UNKNOWN
1476 }
1477
1478 func (m *PartOfSpeech) GetReciprocity() PartOfSpeech_Reciprocity {
1479         if m != nil {
1480                 return m.Reciprocity
1481         }
1482         return PartOfSpeech_RECIPROCITY_UNKNOWN
1483 }
1484
1485 func (m *PartOfSpeech) GetTense() PartOfSpeech_Tense {
1486         if m != nil {
1487                 return m.Tense
1488         }
1489         return PartOfSpeech_TENSE_UNKNOWN
1490 }
1491
1492 func (m *PartOfSpeech) GetVoice() PartOfSpeech_Voice {
1493         if m != nil {
1494                 return m.Voice
1495         }
1496         return PartOfSpeech_VOICE_UNKNOWN
1497 }
1498
1499 // Represents dependency parse tree information for a token.
1500 type DependencyEdge struct {
1501         // Represents the head of this token in the dependency tree.
1502         // This is the index of the token which has an arc going to this token.
1503         // The index is the position of the token in the array of tokens returned
1504         // by the API method. If this token is a root token, then the
1505         // `head_token_index` is its own index.
1506         HeadTokenIndex int32 `protobuf:"varint,1,opt,name=head_token_index,json=headTokenIndex" json:"head_token_index,omitempty"`
1507         // The parse label for the token.
1508         Label DependencyEdge_Label `protobuf:"varint,2,opt,name=label,enum=google.cloud.language.v1beta2.DependencyEdge_Label" json:"label,omitempty"`
1509 }
1510
1511 func (m *DependencyEdge) Reset()                    { *m = DependencyEdge{} }
1512 func (m *DependencyEdge) String() string            { return proto.CompactTextString(m) }
1513 func (*DependencyEdge) ProtoMessage()               {}
1514 func (*DependencyEdge) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
1515
1516 func (m *DependencyEdge) GetHeadTokenIndex() int32 {
1517         if m != nil {
1518                 return m.HeadTokenIndex
1519         }
1520         return 0
1521 }
1522
1523 func (m *DependencyEdge) GetLabel() DependencyEdge_Label {
1524         if m != nil {
1525                 return m.Label
1526         }
1527         return DependencyEdge_UNKNOWN
1528 }
1529
1530 // Represents a mention for an entity in the text. Currently, proper noun
1531 // mentions are supported.
1532 type EntityMention struct {
1533         // The mention text.
1534         Text *TextSpan `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
1535         // The type of the entity mention.
1536         Type EntityMention_Type `protobuf:"varint,2,opt,name=type,enum=google.cloud.language.v1beta2.EntityMention_Type" json:"type,omitempty"`
1537         // For calls to [AnalyzeEntitySentiment][] or if
1538         // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
1539         // true, this field will contain the sentiment expressed for this mention of
1540         // the entity in the provided document.
1541         Sentiment *Sentiment `protobuf:"bytes,3,opt,name=sentiment" json:"sentiment,omitempty"`
1542 }
1543
1544 func (m *EntityMention) Reset()                    { *m = EntityMention{} }
1545 func (m *EntityMention) String() string            { return proto.CompactTextString(m) }
1546 func (*EntityMention) ProtoMessage()               {}
1547 func (*EntityMention) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
1548
1549 func (m *EntityMention) GetText() *TextSpan {
1550         if m != nil {
1551                 return m.Text
1552         }
1553         return nil
1554 }
1555
1556 func (m *EntityMention) GetType() EntityMention_Type {
1557         if m != nil {
1558                 return m.Type
1559         }
1560         return EntityMention_TYPE_UNKNOWN
1561 }
1562
1563 func (m *EntityMention) GetSentiment() *Sentiment {
1564         if m != nil {
1565                 return m.Sentiment
1566         }
1567         return nil
1568 }
1569
1570 // Represents an output piece of text.
1571 type TextSpan struct {
1572         // The content of the output text.
1573         Content string `protobuf:"bytes,1,opt,name=content" json:"content,omitempty"`
1574         // The API calculates the beginning offset of the content in the original
1575         // document according to the [EncodingType][google.cloud.language.v1beta2.EncodingType] specified in the API request.
1576         BeginOffset int32 `protobuf:"varint,2,opt,name=begin_offset,json=beginOffset" json:"begin_offset,omitempty"`
1577 }
1578
1579 func (m *TextSpan) Reset()                    { *m = TextSpan{} }
1580 func (m *TextSpan) String() string            { return proto.CompactTextString(m) }
1581 func (*TextSpan) ProtoMessage()               {}
1582 func (*TextSpan) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
1583
1584 func (m *TextSpan) GetContent() string {
1585         if m != nil {
1586                 return m.Content
1587         }
1588         return ""
1589 }
1590
1591 func (m *TextSpan) GetBeginOffset() int32 {
1592         if m != nil {
1593                 return m.BeginOffset
1594         }
1595         return 0
1596 }
1597
1598 // The sentiment analysis request message.
1599 type AnalyzeSentimentRequest struct {
1600         // Input document.
1601         Document *Document `protobuf:"bytes,1,opt,name=document" json:"document,omitempty"`
1602         // The encoding type used by the API to calculate sentence offsets for the
1603         // sentence sentiment.
1604         EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,enum=google.cloud.language.v1beta2.EncodingType" json:"encoding_type,omitempty"`
1605 }
1606
1607 func (m *AnalyzeSentimentRequest) Reset()                    { *m = AnalyzeSentimentRequest{} }
1608 func (m *AnalyzeSentimentRequest) String() string            { return proto.CompactTextString(m) }
1609 func (*AnalyzeSentimentRequest) ProtoMessage()               {}
1610 func (*AnalyzeSentimentRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
1611
1612 func (m *AnalyzeSentimentRequest) GetDocument() *Document {
1613         if m != nil {
1614                 return m.Document
1615         }
1616         return nil
1617 }
1618
1619 func (m *AnalyzeSentimentRequest) GetEncodingType() EncodingType {
1620         if m != nil {
1621                 return m.EncodingType
1622         }
1623         return EncodingType_NONE
1624 }
1625
1626 // The sentiment analysis response message.
1627 type AnalyzeSentimentResponse struct {
1628         // The overall sentiment of the input document.
1629         DocumentSentiment *Sentiment `protobuf:"bytes,1,opt,name=document_sentiment,json=documentSentiment" json:"document_sentiment,omitempty"`
1630         // The language of the text, which will be the same as the language specified
1631         // in the request or, if not specified, the automatically-detected language.
1632         // See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details.
1633         Language string `protobuf:"bytes,2,opt,name=language" json:"language,omitempty"`
1634         // The sentiment for all the sentences in the document.
1635         Sentences []*Sentence `protobuf:"bytes,3,rep,name=sentences" json:"sentences,omitempty"`
1636 }
1637
1638 func (m *AnalyzeSentimentResponse) Reset()                    { *m = AnalyzeSentimentResponse{} }
1639 func (m *AnalyzeSentimentResponse) String() string            { return proto.CompactTextString(m) }
1640 func (*AnalyzeSentimentResponse) ProtoMessage()               {}
1641 func (*AnalyzeSentimentResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
1642
1643 func (m *AnalyzeSentimentResponse) GetDocumentSentiment() *Sentiment {
1644         if m != nil {
1645                 return m.DocumentSentiment
1646         }
1647         return nil
1648 }
1649
1650 func (m *AnalyzeSentimentResponse) GetLanguage() string {
1651         if m != nil {
1652                 return m.Language
1653         }
1654         return ""
1655 }
1656
1657 func (m *AnalyzeSentimentResponse) GetSentences() []*Sentence {
1658         if m != nil {
1659                 return m.Sentences
1660         }
1661         return nil
1662 }
1663
1664 // The entity-level sentiment analysis request message.
1665 type AnalyzeEntitySentimentRequest struct {
1666         // Input document.
1667         Document *Document `protobuf:"bytes,1,opt,name=document" json:"document,omitempty"`
1668         // The encoding type used by the API to calculate offsets.
1669         EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,enum=google.cloud.language.v1beta2.EncodingType" json:"encoding_type,omitempty"`
1670 }
1671
1672 func (m *AnalyzeEntitySentimentRequest) Reset()                    { *m = AnalyzeEntitySentimentRequest{} }
1673 func (m *AnalyzeEntitySentimentRequest) String() string            { return proto.CompactTextString(m) }
1674 func (*AnalyzeEntitySentimentRequest) ProtoMessage()               {}
1675 func (*AnalyzeEntitySentimentRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
1676
1677 func (m *AnalyzeEntitySentimentRequest) GetDocument() *Document {
1678         if m != nil {
1679                 return m.Document
1680         }
1681         return nil
1682 }
1683
1684 func (m *AnalyzeEntitySentimentRequest) GetEncodingType() EncodingType {
1685         if m != nil {
1686                 return m.EncodingType
1687         }
1688         return EncodingType_NONE
1689 }
1690
1691 // The entity-level sentiment analysis response message.
1692 type AnalyzeEntitySentimentResponse struct {
1693         // The recognized entities in the input document with associated sentiments.
1694         Entities []*Entity `protobuf:"bytes,1,rep,name=entities" json:"entities,omitempty"`
1695         // The language of the text, which will be the same as the language specified
1696         // in the request or, if not specified, the automatically-detected language.
1697         // See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details.
1698         Language string `protobuf:"bytes,2,opt,name=language" json:"language,omitempty"`
1699 }
1700
1701 func (m *AnalyzeEntitySentimentResponse) Reset()                    { *m = AnalyzeEntitySentimentResponse{} }
1702 func (m *AnalyzeEntitySentimentResponse) String() string            { return proto.CompactTextString(m) }
1703 func (*AnalyzeEntitySentimentResponse) ProtoMessage()               {}
1704 func (*AnalyzeEntitySentimentResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
1705
1706 func (m *AnalyzeEntitySentimentResponse) GetEntities() []*Entity {
1707         if m != nil {
1708                 return m.Entities
1709         }
1710         return nil
1711 }
1712
1713 func (m *AnalyzeEntitySentimentResponse) GetLanguage() string {
1714         if m != nil {
1715                 return m.Language
1716         }
1717         return ""
1718 }
1719
1720 // The entity analysis request message.
1721 type AnalyzeEntitiesRequest struct {
1722         // Input document.
1723         Document *Document `protobuf:"bytes,1,opt,name=document" json:"document,omitempty"`
1724         // The encoding type used by the API to calculate offsets.
1725         EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,enum=google.cloud.language.v1beta2.EncodingType" json:"encoding_type,omitempty"`
1726 }
1727
1728 func (m *AnalyzeEntitiesRequest) Reset()                    { *m = AnalyzeEntitiesRequest{} }
1729 func (m *AnalyzeEntitiesRequest) String() string            { return proto.CompactTextString(m) }
1730 func (*AnalyzeEntitiesRequest) ProtoMessage()               {}
1731 func (*AnalyzeEntitiesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
1732
1733 func (m *AnalyzeEntitiesRequest) GetDocument() *Document {
1734         if m != nil {
1735                 return m.Document
1736         }
1737         return nil
1738 }
1739
1740 func (m *AnalyzeEntitiesRequest) GetEncodingType() EncodingType {
1741         if m != nil {
1742                 return m.EncodingType
1743         }
1744         return EncodingType_NONE
1745 }
1746
1747 // The entity analysis response message.
1748 type AnalyzeEntitiesResponse struct {
1749         // The recognized entities in the input document.
1750         Entities []*Entity `protobuf:"bytes,1,rep,name=entities" json:"entities,omitempty"`
1751         // The language of the text, which will be the same as the language specified
1752         // in the request or, if not specified, the automatically-detected language.
1753         // See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details.
1754         Language string `protobuf:"bytes,2,opt,name=language" json:"language,omitempty"`
1755 }
1756
1757 func (m *AnalyzeEntitiesResponse) Reset()                    { *m = AnalyzeEntitiesResponse{} }
1758 func (m *AnalyzeEntitiesResponse) String() string            { return proto.CompactTextString(m) }
1759 func (*AnalyzeEntitiesResponse) ProtoMessage()               {}
1760 func (*AnalyzeEntitiesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
1761
1762 func (m *AnalyzeEntitiesResponse) GetEntities() []*Entity {
1763         if m != nil {
1764                 return m.Entities
1765         }
1766         return nil
1767 }
1768
1769 func (m *AnalyzeEntitiesResponse) GetLanguage() string {
1770         if m != nil {
1771                 return m.Language
1772         }
1773         return ""
1774 }
1775
1776 // The syntax analysis request message.
1777 type AnalyzeSyntaxRequest struct {
1778         // Input document.
1779         Document *Document `protobuf:"bytes,1,opt,name=document" json:"document,omitempty"`
1780         // The encoding type used by the API to calculate offsets.
1781         EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,enum=google.cloud.language.v1beta2.EncodingType" json:"encoding_type,omitempty"`
1782 }
1783
1784 func (m *AnalyzeSyntaxRequest) Reset()                    { *m = AnalyzeSyntaxRequest{} }
1785 func (m *AnalyzeSyntaxRequest) String() string            { return proto.CompactTextString(m) }
1786 func (*AnalyzeSyntaxRequest) ProtoMessage()               {}
1787 func (*AnalyzeSyntaxRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
1788
1789 func (m *AnalyzeSyntaxRequest) GetDocument() *Document {
1790         if m != nil {
1791                 return m.Document
1792         }
1793         return nil
1794 }
1795
1796 func (m *AnalyzeSyntaxRequest) GetEncodingType() EncodingType {
1797         if m != nil {
1798                 return m.EncodingType
1799         }
1800         return EncodingType_NONE
1801 }
1802
1803 // The syntax analysis response message.
1804 type AnalyzeSyntaxResponse struct {
1805         // Sentences in the input document.
1806         Sentences []*Sentence `protobuf:"bytes,1,rep,name=sentences" json:"sentences,omitempty"`
1807         // Tokens, along with their syntactic information, in the input document.
1808         Tokens []*Token `protobuf:"bytes,2,rep,name=tokens" json:"tokens,omitempty"`
1809         // The language of the text, which will be the same as the language specified
1810         // in the request or, if not specified, the automatically-detected language.
1811         // See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details.
1812         Language string `protobuf:"bytes,3,opt,name=language" json:"language,omitempty"`
1813 }
1814
1815 func (m *AnalyzeSyntaxResponse) Reset()                    { *m = AnalyzeSyntaxResponse{} }
1816 func (m *AnalyzeSyntaxResponse) String() string            { return proto.CompactTextString(m) }
1817 func (*AnalyzeSyntaxResponse) ProtoMessage()               {}
1818 func (*AnalyzeSyntaxResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
1819
1820 func (m *AnalyzeSyntaxResponse) GetSentences() []*Sentence {
1821         if m != nil {
1822                 return m.Sentences
1823         }
1824         return nil
1825 }
1826
1827 func (m *AnalyzeSyntaxResponse) GetTokens() []*Token {
1828         if m != nil {
1829                 return m.Tokens
1830         }
1831         return nil
1832 }
1833
1834 func (m *AnalyzeSyntaxResponse) GetLanguage() string {
1835         if m != nil {
1836                 return m.Language
1837         }
1838         return ""
1839 }
1840
1841 // The request message for the text annotation API, which can perform multiple
1842 // analysis types (sentiment, entities, and syntax) in one call.
1843 type AnnotateTextRequest struct {
1844         // Input document.
1845         Document *Document `protobuf:"bytes,1,opt,name=document" json:"document,omitempty"`
1846         // The enabled features.
1847         Features *AnnotateTextRequest_Features `protobuf:"bytes,2,opt,name=features" json:"features,omitempty"`
1848         // The encoding type used by the API to calculate offsets.
1849         EncodingType EncodingType `protobuf:"varint,3,opt,name=encoding_type,json=encodingType,enum=google.cloud.language.v1beta2.EncodingType" json:"encoding_type,omitempty"`
1850 }
1851
1852 func (m *AnnotateTextRequest) Reset()                    { *m = AnnotateTextRequest{} }
1853 func (m *AnnotateTextRequest) String() string            { return proto.CompactTextString(m) }
1854 func (*AnnotateTextRequest) ProtoMessage()               {}
1855 func (*AnnotateTextRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
1856
1857 func (m *AnnotateTextRequest) GetDocument() *Document {
1858         if m != nil {
1859                 return m.Document
1860         }
1861         return nil
1862 }
1863
1864 func (m *AnnotateTextRequest) GetFeatures() *AnnotateTextRequest_Features {
1865         if m != nil {
1866                 return m.Features
1867         }
1868         return nil
1869 }
1870
1871 func (m *AnnotateTextRequest) GetEncodingType() EncodingType {
1872         if m != nil {
1873                 return m.EncodingType
1874         }
1875         return EncodingType_NONE
1876 }
1877
1878 // All available features for sentiment, syntax, and semantic analysis.
1879 // Setting each one to true will enable that specific analysis for the input.
1880 type AnnotateTextRequest_Features struct {
1881         // Extract syntax information.
1882         ExtractSyntax bool `protobuf:"varint,1,opt,name=extract_syntax,json=extractSyntax" json:"extract_syntax,omitempty"`
1883         // Extract entities.
1884         ExtractEntities bool `protobuf:"varint,2,opt,name=extract_entities,json=extractEntities" json:"extract_entities,omitempty"`
1885         // Extract document-level sentiment.
1886         ExtractDocumentSentiment bool `protobuf:"varint,3,opt,name=extract_document_sentiment,json=extractDocumentSentiment" json:"extract_document_sentiment,omitempty"`
1887         // Extract entities and their associated sentiment.
1888         ExtractEntitySentiment bool `protobuf:"varint,4,opt,name=extract_entity_sentiment,json=extractEntitySentiment" json:"extract_entity_sentiment,omitempty"`
1889 }
1890
1891 func (m *AnnotateTextRequest_Features) Reset()         { *m = AnnotateTextRequest_Features{} }
1892 func (m *AnnotateTextRequest_Features) String() string { return proto.CompactTextString(m) }
1893 func (*AnnotateTextRequest_Features) ProtoMessage()    {}
1894 func (*AnnotateTextRequest_Features) Descriptor() ([]byte, []int) {
1895         return fileDescriptor0, []int{17, 0}
1896 }
1897
1898 func (m *AnnotateTextRequest_Features) GetExtractSyntax() bool {
1899         if m != nil {
1900                 return m.ExtractSyntax
1901         }
1902         return false
1903 }
1904
1905 func (m *AnnotateTextRequest_Features) GetExtractEntities() bool {
1906         if m != nil {
1907                 return m.ExtractEntities
1908         }
1909         return false
1910 }
1911
1912 func (m *AnnotateTextRequest_Features) GetExtractDocumentSentiment() bool {
1913         if m != nil {
1914                 return m.ExtractDocumentSentiment
1915         }
1916         return false
1917 }
1918
1919 func (m *AnnotateTextRequest_Features) GetExtractEntitySentiment() bool {
1920         if m != nil {
1921                 return m.ExtractEntitySentiment
1922         }
1923         return false
1924 }
1925
1926 // The text annotations response message.
1927 type AnnotateTextResponse struct {
1928         // Sentences in the input document. Populated if the user enables
1929         // [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax].
1930         Sentences []*Sentence `protobuf:"bytes,1,rep,name=sentences" json:"sentences,omitempty"`
1931         // Tokens, along with their syntactic information, in the input document.
1932         // Populated if the user enables
1933         // [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax].
1934         Tokens []*Token `protobuf:"bytes,2,rep,name=tokens" json:"tokens,omitempty"`
1935         // Entities, along with their semantic information, in the input document.
1936         // Populated if the user enables
1937         // [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entities].
1938         Entities []*Entity `protobuf:"bytes,3,rep,name=entities" json:"entities,omitempty"`
1939         // The overall sentiment for the document. Populated if the user enables
1940         // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_document_sentiment].
1941         DocumentSentiment *Sentiment `protobuf:"bytes,4,opt,name=document_sentiment,json=documentSentiment" json:"document_sentiment,omitempty"`
1942         // The language of the text, which will be the same as the language specified
1943         // in the request or, if not specified, the automatically-detected language.
1944         // See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details.
1945         Language string `protobuf:"bytes,5,opt,name=language" json:"language,omitempty"`
1946 }
1947
1948 func (m *AnnotateTextResponse) Reset()                    { *m = AnnotateTextResponse{} }
1949 func (m *AnnotateTextResponse) String() string            { return proto.CompactTextString(m) }
1950 func (*AnnotateTextResponse) ProtoMessage()               {}
1951 func (*AnnotateTextResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
1952
1953 func (m *AnnotateTextResponse) GetSentences() []*Sentence {
1954         if m != nil {
1955                 return m.Sentences
1956         }
1957         return nil
1958 }
1959
1960 func (m *AnnotateTextResponse) GetTokens() []*Token {
1961         if m != nil {
1962                 return m.Tokens
1963         }
1964         return nil
1965 }
1966
1967 func (m *AnnotateTextResponse) GetEntities() []*Entity {
1968         if m != nil {
1969                 return m.Entities
1970         }
1971         return nil
1972 }
1973
1974 func (m *AnnotateTextResponse) GetDocumentSentiment() *Sentiment {
1975         if m != nil {
1976                 return m.DocumentSentiment
1977         }
1978         return nil
1979 }
1980
1981 func (m *AnnotateTextResponse) GetLanguage() string {
1982         if m != nil {
1983                 return m.Language
1984         }
1985         return ""
1986 }
1987
1988 func init() {
1989         proto.RegisterType((*Document)(nil), "google.cloud.language.v1beta2.Document")
1990         proto.RegisterType((*Sentence)(nil), "google.cloud.language.v1beta2.Sentence")
1991         proto.RegisterType((*Entity)(nil), "google.cloud.language.v1beta2.Entity")
1992         proto.RegisterType((*Token)(nil), "google.cloud.language.v1beta2.Token")
1993         proto.RegisterType((*Sentiment)(nil), "google.cloud.language.v1beta2.Sentiment")
1994         proto.RegisterType((*PartOfSpeech)(nil), "google.cloud.language.v1beta2.PartOfSpeech")
1995         proto.RegisterType((*DependencyEdge)(nil), "google.cloud.language.v1beta2.DependencyEdge")
1996         proto.RegisterType((*EntityMention)(nil), "google.cloud.language.v1beta2.EntityMention")
1997         proto.RegisterType((*TextSpan)(nil), "google.cloud.language.v1beta2.TextSpan")
1998         proto.RegisterType((*AnalyzeSentimentRequest)(nil), "google.cloud.language.v1beta2.AnalyzeSentimentRequest")
1999         proto.RegisterType((*AnalyzeSentimentResponse)(nil), "google.cloud.language.v1beta2.AnalyzeSentimentResponse")
2000         proto.RegisterType((*AnalyzeEntitySentimentRequest)(nil), "google.cloud.language.v1beta2.AnalyzeEntitySentimentRequest")
2001         proto.RegisterType((*AnalyzeEntitySentimentResponse)(nil), "google.cloud.language.v1beta2.AnalyzeEntitySentimentResponse")
2002         proto.RegisterType((*AnalyzeEntitiesRequest)(nil), "google.cloud.language.v1beta2.AnalyzeEntitiesRequest")
2003         proto.RegisterType((*AnalyzeEntitiesResponse)(nil), "google.cloud.language.v1beta2.AnalyzeEntitiesResponse")
2004         proto.RegisterType((*AnalyzeSyntaxRequest)(nil), "google.cloud.language.v1beta2.AnalyzeSyntaxRequest")
2005         proto.RegisterType((*AnalyzeSyntaxResponse)(nil), "google.cloud.language.v1beta2.AnalyzeSyntaxResponse")
2006         proto.RegisterType((*AnnotateTextRequest)(nil), "google.cloud.language.v1beta2.AnnotateTextRequest")
2007         proto.RegisterType((*AnnotateTextRequest_Features)(nil), "google.cloud.language.v1beta2.AnnotateTextRequest.Features")
2008         proto.RegisterType((*AnnotateTextResponse)(nil), "google.cloud.language.v1beta2.AnnotateTextResponse")
2009         proto.RegisterEnum("google.cloud.language.v1beta2.EncodingType", EncodingType_name, EncodingType_value)
2010         proto.RegisterEnum("google.cloud.language.v1beta2.Document_Type", Document_Type_name, Document_Type_value)
2011         proto.RegisterEnum("google.cloud.language.v1beta2.Entity_Type", Entity_Type_name, Entity_Type_value)
2012         proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Tag", PartOfSpeech_Tag_name, PartOfSpeech_Tag_value)
2013         proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Aspect", PartOfSpeech_Aspect_name, PartOfSpeech_Aspect_value)
2014         proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Case", PartOfSpeech_Case_name, PartOfSpeech_Case_value)
2015         proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Form", PartOfSpeech_Form_name, PartOfSpeech_Form_value)
2016         proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Gender", PartOfSpeech_Gender_name, PartOfSpeech_Gender_value)
2017         proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Mood", PartOfSpeech_Mood_name, PartOfSpeech_Mood_value)
2018         proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Number", PartOfSpeech_Number_name, PartOfSpeech_Number_value)
2019         proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Person", PartOfSpeech_Person_name, PartOfSpeech_Person_value)
2020         proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Proper", PartOfSpeech_Proper_name, PartOfSpeech_Proper_value)
2021         proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Reciprocity", PartOfSpeech_Reciprocity_name, PartOfSpeech_Reciprocity_value)
2022         proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Tense", PartOfSpeech_Tense_name, PartOfSpeech_Tense_value)
2023         proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Voice", PartOfSpeech_Voice_name, PartOfSpeech_Voice_value)
2024         proto.RegisterEnum("google.cloud.language.v1beta2.DependencyEdge_Label", DependencyEdge_Label_name, DependencyEdge_Label_value)
2025         proto.RegisterEnum("google.cloud.language.v1beta2.EntityMention_Type", EntityMention_Type_name, EntityMention_Type_value)
2026 }
2027
2028 // Reference imports to suppress errors if they are not otherwise used.
2029 var _ context.Context
2030 var _ grpc.ClientConn
2031
2032 // This is a compile-time assertion to ensure that this generated file
2033 // is compatible with the grpc package it is being compiled against.
2034 const _ = grpc.SupportPackageIsVersion4
2035
2036 // Client API for LanguageService service
2037
2038 type LanguageServiceClient interface {
2039         // Analyzes the sentiment of the provided text.
2040         AnalyzeSentiment(ctx context.Context, in *AnalyzeSentimentRequest, opts ...grpc.CallOption) (*AnalyzeSentimentResponse, error)
2041         // Finds named entities (currently proper names and common nouns) in the text
2042         // along with entity types, salience, mentions for each entity, and
2043         // other properties.
2044         AnalyzeEntities(ctx context.Context, in *AnalyzeEntitiesRequest, opts ...grpc.CallOption) (*AnalyzeEntitiesResponse, error)
2045         // Finds entities, similar to [AnalyzeEntities][google.cloud.language.v1beta2.LanguageService.AnalyzeEntities] in the text and analyzes
2046         // sentiment associated with each entity and its mentions.
2047         AnalyzeEntitySentiment(ctx context.Context, in *AnalyzeEntitySentimentRequest, opts ...grpc.CallOption) (*AnalyzeEntitySentimentResponse, error)
2048         // Analyzes the syntax of the text and provides sentence boundaries and
2049         // tokenization along with part of speech tags, dependency trees, and other
2050         // properties.
2051         AnalyzeSyntax(ctx context.Context, in *AnalyzeSyntaxRequest, opts ...grpc.CallOption) (*AnalyzeSyntaxResponse, error)
2052         // A convenience method that provides all syntax, sentiment, and entity
2053         // features in one call.
2054         AnnotateText(ctx context.Context, in *AnnotateTextRequest, opts ...grpc.CallOption) (*AnnotateTextResponse, error)
2055 }
2056
2057 type languageServiceClient struct {
2058         cc *grpc.ClientConn
2059 }
2060
2061 func NewLanguageServiceClient(cc *grpc.ClientConn) LanguageServiceClient {
2062         return &languageServiceClient{cc}
2063 }
2064
2065 func (c *languageServiceClient) AnalyzeSentiment(ctx context.Context, in *AnalyzeSentimentRequest, opts ...grpc.CallOption) (*AnalyzeSentimentResponse, error) {
2066         out := new(AnalyzeSentimentResponse)
2067         err := grpc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/AnalyzeSentiment", in, out, c.cc, opts...)
2068         if err != nil {
2069                 return nil, err
2070         }
2071         return out, nil
2072 }
2073
2074 func (c *languageServiceClient) AnalyzeEntities(ctx context.Context, in *AnalyzeEntitiesRequest, opts ...grpc.CallOption) (*AnalyzeEntitiesResponse, error) {
2075         out := new(AnalyzeEntitiesResponse)
2076         err := grpc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/AnalyzeEntities", in, out, c.cc, opts...)
2077         if err != nil {
2078                 return nil, err
2079         }
2080         return out, nil
2081 }
2082
2083 func (c *languageServiceClient) AnalyzeEntitySentiment(ctx context.Context, in *AnalyzeEntitySentimentRequest, opts ...grpc.CallOption) (*AnalyzeEntitySentimentResponse, error) {
2084         out := new(AnalyzeEntitySentimentResponse)
2085         err := grpc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/AnalyzeEntitySentiment", in, out, c.cc, opts...)
2086         if err != nil {
2087                 return nil, err
2088         }
2089         return out, nil
2090 }
2091
2092 func (c *languageServiceClient) AnalyzeSyntax(ctx context.Context, in *AnalyzeSyntaxRequest, opts ...grpc.CallOption) (*AnalyzeSyntaxResponse, error) {
2093         out := new(AnalyzeSyntaxResponse)
2094         err := grpc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/AnalyzeSyntax", in, out, c.cc, opts...)
2095         if err != nil {
2096                 return nil, err
2097         }
2098         return out, nil
2099 }
2100
2101 func (c *languageServiceClient) AnnotateText(ctx context.Context, in *AnnotateTextRequest, opts ...grpc.CallOption) (*AnnotateTextResponse, error) {
2102         out := new(AnnotateTextResponse)
2103         err := grpc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/AnnotateText", in, out, c.cc, opts...)
2104         if err != nil {
2105                 return nil, err
2106         }
2107         return out, nil
2108 }
2109
2110 // Server API for LanguageService service
2111
2112 type LanguageServiceServer interface {
2113         // Analyzes the sentiment of the provided text.
2114         AnalyzeSentiment(context.Context, *AnalyzeSentimentRequest) (*AnalyzeSentimentResponse, error)
2115         // Finds named entities (currently proper names and common nouns) in the text
2116         // along with entity types, salience, mentions for each entity, and
2117         // other properties.
2118         AnalyzeEntities(context.Context, *AnalyzeEntitiesRequest) (*AnalyzeEntitiesResponse, error)
2119         // Finds entities, similar to [AnalyzeEntities][google.cloud.language.v1beta2.LanguageService.AnalyzeEntities] in the text and analyzes
2120         // sentiment associated with each entity and its mentions.
2121         AnalyzeEntitySentiment(context.Context, *AnalyzeEntitySentimentRequest) (*AnalyzeEntitySentimentResponse, error)
2122         // Analyzes the syntax of the text and provides sentence boundaries and
2123         // tokenization along with part of speech tags, dependency trees, and other
2124         // properties.
2125         AnalyzeSyntax(context.Context, *AnalyzeSyntaxRequest) (*AnalyzeSyntaxResponse, error)
2126         // A convenience method that provides all syntax, sentiment, and entity
2127         // features in one call.
2128         AnnotateText(context.Context, *AnnotateTextRequest) (*AnnotateTextResponse, error)
2129 }
2130
2131 func RegisterLanguageServiceServer(s *grpc.Server, srv LanguageServiceServer) {
2132         s.RegisterService(&_LanguageService_serviceDesc, srv)
2133 }
2134
2135 func _LanguageService_AnalyzeSentiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2136         in := new(AnalyzeSentimentRequest)
2137         if err := dec(in); err != nil {
2138                 return nil, err
2139         }
2140         if interceptor == nil {
2141                 return srv.(LanguageServiceServer).AnalyzeSentiment(ctx, in)
2142         }
2143         info := &grpc.UnaryServerInfo{
2144                 Server:     srv,
2145                 FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeSentiment",
2146         }
2147         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2148                 return srv.(LanguageServiceServer).AnalyzeSentiment(ctx, req.(*AnalyzeSentimentRequest))
2149         }
2150         return interceptor(ctx, in, info, handler)
2151 }
2152
2153 func _LanguageService_AnalyzeEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2154         in := new(AnalyzeEntitiesRequest)
2155         if err := dec(in); err != nil {
2156                 return nil, err
2157         }
2158         if interceptor == nil {
2159                 return srv.(LanguageServiceServer).AnalyzeEntities(ctx, in)
2160         }
2161         info := &grpc.UnaryServerInfo{
2162                 Server:     srv,
2163                 FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeEntities",
2164         }
2165         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2166                 return srv.(LanguageServiceServer).AnalyzeEntities(ctx, req.(*AnalyzeEntitiesRequest))
2167         }
2168         return interceptor(ctx, in, info, handler)
2169 }
2170
2171 func _LanguageService_AnalyzeEntitySentiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2172         in := new(AnalyzeEntitySentimentRequest)
2173         if err := dec(in); err != nil {
2174                 return nil, err
2175         }
2176         if interceptor == nil {
2177                 return srv.(LanguageServiceServer).AnalyzeEntitySentiment(ctx, in)
2178         }
2179         info := &grpc.UnaryServerInfo{
2180                 Server:     srv,
2181                 FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeEntitySentiment",
2182         }
2183         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2184                 return srv.(LanguageServiceServer).AnalyzeEntitySentiment(ctx, req.(*AnalyzeEntitySentimentRequest))
2185         }
2186         return interceptor(ctx, in, info, handler)
2187 }
2188
2189 func _LanguageService_AnalyzeSyntax_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2190         in := new(AnalyzeSyntaxRequest)
2191         if err := dec(in); err != nil {
2192                 return nil, err
2193         }
2194         if interceptor == nil {
2195                 return srv.(LanguageServiceServer).AnalyzeSyntax(ctx, in)
2196         }
2197         info := &grpc.UnaryServerInfo{
2198                 Server:     srv,
2199                 FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeSyntax",
2200         }
2201         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2202                 return srv.(LanguageServiceServer).AnalyzeSyntax(ctx, req.(*AnalyzeSyntaxRequest))
2203         }
2204         return interceptor(ctx, in, info, handler)
2205 }
2206
2207 func _LanguageService_AnnotateText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2208         in := new(AnnotateTextRequest)
2209         if err := dec(in); err != nil {
2210                 return nil, err
2211         }
2212         if interceptor == nil {
2213                 return srv.(LanguageServiceServer).AnnotateText(ctx, in)
2214         }
2215         info := &grpc.UnaryServerInfo{
2216                 Server:     srv,
2217                 FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnnotateText",
2218         }
2219         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2220                 return srv.(LanguageServiceServer).AnnotateText(ctx, req.(*AnnotateTextRequest))
2221         }
2222         return interceptor(ctx, in, info, handler)
2223 }
2224
2225 var _LanguageService_serviceDesc = grpc.ServiceDesc{
2226         ServiceName: "google.cloud.language.v1beta2.LanguageService",
2227         HandlerType: (*LanguageServiceServer)(nil),
2228         Methods: []grpc.MethodDesc{
2229                 {
2230                         MethodName: "AnalyzeSentiment",
2231                         Handler:    _LanguageService_AnalyzeSentiment_Handler,
2232                 },
2233                 {
2234                         MethodName: "AnalyzeEntities",
2235                         Handler:    _LanguageService_AnalyzeEntities_Handler,
2236                 },
2237                 {
2238                         MethodName: "AnalyzeEntitySentiment",
2239                         Handler:    _LanguageService_AnalyzeEntitySentiment_Handler,
2240                 },
2241                 {
2242                         MethodName: "AnalyzeSyntax",
2243                         Handler:    _LanguageService_AnalyzeSyntax_Handler,
2244                 },
2245                 {
2246                         MethodName: "AnnotateText",
2247                         Handler:    _LanguageService_AnnotateText_Handler,
2248                 },
2249         },
2250         Streams:  []grpc.StreamDesc{},
2251         Metadata: "google/cloud/language/v1beta2/language_service.proto",
2252 }
2253
2254 func init() {
2255         proto.RegisterFile("google/cloud/language/v1beta2/language_service.proto", fileDescriptor0)
2256 }
2257
2258 var fileDescriptor0 = []byte{
2259         // 2873 bytes of a gzipped FileDescriptorProto
2260         0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0x4d, 0x73, 0xdb, 0xc6,
2261         0xf9, 0x37, 0xf8, 0x26, 0x72, 0x29, 0xc9, 0x6b, 0xc4, 0x89, 0xf9, 0xd7, 0x3f, 0x2f, 0x0e, 0x12,
2262         0xd7, 0x8a, 0x9d, 0x50, 0xb1, 0xec, 0x38, 0xae, 0xed, 0xbc, 0x40, 0xc0, 0x92, 0x82, 0x4c, 0x02,
2263         0xc8, 0x02, 0xa0, 0xe5, 0x5c, 0x38, 0x30, 0xb9, 0x62, 0x38, 0x91, 0x00, 0x96, 0x80, 0x3c, 0x56,
2264         0x2f, 0x99, 0xc9, 0x4c, 0x8f, 0x99, 0x1e, 0x72, 0xe8, 0x07, 0xe8, 0xa1, 0xa7, 0x4e, 0x3a, 0xd3,
2265         0x99, 0x4e, 0xfb, 0x19, 0x7a, 0x4c, 0xa7, 0xa7, 0x1e, 0x7b, 0xec, 0xa1, 0x87, 0x1e, 0x7a, 0xec,
2266         0x3c, 0xbb, 0x0b, 0xbe, 0xc8, 0x8e, 0x25, 0x3a, 0x99, 0x4e, 0x7a, 0xdb, 0x7d, 0xf0, 0xfc, 0x9e,
2267         0x7d, 0xde, 0x9f, 0x05, 0x48, 0x74, 0x63, 0x10, 0xc7, 0x83, 0x7d, 0xb6, 0xd1, 0xdb, 0x8f, 0x0f,
2268         0xfb, 0x1b, 0xfb, 0x61, 0x34, 0x38, 0x0c, 0x07, 0x6c, 0xe3, 0xd1, 0xb5, 0x87, 0x2c, 0x0d, 0x37,
2269         0x27, 0x84, 0x6e, 0xc2, 0xc6, 0x8f, 0x86, 0x3d, 0x56, 0x1f, 0x8d, 0xe3, 0x34, 0x56, 0x5f, 0x11,
2270         0xa8, 0x3a, 0x47, 0xd5, 0x33, 0xa6, 0xba, 0x44, 0xad, 0xbd, 0x2c, 0x85, 0x86, 0xa3, 0xe1, 0x46,
2271         0x18, 0x45, 0x71, 0x1a, 0xa6, 0xc3, 0x38, 0x4a, 0x04, 0x78, 0xed, 0x0d, 0xf9, 0x74, 0x3f, 0x8e,
2272         0x06, 0xe3, 0xc3, 0x28, 0x1a, 0x46, 0x83, 0x8d, 0x78, 0xc4, 0xc6, 0x73, 0x4c, 0xaf, 0x49, 0x26,
2273         0xbe, 0x7b, 0x78, 0xb8, 0xb7, 0x91, 0x0e, 0x0f, 0x58, 0x92, 0x86, 0x07, 0x23, 0xc9, 0x70, 0x41,
2274         0x32, 0x8c, 0x47, 0xbd, 0x8d, 0x24, 0x0d, 0xd3, 0x43, 0x89, 0xd4, 0xfe, 0xa9, 0xa0, 0xb2, 0x19,
2275         0xf7, 0x0e, 0x0f, 0x58, 0x94, 0xaa, 0x1f, 0xa3, 0x42, 0x7a, 0x34, 0x62, 0x35, 0xe5, 0xa2, 0xb2,
2276         0xbe, 0xba, 0xf9, 0x76, 0xfd, 0x99, 0x7a, 0xd7, 0x33, 0x58, 0xdd, 0x3f, 0x1a, 0x31, 0xca, 0x91,
2277         0xea, 0x1a, 0x5a, 0xea, 0xc5, 0x51, 0xca, 0xa2, 0xb4, 0x96, 0xbb, 0xa8, 0xac, 0x57, 0xb6, 0xcf,
2278         0xd0, 0x8c, 0xa0, 0xae, 0xa3, 0xb3, 0x83, 0x5e, 0xd2, 0x95, 0xdb, 0xee, 0xe1, 0x78, 0x58, 0xcb,
2279         0x4b, 0x9e, 0x95, 0x41, 0x2f, 0x31, 0x04, 0x3d, 0x18, 0x0f, 0xd5, 0x35, 0x54, 0xce, 0x4e, 0xab,
2280         0x15, 0x80, 0x85, 0x4e, 0xf6, 0xda, 0x4d, 0x54, 0x80, 0xf3, 0xd4, 0xf3, 0x08, 0xfb, 0x0f, 0x5c,
2281         0xd2, 0x0d, 0x6c, 0xcf, 0x25, 0x86, 0xd5, 0xb0, 0x88, 0x89, 0xcf, 0xa8, 0xab, 0x08, 0xb9, 0x2d,
2282         0xdd, 0xb2, 0xbb, 0x3e, 0xd9, 0xf5, 0xb1, 0xa2, 0x96, 0x51, 0x61, 0xdb, 0x6f, 0xb7, 0x70, 0x6e,
2283         0xab, 0x8c, 0x4a, 0x49, 0x7c, 0x38, 0xee, 0x31, 0xed, 0x97, 0x0a, 0x2a, 0x7b, 0x0c, 0x0e, 0xeb,
2284         0x31, 0xf5, 0x0e, 0x2a, 0xa4, 0xec, 0x71, 0xca, 0x4d, 0xae, 0x6e, 0x5e, 0x3e, 0xc1, 0x64, 0x9f,
2285         0x3d, 0x4e, 0xbd, 0x51, 0x18, 0x51, 0x0e, 0x52, 0x1b, 0xa8, 0x92, 0xb0, 0x08, 0x7c, 0x2d, 0xed,
2286         0xad, 0x6e, 0xae, 0x9f, 0x20, 0xc1, 0xcb, 0xf8, 0xe9, 0x14, 0xaa, 0x7d, 0x5d, 0x40, 0x25, 0x12,
2287         0xa5, 0xc3, 0xf4, 0x48, 0x55, 0x51, 0x21, 0x0a, 0x0f, 0x44, 0x08, 0x2a, 0x94, 0xaf, 0xd5, 0x0f,
2288         0x65, 0x58, 0x72, 0x3c, 0x2c, 0x57, 0x4e, 0x38, 0x41, 0x08, 0x9a, 0x0d, 0x8a, 0x83, 0xca, 0x07,
2289         0x2c, 0x0d, 0xfb, 0x61, 0x1a, 0xd6, 0xf2, 0x17, 0xf3, 0xeb, 0xd5, 0xcd, 0xeb, 0xa7, 0x93, 0xd1,
2290         0x96, 0x28, 0x12, 0xa5, 0xe3, 0x23, 0x3a, 0x11, 0x02, 0xf1, 0x49, 0xc2, 0xfd, 0x21, 0x38, 0x90,
2291         0xc7, 0x27, 0x47, 0x27, 0x7b, 0x75, 0x1b, 0x0e, 0x8b, 0x78, 0x72, 0xd6, 0x8a, 0xfc, 0xb0, 0xb7,
2292         0x4f, 0x75, 0x58, 0x5b, 0x80, 0xe8, 0x04, 0x3d, 0xef, 0xdd, 0xd2, 0x73, 0x7b, 0x77, 0xed, 0x0e,
2293         0x5a, 0x99, 0x33, 0x44, 0xc5, 0x28, 0xff, 0x39, 0x3b, 0x92, 0x2e, 0x86, 0xa5, 0x7a, 0x1e, 0x15,
2294         0x1f, 0x85, 0xfb, 0x87, 0xc2, 0xc5, 0x15, 0x2a, 0x36, 0xb7, 0x73, 0xb7, 0x14, 0xed, 0x48, 0xa6,
2295         0x5b, 0x15, 0x2d, 0x05, 0xf6, 0x3d, 0xdb, 0xb9, 0x6f, 0xe3, 0x33, 0x2a, 0x42, 0x25, 0x97, 0x50,
2296         0xcf, 0xb1, 0xb1, 0xa2, 0x2e, 0xa3, 0x72, 0xcb, 0x31, 0x74, 0xdf, 0x72, 0x6c, 0x9c, 0x53, 0x31,
2297         0x5a, 0x76, 0x68, 0x53, 0xb7, 0xad, 0x4f, 0x05, 0x25, 0xaf, 0x56, 0x50, 0x91, 0x74, 0x88, 0xed,
2298         0xe3, 0x82, 0x7a, 0x16, 0x55, 0xef, 0x3b, 0xf4, 0x5e, 0xd7, 0x69, 0x74, 0x75, 0xea, 0xe3, 0xa2,
2299         0x7a, 0x0e, 0xad, 0x18, 0x8e, 0xed, 0x05, 0x6d, 0x42, 0xbb, 0x4d, 0xc7, 0x31, 0x71, 0x09, 0xd8,
2300         0x1d, 0x7f, 0x9b, 0x50, 0xbc, 0xa4, 0xfd, 0x22, 0x87, 0x8a, 0x7e, 0xfc, 0x39, 0x8b, 0xbe, 0x5f,
2301         0x92, 0x7e, 0x82, 0x56, 0x47, 0xe1, 0x38, 0xed, 0xc6, 0x7b, 0xdd, 0x64, 0xc4, 0x58, 0xef, 0x33,
2302         0x99, 0xa9, 0x57, 0x4f, 0x10, 0xe3, 0x86, 0xe3, 0xd4, 0xd9, 0xf3, 0x38, 0x84, 0x2e, 0x8f, 0x66,
2303         0x76, 0x6a, 0x07, 0x9d, 0xed, 0xb3, 0x11, 0x8b, 0xfa, 0x2c, 0xea, 0x1d, 0x75, 0x59, 0x7f, 0xc0,
2304         0x78, 0x25, 0x57, 0x37, 0xdf, 0x39, 0xa9, 0x65, 0x4c, 0x50, 0xa4, 0x3f, 0x60, 0x74, 0xb5, 0x3f,
2305         0xb7, 0x87, 0x30, 0xec, 0xb3, 0x83, 0x83, 0x50, 0x16, 0xbd, 0xd8, 0x68, 0x1f, 0xa1, 0xca, 0x24,
2306         0xae, 0xea, 0xcb, 0xa8, 0x72, 0x10, 0x0e, 0xa2, 0x61, 0x7a, 0xd8, 0x17, 0xd1, 0xca, 0xd1, 0x29,
2307         0x01, 0x04, 0x24, 0xbd, 0x78, 0x2c, 0xd4, 0xc9, 0x51, 0xb1, 0xd1, 0xfe, 0x74, 0x0e, 0x2d, 0xcf,
2308         0x5a, 0xa3, 0xea, 0x28, 0x9f, 0x86, 0x03, 0xd9, 0xe6, 0x36, 0x16, 0xf0, 0x43, 0xdd, 0x0f, 0x07,
2309         0x14, 0xb0, 0xea, 0x0e, 0x2a, 0x85, 0xc9, 0x88, 0xf5, 0x52, 0x59, 0x95, 0x9b, 0x8b, 0x48, 0xd1,
2310         0x39, 0x92, 0x4a, 0x09, 0xaa, 0x89, 0x0a, 0xbd, 0x30, 0x11, 0x4a, 0xaf, 0x6e, 0xbe, 0xbb, 0x88,
2311         0x24, 0x23, 0x4c, 0x18, 0xe5, 0x68, 0x90, 0xb2, 0x17, 0x8f, 0x0f, 0xb8, 0xef, 0x16, 0x94, 0xd2,
2312         0x88, 0xc7, 0x07, 0x94, 0xa3, 0xc1, 0xae, 0x01, 0x84, 0x64, 0x5c, 0x2b, 0x2e, 0x6e, 0x57, 0x93,
2313         0x23, 0xa9, 0x94, 0x00, 0x1a, 0x1d, 0xc4, 0x71, 0x9f, 0xd7, 0xee, 0x82, 0x1a, 0xb5, 0xe3, 0xb8,
2314         0x4f, 0x39, 0x1a, 0x34, 0x8a, 0x0e, 0x0f, 0x1e, 0xb2, 0x71, 0x6d, 0x69, 0x71, 0x8d, 0x6c, 0x8e,
2315         0xa4, 0x52, 0x02, 0xc8, 0x1a, 0xb1, 0x71, 0x12, 0x47, 0xb5, 0xf2, 0xe2, 0xb2, 0x5c, 0x8e, 0xa4,
2316         0x52, 0x02, 0x97, 0x35, 0x86, 0x49, 0x5c, 0xab, 0x3c, 0x87, 0x2c, 0x8e, 0xa4, 0x52, 0x82, 0xfa,
2317         0x00, 0x55, 0xc7, 0xac, 0x37, 0x1c, 0x8d, 0xe3, 0xde, 0x30, 0x3d, 0xaa, 0x21, 0x2e, 0xf0, 0xfd,
2318         0x45, 0x04, 0xd2, 0x29, 0x9c, 0xce, 0xca, 0x52, 0x9b, 0xa8, 0x98, 0xb2, 0x28, 0x61, 0xb5, 0x2a,
2319         0x17, 0x7a, 0x6d, 0xa1, 0x6c, 0x07, 0x20, 0x15, 0x78, 0x10, 0xf4, 0x28, 0x1e, 0xf6, 0x58, 0x6d,
2320         0x79, 0x71, 0x41, 0x1d, 0x00, 0x52, 0x81, 0xd7, 0xbe, 0x52, 0x50, 0xde, 0x0f, 0x07, 0xf3, 0x2d,
2321         0x75, 0x09, 0xe5, 0x75, 0x73, 0x07, 0x2b, 0x62, 0xe1, 0xe2, 0x9c, 0x58, 0x74, 0x70, 0x1e, 0x66,
2322         0xb8, 0xe1, 0xd8, 0x3b, 0xb8, 0x00, 0x24, 0x93, 0x40, 0xe3, 0x2c, 0xa3, 0x82, 0xed, 0x04, 0x36,
2323         0x2e, 0x01, 0xc9, 0x0e, 0xda, 0x78, 0x09, 0x48, 0x2e, 0x75, 0x6c, 0x5c, 0x06, 0x92, 0x4b, 0x7d,
2324         0x5c, 0x81, 0x5e, 0xea, 0x06, 0xb6, 0xe1, 0x63, 0x04, 0x4f, 0x3b, 0x84, 0x6e, 0xe1, 0xaa, 0x5a,
2325         0x44, 0xca, 0x2e, 0x5e, 0x86, 0x67, 0x7a, 0xa3, 0x61, 0xed, 0xe2, 0x15, 0xcd, 0x41, 0x25, 0x51,
2326         0x90, 0xaa, 0x8a, 0x56, 0x75, 0xb8, 0x4d, 0xf8, 0xdd, 0xa9, 0x62, 0x70, 0xa3, 0x20, 0xb4, 0x41,
2327         0x0c, 0xdf, 0xea, 0x10, 0xac, 0x40, 0x87, 0xb7, 0xda, 0x33, 0x94, 0x1c, 0xb4, 0x75, 0x97, 0x3a,
2328         0x4d, 0x4a, 0x3c, 0x0f, 0x08, 0x79, 0xed, 0xdf, 0x0a, 0x2a, 0x40, 0x61, 0x02, 0xaf, 0xa1, 0x7b,
2329         0x64, 0x5e, 0x9a, 0x6e, 0x18, 0x81, 0xa7, 0x4b, 0x69, 0x2b, 0xa8, 0xa2, 0x9b, 0xa0, 0x99, 0xa5,
2330         0xb7, 0x70, 0x4e, 0x0c, 0x84, 0xb6, 0xdb, 0x22, 0x6d, 0x62, 0x73, 0x8e, 0x3c, 0xcc, 0x1a, 0x53,
2331         0x70, 0x17, 0x60, 0xd6, 0x34, 0x89, 0x6d, 0xf1, 0x5d, 0x91, 0x6b, 0x62, 0x7b, 0x3e, 0x0d, 0x80,
2332         0x59, 0x6f, 0xe1, 0xd2, 0x74, 0x16, 0x75, 0x08, 0x5e, 0x82, 0xb3, 0x6c, 0xa7, 0x6d, 0xd9, 0x62,
2333         0x5f, 0x06, 0x7f, 0x3b, 0x5b, 0x2d, 0xeb, 0x93, 0x80, 0xe0, 0x0a, 0x1c, 0xec, 0xea, 0xd4, 0x17,
2334         0xb2, 0x10, 0x1c, 0xec, 0x52, 0xe2, 0x3a, 0x9e, 0x05, 0x63, 0x4b, 0x6f, 0xe1, 0x2a, 0x38, 0x83,
2335         0x92, 0x46, 0x8b, 0xec, 0x5a, 0x1d, 0xd2, 0x05, 0x33, 0xf0, 0x32, 0xb0, 0x51, 0xd2, 0xe2, 0x02,
2336         0x05, 0x69, 0x05, 0xce, 0xec, 0x64, 0x67, 0xae, 0x6a, 0xdf, 0x28, 0xa8, 0x00, 0xdd, 0x04, 0x94,
2337         0x6b, 0x38, 0xb4, 0x3d, 0x63, 0xfa, 0x32, 0x2a, 0xeb, 0x26, 0x28, 0xa4, 0xb7, 0xa4, 0xe1, 0xc1,
2338         0xae, 0xd5, 0xb2, 0x74, 0xfa, 0x00, 0xe7, 0xe0, 0xb0, 0x19, 0xc3, 0x3f, 0x25, 0x14, 0xe7, 0xb9,
2339         0x08, 0xcb, 0xd6, 0x5b, 0x5d, 0x62, 0x9b, 0x96, 0xdd, 0xc4, 0x05, 0xf0, 0x45, 0x93, 0xd0, 0xc0,
2340         0x36, 0x71, 0x11, 0xd6, 0x94, 0xe8, 0x2d, 0xcb, 0x13, 0x76, 0x5b, 0x54, 0xee, 0x96, 0x20, 0xb4,
2341         0xde, 0xb6, 0x43, 0x7d, 0x5c, 0x86, 0xb0, 0xb7, 0x1c, 0xbb, 0x29, 0x72, 0xc1, 0xa1, 0x26, 0xa1,
2342         0x18, 0x01, 0xb7, 0xbc, 0x32, 0x1a, 0xb8, 0xaa, 0x11, 0x54, 0x12, 0x6d, 0x0b, 0x74, 0x68, 0x12,
2343         0xdb, 0x24, 0x74, 0x5e, 0xe9, 0x06, 0x69, 0x5b, 0xb6, 0x65, 0xcb, 0x68, 0xb5, 0x75, 0xcf, 0x08,
2344         0x5a, 0xb0, 0xcd, 0x81, 0x0a, 0x36, 0x09, 0x7c, 0x50, 0x56, 0xfb, 0x02, 0x15, 0xa0, 0x67, 0x81,
2345         0xd2, 0x6d, 0xc7, 0x31, 0x67, 0x44, 0x9c, 0x47, 0xd8, 0x70, 0x6c, 0x53, 0x3a, 0xb6, 0x0b, 0x4f,
2346         0xb1, 0x02, 0xc1, 0xe1, 0x69, 0xa4, 0xcb, 0x24, 0x82, 0xbd, 0x6d, 0x5a, 0xd2, 0x91, 0x79, 0xf0,
2347         0xb4, 0x65, 0xfb, 0x84, 0x52, 0xa7, 0x99, 0x45, 0xbf, 0x8a, 0x96, 0x76, 0x02, 0x91, 0x63, 0x45,
2348         0x48, 0x3a, 0x2f, 0xd8, 0xda, 0x81, 0xf4, 0x06, 0x42, 0x49, 0xfb, 0x18, 0x95, 0x44, 0xb3, 0x03,
2349         0x3b, 0xec, 0xa0, 0xbd, 0x75, 0xdc, 0x0e, 0xcf, 0xb2, 0x9b, 0x41, 0x4b, 0xa7, 0x58, 0xe1, 0xf7,
2350         0x97, 0x56, 0x40, 0x79, 0xca, 0x95, 0x51, 0xc1, 0x0c, 0xf4, 0x16, 0xce, 0x6b, 0x3e, 0x2a, 0x89,
2351         0x16, 0x07, 0x12, 0xc4, 0xfd, 0x66, 0x46, 0x42, 0x05, 0x15, 0x1b, 0x16, 0xf5, 0x7c, 0x01, 0xf7,
2352         0x08, 0xd8, 0x84, 0x73, 0x40, 0xf6, 0xb7, 0x2d, 0x6a, 0xe2, 0x3c, 0x18, 0x3a, 0x4d, 0x18, 0x79,
2353         0x3f, 0x2a, 0x68, 0xb7, 0x50, 0x49, 0x34, 0x3b, 0x2e, 0x95, 0x3a, 0xee, 0x9c, 0x5e, 0xa0, 0x09,
2354         0xa7, 0x09, 0x97, 0xd8, 0x8e, 0xdf, 0x95, 0xfb, 0x9c, 0xb6, 0x83, 0xaa, 0x33, 0x5d, 0x4d, 0xbd,
2355         0x80, 0x5e, 0xa0, 0xc4, 0xb0, 0x5c, 0xea, 0x18, 0x96, 0xff, 0x60, 0xbe, 0xa6, 0xb2, 0x07, 0x3c,
2356         0xb5, 0xc0, 0x7e, 0xc7, 0xee, 0xce, 0xd0, 0x72, 0x5a, 0x82, 0x8a, 0xbc, 0x99, 0x81, 0x5f, 0x7d,
2357         0x62, 0xcf, 0xd5, 0xe4, 0x8b, 0xe8, 0xdc, 0x6c, 0x80, 0xf8, 0x63, 0x61, 0x65, 0x23, 0xf0, 0x03,
2358         0x4a, 0x84, 0x93, 0x5c, 0xdd, 0xf3, 0x71, 0x1e, 0x82, 0xe0, 0x52, 0xe2, 0x89, 0x0b, 0xdd, 0x0a,
2359         0xaa, 0x4c, 0x7a, 0x01, 0x2e, 0x8a, 0x97, 0x8f, 0x20, 0xdb, 0x97, 0xb4, 0x2d, 0x54, 0xe4, 0x8d,
2360         0x0f, 0x0e, 0xed, 0x38, 0x96, 0x41, 0xe6, 0x0d, 0xd7, 0x8d, 0x69, 0x13, 0x30, 0xf4, 0xac, 0x27,
2361         0xe4, 0xf8, 0x11, 0x7a, 0xd6, 0x4b, 0xfe, 0xb5, 0x84, 0x56, 0xe7, 0x6f, 0x4d, 0xea, 0x3a, 0xc2,
2362         0x9f, 0xb1, 0xb0, 0xdf, 0x4d, 0xe1, 0x6e, 0xd8, 0x1d, 0x46, 0x7d, 0xf6, 0x98, 0x5f, 0x65, 0x8a,
2363         0x74, 0x15, 0xe8, 0xfc, 0xca, 0x68, 0x01, 0x55, 0xb5, 0x50, 0x71, 0x3f, 0x7c, 0xc8, 0xf6, 0xe5,
2364         0x1d, 0xe5, 0xfa, 0x42, 0xb7, 0xb3, 0x7a, 0x0b, 0xa0, 0x54, 0x48, 0xd0, 0xfe, 0x51, 0x42, 0x45,
2365         0x4e, 0x78, 0xe2, 0x26, 0xac, 0x6f, 0x6d, 0x51, 0xd2, 0xc1, 0x0a, 0x6f, 0xa9, 0x50, 0xc4, 0x22,
2366         0x2b, 0x74, 0xb3, 0x63, 0xb4, 0x44, 0xff, 0xd2, 0xcd, 0x4e, 0xdb, 0x31, 0x71, 0x01, 0xdc, 0xa8,
2367         0xc3, 0xaa, 0xc8, 0x19, 0x5c, 0xd7, 0x81, 0xe2, 0x05, 0xa2, 0xef, 0x53, 0xbc, 0xc4, 0x3b, 0x7e,
2368         0xb0, 0x2b, 0x3a, 0x95, 0x1e, 0xec, 0x82, 0x13, 0x70, 0x45, 0x2d, 0xa1, 0x9c, 0x61, 0x60, 0x04,
2369         0x10, 0x83, 0x8b, 0xaf, 0x4e, 0x26, 0x02, 0x6f, 0xe3, 0x06, 0xd4, 0x01, 0x5e, 0xe1, 0x5e, 0x84,
2370         0x25, 0x87, 0xad, 0x8a, 0x59, 0xe1, 0xe2, 0xb3, 0xd9, 0xd0, 0xc0, 0xc0, 0x60, 0x5a, 0x9e, 0xe1,
2371         0x04, 0xd4, 0x23, 0xf8, 0x1c, 0x4f, 0x7c, 0x67, 0x6b, 0x07, 0xab, 0xb0, 0x22, 0xbb, 0x6e, 0x0b,
2372         0xbf, 0xc0, 0x1b, 0xac, 0x43, 0xbc, 0xfb, 0x96, 0xbf, 0x8d, 0xcf, 0x03, 0xdd, 0x02, 0x8e, 0x17,
2373         0x61, 0xd5, 0xd6, 0xe9, 0x3d, 0xfc, 0x12, 0x48, 0x6b, 0xdf, 0x27, 0xf8, 0x82, 0x58, 0x74, 0x70,
2374         0x8d, 0x4f, 0x20, 0xd2, 0xc4, 0xff, 0x07, 0x8a, 0xda, 0x36, 0x5e, 0x03, 0x21, 0xb6, 0x2b, 0x6d,
2375         0xfe, 0x7f, 0xd0, 0xd0, 0xe6, 0x1a, 0xbe, 0x0c, 0x0a, 0xd8, 0x13, 0x0d, 0x5f, 0xc9, 0x46, 0xd7,
2376         0xab, 0xbc, 0x8f, 0xf0, 0x82, 0xc5, 0xaf, 0xc1, 0x78, 0x72, 0xf1, 0x45, 0xd9, 0x9e, 0x75, 0x5f,
2377         0xdf, 0xb5, 0x3c, 0xfc, 0xba, 0x48, 0x09, 0xea, 0x83, 0x44, 0x8d, 0x8f, 0x35, 0xee, 0x88, 0x37,
2378         0x78, 0x5e, 0x82, 0x86, 0x6f, 0x8a, 0x95, 0xe7, 0xe1, 0x4b, 0x9c, 0xd7, 0xf1, 0x7c, 0xd0, 0xe9,
2379         0x27, 0x32, 0x5d, 0x39, 0xf7, 0xe5, 0xc9, 0xc6, 0xde, 0xc1, 0xeb, 0xa2, 0xf2, 0x08, 0x78, 0xe6,
2380         0x2d, 0x31, 0x3b, 0x49, 0x03, 0x5f, 0x91, 0x2b, 0x17, 0x5f, 0xe5, 0xa7, 0x50, 0xc7, 0x6e, 0xe1,
2381         0xb7, 0xb3, 0x81, 0xfa, 0x0e, 0x58, 0xe8, 0x7a, 0xb8, 0x0e, 0x16, 0x7e, 0x12, 0xe8, 0x36, 0xd7,
2382         0x67, 0x03, 0x38, 0xa9, 0x01, 0xcb, 0x77, 0xe1, 0x01, 0x5f, 0x52, 0xd2, 0xc2, 0xd7, 0xf8, 0x03,
2383         0x93, 0x3a, 0x2e, 0xde, 0x04, 0x11, 0x70, 0xc0, 0x75, 0xd0, 0x81, 0x92, 0xb6, 0xad, 0xdb, 0x3e,
2384         0xbe, 0x21, 0x2a, 0x17, 0xec, 0xb4, 0xcd, 0xa0, 0x8d, 0xdf, 0x83, 0xd3, 0xa9, 0xe3, 0xf8, 0xf8,
2385         0x26, 0xac, 0x3c, 0x70, 0xce, 0xfb, 0x7c, 0x15, 0x34, 0x1a, 0xf8, 0x16, 0xac, 0xf8, 0x89, 0x3f,
2386         0xe5, 0x4d, 0xc7, 0x71, 0x2d, 0x03, 0xdf, 0xe6, 0x83, 0x1d, 0x88, 0x77, 0xe6, 0x06, 0xd1, 0x5d,
2387         0x60, 0xd9, 0xe5, 0x66, 0x7f, 0xc0, 0xdb, 0x55, 0xc0, 0x67, 0xfd, 0x87, 0x1c, 0x69, 0xf9, 0x2d,
2388         0x82, 0x3f, 0x12, 0xf3, 0xa8, 0xe3, 0x6e, 0x03, 0xfa, 0x63, 0x99, 0x72, 0x50, 0x86, 0x58, 0xe7,
2389         0xd9, 0x19, 0xec, 0x76, 0x3a, 0x78, 0x0b, 0x96, 0x26, 0x3f, 0xd5, 0x00, 0x96, 0x86, 0x43, 0x89,
2390         0xd5, 0xb4, 0xb1, 0x09, 0xae, 0xb8, 0x77, 0x1f, 0x13, 0x3e, 0x61, 0x2c, 0xcf, 0xc7, 0x0d, 0x71,
2391         0x27, 0x69, 0x1b, 0xb8, 0xc9, 0x13, 0xc0, 0x69, 0x8b, 0xbc, 0xdc, 0x86, 0x89, 0x90, 0xed, 0x78,
2392         0xe0, 0x2d, 0xce, 0x19, 0xb4, 0x0d, 0xbc, 0x03, 0x6e, 0x31, 0x1c, 0x17, 0xdf, 0x03, 0x4f, 0x98,
2393         0x96, 0xc7, 0x87, 0x37, 0x31, 0x71, 0x4b, 0xfb, 0x2a, 0x87, 0x56, 0xe6, 0xde, 0x8b, 0xbf, 0xdf,
2394         0x3b, 0x20, 0x99, 0xfb, 0x82, 0x70, 0x6d, 0x91, 0x17, 0xf2, 0xd9, 0x0f, 0x09, 0x73, 0x6f, 0xe4,
2395         0xf9, 0xe7, 0xff, 0xde, 0xf1, 0xae, 0x7c, 0xa9, 0xc6, 0x68, 0x59, 0x7e, 0xc3, 0x79, 0xda, 0x3c,
2396         0x40, 0xa8, 0x64, 0x38, 0xed, 0x36, 0xbc, 0x57, 0x6b, 0x4d, 0x54, 0xce, 0x4c, 0x52, 0x6b, 0xd3,
2397         0x6f, 0x4c, 0xe2, 0x15, 0x7e, 0xf2, 0x85, 0xe9, 0x75, 0xb4, 0xfc, 0x90, 0x0d, 0x86, 0x51, 0x37,
2398         0xde, 0xdb, 0x4b, 0x98, 0x78, 0x35, 0x2b, 0xd2, 0x2a, 0xa7, 0x39, 0x9c, 0xa4, 0xfd, 0x4e, 0x41,
2399         0x17, 0xf4, 0x28, 0xdc, 0x3f, 0xfa, 0x39, 0x9b, 0xaa, 0xc6, 0x7e, 0x76, 0xc8, 0x92, 0x54, 0x35,
2400         0x50, 0xb9, 0x2f, 0xbf, 0x69, 0x9d, 0xd2, 0xcd, 0xd9, 0x27, 0x30, 0x3a, 0x01, 0xaa, 0x2e, 0x5a,
2401         0x61, 0x51, 0x2f, 0xee, 0x0f, 0xa3, 0x41, 0x77, 0xc6, 0xe7, 0x57, 0x4f, 0xf4, 0xb9, 0xc0, 0x70,
2402         0x6f, 0x2f, 0xb3, 0x99, 0x9d, 0xf6, 0x57, 0x05, 0xd5, 0x9e, 0x54, 0x39, 0x19, 0xc5, 0x30, 0xcf,
2403         0xee, 0x23, 0x35, 0x3b, 0xba, 0x3b, 0x8d, 0x8d, 0xb2, 0x60, 0x6c, 0xce, 0x65, 0x32, 0xa6, 0x2f,
2404         0xda, 0xb3, 0xdf, 0xe0, 0x72, 0xf3, 0xdf, 0xe0, 0x54, 0x22, 0xf2, 0x80, 0x45, 0x3d, 0x96, 0xc8,
2405         0x2f, 0x4a, 0x97, 0x4f, 0x71, 0x16, 0xf0, 0xd3, 0x29, 0x52, 0xfb, 0x83, 0x82, 0x5e, 0x91, 0x86,
2406         0x89, 0x94, 0xfb, 0x5f, 0x89, 0xc8, 0x17, 0xe8, 0xd5, 0xef, 0xd2, 0x5b, 0x86, 0x45, 0x47, 0x65,
2407         0xa0, 0xa5, 0x43, 0x96, 0xd4, 0x14, 0xee, 0xa0, 0x4b, 0xa7, 0x2a, 0x3a, 0x3a, 0x81, 0x3d, 0x2b,
2408         0x00, 0x70, 0xcd, 0x7e, 0x69, 0x56, 0x83, 0x21, 0x4b, 0x7e, 0xe4, 0x2e, 0x7b, 0x3c, 0x29, 0xbb,
2409         0xa9, 0xc2, 0xff, 0x1d, 0x5f, 0xfd, 0x56, 0x41, 0xe7, 0xb3, 0xf2, 0x39, 0x8a, 0xd2, 0xf0, 0xf1,
2410         0x8f, 0xdc, 0x53, 0x7f, 0x54, 0xd0, 0x8b, 0xc7, 0xf4, 0x95, 0x8e, 0x9a, 0x2b, 0x3b, 0xe5, 0x79,
2411         0xcb, 0x4e, 0xbd, 0x8b, 0x4a, 0xfc, 0xea, 0x98, 0xd4, 0x72, 0x5c, 0xc6, 0x9b, 0x27, 0xcd, 0x12,
2412         0x60, 0xa6, 0x12, 0x33, 0xe7, 0xea, 0xfc, 0x31, 0x57, 0xff, 0x2d, 0x8f, 0x5e, 0xd0, 0xc5, 0x2f,
2413         0x18, 0x0c, 0xda, 0xf5, 0x0f, 0xea, 0xe9, 0xfb, 0xa8, 0xbc, 0xc7, 0xc2, 0xf4, 0x70, 0xcc, 0x12,
2414         0xf9, 0x05, 0xf3, 0xce, 0x09, 0x42, 0x9e, 0xa2, 0x4a, 0xbd, 0x21, 0x45, 0xd0, 0x89, 0xb0, 0x27,
2415         0x43, 0x98, 0xff, 0x9e, 0x21, 0x5c, 0xfb, 0x8b, 0x82, 0xca, 0xd9, 0x41, 0xea, 0x25, 0xb4, 0xca,
2416         0x1e, 0xa7, 0xe3, 0xb0, 0x97, 0x76, 0x13, 0x1e, 0x4f, 0xee, 0x82, 0x32, 0x5d, 0x91, 0x54, 0x11,
2417         0x64, 0xf5, 0x2d, 0x84, 0x33, 0xb6, 0x49, 0x35, 0xe4, 0x38, 0xe3, 0x59, 0x49, 0xcf, 0x0a, 0x47,
2418         0xbd, 0x8b, 0xd6, 0x32, 0xd6, 0xa7, 0xf4, 0xfe, 0x3c, 0x07, 0xd5, 0x24, 0x87, 0xf9, 0x44, 0x63,
2419         0xbf, 0x85, 0x6a, 0x73, 0x07, 0x1d, 0xcd, 0x60, 0x0b, 0x1c, 0xfb, 0xd2, 0xec, 0x81, 0xd3, 0xe6,
2420         0xa6, 0x7d, 0x9b, 0x83, 0x4a, 0x9a, 0xf5, 0xe9, 0x8f, 0x29, 0x31, 0x67, 0xdb, 0x48, 0xfe, 0xf9,
2421         0xda, 0xc8, 0xd3, 0x87, 0x69, 0xe1, 0x87, 0x1d, 0xa6, 0xc5, 0xf9, 0xa2, 0xb9, 0x72, 0x0b, 0x2d,
2422         0xcf, 0xa6, 0x92, 0xb8, 0x47, 0xda, 0x04, 0x9f, 0x81, 0x55, 0xe0, 0x37, 0x6e, 0x89, 0x57, 0xab,
2423         0xc0, 0x6f, 0x5c, 0xbb, 0x29, 0x5e, 0xad, 0x02, 0xbf, 0x71, 0x7d, 0x13, 0xe7, 0x37, 0x7f, 0xb5,
2424         0x84, 0xce, 0xb6, 0xa4, 0x18, 0x4f, 0xfc, 0xe2, 0xa8, 0xfe, 0x5e, 0x41, 0xf8, 0xf8, 0x65, 0x41,
2425         0xbd, 0x79, 0x62, 0xa1, 0x3c, 0xf5, 0x42, 0xb4, 0xf6, 0xfe, 0xc2, 0x38, 0x91, 0x10, 0x5a, 0xfd,
2426         0xcb, 0x6f, 0xff, 0xfe, 0x75, 0x6e, 0x5d, 0x7b, 0x63, 0xf2, 0xd3, 0x68, 0xe6, 0x93, 0xe4, 0x76,
2427         0x78, 0x0c, 0x74, 0x5b, 0xb9, 0xa2, 0x7e, 0xa3, 0xa0, 0xb3, 0xc7, 0xc6, 0x83, 0xfa, 0xde, 0xe9,
2428         0x0e, 0x3f, 0x36, 0xff, 0xd6, 0x6e, 0x2e, 0x0a, 0x93, 0x2a, 0xbf, 0xc3, 0x55, 0xbe, 0xac, 0x69,
2429         0xdf, 0xad, 0x72, 0x86, 0x01, 0x8d, 0xff, 0x7c, 0x6c, 0x02, 0x4f, 0xcb, 0x44, 0xbd, 0xbb, 0x80,
2430         0x06, 0x4f, 0x5c, 0x79, 0xd6, 0x3e, 0x78, 0x4e, 0xb4, 0x34, 0xe3, 0x06, 0x37, 0xa3, 0xae, 0xbd,
2431         0x75, 0x82, 0x19, 0x47, 0x73, 0xfe, 0xff, 0x8d, 0x82, 0x56, 0xe6, 0x66, 0x8e, 0x7a, 0xfd, 0x94,
2432         0xa1, 0x9f, 0x9d, 0xa8, 0x6b, 0x37, 0x16, 0x03, 0x49, 0x95, 0xaf, 0x72, 0x95, 0x2f, 0x69, 0x17,
2433         0x9f, 0x91, 0x2c, 0x1c, 0x01, 0x9a, 0xfe, 0x5a, 0x41, 0xcb, 0xb3, 0x3d, 0x48, 0xdd, 0x5c, 0x7c,
2434         0x08, 0xac, 0x5d, 0x5f, 0x08, 0x23, 0xd5, 0xbc, 0xc2, 0xd5, 0x7c, 0x53, 0x7b, 0xed, 0xa9, 0x6a,
2435         0x4e, 0x01, 0xb7, 0x95, 0x2b, 0x5b, 0x5f, 0x2a, 0xe8, 0xf5, 0x5e, 0x7c, 0xf0, 0xec, 0x63, 0xb6,
2436         0xce, 0x1f, 0x2b, 0x5e, 0x77, 0x1c, 0xa7, 0xb1, 0xab, 0x7c, 0x4a, 0x24, 0x6c, 0x10, 0x03, 0xa4,
2437         0x1e, 0x8f, 0x07, 0x1b, 0x03, 0x16, 0xf1, 0xdf, 0xeb, 0x37, 0xc4, 0xa3, 0x70, 0x34, 0x4c, 0xbe,
2438         0xe3, 0x4f, 0x08, 0x77, 0x32, 0xc2, 0xc3, 0x12, 0x47, 0x5c, 0xff, 0x4f, 0x00, 0x00, 0x00, 0xff,
2439         0xff, 0x55, 0xc3, 0xe3, 0x00, 0xb5, 0x20, 0x00, 0x00,
2440 }