...

Source file src/google.golang.org/genproto/googleapis/cloud/language/v1beta2/alias.go

Documentation: google.golang.org/genproto/googleapis/cloud/language/v1beta2

     1  // Copyright 2022 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by aliasgen. DO NOT EDIT.
    16  
    17  // Package language aliases all exported identifiers in package
    18  // "cloud.google.com/go/language/apiv1beta2/languagepb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb.
    21  // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
    22  // for more details.
    23  package language
    24  
    25  import (
    26  	src "cloud.google.com/go/language/apiv1beta2/languagepb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use consts in: cloud.google.com/go/language/apiv1beta2/languagepb
    31  const (
    32  	ClassificationModelOptions_V2Model_CONTENT_CATEGORIES_VERSION_UNSPECIFIED = src.ClassificationModelOptions_V2Model_CONTENT_CATEGORIES_VERSION_UNSPECIFIED
    33  	ClassificationModelOptions_V2Model_V1                                     = src.ClassificationModelOptions_V2Model_V1
    34  	ClassificationModelOptions_V2Model_V2                                     = src.ClassificationModelOptions_V2Model_V2
    35  	DependencyEdge_ABBREV                                                     = src.DependencyEdge_ABBREV
    36  	DependencyEdge_ACOMP                                                      = src.DependencyEdge_ACOMP
    37  	DependencyEdge_ADVCL                                                      = src.DependencyEdge_ADVCL
    38  	DependencyEdge_ADVMOD                                                     = src.DependencyEdge_ADVMOD
    39  	DependencyEdge_ADVPHMOD                                                   = src.DependencyEdge_ADVPHMOD
    40  	DependencyEdge_AMOD                                                       = src.DependencyEdge_AMOD
    41  	DependencyEdge_APPOS                                                      = src.DependencyEdge_APPOS
    42  	DependencyEdge_ASP                                                        = src.DependencyEdge_ASP
    43  	DependencyEdge_ATTR                                                       = src.DependencyEdge_ATTR
    44  	DependencyEdge_AUX                                                        = src.DependencyEdge_AUX
    45  	DependencyEdge_AUXCAUS                                                    = src.DependencyEdge_AUXCAUS
    46  	DependencyEdge_AUXPASS                                                    = src.DependencyEdge_AUXPASS
    47  	DependencyEdge_AUXVV                                                      = src.DependencyEdge_AUXVV
    48  	DependencyEdge_CC                                                         = src.DependencyEdge_CC
    49  	DependencyEdge_CCOMP                                                      = src.DependencyEdge_CCOMP
    50  	DependencyEdge_CONJ                                                       = src.DependencyEdge_CONJ
    51  	DependencyEdge_COP                                                        = src.DependencyEdge_COP
    52  	DependencyEdge_CSUBJ                                                      = src.DependencyEdge_CSUBJ
    53  	DependencyEdge_CSUBJPASS                                                  = src.DependencyEdge_CSUBJPASS
    54  	DependencyEdge_DEP                                                        = src.DependencyEdge_DEP
    55  	DependencyEdge_DET                                                        = src.DependencyEdge_DET
    56  	DependencyEdge_DISCOURSE                                                  = src.DependencyEdge_DISCOURSE
    57  	DependencyEdge_DISLOCATED                                                 = src.DependencyEdge_DISLOCATED
    58  	DependencyEdge_DOBJ                                                       = src.DependencyEdge_DOBJ
    59  	DependencyEdge_DTMOD                                                      = src.DependencyEdge_DTMOD
    60  	DependencyEdge_EXPL                                                       = src.DependencyEdge_EXPL
    61  	DependencyEdge_FOREIGN                                                    = src.DependencyEdge_FOREIGN
    62  	DependencyEdge_GMOD                                                       = src.DependencyEdge_GMOD
    63  	DependencyEdge_GOBJ                                                       = src.DependencyEdge_GOBJ
    64  	DependencyEdge_GOESWITH                                                   = src.DependencyEdge_GOESWITH
    65  	DependencyEdge_INFMOD                                                     = src.DependencyEdge_INFMOD
    66  	DependencyEdge_IOBJ                                                       = src.DependencyEdge_IOBJ
    67  	DependencyEdge_KW                                                         = src.DependencyEdge_KW
    68  	DependencyEdge_LIST                                                       = src.DependencyEdge_LIST
    69  	DependencyEdge_MARK                                                       = src.DependencyEdge_MARK
    70  	DependencyEdge_MES                                                        = src.DependencyEdge_MES
    71  	DependencyEdge_MWE                                                        = src.DependencyEdge_MWE
    72  	DependencyEdge_MWV                                                        = src.DependencyEdge_MWV
    73  	DependencyEdge_NCOMP                                                      = src.DependencyEdge_NCOMP
    74  	DependencyEdge_NEG                                                        = src.DependencyEdge_NEG
    75  	DependencyEdge_NN                                                         = src.DependencyEdge_NN
    76  	DependencyEdge_NOMC                                                       = src.DependencyEdge_NOMC
    77  	DependencyEdge_NOMCSUBJ                                                   = src.DependencyEdge_NOMCSUBJ
    78  	DependencyEdge_NOMCSUBJPASS                                               = src.DependencyEdge_NOMCSUBJPASS
    79  	DependencyEdge_NPADVMOD                                                   = src.DependencyEdge_NPADVMOD
    80  	DependencyEdge_NSUBJ                                                      = src.DependencyEdge_NSUBJ
    81  	DependencyEdge_NSUBJPASS                                                  = src.DependencyEdge_NSUBJPASS
    82  	DependencyEdge_NUM                                                        = src.DependencyEdge_NUM
    83  	DependencyEdge_NUMBER                                                     = src.DependencyEdge_NUMBER
    84  	DependencyEdge_NUMC                                                       = src.DependencyEdge_NUMC
    85  	DependencyEdge_P                                                          = src.DependencyEdge_P
    86  	DependencyEdge_PARATAXIS                                                  = src.DependencyEdge_PARATAXIS
    87  	DependencyEdge_PARTMOD                                                    = src.DependencyEdge_PARTMOD
    88  	DependencyEdge_PCOMP                                                      = src.DependencyEdge_PCOMP
    89  	DependencyEdge_POBJ                                                       = src.DependencyEdge_POBJ
    90  	DependencyEdge_POSS                                                       = src.DependencyEdge_POSS
    91  	DependencyEdge_POSTNEG                                                    = src.DependencyEdge_POSTNEG
    92  	DependencyEdge_PRECOMP                                                    = src.DependencyEdge_PRECOMP
    93  	DependencyEdge_PRECONJ                                                    = src.DependencyEdge_PRECONJ
    94  	DependencyEdge_PREDET                                                     = src.DependencyEdge_PREDET
    95  	DependencyEdge_PREF                                                       = src.DependencyEdge_PREF
    96  	DependencyEdge_PREP                                                       = src.DependencyEdge_PREP
    97  	DependencyEdge_PRONL                                                      = src.DependencyEdge_PRONL
    98  	DependencyEdge_PRT                                                        = src.DependencyEdge_PRT
    99  	DependencyEdge_PS                                                         = src.DependencyEdge_PS
   100  	DependencyEdge_QUANTMOD                                                   = src.DependencyEdge_QUANTMOD
   101  	DependencyEdge_RCMOD                                                      = src.DependencyEdge_RCMOD
   102  	DependencyEdge_RCMODREL                                                   = src.DependencyEdge_RCMODREL
   103  	DependencyEdge_RDROP                                                      = src.DependencyEdge_RDROP
   104  	DependencyEdge_REF                                                        = src.DependencyEdge_REF
   105  	DependencyEdge_REMNANT                                                    = src.DependencyEdge_REMNANT
   106  	DependencyEdge_REPARANDUM                                                 = src.DependencyEdge_REPARANDUM
   107  	DependencyEdge_ROOT                                                       = src.DependencyEdge_ROOT
   108  	DependencyEdge_SNUM                                                       = src.DependencyEdge_SNUM
   109  	DependencyEdge_SUFF                                                       = src.DependencyEdge_SUFF
   110  	DependencyEdge_SUFFIX                                                     = src.DependencyEdge_SUFFIX
   111  	DependencyEdge_TITLE                                                      = src.DependencyEdge_TITLE
   112  	DependencyEdge_TMOD                                                       = src.DependencyEdge_TMOD
   113  	DependencyEdge_TOPIC                                                      = src.DependencyEdge_TOPIC
   114  	DependencyEdge_UNKNOWN                                                    = src.DependencyEdge_UNKNOWN
   115  	DependencyEdge_VMOD                                                       = src.DependencyEdge_VMOD
   116  	DependencyEdge_VOCATIVE                                                   = src.DependencyEdge_VOCATIVE
   117  	DependencyEdge_XCOMP                                                      = src.DependencyEdge_XCOMP
   118  	Document_BOILERPLATE_HANDLING_UNSPECIFIED                                 = src.Document_BOILERPLATE_HANDLING_UNSPECIFIED
   119  	Document_HTML                                                             = src.Document_HTML
   120  	Document_KEEP_BOILERPLATE                                                 = src.Document_KEEP_BOILERPLATE
   121  	Document_PLAIN_TEXT                                                       = src.Document_PLAIN_TEXT
   122  	Document_SKIP_BOILERPLATE                                                 = src.Document_SKIP_BOILERPLATE
   123  	Document_TYPE_UNSPECIFIED                                                 = src.Document_TYPE_UNSPECIFIED
   124  	EncodingType_NONE                                                         = src.EncodingType_NONE
   125  	EncodingType_UTF16                                                        = src.EncodingType_UTF16
   126  	EncodingType_UTF32                                                        = src.EncodingType_UTF32
   127  	EncodingType_UTF8                                                         = src.EncodingType_UTF8
   128  	EntityMention_COMMON                                                      = src.EntityMention_COMMON
   129  	EntityMention_PROPER                                                      = src.EntityMention_PROPER
   130  	EntityMention_TYPE_UNKNOWN                                                = src.EntityMention_TYPE_UNKNOWN
   131  	Entity_ADDRESS                                                            = src.Entity_ADDRESS
   132  	Entity_CONSUMER_GOOD                                                      = src.Entity_CONSUMER_GOOD
   133  	Entity_DATE                                                               = src.Entity_DATE
   134  	Entity_EVENT                                                              = src.Entity_EVENT
   135  	Entity_LOCATION                                                           = src.Entity_LOCATION
   136  	Entity_NUMBER                                                             = src.Entity_NUMBER
   137  	Entity_ORGANIZATION                                                       = src.Entity_ORGANIZATION
   138  	Entity_OTHER                                                              = src.Entity_OTHER
   139  	Entity_PERSON                                                             = src.Entity_PERSON
   140  	Entity_PHONE_NUMBER                                                       = src.Entity_PHONE_NUMBER
   141  	Entity_PRICE                                                              = src.Entity_PRICE
   142  	Entity_UNKNOWN                                                            = src.Entity_UNKNOWN
   143  	Entity_WORK_OF_ART                                                        = src.Entity_WORK_OF_ART
   144  	PartOfSpeech_ACCUSATIVE                                                   = src.PartOfSpeech_ACCUSATIVE
   145  	PartOfSpeech_ACTIVE                                                       = src.PartOfSpeech_ACTIVE
   146  	PartOfSpeech_ADJ                                                          = src.PartOfSpeech_ADJ
   147  	PartOfSpeech_ADNOMIAL                                                     = src.PartOfSpeech_ADNOMIAL
   148  	PartOfSpeech_ADP                                                          = src.PartOfSpeech_ADP
   149  	PartOfSpeech_ADV                                                          = src.PartOfSpeech_ADV
   150  	PartOfSpeech_ADVERBIAL                                                    = src.PartOfSpeech_ADVERBIAL
   151  	PartOfSpeech_AFFIX                                                        = src.PartOfSpeech_AFFIX
   152  	PartOfSpeech_ASPECT_UNKNOWN                                               = src.PartOfSpeech_ASPECT_UNKNOWN
   153  	PartOfSpeech_AUXILIARY                                                    = src.PartOfSpeech_AUXILIARY
   154  	PartOfSpeech_CASE_UNKNOWN                                                 = src.PartOfSpeech_CASE_UNKNOWN
   155  	PartOfSpeech_CAUSATIVE                                                    = src.PartOfSpeech_CAUSATIVE
   156  	PartOfSpeech_COMPLEMENTIVE                                                = src.PartOfSpeech_COMPLEMENTIVE
   157  	PartOfSpeech_COMPLEMENTIZER                                               = src.PartOfSpeech_COMPLEMENTIZER
   158  	PartOfSpeech_CONDITIONAL_MOOD                                             = src.PartOfSpeech_CONDITIONAL_MOOD
   159  	PartOfSpeech_CONDITIONAL_TENSE                                            = src.PartOfSpeech_CONDITIONAL_TENSE
   160  	PartOfSpeech_CONJ                                                         = src.PartOfSpeech_CONJ
   161  	PartOfSpeech_DATIVE                                                       = src.PartOfSpeech_DATIVE
   162  	PartOfSpeech_DET                                                          = src.PartOfSpeech_DET
   163  	PartOfSpeech_DUAL                                                         = src.PartOfSpeech_DUAL
   164  	PartOfSpeech_FEMININE                                                     = src.PartOfSpeech_FEMININE
   165  	PartOfSpeech_FINAL_ENDING                                                 = src.PartOfSpeech_FINAL_ENDING
   166  	PartOfSpeech_FIRST                                                        = src.PartOfSpeech_FIRST
   167  	PartOfSpeech_FORM_UNKNOWN                                                 = src.PartOfSpeech_FORM_UNKNOWN
   168  	PartOfSpeech_FUTURE                                                       = src.PartOfSpeech_FUTURE
   169  	PartOfSpeech_GENDER_UNKNOWN                                               = src.PartOfSpeech_GENDER_UNKNOWN
   170  	PartOfSpeech_GENITIVE                                                     = src.PartOfSpeech_GENITIVE
   171  	PartOfSpeech_GERUND                                                       = src.PartOfSpeech_GERUND
   172  	PartOfSpeech_IMPERATIVE                                                   = src.PartOfSpeech_IMPERATIVE
   173  	PartOfSpeech_IMPERFECT                                                    = src.PartOfSpeech_IMPERFECT
   174  	PartOfSpeech_IMPERFECTIVE                                                 = src.PartOfSpeech_IMPERFECTIVE
   175  	PartOfSpeech_INDICATIVE                                                   = src.PartOfSpeech_INDICATIVE
   176  	PartOfSpeech_INSTRUMENTAL                                                 = src.PartOfSpeech_INSTRUMENTAL
   177  	PartOfSpeech_INTERROGATIVE                                                = src.PartOfSpeech_INTERROGATIVE
   178  	PartOfSpeech_IRREALIS                                                     = src.PartOfSpeech_IRREALIS
   179  	PartOfSpeech_JUSSIVE                                                      = src.PartOfSpeech_JUSSIVE
   180  	PartOfSpeech_LOCATIVE                                                     = src.PartOfSpeech_LOCATIVE
   181  	PartOfSpeech_LONG                                                         = src.PartOfSpeech_LONG
   182  	PartOfSpeech_MASCULINE                                                    = src.PartOfSpeech_MASCULINE
   183  	PartOfSpeech_MOOD_UNKNOWN                                                 = src.PartOfSpeech_MOOD_UNKNOWN
   184  	PartOfSpeech_NEUTER                                                       = src.PartOfSpeech_NEUTER
   185  	PartOfSpeech_NOMINATIVE                                                   = src.PartOfSpeech_NOMINATIVE
   186  	PartOfSpeech_NON_RECIPROCAL                                               = src.PartOfSpeech_NON_RECIPROCAL
   187  	PartOfSpeech_NOT_PROPER                                                   = src.PartOfSpeech_NOT_PROPER
   188  	PartOfSpeech_NOUN                                                         = src.PartOfSpeech_NOUN
   189  	PartOfSpeech_NUM                                                          = src.PartOfSpeech_NUM
   190  	PartOfSpeech_NUMBER_UNKNOWN                                               = src.PartOfSpeech_NUMBER_UNKNOWN
   191  	PartOfSpeech_OBLIQUE                                                      = src.PartOfSpeech_OBLIQUE
   192  	PartOfSpeech_ORDER                                                        = src.PartOfSpeech_ORDER
   193  	PartOfSpeech_PARTITIVE                                                    = src.PartOfSpeech_PARTITIVE
   194  	PartOfSpeech_PASSIVE                                                      = src.PartOfSpeech_PASSIVE
   195  	PartOfSpeech_PAST                                                         = src.PartOfSpeech_PAST
   196  	PartOfSpeech_PERFECTIVE                                                   = src.PartOfSpeech_PERFECTIVE
   197  	PartOfSpeech_PERSON_UNKNOWN                                               = src.PartOfSpeech_PERSON_UNKNOWN
   198  	PartOfSpeech_PLUPERFECT                                                   = src.PartOfSpeech_PLUPERFECT
   199  	PartOfSpeech_PLURAL                                                       = src.PartOfSpeech_PLURAL
   200  	PartOfSpeech_PREPOSITIONAL                                                = src.PartOfSpeech_PREPOSITIONAL
   201  	PartOfSpeech_PRESENT                                                      = src.PartOfSpeech_PRESENT
   202  	PartOfSpeech_PROGRESSIVE                                                  = src.PartOfSpeech_PROGRESSIVE
   203  	PartOfSpeech_PRON                                                         = src.PartOfSpeech_PRON
   204  	PartOfSpeech_PROPER                                                       = src.PartOfSpeech_PROPER
   205  	PartOfSpeech_PROPER_UNKNOWN                                               = src.PartOfSpeech_PROPER_UNKNOWN
   206  	PartOfSpeech_PRT                                                          = src.PartOfSpeech_PRT
   207  	PartOfSpeech_PUNCT                                                        = src.PartOfSpeech_PUNCT
   208  	PartOfSpeech_REALIS                                                       = src.PartOfSpeech_REALIS
   209  	PartOfSpeech_RECIPROCAL                                                   = src.PartOfSpeech_RECIPROCAL
   210  	PartOfSpeech_RECIPROCITY_UNKNOWN                                          = src.PartOfSpeech_RECIPROCITY_UNKNOWN
   211  	PartOfSpeech_REFLEXIVE_CASE                                               = src.PartOfSpeech_REFLEXIVE_CASE
   212  	PartOfSpeech_REFLEXIVE_PERSON                                             = src.PartOfSpeech_REFLEXIVE_PERSON
   213  	PartOfSpeech_RELATIVE_CASE                                                = src.PartOfSpeech_RELATIVE_CASE
   214  	PartOfSpeech_SECOND                                                       = src.PartOfSpeech_SECOND
   215  	PartOfSpeech_SHORT                                                        = src.PartOfSpeech_SHORT
   216  	PartOfSpeech_SINGULAR                                                     = src.PartOfSpeech_SINGULAR
   217  	PartOfSpeech_SPECIFIC                                                     = src.PartOfSpeech_SPECIFIC
   218  	PartOfSpeech_SUBJUNCTIVE                                                  = src.PartOfSpeech_SUBJUNCTIVE
   219  	PartOfSpeech_TENSE_UNKNOWN                                                = src.PartOfSpeech_TENSE_UNKNOWN
   220  	PartOfSpeech_THIRD                                                        = src.PartOfSpeech_THIRD
   221  	PartOfSpeech_UNKNOWN                                                      = src.PartOfSpeech_UNKNOWN
   222  	PartOfSpeech_VERB                                                         = src.PartOfSpeech_VERB
   223  	PartOfSpeech_VOCATIVE                                                     = src.PartOfSpeech_VOCATIVE
   224  	PartOfSpeech_VOICE_UNKNOWN                                                = src.PartOfSpeech_VOICE_UNKNOWN
   225  	PartOfSpeech_X                                                            = src.PartOfSpeech_X
   226  )
   227  
   228  // Deprecated: Please use vars in: cloud.google.com/go/language/apiv1beta2/languagepb
   229  var (
   230  	ClassificationModelOptions_V2Model_ContentCategoriesVersion_name  = src.ClassificationModelOptions_V2Model_ContentCategoriesVersion_name
   231  	ClassificationModelOptions_V2Model_ContentCategoriesVersion_value = src.ClassificationModelOptions_V2Model_ContentCategoriesVersion_value
   232  	DependencyEdge_Label_name                                         = src.DependencyEdge_Label_name
   233  	DependencyEdge_Label_value                                        = src.DependencyEdge_Label_value
   234  	Document_BoilerplateHandling_name                                 = src.Document_BoilerplateHandling_name
   235  	Document_BoilerplateHandling_value                                = src.Document_BoilerplateHandling_value
   236  	Document_Type_name                                                = src.Document_Type_name
   237  	Document_Type_value                                               = src.Document_Type_value
   238  	EncodingType_name                                                 = src.EncodingType_name
   239  	EncodingType_value                                                = src.EncodingType_value
   240  	EntityMention_Type_name                                           = src.EntityMention_Type_name
   241  	EntityMention_Type_value                                          = src.EntityMention_Type_value
   242  	Entity_Type_name                                                  = src.Entity_Type_name
   243  	Entity_Type_value                                                 = src.Entity_Type_value
   244  	File_google_cloud_language_v1beta2_language_service_proto         = src.File_google_cloud_language_v1beta2_language_service_proto
   245  	PartOfSpeech_Aspect_name                                          = src.PartOfSpeech_Aspect_name
   246  	PartOfSpeech_Aspect_value                                         = src.PartOfSpeech_Aspect_value
   247  	PartOfSpeech_Case_name                                            = src.PartOfSpeech_Case_name
   248  	PartOfSpeech_Case_value                                           = src.PartOfSpeech_Case_value
   249  	PartOfSpeech_Form_name                                            = src.PartOfSpeech_Form_name
   250  	PartOfSpeech_Form_value                                           = src.PartOfSpeech_Form_value
   251  	PartOfSpeech_Gender_name                                          = src.PartOfSpeech_Gender_name
   252  	PartOfSpeech_Gender_value                                         = src.PartOfSpeech_Gender_value
   253  	PartOfSpeech_Mood_name                                            = src.PartOfSpeech_Mood_name
   254  	PartOfSpeech_Mood_value                                           = src.PartOfSpeech_Mood_value
   255  	PartOfSpeech_Number_name                                          = src.PartOfSpeech_Number_name
   256  	PartOfSpeech_Number_value                                         = src.PartOfSpeech_Number_value
   257  	PartOfSpeech_Person_name                                          = src.PartOfSpeech_Person_name
   258  	PartOfSpeech_Person_value                                         = src.PartOfSpeech_Person_value
   259  	PartOfSpeech_Proper_name                                          = src.PartOfSpeech_Proper_name
   260  	PartOfSpeech_Proper_value                                         = src.PartOfSpeech_Proper_value
   261  	PartOfSpeech_Reciprocity_name                                     = src.PartOfSpeech_Reciprocity_name
   262  	PartOfSpeech_Reciprocity_value                                    = src.PartOfSpeech_Reciprocity_value
   263  	PartOfSpeech_Tag_name                                             = src.PartOfSpeech_Tag_name
   264  	PartOfSpeech_Tag_value                                            = src.PartOfSpeech_Tag_value
   265  	PartOfSpeech_Tense_name                                           = src.PartOfSpeech_Tense_name
   266  	PartOfSpeech_Tense_value                                          = src.PartOfSpeech_Tense_value
   267  	PartOfSpeech_Voice_name                                           = src.PartOfSpeech_Voice_name
   268  	PartOfSpeech_Voice_value                                          = src.PartOfSpeech_Voice_value
   269  )
   270  
   271  // The entity analysis request message.
   272  //
   273  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   274  type AnalyzeEntitiesRequest = src.AnalyzeEntitiesRequest
   275  
   276  // The entity analysis response message.
   277  //
   278  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   279  type AnalyzeEntitiesResponse = src.AnalyzeEntitiesResponse
   280  
   281  // The entity-level sentiment analysis request message.
   282  //
   283  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   284  type AnalyzeEntitySentimentRequest = src.AnalyzeEntitySentimentRequest
   285  
   286  // The entity-level sentiment analysis response message.
   287  //
   288  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   289  type AnalyzeEntitySentimentResponse = src.AnalyzeEntitySentimentResponse
   290  
   291  // The sentiment analysis request message.
   292  //
   293  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   294  type AnalyzeSentimentRequest = src.AnalyzeSentimentRequest
   295  
   296  // The sentiment analysis response message.
   297  //
   298  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   299  type AnalyzeSentimentResponse = src.AnalyzeSentimentResponse
   300  
   301  // The syntax analysis request message.
   302  //
   303  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   304  type AnalyzeSyntaxRequest = src.AnalyzeSyntaxRequest
   305  
   306  // The syntax analysis response message.
   307  //
   308  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   309  type AnalyzeSyntaxResponse = src.AnalyzeSyntaxResponse
   310  
   311  // The request message for the text annotation API, which can perform multiple
   312  // analysis types (sentiment, entities, and syntax) in one call.
   313  //
   314  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   315  type AnnotateTextRequest = src.AnnotateTextRequest
   316  
   317  // All available features for sentiment, syntax, and semantic analysis.
   318  // Setting each one to true will enable that specific analysis for the input.
   319  // Next ID: 11
   320  //
   321  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   322  type AnnotateTextRequest_Features = src.AnnotateTextRequest_Features
   323  
   324  // The text annotations response message.
   325  //
   326  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   327  type AnnotateTextResponse = src.AnnotateTextResponse
   328  
   329  // Represents a category returned from the text classifier.
   330  //
   331  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   332  type ClassificationCategory = src.ClassificationCategory
   333  
   334  // Model options available for classification requests.
   335  //
   336  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   337  type ClassificationModelOptions = src.ClassificationModelOptions
   338  
   339  // Options for the V1 model.
   340  //
   341  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   342  type ClassificationModelOptions_V1Model = src.ClassificationModelOptions_V1Model
   343  type ClassificationModelOptions_V1Model_ = src.ClassificationModelOptions_V1Model_
   344  
   345  // Options for the V2 model.
   346  //
   347  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   348  type ClassificationModelOptions_V2Model = src.ClassificationModelOptions_V2Model
   349  type ClassificationModelOptions_V2Model_ = src.ClassificationModelOptions_V2Model_
   350  
   351  // The content categories used for classification.
   352  //
   353  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   354  type ClassificationModelOptions_V2Model_ContentCategoriesVersion = src.ClassificationModelOptions_V2Model_ContentCategoriesVersion
   355  
   356  // The document classification request message.
   357  //
   358  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   359  type ClassifyTextRequest = src.ClassifyTextRequest
   360  
   361  // The document classification response message.
   362  //
   363  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   364  type ClassifyTextResponse = src.ClassifyTextResponse
   365  
   366  // Represents dependency parse tree information for a token.
   367  //
   368  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   369  type DependencyEdge = src.DependencyEdge
   370  
   371  // The parse label enum for the token.
   372  //
   373  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   374  type DependencyEdge_Label = src.DependencyEdge_Label
   375  
   376  // Represents the input to API methods.
   377  //
   378  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   379  type Document = src.Document
   380  
   381  // Ways of handling boilerplate detected in the document
   382  //
   383  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   384  type Document_BoilerplateHandling = src.Document_BoilerplateHandling
   385  type Document_Content = src.Document_Content
   386  type Document_GcsContentUri = src.Document_GcsContentUri
   387  
   388  // The document types enum.
   389  //
   390  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   391  type Document_Type = src.Document_Type
   392  
   393  // Represents the text encoding that the caller uses to process the output.
   394  // Providing an `EncodingType` is recommended because the API provides the
   395  // beginning offsets for various outputs, such as tokens and mentions, and
   396  // languages that natively use different text encodings may access offsets
   397  // differently.
   398  //
   399  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   400  type EncodingType = src.EncodingType
   401  
   402  // Represents a phrase in the text that is a known entity, such as a person,
   403  // an organization, or location. The API associates information, such as
   404  // salience and mentions, with entities.
   405  //
   406  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   407  type Entity = src.Entity
   408  
   409  // Represents a mention for an entity in the text. Currently, proper noun
   410  // mentions are supported.
   411  //
   412  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   413  type EntityMention = src.EntityMention
   414  
   415  // The supported types of mentions.
   416  //
   417  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   418  type EntityMention_Type = src.EntityMention_Type
   419  
   420  // The type of the entity. For most entity types, the associated metadata is a
   421  // Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`). The table
   422  // below lists the associated fields for entities that have different metadata.
   423  //
   424  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   425  type Entity_Type = src.Entity_Type
   426  
   427  // LanguageServiceClient is the client API for LanguageService service. For
   428  // semantics around ctx use and closing/ending streaming RPCs, please refer to
   429  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   430  //
   431  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   432  type LanguageServiceClient = src.LanguageServiceClient
   433  
   434  // LanguageServiceServer is the server API for LanguageService service.
   435  //
   436  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   437  type LanguageServiceServer = src.LanguageServiceServer
   438  
   439  // Represents part of speech information for a token.
   440  //
   441  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   442  type PartOfSpeech = src.PartOfSpeech
   443  
   444  // The characteristic of a verb that expresses time flow during an event.
   445  //
   446  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   447  type PartOfSpeech_Aspect = src.PartOfSpeech_Aspect
   448  
   449  // The grammatical function performed by a noun or pronoun in a phrase,
   450  // clause, or sentence. In some languages, other parts of speech, such as
   451  // adjective and determiner, take case inflection in agreement with the noun.
   452  //
   453  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   454  type PartOfSpeech_Case = src.PartOfSpeech_Case
   455  
   456  // Depending on the language, Form can be categorizing different forms of
   457  // verbs, adjectives, adverbs, etc. For example, categorizing inflected endings
   458  // of verbs and adjectives or distinguishing between short and long forms of
   459  // adjectives and participles
   460  //
   461  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   462  type PartOfSpeech_Form = src.PartOfSpeech_Form
   463  
   464  // Gender classes of nouns reflected in the behaviour of associated words.
   465  //
   466  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   467  type PartOfSpeech_Gender = src.PartOfSpeech_Gender
   468  
   469  // The grammatical feature of verbs, used for showing modality and attitude.
   470  //
   471  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   472  type PartOfSpeech_Mood = src.PartOfSpeech_Mood
   473  
   474  // Count distinctions.
   475  //
   476  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   477  type PartOfSpeech_Number = src.PartOfSpeech_Number
   478  
   479  // The distinction between the speaker, second person, third person, etc.
   480  //
   481  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   482  type PartOfSpeech_Person = src.PartOfSpeech_Person
   483  
   484  // This category shows if the token is part of a proper name.
   485  //
   486  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   487  type PartOfSpeech_Proper = src.PartOfSpeech_Proper
   488  
   489  // Reciprocal features of a pronoun.
   490  //
   491  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   492  type PartOfSpeech_Reciprocity = src.PartOfSpeech_Reciprocity
   493  
   494  // The part of speech tags enum.
   495  //
   496  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   497  type PartOfSpeech_Tag = src.PartOfSpeech_Tag
   498  
   499  // Time reference.
   500  //
   501  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   502  type PartOfSpeech_Tense = src.PartOfSpeech_Tense
   503  
   504  // The relationship between the action that a verb expresses and the
   505  // participants identified by its arguments.
   506  //
   507  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   508  type PartOfSpeech_Voice = src.PartOfSpeech_Voice
   509  
   510  // Represents a sentence in the input document.
   511  //
   512  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   513  type Sentence = src.Sentence
   514  
   515  // Represents the feeling associated with the entire text or entities in the
   516  // text. Next ID: 6
   517  //
   518  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   519  type Sentiment = src.Sentiment
   520  
   521  // Represents an output piece of text.
   522  //
   523  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   524  type TextSpan = src.TextSpan
   525  
   526  // Represents the smallest syntactic building block of the text.
   527  //
   528  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   529  type Token = src.Token
   530  
   531  // UnimplementedLanguageServiceServer can be embedded to have forward
   532  // compatible implementations.
   533  //
   534  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1beta2/languagepb
   535  type UnimplementedLanguageServiceServer = src.UnimplementedLanguageServiceServer
   536  
   537  // Deprecated: Please use funcs in: cloud.google.com/go/language/apiv1beta2/languagepb
   538  func NewLanguageServiceClient(cc grpc.ClientConnInterface) LanguageServiceClient {
   539  	return src.NewLanguageServiceClient(cc)
   540  }
   541  
   542  // Deprecated: Please use funcs in: cloud.google.com/go/language/apiv1beta2/languagepb
   543  func RegisterLanguageServiceServer(s *grpc.Server, srv LanguageServiceServer) {
   544  	src.RegisterLanguageServiceServer(s, srv)
   545  }
   546  

View as plain text