Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit da12b27

Browse files
yoshi-automationchingor13
authored andcommitted
docs(regen): update generated javadoc (#21)
1 parent bca11b7 commit da12b27

File tree

4 files changed

+26
-26
lines changed

4 files changed

+26
-26
lines changed

google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceClient.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ public final AnalyzeEntitySentimentResponse analyzeEntitySentiment(
378378
// AUTO-GENERATED DOCUMENTATION AND METHOD
379379
/**
380380
* Analyzes the syntax of the text and provides sentence boundaries and tokenization along with
381-
* part of speech tags, dependency trees, and other properties.
381+
* part-of-speech tags, dependency trees, and other properties.
382382
*
383383
* <p>Sample code:
384384
*
@@ -407,7 +407,7 @@ public final AnalyzeSyntaxResponse analyzeSyntax(Document document, EncodingType
407407
// AUTO-GENERATED DOCUMENTATION AND METHOD
408408
/**
409409
* Analyzes the syntax of the text and provides sentence boundaries and tokenization along with
410-
* part of speech tags, dependency trees, and other properties.
410+
* part-of-speech tags, dependency trees, and other properties.
411411
*
412412
* <p>Sample code:
413413
*
@@ -431,7 +431,7 @@ public final AnalyzeSyntaxResponse analyzeSyntax(AnalyzeSyntaxRequest request) {
431431
// AUTO-GENERATED DOCUMENTATION AND METHOD
432432
/**
433433
* Analyzes the syntax of the text and provides sentence boundaries and tokenization along with
434-
* part of speech tags, dependency trees, and other properties.
434+
* part-of-speech tags, dependency trees, and other properties.
435435
*
436436
* <p>Sample code:
437437
*

grpc-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceGrpc.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ public void analyzeEntitySentiment(
475475
*
476476
* <pre>
477477
* Analyzes the syntax of the text and provides sentence boundaries and
478-
* tokenization along with part of speech tags, dependency trees, and other
478+
* tokenization along with part-of-speech tags, dependency trees, and other
479479
* properties.
480480
* </pre>
481481
*/
@@ -647,7 +647,7 @@ public void analyzeEntitySentiment(
647647
*
648648
* <pre>
649649
* Analyzes the syntax of the text and provides sentence boundaries and
650-
* tokenization along with part of speech tags, dependency trees, and other
650+
* tokenization along with part-of-speech tags, dependency trees, and other
651651
* properties.
652652
* </pre>
653653
*/
@@ -768,7 +768,7 @@ public com.google.cloud.language.v1beta2.AnalyzeEntitySentimentResponse analyzeE
768768
*
769769
* <pre>
770770
* Analyzes the syntax of the text and provides sentence boundaries and
771-
* tokenization along with part of speech tags, dependency trees, and other
771+
* tokenization along with part-of-speech tags, dependency trees, and other
772772
* properties.
773773
* </pre>
774774
*/
@@ -881,7 +881,7 @@ protected LanguageServiceFutureStub build(
881881
*
882882
* <pre>
883883
* Analyzes the syntax of the text and provides sentence boundaries and
884-
* tokenization along with part of speech tags, dependency trees, and other
884+
* tokenization along with part-of-speech tags, dependency trees, and other
885885
* properties.
886886
* </pre>
887887
*/

proto-google-cloud-language-v1beta2/src/main/proto/google/cloud/language/v1beta2/language_service.proto

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ service LanguageService {
6969
}
7070

7171
// Analyzes the syntax of the text and provides sentence boundaries and
72-
// tokenization along with part of speech tags, dependency trees, and other
72+
// tokenization along with part-of-speech tags, dependency trees, and other
7373
// properties.
7474
rpc AnalyzeSyntax(AnalyzeSyntaxRequest) returns (AnalyzeSyntaxResponse) {
7575
option (google.api.http) = {
@@ -272,6 +272,21 @@ message Entity {
272272
Sentiment sentiment = 6;
273273
}
274274

275+
// Represents the smallest syntactic building block of the text.
276+
message Token {
277+
// The token text.
278+
TextSpan text = 1;
279+
280+
// Parts of speech tag for this token.
281+
PartOfSpeech part_of_speech = 2;
282+
283+
// Dependency tree parse for this token.
284+
DependencyEdge dependency_edge = 3;
285+
286+
// [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.
287+
string lemma = 4;
288+
}
289+
275290
// Represents the text encoding that the caller uses to process the output.
276291
// Providing an `EncodingType` is recommended because the API provides the
277292
// beginning offsets for various outputs, such as tokens and mentions, and
@@ -298,21 +313,6 @@ enum EncodingType {
298313
UTF32 = 3;
299314
}
300315

301-
// Represents the smallest syntactic building block of the text.
302-
message Token {
303-
// The token text.
304-
TextSpan text = 1;
305-
306-
// Parts of speech tag for this token.
307-
PartOfSpeech part_of_speech = 2;
308-
309-
// Dependency tree parse for this token.
310-
DependencyEdge dependency_edge = 3;
311-
312-
// [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.
313-
string lemma = 4;
314-
}
315-
316316
// Represents the feeling associated with the entire text or entities in
317317
// the text.
318318
// Next ID: 6

synth.metadata

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"updateTime": "2019-11-19T19:52:55.887585Z",
2+
"updateTime": "2019-12-10T08:51:18.275634Z",
33
"sources": [
44
{
55
"generator": {
@@ -12,8 +12,8 @@
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "5af83f47b9656261cafcf88b0b3334521ab266b3",
16-
"internalRef": "281334391"
15+
"sha": "6cc9499e225a4f6a5e34fe07e390f67055d7991c",
16+
"internalRef": "284643689"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)