Package com.google.cloud.language.v1 (2.52.0)

GitHub Repository RPC Documentation REST Documentation

This package is not the recommended entry point to using this client library!

For this library, we recommend using com.google.cloud.language.v2 for new applications.

Client Classes

Client classes are the main entry point to using a package. They contain several variations of Java methods for each of the API's methods.

Client Description
com.google.cloud.language.v1.LanguageServiceClient Service Description: Provides text analysis operations such as sentiment analysis and entity recognition.

This class provides the ability to make remote calls to the backing service through method

Settings Classes

Settings classes can be used to configure credentials, endpoints, and retry settings for a Client.

Settings Description
com.google.cloud.language.v1.LanguageServiceSettings Settings class to configure an instance of LanguageServiceClient.

The default instance has everything set to sensible defaults:

Classes

Class Description
com.google.cloud.language.v1.AnalyzeEntitiesRequest The entity analysis request message.
com.google.cloud.language.v1.AnalyzeEntitiesRequest.Builder The entity analysis request message.
com.google.cloud.language.v1.AnalyzeEntitiesResponse The entity analysis response message.
com.google.cloud.language.v1.AnalyzeEntitiesResponse.Builder The entity analysis response message.
com.google.cloud.language.v1.AnalyzeEntitySentimentRequest The entity-level sentiment analysis request message.
com.google.cloud.language.v1.AnalyzeEntitySentimentRequest.Builder The entity-level sentiment analysis request message.
com.google.cloud.language.v1.AnalyzeEntitySentimentResponse The entity-level sentiment analysis response message.
com.google.cloud.language.v1.AnalyzeEntitySentimentResponse.Builder The entity-level sentiment analysis response message.
com.google.cloud.language.v1.AnalyzeSentimentRequest The sentiment analysis request message.
com.google.cloud.language.v1.AnalyzeSentimentRequest.Builder The sentiment analysis request message.
com.google.cloud.language.v1.AnalyzeSentimentResponse The sentiment analysis response message.
com.google.cloud.language.v1.AnalyzeSentimentResponse.Builder The sentiment analysis response message.
com.google.cloud.language.v1.AnalyzeSyntaxRequest The syntax analysis request message.
com.google.cloud.language.v1.AnalyzeSyntaxRequest.Builder The syntax analysis request message.
com.google.cloud.language.v1.AnalyzeSyntaxResponse The syntax analysis response message.
com.google.cloud.language.v1.AnalyzeSyntaxResponse.Builder The syntax analysis response message.
com.google.cloud.language.v1.AnnotateTextRequest The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call.
com.google.cloud.language.v1.AnnotateTextRequest.Builder The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call.
com.google.cloud.language.v1.AnnotateTextRequest.Features All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.
com.google.cloud.language.v1.AnnotateTextRequest.Features.Builder All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.
com.google.cloud.language.v1.AnnotateTextResponse The text annotations response message.
com.google.cloud.language.v1.AnnotateTextResponse.Builder The text annotations response message.
com.google.cloud.language.v1.ClassificationCategory Represents a category returned from the text classifier.
com.google.cloud.language.v1.ClassificationCategory.Builder Represents a category returned from the text classifier.
com.google.cloud.language.v1.ClassificationModelOptions Model options available for classification requests.
com.google.cloud.language.v1.ClassificationModelOptions.Builder Model options available for classification requests.
com.google.cloud.language.v1.ClassificationModelOptions.V1Model Options for the V1 model.
com.google.cloud.language.v1.ClassificationModelOptions.V1Model.Builder Options for the V1 model.
com.google.cloud.language.v1.ClassificationModelOptions.V2Model Options for the V2 model.
com.google.cloud.language.v1.ClassificationModelOptions.V2Model.Builder Options for the V2 model.
com.google.cloud.language.v1.ClassifyTextRequest The document classification request message.
com.google.cloud.language.v1.ClassifyTextRequest.Builder The document classification request message.
com.google.cloud.language.v1.ClassifyTextResponse The document classification response message.
com.google.cloud.language.v1.ClassifyTextResponse.Builder The document classification response message.
com.google.cloud.language.v1.DependencyEdge Represents dependency parse tree information for a token. (For more information on dependency labels, see http://www.aclweb.org/anthology/P13-2017
com.google.cloud.language.v1.DependencyEdge.Builder Represents dependency parse tree information for a token. (For more information on dependency labels, see http://www.aclweb.org/anthology/P13-2017
com.google.cloud.language.v1.Document Represents the input to API methods.
com.google.cloud.language.v1.Document.Builder Represents the input to API methods.
com.google.cloud.language.v1.Entity Represents a phrase in the text that is a known entity, such as a person, an organization, or location. The API associates information, such as salience and mentions, with entities.
com.google.cloud.language.v1.Entity.Builder Represents a phrase in the text that is a known entity, such as a person, an organization, or location. The API associates information, such as salience and mentions, with entities.
com.google.cloud.language.v1.EntityMention Represents a mention for an entity in the text. Currently, proper noun mentions are supported.
com.google.cloud.language.v1.EntityMention.Builder Represents a mention for an entity in the text. Currently, proper noun mentions are supported.
com.google.cloud.language.v1.LanguageServiceGrpc Provides text analysis operations such as sentiment analysis and entity recognition.
com.google.cloud.language.v1.LanguageServiceGrpc.LanguageServiceImplBase Base class for the server implementation of the service LanguageService. Provides text analysis operations such as sentiment analysis and entity
com.google.cloud.language.v1.LanguageServiceProto
com.google.cloud.language.v1.LanguageServiceSettings.Builder Builder for LanguageServiceSettings.
com.google.cloud.language.v1.ModerateTextRequest The document moderation request message.
com.google.cloud.language.v1.ModerateTextRequest.Builder The document moderation request message.
com.google.cloud.language.v1.ModerateTextResponse The document moderation response message.
com.google.cloud.language.v1.ModerateTextResponse.Builder The document moderation response message.
com.google.cloud.language.v1.PartOfSpeech Represents part of speech information for a token. Parts of speech are as defined in http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf
com.google.cloud.language.v1.PartOfSpeech.Builder Represents part of speech information for a token. Parts of speech are as defined in http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf
com.google.cloud.language.v1.Sentence Represents a sentence in the input document.
com.google.cloud.language.v1.Sentence.Builder Represents a sentence in the input document.
com.google.cloud.language.v1.Sentiment Represents the feeling associated with the entire text or entities in the text.
com.google.cloud.language.v1.Sentiment.Builder Represents the feeling associated with the entire text or entities in the text.
com.google.cloud.language.v1.TextSpan Represents an output piece of text.
com.google.cloud.language.v1.TextSpan.Builder Represents an output piece of text.
com.google.cloud.language.v1.Token Represents the smallest syntactic building block of the text.
com.google.cloud.language.v1.Token.Builder Represents the smallest syntactic building block of the text.

Interfaces

Interface Description
com.google.cloud.language.v1.AnalyzeEntitiesRequestOrBuilder
com.google.cloud.language.v1.AnalyzeEntitiesResponseOrBuilder
com.google.cloud.language.v1.AnalyzeEntitySentimentRequestOrBuilder
com.google.cloud.language.v1.AnalyzeEntitySentimentResponseOrBuilder
com.google.cloud.language.v1.AnalyzeSentimentRequestOrBuilder
com.google.cloud.language.v1.AnalyzeSentimentResponseOrBuilder
com.google.cloud.language.v1.AnalyzeSyntaxRequestOrBuilder
com.google.cloud.language.v1.AnalyzeSyntaxResponseOrBuilder
com.google.cloud.language.v1.AnnotateTextRequest.FeaturesOrBuilder
com.google.cloud.language.v1.AnnotateTextRequestOrBuilder
com.google.cloud.language.v1.AnnotateTextResponseOrBuilder
com.google.cloud.language.v1.ClassificationCategoryOrBuilder
com.google.cloud.language.v1.ClassificationModelOptions.V1ModelOrBuilder
com.google.cloud.language.v1.ClassificationModelOptions.V2ModelOrBuilder
com.google.cloud.language.v1.ClassificationModelOptionsOrBuilder
com.google.cloud.language.v1.ClassifyTextRequestOrBuilder
com.google.cloud.language.v1.ClassifyTextResponseOrBuilder
com.google.cloud.language.v1.DependencyEdgeOrBuilder
com.google.cloud.language.v1.DocumentOrBuilder
com.google.cloud.language.v1.EntityMentionOrBuilder
com.google.cloud.language.v1.EntityOrBuilder
com.google.cloud.language.v1.LanguageServiceGrpc.AsyncService Provides text analysis operations such as sentiment analysis and entity recognition.
com.google.cloud.language.v1.ModerateTextRequestOrBuilder
com.google.cloud.language.v1.ModerateTextResponseOrBuilder
com.google.cloud.language.v1.PartOfSpeechOrBuilder
com.google.cloud.language.v1.SentenceOrBuilder
com.google.cloud.language.v1.SentimentOrBuilder
com.google.cloud.language.v1.TextSpanOrBuilder
com.google.cloud.language.v1.TokenOrBuilder

Enums

Enum Description
com.google.cloud.language.v1.ClassificationModelOptions.ModelTypeCase
com.google.cloud.language.v1.ClassificationModelOptions.V2Model.ContentCategoriesVersion The content categories used for classification.
com.google.cloud.language.v1.DependencyEdge.Label The parse label enum for the token.
com.google.cloud.language.v1.Document.SourceCase
com.google.cloud.language.v1.Document.Type The document types enum.
com.google.cloud.language.v1.EncodingType Represents the text encoding that the caller uses to process the output. Providing an EncodingType is recommended because the API provides the beginning offsets for various outputs, such as tokens and mentions, and
com.google.cloud.language.v1.Entity.Type The type of the entity. For most entity types, the associated metadata is a Wikipedia URL (wikipedia_url) and Knowledge Graph MID (mid). The table below lists the associated fields for entities that have different
com.google.cloud.language.v1.EntityMention.Type The supported types of mentions.
com.google.cloud.language.v1.PartOfSpeech.Aspect The characteristic of a verb that expresses time flow during an event.
com.google.cloud.language.v1.PartOfSpeech.Case The grammatical function performed by a noun or pronoun in a phrase, clause, or sentence. In some languages, other parts of speech, such as adjective and determiner, take case inflection in agreement with the noun.
com.google.cloud.language.v1.PartOfSpeech.Form Depending on the language, Form can be categorizing different forms of verbs, adjectives, adverbs, etc. For example, categorizing inflected endings of verbs and adjectives or distinguishing between short and long
com.google.cloud.language.v1.PartOfSpeech.Gender Gender classes of nouns reflected in the behaviour of associated words.
com.google.cloud.language.v1.PartOfSpeech.Mood The grammatical feature of verbs, used for showing modality and attitude.
com.google.cloud.language.v1.PartOfSpeech.Number Count distinctions.
com.google.cloud.language.v1.PartOfSpeech.Person The distinction between the speaker, second person, third person, etc.
com.google.cloud.language.v1.PartOfSpeech.Proper This category shows if the token is part of a proper name.
com.google.cloud.language.v1.PartOfSpeech.Reciprocity Reciprocal features of a pronoun.
com.google.cloud.language.v1.PartOfSpeech.Tag The part of speech tags enum.
com.google.cloud.language.v1.PartOfSpeech.Tense Time reference.
com.google.cloud.language.v1.PartOfSpeech.Voice The relationship between the action that a verb expresses and the participants identified by its arguments.