From 9891e73a56af7c097829ca7a521b0e862ba6af30 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Tue, 26 Feb 2019 00:42:26 -0800 Subject: [PATCH] Regenerate errorreporting client --- .../v1beta1/ReportErrorsServiceGrpc.java | 12 ++++--- .../v1beta1/ReportErrorEventRequest.java | 35 +++++++++++-------- .../ReportErrorEventRequestOrBuilder.java | 10 +++--- .../clouderrorreporting/v1beta1/common.proto | 1 - .../v1beta1/error_group_service.proto | 10 ++++-- .../v1beta1/error_stats_service.proto | 17 +++++---- .../v1beta1/report_errors_service.proto | 21 ++++++----- .../synth.metadata | 10 +++--- 8 files changed, 69 insertions(+), 47 deletions(-) diff --git a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceGrpc.java b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceGrpc.java index 0c4eb7864558..05c3096cacfc 100644 --- a/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceGrpc.java +++ b/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceGrpc.java @@ -122,7 +122,8 @@ public abstract static class ReportErrorsServiceImplBase implements io.grpc.Bind * <a href="https://support.google.com/cloud/answer/6158862">API key</a> * for authentication. To use an API key, append it to the URL as the value of * a `key` parameter. For example: - * <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> + * <pre>POST + * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> * */ public void reportErrorEvent( @@ -180,7 +181,8 @@ protected ReportErrorsServiceStub build( * <a href="https://support.google.com/cloud/answer/6158862">API key</a> * for authentication. To use an API key, append it to the URL as the value of * a `key` parameter. For example: - * <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> + * <pre>POST + * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> * */ public void reportErrorEvent( @@ -229,7 +231,8 @@ protected ReportErrorsServiceBlockingStub build( * <a href="https://support.google.com/cloud/answer/6158862">API key</a> * for authentication. To use an API key, append it to the URL as the value of * a `key` parameter. For example: - * <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> + * <pre>POST + * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> * */ public com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse @@ -274,7 +277,8 @@ protected ReportErrorsServiceFutureStub build( * <a href="https://support.google.com/cloud/answer/6158862">API key</a> * for authentication. To use an API key, append it to the URL as the value of * a `key` parameter. For example: - * <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> + * <pre>POST + * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> * */ public com.google.common.util.concurrent.ListenableFuture< diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequest.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequest.java index ece3e1f7ac7f..01952fe04be3 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequest.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequest.java @@ -117,8 +117,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * [Required] The resource name of the Google Cloud Platform project. Written
    * as `projects/` plus the
-   * [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).
-   * Example: `projects/my-project-123`.
+   * [Google Cloud Platform project
+   * ID](https://support.google.com/cloud/answer/6158840). Example:
+   * `projects/my-project-123`.
    * 
* * string project_name = 1; @@ -140,8 +141,9 @@ public java.lang.String getProjectName() { *
    * [Required] The resource name of the Google Cloud Platform project. Written
    * as `projects/` plus the
-   * [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).
-   * Example: `projects/my-project-123`.
+   * [Google Cloud Platform project
+   * ID](https://support.google.com/cloud/answer/6158840). Example:
+   * `projects/my-project-123`.
    * 
* * string project_name = 1; @@ -566,8 +568,9 @@ public Builder mergeFrom( *
      * [Required] The resource name of the Google Cloud Platform project. Written
      * as `projects/` plus the
-     * [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).
-     * Example: `projects/my-project-123`.
+     * [Google Cloud Platform project
+     * ID](https://support.google.com/cloud/answer/6158840). Example:
+     * `projects/my-project-123`.
      * 
* * string project_name = 1; @@ -589,8 +592,9 @@ public java.lang.String getProjectName() { *
      * [Required] The resource name of the Google Cloud Platform project. Written
      * as `projects/` plus the
-     * [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).
-     * Example: `projects/my-project-123`.
+     * [Google Cloud Platform project
+     * ID](https://support.google.com/cloud/answer/6158840). Example:
+     * `projects/my-project-123`.
      * 
* * string project_name = 1; @@ -612,8 +616,9 @@ public com.google.protobuf.ByteString getProjectNameBytes() { *
      * [Required] The resource name of the Google Cloud Platform project. Written
      * as `projects/` plus the
-     * [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).
-     * Example: `projects/my-project-123`.
+     * [Google Cloud Platform project
+     * ID](https://support.google.com/cloud/answer/6158840). Example:
+     * `projects/my-project-123`.
      * 
* * string project_name = 1; @@ -633,8 +638,9 @@ public Builder setProjectName(java.lang.String value) { *
      * [Required] The resource name of the Google Cloud Platform project. Written
      * as `projects/` plus the
-     * [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).
-     * Example: `projects/my-project-123`.
+     * [Google Cloud Platform project
+     * ID](https://support.google.com/cloud/answer/6158840). Example:
+     * `projects/my-project-123`.
      * 
* * string project_name = 1; @@ -651,8 +657,9 @@ public Builder clearProjectName() { *
      * [Required] The resource name of the Google Cloud Platform project. Written
      * as `projects/` plus the
-     * [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).
-     * Example: `projects/my-project-123`.
+     * [Google Cloud Platform project
+     * ID](https://support.google.com/cloud/answer/6158840). Example:
+     * `projects/my-project-123`.
      * 
* * string project_name = 1; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequestOrBuilder.java index 998b25bf8cbf..69b305a12966 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequestOrBuilder.java @@ -14,8 +14,9 @@ public interface ReportErrorEventRequestOrBuilder *
    * [Required] The resource name of the Google Cloud Platform project. Written
    * as `projects/` plus the
-   * [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).
-   * Example: `projects/my-project-123`.
+   * [Google Cloud Platform project
+   * ID](https://support.google.com/cloud/answer/6158840). Example:
+   * `projects/my-project-123`.
    * 
* * string project_name = 1; @@ -27,8 +28,9 @@ public interface ReportErrorEventRequestOrBuilder *
    * [Required] The resource name of the Google Cloud Platform project. Written
    * as `projects/` plus the
-   * [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).
-   * Example: `projects/my-project-123`.
+   * [Google Cloud Platform project
+   * ID](https://support.google.com/cloud/answer/6158840). Example:
+   * `projects/my-project-123`.
    * 
* * string project_name = 1; diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/common.proto b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/common.proto index 5d60cb2fb575..132f1a646f87 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/common.proto +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/common.proto @@ -27,7 +27,6 @@ option java_outer_classname = "CommonProto"; option java_package = "com.google.devtools.clouderrorreporting.v1beta1"; option php_namespace = "Google\\Cloud\\ErrorReporting\\V1beta1"; - // Description of a group of similar error events. message ErrorGroup { // The group resource name. diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto index 5c32e068d98a..15086a9eaa47 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto @@ -26,18 +26,22 @@ option java_outer_classname = "ErrorGroupServiceProto"; option java_package = "com.google.devtools.clouderrorreporting.v1beta1"; option php_namespace = "Google\\Cloud\\ErrorReporting\\V1beta1"; - // Service for retrieving and updating individual error groups. service ErrorGroupService { // Get the specified group. rpc GetGroup(GetGroupRequest) returns (ErrorGroup) { - option (google.api.http) = { get: "/v1beta1/{group_name=projects/*/groups/*}" }; + option (google.api.http) = { + get: "/v1beta1/{group_name=projects/*/groups/*}" + }; } // Replace the data for the specified group. // Fails if the group does not exist. rpc UpdateGroup(UpdateGroupRequest) returns (ErrorGroup) { - option (google.api.http) = { put: "/v1beta1/{group.name=projects/*/groups/*}" body: "group" }; + option (google.api.http) = { + put: "/v1beta1/{group.name=projects/*/groups/*}" + body: "group" + }; } } diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto index 5b6213436d8e..ffb25b2b8ac2 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto @@ -28,23 +28,28 @@ option java_outer_classname = "ErrorStatsServiceProto"; option java_package = "com.google.devtools.clouderrorreporting.v1beta1"; option php_namespace = "Google\\Cloud\\ErrorReporting\\V1beta1"; - // An API for retrieving and managing error statistics as well as data for // individual events. service ErrorStatsService { // Lists the specified groups. rpc ListGroupStats(ListGroupStatsRequest) returns (ListGroupStatsResponse) { - option (google.api.http) = { get: "/v1beta1/{project_name=projects/*}/groupStats" }; + option (google.api.http) = { + get: "/v1beta1/{project_name=projects/*}/groupStats" + }; } // Lists the specified events. rpc ListEvents(ListEventsRequest) returns (ListEventsResponse) { - option (google.api.http) = { get: "/v1beta1/{project_name=projects/*}/events" }; + option (google.api.http) = { + get: "/v1beta1/{project_name=projects/*}/events" + }; } // Deletes all error events of a given project. rpc DeleteEvents(DeleteEventsRequest) returns (DeleteEventsResponse) { - option (google.api.http) = { delete: "/v1beta1/{project_name=projects/*}/events" }; + option (google.api.http) = { + delete: "/v1beta1/{project_name=projects/*}/events" + }; } } @@ -296,9 +301,7 @@ message DeleteEventsRequest { } // Response message for deleting error events. -message DeleteEventsResponse { - -} +message DeleteEventsResponse {} // Specifies how the time periods of error group counts are aligned. enum TimedCountAlignment { diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto index cf22f4971834..d77f646ce464 100644 --- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto +++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto @@ -27,7 +27,6 @@ option java_outer_classname = "ReportErrorsServiceProto"; option java_package = "com.google.devtools.clouderrorreporting.v1beta1"; option php_namespace = "Google\\Cloud\\ErrorReporting\\V1beta1"; - // An API for reporting error events. service ReportErrorsService { // Report an individual error event. @@ -37,9 +36,14 @@ service ReportErrorsService { // API key // for authentication. To use an API key, append it to the URL as the value of // a `key` parameter. For example: - //
POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456
- rpc ReportErrorEvent(ReportErrorEventRequest) returns (ReportErrorEventResponse) { - option (google.api.http) = { post: "/v1beta1/{project_name=projects/*}/events:report" body: "event" }; + //
POST
+  // https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456
+ rpc ReportErrorEvent(ReportErrorEventRequest) + returns (ReportErrorEventResponse) { + option (google.api.http) = { + post: "/v1beta1/{project_name=projects/*}/events:report" + body: "event" + }; } } @@ -47,8 +51,9 @@ service ReportErrorsService { message ReportErrorEventRequest { // [Required] The resource name of the Google Cloud Platform project. Written // as `projects/` plus the - // [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). - // Example: `projects/my-project-123`. + // [Google Cloud Platform project + // ID](https://support.google.com/cloud/answer/6158840). Example: + // `projects/my-project-123`. string project_name = 1; // [Required] The error event to be reported. @@ -57,9 +62,7 @@ message ReportErrorEventRequest { // Response for reporting an individual error event. // Data may be added to this message in the future. -message ReportErrorEventResponse { - -} +message ReportErrorEventResponse {} // An error event which is reported to the Error Reporting system. message ReportedErrorEvent { diff --git a/google-cloud-clients/google-cloud-errorreporting/synth.metadata b/google-cloud-clients/google-cloud-errorreporting/synth.metadata index 28248ca2c82a..348764478b17 100644 --- a/google-cloud-clients/google-cloud-errorreporting/synth.metadata +++ b/google-cloud-clients/google-cloud-errorreporting/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:43:47.907788Z", + "updateTime": "2019-02-26T08:42:26.234719Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.14", + "dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "29f098cb03a9983cc9cb15993de5da64419046f2", + "internalRef": "235621085" } } ],