Skip to content

Commit 0399bce

Browse files
yoshi-automationbusunkim96
authored andcommitted
Trace: copy lintified proto files (via synth).
1 parent dcb5ab4 commit 0399bce

File tree

4 files changed

+23
-13
lines changed

4 files changed

+23
-13
lines changed

packages/google-cloud-trace/google/cloud/trace_v1/proto/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

packages/google-cloud-trace/google/cloud/trace_v2/proto/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

packages/google-cloud-trace/google/cloud/trace_v2/proto/tracing.proto

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

31-
3231
// This file describes an API for collecting and viewing traces and spans
3332
// within a trace. A Trace is a collection of spans corresponding to a single
3433
// operation or set of operations for an application. A span is an individual
@@ -38,12 +37,18 @@ service TraceService {
3837
// Sends new spans to new or existing traces. You cannot update
3938
// existing spans.
4039
rpc BatchWriteSpans(BatchWriteSpansRequest) returns (google.protobuf.Empty) {
41-
option (google.api.http) = { post: "/v2/{name=projects/*}/traces:batchWrite" body: "*" };
40+
option (google.api.http) = {
41+
post: "/v2/{name=projects/*}/traces:batchWrite"
42+
body: "*"
43+
};
4244
}
4345

4446
// Creates a new span.
4547
rpc CreateSpan(Span) returns (Span) {
46-
option (google.api.http) = { post: "/v2/{name=projects/*/traces/*}/spans" body: "*" };
48+
option (google.api.http) = {
49+
post: "/v2/{name=projects/*/traces/*}/spans"
50+
body: "*"
51+
};
4752
}
4853
}
4954

packages/google-cloud-trace/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-02-20T18:19:07.753372Z",
2+
"updateTime": "2019-02-26T13:28:27.717729Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.13",
8-
"dockerImage": "googleapis/artman@sha256:5fd9aee1d82a00cebf425c8fa431f5457539562f5867ad9c54370f0ec9a7ccaa"
7+
"version": "0.16.14",
8+
"dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "18ab81eec27942a942622d5a8d9c9e7a202e8c16",
16-
"internalRef": "234814197"
15+
"sha": "29f098cb03a9983cc9cb15993de5da64419046f2",
16+
"internalRef": "235621085"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)