@@ -68,6 +68,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
6868 .setFullMethodName ("google.pubsub.v1.SchemaService/CreateSchema" )
6969 .setRequestMarshaller (ProtoUtils .marshaller (CreateSchemaRequest .getDefaultInstance ()))
7070 .setResponseMarshaller (ProtoUtils .marshaller (Schema .getDefaultInstance ()))
71+ .setSampledToLocalTracing (true )
7172 .build ();
7273
7374 private static final MethodDescriptor <GetSchemaRequest , Schema > getSchemaMethodDescriptor =
@@ -76,6 +77,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
7677 .setFullMethodName ("google.pubsub.v1.SchemaService/GetSchema" )
7778 .setRequestMarshaller (ProtoUtils .marshaller (GetSchemaRequest .getDefaultInstance ()))
7879 .setResponseMarshaller (ProtoUtils .marshaller (Schema .getDefaultInstance ()))
80+ .setSampledToLocalTracing (true )
7981 .build ();
8082
8183 private static final MethodDescriptor <ListSchemasRequest , ListSchemasResponse >
@@ -86,6 +88,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
8688 .setRequestMarshaller (ProtoUtils .marshaller (ListSchemasRequest .getDefaultInstance ()))
8789 .setResponseMarshaller (
8890 ProtoUtils .marshaller (ListSchemasResponse .getDefaultInstance ()))
91+ .setSampledToLocalTracing (true )
8992 .build ();
9093
9194 private static final MethodDescriptor <ListSchemaRevisionsRequest , ListSchemaRevisionsResponse >
@@ -97,6 +100,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
97100 ProtoUtils .marshaller (ListSchemaRevisionsRequest .getDefaultInstance ()))
98101 .setResponseMarshaller (
99102 ProtoUtils .marshaller (ListSchemaRevisionsResponse .getDefaultInstance ()))
103+ .setSampledToLocalTracing (true )
100104 .build ();
101105
102106 private static final MethodDescriptor <CommitSchemaRequest , Schema > commitSchemaMethodDescriptor =
@@ -105,6 +109,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
105109 .setFullMethodName ("google.pubsub.v1.SchemaService/CommitSchema" )
106110 .setRequestMarshaller (ProtoUtils .marshaller (CommitSchemaRequest .getDefaultInstance ()))
107111 .setResponseMarshaller (ProtoUtils .marshaller (Schema .getDefaultInstance ()))
112+ .setSampledToLocalTracing (true )
108113 .build ();
109114
110115 private static final MethodDescriptor <RollbackSchemaRequest , Schema >
@@ -115,6 +120,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
115120 .setRequestMarshaller (
116121 ProtoUtils .marshaller (RollbackSchemaRequest .getDefaultInstance ()))
117122 .setResponseMarshaller (ProtoUtils .marshaller (Schema .getDefaultInstance ()))
123+ .setSampledToLocalTracing (true )
118124 .build ();
119125
120126 private static final MethodDescriptor <DeleteSchemaRevisionRequest , Schema >
@@ -125,6 +131,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
125131 .setRequestMarshaller (
126132 ProtoUtils .marshaller (DeleteSchemaRevisionRequest .getDefaultInstance ()))
127133 .setResponseMarshaller (ProtoUtils .marshaller (Schema .getDefaultInstance ()))
134+ .setSampledToLocalTracing (true )
128135 .build ();
129136
130137 private static final MethodDescriptor <DeleteSchemaRequest , Empty > deleteSchemaMethodDescriptor =
@@ -133,6 +140,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
133140 .setFullMethodName ("google.pubsub.v1.SchemaService/DeleteSchema" )
134141 .setRequestMarshaller (ProtoUtils .marshaller (DeleteSchemaRequest .getDefaultInstance ()))
135142 .setResponseMarshaller (ProtoUtils .marshaller (Empty .getDefaultInstance ()))
143+ .setSampledToLocalTracing (true )
136144 .build ();
137145
138146 private static final MethodDescriptor <ValidateSchemaRequest , ValidateSchemaResponse >
@@ -144,6 +152,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
144152 ProtoUtils .marshaller (ValidateSchemaRequest .getDefaultInstance ()))
145153 .setResponseMarshaller (
146154 ProtoUtils .marshaller (ValidateSchemaResponse .getDefaultInstance ()))
155+ .setSampledToLocalTracing (true )
147156 .build ();
148157
149158 private static final MethodDescriptor <ValidateMessageRequest , ValidateMessageResponse >
@@ -155,6 +164,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
155164 ProtoUtils .marshaller (ValidateMessageRequest .getDefaultInstance ()))
156165 .setResponseMarshaller (
157166 ProtoUtils .marshaller (ValidateMessageResponse .getDefaultInstance ()))
167+ .setSampledToLocalTracing (true )
158168 .build ();
159169
160170 private static final MethodDescriptor <SetIamPolicyRequest , Policy > setIamPolicyMethodDescriptor =
@@ -163,6 +173,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
163173 .setFullMethodName ("google.iam.v1.IAMPolicy/SetIamPolicy" )
164174 .setRequestMarshaller (ProtoUtils .marshaller (SetIamPolicyRequest .getDefaultInstance ()))
165175 .setResponseMarshaller (ProtoUtils .marshaller (Policy .getDefaultInstance ()))
176+ .setSampledToLocalTracing (true )
166177 .build ();
167178
168179 private static final MethodDescriptor <GetIamPolicyRequest , Policy > getIamPolicyMethodDescriptor =
@@ -171,6 +182,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
171182 .setFullMethodName ("google.iam.v1.IAMPolicy/GetIamPolicy" )
172183 .setRequestMarshaller (ProtoUtils .marshaller (GetIamPolicyRequest .getDefaultInstance ()))
173184 .setResponseMarshaller (ProtoUtils .marshaller (Policy .getDefaultInstance ()))
185+ .setSampledToLocalTracing (true )
174186 .build ();
175187
176188 private static final MethodDescriptor <TestIamPermissionsRequest , TestIamPermissionsResponse >
@@ -182,6 +194,7 @@ public class GrpcSchemaServiceStub extends SchemaServiceStub {
182194 ProtoUtils .marshaller (TestIamPermissionsRequest .getDefaultInstance ()))
183195 .setResponseMarshaller (
184196 ProtoUtils .marshaller (TestIamPermissionsResponse .getDefaultInstance ()))
197+ .setSampledToLocalTracing (true )
185198 .build ();
186199
187200 private final UnaryCallable <CreateSchemaRequest , Schema > createSchemaCallable ;
0 commit comments