// Code generated by protoc-gen-go. DO NOT EDIT. // source: proto/beacon/rpc/v1/debug.proto package ethereum_beacon_rpc_v1 import ( context "context" fmt "fmt" proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" v1alpha1 "github.com/prysmaticlabs/ethereumapis/eth/v1alpha1" v1 "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type LoggingLevelRequest_Level int32 const ( LoggingLevelRequest_INFO LoggingLevelRequest_Level = 0 LoggingLevelRequest_DEBUG LoggingLevelRequest_Level = 1 LoggingLevelRequest_TRACE LoggingLevelRequest_Level = 2 ) var LoggingLevelRequest_Level_name = map[int32]string{ 0: "INFO", 1: "DEBUG", 2: "TRACE", } var LoggingLevelRequest_Level_value = map[string]int32{ "INFO": 0, "DEBUG": 1, "TRACE": 2, } func (x LoggingLevelRequest_Level) String() string { return proto.EnumName(LoggingLevelRequest_Level_name, int32(x)) } func (LoggingLevelRequest_Level) EnumDescriptor() ([]byte, []int) { return fileDescriptor_851e5cb2de3d61dd, []int{3, 0} } type BeaconStateRequest struct { // Types that are valid to be assigned to QueryFilter: // *BeaconStateRequest_Slot // *BeaconStateRequest_BlockRoot QueryFilter isBeaconStateRequest_QueryFilter `protobuf_oneof:"query_filter"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *BeaconStateRequest) Reset() { *m = BeaconStateRequest{} } func (m *BeaconStateRequest) String() string { return proto.CompactTextString(m) } func (*BeaconStateRequest) ProtoMessage() {} func (*BeaconStateRequest) Descriptor() ([]byte, []int) { return fileDescriptor_851e5cb2de3d61dd, []int{0} } func (m *BeaconStateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BeaconStateRequest.Unmarshal(m, b) } func (m *BeaconStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BeaconStateRequest.Marshal(b, m, deterministic) } func (m *BeaconStateRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_BeaconStateRequest.Merge(m, src) } func (m *BeaconStateRequest) XXX_Size() int { return xxx_messageInfo_BeaconStateRequest.Size(m) } func (m *BeaconStateRequest) XXX_DiscardUnknown() { xxx_messageInfo_BeaconStateRequest.DiscardUnknown(m) } var xxx_messageInfo_BeaconStateRequest proto.InternalMessageInfo type isBeaconStateRequest_QueryFilter interface { isBeaconStateRequest_QueryFilter() } type BeaconStateRequest_Slot struct { Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3,oneof"` } type BeaconStateRequest_BlockRoot struct { BlockRoot []byte `protobuf:"bytes,2,opt,name=block_root,json=blockRoot,proto3,oneof"` } func (*BeaconStateRequest_Slot) isBeaconStateRequest_QueryFilter() {} func (*BeaconStateRequest_BlockRoot) isBeaconStateRequest_QueryFilter() {} func (m *BeaconStateRequest) GetQueryFilter() isBeaconStateRequest_QueryFilter { if m != nil { return m.QueryFilter } return nil } func (m *BeaconStateRequest) GetSlot() uint64 { if x, ok := m.GetQueryFilter().(*BeaconStateRequest_Slot); ok { return x.Slot } return 0 } func (m *BeaconStateRequest) GetBlockRoot() []byte { if x, ok := m.GetQueryFilter().(*BeaconStateRequest_BlockRoot); ok { return x.BlockRoot } return nil } // XXX_OneofWrappers is for the internal use of the proto package. func (*BeaconStateRequest) XXX_OneofWrappers() []interface{} { return []interface{}{ (*BeaconStateRequest_Slot)(nil), (*BeaconStateRequest_BlockRoot)(nil), } } type BlockRequest struct { BlockRoot []byte `protobuf:"bytes,1,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *BlockRequest) Reset() { *m = BlockRequest{} } func (m *BlockRequest) String() string { return proto.CompactTextString(m) } func (*BlockRequest) ProtoMessage() {} func (*BlockRequest) Descriptor() ([]byte, []int) { return fileDescriptor_851e5cb2de3d61dd, []int{1} } func (m *BlockRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BlockRequest.Unmarshal(m, b) } func (m *BlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BlockRequest.Marshal(b, m, deterministic) } func (m *BlockRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_BlockRequest.Merge(m, src) } func (m *BlockRequest) XXX_Size() int { return xxx_messageInfo_BlockRequest.Size(m) } func (m *BlockRequest) XXX_DiscardUnknown() { xxx_messageInfo_BlockRequest.DiscardUnknown(m) } var xxx_messageInfo_BlockRequest proto.InternalMessageInfo func (m *BlockRequest) GetBlockRoot() []byte { if m != nil { return m.BlockRoot } return nil } type SSZResponse struct { Encoded []byte `protobuf:"bytes,1,opt,name=encoded,proto3" json:"encoded,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *SSZResponse) Reset() { *m = SSZResponse{} } func (m *SSZResponse) String() string { return proto.CompactTextString(m) } func (*SSZResponse) ProtoMessage() {} func (*SSZResponse) Descriptor() ([]byte, []int) { return fileDescriptor_851e5cb2de3d61dd, []int{2} } func (m *SSZResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SSZResponse.Unmarshal(m, b) } func (m *SSZResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SSZResponse.Marshal(b, m, deterministic) } func (m *SSZResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_SSZResponse.Merge(m, src) } func (m *SSZResponse) XXX_Size() int { return xxx_messageInfo_SSZResponse.Size(m) } func (m *SSZResponse) XXX_DiscardUnknown() { xxx_messageInfo_SSZResponse.DiscardUnknown(m) } var xxx_messageInfo_SSZResponse proto.InternalMessageInfo func (m *SSZResponse) GetEncoded() []byte { if m != nil { return m.Encoded } return nil } type LoggingLevelRequest struct { Level LoggingLevelRequest_Level `protobuf:"varint,1,opt,name=level,proto3,enum=ethereum.beacon.rpc.v1.LoggingLevelRequest_Level" json:"level,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LoggingLevelRequest) Reset() { *m = LoggingLevelRequest{} } func (m *LoggingLevelRequest) String() string { return proto.CompactTextString(m) } func (*LoggingLevelRequest) ProtoMessage() {} func (*LoggingLevelRequest) Descriptor() ([]byte, []int) { return fileDescriptor_851e5cb2de3d61dd, []int{3} } func (m *LoggingLevelRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoggingLevelRequest.Unmarshal(m, b) } func (m *LoggingLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LoggingLevelRequest.Marshal(b, m, deterministic) } func (m *LoggingLevelRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_LoggingLevelRequest.Merge(m, src) } func (m *LoggingLevelRequest) XXX_Size() int { return xxx_messageInfo_LoggingLevelRequest.Size(m) } func (m *LoggingLevelRequest) XXX_DiscardUnknown() { xxx_messageInfo_LoggingLevelRequest.DiscardUnknown(m) } var xxx_messageInfo_LoggingLevelRequest proto.InternalMessageInfo func (m *LoggingLevelRequest) GetLevel() LoggingLevelRequest_Level { if m != nil { return m.Level } return LoggingLevelRequest_INFO } type ProtoArrayForkChoiceResponse struct { PruneThreshold uint64 `protobuf:"varint,1,opt,name=prune_threshold,json=pruneThreshold,proto3" json:"prune_threshold,omitempty"` JustifiedEpoch uint64 `protobuf:"varint,2,opt,name=justified_epoch,json=justifiedEpoch,proto3" json:"justified_epoch,omitempty"` FinalizedEpoch uint64 `protobuf:"varint,3,opt,name=finalized_epoch,json=finalizedEpoch,proto3" json:"finalized_epoch,omitempty"` ProtoArrayNodes []*ProtoArrayNode `protobuf:"bytes,4,rep,name=proto_array_nodes,json=protoArrayNodes,proto3" json:"proto_array_nodes,omitempty"` Indices map[string]uint64 `protobuf:"bytes,5,rep,name=indices,proto3" json:"indices,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ProtoArrayForkChoiceResponse) Reset() { *m = ProtoArrayForkChoiceResponse{} } func (m *ProtoArrayForkChoiceResponse) String() string { return proto.CompactTextString(m) } func (*ProtoArrayForkChoiceResponse) ProtoMessage() {} func (*ProtoArrayForkChoiceResponse) Descriptor() ([]byte, []int) { return fileDescriptor_851e5cb2de3d61dd, []int{4} } func (m *ProtoArrayForkChoiceResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProtoArrayForkChoiceResponse.Unmarshal(m, b) } func (m *ProtoArrayForkChoiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ProtoArrayForkChoiceResponse.Marshal(b, m, deterministic) } func (m *ProtoArrayForkChoiceResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ProtoArrayForkChoiceResponse.Merge(m, src) } func (m *ProtoArrayForkChoiceResponse) XXX_Size() int { return xxx_messageInfo_ProtoArrayForkChoiceResponse.Size(m) } func (m *ProtoArrayForkChoiceResponse) XXX_DiscardUnknown() { xxx_messageInfo_ProtoArrayForkChoiceResponse.DiscardUnknown(m) } var xxx_messageInfo_ProtoArrayForkChoiceResponse proto.InternalMessageInfo func (m *ProtoArrayForkChoiceResponse) GetPruneThreshold() uint64 { if m != nil { return m.PruneThreshold } return 0 } func (m *ProtoArrayForkChoiceResponse) GetJustifiedEpoch() uint64 { if m != nil { return m.JustifiedEpoch } return 0 } func (m *ProtoArrayForkChoiceResponse) GetFinalizedEpoch() uint64 { if m != nil { return m.FinalizedEpoch } return 0 } func (m *ProtoArrayForkChoiceResponse) GetProtoArrayNodes() []*ProtoArrayNode { if m != nil { return m.ProtoArrayNodes } return nil } func (m *ProtoArrayForkChoiceResponse) GetIndices() map[string]uint64 { if m != nil { return m.Indices } return nil } type ProtoArrayNode struct { Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` Root []byte `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` Parent uint64 `protobuf:"varint,3,opt,name=parent,proto3" json:"parent,omitempty"` JustifiedEpoch uint64 `protobuf:"varint,4,opt,name=justified_epoch,json=justifiedEpoch,proto3" json:"justified_epoch,omitempty"` FinalizedEpoch uint64 `protobuf:"varint,5,opt,name=finalized_epoch,json=finalizedEpoch,proto3" json:"finalized_epoch,omitempty"` Weight uint64 `protobuf:"varint,6,opt,name=weight,proto3" json:"weight,omitempty"` BestChild uint64 `protobuf:"varint,7,opt,name=best_child,json=bestChild,proto3" json:"best_child,omitempty"` BestDescendant uint64 `protobuf:"varint,8,opt,name=best_descendant,json=bestDescendant,proto3" json:"best_descendant,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ProtoArrayNode) Reset() { *m = ProtoArrayNode{} } func (m *ProtoArrayNode) String() string { return proto.CompactTextString(m) } func (*ProtoArrayNode) ProtoMessage() {} func (*ProtoArrayNode) Descriptor() ([]byte, []int) { return fileDescriptor_851e5cb2de3d61dd, []int{5} } func (m *ProtoArrayNode) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProtoArrayNode.Unmarshal(m, b) } func (m *ProtoArrayNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ProtoArrayNode.Marshal(b, m, deterministic) } func (m *ProtoArrayNode) XXX_Merge(src proto.Message) { xxx_messageInfo_ProtoArrayNode.Merge(m, src) } func (m *ProtoArrayNode) XXX_Size() int { return xxx_messageInfo_ProtoArrayNode.Size(m) } func (m *ProtoArrayNode) XXX_DiscardUnknown() { xxx_messageInfo_ProtoArrayNode.DiscardUnknown(m) } var xxx_messageInfo_ProtoArrayNode proto.InternalMessageInfo func (m *ProtoArrayNode) GetSlot() uint64 { if m != nil { return m.Slot } return 0 } func (m *ProtoArrayNode) GetRoot() []byte { if m != nil { return m.Root } return nil } func (m *ProtoArrayNode) GetParent() uint64 { if m != nil { return m.Parent } return 0 } func (m *ProtoArrayNode) GetJustifiedEpoch() uint64 { if m != nil { return m.JustifiedEpoch } return 0 } func (m *ProtoArrayNode) GetFinalizedEpoch() uint64 { if m != nil { return m.FinalizedEpoch } return 0 } func (m *ProtoArrayNode) GetWeight() uint64 { if m != nil { return m.Weight } return 0 } func (m *ProtoArrayNode) GetBestChild() uint64 { if m != nil { return m.BestChild } return 0 } func (m *ProtoArrayNode) GetBestDescendant() uint64 { if m != nil { return m.BestDescendant } return 0 } type DebugPeerResponses struct { Responses []*DebugPeerResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DebugPeerResponses) Reset() { *m = DebugPeerResponses{} } func (m *DebugPeerResponses) String() string { return proto.CompactTextString(m) } func (*DebugPeerResponses) ProtoMessage() {} func (*DebugPeerResponses) Descriptor() ([]byte, []int) { return fileDescriptor_851e5cb2de3d61dd, []int{6} } func (m *DebugPeerResponses) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DebugPeerResponses.Unmarshal(m, b) } func (m *DebugPeerResponses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DebugPeerResponses.Marshal(b, m, deterministic) } func (m *DebugPeerResponses) XXX_Merge(src proto.Message) { xxx_messageInfo_DebugPeerResponses.Merge(m, src) } func (m *DebugPeerResponses) XXX_Size() int { return xxx_messageInfo_DebugPeerResponses.Size(m) } func (m *DebugPeerResponses) XXX_DiscardUnknown() { xxx_messageInfo_DebugPeerResponses.DiscardUnknown(m) } var xxx_messageInfo_DebugPeerResponses proto.InternalMessageInfo func (m *DebugPeerResponses) GetResponses() []*DebugPeerResponse { if m != nil { return m.Responses } return nil } type DebugPeerResponse struct { ListeningAddresses []string `protobuf:"bytes,1,rep,name=listening_addresses,json=listeningAddresses,proto3" json:"listening_addresses,omitempty"` Direction v1alpha1.PeerDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=ethereum.eth.v1alpha1.PeerDirection" json:"direction,omitempty"` ConnectionState v1alpha1.ConnectionState `protobuf:"varint,3,opt,name=connection_state,json=connectionState,proto3,enum=ethereum.eth.v1alpha1.ConnectionState" json:"connection_state,omitempty"` PeerId string `protobuf:"bytes,4,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` Enr string `protobuf:"bytes,5,opt,name=enr,proto3" json:"enr,omitempty"` PeerInfo *DebugPeerResponse_PeerInfo `protobuf:"bytes,6,opt,name=peer_info,json=peerInfo,proto3" json:"peer_info,omitempty"` PeerStatus *v1.Status `protobuf:"bytes,7,opt,name=peer_status,json=peerStatus,proto3" json:"peer_status,omitempty"` LastUpdated uint64 `protobuf:"varint,8,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DebugPeerResponse) Reset() { *m = DebugPeerResponse{} } func (m *DebugPeerResponse) String() string { return proto.CompactTextString(m) } func (*DebugPeerResponse) ProtoMessage() {} func (*DebugPeerResponse) Descriptor() ([]byte, []int) { return fileDescriptor_851e5cb2de3d61dd, []int{7} } func (m *DebugPeerResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DebugPeerResponse.Unmarshal(m, b) } func (m *DebugPeerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DebugPeerResponse.Marshal(b, m, deterministic) } func (m *DebugPeerResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_DebugPeerResponse.Merge(m, src) } func (m *DebugPeerResponse) XXX_Size() int { return xxx_messageInfo_DebugPeerResponse.Size(m) } func (m *DebugPeerResponse) XXX_DiscardUnknown() { xxx_messageInfo_DebugPeerResponse.DiscardUnknown(m) } var xxx_messageInfo_DebugPeerResponse proto.InternalMessageInfo func (m *DebugPeerResponse) GetListeningAddresses() []string { if m != nil { return m.ListeningAddresses } return nil } func (m *DebugPeerResponse) GetDirection() v1alpha1.PeerDirection { if m != nil { return m.Direction } return v1alpha1.PeerDirection_UNKNOWN } func (m *DebugPeerResponse) GetConnectionState() v1alpha1.ConnectionState { if m != nil { return m.ConnectionState } return v1alpha1.ConnectionState_DISCONNECTED } func (m *DebugPeerResponse) GetPeerId() string { if m != nil { return m.PeerId } return "" } func (m *DebugPeerResponse) GetEnr() string { if m != nil { return m.Enr } return "" } func (m *DebugPeerResponse) GetPeerInfo() *DebugPeerResponse_PeerInfo { if m != nil { return m.PeerInfo } return nil } func (m *DebugPeerResponse) GetPeerStatus() *v1.Status { if m != nil { return m.PeerStatus } return nil } func (m *DebugPeerResponse) GetLastUpdated() uint64 { if m != nil { return m.LastUpdated } return 0 } type DebugPeerResponse_PeerInfo struct { Metadata *v1.MetaData `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Protocols []string `protobuf:"bytes,2,rep,name=protocols,proto3" json:"protocols,omitempty"` FaultCount uint64 `protobuf:"varint,3,opt,name=fault_count,json=faultCount,proto3" json:"fault_count,omitempty"` ProtocolVersion string `protobuf:"bytes,4,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` AgentVersion string `protobuf:"bytes,5,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"` PeerLatency uint64 `protobuf:"varint,6,opt,name=peer_latency,json=peerLatency,proto3" json:"peer_latency,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DebugPeerResponse_PeerInfo) Reset() { *m = DebugPeerResponse_PeerInfo{} } func (m *DebugPeerResponse_PeerInfo) String() string { return proto.CompactTextString(m) } func (*DebugPeerResponse_PeerInfo) ProtoMessage() {} func (*DebugPeerResponse_PeerInfo) Descriptor() ([]byte, []int) { return fileDescriptor_851e5cb2de3d61dd, []int{7, 0} } func (m *DebugPeerResponse_PeerInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DebugPeerResponse_PeerInfo.Unmarshal(m, b) } func (m *DebugPeerResponse_PeerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DebugPeerResponse_PeerInfo.Marshal(b, m, deterministic) } func (m *DebugPeerResponse_PeerInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_DebugPeerResponse_PeerInfo.Merge(m, src) } func (m *DebugPeerResponse_PeerInfo) XXX_Size() int { return xxx_messageInfo_DebugPeerResponse_PeerInfo.Size(m) } func (m *DebugPeerResponse_PeerInfo) XXX_DiscardUnknown() { xxx_messageInfo_DebugPeerResponse_PeerInfo.DiscardUnknown(m) } var xxx_messageInfo_DebugPeerResponse_PeerInfo proto.InternalMessageInfo func (m *DebugPeerResponse_PeerInfo) GetMetadata() *v1.MetaData { if m != nil { return m.Metadata } return nil } func (m *DebugPeerResponse_PeerInfo) GetProtocols() []string { if m != nil { return m.Protocols } return nil } func (m *DebugPeerResponse_PeerInfo) GetFaultCount() uint64 { if m != nil { return m.FaultCount } return 0 } func (m *DebugPeerResponse_PeerInfo) GetProtocolVersion() string { if m != nil { return m.ProtocolVersion } return "" } func (m *DebugPeerResponse_PeerInfo) GetAgentVersion() string { if m != nil { return m.AgentVersion } return "" } func (m *DebugPeerResponse_PeerInfo) GetPeerLatency() uint64 { if m != nil { return m.PeerLatency } return 0 } func init() { proto.RegisterEnum("ethereum.beacon.rpc.v1.LoggingLevelRequest_Level", LoggingLevelRequest_Level_name, LoggingLevelRequest_Level_value) proto.RegisterType((*BeaconStateRequest)(nil), "ethereum.beacon.rpc.v1.BeaconStateRequest") proto.RegisterType((*BlockRequest)(nil), "ethereum.beacon.rpc.v1.BlockRequest") proto.RegisterType((*SSZResponse)(nil), "ethereum.beacon.rpc.v1.SSZResponse") proto.RegisterType((*LoggingLevelRequest)(nil), "ethereum.beacon.rpc.v1.LoggingLevelRequest") proto.RegisterType((*ProtoArrayForkChoiceResponse)(nil), "ethereum.beacon.rpc.v1.ProtoArrayForkChoiceResponse") proto.RegisterMapType((map[string]uint64)(nil), "ethereum.beacon.rpc.v1.ProtoArrayForkChoiceResponse.IndicesEntry") proto.RegisterType((*ProtoArrayNode)(nil), "ethereum.beacon.rpc.v1.ProtoArrayNode") proto.RegisterType((*DebugPeerResponses)(nil), "ethereum.beacon.rpc.v1.DebugPeerResponses") proto.RegisterType((*DebugPeerResponse)(nil), "ethereum.beacon.rpc.v1.DebugPeerResponse") proto.RegisterType((*DebugPeerResponse_PeerInfo)(nil), "ethereum.beacon.rpc.v1.DebugPeerResponse.PeerInfo") } func init() { proto.RegisterFile("proto/beacon/rpc/v1/debug.proto", fileDescriptor_851e5cb2de3d61dd) } var fileDescriptor_851e5cb2de3d61dd = []byte{ // 1132 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6e, 0x1b, 0xb7, 0x13, 0x8f, 0x6c, 0xc9, 0xf6, 0x8e, 0xf4, 0x97, 0x15, 0x26, 0x70, 0xf4, 0x57, 0xbe, 0x94, 0x4d, 0x90, 0x38, 0x29, 0xba, 0x0b, 0xab, 0x3d, 0x14, 0x41, 0x81, 0xc2, 0x5f, 0x71, 0x0c, 0xb8, 0x49, 0xba, 0x4e, 0x7a, 0x68, 0x50, 0x2c, 0xe8, 0xdd, 0x91, 0xb4, 0x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9, 0x01, 0xd6, 0xf4, 0x2e, 0xf4, 0xec, 0x23, 0xf7, 0x16, 0xc6, 0x9f, 0x1a, 0x9e, 0xff, 0x41, 0x64, 0x33, 0x69, 0xc9, 0x8f, 0xb0, 0x7e, 0x8c, 0x6a, 0x7a, 0x04, 0x92, 0x8f, 0xfe, 0xc1, 0xa0, 0x6c, 0x6d, 0x78, 0xf6, 0x3f, 0xe1, 0x15, 0xff, 0x09, 0x6f, 0x5f, 0xff, 0x27, 0xdc, 0xbb, 0x26, 0xf4, 0x4d, 0xf7, 0xfa, 0xbc, 0xd0, 0xa9, 0x25, 0x22, 0xbf, 0x94, 0xe0, 0xda, 0x01, 0xaa, 0x79, 0xc3, 0x81, 0x2c, 0x20, 0x6e, 0x7d, 0xfa, 0x6f, 0x46, 0x8c, 0x7b, 0xdf, 0x6c, 0xa7, 0x4d, 0x6e, 0xcd, 0xdb, 0x4e, 0x97, 0x8b, 0xd3, 0xc8, 0x46, 0x15, 0xe0, 0x1c, 0x25, 0x52, 0xe9, 0x9b, 0x21, 0x17, 0x6e, 0xe1, 0xd1, 0x85, 0x6f, 0xb7, 0xfc, 0x70, 0x09, 0x32, 0x13, 0xe6, 0x2d, 0xac, 0xea, 0x24, 0x20, 0x0a, 0xe2, 0x7e, 0xe0, 0xe5, 0x2b, 0x32, 0x7e, 0xf1, 0xd7, 0xda, 0x6d, 0x9b, 0xe0, 0x2d, 0xd2, 0x5c, 0x14, 0xfc, 0x64, 0xc5, 0x1c, 0xed, 0x93, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x6f, 0x05, 0xb2, 0xc5, 0xaa, 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // DebugClient is the client API for Debug service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type DebugClient interface { GetBeaconState(ctx context.Context, in *BeaconStateRequest, opts ...grpc.CallOption) (*SSZResponse, error) GetBlock(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*SSZResponse, error) SetLoggingLevel(ctx context.Context, in *LoggingLevelRequest, opts ...grpc.CallOption) (*empty.Empty, error) GetProtoArrayForkChoice(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ProtoArrayForkChoiceResponse, error) ListPeers(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DebugPeerResponses, error) GetPeer(ctx context.Context, in *v1alpha1.PeerRequest, opts ...grpc.CallOption) (*DebugPeerResponse, error) } type debugClient struct { cc grpc.ClientConnInterface } func NewDebugClient(cc grpc.ClientConnInterface) DebugClient { return &debugClient{cc} } func (c *debugClient) GetBeaconState(ctx context.Context, in *BeaconStateRequest, opts ...grpc.CallOption) (*SSZResponse, error) { out := new(SSZResponse) err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.Debug/GetBeaconState", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *debugClient) GetBlock(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*SSZResponse, error) { out := new(SSZResponse) err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.Debug/GetBlock", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *debugClient) SetLoggingLevel(ctx context.Context, in *LoggingLevelRequest, opts ...grpc.CallOption) (*empty.Empty, error) { out := new(empty.Empty) err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.Debug/SetLoggingLevel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *debugClient) GetProtoArrayForkChoice(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ProtoArrayForkChoiceResponse, error) { out := new(ProtoArrayForkChoiceResponse) err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.Debug/GetProtoArrayForkChoice", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *debugClient) ListPeers(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DebugPeerResponses, error) { out := new(DebugPeerResponses) err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.Debug/ListPeers", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *debugClient) GetPeer(ctx context.Context, in *v1alpha1.PeerRequest, opts ...grpc.CallOption) (*DebugPeerResponse, error) { out := new(DebugPeerResponse) err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.Debug/GetPeer", in, out, opts...) if err != nil { return nil, err } return out, nil } // DebugServer is the server API for Debug service. type DebugServer interface { GetBeaconState(context.Context, *BeaconStateRequest) (*SSZResponse, error) GetBlock(context.Context, *BlockRequest) (*SSZResponse, error) SetLoggingLevel(context.Context, *LoggingLevelRequest) (*empty.Empty, error) GetProtoArrayForkChoice(context.Context, *empty.Empty) (*ProtoArrayForkChoiceResponse, error) ListPeers(context.Context, *empty.Empty) (*DebugPeerResponses, error) GetPeer(context.Context, *v1alpha1.PeerRequest) (*DebugPeerResponse, error) } // UnimplementedDebugServer can be embedded to have forward compatible implementations. type UnimplementedDebugServer struct { } func (*UnimplementedDebugServer) GetBeaconState(ctx context.Context, req *BeaconStateRequest) (*SSZResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBeaconState not implemented") } func (*UnimplementedDebugServer) GetBlock(ctx context.Context, req *BlockRequest) (*SSZResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBlock not implemented") } func (*UnimplementedDebugServer) SetLoggingLevel(ctx context.Context, req *LoggingLevelRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SetLoggingLevel not implemented") } func (*UnimplementedDebugServer) GetProtoArrayForkChoice(ctx context.Context, req *empty.Empty) (*ProtoArrayForkChoiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetProtoArrayForkChoice not implemented") } func (*UnimplementedDebugServer) ListPeers(ctx context.Context, req *empty.Empty) (*DebugPeerResponses, error) { return nil, status.Errorf(codes.Unimplemented, "method ListPeers not implemented") } func (*UnimplementedDebugServer) GetPeer(ctx context.Context, req *v1alpha1.PeerRequest) (*DebugPeerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPeer not implemented") } func RegisterDebugServer(s *grpc.Server, srv DebugServer) { s.RegisterService(&_Debug_serviceDesc, srv) } func _Debug_GetBeaconState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(BeaconStateRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DebugServer).GetBeaconState(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/ethereum.beacon.rpc.v1.Debug/GetBeaconState", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DebugServer).GetBeaconState(ctx, req.(*BeaconStateRequest)) } return interceptor(ctx, in, info, handler) } func _Debug_GetBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(BlockRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DebugServer).GetBlock(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/ethereum.beacon.rpc.v1.Debug/GetBlock", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DebugServer).GetBlock(ctx, req.(*BlockRequest)) } return interceptor(ctx, in, info, handler) } func _Debug_SetLoggingLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(LoggingLevelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DebugServer).SetLoggingLevel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/ethereum.beacon.rpc.v1.Debug/SetLoggingLevel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DebugServer).SetLoggingLevel(ctx, req.(*LoggingLevelRequest)) } return interceptor(ctx, in, info, handler) } func _Debug_GetProtoArrayForkChoice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DebugServer).GetProtoArrayForkChoice(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/ethereum.beacon.rpc.v1.Debug/GetProtoArrayForkChoice", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DebugServer).GetProtoArrayForkChoice(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _Debug_ListPeers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DebugServer).ListPeers(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/ethereum.beacon.rpc.v1.Debug/ListPeers", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DebugServer).ListPeers(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _Debug_GetPeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1alpha1.PeerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DebugServer).GetPeer(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/ethereum.beacon.rpc.v1.Debug/GetPeer", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DebugServer).GetPeer(ctx, req.(*v1alpha1.PeerRequest)) } return interceptor(ctx, in, info, handler) } var _Debug_serviceDesc = grpc.ServiceDesc{ ServiceName: "ethereum.beacon.rpc.v1.Debug", HandlerType: (*DebugServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetBeaconState", Handler: _Debug_GetBeaconState_Handler, }, { MethodName: "GetBlock", Handler: _Debug_GetBlock_Handler, }, { MethodName: "SetLoggingLevel", Handler: _Debug_SetLoggingLevel_Handler, }, { MethodName: "GetProtoArrayForkChoice", Handler: _Debug_GetProtoArrayForkChoice_Handler, }, { MethodName: "ListPeers", Handler: _Debug_ListPeers_Handler, }, { MethodName: "GetPeer", Handler: _Debug_GetPeer_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/beacon/rpc/v1/debug.proto", }