Skip to content

Commit 94dbbb9

Browse files
yoshi-automationsduskis
authored andcommitted
---
yaml --- r: 19509 b: refs/heads/autosynth-errorreporting c: 04b9da4 h: refs/heads/master i: 19507: 4cae037
1 parent 52642cc commit 94dbbb9

13 files changed

Lines changed: 71 additions & 83 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ refs/heads/autosynth-bigtable-admin: 6379a2bc712f2736c83de0e009b4d26da4fa82ca
130130
refs/heads/autosynth-containeranalysis: 0f377286f60df2b6fd37c183bf170c68dc014cfb
131131
refs/heads/autosynth-datastore: 9acd400b484d6691a080c9152a331d88d24fefc1
132132
refs/heads/autosynth-dialogflow: 7dbc2c1ea714328ccfa4f33645045f017ff080e7
133-
refs/heads/autosynth-errorreporting: 9891e73a56af7c097829ca7a521b0e862ba6af30
133+
refs/heads/autosynth-errorreporting: 04b9da4bb170c7dc3658e46e83b4976d84f1c2a4
134134
refs/heads/autosynth-firestore: ddb29f8ee445a938fc40be8227dea87b3f508ab3
135135
refs/heads/autosynth-iot: f16fc4ba85bbb37eacecb64a2a7336f685813f6c
136136
refs/heads/autosynth-kms: 4fff8f3cf6c830f7706ac4ef272f036bb87fbaf8

