@@ -68,6 +68,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
68
68
.setFullMethodName ("google.pubsub.v1.SchemaService/CreateSchema" )
69
69
.setRequestMarshaller (ProtoUtils .marshaller (CreateSchemaRequest .getDefaultInstance ()))
70
70
.setResponseMarshaller (ProtoUtils .marshaller (Schema .getDefaultInstance ()))
71
+ .setSampledToLocalTracing (true )
71
72
.build ();
72
73
73
74
private static final MethodDescriptor <GetSchemaRequest , Schema > getSchemaMethodDescriptor =
@@ -76,6 +77,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
76
77
.setFullMethodName ("google.pubsub.v1.SchemaService/GetSchema" )
77
78
.setRequestMarshaller (ProtoUtils .marshaller (GetSchemaRequest .getDefaultInstance ()))
78
79
.setResponseMarshaller (ProtoUtils .marshaller (Schema .getDefaultInstance ()))
80
+ .setSampledToLocalTracing (true )
79
81
.build ();
80
82
81
83
private static final MethodDescriptor <ListSchemasRequest , ListSchemasResponse >
@@ -86,6 +88,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
86
88
.setRequestMarshaller (ProtoUtils .marshaller (ListSchemasRequest .getDefaultInstance ()))
87
89
.setResponseMarshaller (
88
90
ProtoUtils .marshaller (ListSchemasResponse .getDefaultInstance ()))
91
+ .setSampledToLocalTracing (true )
89
92
.build ();
90
93
91
94
private static final MethodDescriptor <ListSchemaRevisionsRequest , ListSchemaRevisionsResponse >
@@ -97,6 +100,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
97
100
ProtoUtils .marshaller (ListSchemaRevisionsRequest .getDefaultInstance ()))
98
101
.setResponseMarshaller (
99
102
ProtoUtils .marshaller (ListSchemaRevisionsResponse .getDefaultInstance ()))
103
+ .setSampledToLocalTracing (true )
100
104
.build ();
101
105
102
106
private static final MethodDescriptor <CommitSchemaRequest , Schema > commitSchemaMethodDescriptor =
@@ -105,6 +109,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
105
109
.setFullMethodName ("google.pubsub.v1.SchemaService/CommitSchema" )
106
110
.setRequestMarshaller (ProtoUtils .marshaller (CommitSchemaRequest .getDefaultInstance ()))
107
111
.setResponseMarshaller (ProtoUtils .marshaller (Schema .getDefaultInstance ()))
112
+ .setSampledToLocalTracing (true )
108
113
.build ();
109
114
110
115
private static final MethodDescriptor <RollbackSchemaRequest , Schema >
@@ -115,6 +120,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
115
120
.setRequestMarshaller (
116
121
ProtoUtils .marshaller (RollbackSchemaRequest .getDefaultInstance ()))
117
122
.setResponseMarshaller (ProtoUtils .marshaller (Schema .getDefaultInstance ()))
123
+ .setSampledToLocalTracing (true )
118
124
.build ();
119
125
120
126
private static final MethodDescriptor <DeleteSchemaRevisionRequest , Schema >
@@ -125,6 +131,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
125
131
.setRequestMarshaller (
126
132
ProtoUtils .marshaller (DeleteSchemaRevisionRequest .getDefaultInstance ()))
127
133
.setResponseMarshaller (ProtoUtils .marshaller (Schema .getDefaultInstance ()))
134
+ .setSampledToLocalTracing (true )
128
135
.build ();
129
136
130
137
private static final MethodDescriptor <DeleteSchemaRequest , Empty > deleteSchemaMethodDescriptor =
@@ -133,6 +140,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
133
140
.setFullMethodName ("google.pubsub.v1.SchemaService/DeleteSchema" )
134
141
.setRequestMarshaller (ProtoUtils .marshaller (DeleteSchemaRequest .getDefaultInstance ()))
135
142
.setResponseMarshaller (ProtoUtils .marshaller (Empty .getDefaultInstance ()))
143
+ .setSampledToLocalTracing (true )
136
144
.build ();
137
145
138
146
private static final MethodDescriptor <ValidateSchemaRequest , ValidateSchemaResponse >
@@ -144,6 +152,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
144
152
ProtoUtils .marshaller (ValidateSchemaRequest .getDefaultInstance ()))
145
153
.setResponseMarshaller (
146
154
ProtoUtils .marshaller (ValidateSchemaResponse .getDefaultInstance ()))
155
+ .setSampledToLocalTracing (true )
147
156
.build ();
148
157
149
158
private static final MethodDescriptor <ValidateMessageRequest , ValidateMessageResponse >
@@ -155,6 +164,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
155
164
ProtoUtils .marshaller (ValidateMessageRequest .getDefaultInstance ()))
156
165
.setResponseMarshaller (
157
166
ProtoUtils .marshaller (ValidateMessageResponse .getDefaultInstance ()))
167
+ .setSampledToLocalTracing (true )
158
168
.build ();
159
169
160
170
private static final MethodDescriptor <SetIamPolicyRequest , Policy > setIamPolicyMethodDescriptor =
@@ -163,6 +173,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
163
173
.setFullMethodName ("google.iam.v1.IAMPolicy/SetIamPolicy" )
164
174
.setRequestMarshaller (ProtoUtils .marshaller (SetIamPolicyRequest .getDefaultInstance ()))
165
175
.setResponseMarshaller (ProtoUtils .marshaller (Policy .getDefaultInstance ()))
176
+ .setSampledToLocalTracing (true )
166
177
.build ();
167
178
168
179
private static final MethodDescriptor <GetIamPolicyRequest , Policy > getIamPolicyMethodDescriptor =
@@ -171,6 +182,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
171
182
.setFullMethodName ("google.iam.v1.IAMPolicy/GetIamPolicy" )
172
183
.setRequestMarshaller (ProtoUtils .marshaller (GetIamPolicyRequest .getDefaultInstance ()))
173
184
.setResponseMarshaller (ProtoUtils .marshaller (Policy .getDefaultInstance ()))
185
+ .setSampledToLocalTracing (true )
174
186
.build ();
175
187
176
188
private static final MethodDescriptor <TestIamPermissionsRequest , TestIamPermissionsResponse >
@@ -182,6 +194,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
182
194
ProtoUtils .marshaller (TestIamPermissionsRequest .getDefaultInstance ()))
183
195
.setResponseMarshaller (
184
196
ProtoUtils .marshaller (TestIamPermissionsResponse .getDefaultInstance ()))
197
+ .setSampledToLocalTracing (true )
185
198
.build ();
186
199
187
200
private final UnaryCallable <CreateSchemaRequest , Schema > createSchemaCallable ;
0 commit comments