You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

3446 lines
127 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: grpc/channelz/v1/channelz.proto
  3. package grpc_channelz_v1 // import "google.golang.org/grpc/channelz/grpc_channelz_v1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import any "github.com/golang/protobuf/ptypes/any"
  8. import duration "github.com/golang/protobuf/ptypes/duration"
  9. import timestamp "github.com/golang/protobuf/ptypes/timestamp"
  10. import wrappers "github.com/golang/protobuf/ptypes/wrappers"
  11. import (
  12. context "golang.org/x/net/context"
  13. grpc "google.golang.org/grpc"
  14. )
  15. // Reference imports to suppress errors if they are not otherwise used.
  16. var _ = proto.Marshal
  17. var _ = fmt.Errorf
  18. var _ = math.Inf
  19. // This is a compile-time assertion to ensure that this generated file
  20. // is compatible with the proto package it is being compiled against.
  21. // A compilation error at this line likely means your copy of the
  22. // proto package needs to be updated.
  23. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  24. type ChannelConnectivityState_State int32
  25. const (
  26. ChannelConnectivityState_UNKNOWN ChannelConnectivityState_State = 0
  27. ChannelConnectivityState_IDLE ChannelConnectivityState_State = 1
  28. ChannelConnectivityState_CONNECTING ChannelConnectivityState_State = 2
  29. ChannelConnectivityState_READY ChannelConnectivityState_State = 3
  30. ChannelConnectivityState_TRANSIENT_FAILURE ChannelConnectivityState_State = 4
  31. ChannelConnectivityState_SHUTDOWN ChannelConnectivityState_State = 5
  32. )
  33. var ChannelConnectivityState_State_name = map[int32]string{
  34. 0: "UNKNOWN",
  35. 1: "IDLE",
  36. 2: "CONNECTING",
  37. 3: "READY",
  38. 4: "TRANSIENT_FAILURE",
  39. 5: "SHUTDOWN",
  40. }
  41. var ChannelConnectivityState_State_value = map[string]int32{
  42. "UNKNOWN": 0,
  43. "IDLE": 1,
  44. "CONNECTING": 2,
  45. "READY": 3,
  46. "TRANSIENT_FAILURE": 4,
  47. "SHUTDOWN": 5,
  48. }
  49. func (x ChannelConnectivityState_State) String() string {
  50. return proto.EnumName(ChannelConnectivityState_State_name, int32(x))
  51. }
  52. func (ChannelConnectivityState_State) EnumDescriptor() ([]byte, []int) {
  53. return fileDescriptor_channelz_449295370a82a4c0, []int{2, 0}
  54. }
  55. // The supported severity levels of trace events.
  56. type ChannelTraceEvent_Severity int32
  57. const (
  58. ChannelTraceEvent_CT_UNKNOWN ChannelTraceEvent_Severity = 0
  59. ChannelTraceEvent_CT_INFO ChannelTraceEvent_Severity = 1
  60. ChannelTraceEvent_CT_WARNING ChannelTraceEvent_Severity = 2
  61. ChannelTraceEvent_CT_ERROR ChannelTraceEvent_Severity = 3
  62. )
  63. var ChannelTraceEvent_Severity_name = map[int32]string{
  64. 0: "CT_UNKNOWN",
  65. 1: "CT_INFO",
  66. 2: "CT_WARNING",
  67. 3: "CT_ERROR",
  68. }
  69. var ChannelTraceEvent_Severity_value = map[string]int32{
  70. "CT_UNKNOWN": 0,
  71. "CT_INFO": 1,
  72. "CT_WARNING": 2,
  73. "CT_ERROR": 3,
  74. }
  75. func (x ChannelTraceEvent_Severity) String() string {
  76. return proto.EnumName(ChannelTraceEvent_Severity_name, int32(x))
  77. }
  78. func (ChannelTraceEvent_Severity) EnumDescriptor() ([]byte, []int) {
  79. return fileDescriptor_channelz_449295370a82a4c0, []int{4, 0}
  80. }
  81. // Channel is a logical grouping of channels, subchannels, and sockets.
  82. type Channel struct {
  83. // The identifier for this channel. This should bet set.
  84. Ref *ChannelRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
  85. // Data specific to this channel.
  86. Data *ChannelData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  87. // There are no ordering guarantees on the order of channel refs.
  88. // There may not be cycles in the ref graph.
  89. // A channel ref may be present in more than one channel or subchannel.
  90. ChannelRef []*ChannelRef `protobuf:"bytes,3,rep,name=channel_ref,json=channelRef,proto3" json:"channel_ref,omitempty"`
  91. // At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
  92. // There are no ordering guarantees on the order of subchannel refs.
  93. // There may not be cycles in the ref graph.
  94. // A sub channel ref may be present in more than one channel or subchannel.
  95. SubchannelRef []*SubchannelRef `protobuf:"bytes,4,rep,name=subchannel_ref,json=subchannelRef,proto3" json:"subchannel_ref,omitempty"`
  96. // There are no ordering guarantees on the order of sockets.
  97. SocketRef []*SocketRef `protobuf:"bytes,5,rep,name=socket_ref,json=socketRef,proto3" json:"socket_ref,omitempty"`
  98. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  99. XXX_unrecognized []byte `json:"-"`
  100. XXX_sizecache int32 `json:"-"`
  101. }
  102. func (m *Channel) Reset() { *m = Channel{} }
  103. func (m *Channel) String() string { return proto.CompactTextString(m) }
  104. func (*Channel) ProtoMessage() {}
  105. func (*Channel) Descriptor() ([]byte, []int) {
  106. return fileDescriptor_channelz_449295370a82a4c0, []int{0}
  107. }
  108. func (m *Channel) XXX_Unmarshal(b []byte) error {
  109. return xxx_messageInfo_Channel.Unmarshal(m, b)
  110. }
  111. func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  112. return xxx_messageInfo_Channel.Marshal(b, m, deterministic)
  113. }
  114. func (dst *Channel) XXX_Merge(src proto.Message) {
  115. xxx_messageInfo_Channel.Merge(dst, src)
  116. }
  117. func (m *Channel) XXX_Size() int {
  118. return xxx_messageInfo_Channel.Size(m)
  119. }
  120. func (m *Channel) XXX_DiscardUnknown() {
  121. xxx_messageInfo_Channel.DiscardUnknown(m)
  122. }
  123. var xxx_messageInfo_Channel proto.InternalMessageInfo
  124. func (m *Channel) GetRef() *ChannelRef {
  125. if m != nil {
  126. return m.Ref
  127. }
  128. return nil
  129. }
  130. func (m *Channel) GetData() *ChannelData {
  131. if m != nil {
  132. return m.Data
  133. }
  134. return nil
  135. }
  136. func (m *Channel) GetChannelRef() []*ChannelRef {
  137. if m != nil {
  138. return m.ChannelRef
  139. }
  140. return nil
  141. }
  142. func (m *Channel) GetSubchannelRef() []*SubchannelRef {
  143. if m != nil {
  144. return m.SubchannelRef
  145. }
  146. return nil
  147. }
  148. func (m *Channel) GetSocketRef() []*SocketRef {
  149. if m != nil {
  150. return m.SocketRef
  151. }
  152. return nil
  153. }
  154. // Subchannel is a logical grouping of channels, subchannels, and sockets.
  155. // A subchannel is load balanced over by it's ancestor
  156. type Subchannel struct {
  157. // The identifier for this channel.
  158. Ref *SubchannelRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
  159. // Data specific to this channel.
  160. Data *ChannelData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  161. // There are no ordering guarantees on the order of channel refs.
  162. // There may not be cycles in the ref graph.
  163. // A channel ref may be present in more than one channel or subchannel.
  164. ChannelRef []*ChannelRef `protobuf:"bytes,3,rep,name=channel_ref,json=channelRef,proto3" json:"channel_ref,omitempty"`
  165. // At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
  166. // There are no ordering guarantees on the order of subchannel refs.
  167. // There may not be cycles in the ref graph.
  168. // A sub channel ref may be present in more than one channel or subchannel.
  169. SubchannelRef []*SubchannelRef `protobuf:"bytes,4,rep,name=subchannel_ref,json=subchannelRef,proto3" json:"subchannel_ref,omitempty"`
  170. // There are no ordering guarantees on the order of sockets.
  171. SocketRef []*SocketRef `protobuf:"bytes,5,rep,name=socket_ref,json=socketRef,proto3" json:"socket_ref,omitempty"`
  172. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  173. XXX_unrecognized []byte `json:"-"`
  174. XXX_sizecache int32 `json:"-"`
  175. }
  176. func (m *Subchannel) Reset() { *m = Subchannel{} }
  177. func (m *Subchannel) String() string { return proto.CompactTextString(m) }
  178. func (*Subchannel) ProtoMessage() {}
  179. func (*Subchannel) Descriptor() ([]byte, []int) {
  180. return fileDescriptor_channelz_449295370a82a4c0, []int{1}
  181. }
  182. func (m *Subchannel) XXX_Unmarshal(b []byte) error {
  183. return xxx_messageInfo_Subchannel.Unmarshal(m, b)
  184. }
  185. func (m *Subchannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  186. return xxx_messageInfo_Subchannel.Marshal(b, m, deterministic)
  187. }
  188. func (dst *Subchannel) XXX_Merge(src proto.Message) {
  189. xxx_messageInfo_Subchannel.Merge(dst, src)
  190. }
  191. func (m *Subchannel) XXX_Size() int {
  192. return xxx_messageInfo_Subchannel.Size(m)
  193. }
  194. func (m *Subchannel) XXX_DiscardUnknown() {
  195. xxx_messageInfo_Subchannel.DiscardUnknown(m)
  196. }
  197. var xxx_messageInfo_Subchannel proto.InternalMessageInfo
  198. func (m *Subchannel) GetRef() *SubchannelRef {
  199. if m != nil {
  200. return m.Ref
  201. }
  202. return nil
  203. }
  204. func (m *Subchannel) GetData() *ChannelData {
  205. if m != nil {
  206. return m.Data
  207. }
  208. return nil
  209. }
  210. func (m *Subchannel) GetChannelRef() []*ChannelRef {
  211. if m != nil {
  212. return m.ChannelRef
  213. }
  214. return nil
  215. }
  216. func (m *Subchannel) GetSubchannelRef() []*SubchannelRef {
  217. if m != nil {
  218. return m.SubchannelRef
  219. }
  220. return nil
  221. }
  222. func (m *Subchannel) GetSocketRef() []*SocketRef {
  223. if m != nil {
  224. return m.SocketRef
  225. }
  226. return nil
  227. }
  228. // These come from the specified states in this document:
  229. // https://github.com/grpc/grpc/blob/master/doc/connectivity-semantics-and-api.md
  230. type ChannelConnectivityState struct {
  231. State ChannelConnectivityState_State `protobuf:"varint,1,opt,name=state,proto3,enum=grpc.channelz.v1.ChannelConnectivityState_State" json:"state,omitempty"`
  232. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  233. XXX_unrecognized []byte `json:"-"`
  234. XXX_sizecache int32 `json:"-"`
  235. }
  236. func (m *ChannelConnectivityState) Reset() { *m = ChannelConnectivityState{} }
  237. func (m *ChannelConnectivityState) String() string { return proto.CompactTextString(m) }
  238. func (*ChannelConnectivityState) ProtoMessage() {}
  239. func (*ChannelConnectivityState) Descriptor() ([]byte, []int) {
  240. return fileDescriptor_channelz_449295370a82a4c0, []int{2}
  241. }
  242. func (m *ChannelConnectivityState) XXX_Unmarshal(b []byte) error {
  243. return xxx_messageInfo_ChannelConnectivityState.Unmarshal(m, b)
  244. }
  245. func (m *ChannelConnectivityState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  246. return xxx_messageInfo_ChannelConnectivityState.Marshal(b, m, deterministic)
  247. }
  248. func (dst *ChannelConnectivityState) XXX_Merge(src proto.Message) {
  249. xxx_messageInfo_ChannelConnectivityState.Merge(dst, src)
  250. }
  251. func (m *ChannelConnectivityState) XXX_Size() int {
  252. return xxx_messageInfo_ChannelConnectivityState.Size(m)
  253. }
  254. func (m *ChannelConnectivityState) XXX_DiscardUnknown() {
  255. xxx_messageInfo_ChannelConnectivityState.DiscardUnknown(m)
  256. }
  257. var xxx_messageInfo_ChannelConnectivityState proto.InternalMessageInfo
  258. func (m *ChannelConnectivityState) GetState() ChannelConnectivityState_State {
  259. if m != nil {
  260. return m.State
  261. }
  262. return ChannelConnectivityState_UNKNOWN
  263. }
  264. // Channel data is data related to a specific Channel or Subchannel.
  265. type ChannelData struct {
  266. // The connectivity state of the channel or subchannel. Implementations
  267. // should always set this.
  268. State *ChannelConnectivityState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
  269. // The target this channel originally tried to connect to. May be absent
  270. Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
  271. // A trace of recent events on the channel. May be absent.
  272. Trace *ChannelTrace `protobuf:"bytes,3,opt,name=trace,proto3" json:"trace,omitempty"`
  273. // The number of calls started on the channel
  274. CallsStarted int64 `protobuf:"varint,4,opt,name=calls_started,json=callsStarted,proto3" json:"calls_started,omitempty"`
  275. // The number of calls that have completed with an OK status
  276. CallsSucceeded int64 `protobuf:"varint,5,opt,name=calls_succeeded,json=callsSucceeded,proto3" json:"calls_succeeded,omitempty"`
  277. // The number of calls that have completed with a non-OK status
  278. CallsFailed int64 `protobuf:"varint,6,opt,name=calls_failed,json=callsFailed,proto3" json:"calls_failed,omitempty"`
  279. // The last time a call was started on the channel.
  280. LastCallStartedTimestamp *timestamp.Timestamp `protobuf:"bytes,7,opt,name=last_call_started_timestamp,json=lastCallStartedTimestamp,proto3" json:"last_call_started_timestamp,omitempty"`
  281. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  282. XXX_unrecognized []byte `json:"-"`
  283. XXX_sizecache int32 `json:"-"`
  284. }
  285. func (m *ChannelData) Reset() { *m = ChannelData{} }
  286. func (m *ChannelData) String() string { return proto.CompactTextString(m) }
  287. func (*ChannelData) ProtoMessage() {}
  288. func (*ChannelData) Descriptor() ([]byte, []int) {
  289. return fileDescriptor_channelz_449295370a82a4c0, []int{3}
  290. }
  291. func (m *ChannelData) XXX_Unmarshal(b []byte) error {
  292. return xxx_messageInfo_ChannelData.Unmarshal(m, b)
  293. }
  294. func (m *ChannelData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  295. return xxx_messageInfo_ChannelData.Marshal(b, m, deterministic)
  296. }
  297. func (dst *ChannelData) XXX_Merge(src proto.Message) {
  298. xxx_messageInfo_ChannelData.Merge(dst, src)
  299. }
  300. func (m *ChannelData) XXX_Size() int {
  301. return xxx_messageInfo_ChannelData.Size(m)
  302. }
  303. func (m *ChannelData) XXX_DiscardUnknown() {
  304. xxx_messageInfo_ChannelData.DiscardUnknown(m)
  305. }
  306. var xxx_messageInfo_ChannelData proto.InternalMessageInfo
  307. func (m *ChannelData) GetState() *ChannelConnectivityState {
  308. if m != nil {
  309. return m.State
  310. }
  311. return nil
  312. }
  313. func (m *ChannelData) GetTarget() string {
  314. if m != nil {
  315. return m.Target
  316. }
  317. return ""
  318. }
  319. func (m *ChannelData) GetTrace() *ChannelTrace {
  320. if m != nil {
  321. return m.Trace
  322. }
  323. return nil
  324. }
  325. func (m *ChannelData) GetCallsStarted() int64 {
  326. if m != nil {
  327. return m.CallsStarted
  328. }
  329. return 0
  330. }
  331. func (m *ChannelData) GetCallsSucceeded() int64 {
  332. if m != nil {
  333. return m.CallsSucceeded
  334. }
  335. return 0
  336. }
  337. func (m *ChannelData) GetCallsFailed() int64 {
  338. if m != nil {
  339. return m.CallsFailed
  340. }
  341. return 0
  342. }
  343. func (m *ChannelData) GetLastCallStartedTimestamp() *timestamp.Timestamp {
  344. if m != nil {
  345. return m.LastCallStartedTimestamp
  346. }
  347. return nil
  348. }
  349. // A trace event is an interesting thing that happened to a channel or
  350. // subchannel, such as creation, address resolution, subchannel creation, etc.
  351. type ChannelTraceEvent struct {
  352. // High level description of the event.
  353. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
  354. // the severity of the trace event
  355. Severity ChannelTraceEvent_Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grpc.channelz.v1.ChannelTraceEvent_Severity" json:"severity,omitempty"`
  356. // When this event occurred.
  357. Timestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
  358. // ref of referenced channel or subchannel.
  359. // Optional, only present if this event refers to a child object. For example,
  360. // this field would be filled if this trace event was for a subchannel being
  361. // created.
  362. //
  363. // Types that are valid to be assigned to ChildRef:
  364. // *ChannelTraceEvent_ChannelRef
  365. // *ChannelTraceEvent_SubchannelRef
  366. ChildRef isChannelTraceEvent_ChildRef `protobuf_oneof:"child_ref"`
  367. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  368. XXX_unrecognized []byte `json:"-"`
  369. XXX_sizecache int32 `json:"-"`
  370. }
  371. func (m *ChannelTraceEvent) Reset() { *m = ChannelTraceEvent{} }
  372. func (m *ChannelTraceEvent) String() string { return proto.CompactTextString(m) }
  373. func (*ChannelTraceEvent) ProtoMessage() {}
  374. func (*ChannelTraceEvent) Descriptor() ([]byte, []int) {
  375. return fileDescriptor_channelz_449295370a82a4c0, []int{4}
  376. }
  377. func (m *ChannelTraceEvent) XXX_Unmarshal(b []byte) error {
  378. return xxx_messageInfo_ChannelTraceEvent.Unmarshal(m, b)
  379. }
  380. func (m *ChannelTraceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  381. return xxx_messageInfo_ChannelTraceEvent.Marshal(b, m, deterministic)
  382. }
  383. func (dst *ChannelTraceEvent) XXX_Merge(src proto.Message) {
  384. xxx_messageInfo_ChannelTraceEvent.Merge(dst, src)
  385. }
  386. func (m *ChannelTraceEvent) XXX_Size() int {
  387. return xxx_messageInfo_ChannelTraceEvent.Size(m)
  388. }
  389. func (m *ChannelTraceEvent) XXX_DiscardUnknown() {
  390. xxx_messageInfo_ChannelTraceEvent.DiscardUnknown(m)
  391. }
  392. var xxx_messageInfo_ChannelTraceEvent proto.InternalMessageInfo
  393. func (m *ChannelTraceEvent) GetDescription() string {
  394. if m != nil {
  395. return m.Description
  396. }
  397. return ""
  398. }
  399. func (m *ChannelTraceEvent) GetSeverity() ChannelTraceEvent_Severity {
  400. if m != nil {
  401. return m.Severity
  402. }
  403. return ChannelTraceEvent_CT_UNKNOWN
  404. }
  405. func (m *ChannelTraceEvent) GetTimestamp() *timestamp.Timestamp {
  406. if m != nil {
  407. return m.Timestamp
  408. }
  409. return nil
  410. }
  411. type isChannelTraceEvent_ChildRef interface {
  412. isChannelTraceEvent_ChildRef()
  413. }
  414. type ChannelTraceEvent_ChannelRef struct {
  415. ChannelRef *ChannelRef `protobuf:"bytes,4,opt,name=channel_ref,json=channelRef,proto3,oneof"`
  416. }
  417. type ChannelTraceEvent_SubchannelRef struct {
  418. SubchannelRef *SubchannelRef `protobuf:"bytes,5,opt,name=subchannel_ref,json=subchannelRef,proto3,oneof"`
  419. }
  420. func (*ChannelTraceEvent_ChannelRef) isChannelTraceEvent_ChildRef() {}
  421. func (*ChannelTraceEvent_SubchannelRef) isChannelTraceEvent_ChildRef() {}
  422. func (m *ChannelTraceEvent) GetChildRef() isChannelTraceEvent_ChildRef {
  423. if m != nil {
  424. return m.ChildRef
  425. }
  426. return nil
  427. }
  428. func (m *ChannelTraceEvent) GetChannelRef() *ChannelRef {
  429. if x, ok := m.GetChildRef().(*ChannelTraceEvent_ChannelRef); ok {
  430. return x.ChannelRef
  431. }
  432. return nil
  433. }
  434. func (m *ChannelTraceEvent) GetSubchannelRef() *SubchannelRef {
  435. if x, ok := m.GetChildRef().(*ChannelTraceEvent_SubchannelRef); ok {
  436. return x.SubchannelRef
  437. }
  438. return nil
  439. }
  440. // XXX_OneofFuncs is for the internal use of the proto package.
  441. func (*ChannelTraceEvent) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  442. return _ChannelTraceEvent_OneofMarshaler, _ChannelTraceEvent_OneofUnmarshaler, _ChannelTraceEvent_OneofSizer, []interface{}{
  443. (*ChannelTraceEvent_ChannelRef)(nil),
  444. (*ChannelTraceEvent_SubchannelRef)(nil),
  445. }
  446. }
  447. func _ChannelTraceEvent_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  448. m := msg.(*ChannelTraceEvent)
  449. // child_ref
  450. switch x := m.ChildRef.(type) {
  451. case *ChannelTraceEvent_ChannelRef:
  452. b.EncodeVarint(4<<3 | proto.WireBytes)
  453. if err := b.EncodeMessage(x.ChannelRef); err != nil {
  454. return err
  455. }
  456. case *ChannelTraceEvent_SubchannelRef:
  457. b.EncodeVarint(5<<3 | proto.WireBytes)
  458. if err := b.EncodeMessage(x.SubchannelRef); err != nil {
  459. return err
  460. }
  461. case nil:
  462. default:
  463. return fmt.Errorf("ChannelTraceEvent.ChildRef has unexpected type %T", x)
  464. }
  465. return nil
  466. }
  467. func _ChannelTraceEvent_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  468. m := msg.(*ChannelTraceEvent)
  469. switch tag {
  470. case 4: // child_ref.channel_ref
  471. if wire != proto.WireBytes {
  472. return true, proto.ErrInternalBadWireType
  473. }
  474. msg := new(ChannelRef)
  475. err := b.DecodeMessage(msg)
  476. m.ChildRef = &ChannelTraceEvent_ChannelRef{msg}
  477. return true, err
  478. case 5: // child_ref.subchannel_ref
  479. if wire != proto.WireBytes {
  480. return true, proto.ErrInternalBadWireType
  481. }
  482. msg := new(SubchannelRef)
  483. err := b.DecodeMessage(msg)
  484. m.ChildRef = &ChannelTraceEvent_SubchannelRef{msg}
  485. return true, err
  486. default:
  487. return false, nil
  488. }
  489. }
  490. func _ChannelTraceEvent_OneofSizer(msg proto.Message) (n int) {
  491. m := msg.(*ChannelTraceEvent)
  492. // child_ref
  493. switch x := m.ChildRef.(type) {
  494. case *ChannelTraceEvent_ChannelRef:
  495. s := proto.Size(x.ChannelRef)
  496. n += 1 // tag and wire
  497. n += proto.SizeVarint(uint64(s))
  498. n += s
  499. case *ChannelTraceEvent_SubchannelRef:
  500. s := proto.Size(x.SubchannelRef)
  501. n += 1 // tag and wire
  502. n += proto.SizeVarint(uint64(s))
  503. n += s
  504. case nil:
  505. default:
  506. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  507. }
  508. return n
  509. }
  510. // ChannelTrace represents the recent events that have occurred on the channel.
  511. type ChannelTrace struct {
  512. // Number of events ever logged in this tracing object. This can differ from
  513. // events.size() because events can be overwritten or garbage collected by
  514. // implementations.
  515. NumEventsLogged int64 `protobuf:"varint,1,opt,name=num_events_logged,json=numEventsLogged,proto3" json:"num_events_logged,omitempty"`
  516. // Time that this channel was created.
  517. CreationTimestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=creation_timestamp,json=creationTimestamp,proto3" json:"creation_timestamp,omitempty"`
  518. // List of events that have occurred on this channel.
  519. Events []*ChannelTraceEvent `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
  520. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  521. XXX_unrecognized []byte `json:"-"`
  522. XXX_sizecache int32 `json:"-"`
  523. }
  524. func (m *ChannelTrace) Reset() { *m = ChannelTrace{} }
  525. func (m *ChannelTrace) String() string { return proto.CompactTextString(m) }
  526. func (*ChannelTrace) ProtoMessage() {}
  527. func (*ChannelTrace) Descriptor() ([]byte, []int) {
  528. return fileDescriptor_channelz_449295370a82a4c0, []int{5}
  529. }
  530. func (m *ChannelTrace) XXX_Unmarshal(b []byte) error {
  531. return xxx_messageInfo_ChannelTrace.Unmarshal(m, b)
  532. }
  533. func (m *ChannelTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  534. return xxx_messageInfo_ChannelTrace.Marshal(b, m, deterministic)
  535. }
  536. func (dst *ChannelTrace) XXX_Merge(src proto.Message) {
  537. xxx_messageInfo_ChannelTrace.Merge(dst, src)
  538. }
  539. func (m *ChannelTrace) XXX_Size() int {
  540. return xxx_messageInfo_ChannelTrace.Size(m)
  541. }
  542. func (m *ChannelTrace) XXX_DiscardUnknown() {
  543. xxx_messageInfo_ChannelTrace.DiscardUnknown(m)
  544. }
  545. var xxx_messageInfo_ChannelTrace proto.InternalMessageInfo
  546. func (m *ChannelTrace) GetNumEventsLogged() int64 {
  547. if m != nil {
  548. return m.NumEventsLogged
  549. }
  550. return 0
  551. }
  552. func (m *ChannelTrace) GetCreationTimestamp() *timestamp.Timestamp {
  553. if m != nil {
  554. return m.CreationTimestamp
  555. }
  556. return nil
  557. }
  558. func (m *ChannelTrace) GetEvents() []*ChannelTraceEvent {
  559. if m != nil {
  560. return m.Events
  561. }
  562. return nil
  563. }
  564. // ChannelRef is a reference to a Channel.
  565. type ChannelRef struct {
  566. // The globally unique id for this channel. Must be a positive number.
  567. ChannelId int64 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
  568. // An optional name associated with the channel.
  569. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  570. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  571. XXX_unrecognized []byte `json:"-"`
  572. XXX_sizecache int32 `json:"-"`
  573. }
  574. func (m *ChannelRef) Reset() { *m = ChannelRef{} }
  575. func (m *ChannelRef) String() string { return proto.CompactTextString(m) }
  576. func (*ChannelRef) ProtoMessage() {}
  577. func (*ChannelRef) Descriptor() ([]byte, []int) {
  578. return fileDescriptor_channelz_449295370a82a4c0, []int{6}
  579. }
  580. func (m *ChannelRef) XXX_Unmarshal(b []byte) error {
  581. return xxx_messageInfo_ChannelRef.Unmarshal(m, b)
  582. }
  583. func (m *ChannelRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  584. return xxx_messageInfo_ChannelRef.Marshal(b, m, deterministic)
  585. }
  586. func (dst *ChannelRef) XXX_Merge(src proto.Message) {
  587. xxx_messageInfo_ChannelRef.Merge(dst, src)
  588. }
  589. func (m *ChannelRef) XXX_Size() int {
  590. return xxx_messageInfo_ChannelRef.Size(m)
  591. }
  592. func (m *ChannelRef) XXX_DiscardUnknown() {
  593. xxx_messageInfo_ChannelRef.DiscardUnknown(m)
  594. }
  595. var xxx_messageInfo_ChannelRef proto.InternalMessageInfo
  596. func (m *ChannelRef) GetChannelId() int64 {
  597. if m != nil {
  598. return m.ChannelId
  599. }
  600. return 0
  601. }
  602. func (m *ChannelRef) GetName() string {
  603. if m != nil {
  604. return m.Name
  605. }
  606. return ""
  607. }
  608. // ChannelRef is a reference to a Subchannel.
  609. type SubchannelRef struct {
  610. // The globally unique id for this subchannel. Must be a positive number.
  611. SubchannelId int64 `protobuf:"varint,7,opt,name=subchannel_id,json=subchannelId,proto3" json:"subchannel_id,omitempty"`
  612. // An optional name associated with the subchannel.
  613. Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
  614. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  615. XXX_unrecognized []byte `json:"-"`
  616. XXX_sizecache int32 `json:"-"`
  617. }
  618. func (m *SubchannelRef) Reset() { *m = SubchannelRef{} }
  619. func (m *SubchannelRef) String() string { return proto.CompactTextString(m) }
  620. func (*SubchannelRef) ProtoMessage() {}
  621. func (*SubchannelRef) Descriptor() ([]byte, []int) {
  622. return fileDescriptor_channelz_449295370a82a4c0, []int{7}
  623. }
  624. func (m *SubchannelRef) XXX_Unmarshal(b []byte) error {
  625. return xxx_messageInfo_SubchannelRef.Unmarshal(m, b)
  626. }
  627. func (m *SubchannelRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  628. return xxx_messageInfo_SubchannelRef.Marshal(b, m, deterministic)
  629. }
  630. func (dst *SubchannelRef) XXX_Merge(src proto.Message) {
  631. xxx_messageInfo_SubchannelRef.Merge(dst, src)
  632. }
  633. func (m *SubchannelRef) XXX_Size() int {
  634. return xxx_messageInfo_SubchannelRef.Size(m)
  635. }
  636. func (m *SubchannelRef) XXX_DiscardUnknown() {
  637. xxx_messageInfo_SubchannelRef.DiscardUnknown(m)
  638. }
  639. var xxx_messageInfo_SubchannelRef proto.InternalMessageInfo
  640. func (m *SubchannelRef) GetSubchannelId() int64 {
  641. if m != nil {
  642. return m.SubchannelId
  643. }
  644. return 0
  645. }
  646. func (m *SubchannelRef) GetName() string {
  647. if m != nil {
  648. return m.Name
  649. }
  650. return ""
  651. }
  652. // SocketRef is a reference to a Socket.
  653. type SocketRef struct {
  654. // The globally unique id for this socket. Must be a positive number.
  655. SocketId int64 `protobuf:"varint,3,opt,name=socket_id,json=socketId,proto3" json:"socket_id,omitempty"`
  656. // An optional name associated with the socket.
  657. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
  658. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  659. XXX_unrecognized []byte `json:"-"`
  660. XXX_sizecache int32 `json:"-"`
  661. }
  662. func (m *SocketRef) Reset() { *m = SocketRef{} }
  663. func (m *SocketRef) String() string { return proto.CompactTextString(m) }
  664. func (*SocketRef) ProtoMessage() {}
  665. func (*SocketRef) Descriptor() ([]byte, []int) {
  666. return fileDescriptor_channelz_449295370a82a4c0, []int{8}
  667. }
  668. func (m *SocketRef) XXX_Unmarshal(b []byte) error {
  669. return xxx_messageInfo_SocketRef.Unmarshal(m, b)
  670. }
  671. func (m *SocketRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  672. return xxx_messageInfo_SocketRef.Marshal(b, m, deterministic)
  673. }
  674. func (dst *SocketRef) XXX_Merge(src proto.Message) {
  675. xxx_messageInfo_SocketRef.Merge(dst, src)
  676. }
  677. func (m *SocketRef) XXX_Size() int {
  678. return xxx_messageInfo_SocketRef.Size(m)
  679. }
  680. func (m *SocketRef) XXX_DiscardUnknown() {
  681. xxx_messageInfo_SocketRef.DiscardUnknown(m)
  682. }
  683. var xxx_messageInfo_SocketRef proto.InternalMessageInfo
  684. func (m *SocketRef) GetSocketId() int64 {
  685. if m != nil {
  686. return m.SocketId
  687. }
  688. return 0
  689. }
  690. func (m *SocketRef) GetName() string {
  691. if m != nil {
  692. return m.Name
  693. }
  694. return ""
  695. }
  696. // ServerRef is a reference to a Server.
  697. type ServerRef struct {
  698. // A globally unique identifier for this server. Must be a positive number.
  699. ServerId int64 `protobuf:"varint,5,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
  700. // An optional name associated with the server.
  701. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
  702. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  703. XXX_unrecognized []byte `json:"-"`
  704. XXX_sizecache int32 `json:"-"`
  705. }
  706. func (m *ServerRef) Reset() { *m = ServerRef{} }
  707. func (m *ServerRef) String() string { return proto.CompactTextString(m) }
  708. func (*ServerRef) ProtoMessage() {}
  709. func (*ServerRef) Descriptor() ([]byte, []int) {
  710. return fileDescriptor_channelz_449295370a82a4c0, []int{9}
  711. }
  712. func (m *ServerRef) XXX_Unmarshal(b []byte) error {
  713. return xxx_messageInfo_ServerRef.Unmarshal(m, b)
  714. }
  715. func (m *ServerRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  716. return xxx_messageInfo_ServerRef.Marshal(b, m, deterministic)
  717. }
  718. func (dst *ServerRef) XXX_Merge(src proto.Message) {
  719. xxx_messageInfo_ServerRef.Merge(dst, src)
  720. }
  721. func (m *ServerRef) XXX_Size() int {
  722. return xxx_messageInfo_ServerRef.Size(m)
  723. }
  724. func (m *ServerRef) XXX_DiscardUnknown() {
  725. xxx_messageInfo_ServerRef.DiscardUnknown(m)
  726. }
  727. var xxx_messageInfo_ServerRef proto.InternalMessageInfo
  728. func (m *ServerRef) GetServerId() int64 {
  729. if m != nil {
  730. return m.ServerId
  731. }
  732. return 0
  733. }
  734. func (m *ServerRef) GetName() string {
  735. if m != nil {
  736. return m.Name
  737. }
  738. return ""
  739. }
  740. // Server represents a single server. There may be multiple servers in a single
  741. // program.
  742. type Server struct {
  743. // The identifier for a Server. This should be set.
  744. Ref *ServerRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
  745. // The associated data of the Server.
  746. Data *ServerData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  747. // The sockets that the server is listening on. There are no ordering
  748. // guarantees. This may be absent.
  749. ListenSocket []*SocketRef `protobuf:"bytes,3,rep,name=listen_socket,json=listenSocket,proto3" json:"listen_socket,omitempty"`
  750. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  751. XXX_unrecognized []byte `json:"-"`
  752. XXX_sizecache int32 `json:"-"`
  753. }
  754. func (m *Server) Reset() { *m = Server{} }
  755. func (m *Server) String() string { return proto.CompactTextString(m) }
  756. func (*Server) ProtoMessage() {}
  757. func (*Server) Descriptor() ([]byte, []int) {
  758. return fileDescriptor_channelz_449295370a82a4c0, []int{10}
  759. }
  760. func (m *Server) XXX_Unmarshal(b []byte) error {
  761. return xxx_messageInfo_Server.Unmarshal(m, b)
  762. }
  763. func (m *Server) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  764. return xxx_messageInfo_Server.Marshal(b, m, deterministic)
  765. }
  766. func (dst *Server) XXX_Merge(src proto.Message) {
  767. xxx_messageInfo_Server.Merge(dst, src)
  768. }
  769. func (m *Server) XXX_Size() int {
  770. return xxx_messageInfo_Server.Size(m)
  771. }
  772. func (m *Server) XXX_DiscardUnknown() {
  773. xxx_messageInfo_Server.DiscardUnknown(m)
  774. }
  775. var xxx_messageInfo_Server proto.InternalMessageInfo
  776. func (m *Server) GetRef() *ServerRef {
  777. if m != nil {
  778. return m.Ref
  779. }
  780. return nil
  781. }
  782. func (m *Server) GetData() *ServerData {
  783. if m != nil {
  784. return m.Data
  785. }
  786. return nil
  787. }
  788. func (m *Server) GetListenSocket() []*SocketRef {
  789. if m != nil {
  790. return m.ListenSocket
  791. }
  792. return nil
  793. }
  794. // ServerData is data for a specific Server.
  795. type ServerData struct {
  796. // A trace of recent events on the server. May be absent.
  797. Trace *ChannelTrace `protobuf:"bytes,1,opt,name=trace,proto3" json:"trace,omitempty"`
  798. // The number of incoming calls started on the server
  799. CallsStarted int64 `protobuf:"varint,2,opt,name=calls_started,json=callsStarted,proto3" json:"calls_started,omitempty"`
  800. // The number of incoming calls that have completed with an OK status
  801. CallsSucceeded int64 `protobuf:"varint,3,opt,name=calls_succeeded,json=callsSucceeded,proto3" json:"calls_succeeded,omitempty"`
  802. // The number of incoming calls that have a completed with a non-OK status
  803. CallsFailed int64 `protobuf:"varint,4,opt,name=calls_failed,json=callsFailed,proto3" json:"calls_failed,omitempty"`
  804. // The last time a call was started on the server.
  805. LastCallStartedTimestamp *timestamp.Timestamp `protobuf:"bytes,5,opt,name=last_call_started_timestamp,json=lastCallStartedTimestamp,proto3" json:"last_call_started_timestamp,omitempty"`
  806. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  807. XXX_unrecognized []byte `json:"-"`
  808. XXX_sizecache int32 `json:"-"`
  809. }
  810. func (m *ServerData) Reset() { *m = ServerData{} }
  811. func (m *ServerData) String() string { return proto.CompactTextString(m) }
  812. func (*ServerData) ProtoMessage() {}
  813. func (*ServerData) Descriptor() ([]byte, []int) {
  814. return fileDescriptor_channelz_449295370a82a4c0, []int{11}
  815. }
  816. func (m *ServerData) XXX_Unmarshal(b []byte) error {
  817. return xxx_messageInfo_ServerData.Unmarshal(m, b)
  818. }
  819. func (m *ServerData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  820. return xxx_messageInfo_ServerData.Marshal(b, m, deterministic)
  821. }
  822. func (dst *ServerData) XXX_Merge(src proto.Message) {
  823. xxx_messageInfo_ServerData.Merge(dst, src)
  824. }
  825. func (m *ServerData) XXX_Size() int {
  826. return xxx_messageInfo_ServerData.Size(m)
  827. }
  828. func (m *ServerData) XXX_DiscardUnknown() {
  829. xxx_messageInfo_ServerData.DiscardUnknown(m)
  830. }
  831. var xxx_messageInfo_ServerData proto.InternalMessageInfo
  832. func (m *ServerData) GetTrace() *ChannelTrace {
  833. if m != nil {
  834. return m.Trace
  835. }
  836. return nil
  837. }
  838. func (m *ServerData) GetCallsStarted() int64 {
  839. if m != nil {
  840. return m.CallsStarted
  841. }
  842. return 0
  843. }
  844. func (m *ServerData) GetCallsSucceeded() int64 {
  845. if m != nil {
  846. return m.CallsSucceeded
  847. }
  848. return 0
  849. }
  850. func (m *ServerData) GetCallsFailed() int64 {
  851. if m != nil {
  852. return m.CallsFailed
  853. }
  854. return 0
  855. }
  856. func (m *ServerData) GetLastCallStartedTimestamp() *timestamp.Timestamp {
  857. if m != nil {
  858. return m.LastCallStartedTimestamp
  859. }
  860. return nil
  861. }
  862. // Information about an actual connection. Pronounced "sock-ay".
  863. type Socket struct {
  864. // The identifier for the Socket.
  865. Ref *SocketRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
  866. // Data specific to this Socket.
  867. Data *SocketData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  868. // The locally bound address.
  869. Local *Address `protobuf:"bytes,3,opt,name=local,proto3" json:"local,omitempty"`
  870. // The remote bound address. May be absent.
  871. Remote *Address `protobuf:"bytes,4,opt,name=remote,proto3" json:"remote,omitempty"`
  872. // Security details for this socket. May be absent if not available, or
  873. // there is no security on the socket.
  874. Security *Security `protobuf:"bytes,5,opt,name=security,proto3" json:"security,omitempty"`
  875. // Optional, represents the name of the remote endpoint, if different than
  876. // the original target name.
  877. RemoteName string `protobuf:"bytes,6,opt,name=remote_name,json=remoteName,proto3" json:"remote_name,omitempty"`
  878. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  879. XXX_unrecognized []byte `json:"-"`
  880. XXX_sizecache int32 `json:"-"`
  881. }
  882. func (m *Socket) Reset() { *m = Socket{} }
  883. func (m *Socket) String() string { return proto.CompactTextString(m) }
  884. func (*Socket) ProtoMessage() {}
  885. func (*Socket) Descriptor() ([]byte, []int) {
  886. return fileDescriptor_channelz_449295370a82a4c0, []int{12}
  887. }
  888. func (m *Socket) XXX_Unmarshal(b []byte) error {
  889. return xxx_messageInfo_Socket.Unmarshal(m, b)
  890. }
  891. func (m *Socket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  892. return xxx_messageInfo_Socket.Marshal(b, m, deterministic)
  893. }
  894. func (dst *Socket) XXX_Merge(src proto.Message) {
  895. xxx_messageInfo_Socket.Merge(dst, src)
  896. }
  897. func (m *Socket) XXX_Size() int {
  898. return xxx_messageInfo_Socket.Size(m)
  899. }
  900. func (m *Socket) XXX_DiscardUnknown() {
  901. xxx_messageInfo_Socket.DiscardUnknown(m)
  902. }
  903. var xxx_messageInfo_Socket proto.InternalMessageInfo
  904. func (m *Socket) GetRef() *SocketRef {
  905. if m != nil {
  906. return m.Ref
  907. }
  908. return nil
  909. }
  910. func (m *Socket) GetData() *SocketData {
  911. if m != nil {
  912. return m.Data
  913. }
  914. return nil
  915. }
  916. func (m *Socket) GetLocal() *Address {
  917. if m != nil {
  918. return m.Local
  919. }
  920. return nil
  921. }
  922. func (m *Socket) GetRemote() *Address {
  923. if m != nil {
  924. return m.Remote
  925. }
  926. return nil
  927. }
  928. func (m *Socket) GetSecurity() *Security {
  929. if m != nil {
  930. return m.Security
  931. }
  932. return nil
  933. }
  934. func (m *Socket) GetRemoteName() string {
  935. if m != nil {
  936. return m.RemoteName
  937. }
  938. return ""
  939. }
  940. // SocketData is data associated for a specific Socket. The fields present
  941. // are specific to the implementation, so there may be minor differences in
  942. // the semantics. (e.g. flow control windows)
  943. type SocketData struct {
  944. // The number of streams that have been started.
  945. StreamsStarted int64 `protobuf:"varint,1,opt,name=streams_started,json=streamsStarted,proto3" json:"streams_started,omitempty"`
  946. // The number of streams that have ended successfully:
  947. // On client side, received frame with eos bit set;
  948. // On server side, sent frame with eos bit set.
  949. StreamsSucceeded int64 `protobuf:"varint,2,opt,name=streams_succeeded,json=streamsSucceeded,proto3" json:"streams_succeeded,omitempty"`
  950. // The number of streams that have ended unsuccessfully:
  951. // On client side, ended without receiving frame with eos bit set;
  952. // On server side, ended without sending frame with eos bit set.
  953. StreamsFailed int64 `protobuf:"varint,3,opt,name=streams_failed,json=streamsFailed,proto3" json:"streams_failed,omitempty"`
  954. // The number of grpc messages successfully sent on this socket.
  955. MessagesSent int64 `protobuf:"varint,4,opt,name=messages_sent,json=messagesSent,proto3" json:"messages_sent,omitempty"`
  956. // The number of grpc messages received on this socket.
  957. MessagesReceived int64 `protobuf:"varint,5,opt,name=messages_received,json=messagesReceived,proto3" json:"messages_received,omitempty"`
  958. // The number of keep alives sent. This is typically implemented with HTTP/2
  959. // ping messages.
  960. KeepAlivesSent int64 `protobuf:"varint,6,opt,name=keep_alives_sent,json=keepAlivesSent,proto3" json:"keep_alives_sent,omitempty"`
  961. // The last time a stream was created by this endpoint. Usually unset for
  962. // servers.
  963. LastLocalStreamCreatedTimestamp *timestamp.Timestamp `protobuf:"bytes,7,opt,name=last_local_stream_created_timestamp,json=lastLocalStreamCreatedTimestamp,proto3" json:"last_local_stream_created_timestamp,omitempty"`
  964. // The last time a stream was created by the remote endpoint. Usually unset
  965. // for clients.
  966. LastRemoteStreamCreatedTimestamp *timestamp.Timestamp `protobuf:"bytes,8,opt,name=last_remote_stream_created_timestamp,json=lastRemoteStreamCreatedTimestamp,proto3" json:"last_remote_stream_created_timestamp,omitempty"`
  967. // The last time a message was sent by this endpoint.
  968. LastMessageSentTimestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_message_sent_timestamp,json=lastMessageSentTimestamp,proto3" json:"last_message_sent_timestamp,omitempty"`
  969. // The last time a message was received by this endpoint.
  970. LastMessageReceivedTimestamp *timestamp.Timestamp `protobuf:"bytes,10,opt,name=last_message_received_timestamp,json=lastMessageReceivedTimestamp,proto3" json:"last_message_received_timestamp,omitempty"`
  971. // The amount of window, granted to the local endpoint by the remote endpoint.
  972. // This may be slightly out of date due to network latency. This does NOT
  973. // include stream level or TCP level flow control info.
  974. LocalFlowControlWindow *wrappers.Int64Value `protobuf:"bytes,11,opt,name=local_flow_control_window,json=localFlowControlWindow,proto3" json:"local_flow_control_window,omitempty"`
  975. // The amount of window, granted to the remote endpoint by the local endpoint.
  976. // This may be slightly out of date due to network latency. This does NOT
  977. // include stream level or TCP level flow control info.
  978. RemoteFlowControlWindow *wrappers.Int64Value `protobuf:"bytes,12,opt,name=remote_flow_control_window,json=remoteFlowControlWindow,proto3" json:"remote_flow_control_window,omitempty"`
  979. // Socket options set on this socket. May be absent if 'summary' is set
  980. // on GetSocketRequest.
  981. Option []*SocketOption `protobuf:"bytes,13,rep,name=option,proto3" json:"option,omitempty"`
  982. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  983. XXX_unrecognized []byte `json:"-"`
  984. XXX_sizecache int32 `json:"-"`
  985. }
  986. func (m *SocketData) Reset() { *m = SocketData{} }
  987. func (m *SocketData) String() string { return proto.CompactTextString(m) }
  988. func (*SocketData) ProtoMessage() {}
  989. func (*SocketData) Descriptor() ([]byte, []int) {
  990. return fileDescriptor_channelz_449295370a82a4c0, []int{13}
  991. }
  992. func (m *SocketData) XXX_Unmarshal(b []byte) error {
  993. return xxx_messageInfo_SocketData.Unmarshal(m, b)
  994. }
  995. func (m *SocketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  996. return xxx_messageInfo_SocketData.Marshal(b, m, deterministic)
  997. }
  998. func (dst *SocketData) XXX_Merge(src proto.Message) {
  999. xxx_messageInfo_SocketData.Merge(dst, src)
  1000. }
  1001. func (m *SocketData) XXX_Size() int {
  1002. return xxx_messageInfo_SocketData.Size(m)
  1003. }
  1004. func (m *SocketData) XXX_DiscardUnknown() {
  1005. xxx_messageInfo_SocketData.DiscardUnknown(m)
  1006. }
  1007. var xxx_messageInfo_SocketData proto.InternalMessageInfo
  1008. func (m *SocketData) GetStreamsStarted() int64 {
  1009. if m != nil {
  1010. return m.StreamsStarted
  1011. }
  1012. return 0
  1013. }
  1014. func (m *SocketData) GetStreamsSucceeded() int64 {
  1015. if m != nil {
  1016. return m.StreamsSucceeded
  1017. }
  1018. return 0
  1019. }
  1020. func (m *SocketData) GetStreamsFailed() int64 {
  1021. if m != nil {
  1022. return m.StreamsFailed
  1023. }
  1024. return 0
  1025. }
  1026. func (m *SocketData) GetMessagesSent() int64 {
  1027. if m != nil {
  1028. return m.MessagesSent
  1029. }
  1030. return 0
  1031. }
  1032. func (m *SocketData) GetMessagesReceived() int64 {
  1033. if m != nil {
  1034. return m.MessagesReceived
  1035. }
  1036. return 0
  1037. }
  1038. func (m *SocketData) GetKeepAlivesSent() int64 {
  1039. if m != nil {
  1040. return m.KeepAlivesSent
  1041. }
  1042. return 0
  1043. }
  1044. func (m *SocketData) GetLastLocalStreamCreatedTimestamp() *timestamp.Timestamp {
  1045. if m != nil {
  1046. return m.LastLocalStreamCreatedTimestamp
  1047. }
  1048. return nil
  1049. }
  1050. func (m *SocketData) GetLastRemoteStreamCreatedTimestamp() *timestamp.Timestamp {
  1051. if m != nil {
  1052. return m.LastRemoteStreamCreatedTimestamp
  1053. }
  1054. return nil
  1055. }
  1056. func (m *SocketData) GetLastMessageSentTimestamp() *timestamp.Timestamp {
  1057. if m != nil {
  1058. return m.LastMessageSentTimestamp
  1059. }
  1060. return nil
  1061. }
  1062. func (m *SocketData) GetLastMessageReceivedTimestamp() *timestamp.Timestamp {
  1063. if m != nil {
  1064. return m.LastMessageReceivedTimestamp
  1065. }
  1066. return nil
  1067. }
  1068. func (m *SocketData) GetLocalFlowControlWindow() *wrappers.Int64Value {
  1069. if m != nil {
  1070. return m.LocalFlowControlWindow
  1071. }
  1072. return nil
  1073. }
  1074. func (m *SocketData) GetRemoteFlowControlWindow() *wrappers.Int64Value {
  1075. if m != nil {
  1076. return m.RemoteFlowControlWindow
  1077. }
  1078. return nil
  1079. }
  1080. func (m *SocketData) GetOption() []*SocketOption {
  1081. if m != nil {
  1082. return m.Option
  1083. }
  1084. return nil
  1085. }
  1086. // Address represents the address used to create the socket.
  1087. type Address struct {
  1088. // Types that are valid to be assigned to Address:
  1089. // *Address_TcpipAddress
  1090. // *Address_UdsAddress_
  1091. // *Address_OtherAddress_
  1092. Address isAddress_Address `protobuf_oneof:"address"`
  1093. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1094. XXX_unrecognized []byte `json:"-"`
  1095. XXX_sizecache int32 `json:"-"`
  1096. }
  1097. func (m *Address) Reset() { *m = Address{} }
  1098. func (m *Address) String() string { return proto.CompactTextString(m) }
  1099. func (*Address) ProtoMessage() {}
  1100. func (*Address) Descriptor() ([]byte, []int) {
  1101. return fileDescriptor_channelz_449295370a82a4c0, []int{14}
  1102. }
  1103. func (m *Address) XXX_Unmarshal(b []byte) error {
  1104. return xxx_messageInfo_Address.Unmarshal(m, b)
  1105. }
  1106. func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1107. return xxx_messageInfo_Address.Marshal(b, m, deterministic)
  1108. }
  1109. func (dst *Address) XXX_Merge(src proto.Message) {
  1110. xxx_messageInfo_Address.Merge(dst, src)
  1111. }
  1112. func (m *Address) XXX_Size() int {
  1113. return xxx_messageInfo_Address.Size(m)
  1114. }
  1115. func (m *Address) XXX_DiscardUnknown() {
  1116. xxx_messageInfo_Address.DiscardUnknown(m)
  1117. }
  1118. var xxx_messageInfo_Address proto.InternalMessageInfo
  1119. type isAddress_Address interface {
  1120. isAddress_Address()
  1121. }
  1122. type Address_TcpipAddress struct {
  1123. TcpipAddress *Address_TcpIpAddress `protobuf:"bytes,1,opt,name=tcpip_address,json=tcpipAddress,proto3,oneof"`
  1124. }
  1125. type Address_UdsAddress_ struct {
  1126. UdsAddress *Address_UdsAddress `protobuf:"bytes,2,opt,name=uds_address,json=udsAddress,proto3,oneof"`
  1127. }
  1128. type Address_OtherAddress_ struct {
  1129. OtherAddress *Address_OtherAddress `protobuf:"bytes,3,opt,name=other_address,json=otherAddress,proto3,oneof"`
  1130. }
  1131. func (*Address_TcpipAddress) isAddress_Address() {}
  1132. func (*Address_UdsAddress_) isAddress_Address() {}
  1133. func (*Address_OtherAddress_) isAddress_Address() {}
  1134. func (m *Address) GetAddress() isAddress_Address {
  1135. if m != nil {
  1136. return m.Address
  1137. }
  1138. return nil
  1139. }
  1140. func (m *Address) GetTcpipAddress() *Address_TcpIpAddress {
  1141. if x, ok := m.GetAddress().(*Address_TcpipAddress); ok {
  1142. return x.TcpipAddress
  1143. }
  1144. return nil
  1145. }
  1146. func (m *Address) GetUdsAddress() *Address_UdsAddress {
  1147. if x, ok := m.GetAddress().(*Address_UdsAddress_); ok {
  1148. return x.UdsAddress
  1149. }
  1150. return nil
  1151. }
  1152. func (m *Address) GetOtherAddress() *Address_OtherAddress {
  1153. if x, ok := m.GetAddress().(*Address_OtherAddress_); ok {
  1154. return x.OtherAddress
  1155. }
  1156. return nil
  1157. }
  1158. // XXX_OneofFuncs is for the internal use of the proto package.
  1159. func (*Address) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  1160. return _Address_OneofMarshaler, _Address_OneofUnmarshaler, _Address_OneofSizer, []interface{}{
  1161. (*Address_TcpipAddress)(nil),
  1162. (*Address_UdsAddress_)(nil),
  1163. (*Address_OtherAddress_)(nil),
  1164. }
  1165. }
  1166. func _Address_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  1167. m := msg.(*Address)
  1168. // address
  1169. switch x := m.Address.(type) {
  1170. case *Address_TcpipAddress:
  1171. b.EncodeVarint(1<<3 | proto.WireBytes)
  1172. if err := b.EncodeMessage(x.TcpipAddress); err != nil {
  1173. return err
  1174. }
  1175. case *Address_UdsAddress_:
  1176. b.EncodeVarint(2<<3 | proto.WireBytes)
  1177. if err := b.EncodeMessage(x.UdsAddress); err != nil {
  1178. return err
  1179. }
  1180. case *Address_OtherAddress_:
  1181. b.EncodeVarint(3<<3 | proto.WireBytes)
  1182. if err := b.EncodeMessage(x.OtherAddress); err != nil {
  1183. return err
  1184. }
  1185. case nil:
  1186. default:
  1187. return fmt.Errorf("Address.Address has unexpected type %T", x)
  1188. }
  1189. return nil
  1190. }
  1191. func _Address_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  1192. m := msg.(*Address)
  1193. switch tag {
  1194. case 1: // address.tcpip_address
  1195. if wire != proto.WireBytes {
  1196. return true, proto.ErrInternalBadWireType
  1197. }
  1198. msg := new(Address_TcpIpAddress)
  1199. err := b.DecodeMessage(msg)
  1200. m.Address = &Address_TcpipAddress{msg}
  1201. return true, err
  1202. case 2: // address.uds_address
  1203. if wire != proto.WireBytes {
  1204. return true, proto.ErrInternalBadWireType
  1205. }
  1206. msg := new(Address_UdsAddress)
  1207. err := b.DecodeMessage(msg)
  1208. m.Address = &Address_UdsAddress_{msg}
  1209. return true, err
  1210. case 3: // address.other_address
  1211. if wire != proto.WireBytes {
  1212. return true, proto.ErrInternalBadWireType
  1213. }
  1214. msg := new(Address_OtherAddress)
  1215. err := b.DecodeMessage(msg)
  1216. m.Address = &Address_OtherAddress_{msg}
  1217. return true, err
  1218. default:
  1219. return false, nil
  1220. }
  1221. }
  1222. func _Address_OneofSizer(msg proto.Message) (n int) {
  1223. m := msg.(*Address)
  1224. // address
  1225. switch x := m.Address.(type) {
  1226. case *Address_TcpipAddress:
  1227. s := proto.Size(x.TcpipAddress)
  1228. n += 1 // tag and wire
  1229. n += proto.SizeVarint(uint64(s))
  1230. n += s
  1231. case *Address_UdsAddress_:
  1232. s := proto.Size(x.UdsAddress)
  1233. n += 1 // tag and wire
  1234. n += proto.SizeVarint(uint64(s))
  1235. n += s
  1236. case *Address_OtherAddress_:
  1237. s := proto.Size(x.OtherAddress)
  1238. n += 1 // tag and wire
  1239. n += proto.SizeVarint(uint64(s))
  1240. n += s
  1241. case nil:
  1242. default:
  1243. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  1244. }
  1245. return n
  1246. }
  1247. type Address_TcpIpAddress struct {
  1248. // Either the IPv4 or IPv6 address in bytes. Will be either 4 bytes or 16
  1249. // bytes in length.
  1250. IpAddress []byte `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
  1251. // 0-64k, or -1 if not appropriate.
  1252. Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
  1253. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1254. XXX_unrecognized []byte `json:"-"`
  1255. XXX_sizecache int32 `json:"-"`
  1256. }
  1257. func (m *Address_TcpIpAddress) Reset() { *m = Address_TcpIpAddress{} }
  1258. func (m *Address_TcpIpAddress) String() string { return proto.CompactTextString(m) }
  1259. func (*Address_TcpIpAddress) ProtoMessage() {}
  1260. func (*Address_TcpIpAddress) Descriptor() ([]byte, []int) {
  1261. return fileDescriptor_channelz_449295370a82a4c0, []int{14, 0}
  1262. }
  1263. func (m *Address_TcpIpAddress) XXX_Unmarshal(b []byte) error {
  1264. return xxx_messageInfo_Address_TcpIpAddress.Unmarshal(m, b)
  1265. }
  1266. func (m *Address_TcpIpAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1267. return xxx_messageInfo_Address_TcpIpAddress.Marshal(b, m, deterministic)
  1268. }
  1269. func (dst *Address_TcpIpAddress) XXX_Merge(src proto.Message) {
  1270. xxx_messageInfo_Address_TcpIpAddress.Merge(dst, src)
  1271. }
  1272. func (m *Address_TcpIpAddress) XXX_Size() int {
  1273. return xxx_messageInfo_Address_TcpIpAddress.Size(m)
  1274. }
  1275. func (m *Address_TcpIpAddress) XXX_DiscardUnknown() {
  1276. xxx_messageInfo_Address_TcpIpAddress.DiscardUnknown(m)
  1277. }
  1278. var xxx_messageInfo_Address_TcpIpAddress proto.InternalMessageInfo
  1279. func (m *Address_TcpIpAddress) GetIpAddress() []byte {
  1280. if m != nil {
  1281. return m.IpAddress
  1282. }
  1283. return nil
  1284. }
  1285. func (m *Address_TcpIpAddress) GetPort() int32 {
  1286. if m != nil {
  1287. return m.Port
  1288. }
  1289. return 0
  1290. }
  1291. // A Unix Domain Socket address.
  1292. type Address_UdsAddress struct {
  1293. Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
  1294. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1295. XXX_unrecognized []byte `json:"-"`
  1296. XXX_sizecache int32 `json:"-"`
  1297. }
  1298. func (m *Address_UdsAddress) Reset() { *m = Address_UdsAddress{} }
  1299. func (m *Address_UdsAddress) String() string { return proto.CompactTextString(m) }
  1300. func (*Address_UdsAddress) ProtoMessage() {}
  1301. func (*Address_UdsAddress) Descriptor() ([]byte, []int) {
  1302. return fileDescriptor_channelz_449295370a82a4c0, []int{14, 1}
  1303. }
  1304. func (m *Address_UdsAddress) XXX_Unmarshal(b []byte) error {
  1305. return xxx_messageInfo_Address_UdsAddress.Unmarshal(m, b)
  1306. }
  1307. func (m *Address_UdsAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1308. return xxx_messageInfo_Address_UdsAddress.Marshal(b, m, deterministic)
  1309. }
  1310. func (dst *Address_UdsAddress) XXX_Merge(src proto.Message) {
  1311. xxx_messageInfo_Address_UdsAddress.Merge(dst, src)
  1312. }
  1313. func (m *Address_UdsAddress) XXX_Size() int {
  1314. return xxx_messageInfo_Address_UdsAddress.Size(m)
  1315. }
  1316. func (m *Address_UdsAddress) XXX_DiscardUnknown() {
  1317. xxx_messageInfo_Address_UdsAddress.DiscardUnknown(m)
  1318. }
  1319. var xxx_messageInfo_Address_UdsAddress proto.InternalMessageInfo
  1320. func (m *Address_UdsAddress) GetFilename() string {
  1321. if m != nil {
  1322. return m.Filename
  1323. }
  1324. return ""
  1325. }
  1326. // An address type not included above.
  1327. type Address_OtherAddress struct {
  1328. // The human readable version of the value. This value should be set.
  1329. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1330. // The actual address message.
  1331. Value *any.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  1332. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1333. XXX_unrecognized []byte `json:"-"`
  1334. XXX_sizecache int32 `json:"-"`
  1335. }
  1336. func (m *Address_OtherAddress) Reset() { *m = Address_OtherAddress{} }
  1337. func (m *Address_OtherAddress) String() string { return proto.CompactTextString(m) }
  1338. func (*Address_OtherAddress) ProtoMessage() {}
  1339. func (*Address_OtherAddress) Descriptor() ([]byte, []int) {
  1340. return fileDescriptor_channelz_449295370a82a4c0, []int{14, 2}
  1341. }
  1342. func (m *Address_OtherAddress) XXX_Unmarshal(b []byte) error {
  1343. return xxx_messageInfo_Address_OtherAddress.Unmarshal(m, b)
  1344. }
  1345. func (m *Address_OtherAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1346. return xxx_messageInfo_Address_OtherAddress.Marshal(b, m, deterministic)
  1347. }
  1348. func (dst *Address_OtherAddress) XXX_Merge(src proto.Message) {
  1349. xxx_messageInfo_Address_OtherAddress.Merge(dst, src)
  1350. }
  1351. func (m *Address_OtherAddress) XXX_Size() int {
  1352. return xxx_messageInfo_Address_OtherAddress.Size(m)
  1353. }
  1354. func (m *Address_OtherAddress) XXX_DiscardUnknown() {
  1355. xxx_messageInfo_Address_OtherAddress.DiscardUnknown(m)
  1356. }
  1357. var xxx_messageInfo_Address_OtherAddress proto.InternalMessageInfo
  1358. func (m *Address_OtherAddress) GetName() string {
  1359. if m != nil {
  1360. return m.Name
  1361. }
  1362. return ""
  1363. }
  1364. func (m *Address_OtherAddress) GetValue() *any.Any {
  1365. if m != nil {
  1366. return m.Value
  1367. }
  1368. return nil
  1369. }
  1370. // Security represents details about how secure the socket is.
  1371. type Security struct {
  1372. // Types that are valid to be assigned to Model:
  1373. // *Security_Tls_
  1374. // *Security_Other
  1375. Model isSecurity_Model `protobuf_oneof:"model"`
  1376. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1377. XXX_unrecognized []byte `json:"-"`
  1378. XXX_sizecache int32 `json:"-"`
  1379. }
  1380. func (m *Security) Reset() { *m = Security{} }
  1381. func (m *Security) String() string { return proto.CompactTextString(m) }
  1382. func (*Security) ProtoMessage() {}
  1383. func (*Security) Descriptor() ([]byte, []int) {
  1384. return fileDescriptor_channelz_449295370a82a4c0, []int{15}
  1385. }
  1386. func (m *Security) XXX_Unmarshal(b []byte) error {
  1387. return xxx_messageInfo_Security.Unmarshal(m, b)
  1388. }
  1389. func (m *Security) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1390. return xxx_messageInfo_Security.Marshal(b, m, deterministic)
  1391. }
  1392. func (dst *Security) XXX_Merge(src proto.Message) {
  1393. xxx_messageInfo_Security.Merge(dst, src)
  1394. }
  1395. func (m *Security) XXX_Size() int {
  1396. return xxx_messageInfo_Security.Size(m)
  1397. }
  1398. func (m *Security) XXX_DiscardUnknown() {
  1399. xxx_messageInfo_Security.DiscardUnknown(m)
  1400. }
  1401. var xxx_messageInfo_Security proto.InternalMessageInfo
  1402. type isSecurity_Model interface {
  1403. isSecurity_Model()
  1404. }
  1405. type Security_Tls_ struct {
  1406. Tls *Security_Tls `protobuf:"bytes,1,opt,name=tls,proto3,oneof"`
  1407. }
  1408. type Security_Other struct {
  1409. Other *Security_OtherSecurity `protobuf:"bytes,2,opt,name=other,proto3,oneof"`
  1410. }
  1411. func (*Security_Tls_) isSecurity_Model() {}
  1412. func (*Security_Other) isSecurity_Model() {}
  1413. func (m *Security) GetModel() isSecurity_Model {
  1414. if m != nil {
  1415. return m.Model
  1416. }
  1417. return nil
  1418. }
  1419. func (m *Security) GetTls() *Security_Tls {
  1420. if x, ok := m.GetModel().(*Security_Tls_); ok {
  1421. return x.Tls
  1422. }
  1423. return nil
  1424. }
  1425. func (m *Security) GetOther() *Security_OtherSecurity {
  1426. if x, ok := m.GetModel().(*Security_Other); ok {
  1427. return x.Other
  1428. }
  1429. return nil
  1430. }
  1431. // XXX_OneofFuncs is for the internal use of the proto package.
  1432. func (*Security) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  1433. return _Security_OneofMarshaler, _Security_OneofUnmarshaler, _Security_OneofSizer, []interface{}{
  1434. (*Security_Tls_)(nil),
  1435. (*Security_Other)(nil),
  1436. }
  1437. }
  1438. func _Security_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  1439. m := msg.(*Security)
  1440. // model
  1441. switch x := m.Model.(type) {
  1442. case *Security_Tls_:
  1443. b.EncodeVarint(1<<3 | proto.WireBytes)
  1444. if err := b.EncodeMessage(x.Tls); err != nil {
  1445. return err
  1446. }
  1447. case *Security_Other:
  1448. b.EncodeVarint(2<<3 | proto.WireBytes)
  1449. if err := b.EncodeMessage(x.Other); err != nil {
  1450. return err
  1451. }
  1452. case nil:
  1453. default:
  1454. return fmt.Errorf("Security.Model has unexpected type %T", x)
  1455. }
  1456. return nil
  1457. }
  1458. func _Security_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  1459. m := msg.(*Security)
  1460. switch tag {
  1461. case 1: // model.tls
  1462. if wire != proto.WireBytes {
  1463. return true, proto.ErrInternalBadWireType
  1464. }
  1465. msg := new(Security_Tls)
  1466. err := b.DecodeMessage(msg)
  1467. m.Model = &Security_Tls_{msg}
  1468. return true, err
  1469. case 2: // model.other
  1470. if wire != proto.WireBytes {
  1471. return true, proto.ErrInternalBadWireType
  1472. }
  1473. msg := new(Security_OtherSecurity)
  1474. err := b.DecodeMessage(msg)
  1475. m.Model = &Security_Other{msg}
  1476. return true, err
  1477. default:
  1478. return false, nil
  1479. }
  1480. }
  1481. func _Security_OneofSizer(msg proto.Message) (n int) {
  1482. m := msg.(*Security)
  1483. // model
  1484. switch x := m.Model.(type) {
  1485. case *Security_Tls_:
  1486. s := proto.Size(x.Tls)
  1487. n += 1 // tag and wire
  1488. n += proto.SizeVarint(uint64(s))
  1489. n += s
  1490. case *Security_Other:
  1491. s := proto.Size(x.Other)
  1492. n += 1 // tag and wire
  1493. n += proto.SizeVarint(uint64(s))
  1494. n += s
  1495. case nil:
  1496. default:
  1497. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  1498. }
  1499. return n
  1500. }
  1501. type Security_Tls struct {
  1502. // Types that are valid to be assigned to CipherSuite:
  1503. // *Security_Tls_StandardName
  1504. // *Security_Tls_OtherName
  1505. CipherSuite isSecurity_Tls_CipherSuite `protobuf_oneof:"cipher_suite"`
  1506. // the certificate used by this endpoint.
  1507. LocalCertificate []byte `protobuf:"bytes,3,opt,name=local_certificate,json=localCertificate,proto3" json:"local_certificate,omitempty"`
  1508. // the certificate used by the remote endpoint.
  1509. RemoteCertificate []byte `protobuf:"bytes,4,opt,name=remote_certificate,json=remoteCertificate,proto3" json:"remote_certificate,omitempty"`
  1510. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1511. XXX_unrecognized []byte `json:"-"`
  1512. XXX_sizecache int32 `json:"-"`
  1513. }
  1514. func (m *Security_Tls) Reset() { *m = Security_Tls{} }
  1515. func (m *Security_Tls) String() string { return proto.CompactTextString(m) }
  1516. func (*Security_Tls) ProtoMessage() {}
  1517. func (*Security_Tls) Descriptor() ([]byte, []int) {
  1518. return fileDescriptor_channelz_449295370a82a4c0, []int{15, 0}
  1519. }
  1520. func (m *Security_Tls) XXX_Unmarshal(b []byte) error {
  1521. return xxx_messageInfo_Security_Tls.Unmarshal(m, b)
  1522. }
  1523. func (m *Security_Tls) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1524. return xxx_messageInfo_Security_Tls.Marshal(b, m, deterministic)
  1525. }
  1526. func (dst *Security_Tls) XXX_Merge(src proto.Message) {
  1527. xxx_messageInfo_Security_Tls.Merge(dst, src)
  1528. }
  1529. func (m *Security_Tls) XXX_Size() int {
  1530. return xxx_messageInfo_Security_Tls.Size(m)
  1531. }
  1532. func (m *Security_Tls) XXX_DiscardUnknown() {
  1533. xxx_messageInfo_Security_Tls.DiscardUnknown(m)
  1534. }
  1535. var xxx_messageInfo_Security_Tls proto.InternalMessageInfo
  1536. type isSecurity_Tls_CipherSuite interface {
  1537. isSecurity_Tls_CipherSuite()
  1538. }
  1539. type Security_Tls_StandardName struct {
  1540. StandardName string `protobuf:"bytes,1,opt,name=standard_name,json=standardName,proto3,oneof"`
  1541. }
  1542. type Security_Tls_OtherName struct {
  1543. OtherName string `protobuf:"bytes,2,opt,name=other_name,json=otherName,proto3,oneof"`
  1544. }
  1545. func (*Security_Tls_StandardName) isSecurity_Tls_CipherSuite() {}
  1546. func (*Security_Tls_OtherName) isSecurity_Tls_CipherSuite() {}
  1547. func (m *Security_Tls) GetCipherSuite() isSecurity_Tls_CipherSuite {
  1548. if m != nil {
  1549. return m.CipherSuite
  1550. }
  1551. return nil
  1552. }
  1553. func (m *Security_Tls) GetStandardName() string {
  1554. if x, ok := m.GetCipherSuite().(*Security_Tls_StandardName); ok {
  1555. return x.StandardName
  1556. }
  1557. return ""
  1558. }
  1559. func (m *Security_Tls) GetOtherName() string {
  1560. if x, ok := m.GetCipherSuite().(*Security_Tls_OtherName); ok {
  1561. return x.OtherName
  1562. }
  1563. return ""
  1564. }
  1565. func (m *Security_Tls) GetLocalCertificate() []byte {
  1566. if m != nil {
  1567. return m.LocalCertificate
  1568. }
  1569. return nil
  1570. }
  1571. func (m *Security_Tls) GetRemoteCertificate() []byte {
  1572. if m != nil {
  1573. return m.RemoteCertificate
  1574. }
  1575. return nil
  1576. }
  1577. // XXX_OneofFuncs is for the internal use of the proto package.
  1578. func (*Security_Tls) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  1579. return _Security_Tls_OneofMarshaler, _Security_Tls_OneofUnmarshaler, _Security_Tls_OneofSizer, []interface{}{
  1580. (*Security_Tls_StandardName)(nil),
  1581. (*Security_Tls_OtherName)(nil),
  1582. }
  1583. }
  1584. func _Security_Tls_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  1585. m := msg.(*Security_Tls)
  1586. // cipher_suite
  1587. switch x := m.CipherSuite.(type) {
  1588. case *Security_Tls_StandardName:
  1589. b.EncodeVarint(1<<3 | proto.WireBytes)
  1590. b.EncodeStringBytes(x.StandardName)
  1591. case *Security_Tls_OtherName:
  1592. b.EncodeVarint(2<<3 | proto.WireBytes)
  1593. b.EncodeStringBytes(x.OtherName)
  1594. case nil:
  1595. default:
  1596. return fmt.Errorf("Security_Tls.CipherSuite has unexpected type %T", x)
  1597. }
  1598. return nil
  1599. }
  1600. func _Security_Tls_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  1601. m := msg.(*Security_Tls)
  1602. switch tag {
  1603. case 1: // cipher_suite.standard_name
  1604. if wire != proto.WireBytes {
  1605. return true, proto.ErrInternalBadWireType
  1606. }
  1607. x, err := b.DecodeStringBytes()
  1608. m.CipherSuite = &Security_Tls_StandardName{x}
  1609. return true, err
  1610. case 2: // cipher_suite.other_name
  1611. if wire != proto.WireBytes {
  1612. return true, proto.ErrInternalBadWireType
  1613. }
  1614. x, err := b.DecodeStringBytes()
  1615. m.CipherSuite = &Security_Tls_OtherName{x}
  1616. return true, err
  1617. default:
  1618. return false, nil
  1619. }
  1620. }
  1621. func _Security_Tls_OneofSizer(msg proto.Message) (n int) {
  1622. m := msg.(*Security_Tls)
  1623. // cipher_suite
  1624. switch x := m.CipherSuite.(type) {
  1625. case *Security_Tls_StandardName:
  1626. n += 1 // tag and wire
  1627. n += proto.SizeVarint(uint64(len(x.StandardName)))
  1628. n += len(x.StandardName)
  1629. case *Security_Tls_OtherName:
  1630. n += 1 // tag and wire
  1631. n += proto.SizeVarint(uint64(len(x.OtherName)))
  1632. n += len(x.OtherName)
  1633. case nil:
  1634. default:
  1635. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  1636. }
  1637. return n
  1638. }
  1639. type Security_OtherSecurity struct {
  1640. // The human readable version of the value.
  1641. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1642. // The actual security details message.
  1643. Value *any.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  1644. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1645. XXX_unrecognized []byte `json:"-"`
  1646. XXX_sizecache int32 `json:"-"`
  1647. }
  1648. func (m *Security_OtherSecurity) Reset() { *m = Security_OtherSecurity{} }
  1649. func (m *Security_OtherSecurity) String() string { return proto.CompactTextString(m) }
  1650. func (*Security_OtherSecurity) ProtoMessage() {}
  1651. func (*Security_OtherSecurity) Descriptor() ([]byte, []int) {
  1652. return fileDescriptor_channelz_449295370a82a4c0, []int{15, 1}
  1653. }
  1654. func (m *Security_OtherSecurity) XXX_Unmarshal(b []byte) error {
  1655. return xxx_messageInfo_Security_OtherSecurity.Unmarshal(m, b)
  1656. }
  1657. func (m *Security_OtherSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1658. return xxx_messageInfo_Security_OtherSecurity.Marshal(b, m, deterministic)
  1659. }
  1660. func (dst *Security_OtherSecurity) XXX_Merge(src proto.Message) {
  1661. xxx_messageInfo_Security_OtherSecurity.Merge(dst, src)
  1662. }
  1663. func (m *Security_OtherSecurity) XXX_Size() int {
  1664. return xxx_messageInfo_Security_OtherSecurity.Size(m)
  1665. }
  1666. func (m *Security_OtherSecurity) XXX_DiscardUnknown() {
  1667. xxx_messageInfo_Security_OtherSecurity.DiscardUnknown(m)
  1668. }
  1669. var xxx_messageInfo_Security_OtherSecurity proto.InternalMessageInfo
  1670. func (m *Security_OtherSecurity) GetName() string {
  1671. if m != nil {
  1672. return m.Name
  1673. }
  1674. return ""
  1675. }
  1676. func (m *Security_OtherSecurity) GetValue() *any.Any {
  1677. if m != nil {
  1678. return m.Value
  1679. }
  1680. return nil
  1681. }
  1682. // SocketOption represents socket options for a socket. Specifically, these
  1683. // are the options returned by getsockopt().
  1684. type SocketOption struct {
  1685. // The full name of the socket option. Typically this will be the upper case
  1686. // name, such as "SO_REUSEPORT".
  1687. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1688. // The human readable value of this socket option. At least one of value or
  1689. // additional will be set.
  1690. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  1691. // Additional data associated with the socket option. At least one of value
  1692. // or additional will be set.
  1693. Additional *any.Any `protobuf:"bytes,3,opt,name=additional,proto3" json:"additional,omitempty"`
  1694. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1695. XXX_unrecognized []byte `json:"-"`
  1696. XXX_sizecache int32 `json:"-"`
  1697. }
  1698. func (m *SocketOption) Reset() { *m = SocketOption{} }
  1699. func (m *SocketOption) String() string { return proto.CompactTextString(m) }
  1700. func (*SocketOption) ProtoMessage() {}
  1701. func (*SocketOption) Descriptor() ([]byte, []int) {
  1702. return fileDescriptor_channelz_449295370a82a4c0, []int{16}
  1703. }
  1704. func (m *SocketOption) XXX_Unmarshal(b []byte) error {
  1705. return xxx_messageInfo_SocketOption.Unmarshal(m, b)
  1706. }
  1707. func (m *SocketOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1708. return xxx_messageInfo_SocketOption.Marshal(b, m, deterministic)
  1709. }
  1710. func (dst *SocketOption) XXX_Merge(src proto.Message) {
  1711. xxx_messageInfo_SocketOption.Merge(dst, src)
  1712. }
  1713. func (m *SocketOption) XXX_Size() int {
  1714. return xxx_messageInfo_SocketOption.Size(m)
  1715. }
  1716. func (m *SocketOption) XXX_DiscardUnknown() {
  1717. xxx_messageInfo_SocketOption.DiscardUnknown(m)
  1718. }
  1719. var xxx_messageInfo_SocketOption proto.InternalMessageInfo
  1720. func (m *SocketOption) GetName() string {
  1721. if m != nil {
  1722. return m.Name
  1723. }
  1724. return ""
  1725. }
  1726. func (m *SocketOption) GetValue() string {
  1727. if m != nil {
  1728. return m.Value
  1729. }
  1730. return ""
  1731. }
  1732. func (m *SocketOption) GetAdditional() *any.Any {
  1733. if m != nil {
  1734. return m.Additional
  1735. }
  1736. return nil
  1737. }
  1738. // For use with SocketOption's additional field. This is primarily used for
  1739. // SO_RCVTIMEO and SO_SNDTIMEO
  1740. type SocketOptionTimeout struct {
  1741. Duration *duration.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"`
  1742. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1743. XXX_unrecognized []byte `json:"-"`
  1744. XXX_sizecache int32 `json:"-"`
  1745. }
  1746. func (m *SocketOptionTimeout) Reset() { *m = SocketOptionTimeout{} }
  1747. func (m *SocketOptionTimeout) String() string { return proto.CompactTextString(m) }
  1748. func (*SocketOptionTimeout) ProtoMessage() {}
  1749. func (*SocketOptionTimeout) Descriptor() ([]byte, []int) {
  1750. return fileDescriptor_channelz_449295370a82a4c0, []int{17}
  1751. }
  1752. func (m *SocketOptionTimeout) XXX_Unmarshal(b []byte) error {
  1753. return xxx_messageInfo_SocketOptionTimeout.Unmarshal(m, b)
  1754. }
  1755. func (m *SocketOptionTimeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1756. return xxx_messageInfo_SocketOptionTimeout.Marshal(b, m, deterministic)
  1757. }
  1758. func (dst *SocketOptionTimeout) XXX_Merge(src proto.Message) {
  1759. xxx_messageInfo_SocketOptionTimeout.Merge(dst, src)
  1760. }
  1761. func (m *SocketOptionTimeout) XXX_Size() int {
  1762. return xxx_messageInfo_SocketOptionTimeout.Size(m)
  1763. }
  1764. func (m *SocketOptionTimeout) XXX_DiscardUnknown() {
  1765. xxx_messageInfo_SocketOptionTimeout.DiscardUnknown(m)
  1766. }
  1767. var xxx_messageInfo_SocketOptionTimeout proto.InternalMessageInfo
  1768. func (m *SocketOptionTimeout) GetDuration() *duration.Duration {
  1769. if m != nil {
  1770. return m.Duration
  1771. }
  1772. return nil
  1773. }
  1774. // For use with SocketOption's additional field. This is primarily used for
  1775. // SO_LINGER.
  1776. type SocketOptionLinger struct {
  1777. // active maps to `struct linger.l_onoff`
  1778. Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
  1779. // duration maps to `struct linger.l_linger`
  1780. Duration *duration.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
  1781. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1782. XXX_unrecognized []byte `json:"-"`
  1783. XXX_sizecache int32 `json:"-"`
  1784. }
  1785. func (m *SocketOptionLinger) Reset() { *m = SocketOptionLinger{} }
  1786. func (m *SocketOptionLinger) String() string { return proto.CompactTextString(m) }
  1787. func (*SocketOptionLinger) ProtoMessage() {}
  1788. func (*SocketOptionLinger) Descriptor() ([]byte, []int) {
  1789. return fileDescriptor_channelz_449295370a82a4c0, []int{18}
  1790. }
  1791. func (m *SocketOptionLinger) XXX_Unmarshal(b []byte) error {
  1792. return xxx_messageInfo_SocketOptionLinger.Unmarshal(m, b)
  1793. }
  1794. func (m *SocketOptionLinger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1795. return xxx_messageInfo_SocketOptionLinger.Marshal(b, m, deterministic)
  1796. }
  1797. func (dst *SocketOptionLinger) XXX_Merge(src proto.Message) {
  1798. xxx_messageInfo_SocketOptionLinger.Merge(dst, src)
  1799. }
  1800. func (m *SocketOptionLinger) XXX_Size() int {
  1801. return xxx_messageInfo_SocketOptionLinger.Size(m)
  1802. }
  1803. func (m *SocketOptionLinger) XXX_DiscardUnknown() {
  1804. xxx_messageInfo_SocketOptionLinger.DiscardUnknown(m)
  1805. }
  1806. var xxx_messageInfo_SocketOptionLinger proto.InternalMessageInfo
  1807. func (m *SocketOptionLinger) GetActive() bool {
  1808. if m != nil {
  1809. return m.Active
  1810. }
  1811. return false
  1812. }
  1813. func (m *SocketOptionLinger) GetDuration() *duration.Duration {
  1814. if m != nil {
  1815. return m.Duration
  1816. }
  1817. return nil
  1818. }
  1819. // For use with SocketOption's additional field. Tcp info for
  1820. // SOL_TCP and TCP_INFO.
  1821. type SocketOptionTcpInfo struct {
  1822. TcpiState uint32 `protobuf:"varint,1,opt,name=tcpi_state,json=tcpiState,proto3" json:"tcpi_state,omitempty"`
  1823. TcpiCaState uint32 `protobuf:"varint,2,opt,name=tcpi_ca_state,json=tcpiCaState,proto3" json:"tcpi_ca_state,omitempty"`
  1824. TcpiRetransmits uint32 `protobuf:"varint,3,opt,name=tcpi_retransmits,json=tcpiRetransmits,proto3" json:"tcpi_retransmits,omitempty"`
  1825. TcpiProbes uint32 `protobuf:"varint,4,opt,name=tcpi_probes,json=tcpiProbes,proto3" json:"tcpi_probes,omitempty"`
  1826. TcpiBackoff uint32 `protobuf:"varint,5,opt,name=tcpi_backoff,json=tcpiBackoff,proto3" json:"tcpi_backoff,omitempty"`
  1827. TcpiOptions uint32 `protobuf:"varint,6,opt,name=tcpi_options,json=tcpiOptions,proto3" json:"tcpi_options,omitempty"`
  1828. TcpiSndWscale uint32 `protobuf:"varint,7,opt,name=tcpi_snd_wscale,json=tcpiSndWscale,proto3" json:"tcpi_snd_wscale,omitempty"`
  1829. TcpiRcvWscale uint32 `protobuf:"varint,8,opt,name=tcpi_rcv_wscale,json=tcpiRcvWscale,proto3" json:"tcpi_rcv_wscale,omitempty"`
  1830. TcpiRto uint32 `protobuf:"varint,9,opt,name=tcpi_rto,json=tcpiRto,proto3" json:"tcpi_rto,omitempty"`
  1831. TcpiAto uint32 `protobuf:"varint,10,opt,name=tcpi_ato,json=tcpiAto,proto3" json:"tcpi_ato,omitempty"`
  1832. TcpiSndMss uint32 `protobuf:"varint,11,opt,name=tcpi_snd_mss,json=tcpiSndMss,proto3" json:"tcpi_snd_mss,omitempty"`
  1833. TcpiRcvMss uint32 `protobuf:"varint,12,opt,name=tcpi_rcv_mss,json=tcpiRcvMss,proto3" json:"tcpi_rcv_mss,omitempty"`
  1834. TcpiUnacked uint32 `protobuf:"varint,13,opt,name=tcpi_unacked,json=tcpiUnacked,proto3" json:"tcpi_unacked,omitempty"`
  1835. TcpiSacked uint32 `protobuf:"varint,14,opt,name=tcpi_sacked,json=tcpiSacked,proto3" json:"tcpi_sacked,omitempty"`
  1836. TcpiLost uint32 `protobuf:"varint,15,opt,name=tcpi_lost,json=tcpiLost,proto3" json:"tcpi_lost,omitempty"`
  1837. TcpiRetrans uint32 `protobuf:"varint,16,opt,name=tcpi_retrans,json=tcpiRetrans,proto3" json:"tcpi_retrans,omitempty"`
  1838. TcpiFackets uint32 `protobuf:"varint,17,opt,name=tcpi_fackets,json=tcpiFackets,proto3" json:"tcpi_fackets,omitempty"`
  1839. TcpiLastDataSent uint32 `protobuf:"varint,18,opt,name=tcpi_last_data_sent,json=tcpiLastDataSent,proto3" json:"tcpi_last_data_sent,omitempty"`
  1840. TcpiLastAckSent uint32 `protobuf:"varint,19,opt,name=tcpi_last_ack_sent,json=tcpiLastAckSent,proto3" json:"tcpi_last_ack_sent,omitempty"`
  1841. TcpiLastDataRecv uint32 `protobuf:"varint,20,opt,name=tcpi_last_data_recv,json=tcpiLastDataRecv,proto3" json:"tcpi_last_data_recv,omitempty"`
  1842. TcpiLastAckRecv uint32 `protobuf:"varint,21,opt,name=tcpi_last_ack_recv,json=tcpiLastAckRecv,proto3" json:"tcpi_last_ack_recv,omitempty"`
  1843. TcpiPmtu uint32 `protobuf:"varint,22,opt,name=tcpi_pmtu,json=tcpiPmtu,proto3" json:"tcpi_pmtu,omitempty"`
  1844. TcpiRcvSsthresh uint32 `protobuf:"varint,23,opt,name=tcpi_rcv_ssthresh,json=tcpiRcvSsthresh,proto3" json:"tcpi_rcv_ssthresh,omitempty"`
  1845. TcpiRtt uint32 `protobuf:"varint,24,opt,name=tcpi_rtt,json=tcpiRtt,proto3" json:"tcpi_rtt,omitempty"`
  1846. TcpiRttvar uint32 `protobuf:"varint,25,opt,name=tcpi_rttvar,json=tcpiRttvar,proto3" json:"tcpi_rttvar,omitempty"`
  1847. TcpiSndSsthresh uint32 `protobuf:"varint,26,opt,name=tcpi_snd_ssthresh,json=tcpiSndSsthresh,proto3" json:"tcpi_snd_ssthresh,omitempty"`
  1848. TcpiSndCwnd uint32 `protobuf:"varint,27,opt,name=tcpi_snd_cwnd,json=tcpiSndCwnd,proto3" json:"tcpi_snd_cwnd,omitempty"`
  1849. TcpiAdvmss uint32 `protobuf:"varint,28,opt,name=tcpi_advmss,json=tcpiAdvmss,proto3" json:"tcpi_advmss,omitempty"`
  1850. TcpiReordering uint32 `protobuf:"varint,29,opt,name=tcpi_reordering,json=tcpiReordering,proto3" json:"tcpi_reordering,omitempty"`
  1851. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1852. XXX_unrecognized []byte `json:"-"`
  1853. XXX_sizecache int32 `json:"-"`
  1854. }
  1855. func (m *SocketOptionTcpInfo) Reset() { *m = SocketOptionTcpInfo{} }
  1856. func (m *SocketOptionTcpInfo) String() string { return proto.CompactTextString(m) }
  1857. func (*SocketOptionTcpInfo) ProtoMessage() {}
  1858. func (*SocketOptionTcpInfo) Descriptor() ([]byte, []int) {
  1859. return fileDescriptor_channelz_449295370a82a4c0, []int{19}
  1860. }
  1861. func (m *SocketOptionTcpInfo) XXX_Unmarshal(b []byte) error {
  1862. return xxx_messageInfo_SocketOptionTcpInfo.Unmarshal(m, b)
  1863. }
  1864. func (m *SocketOptionTcpInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1865. return xxx_messageInfo_SocketOptionTcpInfo.Marshal(b, m, deterministic)
  1866. }
  1867. func (dst *SocketOptionTcpInfo) XXX_Merge(src proto.Message) {
  1868. xxx_messageInfo_SocketOptionTcpInfo.Merge(dst, src)
  1869. }
  1870. func (m *SocketOptionTcpInfo) XXX_Size() int {
  1871. return xxx_messageInfo_SocketOptionTcpInfo.Size(m)
  1872. }
  1873. func (m *SocketOptionTcpInfo) XXX_DiscardUnknown() {
  1874. xxx_messageInfo_SocketOptionTcpInfo.DiscardUnknown(m)
  1875. }
  1876. var xxx_messageInfo_SocketOptionTcpInfo proto.InternalMessageInfo
  1877. func (m *SocketOptionTcpInfo) GetTcpiState() uint32 {
  1878. if m != nil {
  1879. return m.TcpiState
  1880. }
  1881. return 0
  1882. }
  1883. func (m *SocketOptionTcpInfo) GetTcpiCaState() uint32 {
  1884. if m != nil {
  1885. return m.TcpiCaState
  1886. }
  1887. return 0
  1888. }
  1889. func (m *SocketOptionTcpInfo) GetTcpiRetransmits() uint32 {
  1890. if m != nil {
  1891. return m.TcpiRetransmits
  1892. }
  1893. return 0
  1894. }
  1895. func (m *SocketOptionTcpInfo) GetTcpiProbes() uint32 {
  1896. if m != nil {
  1897. return m.TcpiProbes
  1898. }
  1899. return 0
  1900. }
  1901. func (m *SocketOptionTcpInfo) GetTcpiBackoff() uint32 {
  1902. if m != nil {
  1903. return m.TcpiBackoff
  1904. }
  1905. return 0
  1906. }
  1907. func (m *SocketOptionTcpInfo) GetTcpiOptions() uint32 {
  1908. if m != nil {
  1909. return m.TcpiOptions
  1910. }
  1911. return 0
  1912. }
  1913. func (m *SocketOptionTcpInfo) GetTcpiSndWscale() uint32 {
  1914. if m != nil {
  1915. return m.TcpiSndWscale
  1916. }
  1917. return 0
  1918. }
  1919. func (m *SocketOptionTcpInfo) GetTcpiRcvWscale() uint32 {
  1920. if m != nil {
  1921. return m.TcpiRcvWscale
  1922. }
  1923. return 0
  1924. }
  1925. func (m *SocketOptionTcpInfo) GetTcpiRto() uint32 {
  1926. if m != nil {
  1927. return m.TcpiRto
  1928. }
  1929. return 0
  1930. }
  1931. func (m *SocketOptionTcpInfo) GetTcpiAto() uint32 {
  1932. if m != nil {
  1933. return m.TcpiAto
  1934. }
  1935. return 0
  1936. }
  1937. func (m *SocketOptionTcpInfo) GetTcpiSndMss() uint32 {
  1938. if m != nil {
  1939. return m.TcpiSndMss
  1940. }
  1941. return 0
  1942. }
  1943. func (m *SocketOptionTcpInfo) GetTcpiRcvMss() uint32 {
  1944. if m != nil {
  1945. return m.TcpiRcvMss
  1946. }
  1947. return 0
  1948. }
  1949. func (m *SocketOptionTcpInfo) GetTcpiUnacked() uint32 {
  1950. if m != nil {
  1951. return m.TcpiUnacked
  1952. }
  1953. return 0
  1954. }
  1955. func (m *SocketOptionTcpInfo) GetTcpiSacked() uint32 {
  1956. if m != nil {
  1957. return m.TcpiSacked
  1958. }
  1959. return 0
  1960. }
  1961. func (m *SocketOptionTcpInfo) GetTcpiLost() uint32 {
  1962. if m != nil {
  1963. return m.TcpiLost
  1964. }
  1965. return 0
  1966. }
  1967. func (m *SocketOptionTcpInfo) GetTcpiRetrans() uint32 {
  1968. if m != nil {
  1969. return m.TcpiRetrans
  1970. }
  1971. return 0
  1972. }
  1973. func (m *SocketOptionTcpInfo) GetTcpiFackets() uint32 {
  1974. if m != nil {
  1975. return m.TcpiFackets
  1976. }
  1977. return 0
  1978. }
  1979. func (m *SocketOptionTcpInfo) GetTcpiLastDataSent() uint32 {
  1980. if m != nil {
  1981. return m.TcpiLastDataSent
  1982. }
  1983. return 0
  1984. }
  1985. func (m *SocketOptionTcpInfo) GetTcpiLastAckSent() uint32 {
  1986. if m != nil {
  1987. return m.TcpiLastAckSent
  1988. }
  1989. return 0
  1990. }
  1991. func (m *SocketOptionTcpInfo) GetTcpiLastDataRecv() uint32 {
  1992. if m != nil {
  1993. return m.TcpiLastDataRecv
  1994. }
  1995. return 0
  1996. }
  1997. func (m *SocketOptionTcpInfo) GetTcpiLastAckRecv() uint32 {
  1998. if m != nil {
  1999. return m.TcpiLastAckRecv
  2000. }
  2001. return 0
  2002. }
  2003. func (m *SocketOptionTcpInfo) GetTcpiPmtu() uint32 {
  2004. if m != nil {
  2005. return m.TcpiPmtu
  2006. }
  2007. return 0
  2008. }
  2009. func (m *SocketOptionTcpInfo) GetTcpiRcvSsthresh() uint32 {
  2010. if m != nil {
  2011. return m.TcpiRcvSsthresh
  2012. }
  2013. return 0
  2014. }
  2015. func (m *SocketOptionTcpInfo) GetTcpiRtt() uint32 {
  2016. if m != nil {
  2017. return m.TcpiRtt
  2018. }
  2019. return 0
  2020. }
  2021. func (m *SocketOptionTcpInfo) GetTcpiRttvar() uint32 {
  2022. if m != nil {
  2023. return m.TcpiRttvar
  2024. }
  2025. return 0
  2026. }
  2027. func (m *SocketOptionTcpInfo) GetTcpiSndSsthresh() uint32 {
  2028. if m != nil {
  2029. return m.TcpiSndSsthresh
  2030. }
  2031. return 0
  2032. }
  2033. func (m *SocketOptionTcpInfo) GetTcpiSndCwnd() uint32 {
  2034. if m != nil {
  2035. return m.TcpiSndCwnd
  2036. }
  2037. return 0
  2038. }
  2039. func (m *SocketOptionTcpInfo) GetTcpiAdvmss() uint32 {
  2040. if m != nil {
  2041. return m.TcpiAdvmss
  2042. }
  2043. return 0
  2044. }
  2045. func (m *SocketOptionTcpInfo) GetTcpiReordering() uint32 {
  2046. if m != nil {
  2047. return m.TcpiReordering
  2048. }
  2049. return 0
  2050. }
  2051. type GetTopChannelsRequest struct {
  2052. // start_channel_id indicates that only channels at or above this id should be
  2053. // included in the results.
  2054. // To request the first page, this should be set to 0. To request
  2055. // subsequent pages, the client generates this value by adding 1 to
  2056. // the highest seen result ID.
  2057. StartChannelId int64 `protobuf:"varint,1,opt,name=start_channel_id,json=startChannelId,proto3" json:"start_channel_id,omitempty"`
  2058. // If non-zero, the server will return a page of results containing
  2059. // at most this many items. If zero, the server will choose a
  2060. // reasonable page size. Must never be negative.
  2061. MaxResults int64 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
  2062. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2063. XXX_unrecognized []byte `json:"-"`
  2064. XXX_sizecache int32 `json:"-"`
  2065. }
  2066. func (m *GetTopChannelsRequest) Reset() { *m = GetTopChannelsRequest{} }
  2067. func (m *GetTopChannelsRequest) String() string { return proto.CompactTextString(m) }
  2068. func (*GetTopChannelsRequest) ProtoMessage() {}
  2069. func (*GetTopChannelsRequest) Descriptor() ([]byte, []int) {
  2070. return fileDescriptor_channelz_449295370a82a4c0, []int{20}
  2071. }
  2072. func (m *GetTopChannelsRequest) XXX_Unmarshal(b []byte) error {
  2073. return xxx_messageInfo_GetTopChannelsRequest.Unmarshal(m, b)
  2074. }
  2075. func (m *GetTopChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2076. return xxx_messageInfo_GetTopChannelsRequest.Marshal(b, m, deterministic)
  2077. }
  2078. func (dst *GetTopChannelsRequest) XXX_Merge(src proto.Message) {
  2079. xxx_messageInfo_GetTopChannelsRequest.Merge(dst, src)
  2080. }
  2081. func (m *GetTopChannelsRequest) XXX_Size() int {
  2082. return xxx_messageInfo_GetTopChannelsRequest.Size(m)
  2083. }
  2084. func (m *GetTopChannelsRequest) XXX_DiscardUnknown() {
  2085. xxx_messageInfo_GetTopChannelsRequest.DiscardUnknown(m)
  2086. }
  2087. var xxx_messageInfo_GetTopChannelsRequest proto.InternalMessageInfo
  2088. func (m *GetTopChannelsRequest) GetStartChannelId() int64 {
  2089. if m != nil {
  2090. return m.StartChannelId
  2091. }
  2092. return 0
  2093. }
  2094. func (m *GetTopChannelsRequest) GetMaxResults() int64 {
  2095. if m != nil {
  2096. return m.MaxResults
  2097. }
  2098. return 0
  2099. }
  2100. type GetTopChannelsResponse struct {
  2101. // list of channels that the connection detail service knows about. Sorted in
  2102. // ascending channel_id order.
  2103. // Must contain at least 1 result, otherwise 'end' must be true.
  2104. Channel []*Channel `protobuf:"bytes,1,rep,name=channel,proto3" json:"channel,omitempty"`
  2105. // If set, indicates that the list of channels is the final list. Requesting
  2106. // more channels can only return more if they are created after this RPC
  2107. // completes.
  2108. End bool `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
  2109. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2110. XXX_unrecognized []byte `json:"-"`
  2111. XXX_sizecache int32 `json:"-"`
  2112. }
  2113. func (m *GetTopChannelsResponse) Reset() { *m = GetTopChannelsResponse{} }
  2114. func (m *GetTopChannelsResponse) String() string { return proto.CompactTextString(m) }
  2115. func (*GetTopChannelsResponse) ProtoMessage() {}
  2116. func (*GetTopChannelsResponse) Descriptor() ([]byte, []int) {
  2117. return fileDescriptor_channelz_449295370a82a4c0, []int{21}
  2118. }
  2119. func (m *GetTopChannelsResponse) XXX_Unmarshal(b []byte) error {
  2120. return xxx_messageInfo_GetTopChannelsResponse.Unmarshal(m, b)
  2121. }
  2122. func (m *GetTopChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2123. return xxx_messageInfo_GetTopChannelsResponse.Marshal(b, m, deterministic)
  2124. }
  2125. func (dst *GetTopChannelsResponse) XXX_Merge(src proto.Message) {
  2126. xxx_messageInfo_GetTopChannelsResponse.Merge(dst, src)
  2127. }
  2128. func (m *GetTopChannelsResponse) XXX_Size() int {
  2129. return xxx_messageInfo_GetTopChannelsResponse.Size(m)
  2130. }
  2131. func (m *GetTopChannelsResponse) XXX_DiscardUnknown() {
  2132. xxx_messageInfo_GetTopChannelsResponse.DiscardUnknown(m)
  2133. }
  2134. var xxx_messageInfo_GetTopChannelsResponse proto.InternalMessageInfo
  2135. func (m *GetTopChannelsResponse) GetChannel() []*Channel {
  2136. if m != nil {
  2137. return m.Channel
  2138. }
  2139. return nil
  2140. }
  2141. func (m *GetTopChannelsResponse) GetEnd() bool {
  2142. if m != nil {
  2143. return m.End
  2144. }
  2145. return false
  2146. }
  2147. type GetServersRequest struct {
  2148. // start_server_id indicates that only servers at or above this id should be
  2149. // included in the results.
  2150. // To request the first page, this must be set to 0. To request
  2151. // subsequent pages, the client generates this value by adding 1 to
  2152. // the highest seen result ID.
  2153. StartServerId int64 `protobuf:"varint,1,opt,name=start_server_id,json=startServerId,proto3" json:"start_server_id,omitempty"`
  2154. // If non-zero, the server will return a page of results containing
  2155. // at most this many items. If zero, the server will choose a
  2156. // reasonable page size. Must never be negative.
  2157. MaxResults int64 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
  2158. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2159. XXX_unrecognized []byte `json:"-"`
  2160. XXX_sizecache int32 `json:"-"`
  2161. }
  2162. func (m *GetServersRequest) Reset() { *m = GetServersRequest{} }
  2163. func (m *GetServersRequest) String() string { return proto.CompactTextString(m) }
  2164. func (*GetServersRequest) ProtoMessage() {}
  2165. func (*GetServersRequest) Descriptor() ([]byte, []int) {
  2166. return fileDescriptor_channelz_449295370a82a4c0, []int{22}
  2167. }
  2168. func (m *GetServersRequest) XXX_Unmarshal(b []byte) error {
  2169. return xxx_messageInfo_GetServersRequest.Unmarshal(m, b)
  2170. }
  2171. func (m *GetServersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2172. return xxx_messageInfo_GetServersRequest.Marshal(b, m, deterministic)
  2173. }
  2174. func (dst *GetServersRequest) XXX_Merge(src proto.Message) {
  2175. xxx_messageInfo_GetServersRequest.Merge(dst, src)
  2176. }
  2177. func (m *GetServersRequest) XXX_Size() int {
  2178. return xxx_messageInfo_GetServersRequest.Size(m)
  2179. }
  2180. func (m *GetServersRequest) XXX_DiscardUnknown() {
  2181. xxx_messageInfo_GetServersRequest.DiscardUnknown(m)
  2182. }
  2183. var xxx_messageInfo_GetServersRequest proto.InternalMessageInfo
  2184. func (m *GetServersRequest) GetStartServerId() int64 {
  2185. if m != nil {
  2186. return m.StartServerId
  2187. }
  2188. return 0
  2189. }
  2190. func (m *GetServersRequest) GetMaxResults() int64 {
  2191. if m != nil {
  2192. return m.MaxResults
  2193. }
  2194. return 0
  2195. }
  2196. type GetServersResponse struct {
  2197. // list of servers that the connection detail service knows about. Sorted in
  2198. // ascending server_id order.
  2199. // Must contain at least 1 result, otherwise 'end' must be true.
  2200. Server []*Server `protobuf:"bytes,1,rep,name=server,proto3" json:"server,omitempty"`
  2201. // If set, indicates that the list of servers is the final list. Requesting
  2202. // more servers will only return more if they are created after this RPC
  2203. // completes.
  2204. End bool `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
  2205. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2206. XXX_unrecognized []byte `json:"-"`
  2207. XXX_sizecache int32 `json:"-"`
  2208. }
  2209. func (m *GetServersResponse) Reset() { *m = GetServersResponse{} }
  2210. func (m *GetServersResponse) String() string { return proto.CompactTextString(m) }
  2211. func (*GetServersResponse) ProtoMessage() {}
  2212. func (*GetServersResponse) Descriptor() ([]byte, []int) {
  2213. return fileDescriptor_channelz_449295370a82a4c0, []int{23}
  2214. }
  2215. func (m *GetServersResponse) XXX_Unmarshal(b []byte) error {
  2216. return xxx_messageInfo_GetServersResponse.Unmarshal(m, b)
  2217. }
  2218. func (m *GetServersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2219. return xxx_messageInfo_GetServersResponse.Marshal(b, m, deterministic)
  2220. }
  2221. func (dst *GetServersResponse) XXX_Merge(src proto.Message) {
  2222. xxx_messageInfo_GetServersResponse.Merge(dst, src)
  2223. }
  2224. func (m *GetServersResponse) XXX_Size() int {
  2225. return xxx_messageInfo_GetServersResponse.Size(m)
  2226. }
  2227. func (m *GetServersResponse) XXX_DiscardUnknown() {
  2228. xxx_messageInfo_GetServersResponse.DiscardUnknown(m)
  2229. }
  2230. var xxx_messageInfo_GetServersResponse proto.InternalMessageInfo
  2231. func (m *GetServersResponse) GetServer() []*Server {
  2232. if m != nil {
  2233. return m.Server
  2234. }
  2235. return nil
  2236. }
  2237. func (m *GetServersResponse) GetEnd() bool {
  2238. if m != nil {
  2239. return m.End
  2240. }
  2241. return false
  2242. }
  2243. type GetServerRequest struct {
  2244. // server_id is the identifier of the specific server to get.
  2245. ServerId int64 `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
  2246. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2247. XXX_unrecognized []byte `json:"-"`
  2248. XXX_sizecache int32 `json:"-"`
  2249. }
  2250. func (m *GetServerRequest) Reset() { *m = GetServerRequest{} }
  2251. func (m *GetServerRequest) String() string { return proto.CompactTextString(m) }
  2252. func (*GetServerRequest) ProtoMessage() {}
  2253. func (*GetServerRequest) Descriptor() ([]byte, []int) {
  2254. return fileDescriptor_channelz_449295370a82a4c0, []int{24}
  2255. }
  2256. func (m *GetServerRequest) XXX_Unmarshal(b []byte) error {
  2257. return xxx_messageInfo_GetServerRequest.Unmarshal(m, b)
  2258. }
  2259. func (m *GetServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2260. return xxx_messageInfo_GetServerRequest.Marshal(b, m, deterministic)
  2261. }
  2262. func (dst *GetServerRequest) XXX_Merge(src proto.Message) {
  2263. xxx_messageInfo_GetServerRequest.Merge(dst, src)
  2264. }
  2265. func (m *GetServerRequest) XXX_Size() int {
  2266. return xxx_messageInfo_GetServerRequest.Size(m)
  2267. }
  2268. func (m *GetServerRequest) XXX_DiscardUnknown() {
  2269. xxx_messageInfo_GetServerRequest.DiscardUnknown(m)
  2270. }
  2271. var xxx_messageInfo_GetServerRequest proto.InternalMessageInfo
  2272. func (m *GetServerRequest) GetServerId() int64 {
  2273. if m != nil {
  2274. return m.ServerId
  2275. }
  2276. return 0
  2277. }
  2278. type GetServerResponse struct {
  2279. // The Server that corresponds to the requested server_id. This field
  2280. // should be set.
  2281. Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
  2282. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2283. XXX_unrecognized []byte `json:"-"`
  2284. XXX_sizecache int32 `json:"-"`
  2285. }
  2286. func (m *GetServerResponse) Reset() { *m = GetServerResponse{} }
  2287. func (m *GetServerResponse) String() string { return proto.CompactTextString(m) }
  2288. func (*GetServerResponse) ProtoMessage() {}
  2289. func (*GetServerResponse) Descriptor() ([]byte, []int) {
  2290. return fileDescriptor_channelz_449295370a82a4c0, []int{25}
  2291. }
  2292. func (m *GetServerResponse) XXX_Unmarshal(b []byte) error {
  2293. return xxx_messageInfo_GetServerResponse.Unmarshal(m, b)
  2294. }
  2295. func (m *GetServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2296. return xxx_messageInfo_GetServerResponse.Marshal(b, m, deterministic)
  2297. }
  2298. func (dst *GetServerResponse) XXX_Merge(src proto.Message) {
  2299. xxx_messageInfo_GetServerResponse.Merge(dst, src)
  2300. }
  2301. func (m *GetServerResponse) XXX_Size() int {
  2302. return xxx_messageInfo_GetServerResponse.Size(m)
  2303. }
  2304. func (m *GetServerResponse) XXX_DiscardUnknown() {
  2305. xxx_messageInfo_GetServerResponse.DiscardUnknown(m)
  2306. }
  2307. var xxx_messageInfo_GetServerResponse proto.InternalMessageInfo
  2308. func (m *GetServerResponse) GetServer() *Server {
  2309. if m != nil {
  2310. return m.Server
  2311. }
  2312. return nil
  2313. }
  2314. type GetServerSocketsRequest struct {
  2315. ServerId int64 `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
  2316. // start_socket_id indicates that only sockets at or above this id should be
  2317. // included in the results.
  2318. // To request the first page, this must be set to 0. To request
  2319. // subsequent pages, the client generates this value by adding 1 to
  2320. // the highest seen result ID.
  2321. StartSocketId int64 `protobuf:"varint,2,opt,name=start_socket_id,json=startSocketId,proto3" json:"start_socket_id,omitempty"`
  2322. // If non-zero, the server will return a page of results containing
  2323. // at most this many items. If zero, the server will choose a
  2324. // reasonable page size. Must never be negative.
  2325. MaxResults int64 `protobuf:"varint,3,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
  2326. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2327. XXX_unrecognized []byte `json:"-"`
  2328. XXX_sizecache int32 `json:"-"`
  2329. }
  2330. func (m *GetServerSocketsRequest) Reset() { *m = GetServerSocketsRequest{} }
  2331. func (m *GetServerSocketsRequest) String() string { return proto.CompactTextString(m) }
  2332. func (*GetServerSocketsRequest) ProtoMessage() {}
  2333. func (*GetServerSocketsRequest) Descriptor() ([]byte, []int) {
  2334. return fileDescriptor_channelz_449295370a82a4c0, []int{26}
  2335. }
  2336. func (m *GetServerSocketsRequest) XXX_Unmarshal(b []byte) error {
  2337. return xxx_messageInfo_GetServerSocketsRequest.Unmarshal(m, b)
  2338. }
  2339. func (m *GetServerSocketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2340. return xxx_messageInfo_GetServerSocketsRequest.Marshal(b, m, deterministic)
  2341. }
  2342. func (dst *GetServerSocketsRequest) XXX_Merge(src proto.Message) {
  2343. xxx_messageInfo_GetServerSocketsRequest.Merge(dst, src)
  2344. }
  2345. func (m *GetServerSocketsRequest) XXX_Size() int {
  2346. return xxx_messageInfo_GetServerSocketsRequest.Size(m)
  2347. }
  2348. func (m *GetServerSocketsRequest) XXX_DiscardUnknown() {
  2349. xxx_messageInfo_GetServerSocketsRequest.DiscardUnknown(m)
  2350. }
  2351. var xxx_messageInfo_GetServerSocketsRequest proto.InternalMessageInfo
  2352. func (m *GetServerSocketsRequest) GetServerId() int64 {
  2353. if m != nil {
  2354. return m.ServerId
  2355. }
  2356. return 0
  2357. }
  2358. func (m *GetServerSocketsRequest) GetStartSocketId() int64 {
  2359. if m != nil {
  2360. return m.StartSocketId
  2361. }
  2362. return 0
  2363. }
  2364. func (m *GetServerSocketsRequest) GetMaxResults() int64 {
  2365. if m != nil {
  2366. return m.MaxResults
  2367. }
  2368. return 0
  2369. }
  2370. type GetServerSocketsResponse struct {
  2371. // list of socket refs that the connection detail service knows about. Sorted in
  2372. // ascending socket_id order.
  2373. // Must contain at least 1 result, otherwise 'end' must be true.
  2374. SocketRef []*SocketRef `protobuf:"bytes,1,rep,name=socket_ref,json=socketRef,proto3" json:"socket_ref,omitempty"`
  2375. // If set, indicates that the list of sockets is the final list. Requesting
  2376. // more sockets will only return more if they are created after this RPC
  2377. // completes.
  2378. End bool `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
  2379. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2380. XXX_unrecognized []byte `json:"-"`
  2381. XXX_sizecache int32 `json:"-"`
  2382. }
  2383. func (m *GetServerSocketsResponse) Reset() { *m = GetServerSocketsResponse{} }
  2384. func (m *GetServerSocketsResponse) String() string { return proto.CompactTextString(m) }
  2385. func (*GetServerSocketsResponse) ProtoMessage() {}
  2386. func (*GetServerSocketsResponse) Descriptor() ([]byte, []int) {
  2387. return fileDescriptor_channelz_449295370a82a4c0, []int{27}
  2388. }
  2389. func (m *GetServerSocketsResponse) XXX_Unmarshal(b []byte) error {
  2390. return xxx_messageInfo_GetServerSocketsResponse.Unmarshal(m, b)
  2391. }
  2392. func (m *GetServerSocketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2393. return xxx_messageInfo_GetServerSocketsResponse.Marshal(b, m, deterministic)
  2394. }
  2395. func (dst *GetServerSocketsResponse) XXX_Merge(src proto.Message) {
  2396. xxx_messageInfo_GetServerSocketsResponse.Merge(dst, src)
  2397. }
  2398. func (m *GetServerSocketsResponse) XXX_Size() int {
  2399. return xxx_messageInfo_GetServerSocketsResponse.Size(m)
  2400. }
  2401. func (m *GetServerSocketsResponse) XXX_DiscardUnknown() {
  2402. xxx_messageInfo_GetServerSocketsResponse.DiscardUnknown(m)
  2403. }
  2404. var xxx_messageInfo_GetServerSocketsResponse proto.InternalMessageInfo
  2405. func (m *GetServerSocketsResponse) GetSocketRef() []*SocketRef {
  2406. if m != nil {
  2407. return m.SocketRef
  2408. }
  2409. return nil
  2410. }
  2411. func (m *GetServerSocketsResponse) GetEnd() bool {
  2412. if m != nil {
  2413. return m.End
  2414. }
  2415. return false
  2416. }
  2417. type GetChannelRequest struct {
  2418. // channel_id is the identifier of the specific channel to get.
  2419. ChannelId int64 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
  2420. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2421. XXX_unrecognized []byte `json:"-"`
  2422. XXX_sizecache int32 `json:"-"`
  2423. }
  2424. func (m *GetChannelRequest) Reset() { *m = GetChannelRequest{} }
  2425. func (m *GetChannelRequest) String() string { return proto.CompactTextString(m) }
  2426. func (*GetChannelRequest) ProtoMessage() {}
  2427. func (*GetChannelRequest) Descriptor() ([]byte, []int) {
  2428. return fileDescriptor_channelz_449295370a82a4c0, []int{28}
  2429. }
  2430. func (m *GetChannelRequest) XXX_Unmarshal(b []byte) error {
  2431. return xxx_messageInfo_GetChannelRequest.Unmarshal(m, b)
  2432. }
  2433. func (m *GetChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2434. return xxx_messageInfo_GetChannelRequest.Marshal(b, m, deterministic)
  2435. }
  2436. func (dst *GetChannelRequest) XXX_Merge(src proto.Message) {
  2437. xxx_messageInfo_GetChannelRequest.Merge(dst, src)
  2438. }
  2439. func (m *GetChannelRequest) XXX_Size() int {
  2440. return xxx_messageInfo_GetChannelRequest.Size(m)
  2441. }
  2442. func (m *GetChannelRequest) XXX_DiscardUnknown() {
  2443. xxx_messageInfo_GetChannelRequest.DiscardUnknown(m)
  2444. }
  2445. var xxx_messageInfo_GetChannelRequest proto.InternalMessageInfo
  2446. func (m *GetChannelRequest) GetChannelId() int64 {
  2447. if m != nil {
  2448. return m.ChannelId
  2449. }
  2450. return 0
  2451. }
  2452. type GetChannelResponse struct {
  2453. // The Channel that corresponds to the requested channel_id. This field
  2454. // should be set.
  2455. Channel *Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
  2456. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2457. XXX_unrecognized []byte `json:"-"`
  2458. XXX_sizecache int32 `json:"-"`
  2459. }
  2460. func (m *GetChannelResponse) Reset() { *m = GetChannelResponse{} }
  2461. func (m *GetChannelResponse) String() string { return proto.CompactTextString(m) }
  2462. func (*GetChannelResponse) ProtoMessage() {}
  2463. func (*GetChannelResponse) Descriptor() ([]byte, []int) {
  2464. return fileDescriptor_channelz_449295370a82a4c0, []int{29}
  2465. }
  2466. func (m *GetChannelResponse) XXX_Unmarshal(b []byte) error {
  2467. return xxx_messageInfo_GetChannelResponse.Unmarshal(m, b)
  2468. }
  2469. func (m *GetChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2470. return xxx_messageInfo_GetChannelResponse.Marshal(b, m, deterministic)
  2471. }
  2472. func (dst *GetChannelResponse) XXX_Merge(src proto.Message) {
  2473. xxx_messageInfo_GetChannelResponse.Merge(dst, src)
  2474. }
  2475. func (m *GetChannelResponse) XXX_Size() int {
  2476. return xxx_messageInfo_GetChannelResponse.Size(m)
  2477. }
  2478. func (m *GetChannelResponse) XXX_DiscardUnknown() {
  2479. xxx_messageInfo_GetChannelResponse.DiscardUnknown(m)
  2480. }
  2481. var xxx_messageInfo_GetChannelResponse proto.InternalMessageInfo
  2482. func (m *GetChannelResponse) GetChannel() *Channel {
  2483. if m != nil {
  2484. return m.Channel
  2485. }
  2486. return nil
  2487. }
  2488. type GetSubchannelRequest struct {
  2489. // subchannel_id is the identifier of the specific subchannel to get.
  2490. SubchannelId int64 `protobuf:"varint,1,opt,name=subchannel_id,json=subchannelId,proto3" json:"subchannel_id,omitempty"`
  2491. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2492. XXX_unrecognized []byte `json:"-"`
  2493. XXX_sizecache int32 `json:"-"`
  2494. }
  2495. func (m *GetSubchannelRequest) Reset() { *m = GetSubchannelRequest{} }
  2496. func (m *GetSubchannelRequest) String() string { return proto.CompactTextString(m) }
  2497. func (*GetSubchannelRequest) ProtoMessage() {}
  2498. func (*GetSubchannelRequest) Descriptor() ([]byte, []int) {
  2499. return fileDescriptor_channelz_449295370a82a4c0, []int{30}
  2500. }
  2501. func (m *GetSubchannelRequest) XXX_Unmarshal(b []byte) error {
  2502. return xxx_messageInfo_GetSubchannelRequest.Unmarshal(m, b)
  2503. }
  2504. func (m *GetSubchannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2505. return xxx_messageInfo_GetSubchannelRequest.Marshal(b, m, deterministic)
  2506. }
  2507. func (dst *GetSubchannelRequest) XXX_Merge(src proto.Message) {
  2508. xxx_messageInfo_GetSubchannelRequest.Merge(dst, src)
  2509. }
  2510. func (m *GetSubchannelRequest) XXX_Size() int {
  2511. return xxx_messageInfo_GetSubchannelRequest.Size(m)
  2512. }
  2513. func (m *GetSubchannelRequest) XXX_DiscardUnknown() {
  2514. xxx_messageInfo_GetSubchannelRequest.DiscardUnknown(m)
  2515. }
  2516. var xxx_messageInfo_GetSubchannelRequest proto.InternalMessageInfo
  2517. func (m *GetSubchannelRequest) GetSubchannelId() int64 {
  2518. if m != nil {
  2519. return m.SubchannelId
  2520. }
  2521. return 0
  2522. }
  2523. type GetSubchannelResponse struct {
  2524. // The Subchannel that corresponds to the requested subchannel_id. This
  2525. // field should be set.
  2526. Subchannel *Subchannel `protobuf:"bytes,1,opt,name=subchannel,proto3" json:"subchannel,omitempty"`
  2527. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2528. XXX_unrecognized []byte `json:"-"`
  2529. XXX_sizecache int32 `json:"-"`
  2530. }
  2531. func (m *GetSubchannelResponse) Reset() { *m = GetSubchannelResponse{} }
  2532. func (m *GetSubchannelResponse) String() string { return proto.CompactTextString(m) }
  2533. func (*GetSubchannelResponse) ProtoMessage() {}
  2534. func (*GetSubchannelResponse) Descriptor() ([]byte, []int) {
  2535. return fileDescriptor_channelz_449295370a82a4c0, []int{31}
  2536. }
  2537. func (m *GetSubchannelResponse) XXX_Unmarshal(b []byte) error {
  2538. return xxx_messageInfo_GetSubchannelResponse.Unmarshal(m, b)
  2539. }
  2540. func (m *GetSubchannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2541. return xxx_messageInfo_GetSubchannelResponse.Marshal(b, m, deterministic)
  2542. }
  2543. func (dst *GetSubchannelResponse) XXX_Merge(src proto.Message) {
  2544. xxx_messageInfo_GetSubchannelResponse.Merge(dst, src)
  2545. }
  2546. func (m *GetSubchannelResponse) XXX_Size() int {
  2547. return xxx_messageInfo_GetSubchannelResponse.Size(m)
  2548. }
  2549. func (m *GetSubchannelResponse) XXX_DiscardUnknown() {
  2550. xxx_messageInfo_GetSubchannelResponse.DiscardUnknown(m)
  2551. }
  2552. var xxx_messageInfo_GetSubchannelResponse proto.InternalMessageInfo
  2553. func (m *GetSubchannelResponse) GetSubchannel() *Subchannel {
  2554. if m != nil {
  2555. return m.Subchannel
  2556. }
  2557. return nil
  2558. }
  2559. type GetSocketRequest struct {
  2560. // socket_id is the identifier of the specific socket to get.
  2561. SocketId int64 `protobuf:"varint,1,opt,name=socket_id,json=socketId,proto3" json:"socket_id,omitempty"`
  2562. // If true, the response will contain only high level information
  2563. // that is inexpensive to obtain. Fields thay may be omitted are
  2564. // documented.
  2565. Summary bool `protobuf:"varint,2,opt,name=summary,proto3" json:"summary,omitempty"`
  2566. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2567. XXX_unrecognized []byte `json:"-"`
  2568. XXX_sizecache int32 `json:"-"`
  2569. }
  2570. func (m *GetSocketRequest) Reset() { *m = GetSocketRequest{} }
  2571. func (m *GetSocketRequest) String() string { return proto.CompactTextString(m) }
  2572. func (*GetSocketRequest) ProtoMessage() {}
  2573. func (*GetSocketRequest) Descriptor() ([]byte, []int) {
  2574. return fileDescriptor_channelz_449295370a82a4c0, []int{32}
  2575. }
  2576. func (m *GetSocketRequest) XXX_Unmarshal(b []byte) error {
  2577. return xxx_messageInfo_GetSocketRequest.Unmarshal(m, b)
  2578. }
  2579. func (m *GetSocketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2580. return xxx_messageInfo_GetSocketRequest.Marshal(b, m, deterministic)
  2581. }
  2582. func (dst *GetSocketRequest) XXX_Merge(src proto.Message) {
  2583. xxx_messageInfo_GetSocketRequest.Merge(dst, src)
  2584. }
  2585. func (m *GetSocketRequest) XXX_Size() int {
  2586. return xxx_messageInfo_GetSocketRequest.Size(m)
  2587. }
  2588. func (m *GetSocketRequest) XXX_DiscardUnknown() {
  2589. xxx_messageInfo_GetSocketRequest.DiscardUnknown(m)
  2590. }
  2591. var xxx_messageInfo_GetSocketRequest proto.InternalMessageInfo
  2592. func (m *GetSocketRequest) GetSocketId() int64 {
  2593. if m != nil {
  2594. return m.SocketId
  2595. }
  2596. return 0
  2597. }
  2598. func (m *GetSocketRequest) GetSummary() bool {
  2599. if m != nil {
  2600. return m.Summary
  2601. }
  2602. return false
  2603. }
  2604. type GetSocketResponse struct {
  2605. // The Socket that corresponds to the requested socket_id. This field
  2606. // should be set.
  2607. Socket *Socket `protobuf:"bytes,1,opt,name=socket,proto3" json:"socket,omitempty"`
  2608. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2609. XXX_unrecognized []byte `json:"-"`
  2610. XXX_sizecache int32 `json:"-"`
  2611. }
  2612. func (m *GetSocketResponse) Reset() { *m = GetSocketResponse{} }
  2613. func (m *GetSocketResponse) String() string { return proto.CompactTextString(m) }
  2614. func (*GetSocketResponse) ProtoMessage() {}
  2615. func (*GetSocketResponse) Descriptor() ([]byte, []int) {
  2616. return fileDescriptor_channelz_449295370a82a4c0, []int{33}
  2617. }
  2618. func (m *GetSocketResponse) XXX_Unmarshal(b []byte) error {
  2619. return xxx_messageInfo_GetSocketResponse.Unmarshal(m, b)
  2620. }
  2621. func (m *GetSocketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2622. return xxx_messageInfo_GetSocketResponse.Marshal(b, m, deterministic)
  2623. }
  2624. func (dst *GetSocketResponse) XXX_Merge(src proto.Message) {
  2625. xxx_messageInfo_GetSocketResponse.Merge(dst, src)
  2626. }
  2627. func (m *GetSocketResponse) XXX_Size() int {
  2628. return xxx_messageInfo_GetSocketResponse.Size(m)
  2629. }
  2630. func (m *GetSocketResponse) XXX_DiscardUnknown() {
  2631. xxx_messageInfo_GetSocketResponse.DiscardUnknown(m)
  2632. }
  2633. var xxx_messageInfo_GetSocketResponse proto.InternalMessageInfo
  2634. func (m *GetSocketResponse) GetSocket() *Socket {
  2635. if m != nil {
  2636. return m.Socket
  2637. }
  2638. return nil
  2639. }
  2640. func init() {
  2641. proto.RegisterType((*Channel)(nil), "grpc.channelz.v1.Channel")
  2642. proto.RegisterType((*Subchannel)(nil), "grpc.channelz.v1.Subchannel")
  2643. proto.RegisterType((*ChannelConnectivityState)(nil), "grpc.channelz.v1.ChannelConnectivityState")
  2644. proto.RegisterType((*ChannelData)(nil), "grpc.channelz.v1.ChannelData")
  2645. proto.RegisterType((*ChannelTraceEvent)(nil), "grpc.channelz.v1.ChannelTraceEvent")
  2646. proto.RegisterType((*ChannelTrace)(nil), "grpc.channelz.v1.ChannelTrace")
  2647. proto.RegisterType((*ChannelRef)(nil), "grpc.channelz.v1.ChannelRef")
  2648. proto.RegisterType((*SubchannelRef)(nil), "grpc.channelz.v1.SubchannelRef")
  2649. proto.RegisterType((*SocketRef)(nil), "grpc.channelz.v1.SocketRef")
  2650. proto.RegisterType((*ServerRef)(nil), "grpc.channelz.v1.ServerRef")
  2651. proto.RegisterType((*Server)(nil), "grpc.channelz.v1.Server")
  2652. proto.RegisterType((*ServerData)(nil), "grpc.channelz.v1.ServerData")
  2653. proto.RegisterType((*Socket)(nil), "grpc.channelz.v1.Socket")
  2654. proto.RegisterType((*SocketData)(nil), "grpc.channelz.v1.SocketData")
  2655. proto.RegisterType((*Address)(nil), "grpc.channelz.v1.Address")
  2656. proto.RegisterType((*Address_TcpIpAddress)(nil), "grpc.channelz.v1.Address.TcpIpAddress")
  2657. proto.RegisterType((*Address_UdsAddress)(nil), "grpc.channelz.v1.Address.UdsAddress")
  2658. proto.RegisterType((*Address_OtherAddress)(nil), "grpc.channelz.v1.Address.OtherAddress")
  2659. proto.RegisterType((*Security)(nil), "grpc.channelz.v1.Security")
  2660. proto.RegisterType((*Security_Tls)(nil), "grpc.channelz.v1.Security.Tls")
  2661. proto.RegisterType((*Security_OtherSecurity)(nil), "grpc.channelz.v1.Security.OtherSecurity")
  2662. proto.RegisterType((*SocketOption)(nil), "grpc.channelz.v1.SocketOption")
  2663. proto.RegisterType((*SocketOptionTimeout)(nil), "grpc.channelz.v1.SocketOptionTimeout")
  2664. proto.RegisterType((*SocketOptionLinger)(nil), "grpc.channelz.v1.SocketOptionLinger")
  2665. proto.RegisterType((*SocketOptionTcpInfo)(nil), "grpc.channelz.v1.SocketOptionTcpInfo")
  2666. proto.RegisterType((*GetTopChannelsRequest)(nil), "grpc.channelz.v1.GetTopChannelsRequest")
  2667. proto.RegisterType((*GetTopChannelsResponse)(nil), "grpc.channelz.v1.GetTopChannelsResponse")
  2668. proto.RegisterType((*GetServersRequest)(nil), "grpc.channelz.v1.GetServersRequest")
  2669. proto.RegisterType((*GetServersResponse)(nil), "grpc.channelz.v1.GetServersResponse")
  2670. proto.RegisterType((*GetServerRequest)(nil), "grpc.channelz.v1.GetServerRequest")
  2671. proto.RegisterType((*GetServerResponse)(nil), "grpc.channelz.v1.GetServerResponse")
  2672. proto.RegisterType((*GetServerSocketsRequest)(nil), "grpc.channelz.v1.GetServerSocketsRequest")
  2673. proto.RegisterType((*GetServerSocketsResponse)(nil), "grpc.channelz.v1.GetServerSocketsResponse")
  2674. proto.RegisterType((*GetChannelRequest)(nil), "grpc.channelz.v1.GetChannelRequest")
  2675. proto.RegisterType((*GetChannelResponse)(nil), "grpc.channelz.v1.GetChannelResponse")
  2676. proto.RegisterType((*GetSubchannelRequest)(nil), "grpc.channelz.v1.GetSubchannelRequest")
  2677. proto.RegisterType((*GetSubchannelResponse)(nil), "grpc.channelz.v1.GetSubchannelResponse")
  2678. proto.RegisterType((*GetSocketRequest)(nil), "grpc.channelz.v1.GetSocketRequest")
  2679. proto.RegisterType((*GetSocketResponse)(nil), "grpc.channelz.v1.GetSocketResponse")
  2680. proto.RegisterEnum("grpc.channelz.v1.ChannelConnectivityState_State", ChannelConnectivityState_State_name, ChannelConnectivityState_State_value)
  2681. proto.RegisterEnum("grpc.channelz.v1.ChannelTraceEvent_Severity", ChannelTraceEvent_Severity_name, ChannelTraceEvent_Severity_value)
  2682. }
  2683. // Reference imports to suppress errors if they are not otherwise used.
  2684. var _ context.Context
  2685. var _ grpc.ClientConn
  2686. // This is a compile-time assertion to ensure that this generated file
  2687. // is compatible with the grpc package it is being compiled against.
  2688. const _ = grpc.SupportPackageIsVersion4
  2689. // ChannelzClient is the client API for Channelz service.
  2690. //
  2691. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  2692. type ChannelzClient interface {
  2693. // Gets all root channels (i.e. channels the application has directly
  2694. // created). This does not include subchannels nor non-top level channels.
  2695. GetTopChannels(ctx context.Context, in *GetTopChannelsRequest, opts ...grpc.CallOption) (*GetTopChannelsResponse, error)
  2696. // Gets all servers that exist in the process.
  2697. GetServers(ctx context.Context, in *GetServersRequest, opts ...grpc.CallOption) (*GetServersResponse, error)
  2698. // Returns a single Server, or else a NOT_FOUND code.
  2699. GetServer(ctx context.Context, in *GetServerRequest, opts ...grpc.CallOption) (*GetServerResponse, error)
  2700. // Gets all server sockets that exist in the process.
  2701. GetServerSockets(ctx context.Context, in *GetServerSocketsRequest, opts ...grpc.CallOption) (*GetServerSocketsResponse, error)
  2702. // Returns a single Channel, or else a NOT_FOUND code.
  2703. GetChannel(ctx context.Context, in *GetChannelRequest, opts ...grpc.CallOption) (*GetChannelResponse, error)
  2704. // Returns a single Subchannel, or else a NOT_FOUND code.
  2705. GetSubchannel(ctx context.Context, in *GetSubchannelRequest, opts ...grpc.CallOption) (*GetSubchannelResponse, error)
  2706. // Returns a single Socket or else a NOT_FOUND code.
  2707. GetSocket(ctx context.Context, in *GetSocketRequest, opts ...grpc.CallOption) (*GetSocketResponse, error)
  2708. }
  2709. type channelzClient struct {
  2710. cc *grpc.ClientConn
  2711. }
  2712. func NewChannelzClient(cc *grpc.ClientConn) ChannelzClient {
  2713. return &channelzClient{cc}
  2714. }
  2715. func (c *channelzClient) GetTopChannels(ctx context.Context, in *GetTopChannelsRequest, opts ...grpc.CallOption) (*GetTopChannelsResponse, error) {
  2716. out := new(GetTopChannelsResponse)
  2717. err := c.cc.Invoke(ctx, "/grpc.channelz.v1.Channelz/GetTopChannels", in, out, opts...)
  2718. if err != nil {
  2719. return nil, err
  2720. }
  2721. return out, nil
  2722. }
  2723. func (c *channelzClient) GetServers(ctx context.Context, in *GetServersRequest, opts ...grpc.CallOption) (*GetServersResponse, error) {
  2724. out := new(GetServersResponse)
  2725. err := c.cc.Invoke(ctx, "/grpc.channelz.v1.Channelz/GetServers", in, out, opts...)
  2726. if err != nil {
  2727. return nil, err
  2728. }
  2729. return out, nil
  2730. }
  2731. func (c *channelzClient) GetServer(ctx context.Context, in *GetServerRequest, opts ...grpc.CallOption) (*GetServerResponse, error) {
  2732. out := new(GetServerResponse)
  2733. err := c.cc.Invoke(ctx, "/grpc.channelz.v1.Channelz/GetServer", in, out, opts...)
  2734. if err != nil {
  2735. return nil, err
  2736. }
  2737. return out, nil
  2738. }
  2739. func (c *channelzClient) GetServerSockets(ctx context.Context, in *GetServerSocketsRequest, opts ...grpc.CallOption) (*GetServerSocketsResponse, error) {
  2740. out := new(GetServerSocketsResponse)
  2741. err := c.cc.Invoke(ctx, "/grpc.channelz.v1.Channelz/GetServerSockets", in, out, opts...)
  2742. if err != nil {
  2743. return nil, err
  2744. }
  2745. return out, nil
  2746. }
  2747. func (c *channelzClient) GetChannel(ctx context.Context, in *GetChannelRequest, opts ...grpc.CallOption) (*GetChannelResponse, error) {
  2748. out := new(GetChannelResponse)
  2749. err := c.cc.Invoke(ctx, "/grpc.channelz.v1.Channelz/GetChannel", in, out, opts...)
  2750. if err != nil {
  2751. return nil, err
  2752. }
  2753. return out, nil
  2754. }
  2755. func (c *channelzClient) GetSubchannel(ctx context.Context, in *GetSubchannelRequest, opts ...grpc.CallOption) (*GetSubchannelResponse, error) {
  2756. out := new(GetSubchannelResponse)
  2757. err := c.cc.Invoke(ctx, "/grpc.channelz.v1.Channelz/GetSubchannel", in, out, opts...)
  2758. if err != nil {
  2759. return nil, err
  2760. }
  2761. return out, nil
  2762. }
  2763. func (c *channelzClient) GetSocket(ctx context.Context, in *GetSocketRequest, opts ...grpc.CallOption) (*GetSocketResponse, error) {
  2764. out := new(GetSocketResponse)
  2765. err := c.cc.Invoke(ctx, "/grpc.channelz.v1.Channelz/GetSocket", in, out, opts...)
  2766. if err != nil {
  2767. return nil, err
  2768. }
  2769. return out, nil
  2770. }
  2771. // ChannelzServer is the server API for Channelz service.
  2772. type ChannelzServer interface {
  2773. // Gets all root channels (i.e. channels the application has directly
  2774. // created). This does not include subchannels nor non-top level channels.
  2775. GetTopChannels(context.Context, *GetTopChannelsRequest) (*GetTopChannelsResponse, error)
  2776. // Gets all servers that exist in the process.
  2777. GetServers(context.Context, *GetServersRequest) (*GetServersResponse, error)
  2778. // Returns a single Server, or else a NOT_FOUND code.
  2779. GetServer(context.Context, *GetServerRequest) (*GetServerResponse, error)
  2780. // Gets all server sockets that exist in the process.
  2781. GetServerSockets(context.Context, *GetServerSocketsRequest) (*GetServerSocketsResponse, error)
  2782. // Returns a single Channel, or else a NOT_FOUND code.
  2783. GetChannel(context.Context, *GetChannelRequest) (*GetChannelResponse, error)
  2784. // Returns a single Subchannel, or else a NOT_FOUND code.
  2785. GetSubchannel(context.Context, *GetSubchannelRequest) (*GetSubchannelResponse, error)
  2786. // Returns a single Socket or else a NOT_FOUND code.
  2787. GetSocket(context.Context, *GetSocketRequest) (*GetSocketResponse, error)
  2788. }
  2789. func RegisterChannelzServer(s *grpc.Server, srv ChannelzServer) {
  2790. s.RegisterService(&_Channelz_serviceDesc, srv)
  2791. }
  2792. func _Channelz_GetTopChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2793. in := new(GetTopChannelsRequest)
  2794. if err := dec(in); err != nil {
  2795. return nil, err
  2796. }
  2797. if interceptor == nil {
  2798. return srv.(ChannelzServer).GetTopChannels(ctx, in)
  2799. }
  2800. info := &grpc.UnaryServerInfo{
  2801. Server: srv,
  2802. FullMethod: "/grpc.channelz.v1.Channelz/GetTopChannels",
  2803. }
  2804. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2805. return srv.(ChannelzServer).GetTopChannels(ctx, req.(*GetTopChannelsRequest))
  2806. }
  2807. return interceptor(ctx, in, info, handler)
  2808. }
  2809. func _Channelz_GetServers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2810. in := new(GetServersRequest)
  2811. if err := dec(in); err != nil {
  2812. return nil, err
  2813. }
  2814. if interceptor == nil {
  2815. return srv.(ChannelzServer).GetServers(ctx, in)
  2816. }
  2817. info := &grpc.UnaryServerInfo{
  2818. Server: srv,
  2819. FullMethod: "/grpc.channelz.v1.Channelz/GetServers",
  2820. }
  2821. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2822. return srv.(ChannelzServer).GetServers(ctx, req.(*GetServersRequest))
  2823. }
  2824. return interceptor(ctx, in, info, handler)
  2825. }
  2826. func _Channelz_GetServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2827. in := new(GetServerRequest)
  2828. if err := dec(in); err != nil {
  2829. return nil, err
  2830. }
  2831. if interceptor == nil {
  2832. return srv.(ChannelzServer).GetServer(ctx, in)
  2833. }
  2834. info := &grpc.UnaryServerInfo{
  2835. Server: srv,
  2836. FullMethod: "/grpc.channelz.v1.Channelz/GetServer",
  2837. }
  2838. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2839. return srv.(ChannelzServer).GetServer(ctx, req.(*GetServerRequest))
  2840. }
  2841. return interceptor(ctx, in, info, handler)
  2842. }
  2843. func _Channelz_GetServerSockets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2844. in := new(GetServerSocketsRequest)
  2845. if err := dec(in); err != nil {
  2846. return nil, err
  2847. }
  2848. if interceptor == nil {
  2849. return srv.(ChannelzServer).GetServerSockets(ctx, in)
  2850. }
  2851. info := &grpc.UnaryServerInfo{
  2852. Server: srv,
  2853. FullMethod: "/grpc.channelz.v1.Channelz/GetServerSockets",
  2854. }
  2855. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2856. return srv.(ChannelzServer).GetServerSockets(ctx, req.(*GetServerSocketsRequest))
  2857. }
  2858. return interceptor(ctx, in, info, handler)
  2859. }
  2860. func _Channelz_GetChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2861. in := new(GetChannelRequest)
  2862. if err := dec(in); err != nil {
  2863. return nil, err
  2864. }
  2865. if interceptor == nil {
  2866. return srv.(ChannelzServer).GetChannel(ctx, in)
  2867. }
  2868. info := &grpc.UnaryServerInfo{
  2869. Server: srv,
  2870. FullMethod: "/grpc.channelz.v1.Channelz/GetChannel",
  2871. }
  2872. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2873. return srv.(ChannelzServer).GetChannel(ctx, req.(*GetChannelRequest))
  2874. }
  2875. return interceptor(ctx, in, info, handler)
  2876. }
  2877. func _Channelz_GetSubchannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2878. in := new(GetSubchannelRequest)
  2879. if err := dec(in); err != nil {
  2880. return nil, err
  2881. }
  2882. if interceptor == nil {
  2883. return srv.(ChannelzServer).GetSubchannel(ctx, in)
  2884. }
  2885. info := &grpc.UnaryServerInfo{
  2886. Server: srv,
  2887. FullMethod: "/grpc.channelz.v1.Channelz/GetSubchannel",
  2888. }
  2889. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2890. return srv.(ChannelzServer).GetSubchannel(ctx, req.(*GetSubchannelRequest))
  2891. }
  2892. return interceptor(ctx, in, info, handler)
  2893. }
  2894. func _Channelz_GetSocket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2895. in := new(GetSocketRequest)
  2896. if err := dec(in); err != nil {
  2897. return nil, err
  2898. }
  2899. if interceptor == nil {
  2900. return srv.(ChannelzServer).GetSocket(ctx, in)
  2901. }
  2902. info := &grpc.UnaryServerInfo{
  2903. Server: srv,
  2904. FullMethod: "/grpc.channelz.v1.Channelz/GetSocket",
  2905. }
  2906. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2907. return srv.(ChannelzServer).GetSocket(ctx, req.(*GetSocketRequest))
  2908. }
  2909. return interceptor(ctx, in, info, handler)
  2910. }
  2911. var _Channelz_serviceDesc = grpc.ServiceDesc{
  2912. ServiceName: "grpc.channelz.v1.Channelz",
  2913. HandlerType: (*ChannelzServer)(nil),
  2914. Methods: []grpc.MethodDesc{
  2915. {
  2916. MethodName: "GetTopChannels",
  2917. Handler: _Channelz_GetTopChannels_Handler,
  2918. },
  2919. {
  2920. MethodName: "GetServers",
  2921. Handler: _Channelz_GetServers_Handler,
  2922. },
  2923. {
  2924. MethodName: "GetServer",
  2925. Handler: _Channelz_GetServer_Handler,
  2926. },
  2927. {
  2928. MethodName: "GetServerSockets",
  2929. Handler: _Channelz_GetServerSockets_Handler,
  2930. },
  2931. {
  2932. MethodName: "GetChannel",
  2933. Handler: _Channelz_GetChannel_Handler,
  2934. },
  2935. {
  2936. MethodName: "GetSubchannel",
  2937. Handler: _Channelz_GetSubchannel_Handler,
  2938. },
  2939. {
  2940. MethodName: "GetSocket",
  2941. Handler: _Channelz_GetSocket_Handler,
  2942. },
  2943. },
  2944. Streams: []grpc.StreamDesc{},
  2945. Metadata: "grpc/channelz/v1/channelz.proto",
  2946. }
  2947. func init() {
  2948. proto.RegisterFile("grpc/channelz/v1/channelz.proto", fileDescriptor_channelz_449295370a82a4c0)
  2949. }
  2950. var fileDescriptor_channelz_449295370a82a4c0 = []byte{
  2951. // 2584 bytes of a gzipped FileDescriptorProto
  2952. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x59, 0x4b, 0x6f, 0xdb, 0xd8,
  2953. 0xf5, 0xb7, 0xde, 0xd4, 0xd1, 0x23, 0xf2, 0x4d, 0x26, 0x43, 0x2b, 0x99, 0xb1, 0xff, 0xf4, 0x4c,
  2954. 0xc6, 0x93, 0xfc, 0x23, 0xc7, 0x9e, 0x34, 0x28, 0x3a, 0x2d, 0x3a, 0xb6, 0x62, 0xc7, 0x72, 0x1d,
  2955. 0x39, 0xa0, 0xe4, 0x49, 0xa6, 0x28, 0xca, 0xa1, 0xc9, 0x6b, 0x99, 0x35, 0x45, 0xaa, 0xbc, 0x57,
  2956. 0xf2, 0x24, 0x9b, 0x2e, 0xba, 0xef, 0xb2, 0x28, 0xfa, 0x01, 0xba, 0xe9, 0xa2, 0x40, 0x81, 0x02,
  2957. 0xed, 0xb6, 0xdf, 0xa6, 0xdf, 0xa2, 0xb8, 0x0f, 0x3e, 0xf4, 0xb2, 0x14, 0x64, 0xd9, 0x8d, 0x21,
  2958. 0x1e, 0xfe, 0xce, 0xef, 0x9c, 0x7b, 0x5e, 0xf7, 0xf2, 0x1a, 0xd6, 0x7b, 0xc1, 0xc0, 0xda, 0xb6,
  2959. 0x2e, 0x4d, 0xcf, 0xc3, 0xee, 0xbb, 0xed, 0xd1, 0x4e, 0xf4, 0xbb, 0x31, 0x08, 0x7c, 0xea, 0xa3,
  2960. 0x1a, 0x03, 0x34, 0x22, 0xe1, 0x68, 0xa7, 0xbe, 0xd6, 0xf3, 0xfd, 0x9e, 0x8b, 0xb7, 0xf9, 0xfb,
  2961. 0xf3, 0xe1, 0xc5, 0xb6, 0xe9, 0xbd, 0x15, 0xe0, 0xfa, 0xa7, 0x93, 0xaf, 0xec, 0x61, 0x60, 0x52,
  2962. 0xc7, 0xf7, 0xe4, 0xfb, 0xf5, 0xc9, 0xf7, 0xd4, 0xe9, 0x63, 0x42, 0xcd, 0xfe, 0x60, 0x1e, 0xc1,
  2963. 0x75, 0x60, 0x0e, 0x06, 0x38, 0x20, 0xe2, 0xbd, 0xf6, 0xb7, 0x34, 0x14, 0x9a, 0xc2, 0x17, 0xd4,
  2964. 0x80, 0x4c, 0x80, 0x2f, 0xd4, 0xd4, 0x46, 0x6a, 0xab, 0xb4, 0x7b, 0xbf, 0x31, 0xe9, 0x67, 0x43,
  2965. 0xe2, 0x74, 0x7c, 0xa1, 0x33, 0x20, 0xda, 0x81, 0xac, 0x6d, 0x52, 0x53, 0x4d, 0x73, 0x85, 0x4f,
  2966. 0xe6, 0x2a, 0x3c, 0x37, 0xa9, 0xa9, 0x73, 0x28, 0xfa, 0x19, 0x94, 0x24, 0xc0, 0x60, 0xa6, 0x32,
  2967. 0x1b, 0x99, 0x85, 0xa6, 0xc0, 0x8a, 0x7e, 0xa3, 0x43, 0xa8, 0x92, 0xe1, 0x79, 0x92, 0x21, 0xcb,
  2968. 0x19, 0xd6, 0xa7, 0x19, 0x3a, 0x11, 0x8e, 0x91, 0x54, 0x48, 0xf2, 0x11, 0xfd, 0x04, 0x80, 0xf8,
  2969. 0xd6, 0x15, 0xa6, 0x9c, 0x23, 0xc7, 0x39, 0xee, 0xcd, 0xe0, 0xe0, 0x18, 0xa6, 0x5f, 0x24, 0xe1,
  2970. 0x4f, 0xed, 0x1f, 0x69, 0x80, 0x98, 0x1c, 0xed, 0x24, 0x83, 0xb6, 0xd0, 0x8f, 0xff, 0xe1, 0xb8,
  2971. 0xfd, 0x3b, 0x05, 0xaa, 0x74, 0xaf, 0xe9, 0x7b, 0x1e, 0xb6, 0xa8, 0x33, 0x72, 0xe8, 0xdb, 0x0e,
  2972. 0x35, 0x29, 0x46, 0x87, 0x90, 0x23, 0xec, 0x07, 0x8f, 0x63, 0x75, 0xf7, 0xc9, 0xdc, 0x95, 0x4d,
  2973. 0xa9, 0x36, 0xf8, 0x5f, 0x5d, 0xa8, 0x6b, 0xbf, 0x86, 0x9c, 0x20, 0x2c, 0x41, 0xe1, 0xac, 0xfd,
  2974. 0x8b, 0xf6, 0xe9, 0xeb, 0x76, 0x6d, 0x05, 0x29, 0x90, 0x6d, 0x3d, 0x3f, 0x39, 0xa8, 0xa5, 0x50,
  2975. 0x15, 0xa0, 0x79, 0xda, 0x6e, 0x1f, 0x34, 0xbb, 0xad, 0xf6, 0x8b, 0x5a, 0x1a, 0x15, 0x21, 0xa7,
  2976. 0x1f, 0xec, 0x3d, 0xff, 0xae, 0x96, 0x41, 0x1f, 0xc1, 0x6a, 0x57, 0xdf, 0x6b, 0x77, 0x5a, 0x07,
  2977. 0xed, 0xae, 0x71, 0xb8, 0xd7, 0x3a, 0x39, 0xd3, 0x0f, 0x6a, 0x59, 0x54, 0x06, 0xa5, 0x73, 0x74,
  2978. 0xd6, 0x7d, 0xce, 0x98, 0x72, 0xda, 0x7f, 0xd2, 0x50, 0x4a, 0x64, 0x07, 0x7d, 0x93, 0xf4, 0xbb,
  2979. 0xb4, 0xfb, 0x70, 0x79, 0xbf, 0xa5, 0xc7, 0xe8, 0x2e, 0xe4, 0xa9, 0x19, 0xf4, 0x30, 0xe5, 0xe5,
  2980. 0x50, 0xd4, 0xe5, 0x13, 0x7a, 0x0a, 0x39, 0x1a, 0x98, 0x16, 0x56, 0x33, 0x9c, 0xf9, 0xd3, 0xb9,
  2981. 0xcc, 0x5d, 0x86, 0xd2, 0x05, 0x18, 0x6d, 0x42, 0xc5, 0x32, 0x5d, 0x97, 0x18, 0x84, 0x9a, 0x01,
  2982. 0xc5, 0xb6, 0x9a, 0xdd, 0x48, 0x6d, 0x65, 0xf4, 0x32, 0x17, 0x76, 0x84, 0x0c, 0x7d, 0x01, 0xb7,
  2983. 0x24, 0x68, 0x68, 0x59, 0x18, 0xdb, 0xd8, 0x56, 0x73, 0x1c, 0x56, 0x15, 0xb0, 0x50, 0x8a, 0xfe,
  2984. 0x0f, 0x84, 0xa2, 0x71, 0x61, 0x3a, 0x2e, 0xb6, 0xd5, 0x3c, 0x47, 0x95, 0xb8, 0xec, 0x90, 0x8b,
  2985. 0xd0, 0x77, 0x70, 0xcf, 0x35, 0x09, 0x35, 0x98, 0x2c, 0x34, 0x6a, 0x44, 0x43, 0x48, 0x2d, 0x70,
  2986. 0xe7, 0xeb, 0x0d, 0x31, 0x85, 0x1a, 0xe1, 0x14, 0x6a, 0x74, 0x43, 0x84, 0xae, 0x32, 0xf5, 0xa6,
  2987. 0xe9, 0xba, 0xd2, 0xbb, 0xe8, 0x8d, 0xf6, 0xa7, 0x0c, 0xac, 0x26, 0xd7, 0x78, 0x30, 0xc2, 0x1e,
  2988. 0x45, 0x1b, 0x50, 0xb2, 0x31, 0xb1, 0x02, 0x67, 0xc0, 0xc6, 0x20, 0x8f, 0x7b, 0x51, 0x4f, 0x8a,
  2989. 0xd0, 0x11, 0x28, 0x04, 0x8f, 0x70, 0xe0, 0xd0, 0xb7, 0x3c, 0xa6, 0xd5, 0xdd, 0xff, 0xbf, 0x39,
  2990. 0x78, 0x9c, 0xb8, 0xd1, 0x91, 0x3a, 0x7a, 0xa4, 0x8d, 0x7e, 0x0c, 0xc5, 0x78, 0x29, 0x99, 0x85,
  2991. 0x4b, 0x89, 0xc1, 0xe8, 0xe7, 0xe3, 0xfd, 0x9a, 0x5d, 0x3c, 0x52, 0x8f, 0x56, 0xc6, 0x3a, 0xf6,
  2992. 0x68, 0xaa, 0x63, 0x73, 0x4b, 0x4d, 0x98, 0xa3, 0x95, 0x89, 0x9e, 0xd5, 0x0e, 0x40, 0x09, 0x97,
  2993. 0xc6, 0xcb, 0xbf, 0x6b, 0xc4, 0x8d, 0x51, 0x82, 0x42, 0xb3, 0x6b, 0xb4, 0xda, 0x87, 0xa7, 0xb2,
  2994. 0x37, 0xba, 0xc6, 0xeb, 0x3d, 0xbd, 0x2d, 0x7a, 0xa3, 0x0c, 0x4a, 0xb3, 0x6b, 0x1c, 0xe8, 0xfa,
  2995. 0xa9, 0x5e, 0xcb, 0xec, 0x97, 0xa0, 0x68, 0x5d, 0x3a, 0xae, 0xcd, 0x7c, 0x61, 0xbd, 0x5c, 0x4e,
  2996. 0x46, 0x10, 0x3d, 0x84, 0x55, 0x6f, 0xd8, 0x37, 0x30, 0x8b, 0x24, 0x31, 0x5c, 0xbf, 0xd7, 0xc3,
  2997. 0x36, 0xcf, 0x4d, 0x46, 0xbf, 0xe5, 0x0d, 0xfb, 0x3c, 0xc2, 0xe4, 0x84, 0x8b, 0x51, 0x0b, 0x90,
  2998. 0x15, 0x60, 0xbe, 0x8b, 0x25, 0x2a, 0x25, 0xbd, 0x30, 0xbc, 0xab, 0xa1, 0x56, 0x24, 0x42, 0x5f,
  2999. 0x43, 0x5e, 0x98, 0x94, 0x13, 0x71, 0x73, 0x89, 0x44, 0xeb, 0x52, 0x45, 0xb3, 0x00, 0xe2, 0xf0,
  3000. 0xa3, 0x4f, 0x20, 0x0c, 0xbf, 0xe1, 0x84, 0xae, 0x17, 0xa5, 0xa4, 0x65, 0x23, 0x04, 0x59, 0xcf,
  3001. 0xec, 0x63, 0xd9, 0xa4, 0xfc, 0xf7, 0x71, 0x56, 0xc9, 0xd4, 0xb2, 0xc7, 0x59, 0x25, 0x5b, 0xcb,
  3002. 0x1d, 0x67, 0x95, 0x5c, 0x2d, 0x7f, 0x9c, 0x55, 0xf2, 0xb5, 0xc2, 0x71, 0x56, 0x29, 0xd4, 0x94,
  3003. 0xe3, 0xac, 0xa2, 0xd4, 0x8a, 0x9a, 0x0b, 0x95, 0xb1, 0xfc, 0xb0, 0x0e, 0x4d, 0x24, 0xd6, 0xb1,
  3004. 0x79, 0x8b, 0x64, 0xf4, 0x72, 0x2c, 0x4c, 0x58, 0x53, 0xc6, 0xac, 0xa5, 0x6a, 0xe9, 0xe3, 0xac,
  3005. 0x92, 0xae, 0x65, 0xe6, 0x59, 0xd6, 0xbe, 0x87, 0x62, 0x34, 0x7b, 0xd1, 0x3d, 0x90, 0xd3, 0x97,
  3006. 0x59, 0xc9, 0x70, 0x2b, 0x8a, 0x10, 0x24, 0x2c, 0x64, 0xe7, 0x5a, 0x98, 0xbd, 0x1e, 0x66, 0x01,
  3007. 0x07, 0x23, 0x1c, 0x84, 0x16, 0xf8, 0x03, 0xb3, 0x90, 0x93, 0x16, 0xb8, 0x20, 0x61, 0x21, 0xbf,
  3008. 0xd4, 0x1a, 0x62, 0x0b, 0x7f, 0x4d, 0x41, 0x5e, 0x98, 0x40, 0x8f, 0x93, 0x7b, 0xeb, 0xac, 0x7d,
  3009. 0x26, 0xf4, 0x44, 0xec, 0xab, 0x4f, 0xc6, 0xf6, 0xd5, 0xfb, 0xf3, 0xf0, 0x89, 0x6d, 0xf5, 0x1b,
  3010. 0xa8, 0xb8, 0x0e, 0xa1, 0xd8, 0x33, 0x44, 0x60, 0x64, 0x19, 0xdd, 0xb8, 0xa5, 0x95, 0x85, 0x86,
  3011. 0x10, 0x68, 0x7f, 0x60, 0xa7, 0x81, 0x88, 0x36, 0x9e, 0xda, 0xa9, 0x0f, 0x9a, 0xda, 0xe9, 0xe5,
  3012. 0xa6, 0x76, 0x66, 0xa9, 0xa9, 0x9d, 0x7d, 0xef, 0xa9, 0x9d, 0xfb, 0x80, 0xa9, 0xfd, 0x97, 0x34,
  3013. 0xe4, 0x45, 0x6c, 0x16, 0xa7, 0x2f, 0x8a, 0xe9, 0x92, 0xe9, 0xe3, 0xf8, 0x44, 0xfa, 0xb6, 0x21,
  3014. 0xe7, 0xfa, 0x96, 0xe9, 0xca, 0xd9, 0xbc, 0x36, 0xad, 0xb2, 0x67, 0xdb, 0x01, 0x26, 0x44, 0x17,
  3015. 0x38, 0xb4, 0x03, 0xf9, 0x00, 0xf7, 0x7d, 0x8a, 0xe5, 0x44, 0xbe, 0x41, 0x43, 0x02, 0xd1, 0x33,
  3016. 0xb6, 0x9b, 0x58, 0x43, 0xbe, 0x9b, 0x44, 0x71, 0x99, 0x2e, 0x2c, 0x81, 0xd0, 0x23, 0x2c, 0x5a,
  3017. 0x87, 0x92, 0x60, 0x30, 0x12, 0x5d, 0x00, 0x42, 0xd4, 0x36, 0xfb, 0x58, 0xfb, 0x7d, 0x01, 0x20,
  3018. 0x5e, 0x11, 0x4b, 0x2f, 0xa1, 0x01, 0x36, 0xfb, 0x71, 0x15, 0x88, 0x21, 0x54, 0x95, 0xe2, 0xb0,
  3019. 0x0e, 0x1e, 0xc1, 0x6a, 0x04, 0x8c, 0x2a, 0x41, 0x14, 0x4c, 0x2d, 0x84, 0x46, 0xb5, 0xf0, 0x39,
  3020. 0x84, 0xea, 0x61, 0x35, 0x88, 0x9a, 0xa9, 0x48, 0xa9, 0xac, 0x87, 0x4d, 0xa8, 0xf4, 0x31, 0x21,
  3021. 0x66, 0x0f, 0x13, 0x83, 0x60, 0x8f, 0x86, 0xc7, 0x86, 0x50, 0xd8, 0x61, 0x3b, 0xef, 0x23, 0x58,
  3022. 0x8d, 0x40, 0x01, 0xb6, 0xb0, 0x33, 0x8a, 0x0e, 0x0e, 0xb5, 0xf0, 0x85, 0x2e, 0xe5, 0x68, 0x0b,
  3023. 0x6a, 0x57, 0x18, 0x0f, 0x0c, 0xd3, 0x75, 0x46, 0x21, 0xa9, 0x38, 0x3e, 0x54, 0x99, 0x7c, 0x8f,
  3024. 0x8b, 0x39, 0xed, 0x25, 0x6c, 0xf2, 0x5a, 0xe4, 0x19, 0x32, 0x84, 0x5f, 0x06, 0x1f, 0xf5, 0xef,
  3025. 0x79, 0x92, 0x58, 0x67, 0x34, 0x27, 0x8c, 0xa5, 0xc3, 0x49, 0x9a, 0x82, 0x23, 0xde, 0x2d, 0x7e,
  3026. 0x03, 0x9f, 0x71, 0x4b, 0x32, 0x2f, 0x73, 0x4d, 0x29, 0x0b, 0x4d, 0x6d, 0x30, 0x1e, 0x9d, 0xd3,
  3027. 0xcc, 0xb1, 0x15, 0x76, 0x98, 0x0c, 0x0c, 0x0f, 0x40, 0xc2, 0x44, 0x71, 0xb9, 0x0e, 0x7b, 0x29,
  3028. 0xb4, 0x59, 0x9c, 0x62, 0x6a, 0x13, 0xd6, 0xc7, 0xa8, 0xc3, 0x5c, 0x24, 0xe8, 0x61, 0x21, 0xfd,
  3029. 0xfd, 0x04, 0x7d, 0x98, 0xb4, 0xd8, 0xc4, 0xb7, 0xb0, 0x26, 0xd2, 0x71, 0xe1, 0xfa, 0xd7, 0x86,
  3030. 0xe5, 0x7b, 0x34, 0xf0, 0x5d, 0xe3, 0xda, 0xf1, 0x6c, 0xff, 0x5a, 0x2d, 0x85, 0xfd, 0x3c, 0x41,
  3031. 0xde, 0xf2, 0xe8, 0xb3, 0xa7, 0xdf, 0x9a, 0xee, 0x10, 0xeb, 0x77, 0xb9, 0xf6, 0xa1, 0xeb, 0x5f,
  3032. 0x37, 0x85, 0xee, 0x6b, 0xae, 0x8a, 0xde, 0x40, 0x5d, 0x06, 0x7f, 0x16, 0x71, 0x79, 0x31, 0xf1,
  3033. 0xc7, 0x42, 0x7d, 0x9a, 0xf9, 0x19, 0xe4, 0x7d, 0x71, 0x22, 0xac, 0xf0, 0x11, 0xfe, 0xe9, 0xbc,
  3034. 0xf1, 0x71, 0xca, 0x51, 0xba, 0x44, 0x6b, 0xff, 0xcc, 0x40, 0x41, 0xb6, 0x3c, 0x7a, 0x09, 0x15,
  3035. 0x6a, 0x0d, 0x9c, 0x81, 0x61, 0x0a, 0x81, 0x9c, 0x5c, 0x0f, 0xe6, 0x0e, 0x89, 0x46, 0xd7, 0x1a,
  3036. 0xb4, 0x06, 0xf2, 0xe1, 0x68, 0x45, 0x2f, 0x73, 0xf5, 0x90, 0xee, 0x05, 0x94, 0x86, 0x36, 0x89,
  3037. 0xc8, 0xc4, 0x58, 0xfb, 0x6c, 0x3e, 0xd9, 0x99, 0x4d, 0x62, 0x2a, 0x18, 0x46, 0x4f, 0xcc, 0x2f,
  3038. 0x9f, 0x5e, 0xe2, 0x20, 0xa2, 0xca, 0x2c, 0xf2, 0xeb, 0x94, 0xc1, 0x13, 0x7e, 0xf9, 0x89, 0xe7,
  3039. 0xfa, 0x1e, 0x94, 0x93, 0x7e, 0xb3, 0x93, 0xcf, 0xc4, 0x9a, 0xcb, 0x7a, 0x31, 0x5e, 0x06, 0x82,
  3040. 0xec, 0xc0, 0x0f, 0xc4, 0xe7, 0x49, 0x4e, 0xe7, 0xbf, 0xeb, 0x5b, 0x00, 0xb1, 0xb7, 0xa8, 0x0e,
  3041. 0xca, 0x85, 0xe3, 0x62, 0x3e, 0xe7, 0xc4, 0x79, 0x3c, 0x7a, 0xae, 0xb7, 0xa1, 0x9c, 0x74, 0x26,
  3042. 0x3a, 0x15, 0xa4, 0xe2, 0x53, 0x01, 0x7a, 0x08, 0xb9, 0x11, 0xcb, 0xae, 0x0c, 0xd1, 0x9d, 0xa9,
  3043. 0x02, 0xd8, 0xf3, 0xde, 0xea, 0x02, 0xb2, 0x5f, 0x84, 0x82, 0xf4, 0x54, 0xfb, 0x63, 0x86, 0x9d,
  3044. 0x6c, 0xe5, 0xb8, 0xdd, 0x85, 0x0c, 0x75, 0xc9, 0xfc, 0x6d, 0x37, 0x04, 0x36, 0xba, 0x2e, 0x8b,
  3045. 0x08, 0x03, 0xb3, 0x8f, 0x37, 0x1e, 0x18, 0x69, 0x77, 0xeb, 0x06, 0x2d, 0xbe, 0x86, 0xf0, 0xe9,
  3046. 0x68, 0x45, 0x17, 0x8a, 0xf5, 0x7f, 0xa5, 0x20, 0xd3, 0x75, 0x09, 0xfa, 0x1c, 0x2a, 0x84, 0x9a,
  3047. 0x9e, 0x6d, 0x06, 0xb6, 0x11, 0x2f, 0x8f, 0x45, 0x3e, 0x14, 0xb3, 0x91, 0x8f, 0xd6, 0x01, 0x44,
  3048. 0x22, 0xe3, 0xa3, 0xe4, 0xd1, 0x8a, 0x5e, 0xe4, 0x32, 0x0e, 0x78, 0x04, 0xab, 0xa2, 0xef, 0x2c,
  3049. 0x1c, 0x50, 0xe7, 0xc2, 0xb1, 0xd8, 0xa7, 0x65, 0x86, 0x67, 0xa4, 0xc6, 0x5f, 0x34, 0x63, 0x39,
  3050. 0x7a, 0x0c, 0x48, 0x36, 0x53, 0x12, 0x9d, 0xe5, 0xe8, 0x55, 0xf1, 0x26, 0x01, 0xdf, 0xaf, 0x42,
  3051. 0xd9, 0x72, 0x06, 0xcc, 0x3a, 0x19, 0x3a, 0x14, 0xd7, 0x4f, 0xa1, 0x32, 0xb6, 0xaa, 0x0f, 0x4e,
  3052. 0x4d, 0x01, 0x72, 0x7d, 0xdf, 0xc6, 0xae, 0xe6, 0x41, 0x39, 0xd9, 0x6b, 0x33, 0x89, 0xef, 0x24,
  3053. 0x89, 0x8b, 0x92, 0x02, 0x3d, 0x05, 0x30, 0x6d, 0xdb, 0x61, 0x5a, 0xd1, 0xae, 0x3e, 0xdb, 0x66,
  3054. 0x02, 0xa7, 0x9d, 0xc0, 0xed, 0xa4, 0x3d, 0x36, 0xc6, 0xfc, 0x21, 0x45, 0x3f, 0x02, 0x25, 0xbc,
  3055. 0x2d, 0x93, 0x75, 0xb1, 0x36, 0x45, 0xf5, 0x5c, 0x02, 0xf4, 0x08, 0xaa, 0x59, 0x80, 0x92, 0x6c,
  3056. 0x27, 0x8e, 0xd7, 0xc3, 0x01, 0xfb, 0x4c, 0x37, 0xd9, 0xe7, 0xbb, 0x58, 0x85, 0xa2, 0xcb, 0xa7,
  3057. 0x31, 0x23, 0xe9, 0xe5, 0x8d, 0xfc, 0x5d, 0x99, 0xf0, 0xd9, 0x1a, 0xb4, 0xbc, 0x0b, 0x9f, 0xf5,
  3058. 0x22, 0x9b, 0x21, 0x46, 0x7c, 0xa9, 0x50, 0xd1, 0x8b, 0x4c, 0x22, 0x6e, 0x35, 0x34, 0x31, 0xa1,
  3059. 0x0c, 0xcb, 0x94, 0x88, 0x34, 0x47, 0x94, 0x98, 0xb0, 0x69, 0x0a, 0xcc, 0x97, 0x50, 0xe3, 0x98,
  3060. 0x00, 0xd3, 0xc0, 0xf4, 0x48, 0xdf, 0xa1, 0x62, 0x60, 0x54, 0xf4, 0x5b, 0x4c, 0xae, 0xc7, 0x62,
  3061. 0x76, 0x46, 0xe1, 0xd0, 0x41, 0xe0, 0x9f, 0x63, 0xc2, 0x4b, 0xa7, 0xa2, 0x73, 0x07, 0x5e, 0x71,
  3062. 0x09, 0x3b, 0x4a, 0x72, 0xc0, 0xb9, 0x69, 0x5d, 0xf9, 0x17, 0xe2, 0x1b, 0x54, 0x9a, 0xdb, 0x17,
  3063. 0xa2, 0x08, 0x22, 0xe6, 0x29, 0xe1, 0x9b, 0xbc, 0x84, 0x88, 0xa5, 0x11, 0xf4, 0x00, 0x6e, 0x89,
  3064. 0x45, 0x79, 0xb6, 0x71, 0x4d, 0x2c, 0xd3, 0xc5, 0x7c, 0x37, 0xaf, 0xe8, 0x7c, 0x31, 0x1d, 0xcf,
  3065. 0x7e, 0xcd, 0x85, 0x11, 0x2e, 0xb0, 0x46, 0x21, 0x4e, 0x89, 0x71, 0xba, 0x35, 0x92, 0xb8, 0x35,
  3066. 0x50, 0x04, 0x8e, 0xfa, 0x7c, 0x23, 0xad, 0xe8, 0x05, 0x0e, 0xa0, 0x7e, 0xf4, 0xca, 0xa4, 0x3e,
  3067. 0xdf, 0x04, 0xe5, 0xab, 0x3d, 0xea, 0xa3, 0x0d, 0xe9, 0x28, 0xf3, 0xa2, 0x4f, 0x08, 0xdf, 0xc6,
  3068. 0xe4, 0x6a, 0x3b, 0x9e, 0xfd, 0x92, 0x90, 0x08, 0xc1, 0xec, 0x33, 0x44, 0x39, 0x46, 0xe8, 0xd6,
  3069. 0x88, 0x21, 0xc2, 0xc5, 0x0e, 0x3d, 0xd3, 0xba, 0xc2, 0xb6, 0x5a, 0x89, 0x17, 0x7b, 0x26, 0x44,
  3070. 0x51, 0x4c, 0x89, 0x40, 0x54, 0x13, 0x56, 0x04, 0xe0, 0x1e, 0xf0, 0x84, 0x1a, 0xae, 0x4f, 0xa8,
  3071. 0x7a, 0x8b, 0xbf, 0xe6, 0x3e, 0x9f, 0xf8, 0x84, 0x46, 0x06, 0x64, 0xf2, 0xd4, 0x5a, 0x6c, 0x40,
  3072. 0x26, 0x2e, 0x82, 0x5c, 0x30, 0x3a, 0x4a, 0xd4, 0xd5, 0x18, 0x72, 0x28, 0x44, 0xe8, 0x31, 0xdc,
  3073. 0x16, 0x26, 0xd8, 0x31, 0x81, 0x9d, 0x94, 0xc5, 0xf9, 0x0b, 0x71, 0x24, 0xaf, 0x8e, 0x13, 0x93,
  3074. 0xf0, 0x63, 0xa7, 0x3c, 0xd8, 0xa1, 0x18, 0x6e, 0x5a, 0x57, 0x02, 0x7d, 0x3b, 0xae, 0x19, 0x86,
  3075. 0xde, 0xb3, 0xae, 0x38, 0x78, 0x9a, 0x3b, 0xc0, 0xd6, 0x48, 0xbd, 0x33, 0xcd, 0xad, 0x63, 0x6b,
  3076. 0x34, 0xcd, 0xcd, 0xd1, 0x1f, 0x4d, 0x71, 0x73, 0x70, 0x18, 0x9a, 0x41, 0x9f, 0x0e, 0xd5, 0xbb,
  3077. 0x71, 0x68, 0x5e, 0xf5, 0xe9, 0x10, 0x3d, 0x84, 0xd5, 0x28, 0x3b, 0x84, 0xd0, 0xcb, 0x00, 0x93,
  3078. 0x4b, 0xf5, 0xe3, 0x44, 0x61, 0x5b, 0xa3, 0x8e, 0x14, 0x27, 0x2a, 0x84, 0xaa, 0x6a, 0xb2, 0x42,
  3079. 0x68, 0x94, 0x9f, 0x80, 0xd2, 0x91, 0x19, 0xa8, 0x6b, 0x89, 0x1c, 0x73, 0x49, 0x64, 0x87, 0xd5,
  3080. 0x49, 0x64, 0xa7, 0x1e, 0xdb, 0xe9, 0x78, 0x76, 0x64, 0x27, 0xec, 0x47, 0x86, 0xb5, 0xae, 0x3d,
  3081. 0x5b, 0xbd, 0x17, 0x27, 0xa3, 0xe3, 0xd9, 0xcd, 0x6b, 0x2f, 0x2e, 0x08, 0xd3, 0x1e, 0xb1, 0xa2,
  3082. 0xba, 0x1f, 0x1b, 0xdc, 0xe3, 0x12, 0x76, 0xf2, 0x97, 0x39, 0xf7, 0x03, 0x1b, 0x07, 0x8e, 0xd7,
  3083. 0x53, 0x3f, 0xe1, 0xa0, 0xaa, 0x48, 0x7b, 0x28, 0xd5, 0xce, 0xe1, 0xa3, 0x17, 0x98, 0x76, 0xfd,
  3084. 0x81, 0xfc, 0x86, 0x24, 0x3a, 0xfe, 0xed, 0x10, 0x13, 0xca, 0x0e, 0xdb, 0xfc, 0x9b, 0xc1, 0x98,
  3085. 0xba, 0xc1, 0xa8, 0x72, 0x79, 0x33, 0xba, 0x58, 0x58, 0x87, 0x52, 0xdf, 0xfc, 0xc1, 0x08, 0x30,
  3086. 0x19, 0xba, 0x94, 0xc8, 0xcf, 0x06, 0xe8, 0x9b, 0x3f, 0xe8, 0x42, 0xa2, 0x19, 0x70, 0x77, 0xd2,
  3087. 0x06, 0x19, 0xf8, 0x1e, 0xc1, 0xe8, 0x2b, 0x28, 0x48, 0x7a, 0x35, 0xc5, 0x8f, 0x58, 0x6b, 0xf3,
  3088. 0xaf, 0xb3, 0x42, 0x24, 0xaa, 0x41, 0x06, 0x7b, 0xe2, 0xf3, 0x44, 0xd1, 0xd9, 0x4f, 0xed, 0x57,
  3089. 0xb0, 0xfa, 0x02, 0x53, 0xf1, 0xc9, 0x1c, 0x2d, 0xe0, 0x01, 0xfb, 0xf8, 0x61, 0x0b, 0x88, 0xaf,
  3090. 0x13, 0x52, 0xe1, 0x77, 0x8a, 0x19, 0x48, 0xf4, 0x32, 0xee, 0xbf, 0x01, 0x94, 0x64, 0x97, 0xae,
  3091. 0x3f, 0x81, 0xbc, 0x20, 0x96, 0x9e, 0xab, 0x73, 0xaf, 0x12, 0x24, 0x6e, 0x86, 0xdf, 0xdb, 0x50,
  3092. 0x8b, 0x98, 0x43, 0xb7, 0xc7, 0xee, 0x3f, 0x52, 0xe3, 0xf7, 0x1f, 0xda, 0x41, 0x62, 0xa1, 0x33,
  3093. 0x3d, 0x49, 0x2d, 0xe3, 0x89, 0xf6, 0x3b, 0xf8, 0x38, 0xa2, 0x11, 0x3b, 0x06, 0x59, 0xc6, 0x7c,
  3094. 0x22, 0xa4, 0xd1, 0x1d, 0x50, 0x3a, 0x19, 0xd2, 0xf0, 0x22, 0x68, 0x22, 0xa4, 0x99, 0xa9, 0x90,
  3095. 0x5e, 0x82, 0x3a, 0xed, 0x80, 0x5c, 0xce, 0xf8, 0xff, 0x03, 0x52, 0xef, 0xf3, 0xff, 0x80, 0x19,
  3096. 0x21, 0xde, 0xe5, 0x11, 0x8b, 0xee, 0xe4, 0xc4, 0x22, 0x6f, 0xbe, 0x97, 0xd3, 0x5a, 0x3c, 0xe1,
  3097. 0x91, 0xce, 0xac, 0x5a, 0x4d, 0x2d, 0x57, 0xab, 0xda, 0xd7, 0x70, 0x87, 0x2d, 0x34, 0x71, 0x5b,
  3098. 0x27, 0x3c, 0x98, 0xba, 0xb1, 0x4b, 0x4d, 0xdf, 0xd8, 0x69, 0x67, 0xbc, 0x37, 0x93, 0xca, 0xd2,
  3099. 0x95, 0x9f, 0x02, 0xc4, 0xc0, 0xf9, 0xff, 0x5b, 0x4b, 0x68, 0x26, 0xf0, 0x5a, 0x4b, 0x54, 0x9d,
  3100. 0x0c, 0x5a, 0x9c, 0xf6, 0x28, 0xa7, 0xa9, 0x89, 0x7b, 0x3d, 0x15, 0x0a, 0x64, 0xd8, 0xef, 0x9b,
  3101. 0xc1, 0x5b, 0x19, 0xd9, 0xf0, 0x31, 0xac, 0x47, 0x49, 0x95, 0xa8, 0x47, 0x71, 0xf3, 0x35, 0xbf,
  3102. 0x1e, 0x85, 0x86, 0xc4, 0xed, 0xfe, 0x39, 0x07, 0x8a, 0x0c, 0xdd, 0x3b, 0x64, 0x41, 0x75, 0x7c,
  3103. 0x5a, 0xa0, 0x2f, 0xa6, 0x09, 0x66, 0xce, 0xac, 0xfa, 0xd6, 0x62, 0xa0, 0xf4, 0xf1, 0x35, 0x40,
  3104. 0xdc, 0xd3, 0x68, 0x73, 0xa6, 0xde, 0xf8, 0x3c, 0xa9, 0x7f, 0x76, 0x33, 0x48, 0x12, 0x77, 0xa1,
  3105. 0x18, 0x49, 0x91, 0x76, 0x83, 0x4a, 0x48, 0xbb, 0x79, 0x23, 0x46, 0xb2, 0x3a, 0x89, 0x41, 0x21,
  3106. 0xfb, 0x05, 0x7d, 0x79, 0x83, 0xe2, 0x78, 0x53, 0xd7, 0x1f, 0x2e, 0x03, 0x1d, 0x8b, 0x4c, 0xf8,
  3107. 0xef, 0xdb, 0xd9, 0xde, 0x8d, 0xb7, 0xd3, 0x9c, 0xc8, 0x4c, 0xf6, 0xcf, 0xf7, 0x50, 0x19, 0xab,
  3108. 0x66, 0xf4, 0x60, 0xb6, 0x57, 0x93, 0xbd, 0x52, 0xff, 0x62, 0x21, 0x6e, 0x3c, 0xf6, 0xe2, 0xa2,
  3109. 0x70, 0x4e, 0xec, 0x93, 0x55, 0x3f, 0x2f, 0xf6, 0x63, 0xe5, 0xbc, 0xff, 0x06, 0x6e, 0x3b, 0xfe,
  3110. 0x14, 0x70, 0xbf, 0x12, 0x16, 0xec, 0x2b, 0x76, 0x24, 0x7f, 0x95, 0xfa, 0xe5, 0x13, 0x79, 0x44,
  3111. 0xef, 0xf9, 0xae, 0xe9, 0xf5, 0x1a, 0x7e, 0xd0, 0xdb, 0x1e, 0xff, 0xb7, 0x3d, 0x7b, 0x0a, 0x77,
  3112. 0xd3, 0x77, 0xc6, 0x68, 0xe7, 0x3c, 0xcf, 0x4f, 0xf3, 0x5f, 0xfd, 0x37, 0x00, 0x00, 0xff, 0xff,
  3113. 0x54, 0xae, 0x0b, 0x93, 0xdf, 0x1f, 0x00, 0x00,
  3114. }