diff --git a/google-api-grpc/grpc-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceGrpc.java b/google-api-grpc/grpc-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceGrpc.java index bfca34fb1fc6..b919dd0785ba 100644 --- a/google-api-grpc/grpc-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceGrpc.java +++ b/google-api-grpc/grpc-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceGrpc.java @@ -442,10 +442,8 @@ public void analyzeEntities( * * *
-     * 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.
      * 
*/ public void analyzeEntitySentiment( @@ -612,10 +610,8 @@ public void analyzeEntities( * * *
-     * 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.
      * 
*/ public void analyzeEntitySentiment( @@ -739,10 +735,8 @@ public com.google.cloud.language.v1.AnalyzeEntitiesResponse analyzeEntities( * * *
-     * 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.
      * 
*/ public com.google.cloud.language.v1.AnalyzeEntitySentimentResponse analyzeEntitySentiment( @@ -852,10 +846,8 @@ protected LanguageServiceFutureStub build( * * *
-     * 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.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesRequest.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesRequest.java index f11407db0fbf..6b12b3d35ef8 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesRequest.java @@ -116,7 +116,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasDocument() { return document_ != null; @@ -128,7 +130,9 @@ public boolean hasDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document getDocument() { return document_ == null @@ -142,7 +146,9 @@ public com.google.cloud.language.v1.Document getDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { return getDocument(); @@ -536,7 +542,9 @@ public Builder mergeFrom( * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasDocument() { return documentBuilder_ != null || document_ != null; @@ -548,7 +556,9 @@ public boolean hasDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document getDocument() { if (documentBuilder_ == null) { @@ -566,7 +576,9 @@ public com.google.cloud.language.v1.Document getDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDocument(com.google.cloud.language.v1.Document value) { if (documentBuilder_ == null) { @@ -588,7 +600,9 @@ public Builder setDocument(com.google.cloud.language.v1.Document value) { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDocument(com.google.cloud.language.v1.Document.Builder builderForValue) { if (documentBuilder_ == null) { @@ -607,7 +621,9 @@ public Builder setDocument(com.google.cloud.language.v1.Document.Builder builder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDocument(com.google.cloud.language.v1.Document value) { if (documentBuilder_ == null) { @@ -633,7 +649,9 @@ public Builder mergeDocument(com.google.cloud.language.v1.Document value) { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDocument() { if (documentBuilder_ == null) { @@ -653,7 +671,9 @@ public Builder clearDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document.Builder getDocumentBuilder() { @@ -667,7 +687,9 @@ public com.google.cloud.language.v1.Document.Builder getDocumentBuilder() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { if (documentBuilder_ != null) { @@ -685,7 +707,9 @@ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.language.v1.Document, diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesRequestOrBuilder.java index 89ba9d76c47d..393cca04f0c0 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesRequestOrBuilder.java @@ -15,7 +15,9 @@ public interface AnalyzeEntitiesRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasDocument(); /** @@ -25,7 +27,9 @@ public interface AnalyzeEntitiesRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.language.v1.Document getDocument(); /** @@ -35,7 +39,9 @@ public interface AnalyzeEntitiesRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder(); diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesResponse.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesResponse.java index e7873bf78d76..dabd70269124 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesResponse.java @@ -179,8 +179,7 @@ public com.google.cloud.language.v1.EntityOrBuilder getEntitiesOrBuilder(int ind *
    * 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.
    * 
* * string language = 2; @@ -202,8 +201,7 @@ public java.lang.String getLanguage() { *
    * 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.
    * 
* * string language = 2; @@ -953,8 +951,7 @@ public java.util.List getEntitiesBu *
      * 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.
      * 
* * string language = 2; @@ -976,8 +973,7 @@ public java.lang.String getLanguage() { *
      * 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.
      * 
* * string language = 2; @@ -999,8 +995,7 @@ public com.google.protobuf.ByteString getLanguageBytes() { *
      * 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.
      * 
* * string language = 2; @@ -1020,8 +1015,7 @@ public Builder setLanguage(java.lang.String value) { *
      * 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.
      * 
* * string language = 2; @@ -1038,8 +1032,7 @@ public Builder clearLanguage() { *
      * 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.
      * 
* * string language = 2; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesResponseOrBuilder.java index a57710c26198..0ba181d5e210 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesResponseOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitiesResponseOrBuilder.java @@ -65,8 +65,7 @@ public interface AnalyzeEntitiesResponseOrBuilder *
    * 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.
    * 
* * string language = 2; @@ -78,8 +77,7 @@ public interface AnalyzeEntitiesResponseOrBuilder *
    * 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.
    * 
* * string language = 2; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentRequest.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentRequest.java index 9dbac87557a5..751432c89608 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentRequest.java @@ -116,7 +116,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasDocument() { return document_ != null; @@ -128,7 +130,9 @@ public boolean hasDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document getDocument() { return document_ == null @@ -142,7 +146,9 @@ public com.google.cloud.language.v1.Document getDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { return getDocument(); @@ -537,7 +543,9 @@ public Builder mergeFrom( * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasDocument() { return documentBuilder_ != null || document_ != null; @@ -549,7 +557,9 @@ public boolean hasDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document getDocument() { if (documentBuilder_ == null) { @@ -567,7 +577,9 @@ public com.google.cloud.language.v1.Document getDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDocument(com.google.cloud.language.v1.Document value) { if (documentBuilder_ == null) { @@ -589,7 +601,9 @@ public Builder setDocument(com.google.cloud.language.v1.Document value) { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDocument(com.google.cloud.language.v1.Document.Builder builderForValue) { if (documentBuilder_ == null) { @@ -608,7 +622,9 @@ public Builder setDocument(com.google.cloud.language.v1.Document.Builder builder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDocument(com.google.cloud.language.v1.Document value) { if (documentBuilder_ == null) { @@ -634,7 +650,9 @@ public Builder mergeDocument(com.google.cloud.language.v1.Document value) { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDocument() { if (documentBuilder_ == null) { @@ -654,7 +672,9 @@ public Builder clearDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document.Builder getDocumentBuilder() { @@ -668,7 +688,9 @@ public com.google.cloud.language.v1.Document.Builder getDocumentBuilder() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { if (documentBuilder_ != null) { @@ -686,7 +708,9 @@ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.language.v1.Document, diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentRequestOrBuilder.java index b68b1a880306..2f5ad809ad8e 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentRequestOrBuilder.java @@ -15,7 +15,9 @@ public interface AnalyzeEntitySentimentRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasDocument(); /** @@ -25,7 +27,9 @@ public interface AnalyzeEntitySentimentRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.language.v1.Document getDocument(); /** @@ -35,7 +39,9 @@ public interface AnalyzeEntitySentimentRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder(); diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentResponse.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentResponse.java index d10ffeb804f3..5ef7084f6d76 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentResponse.java @@ -180,8 +180,7 @@ public com.google.cloud.language.v1.EntityOrBuilder getEntitiesOrBuilder(int ind *
    * 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.
    * 
* * string language = 2; @@ -203,8 +202,7 @@ public java.lang.String getLanguage() { *
    * 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.
    * 
* * string language = 2; @@ -955,8 +953,7 @@ public java.util.List getEntitiesBu *
      * 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.
      * 
* * string language = 2; @@ -978,8 +975,7 @@ public java.lang.String getLanguage() { *
      * 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.
      * 
* * string language = 2; @@ -1001,8 +997,7 @@ public com.google.protobuf.ByteString getLanguageBytes() { *
      * 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.
      * 
* * string language = 2; @@ -1022,8 +1017,7 @@ public Builder setLanguage(java.lang.String value) { *
      * 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.
      * 
* * string language = 2; @@ -1040,8 +1034,7 @@ public Builder clearLanguage() { *
      * 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.
      * 
* * string language = 2; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentResponseOrBuilder.java index 858e8a169faa..6a507adb6ae8 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentResponseOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeEntitySentimentResponseOrBuilder.java @@ -65,8 +65,7 @@ public interface AnalyzeEntitySentimentResponseOrBuilder *
    * 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.
    * 
* * string language = 2; @@ -78,8 +77,7 @@ public interface AnalyzeEntitySentimentResponseOrBuilder *
    * 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.
    * 
* * string language = 2; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentRequest.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentRequest.java index 2b145555c10a..2c862fccfd60 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentRequest.java @@ -116,7 +116,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasDocument() { return document_ != null; @@ -128,7 +130,9 @@ public boolean hasDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document getDocument() { return document_ == null @@ -142,7 +146,9 @@ public com.google.cloud.language.v1.Document getDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { return getDocument(); @@ -536,7 +542,9 @@ public Builder mergeFrom( * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasDocument() { return documentBuilder_ != null || document_ != null; @@ -548,7 +556,9 @@ public boolean hasDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document getDocument() { if (documentBuilder_ == null) { @@ -566,7 +576,9 @@ public com.google.cloud.language.v1.Document getDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDocument(com.google.cloud.language.v1.Document value) { if (documentBuilder_ == null) { @@ -588,7 +600,9 @@ public Builder setDocument(com.google.cloud.language.v1.Document value) { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDocument(com.google.cloud.language.v1.Document.Builder builderForValue) { if (documentBuilder_ == null) { @@ -607,7 +621,9 @@ public Builder setDocument(com.google.cloud.language.v1.Document.Builder builder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDocument(com.google.cloud.language.v1.Document value) { if (documentBuilder_ == null) { @@ -633,7 +649,9 @@ public Builder mergeDocument(com.google.cloud.language.v1.Document value) { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDocument() { if (documentBuilder_ == null) { @@ -653,7 +671,9 @@ public Builder clearDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document.Builder getDocumentBuilder() { @@ -667,7 +687,9 @@ public com.google.cloud.language.v1.Document.Builder getDocumentBuilder() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { if (documentBuilder_ != null) { @@ -685,7 +707,9 @@ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.language.v1.Document, diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentRequestOrBuilder.java index 011afc13aba3..9f3cff27fd79 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentRequestOrBuilder.java @@ -15,7 +15,9 @@ public interface AnalyzeSentimentRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasDocument(); /** @@ -25,7 +27,9 @@ public interface AnalyzeSentimentRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.language.v1.Document getDocument(); /** @@ -35,7 +39,9 @@ public interface AnalyzeSentimentRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder(); diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentResponse.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentResponse.java index ab7bdf41f103..b72367d9dc66 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentResponse.java @@ -172,8 +172,7 @@ public com.google.cloud.language.v1.SentimentOrBuilder getDocumentSentimentOrBui *
    * 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.
    * 
* * string language = 2; @@ -195,8 +194,7 @@ public java.lang.String getLanguage() { *
    * 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.
    * 
* * string language = 2; @@ -873,8 +871,7 @@ public com.google.cloud.language.v1.SentimentOrBuilder getDocumentSentimentOrBui *
      * 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.
      * 
* * string language = 2; @@ -896,8 +893,7 @@ public java.lang.String getLanguage() { *
      * 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.
      * 
* * string language = 2; @@ -919,8 +915,7 @@ public com.google.protobuf.ByteString getLanguageBytes() { *
      * 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.
      * 
* * string language = 2; @@ -940,8 +935,7 @@ public Builder setLanguage(java.lang.String value) { *
      * 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.
      * 
* * string language = 2; @@ -958,8 +952,7 @@ public Builder clearLanguage() { *
      * 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.
      * 
* * string language = 2; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentResponseOrBuilder.java index 9b010b3c4574..e0b0030fc5df 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentResponseOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSentimentResponseOrBuilder.java @@ -45,8 +45,7 @@ public interface AnalyzeSentimentResponseOrBuilder *
    * 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.
    * 
* * string language = 2; @@ -58,8 +57,7 @@ public interface AnalyzeSentimentResponseOrBuilder *
    * 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.
    * 
* * string language = 2; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxRequest.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxRequest.java index 1de0af1bcdda..23a1a41ff032 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxRequest.java @@ -116,7 +116,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasDocument() { return document_ != null; @@ -128,7 +130,9 @@ public boolean hasDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document getDocument() { return document_ == null @@ -142,7 +146,9 @@ public com.google.cloud.language.v1.Document getDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { return getDocument(); @@ -536,7 +542,9 @@ public Builder mergeFrom( * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasDocument() { return documentBuilder_ != null || document_ != null; @@ -548,7 +556,9 @@ public boolean hasDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document getDocument() { if (documentBuilder_ == null) { @@ -566,7 +576,9 @@ public com.google.cloud.language.v1.Document getDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDocument(com.google.cloud.language.v1.Document value) { if (documentBuilder_ == null) { @@ -588,7 +600,9 @@ public Builder setDocument(com.google.cloud.language.v1.Document value) { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDocument(com.google.cloud.language.v1.Document.Builder builderForValue) { if (documentBuilder_ == null) { @@ -607,7 +621,9 @@ public Builder setDocument(com.google.cloud.language.v1.Document.Builder builder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDocument(com.google.cloud.language.v1.Document value) { if (documentBuilder_ == null) { @@ -633,7 +649,9 @@ public Builder mergeDocument(com.google.cloud.language.v1.Document value) { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDocument() { if (documentBuilder_ == null) { @@ -653,7 +671,9 @@ public Builder clearDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document.Builder getDocumentBuilder() { @@ -667,7 +687,9 @@ public com.google.cloud.language.v1.Document.Builder getDocumentBuilder() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { if (documentBuilder_ != null) { @@ -685,7 +707,9 @@ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.language.v1.Document, diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxRequestOrBuilder.java index ab1321a22eab..0c4e9c9fc8ae 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxRequestOrBuilder.java @@ -15,7 +15,9 @@ public interface AnalyzeSyntaxRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasDocument(); /** @@ -25,7 +27,9 @@ public interface AnalyzeSyntaxRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.language.v1.Document getDocument(); /** @@ -35,7 +39,9 @@ public interface AnalyzeSyntaxRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder(); diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxResponse.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxResponse.java index 9b047ee9a067..128d92ea5f40 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxResponse.java @@ -258,8 +258,7 @@ public com.google.cloud.language.v1.TokenOrBuilder getTokensOrBuilder(int index) *
    * 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.
    * 
* * string language = 3; @@ -281,8 +280,7 @@ public java.lang.String getLanguage() { *
    * 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.
    * 
* * string language = 3; @@ -1434,8 +1432,7 @@ public java.util.List getTokensBuild *
      * 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.
      * 
* * string language = 3; @@ -1457,8 +1454,7 @@ public java.lang.String getLanguage() { *
      * 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.
      * 
* * string language = 3; @@ -1480,8 +1476,7 @@ public com.google.protobuf.ByteString getLanguageBytes() { *
      * 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.
      * 
* * string language = 3; @@ -1501,8 +1496,7 @@ public Builder setLanguage(java.lang.String value) { *
      * 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.
      * 
* * string language = 3; @@ -1519,8 +1513,7 @@ public Builder clearLanguage() { *
      * 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.
      * 
* * string language = 3; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxResponseOrBuilder.java index 853a774d10a4..0db86a214005 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxResponseOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnalyzeSyntaxResponseOrBuilder.java @@ -117,8 +117,7 @@ public interface AnalyzeSyntaxResponseOrBuilder *
    * 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.
    * 
* * string language = 3; @@ -130,8 +129,7 @@ public interface AnalyzeSyntaxResponseOrBuilder *
    * 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.
    * 
* * string language = 3; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextRequest.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextRequest.java index 910e1d68a1a6..b52194e9c1be 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextRequest.java @@ -1029,7 +1029,9 @@ public com.google.cloud.language.v1.AnnotateTextRequest.Features getDefaultInsta * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasDocument() { return document_ != null; @@ -1041,7 +1043,9 @@ public boolean hasDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document getDocument() { return document_ == null @@ -1055,7 +1059,9 @@ public com.google.cloud.language.v1.Document getDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { return getDocument(); @@ -1070,7 +1076,9 @@ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { * The enabled features. * * - * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2; + * + * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasFeatures() { return features_ != null; @@ -1082,7 +1090,9 @@ public boolean hasFeatures() { * The enabled features. * * - * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2; + * + * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.AnnotateTextRequest.Features getFeatures() { return features_ == null @@ -1096,7 +1106,9 @@ public com.google.cloud.language.v1.AnnotateTextRequest.Features getFeatures() { * The enabled features. * * - * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2; + * + * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.AnnotateTextRequest.FeaturesOrBuilder getFeaturesOrBuilder() { return getFeatures(); @@ -1518,7 +1530,9 @@ public Builder mergeFrom( * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasDocument() { return documentBuilder_ != null || document_ != null; @@ -1530,7 +1544,9 @@ public boolean hasDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document getDocument() { if (documentBuilder_ == null) { @@ -1548,7 +1564,9 @@ public com.google.cloud.language.v1.Document getDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDocument(com.google.cloud.language.v1.Document value) { if (documentBuilder_ == null) { @@ -1570,7 +1588,9 @@ public Builder setDocument(com.google.cloud.language.v1.Document value) { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDocument(com.google.cloud.language.v1.Document.Builder builderForValue) { if (documentBuilder_ == null) { @@ -1589,7 +1609,9 @@ public Builder setDocument(com.google.cloud.language.v1.Document.Builder builder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDocument(com.google.cloud.language.v1.Document value) { if (documentBuilder_ == null) { @@ -1615,7 +1637,9 @@ public Builder mergeDocument(com.google.cloud.language.v1.Document value) { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDocument() { if (documentBuilder_ == null) { @@ -1635,7 +1659,9 @@ public Builder clearDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document.Builder getDocumentBuilder() { @@ -1649,7 +1675,9 @@ public com.google.cloud.language.v1.Document.Builder getDocumentBuilder() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { if (documentBuilder_ != null) { @@ -1667,7 +1695,9 @@ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.language.v1.Document, @@ -1699,7 +1729,9 @@ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { * The enabled features. * * - * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2; + * + * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasFeatures() { return featuresBuilder_ != null || features_ != null; @@ -1711,7 +1743,9 @@ public boolean hasFeatures() { * The enabled features. * * - * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2; + * + * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.AnnotateTextRequest.Features getFeatures() { if (featuresBuilder_ == null) { @@ -1729,7 +1763,9 @@ public com.google.cloud.language.v1.AnnotateTextRequest.Features getFeatures() { * The enabled features. * * - * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2; + * + * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFeatures(com.google.cloud.language.v1.AnnotateTextRequest.Features value) { if (featuresBuilder_ == null) { @@ -1751,7 +1787,9 @@ public Builder setFeatures(com.google.cloud.language.v1.AnnotateTextRequest.Feat * The enabled features. * * - * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2; + * + * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFeatures( com.google.cloud.language.v1.AnnotateTextRequest.Features.Builder builderForValue) { @@ -1771,7 +1809,9 @@ public Builder setFeatures( * The enabled features. * * - * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2; + * + * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeFeatures(com.google.cloud.language.v1.AnnotateTextRequest.Features value) { if (featuresBuilder_ == null) { @@ -1797,7 +1837,9 @@ public Builder mergeFeatures(com.google.cloud.language.v1.AnnotateTextRequest.Fe * The enabled features. * * - * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2; + * + * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearFeatures() { if (featuresBuilder_ == null) { @@ -1817,7 +1859,9 @@ public Builder clearFeatures() { * The enabled features. * * - * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2; + * + * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.AnnotateTextRequest.Features.Builder getFeaturesBuilder() { @@ -1831,7 +1875,9 @@ public com.google.cloud.language.v1.AnnotateTextRequest.Features.Builder getFeat * The enabled features. * * - * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2; + * + * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.AnnotateTextRequest.FeaturesOrBuilder getFeaturesOrBuilder() { @@ -1850,7 +1896,9 @@ public com.google.cloud.language.v1.AnnotateTextRequest.Features.Builder getFeat * The enabled features. * * - * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2; + * + * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.language.v1.AnnotateTextRequest.Features, diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextRequestOrBuilder.java index f3f55215ef0d..ea5ea637a240 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextRequestOrBuilder.java @@ -15,7 +15,9 @@ public interface AnnotateTextRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasDocument(); /** @@ -25,7 +27,9 @@ public interface AnnotateTextRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.language.v1.Document getDocument(); /** @@ -35,7 +39,9 @@ public interface AnnotateTextRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder(); @@ -46,7 +52,9 @@ public interface AnnotateTextRequestOrBuilder * The enabled features. * * - * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2; + * + * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasFeatures(); /** @@ -56,7 +64,9 @@ public interface AnnotateTextRequestOrBuilder * The enabled features. * * - * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2; + * + * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.language.v1.AnnotateTextRequest.Features getFeatures(); /** @@ -66,7 +76,9 @@ public interface AnnotateTextRequestOrBuilder * The enabled features. * * - * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2; + * + * .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.language.v1.AnnotateTextRequest.FeaturesOrBuilder getFeaturesOrBuilder(); diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextResponse.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextResponse.java index 26f4eff5b45c..71fe2c60d3eb 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextResponse.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextResponse.java @@ -439,8 +439,7 @@ public com.google.cloud.language.v1.SentimentOrBuilder getDocumentSentimentOrBui *
    * 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.
    * 
* * string language = 5; @@ -462,8 +461,7 @@ public java.lang.String getLanguage() { *
    * 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.
    * 
* * string language = 5; @@ -2445,8 +2443,7 @@ public com.google.cloud.language.v1.SentimentOrBuilder getDocumentSentimentOrBui *
      * 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.
      * 
* * string language = 5; @@ -2468,8 +2465,7 @@ public java.lang.String getLanguage() { *
      * 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.
      * 
* * string language = 5; @@ -2491,8 +2487,7 @@ public com.google.protobuf.ByteString getLanguageBytes() { *
      * 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.
      * 
* * string language = 5; @@ -2512,8 +2507,7 @@ public Builder setLanguage(java.lang.String value) { *
      * 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.
      * 
* * string language = 5; @@ -2530,8 +2524,7 @@ public Builder clearLanguage() { *
      * 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.
      * 
* * string language = 5; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextResponseOrBuilder.java index 36fff0a22636..87e207ec1868 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextResponseOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/AnnotateTextResponseOrBuilder.java @@ -227,8 +227,7 @@ public interface AnnotateTextResponseOrBuilder *
    * 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.
    * 
* * string language = 5; @@ -240,8 +239,7 @@ public interface AnnotateTextResponseOrBuilder *
    * 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.
    * 
* * string language = 5; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextRequest.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextRequest.java index 6d91a05a9bfb..2945d64d55de 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextRequest.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextRequest.java @@ -107,7 +107,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasDocument() { return document_ != null; @@ -119,7 +121,9 @@ public boolean hasDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document getDocument() { return document_ == null @@ -133,7 +137,9 @@ public com.google.cloud.language.v1.Document getDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { return getDocument(); @@ -481,7 +487,9 @@ public Builder mergeFrom( * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasDocument() { return documentBuilder_ != null || document_ != null; @@ -493,7 +501,9 @@ public boolean hasDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document getDocument() { if (documentBuilder_ == null) { @@ -511,7 +521,9 @@ public com.google.cloud.language.v1.Document getDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDocument(com.google.cloud.language.v1.Document value) { if (documentBuilder_ == null) { @@ -533,7 +545,9 @@ public Builder setDocument(com.google.cloud.language.v1.Document value) { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDocument(com.google.cloud.language.v1.Document.Builder builderForValue) { if (documentBuilder_ == null) { @@ -552,7 +566,9 @@ public Builder setDocument(com.google.cloud.language.v1.Document.Builder builder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDocument(com.google.cloud.language.v1.Document value) { if (documentBuilder_ == null) { @@ -578,7 +594,9 @@ public Builder mergeDocument(com.google.cloud.language.v1.Document value) { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDocument() { if (documentBuilder_ == null) { @@ -598,7 +616,9 @@ public Builder clearDocument() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.Document.Builder getDocumentBuilder() { @@ -612,7 +632,9 @@ public com.google.cloud.language.v1.Document.Builder getDocumentBuilder() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { if (documentBuilder_ != null) { @@ -630,7 +652,9 @@ public com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder() { * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.language.v1.Document, diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextRequestOrBuilder.java index 4cbc20887f3b..06f6fe26ce6a 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/ClassifyTextRequestOrBuilder.java @@ -15,7 +15,9 @@ public interface ClassifyTextRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasDocument(); /** @@ -25,7 +27,9 @@ public interface ClassifyTextRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.language.v1.Document getDocument(); /** @@ -35,7 +39,9 @@ public interface ClassifyTextRequestOrBuilder * Input document. * * - * .google.cloud.language.v1.Document document = 1; + * + * .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.language.v1.DocumentOrBuilder getDocumentOrBuilder(); } diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Document.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Document.java index dbeb0e2da91c..896c71de432d 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Document.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Document.java @@ -337,6 +337,7 @@ public com.google.cloud.language.v1.Document.Type getType() { * *
    * The content of the input in string format.
+   * Cloud audit logging exempt since it is based on user data.
    * 
* * string content = 2; @@ -362,6 +363,7 @@ public java.lang.String getContent() { * *
    * The content of the input in string format.
+   * Cloud audit logging exempt since it is based on user data.
    * 
* * string content = 2; @@ -992,6 +994,7 @@ public Builder clearType() { * *
      * The content of the input in string format.
+     * Cloud audit logging exempt since it is based on user data.
      * 
* * string content = 2; @@ -1017,6 +1020,7 @@ public java.lang.String getContent() { * *
      * The content of the input in string format.
+     * Cloud audit logging exempt since it is based on user data.
      * 
* * string content = 2; @@ -1042,6 +1046,7 @@ public com.google.protobuf.ByteString getContentBytes() { * *
      * The content of the input in string format.
+     * Cloud audit logging exempt since it is based on user data.
      * 
* * string content = 2; @@ -1060,6 +1065,7 @@ public Builder setContent(java.lang.String value) { * *
      * The content of the input in string format.
+     * Cloud audit logging exempt since it is based on user data.
      * 
* * string content = 2; @@ -1077,6 +1083,7 @@ public Builder clearContent() { * *
      * The content of the input in string format.
+     * Cloud audit logging exempt since it is based on user data.
      * 
* * string content = 2; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/DocumentOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/DocumentOrBuilder.java index 6ca0707b3720..178c52c0e86c 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/DocumentOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/DocumentOrBuilder.java @@ -36,6 +36,7 @@ public interface DocumentOrBuilder * *
    * The content of the input in string format.
+   * Cloud audit logging exempt since it is based on user data.
    * 
* * string content = 2; @@ -46,6 +47,7 @@ public interface DocumentOrBuilder * *
    * The content of the input in string format.
+   * Cloud audit logging exempt since it is based on user data.
    * 
* * string content = 2; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Entity.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Entity.java index 20a3050d3c22..dee70033cca9 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Entity.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Entity.java @@ -167,7 +167,10 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * *
-   * The type of the entity.
+   * 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
+   * metadata.
    * 
* * Protobuf enum {@code google.cloud.language.v1.Entity.Type} @@ -227,7 +230,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Work of art
+     * Artwork
      * 
* * WORK_OF_ART = 5; @@ -237,7 +240,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Consumer goods
+     * Consumer product
      * 
* * CONSUMER_GOOD = 6; @@ -247,7 +250,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Other types
+     * Other types of entities
      * 
* * OTHER = 7; @@ -257,7 +260,14 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Phone number
+     * Phone number<br><br>
+     * The metadata lists the phone number, formatted according to local
+     * convention, plus whichever additional elements appear in the text:<ul>
+     * <li><code>number</code> &ndash; the actual number, broken down into
+     * sections as per local convention</li> <li><code>national_prefix</code>
+     * &ndash; country code, if detected</li> <li><code>area_code</code> &ndash;
+     * region or area code, if detected</li> <li><code>extension</code> &ndash;
+     * phone extension (to be dialed after connection), if detected</li></ul>
      * 
* * PHONE_NUMBER = 9; @@ -267,7 +277,19 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Address
+     * Address<br><br>
+     * The metadata identifies the street number and locality plus whichever
+     * additional elements appear in the text:<ul>
+     * <li><code>street_number</code> &ndash; street number</li>
+     * <li><code>locality</code> &ndash; city or town</li>
+     * <li><code>street_name</code> &ndash; street/route name, if detected</li>
+     * <li><code>postal_code</code> &ndash; postal code, if detected</li>
+     * <li><code>country</code> &ndash; country, if detected</li>
+     * <li><code>broad_region</code> &ndash; administrative area, such as the
+     * state, if detected</li> <li><code>narrow_region</code> &ndash; smaller
+     * administrative area, such as county, if detected</li>
+     * <li><code>sublocality</code> &ndash; used in Asian addresses to demark a
+     * district within a city, if detected</li></ul>
      * 
* * ADDRESS = 10; @@ -277,7 +299,11 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Date
+     * Date<br><br>
+     * The metadata identifies the components of the date:<ul>
+     * <li><code>year</code> &ndash; four digit year, if detected</li>
+     * <li><code>month</code> &ndash; two digit month number, if detected</li>
+     * <li><code>day</code> &ndash; two digit day number, if detected</li></ul>
      * 
* * DATE = 11; @@ -287,7 +313,8 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Number
+     * Number<br><br>
+     * The metadata is the number itself.
      * 
* * NUMBER = 12; @@ -297,7 +324,8 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Price
+     * Price<br><br>
+     * The metadata identifies the <code>value</code> and <code>currency</code>.
      * 
* * PRICE = 13; @@ -360,7 +388,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Work of art
+     * Artwork
      * 
* * WORK_OF_ART = 5; @@ -370,7 +398,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Consumer goods
+     * Consumer product
      * 
* * CONSUMER_GOOD = 6; @@ -380,7 +408,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Other types
+     * Other types of entities
      * 
* * OTHER = 7; @@ -390,7 +418,14 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Phone number
+     * Phone number<br><br>
+     * The metadata lists the phone number, formatted according to local
+     * convention, plus whichever additional elements appear in the text:<ul>
+     * <li><code>number</code> &ndash; the actual number, broken down into
+     * sections as per local convention</li> <li><code>national_prefix</code>
+     * &ndash; country code, if detected</li> <li><code>area_code</code> &ndash;
+     * region or area code, if detected</li> <li><code>extension</code> &ndash;
+     * phone extension (to be dialed after connection), if detected</li></ul>
      * 
* * PHONE_NUMBER = 9; @@ -400,7 +435,19 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Address
+     * Address<br><br>
+     * The metadata identifies the street number and locality plus whichever
+     * additional elements appear in the text:<ul>
+     * <li><code>street_number</code> &ndash; street number</li>
+     * <li><code>locality</code> &ndash; city or town</li>
+     * <li><code>street_name</code> &ndash; street/route name, if detected</li>
+     * <li><code>postal_code</code> &ndash; postal code, if detected</li>
+     * <li><code>country</code> &ndash; country, if detected</li>
+     * <li><code>broad_region</code> &ndash; administrative area, such as the
+     * state, if detected</li> <li><code>narrow_region</code> &ndash; smaller
+     * administrative area, such as county, if detected</li>
+     * <li><code>sublocality</code> &ndash; used in Asian addresses to demark a
+     * district within a city, if detected</li></ul>
      * 
* * ADDRESS = 10; @@ -410,7 +457,11 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Date
+     * Date<br><br>
+     * The metadata identifies the components of the date:<ul>
+     * <li><code>year</code> &ndash; four digit year, if detected</li>
+     * <li><code>month</code> &ndash; two digit month number, if detected</li>
+     * <li><code>day</code> &ndash; two digit day number, if detected</li></ul>
      * 
* * DATE = 11; @@ -420,7 +471,8 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Number
+     * Number<br><br>
+     * The metadata is the number itself.
      * 
* * NUMBER = 12; @@ -430,7 +482,8 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Price
+     * Price<br><br>
+     * The metadata identifies the <code>value</code> and <code>currency</code>.
      * 
* * PRICE = 13; @@ -632,8 +685,9 @@ public int getMetadataCount() { * *
    * Metadata associated with the entity.
-   * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-   * available. The associated keys are "wikipedia_url" and "mid", respectively.
+   * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+   * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+   * associated with other entity types, see the Type table below.
    * 
* * map<string, string> metadata = 3; @@ -654,8 +708,9 @@ public java.util.Map getMetadata() { * *
    * Metadata associated with the entity.
-   * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-   * available. The associated keys are "wikipedia_url" and "mid", respectively.
+   * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+   * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+   * associated with other entity types, see the Type table below.
    * 
* * map<string, string> metadata = 3; @@ -668,8 +723,9 @@ public java.util.Map getMetadataMap() { * *
    * Metadata associated with the entity.
-   * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-   * available. The associated keys are "wikipedia_url" and "mid", respectively.
+   * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+   * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+   * associated with other entity types, see the Type table below.
    * 
* * map<string, string> metadata = 3; @@ -687,8 +743,9 @@ public java.lang.String getMetadataOrDefault( * *
    * Metadata associated with the entity.
-   * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-   * available. The associated keys are "wikipedia_url" and "mid", respectively.
+   * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+   * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+   * associated with other entity types, see the Type table below.
    * 
* * map<string, string> metadata = 3; @@ -799,9 +856,9 @@ public com.google.cloud.language.v1.EntityMentionOrBuilder getMentionsOrBuilder( * *
    * For calls to [AnalyzeEntitySentiment][] or if
-   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-   * is set to true, this field will contain the aggregate sentiment expressed
-   * for this entity in the provided document.
+   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+   * true, this field will contain the aggregate sentiment expressed for this
+   * entity in the provided document.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 6; @@ -814,9 +871,9 @@ public boolean hasSentiment() { * *
    * For calls to [AnalyzeEntitySentiment][] or if
-   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-   * is set to true, this field will contain the aggregate sentiment expressed
-   * for this entity in the provided document.
+   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+   * true, this field will contain the aggregate sentiment expressed for this
+   * entity in the provided document.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 6; @@ -831,9 +888,9 @@ public com.google.cloud.language.v1.Sentiment getSentiment() { * *
    * For calls to [AnalyzeEntitySentiment][] or if
-   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-   * is set to true, this field will contain the aggregate sentiment expressed
-   * for this entity in the provided document.
+   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+   * true, this field will contain the aggregate sentiment expressed for this
+   * entity in the provided document.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 6; @@ -1518,8 +1575,9 @@ public int getMetadataCount() { * *
      * Metadata associated with the entity.
-     * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-     * available. The associated keys are "wikipedia_url" and "mid", respectively.
+     * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+     * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+     * associated with other entity types, see the Type table below.
      * 
* * map<string, string> metadata = 3; @@ -1540,8 +1598,9 @@ public java.util.Map getMetadata() { * *
      * Metadata associated with the entity.
-     * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-     * available. The associated keys are "wikipedia_url" and "mid", respectively.
+     * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+     * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+     * associated with other entity types, see the Type table below.
      * 
* * map<string, string> metadata = 3; @@ -1554,8 +1613,9 @@ public java.util.Map getMetadataMap() { * *
      * Metadata associated with the entity.
-     * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-     * available. The associated keys are "wikipedia_url" and "mid", respectively.
+     * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+     * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+     * associated with other entity types, see the Type table below.
      * 
* * map<string, string> metadata = 3; @@ -1573,8 +1633,9 @@ public java.lang.String getMetadataOrDefault( * *
      * Metadata associated with the entity.
-     * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-     * available. The associated keys are "wikipedia_url" and "mid", respectively.
+     * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+     * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+     * associated with other entity types, see the Type table below.
      * 
* * map<string, string> metadata = 3; @@ -1599,8 +1660,9 @@ public Builder clearMetadata() { * *
      * Metadata associated with the entity.
-     * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-     * available. The associated keys are "wikipedia_url" and "mid", respectively.
+     * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+     * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+     * associated with other entity types, see the Type table below.
      * 
* * map<string, string> metadata = 3; @@ -1622,8 +1684,9 @@ public java.util.Map getMutableMetadata() { * *
      * Metadata associated with the entity.
-     * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-     * available. The associated keys are "wikipedia_url" and "mid", respectively.
+     * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+     * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+     * associated with other entity types, see the Type table below.
      * 
* * map<string, string> metadata = 3; @@ -1643,8 +1706,9 @@ public Builder putMetadata(java.lang.String key, java.lang.String value) { * *
      * Metadata associated with the entity.
-     * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-     * available. The associated keys are "wikipedia_url" and "mid", respectively.
+     * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+     * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+     * associated with other entity types, see the Type table below.
      * 
* * map<string, string> metadata = 3; @@ -2088,9 +2152,9 @@ public com.google.cloud.language.v1.EntityMention.Builder addMentionsBuilder(int * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the aggregate sentiment expressed
-     * for this entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the aggregate sentiment expressed for this
+     * entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 6; @@ -2103,9 +2167,9 @@ public boolean hasSentiment() { * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the aggregate sentiment expressed
-     * for this entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the aggregate sentiment expressed for this
+     * entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 6; @@ -2124,9 +2188,9 @@ public com.google.cloud.language.v1.Sentiment getSentiment() { * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the aggregate sentiment expressed
-     * for this entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the aggregate sentiment expressed for this
+     * entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 6; @@ -2149,9 +2213,9 @@ public Builder setSentiment(com.google.cloud.language.v1.Sentiment value) { * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the aggregate sentiment expressed
-     * for this entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the aggregate sentiment expressed for this
+     * entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 6; @@ -2171,9 +2235,9 @@ public Builder setSentiment(com.google.cloud.language.v1.Sentiment.Builder build * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the aggregate sentiment expressed
-     * for this entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the aggregate sentiment expressed for this
+     * entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 6; @@ -2200,9 +2264,9 @@ public Builder mergeSentiment(com.google.cloud.language.v1.Sentiment value) { * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the aggregate sentiment expressed
-     * for this entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the aggregate sentiment expressed for this
+     * entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 6; @@ -2223,9 +2287,9 @@ public Builder clearSentiment() { * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the aggregate sentiment expressed
-     * for this entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the aggregate sentiment expressed for this
+     * entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 6; @@ -2240,9 +2304,9 @@ public com.google.cloud.language.v1.Sentiment.Builder getSentimentBuilder() { * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the aggregate sentiment expressed
-     * for this entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the aggregate sentiment expressed for this
+     * entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 6; @@ -2261,9 +2325,9 @@ public com.google.cloud.language.v1.SentimentOrBuilder getSentimentOrBuilder() { * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the aggregate sentiment expressed
-     * for this entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the aggregate sentiment expressed for this
+     * entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 6; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityMention.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityMention.java index 1e4cadd37962..f9b686cdfc13 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityMention.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityMention.java @@ -345,9 +345,9 @@ public com.google.cloud.language.v1.EntityMention.Type getType() { * *
    * For calls to [AnalyzeEntitySentiment][] or if
-   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-   * is set to true, this field will contain the sentiment expressed for this
-   * mention of the entity in the provided document.
+   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+   * true, this field will contain the sentiment expressed for this mention of
+   * the entity in the provided document.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 3; @@ -360,9 +360,9 @@ public boolean hasSentiment() { * *
    * For calls to [AnalyzeEntitySentiment][] or if
-   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-   * is set to true, this field will contain the sentiment expressed for this
-   * mention of the entity in the provided document.
+   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+   * true, this field will contain the sentiment expressed for this mention of
+   * the entity in the provided document.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 3; @@ -377,9 +377,9 @@ public com.google.cloud.language.v1.Sentiment getSentiment() { * *
    * For calls to [AnalyzeEntitySentiment][] or if
-   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-   * is set to true, this field will contain the sentiment expressed for this
-   * mention of the entity in the provided document.
+   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+   * true, this field will contain the sentiment expressed for this mention of
+   * the entity in the provided document.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 3; @@ -1024,9 +1024,9 @@ public Builder clearType() { * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the sentiment expressed for this
-     * mention of the entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the sentiment expressed for this mention of
+     * the entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 3; @@ -1039,9 +1039,9 @@ public boolean hasSentiment() { * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the sentiment expressed for this
-     * mention of the entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the sentiment expressed for this mention of
+     * the entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 3; @@ -1060,9 +1060,9 @@ public com.google.cloud.language.v1.Sentiment getSentiment() { * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the sentiment expressed for this
-     * mention of the entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the sentiment expressed for this mention of
+     * the entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 3; @@ -1085,9 +1085,9 @@ public Builder setSentiment(com.google.cloud.language.v1.Sentiment value) { * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the sentiment expressed for this
-     * mention of the entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the sentiment expressed for this mention of
+     * the entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 3; @@ -1107,9 +1107,9 @@ public Builder setSentiment(com.google.cloud.language.v1.Sentiment.Builder build * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the sentiment expressed for this
-     * mention of the entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the sentiment expressed for this mention of
+     * the entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 3; @@ -1136,9 +1136,9 @@ public Builder mergeSentiment(com.google.cloud.language.v1.Sentiment value) { * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the sentiment expressed for this
-     * mention of the entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the sentiment expressed for this mention of
+     * the entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 3; @@ -1159,9 +1159,9 @@ public Builder clearSentiment() { * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the sentiment expressed for this
-     * mention of the entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the sentiment expressed for this mention of
+     * the entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 3; @@ -1176,9 +1176,9 @@ public com.google.cloud.language.v1.Sentiment.Builder getSentimentBuilder() { * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the sentiment expressed for this
-     * mention of the entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the sentiment expressed for this mention of
+     * the entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 3; @@ -1197,9 +1197,9 @@ public com.google.cloud.language.v1.SentimentOrBuilder getSentimentOrBuilder() { * *
      * For calls to [AnalyzeEntitySentiment][] or if
-     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-     * is set to true, this field will contain the sentiment expressed for this
-     * mention of the entity in the provided document.
+     * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+     * true, this field will contain the sentiment expressed for this mention of
+     * the entity in the provided document.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 3; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityMentionOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityMentionOrBuilder.java index 203d07a20a5d..241666649805 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityMentionOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityMentionOrBuilder.java @@ -65,9 +65,9 @@ public interface EntityMentionOrBuilder * *
    * For calls to [AnalyzeEntitySentiment][] or if
-   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-   * is set to true, this field will contain the sentiment expressed for this
-   * mention of the entity in the provided document.
+   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+   * true, this field will contain the sentiment expressed for this mention of
+   * the entity in the provided document.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 3; @@ -78,9 +78,9 @@ public interface EntityMentionOrBuilder * *
    * For calls to [AnalyzeEntitySentiment][] or if
-   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-   * is set to true, this field will contain the sentiment expressed for this
-   * mention of the entity in the provided document.
+   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+   * true, this field will contain the sentiment expressed for this mention of
+   * the entity in the provided document.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 3; @@ -91,9 +91,9 @@ public interface EntityMentionOrBuilder * *
    * For calls to [AnalyzeEntitySentiment][] or if
-   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-   * is set to true, this field will contain the sentiment expressed for this
-   * mention of the entity in the provided document.
+   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+   * true, this field will contain the sentiment expressed for this mention of
+   * the entity in the provided document.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 3; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityOrBuilder.java index b64c569765eb..59b7bc8b3792 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/EntityOrBuilder.java @@ -55,8 +55,9 @@ public interface EntityOrBuilder * *
    * Metadata associated with the entity.
-   * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-   * available. The associated keys are "wikipedia_url" and "mid", respectively.
+   * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+   * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+   * associated with other entity types, see the Type table below.
    * 
* * map<string, string> metadata = 3; @@ -67,8 +68,9 @@ public interface EntityOrBuilder * *
    * Metadata associated with the entity.
-   * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-   * available. The associated keys are "wikipedia_url" and "mid", respectively.
+   * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+   * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+   * associated with other entity types, see the Type table below.
    * 
* * map<string, string> metadata = 3; @@ -82,8 +84,9 @@ public interface EntityOrBuilder * *
    * Metadata associated with the entity.
-   * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-   * available. The associated keys are "wikipedia_url" and "mid", respectively.
+   * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+   * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+   * associated with other entity types, see the Type table below.
    * 
* * map<string, string> metadata = 3; @@ -94,8 +97,9 @@ public interface EntityOrBuilder * *
    * Metadata associated with the entity.
-   * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-   * available. The associated keys are "wikipedia_url" and "mid", respectively.
+   * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+   * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+   * associated with other entity types, see the Type table below.
    * 
* * map<string, string> metadata = 3; @@ -106,8 +110,9 @@ public interface EntityOrBuilder * *
    * Metadata associated with the entity.
-   * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
-   * available. The associated keys are "wikipedia_url" and "mid", respectively.
+   * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+   * and Knowledge Graph MID (`mid`), if they are available. For the metadata
+   * associated with other entity types, see the Type table below.
    * 
* * map<string, string> metadata = 3; @@ -191,9 +196,9 @@ public interface EntityOrBuilder * *
    * For calls to [AnalyzeEntitySentiment][] or if
-   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-   * is set to true, this field will contain the aggregate sentiment expressed
-   * for this entity in the provided document.
+   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+   * true, this field will contain the aggregate sentiment expressed for this
+   * entity in the provided document.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 6; @@ -204,9 +209,9 @@ public interface EntityOrBuilder * *
    * For calls to [AnalyzeEntitySentiment][] or if
-   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-   * is set to true, this field will contain the aggregate sentiment expressed
-   * for this entity in the provided document.
+   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+   * true, this field will contain the aggregate sentiment expressed for this
+   * entity in the provided document.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 6; @@ -217,9 +222,9 @@ public interface EntityOrBuilder * *
    * For calls to [AnalyzeEntitySentiment][] or if
-   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment]
-   * is set to true, this field will contain the aggregate sentiment expressed
-   * for this entity in the provided document.
+   * [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
+   * true, this field will contain the aggregate sentiment expressed for this
+   * entity in the provided document.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 6; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceProto.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceProto.java index 73123aa81c2e..37ef60945be9 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceProto.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceProto.java @@ -119,200 +119,211 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n/google/cloud/language/v1/language_serv" + "ice.proto\022\030google.cloud.language.v1\032\034goo" - + "gle/api/annotations.proto\"\303\001\n\010Document\0225" - + "\n\004type\030\001 \001(\0162\'.google.cloud.language.v1." - + "Document.Type\022\021\n\007content\030\002 \001(\tH\000\022\031\n\017gcs_" - + "content_uri\030\003 \001(\tH\000\022\020\n\010language\030\004 \001(\t\"6\n" - + "\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nPLAIN_TEX" - + "T\020\001\022\010\n\004HTML\020\002B\010\n\006source\"t\n\010Sentence\0220\n\004t" - + "ext\030\001 \001(\0132\".google.cloud.language.v1.Tex" - + "tSpan\0226\n\tsentiment\030\002 \001(\0132#.google.cloud." - + "language.v1.Sentiment\"\377\003\n\006Entity\022\014\n\004name" - + "\030\001 \001(\t\0223\n\004type\030\002 \001(\0162%.google.cloud.lang" - + "uage.v1.Entity.Type\022@\n\010metadata\030\003 \003(\0132.." - + "google.cloud.language.v1.Entity.Metadata" - + "Entry\022\020\n\010salience\030\004 \001(\002\0229\n\010mentions\030\005 \003(" - + "\0132\'.google.cloud.language.v1.EntityMenti" - + "on\0226\n\tsentiment\030\006 \001(\0132#.google.cloud.lan" - + "guage.v1.Sentiment\032/\n\rMetadataEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\271\001\n\004Type\022\013\n\007" - + "UNKNOWN\020\000\022\n\n\006PERSON\020\001\022\014\n\010LOCATION\020\002\022\020\n\014O" - + "RGANIZATION\020\003\022\t\n\005EVENT\020\004\022\017\n\013WORK_OF_ART\020" - + "\005\022\021\n\rCONSUMER_GOOD\020\006\022\t\n\005OTHER\020\007\022\020\n\014PHONE" - + "_NUMBER\020\t\022\013\n\007ADDRESS\020\n\022\010\n\004DATE\020\013\022\n\n\006NUMB" - + "ER\020\014\022\t\n\005PRICE\020\r\"\313\001\n\005Token\0220\n\004text\030\001 \001(\0132" - + "\".google.cloud.language.v1.TextSpan\022>\n\016p" - + "art_of_speech\030\002 \001(\0132&.google.cloud.langu" - + "age.v1.PartOfSpeech\022A\n\017dependency_edge\030\003" - + " \001(\0132(.google.cloud.language.v1.Dependen" - + "cyEdge\022\r\n\005lemma\030\004 \001(\t\"-\n\tSentiment\022\021\n\tma" - + "gnitude\030\002 \001(\002\022\r\n\005score\030\003 \001(\002\"\243\020\n\014PartOfS" - + "peech\0227\n\003tag\030\001 \001(\0162*.google.cloud.langua" - + "ge.v1.PartOfSpeech.Tag\022=\n\006aspect\030\002 \001(\0162-" - + ".google.cloud.language.v1.PartOfSpeech.A" - + "spect\0229\n\004case\030\003 \001(\0162+.google.cloud.langu" - + "age.v1.PartOfSpeech.Case\0229\n\004form\030\004 \001(\0162+" - + ".google.cloud.language.v1.PartOfSpeech.F" - + "orm\022=\n\006gender\030\005 \001(\0162-.google.cloud.langu" - + "age.v1.PartOfSpeech.Gender\0229\n\004mood\030\006 \001(\016" - + "2+.google.cloud.language.v1.PartOfSpeech" - + ".Mood\022=\n\006number\030\007 \001(\0162-.google.cloud.lan" - + "guage.v1.PartOfSpeech.Number\022=\n\006person\030\010" - + " \001(\0162-.google.cloud.language.v1.PartOfSp" - + "eech.Person\022=\n\006proper\030\t \001(\0162-.google.clo" - + "ud.language.v1.PartOfSpeech.Proper\022G\n\013re" - + "ciprocity\030\n \001(\01622.google.cloud.language." - + "v1.PartOfSpeech.Reciprocity\022;\n\005tense\030\013 \001" - + "(\0162,.google.cloud.language.v1.PartOfSpee" - + "ch.Tense\022;\n\005voice\030\014 \001(\0162,.google.cloud.l" - + "anguage.v1.PartOfSpeech.Voice\"\215\001\n\003Tag\022\013\n" - + "\007UNKNOWN\020\000\022\007\n\003ADJ\020\001\022\007\n\003ADP\020\002\022\007\n\003ADV\020\003\022\010\n" - + "\004CONJ\020\004\022\007\n\003DET\020\005\022\010\n\004NOUN\020\006\022\007\n\003NUM\020\007\022\010\n\004P" - + "RON\020\010\022\007\n\003PRT\020\t\022\t\n\005PUNCT\020\n\022\010\n\004VERB\020\013\022\005\n\001X" - + "\020\014\022\t\n\005AFFIX\020\r\"O\n\006Aspect\022\022\n\016ASPECT_UNKNOW" - + "N\020\000\022\016\n\nPERFECTIVE\020\001\022\020\n\014IMPERFECTIVE\020\002\022\017\n" - + "\013PROGRESSIVE\020\003\"\370\001\n\004Case\022\020\n\014CASE_UNKNOWN\020" - + "\000\022\016\n\nACCUSATIVE\020\001\022\r\n\tADVERBIAL\020\002\022\021\n\rCOMP" - + "LEMENTIVE\020\003\022\n\n\006DATIVE\020\004\022\014\n\010GENITIVE\020\005\022\020\n" - + "\014INSTRUMENTAL\020\006\022\014\n\010LOCATIVE\020\007\022\016\n\nNOMINAT" - + "IVE\020\010\022\013\n\007OBLIQUE\020\t\022\r\n\tPARTITIVE\020\n\022\021\n\rPRE" - + "POSITIONAL\020\013\022\022\n\016REFLEXIVE_CASE\020\014\022\021\n\rRELA" - + "TIVE_CASE\020\r\022\014\n\010VOCATIVE\020\016\"\257\001\n\004Form\022\020\n\014FO" - + "RM_UNKNOWN\020\000\022\014\n\010ADNOMIAL\020\001\022\r\n\tAUXILIARY\020" - + "\002\022\022\n\016COMPLEMENTIZER\020\003\022\020\n\014FINAL_ENDING\020\004\022" - + "\n\n\006GERUND\020\005\022\n\n\006REALIS\020\006\022\014\n\010IRREALIS\020\007\022\t\n" - + "\005SHORT\020\010\022\010\n\004LONG\020\t\022\t\n\005ORDER\020\n\022\014\n\010SPECIFI" - + "C\020\013\"E\n\006Gender\022\022\n\016GENDER_UNKNOWN\020\000\022\014\n\010FEM" - + "ININE\020\001\022\r\n\tMASCULINE\020\002\022\n\n\006NEUTER\020\003\"\177\n\004Mo" - + "od\022\020\n\014MOOD_UNKNOWN\020\000\022\024\n\020CONDITIONAL_MOOD" - + "\020\001\022\016\n\nIMPERATIVE\020\002\022\016\n\nINDICATIVE\020\003\022\021\n\rIN" - + "TERROGATIVE\020\004\022\013\n\007JUSSIVE\020\005\022\017\n\013SUBJUNCTIV" - + "E\020\006\"@\n\006Number\022\022\n\016NUMBER_UNKNOWN\020\000\022\014\n\010SIN" - + "GULAR\020\001\022\n\n\006PLURAL\020\002\022\010\n\004DUAL\020\003\"T\n\006Person\022" - + "\022\n\016PERSON_UNKNOWN\020\000\022\t\n\005FIRST\020\001\022\n\n\006SECOND" - + "\020\002\022\t\n\005THIRD\020\003\022\024\n\020REFLEXIVE_PERSON\020\004\"8\n\006P" - + "roper\022\022\n\016PROPER_UNKNOWN\020\000\022\n\n\006PROPER\020\001\022\016\n" - + "\nNOT_PROPER\020\002\"J\n\013Reciprocity\022\027\n\023RECIPROC" - + "ITY_UNKNOWN\020\000\022\016\n\nRECIPROCAL\020\001\022\022\n\016NON_REC" - + "IPROCAL\020\002\"s\n\005Tense\022\021\n\rTENSE_UNKNOWN\020\000\022\025\n" - + "\021CONDITIONAL_TENSE\020\001\022\n\n\006FUTURE\020\002\022\010\n\004PAST" - + "\020\003\022\013\n\007PRESENT\020\004\022\r\n\tIMPERFECT\020\005\022\016\n\nPLUPER" - + "FECT\020\006\"B\n\005Voice\022\021\n\rVOICE_UNKNOWN\020\000\022\n\n\006AC" - + "TIVE\020\001\022\r\n\tCAUSATIVE\020\002\022\013\n\007PASSIVE\020\003\"\225\010\n\016D" - + "ependencyEdge\022\030\n\020head_token_index\030\001 \001(\005\022" - + "=\n\005label\030\002 \001(\0162..google.cloud.language.v" - + "1.DependencyEdge.Label\"\251\007\n\005Label\022\013\n\007UNKN" - + "OWN\020\000\022\n\n\006ABBREV\020\001\022\t\n\005ACOMP\020\002\022\t\n\005ADVCL\020\003\022" - + "\n\n\006ADVMOD\020\004\022\010\n\004AMOD\020\005\022\t\n\005APPOS\020\006\022\010\n\004ATTR" - + "\020\007\022\007\n\003AUX\020\010\022\013\n\007AUXPASS\020\t\022\006\n\002CC\020\n\022\t\n\005CCOM" - + "P\020\013\022\010\n\004CONJ\020\014\022\t\n\005CSUBJ\020\r\022\r\n\tCSUBJPASS\020\016\022" - + "\007\n\003DEP\020\017\022\007\n\003DET\020\020\022\r\n\tDISCOURSE\020\021\022\010\n\004DOBJ" - + "\020\022\022\010\n\004EXPL\020\023\022\014\n\010GOESWITH\020\024\022\010\n\004IOBJ\020\025\022\010\n\004" - + "MARK\020\026\022\007\n\003MWE\020\027\022\007\n\003MWV\020\030\022\007\n\003NEG\020\031\022\006\n\002NN\020" - + "\032\022\014\n\010NPADVMOD\020\033\022\t\n\005NSUBJ\020\034\022\r\n\tNSUBJPASS\020" - + "\035\022\007\n\003NUM\020\036\022\n\n\006NUMBER\020\037\022\005\n\001P\020 \022\r\n\tPARATAX" - + "IS\020!\022\013\n\007PARTMOD\020\"\022\t\n\005PCOMP\020#\022\010\n\004POBJ\020$\022\010" - + "\n\004POSS\020%\022\013\n\007POSTNEG\020&\022\013\n\007PRECOMP\020\'\022\013\n\007PR" - + "ECONJ\020(\022\n\n\006PREDET\020)\022\010\n\004PREF\020*\022\010\n\004PREP\020+\022" - + "\t\n\005PRONL\020,\022\007\n\003PRT\020-\022\006\n\002PS\020.\022\014\n\010QUANTMOD\020" - + "/\022\t\n\005RCMOD\0200\022\014\n\010RCMODREL\0201\022\t\n\005RDROP\0202\022\007\n" - + "\003REF\0203\022\013\n\007REMNANT\0204\022\016\n\nREPARANDUM\0205\022\010\n\004R" - + "OOT\0206\022\010\n\004SNUM\0207\022\010\n\004SUFF\0208\022\010\n\004TMOD\0209\022\t\n\005T" - + "OPIC\020:\022\010\n\004VMOD\020;\022\014\n\010VOCATIVE\020<\022\t\n\005XCOMP\020" - + "=\022\n\n\006SUFFIX\020>\022\t\n\005TITLE\020?\022\014\n\010ADVPHMOD\020@\022\013" - + "\n\007AUXCAUS\020A\022\t\n\005AUXVV\020B\022\t\n\005DTMOD\020C\022\013\n\007FOR" - + "EIGN\020D\022\006\n\002KW\020E\022\010\n\004LIST\020F\022\010\n\004NOMC\020G\022\014\n\010NO" - + "MCSUBJ\020H\022\020\n\014NOMCSUBJPASS\020I\022\010\n\004NUMC\020J\022\007\n\003" - + "COP\020K\022\016\n\nDISLOCATED\020L\022\007\n\003ASP\020M\022\010\n\004GMOD\020N" - + "\022\010\n\004GOBJ\020O\022\n\n\006INFMOD\020P\022\007\n\003MES\020Q\022\t\n\005NCOMP" - + "\020R\"\347\001\n\rEntityMention\0220\n\004text\030\001 \001(\0132\".goo" - + "gle.cloud.language.v1.TextSpan\022:\n\004type\030\002" - + " \001(\0162,.google.cloud.language.v1.EntityMe" - + "ntion.Type\0226\n\tsentiment\030\003 \001(\0132#.google.c" - + "loud.language.v1.Sentiment\"0\n\004Type\022\020\n\014TY" - + "PE_UNKNOWN\020\000\022\n\n\006PROPER\020\001\022\n\n\006COMMON\020\002\"1\n\010" - + "TextSpan\022\017\n\007content\030\001 \001(\t\022\024\n\014begin_offse" - + "t\030\002 \001(\005\":\n\026ClassificationCategory\022\014\n\004nam" - + "e\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\"\216\001\n\027AnalyzeS" - + "entimentRequest\0224\n\010document\030\001 \001(\0132\".goog" - + "le.cloud.language.v1.Document\022=\n\rencodin" - + "g_type\030\002 \001(\0162&.google.cloud.language.v1." - + "EncodingType\"\244\001\n\030AnalyzeSentimentRespons" - + "e\022?\n\022document_sentiment\030\001 \001(\0132#.google.c" - + "loud.language.v1.Sentiment\022\020\n\010language\030\002" - + " \001(\t\0225\n\tsentences\030\003 \003(\0132\".google.cloud.l" - + "anguage.v1.Sentence\"\224\001\n\035AnalyzeEntitySen" - + "timentRequest\0224\n\010document\030\001 \001(\0132\".google" - + ".cloud.language.v1.Document\022=\n\rencoding_" - + "type\030\002 \001(\0162&.google.cloud.language.v1.En" - + "codingType\"f\n\036AnalyzeEntitySentimentResp" - + "onse\0222\n\010entities\030\001 \003(\0132 .google.cloud.la" - + "nguage.v1.Entity\022\020\n\010language\030\002 \001(\t\"\215\001\n\026A" - + "nalyzeEntitiesRequest\0224\n\010document\030\001 \001(\0132" - + "\".google.cloud.language.v1.Document\022=\n\re" - + "ncoding_type\030\002 \001(\0162&.google.cloud.langua" - + "ge.v1.EncodingType\"_\n\027AnalyzeEntitiesRes" - + "ponse\0222\n\010entities\030\001 \003(\0132 .google.cloud.l" - + "anguage.v1.Entity\022\020\n\010language\030\002 \001(\t\"\213\001\n\024" - + "AnalyzeSyntaxRequest\0224\n\010document\030\001 \001(\0132\"" - + ".google.cloud.language.v1.Document\022=\n\ren" - + "coding_type\030\002 \001(\0162&.google.cloud.languag" - + "e.v1.EncodingType\"\221\001\n\025AnalyzeSyntaxRespo" - + "nse\0225\n\tsentences\030\001 \003(\0132\".google.cloud.la" - + "nguage.v1.Sentence\022/\n\006tokens\030\002 \003(\0132\037.goo" - + "gle.cloud.language.v1.Token\022\020\n\010language\030" - + "\003 \001(\t\"K\n\023ClassifyTextRequest\0224\n\010document" - + "\030\001 \001(\0132\".google.cloud.language.v1.Docume" - + "nt\"\\\n\024ClassifyTextResponse\022D\n\ncategories" - + "\030\001 \003(\01320.google.cloud.language.v1.Classi" - + "ficationCategory\"\360\002\n\023AnnotateTextRequest" - + "\0224\n\010document\030\001 \001(\0132\".google.cloud.langua" - + "ge.v1.Document\022H\n\010features\030\002 \001(\01326.googl" - + "e.cloud.language.v1.AnnotateTextRequest." - + "Features\022=\n\rencoding_type\030\003 \001(\0162&.google" - + ".cloud.language.v1.EncodingType\032\231\001\n\010Feat" - + "ures\022\026\n\016extract_syntax\030\001 \001(\010\022\030\n\020extract_" - + "entities\030\002 \001(\010\022\"\n\032extract_document_senti" - + "ment\030\003 \001(\010\022 \n\030extract_entity_sentiment\030\004" - + " \001(\010\022\025\n\rclassify_text\030\006 \001(\010\"\313\002\n\024Annotate" - + "TextResponse\0225\n\tsentences\030\001 \003(\0132\".google" - + ".cloud.language.v1.Sentence\022/\n\006tokens\030\002 " - + "\003(\0132\037.google.cloud.language.v1.Token\0222\n\010" - + "entities\030\003 \003(\0132 .google.cloud.language.v" - + "1.Entity\022?\n\022document_sentiment\030\004 \001(\0132#.g" - + "oogle.cloud.language.v1.Sentiment\022\020\n\010lan" - + "guage\030\005 \001(\t\022D\n\ncategories\030\006 \003(\01320.google" - + ".cloud.language.v1.ClassificationCategor" - + "y*8\n\014EncodingType\022\010\n\004NONE\020\000\022\010\n\004UTF8\020\001\022\t\n" - + "\005UTF16\020\002\022\t\n\005UTF32\020\0032\343\007\n\017LanguageService\022" - + "\244\001\n\020AnalyzeSentiment\0221.google.cloud.lang" - + "uage.v1.AnalyzeSentimentRequest\0322.google" - + ".cloud.language.v1.AnalyzeSentimentRespo" - + "nse\")\202\323\344\223\002#\"\036/v1/documents:analyzeSentim" - + "ent:\001*\022\240\001\n\017AnalyzeEntities\0220.google.clou" - + "d.language.v1.AnalyzeEntitiesRequest\0321.g" - + "oogle.cloud.language.v1.AnalyzeEntitiesR" - + "esponse\"(\202\323\344\223\002\"\"\035/v1/documents:analyzeEn" - + "tities:\001*\022\274\001\n\026AnalyzeEntitySentiment\0227.g" - + "oogle.cloud.language.v1.AnalyzeEntitySen" - + "timentRequest\0328.google.cloud.language.v1" - + ".AnalyzeEntitySentimentResponse\"/\202\323\344\223\002)\"" - + "$/v1/documents:analyzeEntitySentiment:\001*" - + "\022\230\001\n\rAnalyzeSyntax\022..google.cloud.langua" - + "ge.v1.AnalyzeSyntaxRequest\032/.google.clou" - + "d.language.v1.AnalyzeSyntaxResponse\"&\202\323\344" - + "\223\002 \"\033/v1/documents:analyzeSyntax:\001*\022\224\001\n\014" - + "ClassifyText\022-.google.cloud.language.v1." - + "ClassifyTextRequest\032..google.cloud.langu" - + "age.v1.ClassifyTextResponse\"%\202\323\344\223\002\037\"\032/v1" - + "/documents:classifyText:\001*\022\224\001\n\014AnnotateT" - + "ext\022-.google.cloud.language.v1.AnnotateT" - + "extRequest\032..google.cloud.language.v1.An" - + "notateTextResponse\"%\202\323\344\223\002\037\"\032/v1/document" - + "s:annotateText:\001*Bx\n\034com.google.cloud.la" - + "nguage.v1B\024LanguageServiceProtoP\001Z@googl" - + "e.golang.org/genproto/googleapis/cloud/l" - + "anguage/v1;languageb\006proto3" + + "gle/api/annotations.proto\032\027google/api/cl" + + "ient.proto\032\037google/api/field_behavior.pr" + + "oto\"\303\001\n\010Document\0225\n\004type\030\001 \001(\0162\'.google." + + "cloud.language.v1.Document.Type\022\021\n\007conte" + + "nt\030\002 \001(\tH\000\022\031\n\017gcs_content_uri\030\003 \001(\tH\000\022\020\n" + + "\010language\030\004 \001(\t\"6\n\004Type\022\024\n\020TYPE_UNSPECIF" + + "IED\020\000\022\016\n\nPLAIN_TEXT\020\001\022\010\n\004HTML\020\002B\010\n\006sourc" + + "e\"t\n\010Sentence\0220\n\004text\030\001 \001(\0132\".google.clo" + + "ud.language.v1.TextSpan\0226\n\tsentiment\030\002 \001" + + "(\0132#.google.cloud.language.v1.Sentiment\"" + + "\377\003\n\006Entity\022\014\n\004name\030\001 \001(\t\0223\n\004type\030\002 \001(\0162%" + + ".google.cloud.language.v1.Entity.Type\022@\n" + + "\010metadata\030\003 \003(\0132..google.cloud.language." + + "v1.Entity.MetadataEntry\022\020\n\010salience\030\004 \001(" + + "\002\0229\n\010mentions\030\005 \003(\0132\'.google.cloud.langu" + + "age.v1.EntityMention\0226\n\tsentiment\030\006 \001(\0132" + + "#.google.cloud.language.v1.Sentiment\032/\n\r" + + "MetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001\"\271\001\n\004Type\022\013\n\007UNKNOWN\020\000\022\n\n\006PERSON\020\001\022" + + "\014\n\010LOCATION\020\002\022\020\n\014ORGANIZATION\020\003\022\t\n\005EVENT" + + "\020\004\022\017\n\013WORK_OF_ART\020\005\022\021\n\rCONSUMER_GOOD\020\006\022\t" + + "\n\005OTHER\020\007\022\020\n\014PHONE_NUMBER\020\t\022\013\n\007ADDRESS\020\n" + + "\022\010\n\004DATE\020\013\022\n\n\006NUMBER\020\014\022\t\n\005PRICE\020\r\"\313\001\n\005To" + + "ken\0220\n\004text\030\001 \001(\0132\".google.cloud.languag" + + "e.v1.TextSpan\022>\n\016part_of_speech\030\002 \001(\0132&." + + "google.cloud.language.v1.PartOfSpeech\022A\n" + + "\017dependency_edge\030\003 \001(\0132(.google.cloud.la" + + "nguage.v1.DependencyEdge\022\r\n\005lemma\030\004 \001(\t\"" + + "-\n\tSentiment\022\021\n\tmagnitude\030\002 \001(\002\022\r\n\005score" + + "\030\003 \001(\002\"\243\020\n\014PartOfSpeech\0227\n\003tag\030\001 \001(\0162*.g" + + "oogle.cloud.language.v1.PartOfSpeech.Tag" + + "\022=\n\006aspect\030\002 \001(\0162-.google.cloud.language" + + ".v1.PartOfSpeech.Aspect\0229\n\004case\030\003 \001(\0162+." + + "google.cloud.language.v1.PartOfSpeech.Ca" + + "se\0229\n\004form\030\004 \001(\0162+.google.cloud.language" + + ".v1.PartOfSpeech.Form\022=\n\006gender\030\005 \001(\0162-." + + "google.cloud.language.v1.PartOfSpeech.Ge" + + "nder\0229\n\004mood\030\006 \001(\0162+.google.cloud.langua" + + "ge.v1.PartOfSpeech.Mood\022=\n\006number\030\007 \001(\0162" + + "-.google.cloud.language.v1.PartOfSpeech." + + "Number\022=\n\006person\030\010 \001(\0162-.google.cloud.la" + + "nguage.v1.PartOfSpeech.Person\022=\n\006proper\030" + + "\t \001(\0162-.google.cloud.language.v1.PartOfS" + + "peech.Proper\022G\n\013reciprocity\030\n \001(\01622.goog" + + "le.cloud.language.v1.PartOfSpeech.Recipr" + + "ocity\022;\n\005tense\030\013 \001(\0162,.google.cloud.lang" + + "uage.v1.PartOfSpeech.Tense\022;\n\005voice\030\014 \001(" + + "\0162,.google.cloud.language.v1.PartOfSpeec" + + "h.Voice\"\215\001\n\003Tag\022\013\n\007UNKNOWN\020\000\022\007\n\003ADJ\020\001\022\007\n" + + "\003ADP\020\002\022\007\n\003ADV\020\003\022\010\n\004CONJ\020\004\022\007\n\003DET\020\005\022\010\n\004NO" + + "UN\020\006\022\007\n\003NUM\020\007\022\010\n\004PRON\020\010\022\007\n\003PRT\020\t\022\t\n\005PUNC" + + "T\020\n\022\010\n\004VERB\020\013\022\005\n\001X\020\014\022\t\n\005AFFIX\020\r\"O\n\006Aspec" + + "t\022\022\n\016ASPECT_UNKNOWN\020\000\022\016\n\nPERFECTIVE\020\001\022\020\n" + + "\014IMPERFECTIVE\020\002\022\017\n\013PROGRESSIVE\020\003\"\370\001\n\004Cas" + + "e\022\020\n\014CASE_UNKNOWN\020\000\022\016\n\nACCUSATIVE\020\001\022\r\n\tA" + + "DVERBIAL\020\002\022\021\n\rCOMPLEMENTIVE\020\003\022\n\n\006DATIVE\020" + + "\004\022\014\n\010GENITIVE\020\005\022\020\n\014INSTRUMENTAL\020\006\022\014\n\010LOC" + + "ATIVE\020\007\022\016\n\nNOMINATIVE\020\010\022\013\n\007OBLIQUE\020\t\022\r\n\t" + + "PARTITIVE\020\n\022\021\n\rPREPOSITIONAL\020\013\022\022\n\016REFLEX" + + "IVE_CASE\020\014\022\021\n\rRELATIVE_CASE\020\r\022\014\n\010VOCATIV" + + "E\020\016\"\257\001\n\004Form\022\020\n\014FORM_UNKNOWN\020\000\022\014\n\010ADNOMI" + + "AL\020\001\022\r\n\tAUXILIARY\020\002\022\022\n\016COMPLEMENTIZER\020\003\022" + + "\020\n\014FINAL_ENDING\020\004\022\n\n\006GERUND\020\005\022\n\n\006REALIS\020" + + "\006\022\014\n\010IRREALIS\020\007\022\t\n\005SHORT\020\010\022\010\n\004LONG\020\t\022\t\n\005" + + "ORDER\020\n\022\014\n\010SPECIFIC\020\013\"E\n\006Gender\022\022\n\016GENDE" + + "R_UNKNOWN\020\000\022\014\n\010FEMININE\020\001\022\r\n\tMASCULINE\020\002" + + "\022\n\n\006NEUTER\020\003\"\177\n\004Mood\022\020\n\014MOOD_UNKNOWN\020\000\022\024" + + "\n\020CONDITIONAL_MOOD\020\001\022\016\n\nIMPERATIVE\020\002\022\016\n\n" + + "INDICATIVE\020\003\022\021\n\rINTERROGATIVE\020\004\022\013\n\007JUSSI" + + "VE\020\005\022\017\n\013SUBJUNCTIVE\020\006\"@\n\006Number\022\022\n\016NUMBE" + + "R_UNKNOWN\020\000\022\014\n\010SINGULAR\020\001\022\n\n\006PLURAL\020\002\022\010\n" + + "\004DUAL\020\003\"T\n\006Person\022\022\n\016PERSON_UNKNOWN\020\000\022\t\n" + + "\005FIRST\020\001\022\n\n\006SECOND\020\002\022\t\n\005THIRD\020\003\022\024\n\020REFLE" + + "XIVE_PERSON\020\004\"8\n\006Proper\022\022\n\016PROPER_UNKNOW" + + "N\020\000\022\n\n\006PROPER\020\001\022\016\n\nNOT_PROPER\020\002\"J\n\013Recip" + + "rocity\022\027\n\023RECIPROCITY_UNKNOWN\020\000\022\016\n\nRECIP" + + "ROCAL\020\001\022\022\n\016NON_RECIPROCAL\020\002\"s\n\005Tense\022\021\n\r" + + "TENSE_UNKNOWN\020\000\022\025\n\021CONDITIONAL_TENSE\020\001\022\n" + + "\n\006FUTURE\020\002\022\010\n\004PAST\020\003\022\013\n\007PRESENT\020\004\022\r\n\tIMP" + + "ERFECT\020\005\022\016\n\nPLUPERFECT\020\006\"B\n\005Voice\022\021\n\rVOI" + + "CE_UNKNOWN\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tCAUSATIVE\020\002\022" + + "\013\n\007PASSIVE\020\003\"\225\010\n\016DependencyEdge\022\030\n\020head_" + + "token_index\030\001 \001(\005\022=\n\005label\030\002 \001(\0162..googl" + + "e.cloud.language.v1.DependencyEdge.Label" + + "\"\251\007\n\005Label\022\013\n\007UNKNOWN\020\000\022\n\n\006ABBREV\020\001\022\t\n\005A" + + "COMP\020\002\022\t\n\005ADVCL\020\003\022\n\n\006ADVMOD\020\004\022\010\n\004AMOD\020\005\022" + + "\t\n\005APPOS\020\006\022\010\n\004ATTR\020\007\022\007\n\003AUX\020\010\022\013\n\007AUXPASS" + + "\020\t\022\006\n\002CC\020\n\022\t\n\005CCOMP\020\013\022\010\n\004CONJ\020\014\022\t\n\005CSUBJ" + + "\020\r\022\r\n\tCSUBJPASS\020\016\022\007\n\003DEP\020\017\022\007\n\003DET\020\020\022\r\n\tD" + + "ISCOURSE\020\021\022\010\n\004DOBJ\020\022\022\010\n\004EXPL\020\023\022\014\n\010GOESWI" + + "TH\020\024\022\010\n\004IOBJ\020\025\022\010\n\004MARK\020\026\022\007\n\003MWE\020\027\022\007\n\003MWV" + + "\020\030\022\007\n\003NEG\020\031\022\006\n\002NN\020\032\022\014\n\010NPADVMOD\020\033\022\t\n\005NSU" + + "BJ\020\034\022\r\n\tNSUBJPASS\020\035\022\007\n\003NUM\020\036\022\n\n\006NUMBER\020\037" + + "\022\005\n\001P\020 \022\r\n\tPARATAXIS\020!\022\013\n\007PARTMOD\020\"\022\t\n\005P" + + "COMP\020#\022\010\n\004POBJ\020$\022\010\n\004POSS\020%\022\013\n\007POSTNEG\020&\022" + + "\013\n\007PRECOMP\020\'\022\013\n\007PRECONJ\020(\022\n\n\006PREDET\020)\022\010\n" + + "\004PREF\020*\022\010\n\004PREP\020+\022\t\n\005PRONL\020,\022\007\n\003PRT\020-\022\006\n" + + "\002PS\020.\022\014\n\010QUANTMOD\020/\022\t\n\005RCMOD\0200\022\014\n\010RCMODR" + + "EL\0201\022\t\n\005RDROP\0202\022\007\n\003REF\0203\022\013\n\007REMNANT\0204\022\016\n" + + "\nREPARANDUM\0205\022\010\n\004ROOT\0206\022\010\n\004SNUM\0207\022\010\n\004SUF" + + "F\0208\022\010\n\004TMOD\0209\022\t\n\005TOPIC\020:\022\010\n\004VMOD\020;\022\014\n\010VO" + + "CATIVE\020<\022\t\n\005XCOMP\020=\022\n\n\006SUFFIX\020>\022\t\n\005TITLE" + + "\020?\022\014\n\010ADVPHMOD\020@\022\013\n\007AUXCAUS\020A\022\t\n\005AUXVV\020B" + + "\022\t\n\005DTMOD\020C\022\013\n\007FOREIGN\020D\022\006\n\002KW\020E\022\010\n\004LIST" + + "\020F\022\010\n\004NOMC\020G\022\014\n\010NOMCSUBJ\020H\022\020\n\014NOMCSUBJPA" + + "SS\020I\022\010\n\004NUMC\020J\022\007\n\003COP\020K\022\016\n\nDISLOCATED\020L\022" + + "\007\n\003ASP\020M\022\010\n\004GMOD\020N\022\010\n\004GOBJ\020O\022\n\n\006INFMOD\020P" + + "\022\007\n\003MES\020Q\022\t\n\005NCOMP\020R\"\347\001\n\rEntityMention\0220" + + "\n\004text\030\001 \001(\0132\".google.cloud.language.v1." + + "TextSpan\022:\n\004type\030\002 \001(\0162,.google.cloud.la" + + "nguage.v1.EntityMention.Type\0226\n\tsentimen" + + "t\030\003 \001(\0132#.google.cloud.language.v1.Senti" + + "ment\"0\n\004Type\022\020\n\014TYPE_UNKNOWN\020\000\022\n\n\006PROPER" + + "\020\001\022\n\n\006COMMON\020\002\"1\n\010TextSpan\022\017\n\007content\030\001 " + + "\001(\t\022\024\n\014begin_offset\030\002 \001(\005\":\n\026Classificat" + + "ionCategory\022\014\n\004name\030\001 \001(\t\022\022\n\nconfidence\030" + + "\002 \001(\002\"\223\001\n\027AnalyzeSentimentRequest\0229\n\010doc" + + "ument\030\001 \001(\0132\".google.cloud.language.v1.D" + + "ocumentB\003\340A\002\022=\n\rencoding_type\030\002 \001(\0162&.go" + + "ogle.cloud.language.v1.EncodingType\"\244\001\n\030" + + "AnalyzeSentimentResponse\022?\n\022document_sen" + + "timent\030\001 \001(\0132#.google.cloud.language.v1." + + "Sentiment\022\020\n\010language\030\002 \001(\t\0225\n\tsentences" + + "\030\003 \003(\0132\".google.cloud.language.v1.Senten" + + "ce\"\231\001\n\035AnalyzeEntitySentimentRequest\0229\n\010" + + "document\030\001 \001(\0132\".google.cloud.language.v" + + "1.DocumentB\003\340A\002\022=\n\rencoding_type\030\002 \001(\0162&" + + ".google.cloud.language.v1.EncodingType\"f" + + "\n\036AnalyzeEntitySentimentResponse\0222\n\010enti" + + "ties\030\001 \003(\0132 .google.cloud.language.v1.En" + + "tity\022\020\n\010language\030\002 \001(\t\"\222\001\n\026AnalyzeEntiti" + + "esRequest\0229\n\010document\030\001 \001(\0132\".google.clo" + + "ud.language.v1.DocumentB\003\340A\002\022=\n\rencoding" + + "_type\030\002 \001(\0162&.google.cloud.language.v1.E" + + "ncodingType\"_\n\027AnalyzeEntitiesResponse\0222" + + "\n\010entities\030\001 \003(\0132 .google.cloud.language" + + ".v1.Entity\022\020\n\010language\030\002 \001(\t\"\220\001\n\024Analyze" + + "SyntaxRequest\0229\n\010document\030\001 \001(\0132\".google" + + ".cloud.language.v1.DocumentB\003\340A\002\022=\n\renco" + + "ding_type\030\002 \001(\0162&.google.cloud.language." + + "v1.EncodingType\"\221\001\n\025AnalyzeSyntaxRespons" + + "e\0225\n\tsentences\030\001 \003(\0132\".google.cloud.lang" + + "uage.v1.Sentence\022/\n\006tokens\030\002 \003(\0132\037.googl" + + "e.cloud.language.v1.Token\022\020\n\010language\030\003 " + + "\001(\t\"P\n\023ClassifyTextRequest\0229\n\010document\030\001" + + " \001(\0132\".google.cloud.language.v1.Document" + + "B\003\340A\002\"\\\n\024ClassifyTextResponse\022D\n\ncategor" + + "ies\030\001 \003(\01320.google.cloud.language.v1.Cla" + + "ssificationCategory\"\372\002\n\023AnnotateTextRequ" + + "est\0229\n\010document\030\001 \001(\0132\".google.cloud.lan" + + "guage.v1.DocumentB\003\340A\002\022M\n\010features\030\002 \001(\013" + + "26.google.cloud.language.v1.AnnotateText" + + "Request.FeaturesB\003\340A\002\022=\n\rencoding_type\030\003" + + " \001(\0162&.google.cloud.language.v1.Encoding" + + "Type\032\231\001\n\010Features\022\026\n\016extract_syntax\030\001 \001(" + + "\010\022\030\n\020extract_entities\030\002 \001(\010\022\"\n\032extract_d" + + "ocument_sentiment\030\003 \001(\010\022 \n\030extract_entit" + + "y_sentiment\030\004 \001(\010\022\025\n\rclassify_text\030\006 \001(\010" + + "\"\313\002\n\024AnnotateTextResponse\0225\n\tsentences\030\001" + + " \003(\0132\".google.cloud.language.v1.Sentence" + + "\022/\n\006tokens\030\002 \003(\0132\037.google.cloud.language" + + ".v1.Token\0222\n\010entities\030\003 \003(\0132 .google.clo" + + "ud.language.v1.Entity\022?\n\022document_sentim" + + "ent\030\004 \001(\0132#.google.cloud.language.v1.Sen" + + "timent\022\020\n\010language\030\005 \001(\t\022D\n\ncategories\030\006" + + " \003(\01320.google.cloud.language.v1.Classifi" + + "cationCategory*8\n\014EncodingType\022\010\n\004NONE\020\000" + + "\022\010\n\004UTF8\020\001\022\t\n\005UTF16\020\002\022\t\n\005UTF32\020\0032\260\n\n\017Lan" + + "guageService\022\310\001\n\020AnalyzeSentiment\0221.goog" + + "le.cloud.language.v1.AnalyzeSentimentReq" + + "uest\0322.google.cloud.language.v1.AnalyzeS" + + "entimentResponse\"M\202\323\344\223\002#\"\036/v1/documents:" + + "analyzeSentiment:\001*\332A\026document,encoding_" + + "type\332A\010document\022\304\001\n\017AnalyzeEntities\0220.go" + + "ogle.cloud.language.v1.AnalyzeEntitiesRe" + + "quest\0321.google.cloud.language.v1.Analyze" + + "EntitiesResponse\"L\202\323\344\223\002\"\"\035/v1/documents:" + + "analyzeEntities:\001*\332A\026document,encoding_t" + + "ype\332A\010document\022\340\001\n\026AnalyzeEntitySentimen" + + "t\0227.google.cloud.language.v1.AnalyzeEnti" + + "tySentimentRequest\0328.google.cloud.langua" + + "ge.v1.AnalyzeEntitySentimentResponse\"S\202\323" + + "\344\223\002)\"$/v1/documents:analyzeEntitySentime" + + "nt:\001*\332A\026document,encoding_type\332A\010documen" + + "t\022\274\001\n\rAnalyzeSyntax\022..google.cloud.langu" + + "age.v1.AnalyzeSyntaxRequest\032/.google.clo" + + "ud.language.v1.AnalyzeSyntaxResponse\"J\202\323" + + "\344\223\002 \"\033/v1/documents:analyzeSyntax:\001*\332A\026d" + + "ocument,encoding_type\332A\010document\022\237\001\n\014Cla" + + "ssifyText\022-.google.cloud.language.v1.Cla" + + "ssifyTextRequest\032..google.cloud.language" + + ".v1.ClassifyTextResponse\"0\202\323\344\223\002\037\"\032/v1/do" + + "cuments:classifyText:\001*\332A\010document\022\312\001\n\014A" + + "nnotateText\022-.google.cloud.language.v1.A" + + "nnotateTextRequest\032..google.cloud.langua" + + "ge.v1.AnnotateTextResponse\"[\202\323\344\223\002\037\"\032/v1/" + + "documents:annotateText:\001*\332A\037document,fea" + + "tures,encoding_type\332A\021document,features\032" + + "z\312A\027language.googleapis.com\322A]https://ww" + + "w.googleapis.com/auth/cloud-language,htt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "ormBx\n\034com.google.cloud.language.v1B\024Lan" + + "guageServiceProtoP\001Z@google.golang.org/g" + + "enproto/googleapis/cloud/language/v1;lan" + + "guageb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -326,6 +337,8 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), }, assigner); internal_static_google_cloud_language_v1_Document_descriptor = @@ -539,10 +552,16 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Sentence.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Sentence.java index a1beec6db01b..367b8c885fae 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Sentence.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/Sentence.java @@ -160,8 +160,8 @@ public com.google.cloud.language.v1.TextSpanOrBuilder getTextOrBuilder() { * *
    * For calls to [AnalyzeSentiment][] or if
-   * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
-   * is set to true, this field will contain the sentiment for the sentence.
+   * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
+   * true, this field will contain the sentiment for the sentence.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 2; @@ -174,8 +174,8 @@ public boolean hasSentiment() { * *
    * For calls to [AnalyzeSentiment][] or if
-   * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
-   * is set to true, this field will contain the sentiment for the sentence.
+   * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
+   * true, this field will contain the sentiment for the sentence.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 2; @@ -190,8 +190,8 @@ public com.google.cloud.language.v1.Sentiment getSentiment() { * *
    * For calls to [AnalyzeSentiment][] or if
-   * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
-   * is set to true, this field will contain the sentiment for the sentence.
+   * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
+   * true, this field will contain the sentiment for the sentence.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 2; @@ -742,8 +742,8 @@ public com.google.cloud.language.v1.TextSpanOrBuilder getTextOrBuilder() { * *
      * For calls to [AnalyzeSentiment][] or if
-     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
-     * is set to true, this field will contain the sentiment for the sentence.
+     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
+     * true, this field will contain the sentiment for the sentence.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 2; @@ -756,8 +756,8 @@ public boolean hasSentiment() { * *
      * For calls to [AnalyzeSentiment][] or if
-     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
-     * is set to true, this field will contain the sentiment for the sentence.
+     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
+     * true, this field will contain the sentiment for the sentence.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 2; @@ -776,8 +776,8 @@ public com.google.cloud.language.v1.Sentiment getSentiment() { * *
      * For calls to [AnalyzeSentiment][] or if
-     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
-     * is set to true, this field will contain the sentiment for the sentence.
+     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
+     * true, this field will contain the sentiment for the sentence.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 2; @@ -800,8 +800,8 @@ public Builder setSentiment(com.google.cloud.language.v1.Sentiment value) { * *
      * For calls to [AnalyzeSentiment][] or if
-     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
-     * is set to true, this field will contain the sentiment for the sentence.
+     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
+     * true, this field will contain the sentiment for the sentence.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 2; @@ -821,8 +821,8 @@ public Builder setSentiment(com.google.cloud.language.v1.Sentiment.Builder build * *
      * For calls to [AnalyzeSentiment][] or if
-     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
-     * is set to true, this field will contain the sentiment for the sentence.
+     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
+     * true, this field will contain the sentiment for the sentence.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 2; @@ -849,8 +849,8 @@ public Builder mergeSentiment(com.google.cloud.language.v1.Sentiment value) { * *
      * For calls to [AnalyzeSentiment][] or if
-     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
-     * is set to true, this field will contain the sentiment for the sentence.
+     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
+     * true, this field will contain the sentiment for the sentence.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 2; @@ -871,8 +871,8 @@ public Builder clearSentiment() { * *
      * For calls to [AnalyzeSentiment][] or if
-     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
-     * is set to true, this field will contain the sentiment for the sentence.
+     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
+     * true, this field will contain the sentiment for the sentence.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 2; @@ -887,8 +887,8 @@ public com.google.cloud.language.v1.Sentiment.Builder getSentimentBuilder() { * *
      * For calls to [AnalyzeSentiment][] or if
-     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
-     * is set to true, this field will contain the sentiment for the sentence.
+     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
+     * true, this field will contain the sentiment for the sentence.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 2; @@ -907,8 +907,8 @@ public com.google.cloud.language.v1.SentimentOrBuilder getSentimentOrBuilder() { * *
      * For calls to [AnalyzeSentiment][] or if
-     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
-     * is set to true, this field will contain the sentiment for the sentence.
+     * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
+     * true, this field will contain the sentiment for the sentence.
      * 
* * .google.cloud.language.v1.Sentiment sentiment = 2; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/SentenceOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/SentenceOrBuilder.java index dee7a02cceb0..80ff5366a282 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/SentenceOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/SentenceOrBuilder.java @@ -44,8 +44,8 @@ public interface SentenceOrBuilder * *
    * For calls to [AnalyzeSentiment][] or if
-   * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
-   * is set to true, this field will contain the sentiment for the sentence.
+   * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
+   * true, this field will contain the sentiment for the sentence.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 2; @@ -56,8 +56,8 @@ public interface SentenceOrBuilder * *
    * For calls to [AnalyzeSentiment][] or if
-   * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
-   * is set to true, this field will contain the sentiment for the sentence.
+   * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
+   * true, this field will contain the sentiment for the sentence.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 2; @@ -68,8 +68,8 @@ public interface SentenceOrBuilder * *
    * For calls to [AnalyzeSentiment][] or if
-   * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
-   * is set to true, this field will contain the sentiment for the sentence.
+   * [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to
+   * true, this field will contain the sentiment for the sentence.
    * 
* * .google.cloud.language.v1.Sentiment sentiment = 2; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/TextSpan.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/TextSpan.java index 50d6a309f091..0d74912df6a2 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/TextSpan.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/TextSpan.java @@ -146,9 +146,7 @@ public com.google.protobuf.ByteString getContentBytes() { * *
    * The API calculates the beginning offset of the content in the original
-   * document according to the
-   * [EncodingType][google.cloud.language.v1.EncodingType] specified in the API
-   * request.
+   * document according to the [EncodingType][google.cloud.language.v1.EncodingType] specified in the API request.
    * 
* * int32 begin_offset = 2; @@ -586,9 +584,7 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) { * *
      * The API calculates the beginning offset of the content in the original
-     * document according to the
-     * [EncodingType][google.cloud.language.v1.EncodingType] specified in the API
-     * request.
+     * document according to the [EncodingType][google.cloud.language.v1.EncodingType] specified in the API request.
      * 
* * int32 begin_offset = 2; @@ -601,9 +597,7 @@ public int getBeginOffset() { * *
      * The API calculates the beginning offset of the content in the original
-     * document according to the
-     * [EncodingType][google.cloud.language.v1.EncodingType] specified in the API
-     * request.
+     * document according to the [EncodingType][google.cloud.language.v1.EncodingType] specified in the API request.
      * 
* * int32 begin_offset = 2; @@ -619,9 +613,7 @@ public Builder setBeginOffset(int value) { * *
      * The API calculates the beginning offset of the content in the original
-     * document according to the
-     * [EncodingType][google.cloud.language.v1.EncodingType] specified in the API
-     * request.
+     * document according to the [EncodingType][google.cloud.language.v1.EncodingType] specified in the API request.
      * 
* * int32 begin_offset = 2; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/TextSpanOrBuilder.java b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/TextSpanOrBuilder.java index a7cab04961c2..6b772527a22c 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/TextSpanOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/TextSpanOrBuilder.java @@ -34,9 +34,7 @@ public interface TextSpanOrBuilder * *
    * The API calculates the beginning offset of the content in the original
-   * document according to the
-   * [EncodingType][google.cloud.language.v1.EncodingType] specified in the API
-   * request.
+   * document according to the [EncodingType][google.cloud.language.v1.EncodingType] specified in the API request.
    * 
* * int32 begin_offset = 2; diff --git a/google-api-grpc/proto-google-cloud-language-v1/src/main/proto/google/cloud/language/v1/language_service.proto b/google-api-grpc/proto-google-cloud-language-v1/src/main/proto/google/cloud/language/v1/language_service.proto index 7a15c8bf14c4..41d92f344c7b 100644 --- a/google-api-grpc/proto-google-cloud-language-v1/src/main/proto/google/cloud/language/v1/language_service.proto +++ b/google-api-grpc/proto-google-cloud-language-v1/src/main/proto/google/cloud/language/v1/language_service.proto @@ -18,45 +18,53 @@ syntax = "proto3"; package google.cloud.language.v1; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/language/v1;language"; option java_multiple_files = true; option java_outer_classname = "LanguageServiceProto"; option java_package = "com.google.cloud.language.v1"; + // Provides text analysis operations such as sentiment analysis and entity // recognition. service LanguageService { + option (google.api.default_host) = "language.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-language," + "https://www.googleapis.com/auth/cloud-platform"; // Analyzes the sentiment of the provided text. - rpc AnalyzeSentiment(AnalyzeSentimentRequest) - returns (AnalyzeSentimentResponse) { + rpc AnalyzeSentiment(AnalyzeSentimentRequest) returns (AnalyzeSentimentResponse) { option (google.api.http) = { post: "/v1/documents:analyzeSentiment" body: "*" }; + option (google.api.method_signature) = "document,encoding_type"; + option (google.api.method_signature) = "document"; } // Finds named entities (currently proper names and common nouns) in the text // along with entity types, salience, mentions for each entity, and // other properties. - rpc AnalyzeEntities(AnalyzeEntitiesRequest) - returns (AnalyzeEntitiesResponse) { + rpc AnalyzeEntities(AnalyzeEntitiesRequest) returns (AnalyzeEntitiesResponse) { option (google.api.http) = { post: "/v1/documents:analyzeEntities" body: "*" }; + option (google.api.method_signature) = "document,encoding_type"; + option (google.api.method_signature) = "document"; } - // Finds entities, similar to - // [AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities] - // in the text and analyzes sentiment associated with each entity and its - // mentions. - rpc AnalyzeEntitySentiment(AnalyzeEntitySentimentRequest) - returns (AnalyzeEntitySentimentResponse) { + // Finds entities, similar to [AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities] in the text and analyzes + // sentiment associated with each entity and its mentions. + rpc AnalyzeEntitySentiment(AnalyzeEntitySentimentRequest) returns (AnalyzeEntitySentimentResponse) { option (google.api.http) = { post: "/v1/documents:analyzeEntitySentiment" body: "*" }; + option (google.api.method_signature) = "document,encoding_type"; + option (google.api.method_signature) = "document"; } // Analyzes the syntax of the text and provides sentence boundaries and @@ -67,6 +75,8 @@ service LanguageService { post: "/v1/documents:analyzeSyntax" body: "*" }; + option (google.api.method_signature) = "document,encoding_type"; + option (google.api.method_signature) = "document"; } // Classifies a document into categories. @@ -75,6 +85,7 @@ service LanguageService { post: "/v1/documents:classifyText" body: "*" }; + option (google.api.method_signature) = "document"; } // A convenience method that provides all the features that analyzeSentiment, @@ -84,6 +95,8 @@ service LanguageService { post: "/v1/documents:annotateText" body: "*" }; + option (google.api.method_signature) = "document,features,encoding_type"; + option (google.api.method_signature) = "document,features"; } } @@ -111,6 +124,7 @@ message Document { // Google Cloud Storage URI. oneof source { // The content of the input in string format. + // Cloud audit logging exempt since it is based on user data. string content = 2; // The Google Cloud Storage URI where the file content is located. @@ -137,8 +151,8 @@ message Sentence { TextSpan text = 1; // For calls to [AnalyzeSentiment][] or if - // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] - // is set to true, this field will contain the sentiment for the sentence. + // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to + // true, this field will contain the sentiment for the sentence. Sentiment sentiment = 2; } @@ -146,7 +160,10 @@ message Sentence { // a person, an organization, or location. The API associates information, such // as salience and mentions, with entities. message Entity { - // The type of the entity. + // 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 + // metadata. enum Type { // Unknown UNKNOWN = 0; @@ -163,28 +180,53 @@ message Entity { // Event EVENT = 4; - // Work of art + // Artwork WORK_OF_ART = 5; - // Consumer goods + // Consumer product CONSUMER_GOOD = 6; - // Other types + // Other types of entities OTHER = 7; - // Phone number + // Phone number

+ // The metadata lists the phone number, formatted according to local + // convention, plus whichever additional elements appear in the text:
    + //
  • number – the actual number, broken down into + // sections as per local convention
  • national_prefix + // – country code, if detected
  • area_code – + // region or area code, if detected
  • extension – + // phone extension (to be dialed after connection), if detected
PHONE_NUMBER = 9; - // Address + // Address

+ // The metadata identifies the street number and locality plus whichever + // additional elements appear in the text:
    + //
  • street_number – street number
  • + //
  • locality – city or town
  • + //
  • street_name – street/route name, if detected
  • + //
  • postal_code – postal code, if detected
  • + //
  • country – country, if detected
  • + //
  • broad_region – administrative area, such as the + // state, if detected
  • narrow_region – smaller + // administrative area, such as county, if detected
  • + //
  • sublocality – used in Asian addresses to demark a + // district within a city, if detected
ADDRESS = 10; - // Date + // Date

+ // The metadata identifies the components of the date:
    + //
  • year – four digit year, if detected
  • + //
  • month – two digit month number, if detected
  • + //
  • day – two digit day number, if detected
DATE = 11; - // Number + // Number

+ // The metadata is the number itself. NUMBER = 12; - // Price + // Price

+ // The metadata identifies the value and currency. PRICE = 13; } @@ -196,8 +238,9 @@ message Entity { // Metadata associated with the entity. // - // Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if - // available. The associated keys are "wikipedia_url" and "mid", respectively. + // For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) + // and Knowledge Graph MID (`mid`), if they are available. For the metadata + // associated with other entity types, see the Type table below. map metadata = 3; // The salience score associated with the entity in the [0, 1.0] range. @@ -213,9 +256,9 @@ message Entity { repeated EntityMention mentions = 5; // For calls to [AnalyzeEntitySentiment][] or if - // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] - // is set to true, this field will contain the aggregate sentiment expressed - // for this entity in the provided document. + // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to + // true, this field will contain the aggregate sentiment expressed for this + // entity in the provided document. Sentiment sentiment = 6; } @@ -892,9 +935,9 @@ message EntityMention { Type type = 2; // For calls to [AnalyzeEntitySentiment][] or if - // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] - // is set to true, this field will contain the sentiment expressed for this - // mention of the entity in the provided document. + // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to + // true, this field will contain the sentiment expressed for this mention of + // the entity in the provided document. Sentiment sentiment = 3; } @@ -904,9 +947,7 @@ message TextSpan { string content = 1; // The API calculates the beginning offset of the content in the original - // document according to the - // [EncodingType][google.cloud.language.v1.EncodingType] specified in the API - // request. + // document according to the [EncodingType][google.cloud.language.v1.EncodingType] specified in the API request. int32 begin_offset = 2; } @@ -924,7 +965,7 @@ message ClassificationCategory { // The sentiment analysis request message. message AnalyzeSentimentRequest { // Input document. - Document document = 1; + Document document = 1 [(google.api.field_behavior) = REQUIRED]; // The encoding type used by the API to calculate sentence offsets. EncodingType encoding_type = 2; @@ -937,8 +978,7 @@ message AnalyzeSentimentResponse { // 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. string language = 2; // The sentiment for all the sentences in the document. @@ -948,7 +988,7 @@ message AnalyzeSentimentResponse { // The entity-level sentiment analysis request message. message AnalyzeEntitySentimentRequest { // Input document. - Document document = 1; + Document document = 1 [(google.api.field_behavior) = REQUIRED]; // The encoding type used by the API to calculate offsets. EncodingType encoding_type = 2; @@ -961,15 +1001,14 @@ message AnalyzeEntitySentimentResponse { // 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. string language = 2; } // The entity analysis request message. message AnalyzeEntitiesRequest { // Input document. - Document document = 1; + Document document = 1 [(google.api.field_behavior) = REQUIRED]; // The encoding type used by the API to calculate offsets. EncodingType encoding_type = 2; @@ -982,15 +1021,14 @@ message AnalyzeEntitiesResponse { // 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. string language = 2; } // The syntax analysis request message. message AnalyzeSyntaxRequest { // Input document. - Document document = 1; + Document document = 1 [(google.api.field_behavior) = REQUIRED]; // The encoding type used by the API to calculate offsets. EncodingType encoding_type = 2; @@ -1006,15 +1044,14 @@ message AnalyzeSyntaxResponse { // 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. string language = 3; } // The document classification request message. message ClassifyTextRequest { // Input document. - Document document = 1; + Document document = 1 [(google.api.field_behavior) = REQUIRED]; } // The document classification response message. @@ -1046,10 +1083,10 @@ message AnnotateTextRequest { } // Input document. - Document document = 1; + Document document = 1 [(google.api.field_behavior) = REQUIRED]; // The enabled features. - Features features = 2; + Features features = 2 [(google.api.field_behavior) = REQUIRED]; // The encoding type used by the API to calculate offsets. EncodingType encoding_type = 3; @@ -1077,8 +1114,7 @@ message AnnotateTextResponse { // 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. string language = 5; // Categories identified in the input document. diff --git a/google-cloud-clients/google-cloud-language/synth.metadata b/google-cloud-clients/google-cloud-language/synth.metadata index c6d63c71de2a..0dedf349525a 100644 --- a/google-cloud-clients/google-cloud-language/synth.metadata +++ b/google-cloud-clients/google-cloud-language/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-04-02T07:48:55.958500Z", + "updateTime": "2019-04-04T07:47:40.894268Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.22", - "dockerImage": "googleapis/artman@sha256:e7f9554322a8aa1416c122c918fdc4cdec8cfe816f027fc948dec0be7edef320" + "version": "0.16.23", + "dockerImage": "googleapis/artman@sha256:f3a3f88000dc1cd1b4826104c5574aa5c534f6793fbf66e888d11c0d7ef5762e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "6c48ab5aef47dc14e02e2dc718d232a28067129d", - "internalRef": "241437588" + "sha": "04193ea2f8121388c998ab49c382f2c03417dcce", + "internalRef": "241828309" } } ],