- 2.54.0 (latest)
- 2.53.0
- 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.v2 (2.45.0)
GitHub Repository | RPC Documentation | REST Documentation |
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.v2.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.v2.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.v2.AnalyzeEntitiesRequest | The entity analysis request message. |
com.google.cloud.language.v2.AnalyzeEntitiesRequest.Builder | The entity analysis request message. |
com.google.cloud.language.v2.AnalyzeEntitiesResponse | The entity analysis response message. |
com.google.cloud.language.v2.AnalyzeEntitiesResponse.Builder | The entity analysis response message. |
com.google.cloud.language.v2.AnalyzeSentimentRequest | The sentiment analysis request message. |
com.google.cloud.language.v2.AnalyzeSentimentRequest.Builder | The sentiment analysis request message. |
com.google.cloud.language.v2.AnalyzeSentimentResponse | The sentiment analysis response message. |
com.google.cloud.language.v2.AnalyzeSentimentResponse.Builder | The sentiment analysis response message. |
com.google.cloud.language.v2.AnnotateTextRequest | The request message for the text annotation API, which can perform multiple analysis types in one call. |
com.google.cloud.language.v2.AnnotateTextRequest.Builder | The request message for the text annotation API, which can perform multiple analysis types in one call. |
com.google.cloud.language.v2.AnnotateTextRequest.Features | All available features. Setting each one to true will enable that specific analysis for the input. |
com.google.cloud.language.v2.AnnotateTextRequest.Features.Builder | All available features. Setting each one to true will enable that specific analysis for the input. |
com.google.cloud.language.v2.AnnotateTextResponse | The text annotations response message. |
com.google.cloud.language.v2.AnnotateTextResponse.Builder | The text annotations response message. |
com.google.cloud.language.v2.ClassificationCategory | Represents a category returned from the text classifier. |
com.google.cloud.language.v2.ClassificationCategory.Builder | Represents a category returned from the text classifier. |
com.google.cloud.language.v2.ClassifyTextRequest | The document classification request message. |
com.google.cloud.language.v2.ClassifyTextRequest.Builder | The document classification request message. |
com.google.cloud.language.v2.ClassifyTextResponse | The document classification response message. |
com.google.cloud.language.v2.ClassifyTextResponse.Builder | The document classification response message. |
com.google.cloud.language.v2.Document | Represents the input to API methods. |
com.google.cloud.language.v2.Document.Builder | Represents the input to API methods. |
com.google.cloud.language.v2.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 probability and mentions, with entities. |
com.google.cloud.language.v2.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 probability and mentions, with entities. |
com.google.cloud.language.v2.EntityMention | Represents a mention for an entity in the text. Currently, proper noun mentions are supported. |
com.google.cloud.language.v2.EntityMention.Builder | Represents a mention for an entity in the text. Currently, proper noun mentions are supported. |
com.google.cloud.language.v2.LanguageServiceGrpc | Provides text analysis operations such as sentiment analysis and entity recognition. |
com.google.cloud.language.v2.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.v2.LanguageServiceProto | |
com.google.cloud.language.v2.LanguageServiceSettings.Builder | Builder for LanguageServiceSettings. |
com.google.cloud.language.v2.ModerateTextRequest | The document moderation request message. |
com.google.cloud.language.v2.ModerateTextRequest.Builder | The document moderation request message. |
com.google.cloud.language.v2.ModerateTextResponse | The document moderation response message. |
com.google.cloud.language.v2.ModerateTextResponse.Builder | The document moderation response message. |
com.google.cloud.language.v2.Sentence | Represents a sentence in the input document. |
com.google.cloud.language.v2.Sentence.Builder | Represents a sentence in the input document. |
com.google.cloud.language.v2.Sentiment | Represents the feeling associated with the entire text or entities in the text. |
com.google.cloud.language.v2.Sentiment.Builder | Represents the feeling associated with the entire text or entities in the text. |
com.google.cloud.language.v2.TextSpan | Represents a text span in the input document. |
com.google.cloud.language.v2.TextSpan.Builder | Represents a text span in the input document. |
Interfaces
Enums
Enum | Description |
---|---|
com.google.cloud.language.v2.Document.SourceCase | |
com.google.cloud.language.v2.Document.Type | The document types enum. |
com.google.cloud.language.v2.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.v2.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.v2.EntityMention.Type | The supported types of mentions. |