From 477c5858dc8003217f831dcb54d06afbbbb21c6a Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Thu, 21 May 2020 17:35:12 +0700 Subject: [PATCH] update the protobuf library to google.golang.org/protobuf/proto --- go.mod | 3 +- go.sum | 19 + quictrace/pb/quic-trace.pb.go | 1910 +++++++++++++++++++++------------ quictrace/pb/quic-trace.proto | 2 + quictrace/tracer.go | 2 +- 5 files changed, 1226 insertions(+), 710 deletions(-) diff --git a/go.mod b/go.mod index 7da8f7698..23db8cc20 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/cheekybits/genny v1.0.0 github.com/francoispqt/gojay v1.2.13 github.com/golang/mock v1.4.0 - github.com/golang/protobuf v1.3.1 + github.com/golang/protobuf v1.4.0 github.com/marten-seemann/qpack v0.1.0 github.com/marten-seemann/qtls v0.9.1 github.com/onsi/ginkgo v1.11.0 @@ -14,4 +14,5 @@ require ( golang.org/x/crypto v0.0.0-20200423211502-4bdfaf469ed5 golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 golang.org/x/sync v0.0.0-20190423024810-112230192c58 + google.golang.org/protobuf v1.23.0 ) diff --git a/go.sum b/go.sum index eb0f498e6..1d90931eb 100644 --- a/go.sum +++ b/go.sum @@ -38,8 +38,18 @@ github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1 h1:YF8+flBXS5eO826T4nzqPrxfhQThhXl0YzfuUPu4SBg= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0 h1:oOuy+ugB+P/kBdUnG5QaMXSIyJ1q38wWSojYCb3z5VQ= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= @@ -175,6 +185,8 @@ golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3 golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 h1:9zdDQZ7Thm29KFXgAX/+yaf3eVbP7djjWp/dXAppNCc= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.0.0-20181030000543-1d582fd0359e/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.1.0/go.mod h1:UGEZY7KEX120AnNLIHFMKIo4obdJhkp2tPbaPlQx13Y= @@ -191,6 +203,13 @@ google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmE google.golang.org/grpc v1.16.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.23.0 h1:4MY060fB1DLGMB/7MBTLnwQUY6+F09GEiz6SsrNqyzM= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= diff --git a/quictrace/pb/quic-trace.pb.go b/quictrace/pb/quic-trace.pb.go index b83e42bab..7888aca14 100644 --- a/quictrace/pb/quic-trace.pb.go +++ b/quictrace/pb/quic-trace.pb.go @@ -1,24 +1,32 @@ +// copied from https://github.com/google/quic-trace/ +// Only changed the package name. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.11.4 // source: quic-trace.proto package pb import ( - fmt "fmt" proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type FrameType int32 @@ -37,35 +45,37 @@ const ( FrameType_CRYPTO FrameType = 11 ) -var FrameType_name = map[int32]string{ - 0: "UNKNOWN_FRAME", - 1: "STREAM", - 2: "ACK", - 3: "RESET_STREAM", - 4: "CONNECTION_CLOSE", - 5: "MAX_DATA", - 6: "MAX_STREAM_DATA", - 7: "PING", - 8: "BLOCKED", - 9: "STREAM_BLOCKED", - 10: "PADDING", - 11: "CRYPTO", -} - -var FrameType_value = map[string]int32{ - "UNKNOWN_FRAME": 0, - "STREAM": 1, - "ACK": 2, - "RESET_STREAM": 3, - "CONNECTION_CLOSE": 4, - "MAX_DATA": 5, - "MAX_STREAM_DATA": 6, - "PING": 7, - "BLOCKED": 8, - "STREAM_BLOCKED": 9, - "PADDING": 10, - "CRYPTO": 11, -} +// Enum value maps for FrameType. +var ( + FrameType_name = map[int32]string{ + 0: "UNKNOWN_FRAME", + 1: "STREAM", + 2: "ACK", + 3: "RESET_STREAM", + 4: "CONNECTION_CLOSE", + 5: "MAX_DATA", + 6: "MAX_STREAM_DATA", + 7: "PING", + 8: "BLOCKED", + 9: "STREAM_BLOCKED", + 10: "PADDING", + 11: "CRYPTO", + } + FrameType_value = map[string]int32{ + "UNKNOWN_FRAME": 0, + "STREAM": 1, + "ACK": 2, + "RESET_STREAM": 3, + "CONNECTION_CLOSE": 4, + "MAX_DATA": 5, + "MAX_STREAM_DATA": 6, + "PING": 7, + "BLOCKED": 8, + "STREAM_BLOCKED": 9, + "PADDING": 10, + "CRYPTO": 11, + } +) func (x FrameType) Enum() *FrameType { p := new(FrameType) @@ -74,20 +84,34 @@ func (x FrameType) Enum() *FrameType { } func (x FrameType) String() string { - return proto.EnumName(FrameType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (x *FrameType) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(FrameType_value, data, "FrameType") +func (FrameType) Descriptor() protoreflect.EnumDescriptor { + return file_quic_trace_proto_enumTypes[0].Descriptor() +} + +func (FrameType) Type() protoreflect.EnumType { + return &file_quic_trace_proto_enumTypes[0] +} + +func (x FrameType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *FrameType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) if err != nil { return err } - *x = FrameType(value) + *x = FrameType(num) return nil } +// Deprecated: Use FrameType.Descriptor instead. func (FrameType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{0} + return file_quic_trace_proto_rawDescGZIP(), []int{0} } // Metadata for CONNECTION_CLOSE frames. @@ -102,17 +126,19 @@ const ( CloseType_IETF_QUIC_APPLICATION_CONNECTION_CLOSE CloseType = 2 ) -var CloseType_name = map[int32]string{ - 0: "GOOGLE_QUIC_CONNECTION_CLOSE", - 1: "IETF_QUIC_TRANSPORT_CONNECTION_CLOSE", - 2: "IETF_QUIC_APPLICATION_CONNECTION_CLOSE", -} - -var CloseType_value = map[string]int32{ - "GOOGLE_QUIC_CONNECTION_CLOSE": 0, - "IETF_QUIC_TRANSPORT_CONNECTION_CLOSE": 1, - "IETF_QUIC_APPLICATION_CONNECTION_CLOSE": 2, -} +// Enum value maps for CloseType. +var ( + CloseType_name = map[int32]string{ + 0: "GOOGLE_QUIC_CONNECTION_CLOSE", + 1: "IETF_QUIC_TRANSPORT_CONNECTION_CLOSE", + 2: "IETF_QUIC_APPLICATION_CONNECTION_CLOSE", + } + CloseType_value = map[string]int32{ + "GOOGLE_QUIC_CONNECTION_CLOSE": 0, + "IETF_QUIC_TRANSPORT_CONNECTION_CLOSE": 1, + "IETF_QUIC_APPLICATION_CONNECTION_CLOSE": 2, + } +) func (x CloseType) Enum() *CloseType { p := new(CloseType) @@ -121,20 +147,34 @@ func (x CloseType) Enum() *CloseType { } func (x CloseType) String() string { - return proto.EnumName(CloseType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (x *CloseType) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(CloseType_value, data, "CloseType") +func (CloseType) Descriptor() protoreflect.EnumDescriptor { + return file_quic_trace_proto_enumTypes[1].Descriptor() +} + +func (CloseType) Type() protoreflect.EnumType { + return &file_quic_trace_proto_enumTypes[1] +} + +func (x CloseType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *CloseType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) if err != nil { return err } - *x = CloseType(value) + *x = CloseType(num) return nil } +// Deprecated: Use CloseType.Descriptor instead. func (CloseType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{1} + return file_quic_trace_proto_rawDescGZIP(), []int{1} } type EncryptionLevel int32 @@ -147,21 +187,23 @@ const ( EncryptionLevel_ENCRYPTION_HANDSHAKE EncryptionLevel = 4 ) -var EncryptionLevel_name = map[int32]string{ - 0: "ENCRYPTION_UNKNOWN", - 1: "ENCRYPTION_INITIAL", - 2: "ENCRYPTION_0RTT", - 3: "ENCRYPTION_1RTT", - 4: "ENCRYPTION_HANDSHAKE", -} - -var EncryptionLevel_value = map[string]int32{ - "ENCRYPTION_UNKNOWN": 0, - "ENCRYPTION_INITIAL": 1, - "ENCRYPTION_0RTT": 2, - "ENCRYPTION_1RTT": 3, - "ENCRYPTION_HANDSHAKE": 4, -} +// Enum value maps for EncryptionLevel. +var ( + EncryptionLevel_name = map[int32]string{ + 0: "ENCRYPTION_UNKNOWN", + 1: "ENCRYPTION_INITIAL", + 2: "ENCRYPTION_0RTT", + 3: "ENCRYPTION_1RTT", + 4: "ENCRYPTION_HANDSHAKE", + } + EncryptionLevel_value = map[string]int32{ + "ENCRYPTION_UNKNOWN": 0, + "ENCRYPTION_INITIAL": 1, + "ENCRYPTION_0RTT": 2, + "ENCRYPTION_1RTT": 3, + "ENCRYPTION_HANDSHAKE": 4, + } +) func (x EncryptionLevel) Enum() *EncryptionLevel { p := new(EncryptionLevel) @@ -170,20 +212,34 @@ func (x EncryptionLevel) Enum() *EncryptionLevel { } func (x EncryptionLevel) String() string { - return proto.EnumName(EncryptionLevel_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (x *EncryptionLevel) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(EncryptionLevel_value, data, "EncryptionLevel") +func (EncryptionLevel) Descriptor() protoreflect.EnumDescriptor { + return file_quic_trace_proto_enumTypes[2].Descriptor() +} + +func (EncryptionLevel) Type() protoreflect.EnumType { + return &file_quic_trace_proto_enumTypes[2] +} + +func (x EncryptionLevel) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *EncryptionLevel) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) if err != nil { return err } - *x = EncryptionLevel(value) + *x = EncryptionLevel(num) return nil } +// Deprecated: Use EncryptionLevel.Descriptor instead. func (EncryptionLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{2} + return file_quic_trace_proto_rawDescGZIP(), []int{2} } type EventType int32 @@ -206,23 +262,25 @@ const ( EventType_EXTERNAL_PARAMETERS EventType = 5 ) -var EventType_name = map[int32]string{ - 0: "UNKNOWN_EVENT", - 1: "PACKET_SENT", - 2: "PACKET_RECEIVED", - 3: "PACKET_LOST", - 4: "APPLICATION_LIMITED", - 5: "EXTERNAL_PARAMETERS", -} - -var EventType_value = map[string]int32{ - "UNKNOWN_EVENT": 0, - "PACKET_SENT": 1, - "PACKET_RECEIVED": 2, - "PACKET_LOST": 3, - "APPLICATION_LIMITED": 4, - "EXTERNAL_PARAMETERS": 5, -} +// Enum value maps for EventType. +var ( + EventType_name = map[int32]string{ + 0: "UNKNOWN_EVENT", + 1: "PACKET_SENT", + 2: "PACKET_RECEIVED", + 3: "PACKET_LOST", + 4: "APPLICATION_LIMITED", + 5: "EXTERNAL_PARAMETERS", + } + EventType_value = map[string]int32{ + "UNKNOWN_EVENT": 0, + "PACKET_SENT": 1, + "PACKET_RECEIVED": 2, + "PACKET_LOST": 3, + "APPLICATION_LIMITED": 4, + "EXTERNAL_PARAMETERS": 5, + } +) func (x EventType) Enum() *EventType { p := new(EventType) @@ -231,20 +289,34 @@ func (x EventType) Enum() *EventType { } func (x EventType) String() string { - return proto.EnumName(EventType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (x *EventType) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(EventType_value, data, "EventType") +func (EventType) Descriptor() protoreflect.EnumDescriptor { + return file_quic_trace_proto_enumTypes[3].Descriptor() +} + +func (EventType) Type() protoreflect.EnumType { + return &file_quic_trace_proto_enumTypes[3] +} + +func (x EventType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *EventType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) if err != nil { return err } - *x = EventType(value) + *x = EventType(num) return nil } +// Deprecated: Use EventType.Descriptor instead. func (EventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{3} + return file_quic_trace_proto_rawDescGZIP(), []int{3} } type TransmissionReason int32 @@ -267,19 +339,21 @@ const ( TransmissionReason_PROBING_TRANSMISSION TransmissionReason = 3 ) -var TransmissionReason_name = map[int32]string{ - 0: "NORMAL_TRANSMISSION", - 1: "TAIL_LOSS_PROBE", - 2: "RTO_TRANSMISSION", - 3: "PROBING_TRANSMISSION", -} - -var TransmissionReason_value = map[string]int32{ - "NORMAL_TRANSMISSION": 0, - "TAIL_LOSS_PROBE": 1, - "RTO_TRANSMISSION": 2, - "PROBING_TRANSMISSION": 3, -} +// Enum value maps for TransmissionReason. +var ( + TransmissionReason_name = map[int32]string{ + 0: "NORMAL_TRANSMISSION", + 1: "TAIL_LOSS_PROBE", + 2: "RTO_TRANSMISSION", + 3: "PROBING_TRANSMISSION", + } + TransmissionReason_value = map[string]int32{ + "NORMAL_TRANSMISSION": 0, + "TAIL_LOSS_PROBE": 1, + "RTO_TRANSMISSION": 2, + "PROBING_TRANSMISSION": 3, + } +) func (x TransmissionReason) Enum() *TransmissionReason { p := new(TransmissionReason) @@ -288,130 +362,160 @@ func (x TransmissionReason) Enum() *TransmissionReason { } func (x TransmissionReason) String() string { - return proto.EnumName(TransmissionReason_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (x *TransmissionReason) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(TransmissionReason_value, data, "TransmissionReason") +func (TransmissionReason) Descriptor() protoreflect.EnumDescriptor { + return file_quic_trace_proto_enumTypes[4].Descriptor() +} + +func (TransmissionReason) Type() protoreflect.EnumType { + return &file_quic_trace_proto_enumTypes[4] +} + +func (x TransmissionReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *TransmissionReason) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) if err != nil { return err } - *x = TransmissionReason(value) + *x = TransmissionReason(num) return nil } +// Deprecated: Use TransmissionReason.Descriptor instead. func (TransmissionReason) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{4} + return file_quic_trace_proto_rawDescGZIP(), []int{4} } // Metadata for STREAM frames. type StreamFrameInfo struct { - StreamId *uint64 `protobuf:"varint,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"` - Fin *bool `protobuf:"varint,2,opt,name=fin" json:"fin,omitempty"` - Length *uint64 `protobuf:"varint,3,opt,name=length" json:"length,omitempty"` - Offset *uint64 `protobuf:"varint,4,opt,name=offset" json:"offset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StreamId *uint64 `protobuf:"varint,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"` + Fin *bool `protobuf:"varint,2,opt,name=fin" json:"fin,omitempty"` + Length *uint64 `protobuf:"varint,3,opt,name=length" json:"length,omitempty"` + Offset *uint64 `protobuf:"varint,4,opt,name=offset" json:"offset,omitempty"` } -func (m *StreamFrameInfo) Reset() { *m = StreamFrameInfo{} } -func (m *StreamFrameInfo) String() string { return proto.CompactTextString(m) } -func (*StreamFrameInfo) ProtoMessage() {} +func (x *StreamFrameInfo) Reset() { + *x = StreamFrameInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_quic_trace_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StreamFrameInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StreamFrameInfo) ProtoMessage() {} + +func (x *StreamFrameInfo) ProtoReflect() protoreflect.Message { + mi := &file_quic_trace_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StreamFrameInfo.ProtoReflect.Descriptor instead. func (*StreamFrameInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{0} + return file_quic_trace_proto_rawDescGZIP(), []int{0} } -func (m *StreamFrameInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamFrameInfo.Unmarshal(m, b) -} -func (m *StreamFrameInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamFrameInfo.Marshal(b, m, deterministic) -} -func (m *StreamFrameInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamFrameInfo.Merge(m, src) -} -func (m *StreamFrameInfo) XXX_Size() int { - return xxx_messageInfo_StreamFrameInfo.Size(m) -} -func (m *StreamFrameInfo) XXX_DiscardUnknown() { - xxx_messageInfo_StreamFrameInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamFrameInfo proto.InternalMessageInfo - -func (m *StreamFrameInfo) GetStreamId() uint64 { - if m != nil && m.StreamId != nil { - return *m.StreamId +func (x *StreamFrameInfo) GetStreamId() uint64 { + if x != nil && x.StreamId != nil { + return *x.StreamId } return 0 } -func (m *StreamFrameInfo) GetFin() bool { - if m != nil && m.Fin != nil { - return *m.Fin +func (x *StreamFrameInfo) GetFin() bool { + if x != nil && x.Fin != nil { + return *x.Fin } return false } -func (m *StreamFrameInfo) GetLength() uint64 { - if m != nil && m.Length != nil { - return *m.Length +func (x *StreamFrameInfo) GetLength() uint64 { + if x != nil && x.Length != nil { + return *x.Length } return 0 } -func (m *StreamFrameInfo) GetOffset() uint64 { - if m != nil && m.Offset != nil { - return *m.Offset +func (x *StreamFrameInfo) GetOffset() uint64 { + if x != nil && x.Offset != nil { + return *x.Offset } return 0 } // Metadata for CRYPTO frames. type CryptoFrameInfo struct { - Length *uint64 `protobuf:"varint,1,opt,name=length" json:"length,omitempty"` - Offset *uint64 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Length *uint64 `protobuf:"varint,1,opt,name=length" json:"length,omitempty"` + Offset *uint64 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"` } -func (m *CryptoFrameInfo) Reset() { *m = CryptoFrameInfo{} } -func (m *CryptoFrameInfo) String() string { return proto.CompactTextString(m) } -func (*CryptoFrameInfo) ProtoMessage() {} +func (x *CryptoFrameInfo) Reset() { + *x = CryptoFrameInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_quic_trace_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CryptoFrameInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CryptoFrameInfo) ProtoMessage() {} + +func (x *CryptoFrameInfo) ProtoReflect() protoreflect.Message { + mi := &file_quic_trace_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CryptoFrameInfo.ProtoReflect.Descriptor instead. func (*CryptoFrameInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{1} + return file_quic_trace_proto_rawDescGZIP(), []int{1} } -func (m *CryptoFrameInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CryptoFrameInfo.Unmarshal(m, b) -} -func (m *CryptoFrameInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CryptoFrameInfo.Marshal(b, m, deterministic) -} -func (m *CryptoFrameInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CryptoFrameInfo.Merge(m, src) -} -func (m *CryptoFrameInfo) XXX_Size() int { - return xxx_messageInfo_CryptoFrameInfo.Size(m) -} -func (m *CryptoFrameInfo) XXX_DiscardUnknown() { - xxx_messageInfo_CryptoFrameInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_CryptoFrameInfo proto.InternalMessageInfo - -func (m *CryptoFrameInfo) GetLength() uint64 { - if m != nil && m.Length != nil { - return *m.Length +func (x *CryptoFrameInfo) GetLength() uint64 { + if x != nil && x.Length != nil { + return *x.Length } return 0 } -func (m *CryptoFrameInfo) GetOffset() uint64 { - if m != nil && m.Offset != nil { - return *m.Offset +func (x *CryptoFrameInfo) GetOffset() uint64 { + if x != nil && x.Offset != nil { + return *x.Offset } return 0 } @@ -419,352 +523,400 @@ func (m *CryptoFrameInfo) GetOffset() uint64 { // The intervals are closed, i.e. the interval represented here is // [first_packet, last_packet]. type AckBlock struct { - FirstPacket *uint64 `protobuf:"varint,1,opt,name=first_packet,json=firstPacket" json:"first_packet,omitempty"` - LastPacket *uint64 `protobuf:"varint,2,opt,name=last_packet,json=lastPacket" json:"last_packet,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FirstPacket *uint64 `protobuf:"varint,1,opt,name=first_packet,json=firstPacket" json:"first_packet,omitempty"` + LastPacket *uint64 `protobuf:"varint,2,opt,name=last_packet,json=lastPacket" json:"last_packet,omitempty"` } -func (m *AckBlock) Reset() { *m = AckBlock{} } -func (m *AckBlock) String() string { return proto.CompactTextString(m) } -func (*AckBlock) ProtoMessage() {} +func (x *AckBlock) Reset() { + *x = AckBlock{} + if protoimpl.UnsafeEnabled { + mi := &file_quic_trace_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AckBlock) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AckBlock) ProtoMessage() {} + +func (x *AckBlock) ProtoReflect() protoreflect.Message { + mi := &file_quic_trace_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AckBlock.ProtoReflect.Descriptor instead. func (*AckBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{2} + return file_quic_trace_proto_rawDescGZIP(), []int{2} } -func (m *AckBlock) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AckBlock.Unmarshal(m, b) -} -func (m *AckBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AckBlock.Marshal(b, m, deterministic) -} -func (m *AckBlock) XXX_Merge(src proto.Message) { - xxx_messageInfo_AckBlock.Merge(m, src) -} -func (m *AckBlock) XXX_Size() int { - return xxx_messageInfo_AckBlock.Size(m) -} -func (m *AckBlock) XXX_DiscardUnknown() { - xxx_messageInfo_AckBlock.DiscardUnknown(m) -} - -var xxx_messageInfo_AckBlock proto.InternalMessageInfo - -func (m *AckBlock) GetFirstPacket() uint64 { - if m != nil && m.FirstPacket != nil { - return *m.FirstPacket +func (x *AckBlock) GetFirstPacket() uint64 { + if x != nil && x.FirstPacket != nil { + return *x.FirstPacket } return 0 } -func (m *AckBlock) GetLastPacket() uint64 { - if m != nil && m.LastPacket != nil { - return *m.LastPacket +func (x *AckBlock) GetLastPacket() uint64 { + if x != nil && x.LastPacket != nil { + return *x.LastPacket } return 0 } // Metadata for ACK frames. type AckInfo struct { - AckedPackets []*AckBlock `protobuf:"bytes,1,rep,name=acked_packets,json=ackedPackets" json:"acked_packets,omitempty"` - AckDelayUs *uint64 `protobuf:"varint,2,opt,name=ack_delay_us,json=ackDelayUs" json:"ack_delay_us,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AckedPackets []*AckBlock `protobuf:"bytes,1,rep,name=acked_packets,json=ackedPackets" json:"acked_packets,omitempty"` + AckDelayUs *uint64 `protobuf:"varint,2,opt,name=ack_delay_us,json=ackDelayUs" json:"ack_delay_us,omitempty"` } -func (m *AckInfo) Reset() { *m = AckInfo{} } -func (m *AckInfo) String() string { return proto.CompactTextString(m) } -func (*AckInfo) ProtoMessage() {} +func (x *AckInfo) Reset() { + *x = AckInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_quic_trace_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AckInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AckInfo) ProtoMessage() {} + +func (x *AckInfo) ProtoReflect() protoreflect.Message { + mi := &file_quic_trace_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AckInfo.ProtoReflect.Descriptor instead. func (*AckInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{3} + return file_quic_trace_proto_rawDescGZIP(), []int{3} } -func (m *AckInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AckInfo.Unmarshal(m, b) -} -func (m *AckInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AckInfo.Marshal(b, m, deterministic) -} -func (m *AckInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AckInfo.Merge(m, src) -} -func (m *AckInfo) XXX_Size() int { - return xxx_messageInfo_AckInfo.Size(m) -} -func (m *AckInfo) XXX_DiscardUnknown() { - xxx_messageInfo_AckInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_AckInfo proto.InternalMessageInfo - -func (m *AckInfo) GetAckedPackets() []*AckBlock { - if m != nil { - return m.AckedPackets +func (x *AckInfo) GetAckedPackets() []*AckBlock { + if x != nil { + return x.AckedPackets } return nil } -func (m *AckInfo) GetAckDelayUs() uint64 { - if m != nil && m.AckDelayUs != nil { - return *m.AckDelayUs +func (x *AckInfo) GetAckDelayUs() uint64 { + if x != nil && x.AckDelayUs != nil { + return *x.AckDelayUs } return 0 } // Metadata for RST_STREAM frames. type ResetStreamInfo struct { - StreamId *uint64 `protobuf:"varint,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"` - ApplicationErrorCode *uint32 `protobuf:"varint,2,opt,name=application_error_code,json=applicationErrorCode" json:"application_error_code,omitempty"` - FinalOffset *uint64 `protobuf:"varint,3,opt,name=final_offset,json=finalOffset" json:"final_offset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StreamId *uint64 `protobuf:"varint,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"` + ApplicationErrorCode *uint32 `protobuf:"varint,2,opt,name=application_error_code,json=applicationErrorCode" json:"application_error_code,omitempty"` + FinalOffset *uint64 `protobuf:"varint,3,opt,name=final_offset,json=finalOffset" json:"final_offset,omitempty"` } -func (m *ResetStreamInfo) Reset() { *m = ResetStreamInfo{} } -func (m *ResetStreamInfo) String() string { return proto.CompactTextString(m) } -func (*ResetStreamInfo) ProtoMessage() {} +func (x *ResetStreamInfo) Reset() { + *x = ResetStreamInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_quic_trace_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetStreamInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetStreamInfo) ProtoMessage() {} + +func (x *ResetStreamInfo) ProtoReflect() protoreflect.Message { + mi := &file_quic_trace_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResetStreamInfo.ProtoReflect.Descriptor instead. func (*ResetStreamInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{4} + return file_quic_trace_proto_rawDescGZIP(), []int{4} } -func (m *ResetStreamInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResetStreamInfo.Unmarshal(m, b) -} -func (m *ResetStreamInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResetStreamInfo.Marshal(b, m, deterministic) -} -func (m *ResetStreamInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResetStreamInfo.Merge(m, src) -} -func (m *ResetStreamInfo) XXX_Size() int { - return xxx_messageInfo_ResetStreamInfo.Size(m) -} -func (m *ResetStreamInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ResetStreamInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ResetStreamInfo proto.InternalMessageInfo - -func (m *ResetStreamInfo) GetStreamId() uint64 { - if m != nil && m.StreamId != nil { - return *m.StreamId +func (x *ResetStreamInfo) GetStreamId() uint64 { + if x != nil && x.StreamId != nil { + return *x.StreamId } return 0 } -func (m *ResetStreamInfo) GetApplicationErrorCode() uint32 { - if m != nil && m.ApplicationErrorCode != nil { - return *m.ApplicationErrorCode +func (x *ResetStreamInfo) GetApplicationErrorCode() uint32 { + if x != nil && x.ApplicationErrorCode != nil { + return *x.ApplicationErrorCode } return 0 } -func (m *ResetStreamInfo) GetFinalOffset() uint64 { - if m != nil && m.FinalOffset != nil { - return *m.FinalOffset +func (x *ResetStreamInfo) GetFinalOffset() uint64 { + if x != nil && x.FinalOffset != nil { + return *x.FinalOffset } return 0 } // Metadata for CONNECTION_CLOSE/APPLICATION_CLOSE frames. type CloseInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ErrorCode *uint32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` ReasonPhrase *string `protobuf:"bytes,2,opt,name=reason_phrase,json=reasonPhrase" json:"reason_phrase,omitempty"` CloseType *CloseType `protobuf:"varint,3,opt,name=close_type,json=closeType,enum=pb.CloseType" json:"close_type,omitempty"` TransportCloseFrameType *uint64 `protobuf:"varint,4,opt,name=transport_close_frame_type,json=transportCloseFrameType" json:"transport_close_frame_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *CloseInfo) Reset() { *m = CloseInfo{} } -func (m *CloseInfo) String() string { return proto.CompactTextString(m) } -func (*CloseInfo) ProtoMessage() {} +func (x *CloseInfo) Reset() { + *x = CloseInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_quic_trace_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CloseInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CloseInfo) ProtoMessage() {} + +func (x *CloseInfo) ProtoReflect() protoreflect.Message { + mi := &file_quic_trace_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CloseInfo.ProtoReflect.Descriptor instead. func (*CloseInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{5} + return file_quic_trace_proto_rawDescGZIP(), []int{5} } -func (m *CloseInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloseInfo.Unmarshal(m, b) -} -func (m *CloseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloseInfo.Marshal(b, m, deterministic) -} -func (m *CloseInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloseInfo.Merge(m, src) -} -func (m *CloseInfo) XXX_Size() int { - return xxx_messageInfo_CloseInfo.Size(m) -} -func (m *CloseInfo) XXX_DiscardUnknown() { - xxx_messageInfo_CloseInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_CloseInfo proto.InternalMessageInfo - -func (m *CloseInfo) GetErrorCode() uint32 { - if m != nil && m.ErrorCode != nil { - return *m.ErrorCode +func (x *CloseInfo) GetErrorCode() uint32 { + if x != nil && x.ErrorCode != nil { + return *x.ErrorCode } return 0 } -func (m *CloseInfo) GetReasonPhrase() string { - if m != nil && m.ReasonPhrase != nil { - return *m.ReasonPhrase +func (x *CloseInfo) GetReasonPhrase() string { + if x != nil && x.ReasonPhrase != nil { + return *x.ReasonPhrase } return "" } -func (m *CloseInfo) GetCloseType() CloseType { - if m != nil && m.CloseType != nil { - return *m.CloseType +func (x *CloseInfo) GetCloseType() CloseType { + if x != nil && x.CloseType != nil { + return *x.CloseType } return CloseType_GOOGLE_QUIC_CONNECTION_CLOSE } -func (m *CloseInfo) GetTransportCloseFrameType() uint64 { - if m != nil && m.TransportCloseFrameType != nil { - return *m.TransportCloseFrameType +func (x *CloseInfo) GetTransportCloseFrameType() uint64 { + if x != nil && x.TransportCloseFrameType != nil { + return *x.TransportCloseFrameType } return 0 } // Metadata for MAX_DATA/MAX_STREAM_DATA frames. type FlowControlInfo struct { - MaxData *uint64 `protobuf:"varint,1,opt,name=max_data,json=maxData" json:"max_data,omitempty"` - StreamId *uint64 `protobuf:"varint,2,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MaxData *uint64 `protobuf:"varint,1,opt,name=max_data,json=maxData" json:"max_data,omitempty"` + StreamId *uint64 `protobuf:"varint,2,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"` } -func (m *FlowControlInfo) Reset() { *m = FlowControlInfo{} } -func (m *FlowControlInfo) String() string { return proto.CompactTextString(m) } -func (*FlowControlInfo) ProtoMessage() {} +func (x *FlowControlInfo) Reset() { + *x = FlowControlInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_quic_trace_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FlowControlInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FlowControlInfo) ProtoMessage() {} + +func (x *FlowControlInfo) ProtoReflect() protoreflect.Message { + mi := &file_quic_trace_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FlowControlInfo.ProtoReflect.Descriptor instead. func (*FlowControlInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{6} + return file_quic_trace_proto_rawDescGZIP(), []int{6} } -func (m *FlowControlInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FlowControlInfo.Unmarshal(m, b) -} -func (m *FlowControlInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FlowControlInfo.Marshal(b, m, deterministic) -} -func (m *FlowControlInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_FlowControlInfo.Merge(m, src) -} -func (m *FlowControlInfo) XXX_Size() int { - return xxx_messageInfo_FlowControlInfo.Size(m) -} -func (m *FlowControlInfo) XXX_DiscardUnknown() { - xxx_messageInfo_FlowControlInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_FlowControlInfo proto.InternalMessageInfo - -func (m *FlowControlInfo) GetMaxData() uint64 { - if m != nil && m.MaxData != nil { - return *m.MaxData +func (x *FlowControlInfo) GetMaxData() uint64 { + if x != nil && x.MaxData != nil { + return *x.MaxData } return 0 } -func (m *FlowControlInfo) GetStreamId() uint64 { - if m != nil && m.StreamId != nil { - return *m.StreamId +func (x *FlowControlInfo) GetStreamId() uint64 { + if x != nil && x.StreamId != nil { + return *x.StreamId } return 0 } // A message representing a frame, either sent or received. type Frame struct { - FrameType *FrameType `protobuf:"varint,1,opt,name=frame_type,json=frameType,enum=pb.FrameType" json:"frame_type,omitempty"` - StreamFrameInfo *StreamFrameInfo `protobuf:"bytes,2,opt,name=stream_frame_info,json=streamFrameInfo" json:"stream_frame_info,omitempty"` - AckInfo *AckInfo `protobuf:"bytes,3,opt,name=ack_info,json=ackInfo" json:"ack_info,omitempty"` - ResetStreamInfo *ResetStreamInfo `protobuf:"bytes,4,opt,name=reset_stream_info,json=resetStreamInfo" json:"reset_stream_info,omitempty"` - CloseInfo *CloseInfo `protobuf:"bytes,5,opt,name=close_info,json=closeInfo" json:"close_info,omitempty"` - FlowControlInfo *FlowControlInfo `protobuf:"bytes,6,opt,name=flow_control_info,json=flowControlInfo" json:"flow_control_info,omitempty"` - CryptoFrameInfo *CryptoFrameInfo `protobuf:"bytes,7,opt,name=crypto_frame_info,json=cryptoFrameInfo" json:"crypto_frame_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FrameType *FrameType `protobuf:"varint,1,opt,name=frame_type,json=frameType,enum=pb.FrameType" json:"frame_type,omitempty"` + StreamFrameInfo *StreamFrameInfo `protobuf:"bytes,2,opt,name=stream_frame_info,json=streamFrameInfo" json:"stream_frame_info,omitempty"` + AckInfo *AckInfo `protobuf:"bytes,3,opt,name=ack_info,json=ackInfo" json:"ack_info,omitempty"` + ResetStreamInfo *ResetStreamInfo `protobuf:"bytes,4,opt,name=reset_stream_info,json=resetStreamInfo" json:"reset_stream_info,omitempty"` + CloseInfo *CloseInfo `protobuf:"bytes,5,opt,name=close_info,json=closeInfo" json:"close_info,omitempty"` + FlowControlInfo *FlowControlInfo `protobuf:"bytes,6,opt,name=flow_control_info,json=flowControlInfo" json:"flow_control_info,omitempty"` + CryptoFrameInfo *CryptoFrameInfo `protobuf:"bytes,7,opt,name=crypto_frame_info,json=cryptoFrameInfo" json:"crypto_frame_info,omitempty"` } -func (m *Frame) Reset() { *m = Frame{} } -func (m *Frame) String() string { return proto.CompactTextString(m) } -func (*Frame) ProtoMessage() {} +func (x *Frame) Reset() { + *x = Frame{} + if protoimpl.UnsafeEnabled { + mi := &file_quic_trace_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Frame) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Frame) ProtoMessage() {} + +func (x *Frame) ProtoReflect() protoreflect.Message { + mi := &file_quic_trace_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Frame.ProtoReflect.Descriptor instead. func (*Frame) Descriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{7} + return file_quic_trace_proto_rawDescGZIP(), []int{7} } -func (m *Frame) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Frame.Unmarshal(m, b) -} -func (m *Frame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Frame.Marshal(b, m, deterministic) -} -func (m *Frame) XXX_Merge(src proto.Message) { - xxx_messageInfo_Frame.Merge(m, src) -} -func (m *Frame) XXX_Size() int { - return xxx_messageInfo_Frame.Size(m) -} -func (m *Frame) XXX_DiscardUnknown() { - xxx_messageInfo_Frame.DiscardUnknown(m) -} - -var xxx_messageInfo_Frame proto.InternalMessageInfo - -func (m *Frame) GetFrameType() FrameType { - if m != nil && m.FrameType != nil { - return *m.FrameType +func (x *Frame) GetFrameType() FrameType { + if x != nil && x.FrameType != nil { + return *x.FrameType } return FrameType_UNKNOWN_FRAME } -func (m *Frame) GetStreamFrameInfo() *StreamFrameInfo { - if m != nil { - return m.StreamFrameInfo +func (x *Frame) GetStreamFrameInfo() *StreamFrameInfo { + if x != nil { + return x.StreamFrameInfo } return nil } -func (m *Frame) GetAckInfo() *AckInfo { - if m != nil { - return m.AckInfo +func (x *Frame) GetAckInfo() *AckInfo { + if x != nil { + return x.AckInfo } return nil } -func (m *Frame) GetResetStreamInfo() *ResetStreamInfo { - if m != nil { - return m.ResetStreamInfo +func (x *Frame) GetResetStreamInfo() *ResetStreamInfo { + if x != nil { + return x.ResetStreamInfo } return nil } -func (m *Frame) GetCloseInfo() *CloseInfo { - if m != nil { - return m.CloseInfo +func (x *Frame) GetCloseInfo() *CloseInfo { + if x != nil { + return x.CloseInfo } return nil } -func (m *Frame) GetFlowControlInfo() *FlowControlInfo { - if m != nil { - return m.FlowControlInfo +func (x *Frame) GetFlowControlInfo() *FlowControlInfo { + if x != nil { + return x.FlowControlInfo } return nil } -func (m *Frame) GetCryptoFrameInfo() *CryptoFrameInfo { - if m != nil { - return m.CryptoFrameInfo +func (x *Frame) GetCryptoFrameInfo() *CryptoFrameInfo { + if x != nil { + return x.CryptoFrameInfo } return nil } @@ -772,6 +924,10 @@ func (m *Frame) GetCryptoFrameInfo() *CryptoFrameInfo { // Metadata that represents transport stack's understanding of the current state // of the transport channel. type TransportState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + MinRttUs *uint64 `protobuf:"varint,1,opt,name=min_rtt_us,json=minRttUs" json:"min_rtt_us,omitempty"` // Smoothed RTT, usually computed using EWMA. SmoothedRttUs *uint64 `protobuf:"varint,2,opt,name=smoothed_rtt_us,json=smoothedRttUs" json:"smoothed_rtt_us,omitempty"` @@ -783,82 +939,86 @@ type TransportState struct { PacingRateBps *uint64 `protobuf:"varint,6,opt,name=pacing_rate_bps,json=pacingRateBps" json:"pacing_rate_bps,omitempty"` // Any arbitrary information about congestion control state that is not // representable via parameters above. - CongestionControlState *string `protobuf:"bytes,7,opt,name=congestion_control_state,json=congestionControlState" json:"congestion_control_state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + CongestionControlState *string `protobuf:"bytes,7,opt,name=congestion_control_state,json=congestionControlState" json:"congestion_control_state,omitempty"` } -func (m *TransportState) Reset() { *m = TransportState{} } -func (m *TransportState) String() string { return proto.CompactTextString(m) } -func (*TransportState) ProtoMessage() {} +func (x *TransportState) Reset() { + *x = TransportState{} + if protoimpl.UnsafeEnabled { + mi := &file_quic_trace_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransportState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransportState) ProtoMessage() {} + +func (x *TransportState) ProtoReflect() protoreflect.Message { + mi := &file_quic_trace_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransportState.ProtoReflect.Descriptor instead. func (*TransportState) Descriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{8} + return file_quic_trace_proto_rawDescGZIP(), []int{8} } -func (m *TransportState) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransportState.Unmarshal(m, b) -} -func (m *TransportState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransportState.Marshal(b, m, deterministic) -} -func (m *TransportState) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransportState.Merge(m, src) -} -func (m *TransportState) XXX_Size() int { - return xxx_messageInfo_TransportState.Size(m) -} -func (m *TransportState) XXX_DiscardUnknown() { - xxx_messageInfo_TransportState.DiscardUnknown(m) -} - -var xxx_messageInfo_TransportState proto.InternalMessageInfo - -func (m *TransportState) GetMinRttUs() uint64 { - if m != nil && m.MinRttUs != nil { - return *m.MinRttUs +func (x *TransportState) GetMinRttUs() uint64 { + if x != nil && x.MinRttUs != nil { + return *x.MinRttUs } return 0 } -func (m *TransportState) GetSmoothedRttUs() uint64 { - if m != nil && m.SmoothedRttUs != nil { - return *m.SmoothedRttUs +func (x *TransportState) GetSmoothedRttUs() uint64 { + if x != nil && x.SmoothedRttUs != nil { + return *x.SmoothedRttUs } return 0 } -func (m *TransportState) GetLastRttUs() uint64 { - if m != nil && m.LastRttUs != nil { - return *m.LastRttUs +func (x *TransportState) GetLastRttUs() uint64 { + if x != nil && x.LastRttUs != nil { + return *x.LastRttUs } return 0 } -func (m *TransportState) GetInFlightBytes() uint64 { - if m != nil && m.InFlightBytes != nil { - return *m.InFlightBytes +func (x *TransportState) GetInFlightBytes() uint64 { + if x != nil && x.InFlightBytes != nil { + return *x.InFlightBytes } return 0 } -func (m *TransportState) GetCwndBytes() uint64 { - if m != nil && m.CwndBytes != nil { - return *m.CwndBytes +func (x *TransportState) GetCwndBytes() uint64 { + if x != nil && x.CwndBytes != nil { + return *x.CwndBytes } return 0 } -func (m *TransportState) GetPacingRateBps() uint64 { - if m != nil && m.PacingRateBps != nil { - return *m.PacingRateBps +func (x *TransportState) GetPacingRateBps() uint64 { + if x != nil && x.PacingRateBps != nil { + return *x.PacingRateBps } return 0 } -func (m *TransportState) GetCongestionControlState() string { - if m != nil && m.CongestionControlState != nil { - return *m.CongestionControlState +func (x *TransportState) GetCongestionControlState() string { + if x != nil && x.CongestionControlState != nil { + return *x.CongestionControlState } return "" } @@ -868,62 +1028,74 @@ func (m *TransportState) GetCongestionControlState() string { // can infer the suggested CWND), but there are no restrictions on which fields // may or may not be set. type ExternalNetworkParameters struct { - BandwidthBps *uint64 `protobuf:"varint,1,opt,name=bandwidth_bps,json=bandwidthBps" json:"bandwidth_bps,omitempty"` - RttUs *uint64 `protobuf:"varint,2,opt,name=rtt_us,json=rttUs" json:"rtt_us,omitempty"` - CwndBytes *uint64 `protobuf:"varint,3,opt,name=cwnd_bytes,json=cwndBytes" json:"cwnd_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BandwidthBps *uint64 `protobuf:"varint,1,opt,name=bandwidth_bps,json=bandwidthBps" json:"bandwidth_bps,omitempty"` // in bits per second + RttUs *uint64 `protobuf:"varint,2,opt,name=rtt_us,json=rttUs" json:"rtt_us,omitempty"` + CwndBytes *uint64 `protobuf:"varint,3,opt,name=cwnd_bytes,json=cwndBytes" json:"cwnd_bytes,omitempty"` } -func (m *ExternalNetworkParameters) Reset() { *m = ExternalNetworkParameters{} } -func (m *ExternalNetworkParameters) String() string { return proto.CompactTextString(m) } -func (*ExternalNetworkParameters) ProtoMessage() {} +func (x *ExternalNetworkParameters) Reset() { + *x = ExternalNetworkParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_quic_trace_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExternalNetworkParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExternalNetworkParameters) ProtoMessage() {} + +func (x *ExternalNetworkParameters) ProtoReflect() protoreflect.Message { + mi := &file_quic_trace_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExternalNetworkParameters.ProtoReflect.Descriptor instead. func (*ExternalNetworkParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{9} + return file_quic_trace_proto_rawDescGZIP(), []int{9} } -func (m *ExternalNetworkParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExternalNetworkParameters.Unmarshal(m, b) -} -func (m *ExternalNetworkParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExternalNetworkParameters.Marshal(b, m, deterministic) -} -func (m *ExternalNetworkParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExternalNetworkParameters.Merge(m, src) -} -func (m *ExternalNetworkParameters) XXX_Size() int { - return xxx_messageInfo_ExternalNetworkParameters.Size(m) -} -func (m *ExternalNetworkParameters) XXX_DiscardUnknown() { - xxx_messageInfo_ExternalNetworkParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_ExternalNetworkParameters proto.InternalMessageInfo - -func (m *ExternalNetworkParameters) GetBandwidthBps() uint64 { - if m != nil && m.BandwidthBps != nil { - return *m.BandwidthBps +func (x *ExternalNetworkParameters) GetBandwidthBps() uint64 { + if x != nil && x.BandwidthBps != nil { + return *x.BandwidthBps } return 0 } -func (m *ExternalNetworkParameters) GetRttUs() uint64 { - if m != nil && m.RttUs != nil { - return *m.RttUs +func (x *ExternalNetworkParameters) GetRttUs() uint64 { + if x != nil && x.RttUs != nil { + return *x.RttUs } return 0 } -func (m *ExternalNetworkParameters) GetCwndBytes() uint64 { - if m != nil && m.CwndBytes != nil { - return *m.CwndBytes +func (x *ExternalNetworkParameters) GetCwndBytes() uint64 { + if x != nil && x.CwndBytes != nil { + return *x.CwndBytes } return 0 } // An event that has occurred over duration of the connection. type Event struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + TimeUs *uint64 `protobuf:"varint,1,opt,name=time_us,json=timeUs" json:"time_us,omitempty"` EventType *EventType `protobuf:"varint,2,opt,name=event_type,json=eventType,enum=pb.EventType" json:"event_type,omitempty"` PacketNumber *uint64 `protobuf:"varint,3,opt,name=packet_number,json=packetNumber" json:"packet_number,omitempty"` @@ -936,103 +1108,114 @@ type Event struct { ExternalNetworkParameters *ExternalNetworkParameters `protobuf:"bytes,8,opt,name=external_network_parameters,json=externalNetworkParameters" json:"external_network_parameters,omitempty"` // For sent packets, indicate if there is a special reason for why the packet // in question was transmitted. - TransmissionReason *TransmissionReason `protobuf:"varint,9,opt,name=transmission_reason,json=transmissionReason,enum=pb.TransmissionReason,def=0" json:"transmission_reason,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TransmissionReason *TransmissionReason `protobuf:"varint,9,opt,name=transmission_reason,json=transmissionReason,enum=pb.TransmissionReason,def=0" json:"transmission_reason,omitempty"` } -func (m *Event) Reset() { *m = Event{} } -func (m *Event) String() string { return proto.CompactTextString(m) } -func (*Event) ProtoMessage() {} +// Default values for Event fields. +const ( + Default_Event_TransmissionReason = TransmissionReason_NORMAL_TRANSMISSION +) + +func (x *Event) Reset() { + *x = Event{} + if protoimpl.UnsafeEnabled { + mi := &file_quic_trace_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Event) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Event) ProtoMessage() {} + +func (x *Event) ProtoReflect() protoreflect.Message { + mi := &file_quic_trace_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Event.ProtoReflect.Descriptor instead. func (*Event) Descriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{10} + return file_quic_trace_proto_rawDescGZIP(), []int{10} } -func (m *Event) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Event.Unmarshal(m, b) -} -func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Event.Marshal(b, m, deterministic) -} -func (m *Event) XXX_Merge(src proto.Message) { - xxx_messageInfo_Event.Merge(m, src) -} -func (m *Event) XXX_Size() int { - return xxx_messageInfo_Event.Size(m) -} -func (m *Event) XXX_DiscardUnknown() { - xxx_messageInfo_Event.DiscardUnknown(m) -} - -var xxx_messageInfo_Event proto.InternalMessageInfo - -const Default_Event_TransmissionReason TransmissionReason = TransmissionReason_NORMAL_TRANSMISSION - -func (m *Event) GetTimeUs() uint64 { - if m != nil && m.TimeUs != nil { - return *m.TimeUs +func (x *Event) GetTimeUs() uint64 { + if x != nil && x.TimeUs != nil { + return *x.TimeUs } return 0 } -func (m *Event) GetEventType() EventType { - if m != nil && m.EventType != nil { - return *m.EventType +func (x *Event) GetEventType() EventType { + if x != nil && x.EventType != nil { + return *x.EventType } return EventType_UNKNOWN_EVENT } -func (m *Event) GetPacketNumber() uint64 { - if m != nil && m.PacketNumber != nil { - return *m.PacketNumber +func (x *Event) GetPacketNumber() uint64 { + if x != nil && x.PacketNumber != nil { + return *x.PacketNumber } return 0 } -func (m *Event) GetFrames() []*Frame { - if m != nil { - return m.Frames +func (x *Event) GetFrames() []*Frame { + if x != nil { + return x.Frames } return nil } -func (m *Event) GetPacketSize() uint64 { - if m != nil && m.PacketSize != nil { - return *m.PacketSize +func (x *Event) GetPacketSize() uint64 { + if x != nil && x.PacketSize != nil { + return *x.PacketSize } return 0 } -func (m *Event) GetEncryptionLevel() EncryptionLevel { - if m != nil && m.EncryptionLevel != nil { - return *m.EncryptionLevel +func (x *Event) GetEncryptionLevel() EncryptionLevel { + if x != nil && x.EncryptionLevel != nil { + return *x.EncryptionLevel } return EncryptionLevel_ENCRYPTION_UNKNOWN } -func (m *Event) GetTransportState() *TransportState { - if m != nil { - return m.TransportState +func (x *Event) GetTransportState() *TransportState { + if x != nil { + return x.TransportState } return nil } -func (m *Event) GetExternalNetworkParameters() *ExternalNetworkParameters { - if m != nil { - return m.ExternalNetworkParameters +func (x *Event) GetExternalNetworkParameters() *ExternalNetworkParameters { + if x != nil { + return x.ExternalNetworkParameters } return nil } -func (m *Event) GetTransmissionReason() TransmissionReason { - if m != nil && m.TransmissionReason != nil { - return *m.TransmissionReason +func (x *Event) GetTransmissionReason() TransmissionReason { + if x != nil && x.TransmissionReason != nil { + return *x.TransmissionReason } return Default_Event_TransmissionReason } type Trace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // QUIC version tag, as represented on wire. Should be always 4 bytes long. ProtocolVersion []byte `protobuf:"bytes,1,opt,name=protocol_version,json=protocolVersion" json:"protocol_version,omitempty"` // Source and destination connection ID. If multiple connection IDs are used, @@ -1040,176 +1223,487 @@ type Trace struct { SourceConnectionId []byte `protobuf:"bytes,2,opt,name=source_connection_id,json=sourceConnectionId" json:"source_connection_id,omitempty"` DestinationConnectionId []byte `protobuf:"bytes,3,opt,name=destination_connection_id,json=destinationConnectionId" json:"destination_connection_id,omitempty"` Events []*Event `protobuf:"bytes,4,rep,name=events" json:"events,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *Trace) Reset() { *m = Trace{} } -func (m *Trace) String() string { return proto.CompactTextString(m) } -func (*Trace) ProtoMessage() {} +func (x *Trace) Reset() { + *x = Trace{} + if protoimpl.UnsafeEnabled { + mi := &file_quic_trace_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Trace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Trace) ProtoMessage() {} + +func (x *Trace) ProtoReflect() protoreflect.Message { + mi := &file_quic_trace_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Trace.ProtoReflect.Descriptor instead. func (*Trace) Descriptor() ([]byte, []int) { - return fileDescriptor_79ecf15e0416742d, []int{11} + return file_quic_trace_proto_rawDescGZIP(), []int{11} } -func (m *Trace) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Trace.Unmarshal(m, b) -} -func (m *Trace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Trace.Marshal(b, m, deterministic) -} -func (m *Trace) XXX_Merge(src proto.Message) { - xxx_messageInfo_Trace.Merge(m, src) -} -func (m *Trace) XXX_Size() int { - return xxx_messageInfo_Trace.Size(m) -} -func (m *Trace) XXX_DiscardUnknown() { - xxx_messageInfo_Trace.DiscardUnknown(m) -} - -var xxx_messageInfo_Trace proto.InternalMessageInfo - -func (m *Trace) GetProtocolVersion() []byte { - if m != nil { - return m.ProtocolVersion +func (x *Trace) GetProtocolVersion() []byte { + if x != nil { + return x.ProtocolVersion } return nil } -func (m *Trace) GetSourceConnectionId() []byte { - if m != nil { - return m.SourceConnectionId +func (x *Trace) GetSourceConnectionId() []byte { + if x != nil { + return x.SourceConnectionId } return nil } -func (m *Trace) GetDestinationConnectionId() []byte { - if m != nil { - return m.DestinationConnectionId +func (x *Trace) GetDestinationConnectionId() []byte { + if x != nil { + return x.DestinationConnectionId } return nil } -func (m *Trace) GetEvents() []*Event { - if m != nil { - return m.Events +func (x *Trace) GetEvents() []*Event { + if x != nil { + return x.Events } return nil } -func init() { - proto.RegisterEnum("pb.FrameType", FrameType_name, FrameType_value) - proto.RegisterEnum("pb.CloseType", CloseType_name, CloseType_value) - proto.RegisterEnum("pb.EncryptionLevel", EncryptionLevel_name, EncryptionLevel_value) - proto.RegisterEnum("pb.EventType", EventType_name, EventType_value) - proto.RegisterEnum("pb.TransmissionReason", TransmissionReason_name, TransmissionReason_value) - proto.RegisterType((*StreamFrameInfo)(nil), "pb.StreamFrameInfo") - proto.RegisterType((*CryptoFrameInfo)(nil), "pb.CryptoFrameInfo") - proto.RegisterType((*AckBlock)(nil), "pb.AckBlock") - proto.RegisterType((*AckInfo)(nil), "pb.AckInfo") - proto.RegisterType((*ResetStreamInfo)(nil), "pb.ResetStreamInfo") - proto.RegisterType((*CloseInfo)(nil), "pb.CloseInfo") - proto.RegisterType((*FlowControlInfo)(nil), "pb.FlowControlInfo") - proto.RegisterType((*Frame)(nil), "pb.Frame") - proto.RegisterType((*TransportState)(nil), "pb.TransportState") - proto.RegisterType((*ExternalNetworkParameters)(nil), "pb.ExternalNetworkParameters") - proto.RegisterType((*Event)(nil), "pb.Event") - proto.RegisterType((*Trace)(nil), "pb.Trace") +var File_quic_trace_proto protoreflect.FileDescriptor + +var file_quic_trace_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x71, 0x75, 0x69, 0x63, 0x2d, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x70, 0x0a, 0x0f, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x46, 0x72, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x69, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x03, 0x66, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, + 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, + 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x41, 0x0a, 0x0f, 0x43, 0x72, 0x79, 0x70, + 0x74, 0x6f, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x6c, + 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6c, 0x65, 0x6e, + 0x67, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x4e, 0x0a, 0x08, 0x41, + 0x63, 0x6b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, + 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x66, + 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x61, + 0x73, 0x74, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x22, 0x5e, 0x0a, 0x07, 0x41, + 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x0d, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, + 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, + 0x70, 0x62, 0x2e, 0x41, 0x63, 0x6b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x0c, 0x61, 0x63, 0x6b, + 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x20, 0x0a, 0x0c, 0x61, 0x63, 0x6b, + 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0a, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x55, 0x73, 0x22, 0x87, 0x01, 0x0a, 0x0f, + 0x52, 0x65, 0x73, 0x65, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x16, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, + 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x66, 0x66, 0x73, + 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x4f, + 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0xba, 0x01, 0x0a, 0x09, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, + 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x5f, 0x70, 0x68, 0x72, + 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x0a, 0x63, 0x6c, 0x6f, 0x73, 0x65, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x70, 0x62, + 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x6c, 0x6f, 0x73, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x1a, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, + 0x72, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x22, 0x49, 0x0a, 0x0f, 0x46, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x44, 0x61, 0x74, 0x61, + 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x22, 0x8f, 0x03, + 0x0a, 0x05, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x0a, 0x66, 0x72, 0x61, 0x6d, 0x65, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x70, 0x62, + 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x66, 0x72, 0x61, 0x6d, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x11, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, + 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x46, 0x72, 0x61, 0x6d, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x46, 0x72, 0x61, + 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x0a, 0x08, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x63, + 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3f, + 0x0a, 0x11, 0x72, 0x65, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x52, + 0x65, 0x73, 0x65, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, + 0x72, 0x65, 0x73, 0x65, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x2c, 0x0a, 0x0a, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x09, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3f, 0x0a, + 0x11, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x6c, + 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x66, + 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3f, + 0x0a, 0x11, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x43, + 0x72, 0x79, 0x70, 0x74, 0x6f, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, + 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, + 0x9f, 0x02, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x74, 0x74, 0x5f, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x52, 0x74, 0x74, 0x55, 0x73, + 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x6d, 0x6f, 0x6f, 0x74, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x74, 0x74, + 0x5f, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x6d, 0x6f, 0x6f, 0x74, + 0x68, 0x65, 0x64, 0x52, 0x74, 0x74, 0x55, 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, + 0x5f, 0x72, 0x74, 0x74, 0x5f, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6c, + 0x61, 0x73, 0x74, 0x52, 0x74, 0x74, 0x55, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x6e, 0x5f, 0x66, + 0x6c, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0d, 0x69, 0x6e, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, + 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x77, 0x6e, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x77, 0x6e, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, + 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x62, + 0x70, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x70, 0x61, 0x63, 0x69, 0x6e, 0x67, + 0x52, 0x61, 0x74, 0x65, 0x42, 0x70, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x63, 0x6f, 0x6e, 0x67, 0x65, + 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x67, 0x65, + 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x22, 0x76, 0x0a, 0x19, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x23, + 0x0a, 0x0d, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x5f, 0x62, 0x70, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, + 0x42, 0x70, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x74, 0x74, 0x5f, 0x75, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x05, 0x72, 0x74, 0x74, 0x55, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x77, + 0x6e, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, + 0x63, 0x77, 0x6e, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0xf1, 0x03, 0x0a, 0x05, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x73, 0x12, 0x2c, 0x0a, 0x0a, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x61, + 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, + 0x21, 0x0a, 0x06, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x06, 0x66, 0x72, 0x61, 0x6d, + 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x3e, 0x0a, 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, + 0x70, 0x62, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x52, 0x0f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x12, 0x3b, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, + 0x62, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x5d, 0x0a, 0x1b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x52, 0x19, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, + 0x5c, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, + 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, + 0x62, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x3a, 0x13, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x5f, 0x54, 0x52, 0x41, + 0x4e, 0x53, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xc3, 0x01, + 0x0a, 0x05, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x12, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x17, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x12, 0x21, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x73, 0x2a, 0xc2, 0x01, 0x0a, 0x09, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x46, 0x52, 0x41, + 0x4d, 0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x10, 0x01, + 0x12, 0x07, 0x0a, 0x03, 0x41, 0x43, 0x4b, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x53, + 0x45, 0x54, 0x5f, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x43, + 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, + 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x41, 0x58, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, 0x05, 0x12, + 0x13, 0x0a, 0x0f, 0x4d, 0x41, 0x58, 0x5f, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x5f, 0x44, 0x41, + 0x54, 0x41, 0x10, 0x06, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x49, 0x4e, 0x47, 0x10, 0x07, 0x12, 0x0b, + 0x0a, 0x07, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x53, + 0x54, 0x52, 0x45, 0x41, 0x4d, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x09, 0x12, + 0x0b, 0x0a, 0x07, 0x50, 0x41, 0x44, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x0a, 0x12, 0x0a, 0x0a, 0x06, + 0x43, 0x52, 0x59, 0x50, 0x54, 0x4f, 0x10, 0x0b, 0x2a, 0x83, 0x01, 0x0a, 0x09, 0x43, 0x6c, 0x6f, + 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x47, 0x4f, 0x4f, 0x47, 0x4c, 0x45, + 0x5f, 0x51, 0x55, 0x49, 0x43, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0x00, 0x12, 0x28, 0x0a, 0x24, 0x49, 0x45, 0x54, 0x46, + 0x5f, 0x51, 0x55, 0x49, 0x43, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, + 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, + 0x10, 0x01, 0x12, 0x2a, 0x0a, 0x26, 0x49, 0x45, 0x54, 0x46, 0x5f, 0x51, 0x55, 0x49, 0x43, 0x5f, + 0x41, 0x50, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, + 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0x02, 0x2a, 0x85, + 0x01, 0x0a, 0x0f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x12, 0x16, 0x0a, 0x12, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x45, 0x4e, + 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, + 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x30, 0x52, 0x54, 0x54, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x4e, 0x43, 0x52, 0x59, + 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x31, 0x52, 0x54, 0x54, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, + 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x48, 0x41, 0x4e, 0x44, 0x53, + 0x48, 0x41, 0x4b, 0x45, 0x10, 0x04, 0x2a, 0x87, 0x01, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, + 0x45, 0x56, 0x45, 0x4e, 0x54, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x41, 0x43, 0x4b, 0x45, + 0x54, 0x5f, 0x53, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x41, 0x43, 0x4b, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0f, 0x0a, + 0x0b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x4c, 0x4f, 0x53, 0x54, 0x10, 0x03, 0x12, 0x17, + 0x0a, 0x13, 0x41, 0x50, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4c, 0x49, + 0x4d, 0x49, 0x54, 0x45, 0x44, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x58, 0x54, 0x45, 0x52, + 0x4e, 0x41, 0x4c, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x45, 0x54, 0x45, 0x52, 0x53, 0x10, 0x05, + 0x2a, 0x72, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x13, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, + 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x00, 0x12, + 0x13, 0x0a, 0x0f, 0x54, 0x41, 0x49, 0x4c, 0x5f, 0x4c, 0x4f, 0x53, 0x53, 0x5f, 0x50, 0x52, 0x4f, + 0x42, 0x45, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x54, 0x4f, 0x5f, 0x54, 0x52, 0x41, 0x4e, + 0x53, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, + 0x4f, 0x42, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x4d, 0x49, 0x53, 0x53, 0x49, + 0x4f, 0x4e, 0x10, 0x03, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, } -func init() { proto.RegisterFile("quic-trace.proto", fileDescriptor_79ecf15e0416742d) } +var ( + file_quic_trace_proto_rawDescOnce sync.Once + file_quic_trace_proto_rawDescData = file_quic_trace_proto_rawDesc +) -var fileDescriptor_79ecf15e0416742d = []byte{ - // 1432 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x56, 0xdd, 0x6e, 0xe3, 0x44, - 0x14, 0xae, 0xf3, 0x9f, 0x93, 0xa4, 0x76, 0xa7, 0xa5, 0x4d, 0xd9, 0x5d, 0xe8, 0x06, 0x54, 0x95, - 0x0a, 0x56, 0xbb, 0x15, 0x17, 0x68, 0x57, 0x62, 0xe5, 0x26, 0x6e, 0xd7, 0x6a, 0x6a, 0x87, 0x89, - 0xbb, 0x2c, 0x12, 0x30, 0x72, 0x9d, 0x49, 0x6b, 0xd5, 0xb1, 0x8d, 0x3d, 0x6d, 0xb7, 0x7b, 0x8b, - 0xd0, 0x5e, 0xf2, 0x08, 0xbc, 0x07, 0x97, 0xf0, 0x44, 0xbc, 0x01, 0x9a, 0x19, 0x3b, 0x7f, 0x65, - 0xc5, 0x9d, 0xe7, 0x3b, 0xdf, 0xf9, 0x99, 0xef, 0x9c, 0x33, 0x09, 0x68, 0xbf, 0x5c, 0xfb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x7c, 0xd7, 0xbb, 0xea, 0x71, 0xe8, 0x2c, 0xed, 0xbc, 0x57, - 0x40, 0xc5, 0x34, 0xa5, 0x4c, 0x4a, 0xfd, 0xff, 0x2a, 0x7f, 0x0d, 0x9b, 0x6e, 0x1c, 0x07, 0xbe, - 0xe7, 0x32, 0x3f, 0x0a, 0x09, 0x4d, 0x92, 0x28, 0x21, 0x5e, 0x34, 0xa2, 0x22, 0x78, 0x0b, 0x6f, - 0xcc, 0x59, 0x0d, 0x6e, 0xec, 0x46, 0x23, 0x2a, 0xa5, 0x08, 0xdd, 0x80, 0x64, 0xa2, 0x15, 0x73, - 0x29, 0x42, 0x37, 0xb0, 0xa5, 0x72, 0x7f, 0x2a, 0x50, 0xef, 0x06, 0x51, 0x2a, 0x75, 0x7f, 0x04, - 0x30, 0x17, 0x5a, 0x11, 0xa1, 0xeb, 0x74, 0x1a, 0xef, 0x33, 0x68, 0x25, 0xd4, 0x4d, 0xa3, 0x90, - 0xc4, 0x97, 0x89, 0x9b, 0xca, 0xe4, 0x75, 0xdc, 0x94, 0xe0, 0x40, 0x60, 0xe8, 0x4b, 0x00, 0x8f, - 0x07, 0x24, 0xec, 0x2e, 0xa6, 0x22, 0xe5, 0xea, 0x41, 0x8b, 0xab, 0x25, 0xd2, 0x38, 0x77, 0x31, - 0xc5, 0x75, 0x2f, 0xff, 0x44, 0x2f, 0xe0, 0x63, 0x96, 0xb8, 0x61, 0x1a, 0x47, 0x09, 0x23, 0xd2, - 0x6f, 0xcc, 0xc7, 0x40, 0x7a, 0xcb, 0x41, 0xd9, 0x9a, 0x32, 0x44, 0x08, 0x31, 0x26, 0xdc, 0xb9, - 0x63, 0x82, 0x7a, 0x14, 0x44, 0xb7, 0xdd, 0x28, 0x64, 0x49, 0x14, 0x88, 0x1b, 0x6c, 0x43, 0x6d, - 0xe2, 0xbe, 0x25, 0x23, 0x97, 0xb9, 0x99, 0x88, 0xd5, 0x89, 0xfb, 0xb6, 0xe7, 0x32, 0x77, 0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 0xc0, 0x43, 0xad, - 0xbc, 0x9f, 0x00, 0xba, 0xbf, 0x61, 0x9c, 0xfe, 0x1f, 0x3b, 0xa6, 0xad, 0xf0, 0x32, 0x1c, 0xdd, - 0xec, 0xf3, 0x7c, 0x43, 0x32, 0xc0, 0xf6, 0x21, 0xef, 0xc0, 0x06, 0x68, 0xd8, 0xb1, 0x17, 0xa9, - 0x05, 0x7e, 0x7b, 0x4e, 0x30, 0xad, 0xe3, 0x45, 0x4b, 0xf1, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x4a, 0x0f, 0xb7, 0x51, 0xc4, 0x0b, 0x00, 0x00, +func file_quic_trace_proto_rawDescGZIP() []byte { + file_quic_trace_proto_rawDescOnce.Do(func() { + file_quic_trace_proto_rawDescData = protoimpl.X.CompressGZIP(file_quic_trace_proto_rawDescData) + }) + return file_quic_trace_proto_rawDescData +} + +var file_quic_trace_proto_enumTypes = make([]protoimpl.EnumInfo, 5) +var file_quic_trace_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_quic_trace_proto_goTypes = []interface{}{ + (FrameType)(0), // 0: pb.FrameType + (CloseType)(0), // 1: pb.CloseType + (EncryptionLevel)(0), // 2: pb.EncryptionLevel + (EventType)(0), // 3: pb.EventType + (TransmissionReason)(0), // 4: pb.TransmissionReason + (*StreamFrameInfo)(nil), // 5: pb.StreamFrameInfo + (*CryptoFrameInfo)(nil), // 6: pb.CryptoFrameInfo + (*AckBlock)(nil), // 7: pb.AckBlock + (*AckInfo)(nil), // 8: pb.AckInfo + (*ResetStreamInfo)(nil), // 9: pb.ResetStreamInfo + (*CloseInfo)(nil), // 10: pb.CloseInfo + (*FlowControlInfo)(nil), // 11: pb.FlowControlInfo + (*Frame)(nil), // 12: pb.Frame + (*TransportState)(nil), // 13: pb.TransportState + (*ExternalNetworkParameters)(nil), // 14: pb.ExternalNetworkParameters + (*Event)(nil), // 15: pb.Event + (*Trace)(nil), // 16: pb.Trace +} +var file_quic_trace_proto_depIdxs = []int32{ + 7, // 0: pb.AckInfo.acked_packets:type_name -> pb.AckBlock + 1, // 1: pb.CloseInfo.close_type:type_name -> pb.CloseType + 0, // 2: pb.Frame.frame_type:type_name -> pb.FrameType + 5, // 3: pb.Frame.stream_frame_info:type_name -> pb.StreamFrameInfo + 8, // 4: pb.Frame.ack_info:type_name -> pb.AckInfo + 9, // 5: pb.Frame.reset_stream_info:type_name -> pb.ResetStreamInfo + 10, // 6: pb.Frame.close_info:type_name -> pb.CloseInfo + 11, // 7: pb.Frame.flow_control_info:type_name -> pb.FlowControlInfo + 6, // 8: pb.Frame.crypto_frame_info:type_name -> pb.CryptoFrameInfo + 3, // 9: pb.Event.event_type:type_name -> pb.EventType + 12, // 10: pb.Event.frames:type_name -> pb.Frame + 2, // 11: pb.Event.encryption_level:type_name -> pb.EncryptionLevel + 13, // 12: pb.Event.transport_state:type_name -> pb.TransportState + 14, // 13: pb.Event.external_network_parameters:type_name -> pb.ExternalNetworkParameters + 4, // 14: pb.Event.transmission_reason:type_name -> pb.TransmissionReason + 15, // 15: pb.Trace.events:type_name -> pb.Event + 16, // [16:16] is the sub-list for method output_type + 16, // [16:16] is the sub-list for method input_type + 16, // [16:16] is the sub-list for extension type_name + 16, // [16:16] is the sub-list for extension extendee + 0, // [0:16] is the sub-list for field type_name +} + +func init() { file_quic_trace_proto_init() } +func file_quic_trace_proto_init() { + if File_quic_trace_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_quic_trace_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamFrameInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_quic_trace_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CryptoFrameInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_quic_trace_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AckBlock); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_quic_trace_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AckInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_quic_trace_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResetStreamInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_quic_trace_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloseInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_quic_trace_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlowControlInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_quic_trace_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Frame); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_quic_trace_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransportState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_quic_trace_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExternalNetworkParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_quic_trace_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Event); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_quic_trace_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Trace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_quic_trace_proto_rawDesc, + NumEnums: 5, + NumMessages: 12, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_quic_trace_proto_goTypes, + DependencyIndexes: file_quic_trace_proto_depIdxs, + EnumInfos: file_quic_trace_proto_enumTypes, + MessageInfos: file_quic_trace_proto_msgTypes, + }.Build() + File_quic_trace_proto = out.File + file_quic_trace_proto_rawDesc = nil + file_quic_trace_proto_goTypes = nil + file_quic_trace_proto_depIdxs = nil } diff --git a/quictrace/pb/quic-trace.proto b/quictrace/pb/quic-trace.proto index 3fa47d596..66e56289f 100644 --- a/quictrace/pb/quic-trace.proto +++ b/quictrace/pb/quic-trace.proto @@ -5,6 +5,8 @@ syntax = "proto2"; package pb; +option go_package = ".;pb"; + enum FrameType { UNKNOWN_FRAME = 0; diff --git a/quictrace/tracer.go b/quictrace/tracer.go index 796e132b0..0f61d14bf 100644 --- a/quictrace/tracer.go +++ b/quictrace/tracer.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/golang/protobuf/proto" + "google.golang.org/protobuf/proto" "github.com/lucas-clemente/quic-go/internal/protocol" "github.com/lucas-clemente/quic-go/internal/wire"