...

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

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

     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/apiv1/languagepb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/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/apiv1/languagepb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use consts in: cloud.google.com/go/language/apiv1/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_HTML                                                             = src.Document_HTML
   119  	Document_PLAIN_TEXT                                                       = src.Document_PLAIN_TEXT
   120  	Document_TYPE_UNSPECIFIED                                                 = src.Document_TYPE_UNSPECIFIED
   121  	EncodingType_NONE                                                         = src.EncodingType_NONE
   122  	EncodingType_UTF16                                                        = src.EncodingType_UTF16
   123  	EncodingType_UTF32                                                        = src.EncodingType_UTF32
   124  	EncodingType_UTF8                                                         = src.EncodingType_UTF8
   125  	EntityMention_COMMON                                                      = src.EntityMention_COMMON
   126  	EntityMention_PROPER                                                      = src.EntityMention_PROPER
   127  	EntityMention_TYPE_UNKNOWN                                                = src.EntityMention_TYPE_UNKNOWN
   128  	Entity_ADDRESS                                                            = src.Entity_ADDRESS
   129  	Entity_CONSUMER_GOOD                                                      = src.Entity_CONSUMER_GOOD
   130  	Entity_DATE                                                               = src.Entity_DATE
   131  	Entity_EVENT                                                              = src.Entity_EVENT
   132  	Entity_LOCATION                                                           = src.Entity_LOCATION
   133  	Entity_NUMBER                                                             = src.Entity_NUMBER
   134  	Entity_ORGANIZATION                                                       = src.Entity_ORGANIZATION
   135  	Entity_OTHER                                                              = src.Entity_OTHER
   136  	Entity_PERSON                                                             = src.Entity_PERSON
   137  	Entity_PHONE_NUMBER                                                       = src.Entity_PHONE_NUMBER
   138  	Entity_PRICE                                                              = src.Entity_PRICE
   139  	Entity_UNKNOWN                                                            = src.Entity_UNKNOWN
   140  	Entity_WORK_OF_ART                                                        = src.Entity_WORK_OF_ART
   141  	PartOfSpeech_ACCUSATIVE                                                   = src.PartOfSpeech_ACCUSATIVE
   142  	PartOfSpeech_ACTIVE                                                       = src.PartOfSpeech_ACTIVE
   143  	PartOfSpeech_ADJ                                                          = src.PartOfSpeech_ADJ
   144  	PartOfSpeech_ADNOMIAL                                                     = src.PartOfSpeech_ADNOMIAL
   145  	PartOfSpeech_ADP                                                          = src.PartOfSpeech_ADP
   146  	PartOfSpeech_ADV                                                          = src.PartOfSpeech_ADV
   147  	PartOfSpeech_ADVERBIAL                                                    = src.PartOfSpeech_ADVERBIAL
   148  	PartOfSpeech_AFFIX                                                        = src.PartOfSpeech_AFFIX
   149  	PartOfSpeech_ASPECT_UNKNOWN                                               = src.PartOfSpeech_ASPECT_UNKNOWN
   150  	PartOfSpeech_AUXILIARY                                                    = src.PartOfSpeech_AUXILIARY
   151  	PartOfSpeech_CASE_UNKNOWN                                                 = src.PartOfSpeech_CASE_UNKNOWN
   152  	PartOfSpeech_CAUSATIVE                                                    = src.PartOfSpeech_CAUSATIVE
   153  	PartOfSpeech_COMPLEMENTIVE                                                = src.PartOfSpeech_COMPLEMENTIVE
   154  	PartOfSpeech_COMPLEMENTIZER                                               = src.PartOfSpeech_COMPLEMENTIZER
   155  	PartOfSpeech_CONDITIONAL_MOOD                                             = src.PartOfSpeech_CONDITIONAL_MOOD
   156  	PartOfSpeech_CONDITIONAL_TENSE                                            = src.PartOfSpeech_CONDITIONAL_TENSE
   157  	PartOfSpeech_CONJ                                                         = src.PartOfSpeech_CONJ
   158  	PartOfSpeech_DATIVE                                                       = src.PartOfSpeech_DATIVE
   159  	PartOfSpeech_DET                                                          = src.PartOfSpeech_DET
   160  	PartOfSpeech_DUAL                                                         = src.PartOfSpeech_DUAL
   161  	PartOfSpeech_FEMININE                                                     = src.PartOfSpeech_FEMININE
   162  	PartOfSpeech_FINAL_ENDING                                                 = src.PartOfSpeech_FINAL_ENDING
   163  	PartOfSpeech_FIRST                                                        = src.PartOfSpeech_FIRST
   164  	PartOfSpeech_FORM_UNKNOWN                                                 = src.PartOfSpeech_FORM_UNKNOWN
   165  	PartOfSpeech_FUTURE                                                       = src.PartOfSpeech_FUTURE
   166  	PartOfSpeech_GENDER_UNKNOWN                                               = src.PartOfSpeech_GENDER_UNKNOWN
   167  	PartOfSpeech_GENITIVE                                                     = src.PartOfSpeech_GENITIVE
   168  	PartOfSpeech_GERUND                                                       = src.PartOfSpeech_GERUND
   169  	PartOfSpeech_IMPERATIVE                                                   = src.PartOfSpeech_IMPERATIVE
   170  	PartOfSpeech_IMPERFECT                                                    = src.PartOfSpeech_IMPERFECT
   171  	PartOfSpeech_IMPERFECTIVE                                                 = src.PartOfSpeech_IMPERFECTIVE
   172  	PartOfSpeech_INDICATIVE                                                   = src.PartOfSpeech_INDICATIVE
   173  	PartOfSpeech_INSTRUMENTAL                                                 = src.PartOfSpeech_INSTRUMENTAL
   174  	PartOfSpeech_INTERROGATIVE                                                = src.PartOfSpeech_INTERROGATIVE
   175  	PartOfSpeech_IRREALIS                                                     = src.PartOfSpeech_IRREALIS
   176  	PartOfSpeech_JUSSIVE                                                      = src.PartOfSpeech_JUSSIVE
   177  	PartOfSpeech_LOCATIVE                                                     = src.PartOfSpeech_LOCATIVE
   178  	PartOfSpeech_LONG                                                         = src.PartOfSpeech_LONG
   179  	PartOfSpeech_MASCULINE                                                    = src.PartOfSpeech_MASCULINE
   180  	PartOfSpeech_MOOD_UNKNOWN                                                 = src.PartOfSpeech_MOOD_UNKNOWN
   181  	PartOfSpeech_NEUTER                                                       = src.PartOfSpeech_NEUTER
   182  	PartOfSpeech_NOMINATIVE                                                   = src.PartOfSpeech_NOMINATIVE
   183  	PartOfSpeech_NON_RECIPROCAL                                               = src.PartOfSpeech_NON_RECIPROCAL
   184  	PartOfSpeech_NOT_PROPER                                                   = src.PartOfSpeech_NOT_PROPER
   185  	PartOfSpeech_NOUN                                                         = src.PartOfSpeech_NOUN
   186  	PartOfSpeech_NUM                                                          = src.PartOfSpeech_NUM
   187  	PartOfSpeech_NUMBER_UNKNOWN                                               = src.PartOfSpeech_NUMBER_UNKNOWN
   188  	PartOfSpeech_OBLIQUE                                                      = src.PartOfSpeech_OBLIQUE
   189  	PartOfSpeech_ORDER                                                        = src.PartOfSpeech_ORDER
   190  	PartOfSpeech_PARTITIVE                                                    = src.PartOfSpeech_PARTITIVE
   191  	PartOfSpeech_PASSIVE                                                      = src.PartOfSpeech_PASSIVE
   192  	PartOfSpeech_PAST                                                         = src.PartOfSpeech_PAST
   193  	PartOfSpeech_PERFECTIVE                                                   = src.PartOfSpeech_PERFECTIVE
   194  	PartOfSpeech_PERSON_UNKNOWN                                               = src.PartOfSpeech_PERSON_UNKNOWN
   195  	PartOfSpeech_PLUPERFECT                                                   = src.PartOfSpeech_PLUPERFECT
   196  	PartOfSpeech_PLURAL                                                       = src.PartOfSpeech_PLURAL
   197  	PartOfSpeech_PREPOSITIONAL                                                = src.PartOfSpeech_PREPOSITIONAL
   198  	PartOfSpeech_PRESENT                                                      = src.PartOfSpeech_PRESENT
   199  	PartOfSpeech_PROGRESSIVE                                                  = src.PartOfSpeech_PROGRESSIVE
   200  	PartOfSpeech_PRON                                                         = src.PartOfSpeech_PRON
   201  	PartOfSpeech_PROPER                                                       = src.PartOfSpeech_PROPER
   202  	PartOfSpeech_PROPER_UNKNOWN                                               = src.PartOfSpeech_PROPER_UNKNOWN
   203  	PartOfSpeech_PRT                                                          = src.PartOfSpeech_PRT
   204  	PartOfSpeech_PUNCT                                                        = src.PartOfSpeech_PUNCT
   205  	PartOfSpeech_REALIS                                                       = src.PartOfSpeech_REALIS
   206  	PartOfSpeech_RECIPROCAL                                                   = src.PartOfSpeech_RECIPROCAL
   207  	PartOfSpeech_RECIPROCITY_UNKNOWN                                          = src.PartOfSpeech_RECIPROCITY_UNKNOWN
   208  	PartOfSpeech_REFLEXIVE_CASE                                               = src.PartOfSpeech_REFLEXIVE_CASE
   209  	PartOfSpeech_REFLEXIVE_PERSON                                             = src.PartOfSpeech_REFLEXIVE_PERSON
   210  	PartOfSpeech_RELATIVE_CASE                                                = src.PartOfSpeech_RELATIVE_CASE
   211  	PartOfSpeech_SECOND                                                       = src.PartOfSpeech_SECOND
   212  	PartOfSpeech_SHORT                                                        = src.PartOfSpeech_SHORT
   213  	PartOfSpeech_SINGULAR                                                     = src.PartOfSpeech_SINGULAR
   214  	PartOfSpeech_SPECIFIC                                                     = src.PartOfSpeech_SPECIFIC
   215  	PartOfSpeech_SUBJUNCTIVE                                                  = src.PartOfSpeech_SUBJUNCTIVE
   216  	PartOfSpeech_TENSE_UNKNOWN                                                = src.PartOfSpeech_TENSE_UNKNOWN
   217  	PartOfSpeech_THIRD                                                        = src.PartOfSpeech_THIRD
   218  	PartOfSpeech_UNKNOWN                                                      = src.PartOfSpeech_UNKNOWN
   219  	PartOfSpeech_VERB                                                         = src.PartOfSpeech_VERB
   220  	PartOfSpeech_VOCATIVE                                                     = src.PartOfSpeech_VOCATIVE
   221  	PartOfSpeech_VOICE_UNKNOWN                                                = src.PartOfSpeech_VOICE_UNKNOWN
   222  	PartOfSpeech_X                                                            = src.PartOfSpeech_X
   223  )
   224  
   225  // Deprecated: Please use vars in: cloud.google.com/go/language/apiv1/languagepb
   226  var (
   227  	ClassificationModelOptions_V2Model_ContentCategoriesVersion_name  = src.ClassificationModelOptions_V2Model_ContentCategoriesVersion_name
   228  	ClassificationModelOptions_V2Model_ContentCategoriesVersion_value = src.ClassificationModelOptions_V2Model_ContentCategoriesVersion_value
   229  	DependencyEdge_Label_name                                         = src.DependencyEdge_Label_name
   230  	DependencyEdge_Label_value                                        = src.DependencyEdge_Label_value
   231  	Document_Type_name                                                = src.Document_Type_name
   232  	Document_Type_value                                               = src.Document_Type_value
   233  	EncodingType_name                                                 = src.EncodingType_name
   234  	EncodingType_value                                                = src.EncodingType_value
   235  	EntityMention_Type_name                                           = src.EntityMention_Type_name
   236  	EntityMention_Type_value                                          = src.EntityMention_Type_value
   237  	Entity_Type_name                                                  = src.Entity_Type_name
   238  	Entity_Type_value                                                 = src.Entity_Type_value
   239  	File_google_cloud_language_v1_language_service_proto              = src.File_google_cloud_language_v1_language_service_proto
   240  	PartOfSpeech_Aspect_name                                          = src.PartOfSpeech_Aspect_name
   241  	PartOfSpeech_Aspect_value                                         = src.PartOfSpeech_Aspect_value
   242  	PartOfSpeech_Case_name                                            = src.PartOfSpeech_Case_name
   243  	PartOfSpeech_Case_value                                           = src.PartOfSpeech_Case_value
   244  	PartOfSpeech_Form_name                                            = src.PartOfSpeech_Form_name
   245  	PartOfSpeech_Form_value                                           = src.PartOfSpeech_Form_value
   246  	PartOfSpeech_Gender_name                                          = src.PartOfSpeech_Gender_name
   247  	PartOfSpeech_Gender_value                                         = src.PartOfSpeech_Gender_value
   248  	PartOfSpeech_Mood_name                                            = src.PartOfSpeech_Mood_name
   249  	PartOfSpeech_Mood_value                                           = src.PartOfSpeech_Mood_value
   250  	PartOfSpeech_Number_name                                          = src.PartOfSpeech_Number_name
   251  	PartOfSpeech_Number_value                                         = src.PartOfSpeech_Number_value
   252  	PartOfSpeech_Person_name                                          = src.PartOfSpeech_Person_name
   253  	PartOfSpeech_Person_value                                         = src.PartOfSpeech_Person_value
   254  	PartOfSpeech_Proper_name                                          = src.PartOfSpeech_Proper_name
   255  	PartOfSpeech_Proper_value                                         = src.PartOfSpeech_Proper_value
   256  	PartOfSpeech_Reciprocity_name                                     = src.PartOfSpeech_Reciprocity_name
   257  	PartOfSpeech_Reciprocity_value                                    = src.PartOfSpeech_Reciprocity_value
   258  	PartOfSpeech_Tag_name                                             = src.PartOfSpeech_Tag_name
   259  	PartOfSpeech_Tag_value                                            = src.PartOfSpeech_Tag_value
   260  	PartOfSpeech_Tense_name                                           = src.PartOfSpeech_Tense_name
   261  	PartOfSpeech_Tense_value                                          = src.PartOfSpeech_Tense_value
   262  	PartOfSpeech_Voice_name                                           = src.PartOfSpeech_Voice_name
   263  	PartOfSpeech_Voice_value                                          = src.PartOfSpeech_Voice_value
   264  )
   265  
   266  // The entity analysis request message.
   267  //
   268  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   269  type AnalyzeEntitiesRequest = src.AnalyzeEntitiesRequest
   270  
   271  // The entity analysis response message.
   272  //
   273  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   274  type AnalyzeEntitiesResponse = src.AnalyzeEntitiesResponse
   275  
   276  // The entity-level sentiment analysis request message.
   277  //
   278  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   279  type AnalyzeEntitySentimentRequest = src.AnalyzeEntitySentimentRequest
   280  
   281  // The entity-level sentiment analysis response message.
   282  //
   283  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   284  type AnalyzeEntitySentimentResponse = src.AnalyzeEntitySentimentResponse
   285  
   286  // The sentiment analysis request message.
   287  //
   288  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   289  type AnalyzeSentimentRequest = src.AnalyzeSentimentRequest
   290  
   291  // The sentiment analysis response message.
   292  //
   293  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   294  type AnalyzeSentimentResponse = src.AnalyzeSentimentResponse
   295  
   296  // The syntax analysis request message.
   297  //
   298  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   299  type AnalyzeSyntaxRequest = src.AnalyzeSyntaxRequest
   300  
   301  // The syntax analysis response message.
   302  //
   303  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   304  type AnalyzeSyntaxResponse = src.AnalyzeSyntaxResponse
   305  
   306  // The request message for the text annotation API, which can perform multiple
   307  // analysis types (sentiment, entities, and syntax) in one call.
   308  //
   309  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   310  type AnnotateTextRequest = src.AnnotateTextRequest
   311  
   312  // All available features for sentiment, syntax, and semantic analysis.
   313  // Setting each one to true will enable that specific analysis for the input.
   314  //
   315  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   316  type AnnotateTextRequest_Features = src.AnnotateTextRequest_Features
   317  
   318  // The text annotations response message.
   319  //
   320  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   321  type AnnotateTextResponse = src.AnnotateTextResponse
   322  
   323  // Represents a category returned from the text classifier.
   324  //
   325  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   326  type ClassificationCategory = src.ClassificationCategory
   327  
   328  // Model options available for classification requests.
   329  //
   330  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   331  type ClassificationModelOptions = src.ClassificationModelOptions
   332  
   333  // Options for the V1 model.
   334  //
   335  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   336  type ClassificationModelOptions_V1Model = src.ClassificationModelOptions_V1Model
   337  type ClassificationModelOptions_V1Model_ = src.ClassificationModelOptions_V1Model_
   338  
   339  // Options for the V2 model.
   340  //
   341  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   342  type ClassificationModelOptions_V2Model = src.ClassificationModelOptions_V2Model
   343  type ClassificationModelOptions_V2Model_ = src.ClassificationModelOptions_V2Model_
   344  
   345  // The content categories used for classification.
   346  //
   347  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   348  type ClassificationModelOptions_V2Model_ContentCategoriesVersion = src.ClassificationModelOptions_V2Model_ContentCategoriesVersion
   349  
   350  // The document classification request message.
   351  //
   352  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   353  type ClassifyTextRequest = src.ClassifyTextRequest
   354  
   355  // The document classification response message.
   356  //
   357  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   358  type ClassifyTextResponse = src.ClassifyTextResponse
   359  
   360  // Represents dependency parse tree information for a token. (For more
   361  // information on dependency labels, see
   362  // http://www.aclweb.org/anthology/P13-2017
   363  //
   364  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   365  type DependencyEdge = src.DependencyEdge
   366  
   367  // The parse label enum for the token.
   368  //
   369  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   370  type DependencyEdge_Label = src.DependencyEdge_Label
   371  
   372  // Represents the input to API methods.
   373  //
   374  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   375  type Document = src.Document
   376  type Document_Content = src.Document_Content
   377  type Document_GcsContentUri = src.Document_GcsContentUri
   378  
   379  // The document types enum.
   380  //
   381  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   382  type Document_Type = src.Document_Type
   383  
   384  // Represents the text encoding that the caller uses to process the output.
   385  // Providing an `EncodingType` is recommended because the API provides the
   386  // beginning offsets for various outputs, such as tokens and mentions, and
   387  // languages that natively use different text encodings may access offsets
   388  // differently.
   389  //
   390  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   391  type EncodingType = src.EncodingType
   392  
   393  // Represents a phrase in the text that is a known entity, such as a person,
   394  // an organization, or location. The API associates information, such as
   395  // salience and mentions, with entities.
   396  //
   397  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   398  type Entity = src.Entity
   399  
   400  // Represents a mention for an entity in the text. Currently, proper noun
   401  // mentions are supported.
   402  //
   403  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   404  type EntityMention = src.EntityMention
   405  
   406  // The supported types of mentions.
   407  //
   408  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   409  type EntityMention_Type = src.EntityMention_Type
   410  
   411  // The type of the entity. For most entity types, the associated metadata is a
   412  // Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`). The table
   413  // below lists the associated fields for entities that have different metadata.
   414  //
   415  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   416  type Entity_Type = src.Entity_Type
   417  
   418  // LanguageServiceClient is the client API for LanguageService service. For
   419  // semantics around ctx use and closing/ending streaming RPCs, please refer to
   420  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   421  //
   422  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   423  type LanguageServiceClient = src.LanguageServiceClient
   424  
   425  // LanguageServiceServer is the server API for LanguageService service.
   426  //
   427  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   428  type LanguageServiceServer = src.LanguageServiceServer
   429  
   430  // Represents part of speech information for a token. Parts of speech are as
   431  // defined in http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf
   432  //
   433  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   434  type PartOfSpeech = src.PartOfSpeech
   435  
   436  // The characteristic of a verb that expresses time flow during an event.
   437  //
   438  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   439  type PartOfSpeech_Aspect = src.PartOfSpeech_Aspect
   440  
   441  // The grammatical function performed by a noun or pronoun in a phrase,
   442  // clause, or sentence. In some languages, other parts of speech, such as
   443  // adjective and determiner, take case inflection in agreement with the noun.
   444  //
   445  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   446  type PartOfSpeech_Case = src.PartOfSpeech_Case
   447  
   448  // Depending on the language, Form can be categorizing different forms of
   449  // verbs, adjectives, adverbs, etc. For example, categorizing inflected endings
   450  // of verbs and adjectives or distinguishing between short and long forms of
   451  // adjectives and participles
   452  //
   453  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   454  type PartOfSpeech_Form = src.PartOfSpeech_Form
   455  
   456  // Gender classes of nouns reflected in the behaviour of associated words.
   457  //
   458  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   459  type PartOfSpeech_Gender = src.PartOfSpeech_Gender
   460  
   461  // The grammatical feature of verbs, used for showing modality and attitude.
   462  //
   463  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   464  type PartOfSpeech_Mood = src.PartOfSpeech_Mood
   465  
   466  // Count distinctions.
   467  //
   468  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   469  type PartOfSpeech_Number = src.PartOfSpeech_Number
   470  
   471  // The distinction between the speaker, second person, third person, etc.
   472  //
   473  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   474  type PartOfSpeech_Person = src.PartOfSpeech_Person
   475  
   476  // This category shows if the token is part of a proper name.
   477  //
   478  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   479  type PartOfSpeech_Proper = src.PartOfSpeech_Proper
   480  
   481  // Reciprocal features of a pronoun.
   482  //
   483  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   484  type PartOfSpeech_Reciprocity = src.PartOfSpeech_Reciprocity
   485  
   486  // The part of speech tags enum.
   487  //
   488  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   489  type PartOfSpeech_Tag = src.PartOfSpeech_Tag
   490  
   491  // Time reference.
   492  //
   493  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   494  type PartOfSpeech_Tense = src.PartOfSpeech_Tense
   495  
   496  // The relationship between the action that a verb expresses and the
   497  // participants identified by its arguments.
   498  //
   499  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   500  type PartOfSpeech_Voice = src.PartOfSpeech_Voice
   501  
   502  // Represents a sentence in the input document.
   503  //
   504  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   505  type Sentence = src.Sentence
   506  
   507  // Represents the feeling associated with the entire text or entities in the
   508  // text.
   509  //
   510  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   511  type Sentiment = src.Sentiment
   512  
   513  // Represents an output piece of text.
   514  //
   515  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   516  type TextSpan = src.TextSpan
   517  
   518  // Represents the smallest syntactic building block of the text.
   519  //
   520  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   521  type Token = src.Token
   522  
   523  // UnimplementedLanguageServiceServer can be embedded to have forward
   524  // compatible implementations.
   525  //
   526  // Deprecated: Please use types in: cloud.google.com/go/language/apiv1/languagepb
   527  type UnimplementedLanguageServiceServer = src.UnimplementedLanguageServiceServer
   528  
   529  // Deprecated: Please use funcs in: cloud.google.com/go/language/apiv1/languagepb
   530  func NewLanguageServiceClient(cc grpc.ClientConnInterface) LanguageServiceClient {
   531  	return src.NewLanguageServiceClient(cc)
   532  }
   533  
   534  // Deprecated: Please use funcs in: cloud.google.com/go/language/apiv1/languagepb
   535  func RegisterLanguageServiceServer(s *grpc.Server, srv LanguageServiceServer) {
   536  	src.RegisterLanguageServiceServer(s, srv)
   537  }
   538  

View as plain text