File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
instrumentation/grpc-1.6/src/main/java/io/opentelemetry/javaagent/instrumentation/hypertrace/grpc/v1_6 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1616
1717package io .opentelemetry .javaagent .instrumentation .hypertrace .grpc .v1_6 ;
1818
19+ import com .google .protobuf .Descriptors ;
20+ import com .google .protobuf .Message ;
1921import io .opentelemetry .api .common .AttributeKey ;
2022import io .opentelemetry .api .trace .Span ;
2123import io .opentelemetry .javaagent .instrumentation .hypertrace .com .google .protobuf .DescriptorProtos .FileDescriptorProto ;
22- import com .google .protobuf .Descriptors ;
2324import io .opentelemetry .javaagent .instrumentation .hypertrace .com .google .protobuf .Descriptors .Descriptor ;
2425import io .opentelemetry .javaagent .instrumentation .hypertrace .com .google .protobuf .Descriptors .FileDescriptor ;
2526import io .opentelemetry .javaagent .instrumentation .hypertrace .com .google .protobuf .DynamicMessage ;
26- import com .google .protobuf .Message ;
2727import io .opentelemetry .javaagent .instrumentation .hypertrace .com .google .protobuf .util .JsonFormat ;
2828
2929public class ProtobufRoundTripConverter {
@@ -50,7 +50,7 @@ public static DynamicMessage convertToRelocatedDynamicMessage(Object message) th
5050 // 3. Get the unrelocated file descriptor and its proto representation.
5151 Descriptors .FileDescriptor unrelocatedFileDescriptor = originalDescriptor .getFile ();
5252 com .google .protobuf .DescriptorProtos .FileDescriptorProto unrelocatedFileProto =
53- unrelocatedFileDescriptor .toProto ();
53+ unrelocatedFileDescriptor .toProto ();
5454 byte [] fileProtoBytes = unrelocatedFileProto .toByteArray ();
5555
5656 // 4. Parse the file descriptor proto using relocated classes.
You can’t perform that action at this time.
0 commit comments