- 2.53.0 (latest)
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.1
- 2.3.4
- 2.2.0
- 2.1.10
Package com.google.cloud.language.v1beta2 (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.
Prerelease Implications
This package is a prerelease version! Use with caution.
Prerelease versions are considered unstable as they may be shut down and/or subject to breaking changes when upgrading. Use them only for testing or if you specifically need their experimental features.
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.v1beta2.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.v1beta2.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.v1beta2.AnalyzeEntitiesRequest | The entity analysis request message. |
com.google.cloud.language.v1beta2.AnalyzeEntitiesRequest.Builder | The entity analysis request message. |
com.google.cloud.language.v1beta2.AnalyzeEntitiesResponse | The entity analysis response message. |
com.google.cloud.language.v1beta2.AnalyzeEntitiesResponse.Builder | The entity analysis response message. |
com.google.cloud.language.v1beta2.AnalyzeEntitySentimentRequest | The entity-level sentiment analysis request message. |
com.google.cloud.language.v1beta2.AnalyzeEntitySentimentRequest.Builder | The entity-level sentiment analysis request message. |
com.google.cloud.language.v1beta2.AnalyzeEntitySentimentResponse | The entity-level sentiment analysis response message. |
com.google.cloud.language.v1beta2.AnalyzeEntitySentimentResponse.Builder | The entity-level sentiment analysis response message. |
com.google.cloud.language.v1beta2.AnalyzeSentimentRequest | The sentiment analysis request message. |
com.google.cloud.language.v1beta2.AnalyzeSentimentRequest.Builder | The sentiment analysis request message. |
com.google.cloud.language.v1beta2.AnalyzeSentimentResponse | The sentiment analysis response message. |
com.google.cloud.language.v1beta2.AnalyzeSentimentResponse.Builder | The sentiment analysis response message. |
com.google.cloud.language.v1beta2.AnalyzeSyntaxRequest | The syntax analysis request message. |
com.google.cloud.language.v1beta2.AnalyzeSyntaxRequest.Builder | The syntax analysis request message. |
com.google.cloud.language.v1beta2.AnalyzeSyntaxResponse | The syntax analysis response message. |
com.google.cloud.language.v1beta2.AnalyzeSyntaxResponse.Builder | The syntax analysis response message. |
com.google.cloud.language.v1beta2.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.v1beta2.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.v1beta2.AnnotateTextRequest.Features | All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input. Next ID: 12 |
com.google.cloud.language.v1beta2.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. Next ID: 12 |
com.google.cloud.language.v1beta2.AnnotateTextResponse | The text annotations response message. |
com.google.cloud.language.v1beta2.AnnotateTextResponse.Builder | The text annotations response message. |
com.google.cloud.language.v1beta2.ClassificationCategory | Represents a category returned from the text classifier. |
com.google.cloud.language.v1beta2.ClassificationCategory.Builder | Represents a category returned from the text classifier. |
com.google.cloud.language.v1beta2.ClassificationModelOptions | Model options available for classification requests. |
com.google.cloud.language.v1beta2.ClassificationModelOptions.Builder | Model options available for classification requests. |
com.google.cloud.language.v1beta2.ClassificationModelOptions.V1Model | Options for the V1 model. |
com.google.cloud.language.v1beta2.ClassificationModelOptions.V1Model.Builder | Options for the V1 model. |
com.google.cloud.language.v1beta2.ClassificationModelOptions.V2Model | Options for the V2 model. |
com.google.cloud.language.v1beta2.ClassificationModelOptions.V2Model.Builder | Options for the V2 model. |
com.google.cloud.language.v1beta2.ClassifyTextRequest | The document classification request message. |
com.google.cloud.language.v1beta2.ClassifyTextRequest.Builder | The document classification request message. |
com.google.cloud.language.v1beta2.ClassifyTextResponse | The document classification response message. |
com.google.cloud.language.v1beta2.ClassifyTextResponse.Builder | The document classification response message. |
com.google.cloud.language.v1beta2.DependencyEdge | Represents dependency parse tree information for a token. |
com.google.cloud.language.v1beta2.DependencyEdge.Builder | Represents dependency parse tree information for a token. |
com.google.cloud.language.v1beta2.Document | Represents the input to API methods. |
com.google.cloud.language.v1beta2.Document.Builder | Represents the input to API methods. |
com.google.cloud.language.v1beta2.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.v1beta2.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.v1beta2.EntityMention | Represents a mention for an entity in the text. Currently, proper noun mentions are supported. |
com.google.cloud.language.v1beta2.EntityMention.Builder | Represents a mention for an entity in the text. Currently, proper noun mentions are supported. |
com.google.cloud.language.v1beta2.LanguageServiceGrpc | Provides text analysis operations such as sentiment analysis and entity recognition. |
com.google.cloud.language.v1beta2.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.v1beta2.LanguageServiceProto | |
com.google.cloud.language.v1beta2.LanguageServiceSettings.Builder | Builder for LanguageServiceSettings. |
com.google.cloud.language.v1beta2.ModerateTextRequest | The document moderation request message. |
com.google.cloud.language.v1beta2.ModerateTextRequest.Builder | The document moderation request message. |
com.google.cloud.language.v1beta2.ModerateTextResponse | The document moderation response message. |
com.google.cloud.language.v1beta2.ModerateTextResponse.Builder | The document moderation response message. |
com.google.cloud.language.v1beta2.PartOfSpeech | Represents part of speech information for a token. |
com.google.cloud.language.v1beta2.PartOfSpeech.Builder | Represents part of speech information for a token. |
com.google.cloud.language.v1beta2.Sentence | Represents a sentence in the input document. |
com.google.cloud.language.v1beta2.Sentence.Builder | Represents a sentence in the input document. |
com.google.cloud.language.v1beta2.Sentiment | Represents the feeling associated with the entire text or entities in the text. Next ID: 6 |
com.google.cloud.language.v1beta2.Sentiment.Builder | Represents the feeling associated with the entire text or entities in the text. Next ID: 6 |
com.google.cloud.language.v1beta2.TextSpan | Represents an output piece of text. |
com.google.cloud.language.v1beta2.TextSpan.Builder | Represents an output piece of text. |
com.google.cloud.language.v1beta2.Token | Represents the smallest syntactic building block of the text. |
com.google.cloud.language.v1beta2.Token.Builder | Represents the smallest syntactic building block of the text. |
Interfaces
Enums
Enum | Description |
---|---|
com.google.cloud.language.v1beta2.ClassificationModelOptions.ModelTypeCase | |
com.google.cloud.language.v1beta2.ClassificationModelOptions.V2Model.ContentCategoriesVersion | The content categories used for classification. |
com.google.cloud.language.v1beta2.DependencyEdge.Label | The parse label enum for the token. |
com.google.cloud.language.v1beta2.Document.BoilerplateHandling | Ways of handling boilerplate detected in the document |
com.google.cloud.language.v1beta2.Document.SourceCase | |
com.google.cloud.language.v1beta2.Document.Type | The document types enum. |
com.google.cloud.language.v1beta2.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.v1beta2.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.v1beta2.EntityMention.Type | The supported types of mentions. |
com.google.cloud.language.v1beta2.PartOfSpeech.Aspect | The characteristic of a verb that expresses time flow during an event. |
com.google.cloud.language.v1beta2.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.v1beta2.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.v1beta2.PartOfSpeech.Gender | Gender classes of nouns reflected in the behaviour of associated words. |
com.google.cloud.language.v1beta2.PartOfSpeech.Mood | The grammatical feature of verbs, used for showing modality and attitude. |
com.google.cloud.language.v1beta2.PartOfSpeech.Number | Count distinctions. |
com.google.cloud.language.v1beta2.PartOfSpeech.Person | The distinction between the speaker, second person, third person, etc. |
com.google.cloud.language.v1beta2.PartOfSpeech.Proper | This category shows if the token is part of a proper name. |
com.google.cloud.language.v1beta2.PartOfSpeech.Reciprocity | Reciprocal features of a pronoun. |
com.google.cloud.language.v1beta2.PartOfSpeech.Tag | The part of speech tags enum. |
com.google.cloud.language.v1beta2.PartOfSpeech.Tense | Time reference. |
com.google.cloud.language.v1beta2.PartOfSpeech.Voice | The relationship between the action that a verb expresses and the participants identified by its arguments. |