From 4038c9fe4f069e14a3a16ffa6564a8a4db3effa3 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Tue, 10 Dec 2019 00:51:18 -0800 Subject: [PATCH] [CHANGE ME] Re-generated to pick up changes in the API or client library generator. --- .../v1beta2/LanguageServiceClient.java | 6 ++-- .../language/v1beta2/LanguageServiceGrpc.java | 8 ++--- .../language/v1beta2/language_service.proto | 32 +++++++++---------- synth.metadata | 6 ++-- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceClient.java b/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceClient.java index e05ff9f5..fb79ce1c 100644 --- a/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceClient.java +++ b/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceClient.java @@ -378,7 +378,7 @@ public final AnalyzeEntitySentimentResponse analyzeEntitySentiment( // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Analyzes the syntax of the text and provides sentence boundaries and tokenization along with - * part of speech tags, dependency trees, and other properties. + * part-of-speech tags, dependency trees, and other properties. * *

Sample code: * @@ -407,7 +407,7 @@ public final AnalyzeSyntaxResponse analyzeSyntax(Document document, EncodingType // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Analyzes the syntax of the text and provides sentence boundaries and tokenization along with - * part of speech tags, dependency trees, and other properties. + * part-of-speech tags, dependency trees, and other properties. * *

Sample code: * @@ -431,7 +431,7 @@ public final AnalyzeSyntaxResponse analyzeSyntax(AnalyzeSyntaxRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Analyzes the syntax of the text and provides sentence boundaries and tokenization along with - * part of speech tags, dependency trees, and other properties. + * part-of-speech tags, dependency trees, and other properties. * *

Sample code: * diff --git a/grpc-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceGrpc.java b/grpc-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceGrpc.java index 97631423..c27680f8 100644 --- a/grpc-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceGrpc.java +++ b/grpc-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceGrpc.java @@ -475,7 +475,7 @@ public void analyzeEntitySentiment( * *

      * Analyzes the syntax of the text and provides sentence boundaries and
-     * tokenization along with part of speech tags, dependency trees, and other
+     * tokenization along with part-of-speech tags, dependency trees, and other
      * properties.
      * 
*/ @@ -647,7 +647,7 @@ public void analyzeEntitySentiment( * *
      * Analyzes the syntax of the text and provides sentence boundaries and
-     * tokenization along with part of speech tags, dependency trees, and other
+     * tokenization along with part-of-speech tags, dependency trees, and other
      * properties.
      * 
*/ @@ -768,7 +768,7 @@ public com.google.cloud.language.v1beta2.AnalyzeEntitySentimentResponse analyzeE * *
      * Analyzes the syntax of the text and provides sentence boundaries and
-     * tokenization along with part of speech tags, dependency trees, and other
+     * tokenization along with part-of-speech tags, dependency trees, and other
      * properties.
      * 
*/ @@ -881,7 +881,7 @@ protected LanguageServiceFutureStub build( * *
      * Analyzes the syntax of the text and provides sentence boundaries and
-     * tokenization along with part of speech tags, dependency trees, and other
+     * tokenization along with part-of-speech tags, dependency trees, and other
      * properties.
      * 
*/ diff --git a/proto-google-cloud-language-v1beta2/src/main/proto/google/cloud/language/v1beta2/language_service.proto b/proto-google-cloud-language-v1beta2/src/main/proto/google/cloud/language/v1beta2/language_service.proto index d0242e59..384cdf91 100644 --- a/proto-google-cloud-language-v1beta2/src/main/proto/google/cloud/language/v1beta2/language_service.proto +++ b/proto-google-cloud-language-v1beta2/src/main/proto/google/cloud/language/v1beta2/language_service.proto @@ -69,7 +69,7 @@ service LanguageService { } // Analyzes the syntax of the text and provides sentence boundaries and - // tokenization along with part of speech tags, dependency trees, and other + // tokenization along with part-of-speech tags, dependency trees, and other // properties. rpc AnalyzeSyntax(AnalyzeSyntaxRequest) returns (AnalyzeSyntaxResponse) { option (google.api.http) = { @@ -272,6 +272,21 @@ message Entity { Sentiment sentiment = 6; } +// Represents the smallest syntactic building block of the text. +message Token { + // The token text. + TextSpan text = 1; + + // Parts of speech tag for this token. + PartOfSpeech part_of_speech = 2; + + // Dependency tree parse for this token. + DependencyEdge dependency_edge = 3; + + // [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. + string lemma = 4; +} + // 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 @@ -298,21 +313,6 @@ enum EncodingType { UTF32 = 3; } -// Represents the smallest syntactic building block of the text. -message Token { - // The token text. - TextSpan text = 1; - - // Parts of speech tag for this token. - PartOfSpeech part_of_speech = 2; - - // Dependency tree parse for this token. - DependencyEdge dependency_edge = 3; - - // [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. - string lemma = 4; -} - // Represents the feeling associated with the entire text or entities in // the text. // Next ID: 6 diff --git a/synth.metadata b/synth.metadata index a30d1ad0..437d929c 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2019-11-19T19:52:55.887585Z", + "updateTime": "2019-12-10T08:51:18.275634Z", "sources": [ { "generator": { @@ -12,8 +12,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5af83f47b9656261cafcf88b0b3334521ab266b3", - "internalRef": "281334391" + "sha": "6cc9499e225a4f6a5e34fe07e390f67055d7991c", + "internalRef": "284643689" } }, {