Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: [language] fix docstring formatting #8451

Merged
merged 2 commits into from
Sep 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions java-language/google-cloud-language-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,27 +53,27 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-language</artifactId>
<version>2.3.3-SNAPSHOT</version><!-- {x-version-update:google-cloud-language:current} -->
<version>2.3.4</version><!-- {x-version-update:google-cloud-language:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-language-v1</artifactId>
<version>2.3.3-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-language-v1:current} -->
<version>2.3.4</version><!-- {x-version-update:grpc-google-cloud-language-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-language-v1beta2</artifactId>
<version>0.90.3-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-language-v1beta2:current} -->
<version>0.90.4</version><!-- {x-version-update:grpc-google-cloud-language-v1beta2:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-language-v1</artifactId>
<version>2.3.3-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-language-v1:current} -->
<version>2.3.4</version><!-- {x-version-update:proto-google-cloud-language-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-language-v1beta2</artifactId>
<version>0.90.3-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-language-v1beta2:current} -->
<version>0.90.4</version><!-- {x-version-update:proto-google-cloud-language-v1beta2:current} -->
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -408,10 +408,8 @@ public void analyzeEntities(
*
*
* <pre>
* Finds entities, similar to
* [AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities]
* in the text and analyzes sentiment associated with each entity and its
* mentions.
* Finds entities, similar to [AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities] in the text and analyzes
* sentiment associated with each entity and its mentions.
* </pre>
*/
public void analyzeEntitySentiment(
Expand Down Expand Up @@ -578,10 +576,8 @@ public void analyzeEntities(
*
*
* <pre>
* Finds entities, similar to
* [AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities]
* in the text and analyzes sentiment associated with each entity and its
* mentions.
* Finds entities, similar to [AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities] in the text and analyzes
* sentiment associated with each entity and its mentions.
* </pre>
*/
public void analyzeEntitySentiment(
Expand Down Expand Up @@ -701,10 +697,8 @@ public com.google.cloud.language.v1.AnalyzeEntitiesResponse analyzeEntities(
*
*
* <pre>
* Finds entities, similar to
* [AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities]
* in the text and analyzes sentiment associated with each entity and its
* mentions.
* Finds entities, similar to [AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities] in the text and analyzes
* sentiment associated with each entity and its mentions.
* </pre>
*/
public com.google.cloud.language.v1.AnalyzeEntitySentimentResponse analyzeEntitySentiment(
Expand Down Expand Up @@ -810,10 +804,8 @@ protected LanguageServiceFutureStub build(
*
*
* <pre>
* Finds entities, similar to
* [AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities]
* in the text and analyzes sentiment associated with each entity and its
* mentions.
* Finds entities, similar to [AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities] in the text and analyzes
* sentiment associated with each entity and its mentions.
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,7 @@ public com.google.cloud.language.v1.EntityOrBuilder getEntitiesOrBuilder(int ind
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -232,8 +231,7 @@ public java.lang.String getLanguage() {
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand Down Expand Up @@ -984,8 +982,7 @@ public java.util.List<com.google.cloud.language.v1.Entity.Builder> getEntitiesBu
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -1009,8 +1006,7 @@ public java.lang.String getLanguage() {
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -1034,8 +1030,7 @@ public com.google.protobuf.ByteString getLanguageBytes() {
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -1058,8 +1053,7 @@ public Builder setLanguage(java.lang.String value) {
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -1078,8 +1072,7 @@ public Builder clearLanguage() {
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ public interface AnalyzeEntitiesResponseOrBuilder
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -95,8 +94,7 @@ public interface AnalyzeEntitiesResponseOrBuilder
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,7 @@ public com.google.cloud.language.v1.EntityOrBuilder getEntitiesOrBuilder(int ind
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -233,8 +232,7 @@ public java.lang.String getLanguage() {
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand Down Expand Up @@ -986,8 +984,7 @@ public java.util.List<com.google.cloud.language.v1.Entity.Builder> getEntitiesBu
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -1011,8 +1008,7 @@ public java.lang.String getLanguage() {
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -1036,8 +1032,7 @@ public com.google.protobuf.ByteString getLanguageBytes() {
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -1060,8 +1055,7 @@ public Builder setLanguage(java.lang.String value) {
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -1080,8 +1074,7 @@ public Builder clearLanguage() {
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ public interface AnalyzeEntitySentimentResponseOrBuilder
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -95,8 +94,7 @@ public interface AnalyzeEntitySentimentResponseOrBuilder
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,7 @@ public com.google.cloud.language.v1.SentimentOrBuilder getDocumentSentimentOrBui
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -227,8 +226,7 @@ public java.lang.String getLanguage() {
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand Down Expand Up @@ -915,8 +913,7 @@ public com.google.cloud.language.v1.SentimentOrBuilder getDocumentSentimentOrBui
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -940,8 +937,7 @@ public java.lang.String getLanguage() {
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -965,8 +961,7 @@ public com.google.protobuf.ByteString getLanguageBytes() {
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -989,8 +984,7 @@ public Builder setLanguage(java.lang.String value) {
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -1009,8 +1003,7 @@ public Builder clearLanguage() {
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ public interface AnalyzeSentimentResponseOrBuilder
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand All @@ -79,8 +78,7 @@ public interface AnalyzeSentimentResponseOrBuilder
* <pre>
* The language of the text, which will be the same as the language specified
* in the request or, if not specified, the automatically-detected language.
* See [Document.language][google.cloud.language.v1.Document.language] field
* for more details.
* See [Document.language][google.cloud.language.v1.Document.language] field for more details.
* </pre>
*
* <code>string language = 2;</code>
Expand Down
Loading