branches/autosynth-errorreporting/google-api-grpc/grpc-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceGrpc.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ public abstract static class ReportErrorsServiceImplBase implements io.grpc.Bind
122122
* <a href="https://support.google.com/cloud/answer/6158862">API key</a>
123123
* for authentication. To use an API key, append it to the URL as the value of
124124
* a `key` parameter. For example:
125-
* <pre>POST
126-
* https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
125+
* <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
127126
* </pre>
128127
*/
129128
public void reportErrorEvent(
@@ -181,8 +180,7 @@ protected ReportErrorsServiceStub build(
181180
* &lt;a href="https://support.google.com/cloud/answer/6158862"&gt;API key&lt;/a&gt;
182181
* for authentication. To use an API key, append it to the URL as the value of
183182
* a `key` parameter. For example:
184-
* &lt;pre&gt;POST
185-
* https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456&lt;/pre&gt;
183+
* &lt;pre&gt;POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456&lt;/pre&gt;
186184
* </pre>
187185
*/
188186
public void reportErrorEvent(
@@ -231,8 +229,7 @@ protected ReportErrorsServiceBlockingStub build(
231229
* &lt;a href="https://support.google.com/cloud/answer/6158862"&gt;API key&lt;/a&gt;
232230
* for authentication. To use an API key, append it to the URL as the value of
233231
* a `key` parameter. For example:
234-
* &lt;pre&gt;POST
235-
* https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456&lt;/pre&gt;
232+
* &lt;pre&gt;POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456&lt;/pre&gt;
236233
* </pre>
237234
*/
238235
public com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse
@@ -277,8 +274,7 @@ protected ReportErrorsServiceFutureStub build(
277274
* &lt;a href="https://support.google.com/cloud/answer/6158862"&gt;API key&lt;/a&gt;
278275
* for authentication. To use an API key, append it to the URL as the value of
279276
* a `key` parameter. For example:
280-
* &lt;pre&gt;POST
281-
* https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456&lt;/pre&gt;
277+
* &lt;pre&gt;POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456&lt;/pre&gt;
282278
* </pre>
283279
*/
284280
public com.google.common.util.concurrent.ListenableFuture<

branches/autosynth-errorreporting/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequest.java

Lines changed: 14 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

branches/autosynth-errorreporting/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequestOrBuilder.java

Lines changed: 4 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

branches/autosynth-errorreporting/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/common.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ option java_outer_classname = "CommonProto";
2727
option java_package = "com.google.devtools.clouderrorreporting.v1beta1";
2828
option php_namespace = "Google\\Cloud\\ErrorReporting\\V1beta1";
2929

30+
3031
// Description of a group of similar error events.
3132
message ErrorGroup {
3233
// The group resource name.

branches/autosynth-errorreporting/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,18 @@ option java_outer_classname = "ErrorGroupServiceProto";
2626
option java_package = "com.google.devtools.clouderrorreporting.v1beta1";
2727
option php_namespace = "Google\\Cloud\\ErrorReporting\\V1beta1";
2828

29+
2930
// Service for retrieving and updating individual error groups.
3031
service ErrorGroupService {
3132
// Get the specified group.
3233
rpc GetGroup(GetGroupRequest) returns (ErrorGroup) {
33-
option (google.api.http) = {
34-
get: "/v1beta1/{group_name=projects/*/groups/*}"
35-
};
34+
option (google.api.http) = { get: "/v1beta1/{group_name=projects/*/groups/*}" };
3635
}
3736

3837
// Replace the data for the specified group.
3938
// Fails if the group does not exist.
4039
rpc UpdateGroup(UpdateGroupRequest) returns (ErrorGroup) {
41-
option (google.api.http) = {
42-
put: "/v1beta1/{group.name=projects/*/groups/*}"
43-
body: "group"
44-
};
40+
option (google.api.http) = { put: "/v1beta1/{group.name=projects/*/groups/*}" body: "group" };
4541
}
4642
}
4743

branches/autosynth-errorreporting/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,23 @@ option java_outer_classname = "ErrorStatsServiceProto";
2828
option java_package = "com.google.devtools.clouderrorreporting.v1beta1";
2929
option php_namespace = "Google\\Cloud\\ErrorReporting\\V1beta1";
3030

31+
3132
// An API for retrieving and managing error statistics as well as data for
3233
// individual events.
3334
service ErrorStatsService {
3435
// Lists the specified groups.
3536
rpc ListGroupStats(ListGroupStatsRequest) returns (ListGroupStatsResponse) {
36-
option (google.api.http) = {
37-
get: "/v1beta1/{project_name=projects/*}/groupStats"
38-
};
37+
option (google.api.http) = { get: "/v1beta1/{project_name=projects/*}/groupStats" };
3938
}
4039

4140
// Lists the specified events.
4241
rpc ListEvents(ListEventsRequest) returns (ListEventsResponse) {
43-
option (google.api.http) = {
44-
get: "/v1beta1/{project_name=projects/*}/events"
45-
};
42+
option (google.api.http) = { get: "/v1beta1/{project_name=projects/*}/events" };
4643
}
4744

4845
// Deletes all error events of a given project.
4946
rpc DeleteEvents(DeleteEventsRequest) returns (DeleteEventsResponse) {
50-
option (google.api.http) = {
51-
delete: "/v1beta1/{project_name=projects/*}/events"
52-
};
47+
option (google.api.http) = { delete: "/v1beta1/{project_name=projects/*}/events" };
5348
}
5449
}
5550

@@ -301,7 +296,9 @@ message DeleteEventsRequest {
301296
}
302297

303298
// Response message for deleting error events.
304-
message DeleteEventsResponse {}
299+
message DeleteEventsResponse {
300+
301+
}
305302

306303
// Specifies how the time periods of error group counts are aligned.
307304
enum TimedCountAlignment {

branches/autosynth-errorreporting/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ option java_outer_classname = "ReportErrorsServiceProto";
2727
option java_package = "com.google.devtools.clouderrorreporting.v1beta1";
2828
option php_namespace = "Google\\Cloud\\ErrorReporting\\V1beta1";
2929

30+
3031
// An API for reporting error events.
3132
service ReportErrorsService {
3233
// Report an individual error event.
@@ -36,24 +37,18 @@ service ReportErrorsService {
3637
// <a href="https://support.google.com/cloud/answer/6158862">API key</a>
3738
// for authentication. To use an API key, append it to the URL as the value of
3839
// a `key` parameter. For example:
39-
// <pre>POST
40-
// https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
41-
rpc ReportErrorEvent(ReportErrorEventRequest)
42-
returns (ReportErrorEventResponse) {
43-
option (google.api.http) = {
44-
post: "/v1beta1/{project_name=projects/*}/events:report"
45-
body: "event"
46-
};
40+
// <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
41+
rpc ReportErrorEvent(ReportErrorEventRequest) returns (ReportErrorEventResponse) {
42+
option (google.api.http) = { post: "/v1beta1/{project_name=projects/*}/events:report" body: "event" };
4743
}
4844
}
4945

5046
// A request for reporting an individual error event.
5147
message ReportErrorEventRequest {
5248
// [Required] The resource name of the Google Cloud Platform project. Written
5349
// as `projects/` plus the
54-
// [Google Cloud Platform project
55-
// ID](https://support.google.com/cloud/answer/6158840). Example:
56-
// `projects/my-project-123`.
50+
// [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).
51+
// Example: `projects/my-project-123`.
5752
string project_name = 1;
5853

5954
// [Required] The error event to be reported.
@@ -62,7 +57,9 @@ message ReportErrorEventRequest {
6257

6358
// Response for reporting an individual error event.
6459
// Data may be added to this message in the future.
65-
message ReportErrorEventResponse {}
60+
message ReportErrorEventResponse {
61+
62+
}
6663

6764
// An error event which is reported to the Error Reporting system.
6865
message ReportedErrorEvent {

branches/autosynth-errorreporting/google-api-grpc/proto-google-cloud-trace-v1/src/main/proto/google/devtools/cloudtrace/v1/trace.proto

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ option java_outer_classname = "TraceProto";
2727
option java_package = "com.google.devtools.cloudtrace.v1";
2828
option php_namespace = "Google\\Cloud\\Trace\\V1";
2929

30-
3130
// This file describes an API for collecting and viewing traces and spans
3231
// within a trace. A Trace is a collection of spans corresponding to a single
3332
// operation or set of operations for an application. A span is an individual
@@ -36,12 +35,16 @@ option php_namespace = "Google\\Cloud\\Trace\\V1";
3635
service TraceService {
3736
// Returns of a list of traces that match the specified filter conditions.
3837
rpc ListTraces(ListTracesRequest) returns (ListTracesResponse) {
39-
option (google.api.http) = { get: "/v1/projects/{project_id}/traces" };
38+
option (google.api.http) = {
39+
get: "/v1/projects/{project_id}/traces"
40+
};
4041
}
4142

4243
// Gets a single trace by its ID.
4344
rpc GetTrace(GetTraceRequest) returns (Trace) {
44-
option (google.api.http) = { get: "/v1/projects/{project_id}/traces/{trace_id}" };
45+
option (google.api.http) = {
46+
get: "/v1/projects/{project_id}/traces/{trace_id}"
47+
};
4548
}
4649

4750
// Sends new traces to Stackdriver Trace or updates existing traces. If the ID
@@ -50,7 +53,10 @@ service TraceService {
5053
// and any new fields provided are merged with the existing trace data. If the
5154
// ID does not match, a new trace is created.
5255
rpc PatchTraces(PatchTracesRequest) returns (google.protobuf.Empty) {
53-
option (google.api.http) = { patch: "/v1/projects/{project_id}/traces" body: "traces" };
56+
option (google.api.http) = {
57+
patch: "/v1/projects/{project_id}/traces"
58+
body: "traces"
59+
};
5460
}
5561
}
5662

branches/autosynth-errorreporting/google-api-grpc/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/trace.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ option java_outer_classname = "TraceProto";
2828
option java_package = "com.google.devtools.cloudtrace.v2";
2929
option php_namespace = "Google\\Cloud\\Trace\\V2";
3030

31-
3231
// A span represents a single operation within a trace. Spans can be
3332
// nested to form a trace tree. Often, a trace contains a root span
3433
// that describes the end-to-end latency, and one or more subspans for

0 commit comments

Comments
 (0)