1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/cloud/language/v1beta2/language_service.proto
5 Package language is a generated protocol buffer package.
7 It is generated from these files:
8 google/cloud/language/v1beta2/language_service.proto
10 It has these top-level messages:
20 AnalyzeSentimentRequest
21 AnalyzeSentimentResponse
22 AnalyzeEntitySentimentRequest
23 AnalyzeEntitySentimentResponse
24 AnalyzeEntitiesRequest
25 AnalyzeEntitiesResponse
33 import proto "github.com/golang/protobuf/proto"
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"
42 context "golang.org/x/net/context"
43 grpc "google.golang.org/grpc"
46 // Reference imports to suppress errors if they are not otherwise used.
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
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
62 type EncodingType int32
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
82 var EncodingType_name = map[int32]string{
88 var EncodingType_value = map[string]int32{
95 func (x EncodingType) String() string {
96 return proto.EnumName(EncodingType_name, int32(x))
98 func (EncodingType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
100 // The document types enum.
101 type Document_Type int32
104 // The content type is not specified.
105 Document_TYPE_UNSPECIFIED Document_Type = 0
107 Document_PLAIN_TEXT Document_Type = 1
109 Document_HTML Document_Type = 2
112 var Document_Type_name = map[int32]string{
113 0: "TYPE_UNSPECIFIED",
117 var Document_Type_value = map[string]int32{
118 "TYPE_UNSPECIFIED": 0,
123 func (x Document_Type) String() string {
124 return proto.EnumName(Document_Type_name, int32(x))
126 func (Document_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
128 // The type of the entity.
129 type Entity_Type int32
133 Entity_UNKNOWN Entity_Type = 0
135 Entity_PERSON Entity_Type = 1
137 Entity_LOCATION Entity_Type = 2
139 Entity_ORGANIZATION Entity_Type = 3
141 Entity_EVENT Entity_Type = 4
143 Entity_WORK_OF_ART Entity_Type = 5
145 Entity_CONSUMER_GOOD Entity_Type = 6
147 Entity_OTHER Entity_Type = 7
150 var Entity_Type_name = map[int32]string{
160 var Entity_Type_value = map[string]int32{
171 func (x Entity_Type) String() string {
172 return proto.EnumName(Entity_Type_name, int32(x))
174 func (Entity_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
176 // The part of speech tags enum.
177 type PartOfSpeech_Tag int32
181 PartOfSpeech_UNKNOWN PartOfSpeech_Tag = 0
183 PartOfSpeech_ADJ PartOfSpeech_Tag = 1
184 // Adposition (preposition and postposition)
185 PartOfSpeech_ADP PartOfSpeech_Tag = 2
187 PartOfSpeech_ADV PartOfSpeech_Tag = 3
189 PartOfSpeech_CONJ PartOfSpeech_Tag = 4
191 PartOfSpeech_DET PartOfSpeech_Tag = 5
192 // Noun (common and proper)
193 PartOfSpeech_NOUN PartOfSpeech_Tag = 6
195 PartOfSpeech_NUM PartOfSpeech_Tag = 7
197 PartOfSpeech_PRON PartOfSpeech_Tag = 8
198 // Particle or other function word
199 PartOfSpeech_PRT PartOfSpeech_Tag = 9
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
207 PartOfSpeech_AFFIX PartOfSpeech_Tag = 13
210 var PartOfSpeech_Tag_name = map[int32]string{
226 var PartOfSpeech_Tag_value = map[string]int32{
243 func (x PartOfSpeech_Tag) String() string {
244 return proto.EnumName(PartOfSpeech_Tag_name, int32(x))
246 func (PartOfSpeech_Tag) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 0} }
248 // The characteristic of a verb that expresses time flow during an event.
249 type PartOfSpeech_Aspect int32
252 // Aspect is not applicable in the analyzed language or is not predicted.
253 PartOfSpeech_ASPECT_UNKNOWN PartOfSpeech_Aspect = 0
255 PartOfSpeech_PERFECTIVE PartOfSpeech_Aspect = 1
257 PartOfSpeech_IMPERFECTIVE PartOfSpeech_Aspect = 2
259 PartOfSpeech_PROGRESSIVE PartOfSpeech_Aspect = 3
262 var PartOfSpeech_Aspect_name = map[int32]string{
268 var PartOfSpeech_Aspect_value = map[string]int32{
275 func (x PartOfSpeech_Aspect) String() string {
276 return proto.EnumName(PartOfSpeech_Aspect_name, int32(x))
278 func (PartOfSpeech_Aspect) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 1} }
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
286 // Case is not applicable in the analyzed language or is not predicted.
287 PartOfSpeech_CASE_UNKNOWN PartOfSpeech_Case = 0
289 PartOfSpeech_ACCUSATIVE PartOfSpeech_Case = 1
291 PartOfSpeech_ADVERBIAL PartOfSpeech_Case = 2
293 PartOfSpeech_COMPLEMENTIVE PartOfSpeech_Case = 3
295 PartOfSpeech_DATIVE PartOfSpeech_Case = 4
297 PartOfSpeech_GENITIVE PartOfSpeech_Case = 5
299 PartOfSpeech_INSTRUMENTAL PartOfSpeech_Case = 6
301 PartOfSpeech_LOCATIVE PartOfSpeech_Case = 7
303 PartOfSpeech_NOMINATIVE PartOfSpeech_Case = 8
305 PartOfSpeech_OBLIQUE PartOfSpeech_Case = 9
307 PartOfSpeech_PARTITIVE PartOfSpeech_Case = 10
309 PartOfSpeech_PREPOSITIONAL PartOfSpeech_Case = 11
311 PartOfSpeech_REFLEXIVE_CASE PartOfSpeech_Case = 12
313 PartOfSpeech_RELATIVE_CASE PartOfSpeech_Case = 13
315 PartOfSpeech_VOCATIVE PartOfSpeech_Case = 14
318 var PartOfSpeech_Case_name = map[int32]string{
331 12: "REFLEXIVE_CASE",
335 var PartOfSpeech_Case_value = map[string]int32{
348 "REFLEXIVE_CASE": 12,
353 func (x PartOfSpeech_Case) String() string {
354 return proto.EnumName(PartOfSpeech_Case_name, int32(x))
356 func (PartOfSpeech_Case) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 2} }
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
365 // Form is not applicable in the analyzed language or is not predicted.
366 PartOfSpeech_FORM_UNKNOWN PartOfSpeech_Form = 0
368 PartOfSpeech_ADNOMIAL PartOfSpeech_Form = 1
370 PartOfSpeech_AUXILIARY PartOfSpeech_Form = 2
372 PartOfSpeech_COMPLEMENTIZER PartOfSpeech_Form = 3
374 PartOfSpeech_FINAL_ENDING PartOfSpeech_Form = 4
376 PartOfSpeech_GERUND PartOfSpeech_Form = 5
378 PartOfSpeech_REALIS PartOfSpeech_Form = 6
380 PartOfSpeech_IRREALIS PartOfSpeech_Form = 7
382 PartOfSpeech_SHORT PartOfSpeech_Form = 8
384 PartOfSpeech_LONG PartOfSpeech_Form = 9
386 PartOfSpeech_ORDER PartOfSpeech_Form = 10
388 PartOfSpeech_SPECIFIC PartOfSpeech_Form = 11
391 var PartOfSpeech_Form_name = map[int32]string{
405 var PartOfSpeech_Form_value = map[string]int32{
420 func (x PartOfSpeech_Form) String() string {
421 return proto.EnumName(PartOfSpeech_Form_name, int32(x))
423 func (PartOfSpeech_Form) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 3} }
425 // Gender classes of nouns reflected in the behaviour of associated words.
426 type PartOfSpeech_Gender int32
429 // Gender is not applicable in the analyzed language or is not predicted.
430 PartOfSpeech_GENDER_UNKNOWN PartOfSpeech_Gender = 0
432 PartOfSpeech_FEMININE PartOfSpeech_Gender = 1
434 PartOfSpeech_MASCULINE PartOfSpeech_Gender = 2
436 PartOfSpeech_NEUTER PartOfSpeech_Gender = 3
439 var PartOfSpeech_Gender_name = map[int32]string{
445 var PartOfSpeech_Gender_value = map[string]int32{
452 func (x PartOfSpeech_Gender) String() string {
453 return proto.EnumName(PartOfSpeech_Gender_name, int32(x))
455 func (PartOfSpeech_Gender) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 4} }
457 // The grammatical feature of verbs, used for showing modality and attitude.
458 type PartOfSpeech_Mood int32
461 // Mood is not applicable in the analyzed language or is not predicted.
462 PartOfSpeech_MOOD_UNKNOWN PartOfSpeech_Mood = 0
464 PartOfSpeech_CONDITIONAL_MOOD PartOfSpeech_Mood = 1
466 PartOfSpeech_IMPERATIVE PartOfSpeech_Mood = 2
468 PartOfSpeech_INDICATIVE PartOfSpeech_Mood = 3
470 PartOfSpeech_INTERROGATIVE PartOfSpeech_Mood = 4
472 PartOfSpeech_JUSSIVE PartOfSpeech_Mood = 5
474 PartOfSpeech_SUBJUNCTIVE PartOfSpeech_Mood = 6
477 var PartOfSpeech_Mood_name = map[int32]string{
479 1: "CONDITIONAL_MOOD",
486 var PartOfSpeech_Mood_value = map[string]int32{
488 "CONDITIONAL_MOOD": 1,
496 func (x PartOfSpeech_Mood) String() string {
497 return proto.EnumName(PartOfSpeech_Mood_name, int32(x))
499 func (PartOfSpeech_Mood) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 5} }
501 // Count distinctions.
502 type PartOfSpeech_Number int32
505 // Number is not applicable in the analyzed language or is not predicted.
506 PartOfSpeech_NUMBER_UNKNOWN PartOfSpeech_Number = 0
508 PartOfSpeech_SINGULAR PartOfSpeech_Number = 1
510 PartOfSpeech_PLURAL PartOfSpeech_Number = 2
512 PartOfSpeech_DUAL PartOfSpeech_Number = 3
515 var PartOfSpeech_Number_name = map[int32]string{
521 var PartOfSpeech_Number_value = map[string]int32{
528 func (x PartOfSpeech_Number) String() string {
529 return proto.EnumName(PartOfSpeech_Number_name, int32(x))
531 func (PartOfSpeech_Number) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 6} }
533 // The distinction between the speaker, second person, third person, etc.
534 type PartOfSpeech_Person int32
537 // Person is not applicable in the analyzed language or is not predicted.
538 PartOfSpeech_PERSON_UNKNOWN PartOfSpeech_Person = 0
540 PartOfSpeech_FIRST PartOfSpeech_Person = 1
542 PartOfSpeech_SECOND PartOfSpeech_Person = 2
544 PartOfSpeech_THIRD PartOfSpeech_Person = 3
546 PartOfSpeech_REFLEXIVE_PERSON PartOfSpeech_Person = 4
549 var PartOfSpeech_Person_name = map[int32]string{
554 4: "REFLEXIVE_PERSON",
556 var PartOfSpeech_Person_value = map[string]int32{
561 "REFLEXIVE_PERSON": 4,
564 func (x PartOfSpeech_Person) String() string {
565 return proto.EnumName(PartOfSpeech_Person_name, int32(x))
567 func (PartOfSpeech_Person) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 7} }
569 // This category shows if the token is part of a proper name.
570 type PartOfSpeech_Proper int32
573 // Proper is not applicable in the analyzed language or is not predicted.
574 PartOfSpeech_PROPER_UNKNOWN PartOfSpeech_Proper = 0
576 PartOfSpeech_PROPER PartOfSpeech_Proper = 1
578 PartOfSpeech_NOT_PROPER PartOfSpeech_Proper = 2
581 var PartOfSpeech_Proper_name = map[int32]string{
586 var PartOfSpeech_Proper_value = map[string]int32{
592 func (x PartOfSpeech_Proper) String() string {
593 return proto.EnumName(PartOfSpeech_Proper_name, int32(x))
595 func (PartOfSpeech_Proper) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 8} }
597 // Reciprocal features of a pronoun.
598 type PartOfSpeech_Reciprocity int32
601 // Reciprocity is not applicable in the analyzed language or is not
603 PartOfSpeech_RECIPROCITY_UNKNOWN PartOfSpeech_Reciprocity = 0
605 PartOfSpeech_RECIPROCAL PartOfSpeech_Reciprocity = 1
607 PartOfSpeech_NON_RECIPROCAL PartOfSpeech_Reciprocity = 2
610 var PartOfSpeech_Reciprocity_name = map[int32]string{
611 0: "RECIPROCITY_UNKNOWN",
615 var PartOfSpeech_Reciprocity_value = map[string]int32{
616 "RECIPROCITY_UNKNOWN": 0,
621 func (x PartOfSpeech_Reciprocity) String() string {
622 return proto.EnumName(PartOfSpeech_Reciprocity_name, int32(x))
624 func (PartOfSpeech_Reciprocity) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 9} }
627 type PartOfSpeech_Tense int32
630 // Tense is not applicable in the analyzed language or is not predicted.
631 PartOfSpeech_TENSE_UNKNOWN PartOfSpeech_Tense = 0
633 PartOfSpeech_CONDITIONAL_TENSE PartOfSpeech_Tense = 1
635 PartOfSpeech_FUTURE PartOfSpeech_Tense = 2
637 PartOfSpeech_PAST PartOfSpeech_Tense = 3
639 PartOfSpeech_PRESENT PartOfSpeech_Tense = 4
641 PartOfSpeech_IMPERFECT PartOfSpeech_Tense = 5
643 PartOfSpeech_PLUPERFECT PartOfSpeech_Tense = 6
646 var PartOfSpeech_Tense_name = map[int32]string{
648 1: "CONDITIONAL_TENSE",
655 var PartOfSpeech_Tense_value = map[string]int32{
657 "CONDITIONAL_TENSE": 1,
665 func (x PartOfSpeech_Tense) String() string {
666 return proto.EnumName(PartOfSpeech_Tense_name, int32(x))
668 func (PartOfSpeech_Tense) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 10} }
670 // The relationship between the action that a verb expresses and the
671 // participants identified by its arguments.
672 type PartOfSpeech_Voice int32
675 // Voice is not applicable in the analyzed language or is not predicted.
676 PartOfSpeech_VOICE_UNKNOWN PartOfSpeech_Voice = 0
678 PartOfSpeech_ACTIVE PartOfSpeech_Voice = 1
680 PartOfSpeech_CAUSATIVE PartOfSpeech_Voice = 2
682 PartOfSpeech_PASSIVE PartOfSpeech_Voice = 3
685 var PartOfSpeech_Voice_name = map[int32]string{
691 var PartOfSpeech_Voice_value = map[string]int32{
698 func (x PartOfSpeech_Voice) String() string {
699 return proto.EnumName(PartOfSpeech_Voice_name, int32(x))
701 func (PartOfSpeech_Voice) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 11} }
703 // The parse label enum for the token.
704 type DependencyEdge_Label int32
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
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
732 DependencyEdge_CONJ DependencyEdge_Label = 12
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
740 DependencyEdge_DET DependencyEdge_Label = 16
742 DependencyEdge_DISCOURSE DependencyEdge_Label = 17
744 DependencyEdge_DOBJ DependencyEdge_Label = 18
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
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
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
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
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
788 DependencyEdge_PRECONJ DependencyEdge_Label = 40
790 DependencyEdge_PREDET DependencyEdge_Label = 41
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
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
810 DependencyEdge_REF DependencyEdge_Label = 51
812 DependencyEdge_REMNANT DependencyEdge_Label = 52
814 DependencyEdge_REPARANDUM DependencyEdge_Label = 53
816 DependencyEdge_ROOT DependencyEdge_Label = 54
817 // Suffix specifying a unit of number
818 DependencyEdge_SNUM DependencyEdge_Label = 55
820 DependencyEdge_SUFF DependencyEdge_Label = 56
822 DependencyEdge_TMOD DependencyEdge_Label = 57
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
828 DependencyEdge_VOCATIVE DependencyEdge_Label = 60
829 // Open clausal complement
830 DependencyEdge_XCOMP DependencyEdge_Label = 61
832 DependencyEdge_SUFFIX DependencyEdge_Label = 62
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
840 DependencyEdge_AUXVV DependencyEdge_Label = 66
841 // Rentaishi (Prenominal modifier)
842 DependencyEdge_DTMOD DependencyEdge_Label = 67
844 DependencyEdge_FOREIGN DependencyEdge_Label = 68
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
858 DependencyEdge_COP DependencyEdge_Label = 75
859 // Dislocated relation (for fronted/topicalized elements)
860 DependencyEdge_DISLOCATED DependencyEdge_Label = 76
863 var DependencyEdge_Label_name = map[int32]string{
942 var DependencyEdge_Label_value = map[string]int32{
1022 func (x DependencyEdge_Label) String() string {
1023 return proto.EnumName(DependencyEdge_Label_name, int32(x))
1025 func (DependencyEdge_Label) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{6, 0} }
1027 // The supported types of mentions.
1028 type EntityMention_Type int32
1032 EntityMention_TYPE_UNKNOWN EntityMention_Type = 0
1034 EntityMention_PROPER EntityMention_Type = 1
1035 // Common noun (or noun compound)
1036 EntityMention_COMMON EntityMention_Type = 2
1039 var EntityMention_Type_name = map[int32]string{
1044 var EntityMention_Type_value = map[string]int32{
1050 func (x EntityMention_Type) String() string {
1051 return proto.EnumName(EntityMention_Type_name, int32(x))
1053 func (EntityMention_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{7, 0} }
1055 // ################################################################ #
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.
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
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
1077 Language string `protobuf:"bytes,4,opt,name=language" json:"language,omitempty"`
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} }
1085 type isDocument_Source interface {
1089 type Document_Content struct {
1090 Content string `protobuf:"bytes,2,opt,name=content,oneof"`
1092 type Document_GcsContentUri struct {
1093 GcsContentUri string `protobuf:"bytes,3,opt,name=gcs_content_uri,json=gcsContentUri,oneof"`
1096 func (*Document_Content) isDocument_Source() {}
1097 func (*Document_GcsContentUri) isDocument_Source() {}
1099 func (m *Document) GetSource() isDocument_Source {
1106 func (m *Document) GetType() Document_Type {
1110 return Document_TYPE_UNSPECIFIED
1113 func (m *Document) GetContent() string {
1114 if x, ok := m.GetSource().(*Document_Content); ok {
1120 func (m *Document) GetGcsContentUri() string {
1121 if x, ok := m.GetSource().(*Document_GcsContentUri); ok {
1122 return x.GcsContentUri
1127 func (m *Document) GetLanguage() string {
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),
1142 func _Document_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
1143 m := msg.(*Document)
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)
1154 return fmt.Errorf("Document.Source has unexpected type %T", x)
1159 func _Document_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
1160 m := msg.(*Document)
1162 case 2: // source.content
1163 if wire != proto.WireBytes {
1164 return true, proto.ErrInternalBadWireType
1166 x, err := b.DecodeStringBytes()
1167 m.Source = &Document_Content{x}
1169 case 3: // source.gcs_content_uri
1170 if wire != proto.WireBytes {
1171 return true, proto.ErrInternalBadWireType
1173 x, err := b.DecodeStringBytes()
1174 m.Source = &Document_GcsContentUri{x}
1181 func _Document_OneofSizer(msg proto.Message) (n int) {
1182 m := msg.(*Document)
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)))
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)
1195 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
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"`
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} }
1215 func (m *Sentence) GetText() *TextSpan {
1222 func (m *Sentence) GetSentiment() *Sentiment {
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"`
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.
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.
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
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"`
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} }
1264 func (m *Entity) GetName() string {
1271 func (m *Entity) GetType() Entity_Type {
1275 return Entity_UNKNOWN
1278 func (m *Entity) GetMetadata() map[string]string {
1285 func (m *Entity) GetSalience() float32 {
1292 func (m *Entity) GetMentions() []*EntityMention {
1299 func (m *Entity) GetSentiment() *Sentiment {
1306 // Represents the smallest syntactic building block of the 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"`
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} }
1323 func (m *Token) GetText() *TextSpan {
1330 func (m *Token) GetPartOfSpeech() *PartOfSpeech {
1332 return m.PartOfSpeech
1337 func (m *Token) GetDependencyEdge() *DependencyEdge {
1339 return m.DependencyEdge
1344 func (m *Token) GetLemma() string {
1351 // Represents the feeling associated with the entire text or entities in
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
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"`
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} }
1368 func (m *Sentiment) GetMagnitude() float32 {
1375 func (m *Sentiment) GetScore() float32 {
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"`
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} }
1415 func (m *PartOfSpeech) GetTag() PartOfSpeech_Tag {
1419 return PartOfSpeech_UNKNOWN
1422 func (m *PartOfSpeech) GetAspect() PartOfSpeech_Aspect {
1426 return PartOfSpeech_ASPECT_UNKNOWN
1429 func (m *PartOfSpeech) GetCase() PartOfSpeech_Case {
1433 return PartOfSpeech_CASE_UNKNOWN
1436 func (m *PartOfSpeech) GetForm() PartOfSpeech_Form {
1440 return PartOfSpeech_FORM_UNKNOWN
1443 func (m *PartOfSpeech) GetGender() PartOfSpeech_Gender {
1447 return PartOfSpeech_GENDER_UNKNOWN
1450 func (m *PartOfSpeech) GetMood() PartOfSpeech_Mood {
1454 return PartOfSpeech_MOOD_UNKNOWN
1457 func (m *PartOfSpeech) GetNumber() PartOfSpeech_Number {
1461 return PartOfSpeech_NUMBER_UNKNOWN
1464 func (m *PartOfSpeech) GetPerson() PartOfSpeech_Person {
1468 return PartOfSpeech_PERSON_UNKNOWN
1471 func (m *PartOfSpeech) GetProper() PartOfSpeech_Proper {
1475 return PartOfSpeech_PROPER_UNKNOWN
1478 func (m *PartOfSpeech) GetReciprocity() PartOfSpeech_Reciprocity {
1480 return m.Reciprocity
1482 return PartOfSpeech_RECIPROCITY_UNKNOWN
1485 func (m *PartOfSpeech) GetTense() PartOfSpeech_Tense {
1489 return PartOfSpeech_TENSE_UNKNOWN
1492 func (m *PartOfSpeech) GetVoice() PartOfSpeech_Voice {
1496 return PartOfSpeech_VOICE_UNKNOWN
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"`
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} }
1516 func (m *DependencyEdge) GetHeadTokenIndex() int32 {
1518 return m.HeadTokenIndex
1523 func (m *DependencyEdge) GetLabel() DependencyEdge_Label {
1527 return DependencyEdge_UNKNOWN
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"`
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} }
1549 func (m *EntityMention) GetText() *TextSpan {
1556 func (m *EntityMention) GetType() EntityMention_Type {
1560 return EntityMention_TYPE_UNKNOWN
1563 func (m *EntityMention) GetSentiment() *Sentiment {
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"`
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} }
1584 func (m *TextSpan) GetContent() string {
1591 func (m *TextSpan) GetBeginOffset() int32 {
1593 return m.BeginOffset
1598 // The sentiment analysis request message.
1599 type AnalyzeSentimentRequest struct {
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"`
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} }
1612 func (m *AnalyzeSentimentRequest) GetDocument() *Document {
1619 func (m *AnalyzeSentimentRequest) GetEncodingType() EncodingType {
1621 return m.EncodingType
1623 return EncodingType_NONE
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"`
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} }
1643 func (m *AnalyzeSentimentResponse) GetDocumentSentiment() *Sentiment {
1645 return m.DocumentSentiment
1650 func (m *AnalyzeSentimentResponse) GetLanguage() string {
1657 func (m *AnalyzeSentimentResponse) GetSentences() []*Sentence {
1664 // The entity-level sentiment analysis request message.
1665 type AnalyzeEntitySentimentRequest struct {
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"`
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} }
1677 func (m *AnalyzeEntitySentimentRequest) GetDocument() *Document {
1684 func (m *AnalyzeEntitySentimentRequest) GetEncodingType() EncodingType {
1686 return m.EncodingType
1688 return EncodingType_NONE
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"`
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} }
1706 func (m *AnalyzeEntitySentimentResponse) GetEntities() []*Entity {
1713 func (m *AnalyzeEntitySentimentResponse) GetLanguage() string {
1720 // The entity analysis request message.
1721 type AnalyzeEntitiesRequest struct {
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"`
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} }
1733 func (m *AnalyzeEntitiesRequest) GetDocument() *Document {
1740 func (m *AnalyzeEntitiesRequest) GetEncodingType() EncodingType {
1742 return m.EncodingType
1744 return EncodingType_NONE
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"`
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} }
1762 func (m *AnalyzeEntitiesResponse) GetEntities() []*Entity {
1769 func (m *AnalyzeEntitiesResponse) GetLanguage() string {
1776 // The syntax analysis request message.
1777 type AnalyzeSyntaxRequest struct {
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"`
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} }
1789 func (m *AnalyzeSyntaxRequest) GetDocument() *Document {
1796 func (m *AnalyzeSyntaxRequest) GetEncodingType() EncodingType {
1798 return m.EncodingType
1800 return EncodingType_NONE
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"`
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} }
1820 func (m *AnalyzeSyntaxResponse) GetSentences() []*Sentence {
1827 func (m *AnalyzeSyntaxResponse) GetTokens() []*Token {
1834 func (m *AnalyzeSyntaxResponse) GetLanguage() string {
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 {
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"`
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} }
1857 func (m *AnnotateTextRequest) GetDocument() *Document {
1864 func (m *AnnotateTextRequest) GetFeatures() *AnnotateTextRequest_Features {
1871 func (m *AnnotateTextRequest) GetEncodingType() EncodingType {
1873 return m.EncodingType
1875 return EncodingType_NONE
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"`
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}
1898 func (m *AnnotateTextRequest_Features) GetExtractSyntax() bool {
1900 return m.ExtractSyntax
1905 func (m *AnnotateTextRequest_Features) GetExtractEntities() bool {
1907 return m.ExtractEntities
1912 func (m *AnnotateTextRequest_Features) GetExtractDocumentSentiment() bool {
1914 return m.ExtractDocumentSentiment
1919 func (m *AnnotateTextRequest_Features) GetExtractEntitySentiment() bool {
1921 return m.ExtractEntitySentiment
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"`
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} }
1953 func (m *AnnotateTextResponse) GetSentences() []*Sentence {
1960 func (m *AnnotateTextResponse) GetTokens() []*Token {
1967 func (m *AnnotateTextResponse) GetEntities() []*Entity {
1974 func (m *AnnotateTextResponse) GetDocumentSentiment() *Sentiment {
1976 return m.DocumentSentiment
1981 func (m *AnnotateTextResponse) GetLanguage() string {
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)
2028 // Reference imports to suppress errors if they are not otherwise used.
2029 var _ context.Context
2030 var _ grpc.ClientConn
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
2036 // Client API for LanguageService service
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
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)
2057 type languageServiceClient struct {
2061 func NewLanguageServiceClient(cc *grpc.ClientConn) LanguageServiceClient {
2062 return &languageServiceClient{cc}
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...)
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...)
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...)
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...)
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...)
2110 // Server API for LanguageService service
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
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)
2131 func RegisterLanguageServiceServer(s *grpc.Server, srv LanguageServiceServer) {
2132 s.RegisterService(&_LanguageService_serviceDesc, srv)
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 {
2140 if interceptor == nil {
2141 return srv.(LanguageServiceServer).AnalyzeSentiment(ctx, in)
2143 info := &grpc.UnaryServerInfo{
2145 FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeSentiment",
2147 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2148 return srv.(LanguageServiceServer).AnalyzeSentiment(ctx, req.(*AnalyzeSentimentRequest))
2150 return interceptor(ctx, in, info, handler)
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 {
2158 if interceptor == nil {
2159 return srv.(LanguageServiceServer).AnalyzeEntities(ctx, in)
2161 info := &grpc.UnaryServerInfo{
2163 FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeEntities",
2165 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2166 return srv.(LanguageServiceServer).AnalyzeEntities(ctx, req.(*AnalyzeEntitiesRequest))
2168 return interceptor(ctx, in, info, handler)
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 {
2176 if interceptor == nil {
2177 return srv.(LanguageServiceServer).AnalyzeEntitySentiment(ctx, in)
2179 info := &grpc.UnaryServerInfo{
2181 FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeEntitySentiment",
2183 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2184 return srv.(LanguageServiceServer).AnalyzeEntitySentiment(ctx, req.(*AnalyzeEntitySentimentRequest))
2186 return interceptor(ctx, in, info, handler)
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 {
2194 if interceptor == nil {
2195 return srv.(LanguageServiceServer).AnalyzeSyntax(ctx, in)
2197 info := &grpc.UnaryServerInfo{
2199 FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeSyntax",
2201 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2202 return srv.(LanguageServiceServer).AnalyzeSyntax(ctx, req.(*AnalyzeSyntaxRequest))
2204 return interceptor(ctx, in, info, handler)
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 {
2212 if interceptor == nil {
2213 return srv.(LanguageServiceServer).AnnotateText(ctx, in)
2215 info := &grpc.UnaryServerInfo{
2217 FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnnotateText",
2219 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2220 return srv.(LanguageServiceServer).AnnotateText(ctx, req.(*AnnotateTextRequest))
2222 return interceptor(ctx, in, info, handler)
2225 var _LanguageService_serviceDesc = grpc.ServiceDesc{
2226 ServiceName: "google.cloud.language.v1beta2.LanguageService",
2227 HandlerType: (*LanguageServiceServer)(nil),
2228 Methods: []grpc.MethodDesc{
2230 MethodName: "AnalyzeSentiment",
2231 Handler: _LanguageService_AnalyzeSentiment_Handler,
2234 MethodName: "AnalyzeEntities",
2235 Handler: _LanguageService_AnalyzeEntities_Handler,
2238 MethodName: "AnalyzeEntitySentiment",
2239 Handler: _LanguageService_AnalyzeEntitySentiment_Handler,
2242 MethodName: "AnalyzeSyntax",
2243 Handler: _LanguageService_AnalyzeSyntax_Handler,
2246 MethodName: "AnnotateText",
2247 Handler: _LanguageService_AnnotateText_Handler,
2250 Streams: []grpc.StreamDesc{},
2251 Metadata: "google/cloud/language/v1beta2/language_service.proto",
2255 proto.RegisterFile("google/cloud/language/v1beta2/language_service.proto", fileDescriptor0)
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, 0xd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290 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,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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, 0x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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,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