github.com/prysmaticlabs/prysm@v1.4.4/proto/eth/v1/beacon_debug_service.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.15.8
     5  // source: proto/eth/v1/beacon_debug_service.proto
     6  
     7  package v1
     8  
     9  import (
    10  	context "context"
    11  	reflect "reflect"
    12  	sync "sync"
    13  
    14  	proto "github.com/golang/protobuf/proto"
    15  	_ "github.com/golang/protobuf/protoc-gen-go/descriptor"
    16  	empty "github.com/golang/protobuf/ptypes/empty"
    17  	github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types"
    18  	_ "github.com/prysmaticlabs/prysm/proto/eth/ext"
    19  	_ "google.golang.org/genproto/googleapis/api/annotations"
    20  	grpc "google.golang.org/grpc"
    21  	codes "google.golang.org/grpc/codes"
    22  	status "google.golang.org/grpc/status"
    23  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    24  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    25  )
    26  
    27  const (
    28  	// Verify that this generated code is sufficiently up-to-date.
    29  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    30  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    31  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    32  )
    33  
    34  // This is a compile-time assertion that a sufficiently up-to-date version
    35  // of the legacy proto package is being used.
    36  const _ = proto.ProtoPackageIsVersion4
    37  
    38  type ForkChoiceHeadsResponse struct {
    39  	state         protoimpl.MessageState
    40  	sizeCache     protoimpl.SizeCache
    41  	unknownFields protoimpl.UnknownFields
    42  
    43  	Data []*ForkChoiceHead `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
    44  }
    45  
    46  func (x *ForkChoiceHeadsResponse) Reset() {
    47  	*x = ForkChoiceHeadsResponse{}
    48  	if protoimpl.UnsafeEnabled {
    49  		mi := &file_proto_eth_v1_beacon_debug_service_proto_msgTypes[0]
    50  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    51  		ms.StoreMessageInfo(mi)
    52  	}
    53  }
    54  
    55  func (x *ForkChoiceHeadsResponse) String() string {
    56  	return protoimpl.X.MessageStringOf(x)
    57  }
    58  
    59  func (*ForkChoiceHeadsResponse) ProtoMessage() {}
    60  
    61  func (x *ForkChoiceHeadsResponse) ProtoReflect() protoreflect.Message {
    62  	mi := &file_proto_eth_v1_beacon_debug_service_proto_msgTypes[0]
    63  	if protoimpl.UnsafeEnabled && x != nil {
    64  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    65  		if ms.LoadMessageInfo() == nil {
    66  			ms.StoreMessageInfo(mi)
    67  		}
    68  		return ms
    69  	}
    70  	return mi.MessageOf(x)
    71  }
    72  
    73  // Deprecated: Use ForkChoiceHeadsResponse.ProtoReflect.Descriptor instead.
    74  func (*ForkChoiceHeadsResponse) Descriptor() ([]byte, []int) {
    75  	return file_proto_eth_v1_beacon_debug_service_proto_rawDescGZIP(), []int{0}
    76  }
    77  
    78  func (x *ForkChoiceHeadsResponse) GetData() []*ForkChoiceHead {
    79  	if x != nil {
    80  		return x.Data
    81  	}
    82  	return nil
    83  }
    84  
    85  type ForkChoiceHead struct {
    86  	state         protoimpl.MessageState
    87  	sizeCache     protoimpl.SizeCache
    88  	unknownFields protoimpl.UnknownFields
    89  
    90  	Root []byte                                   `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"`
    91  	Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"`
    92  }
    93  
    94  func (x *ForkChoiceHead) Reset() {
    95  	*x = ForkChoiceHead{}
    96  	if protoimpl.UnsafeEnabled {
    97  		mi := &file_proto_eth_v1_beacon_debug_service_proto_msgTypes[1]
    98  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    99  		ms.StoreMessageInfo(mi)
   100  	}
   101  }
   102  
   103  func (x *ForkChoiceHead) String() string {
   104  	return protoimpl.X.MessageStringOf(x)
   105  }
   106  
   107  func (*ForkChoiceHead) ProtoMessage() {}
   108  
   109  func (x *ForkChoiceHead) ProtoReflect() protoreflect.Message {
   110  	mi := &file_proto_eth_v1_beacon_debug_service_proto_msgTypes[1]
   111  	if protoimpl.UnsafeEnabled && x != nil {
   112  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   113  		if ms.LoadMessageInfo() == nil {
   114  			ms.StoreMessageInfo(mi)
   115  		}
   116  		return ms
   117  	}
   118  	return mi.MessageOf(x)
   119  }
   120  
   121  // Deprecated: Use ForkChoiceHead.ProtoReflect.Descriptor instead.
   122  func (*ForkChoiceHead) Descriptor() ([]byte, []int) {
   123  	return file_proto_eth_v1_beacon_debug_service_proto_rawDescGZIP(), []int{1}
   124  }
   125  
   126  func (x *ForkChoiceHead) GetRoot() []byte {
   127  	if x != nil {
   128  		return x.Root
   129  	}
   130  	return nil
   131  }
   132  
   133  func (x *ForkChoiceHead) GetSlot() github_com_prysmaticlabs_eth2_types.Slot {
   134  	if x != nil {
   135  		return x.Slot
   136  	}
   137  	return github_com_prysmaticlabs_eth2_types.Slot(0)
   138  }
   139  
   140  type BeaconStateResponse struct {
   141  	state         protoimpl.MessageState
   142  	sizeCache     protoimpl.SizeCache
   143  	unknownFields protoimpl.UnknownFields
   144  
   145  	Data *BeaconState `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
   146  }
   147  
   148  func (x *BeaconStateResponse) Reset() {
   149  	*x = BeaconStateResponse{}
   150  	if protoimpl.UnsafeEnabled {
   151  		mi := &file_proto_eth_v1_beacon_debug_service_proto_msgTypes[2]
   152  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   153  		ms.StoreMessageInfo(mi)
   154  	}
   155  }
   156  
   157  func (x *BeaconStateResponse) String() string {
   158  	return protoimpl.X.MessageStringOf(x)
   159  }
   160  
   161  func (*BeaconStateResponse) ProtoMessage() {}
   162  
   163  func (x *BeaconStateResponse) ProtoReflect() protoreflect.Message {
   164  	mi := &file_proto_eth_v1_beacon_debug_service_proto_msgTypes[2]
   165  	if protoimpl.UnsafeEnabled && x != nil {
   166  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   167  		if ms.LoadMessageInfo() == nil {
   168  			ms.StoreMessageInfo(mi)
   169  		}
   170  		return ms
   171  	}
   172  	return mi.MessageOf(x)
   173  }
   174  
   175  // Deprecated: Use BeaconStateResponse.ProtoReflect.Descriptor instead.
   176  func (*BeaconStateResponse) Descriptor() ([]byte, []int) {
   177  	return file_proto_eth_v1_beacon_debug_service_proto_rawDescGZIP(), []int{2}
   178  }
   179  
   180  func (x *BeaconStateResponse) GetData() *BeaconState {
   181  	if x != nil {
   182  		return x.Data
   183  	}
   184  	return nil
   185  }
   186  
   187  type BeaconStateSSZResponse struct {
   188  	state         protoimpl.MessageState
   189  	sizeCache     protoimpl.SizeCache
   190  	unknownFields protoimpl.UnknownFields
   191  
   192  	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
   193  }
   194  
   195  func (x *BeaconStateSSZResponse) Reset() {
   196  	*x = BeaconStateSSZResponse{}
   197  	if protoimpl.UnsafeEnabled {
   198  		mi := &file_proto_eth_v1_beacon_debug_service_proto_msgTypes[3]
   199  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   200  		ms.StoreMessageInfo(mi)
   201  	}
   202  }
   203  
   204  func (x *BeaconStateSSZResponse) String() string {
   205  	return protoimpl.X.MessageStringOf(x)
   206  }
   207  
   208  func (*BeaconStateSSZResponse) ProtoMessage() {}
   209  
   210  func (x *BeaconStateSSZResponse) ProtoReflect() protoreflect.Message {
   211  	mi := &file_proto_eth_v1_beacon_debug_service_proto_msgTypes[3]
   212  	if protoimpl.UnsafeEnabled && x != nil {
   213  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   214  		if ms.LoadMessageInfo() == nil {
   215  			ms.StoreMessageInfo(mi)
   216  		}
   217  		return ms
   218  	}
   219  	return mi.MessageOf(x)
   220  }
   221  
   222  // Deprecated: Use BeaconStateSSZResponse.ProtoReflect.Descriptor instead.
   223  func (*BeaconStateSSZResponse) Descriptor() ([]byte, []int) {
   224  	return file_proto_eth_v1_beacon_debug_service_proto_rawDescGZIP(), []int{3}
   225  }
   226  
   227  func (x *BeaconStateSSZResponse) GetData() []byte {
   228  	if x != nil {
   229  		return x.Data
   230  	}
   231  	return nil
   232  }
   233  
   234  var File_proto_eth_v1_beacon_debug_service_proto protoreflect.FileDescriptor
   235  
   236  var file_proto_eth_v1_beacon_debug_service_proto_rawDesc = []byte{
   237  	0x0a, 0x27, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62,
   238  	0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76,
   239  	0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x65, 0x74, 0x68, 0x65, 0x72,
   240  	0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
   241  	0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
   242  	0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   243  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
   244  	0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67,
   245  	0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74,
   246  	0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65,
   247  	0x74, 0x68, 0x2f, 0x65, 0x78, 0x74, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
   248  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x2f,
   249  	0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e,
   250  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x74, 0x68,
   251  	0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e,
   252  	0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e,
   253  	0x0a, 0x17, 0x46, 0x6f, 0x72, 0x6b, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x48, 0x65, 0x61, 0x64,
   254  	0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x64, 0x61, 0x74,
   255  	0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65,
   256  	0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6b, 0x43, 0x68,
   257  	0x6f, 0x69, 0x63, 0x65, 0x48, 0x65, 0x61, 0x64, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x6e,
   258  	0x0a, 0x0e, 0x46, 0x6f, 0x72, 0x6b, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x48, 0x65, 0x61, 0x64,
   259  	0x12, 0x1a, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06,
   260  	0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x40, 0x0a, 0x04,
   261  	0x73, 0x6c, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28,
   262  	0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d,
   263  	0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79,
   264  	0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x22, 0x47,
   265  	0x0a, 0x13, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73,
   266  	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20,
   267  	0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65,
   268  	0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74,
   269  	0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2c, 0x0a, 0x16, 0x42, 0x65, 0x61, 0x63, 0x6f,
   270  	0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x53, 0x5a, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
   271  	0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
   272  	0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0xa4, 0x03, 0x0a, 0x0b, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e,
   273  	0x44, 0x65, 0x62, 0x75, 0x67, 0x12, 0x85, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x61,
   274  	0x63, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72,
   275  	0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65,
   276  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65,
   277  	0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e,
   278  	0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82,
   279  	0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x64,
   280  	0x65, 0x62, 0x75, 0x67, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x73, 0x74, 0x61, 0x74,
   281  	0x65, 0x73, 0x2f, 0x7b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x8f, 0x01,
   282  	0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65,
   283  	0x53, 0x53, 0x5a, 0x12, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65,
   284  	0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
   285  	0x73, 0x74, 0x1a, 0x27, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74,
   286  	0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65,
   287  	0x53, 0x53, 0x5a, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x82, 0xd3, 0xe4,
   288  	0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x62,
   289  	0x75, 0x67, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73,
   290  	0x2f, 0x7b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x73, 0x73, 0x7a, 0x12,
   291  	0x7b, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x6b, 0x43, 0x68, 0x6f, 0x69, 0x63,
   292  	0x65, 0x48, 0x65, 0x61, 0x64, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   293  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x28,
   294  	0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31,
   295  	0x2e, 0x46, 0x6f, 0x72, 0x6b, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x48, 0x65, 0x61, 0x64, 0x73,
   296  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c,
   297  	0x12, 0x1a, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2f,
   298  	0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x73, 0x42, 0x7a, 0x0a, 0x13,
   299  	0x6f, 0x72, 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68,
   300  	0x2e, 0x76, 0x31, 0x42, 0x10, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x44, 0x65, 0x62, 0x75, 0x67,
   301  	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
   302  	0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62,
   303  	0x73, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x74,
   304  	0x68, 0x2f, 0x76, 0x31, 0xaa, 0x02, 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e,
   305  	0x45, 0x74, 0x68, 0x2e, 0x76, 0x31, 0xca, 0x02, 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75,
   306  	0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   307  }
   308  
   309  var (
   310  	file_proto_eth_v1_beacon_debug_service_proto_rawDescOnce sync.Once
   311  	file_proto_eth_v1_beacon_debug_service_proto_rawDescData = file_proto_eth_v1_beacon_debug_service_proto_rawDesc
   312  )
   313  
   314  func file_proto_eth_v1_beacon_debug_service_proto_rawDescGZIP() []byte {
   315  	file_proto_eth_v1_beacon_debug_service_proto_rawDescOnce.Do(func() {
   316  		file_proto_eth_v1_beacon_debug_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_eth_v1_beacon_debug_service_proto_rawDescData)
   317  	})
   318  	return file_proto_eth_v1_beacon_debug_service_proto_rawDescData
   319  }
   320  
   321  var file_proto_eth_v1_beacon_debug_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   322  var file_proto_eth_v1_beacon_debug_service_proto_goTypes = []interface{}{
   323  	(*ForkChoiceHeadsResponse)(nil), // 0: ethereum.eth.v1.ForkChoiceHeadsResponse
   324  	(*ForkChoiceHead)(nil),          // 1: ethereum.eth.v1.ForkChoiceHead
   325  	(*BeaconStateResponse)(nil),     // 2: ethereum.eth.v1.BeaconStateResponse
   326  	(*BeaconStateSSZResponse)(nil),  // 3: ethereum.eth.v1.BeaconStateSSZResponse
   327  	(*BeaconState)(nil),             // 4: ethereum.eth.v1.BeaconState
   328  	(*StateRequest)(nil),            // 5: ethereum.eth.v1.StateRequest
   329  	(*empty.Empty)(nil),             // 6: google.protobuf.Empty
   330  }
   331  var file_proto_eth_v1_beacon_debug_service_proto_depIdxs = []int32{
   332  	1, // 0: ethereum.eth.v1.ForkChoiceHeadsResponse.data:type_name -> ethereum.eth.v1.ForkChoiceHead
   333  	4, // 1: ethereum.eth.v1.BeaconStateResponse.data:type_name -> ethereum.eth.v1.BeaconState
   334  	5, // 2: ethereum.eth.v1.BeaconDebug.GetBeaconState:input_type -> ethereum.eth.v1.StateRequest
   335  	5, // 3: ethereum.eth.v1.BeaconDebug.GetBeaconStateSSZ:input_type -> ethereum.eth.v1.StateRequest
   336  	6, // 4: ethereum.eth.v1.BeaconDebug.ListForkChoiceHeads:input_type -> google.protobuf.Empty
   337  	2, // 5: ethereum.eth.v1.BeaconDebug.GetBeaconState:output_type -> ethereum.eth.v1.BeaconStateResponse
   338  	3, // 6: ethereum.eth.v1.BeaconDebug.GetBeaconStateSSZ:output_type -> ethereum.eth.v1.BeaconStateSSZResponse
   339  	0, // 7: ethereum.eth.v1.BeaconDebug.ListForkChoiceHeads:output_type -> ethereum.eth.v1.ForkChoiceHeadsResponse
   340  	5, // [5:8] is the sub-list for method output_type
   341  	2, // [2:5] is the sub-list for method input_type
   342  	2, // [2:2] is the sub-list for extension type_name
   343  	2, // [2:2] is the sub-list for extension extendee
   344  	0, // [0:2] is the sub-list for field type_name
   345  }
   346  
   347  func init() { file_proto_eth_v1_beacon_debug_service_proto_init() }
   348  func file_proto_eth_v1_beacon_debug_service_proto_init() {
   349  	if File_proto_eth_v1_beacon_debug_service_proto != nil {
   350  		return
   351  	}
   352  	file_proto_eth_v1_beacon_state_proto_init()
   353  	file_proto_eth_v1_beacon_chain_service_proto_init()
   354  	if !protoimpl.UnsafeEnabled {
   355  		file_proto_eth_v1_beacon_debug_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   356  			switch v := v.(*ForkChoiceHeadsResponse); i {
   357  			case 0:
   358  				return &v.state
   359  			case 1:
   360  				return &v.sizeCache
   361  			case 2:
   362  				return &v.unknownFields
   363  			default:
   364  				return nil
   365  			}
   366  		}
   367  		file_proto_eth_v1_beacon_debug_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   368  			switch v := v.(*ForkChoiceHead); i {
   369  			case 0:
   370  				return &v.state
   371  			case 1:
   372  				return &v.sizeCache
   373  			case 2:
   374  				return &v.unknownFields
   375  			default:
   376  				return nil
   377  			}
   378  		}
   379  		file_proto_eth_v1_beacon_debug_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   380  			switch v := v.(*BeaconStateResponse); i {
   381  			case 0:
   382  				return &v.state
   383  			case 1:
   384  				return &v.sizeCache
   385  			case 2:
   386  				return &v.unknownFields
   387  			default:
   388  				return nil
   389  			}
   390  		}
   391  		file_proto_eth_v1_beacon_debug_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   392  			switch v := v.(*BeaconStateSSZResponse); i {
   393  			case 0:
   394  				return &v.state
   395  			case 1:
   396  				return &v.sizeCache
   397  			case 2:
   398  				return &v.unknownFields
   399  			default:
   400  				return nil
   401  			}
   402  		}
   403  	}
   404  	type x struct{}
   405  	out := protoimpl.TypeBuilder{
   406  		File: protoimpl.DescBuilder{
   407  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   408  			RawDescriptor: file_proto_eth_v1_beacon_debug_service_proto_rawDesc,
   409  			NumEnums:      0,
   410  			NumMessages:   4,
   411  			NumExtensions: 0,
   412  			NumServices:   1,
   413  		},
   414  		GoTypes:           file_proto_eth_v1_beacon_debug_service_proto_goTypes,
   415  		DependencyIndexes: file_proto_eth_v1_beacon_debug_service_proto_depIdxs,
   416  		MessageInfos:      file_proto_eth_v1_beacon_debug_service_proto_msgTypes,
   417  	}.Build()
   418  	File_proto_eth_v1_beacon_debug_service_proto = out.File
   419  	file_proto_eth_v1_beacon_debug_service_proto_rawDesc = nil
   420  	file_proto_eth_v1_beacon_debug_service_proto_goTypes = nil
   421  	file_proto_eth_v1_beacon_debug_service_proto_depIdxs = nil
   422  }
   423  
   424  // Reference imports to suppress errors if they are not otherwise used.
   425  var _ context.Context
   426  var _ grpc.ClientConnInterface
   427  
   428  // This is a compile-time assertion to ensure that this generated file
   429  // is compatible with the grpc package it is being compiled against.
   430  const _ = grpc.SupportPackageIsVersion6
   431  
   432  // BeaconDebugClient is the client API for BeaconDebug service.
   433  //
   434  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   435  type BeaconDebugClient interface {
   436  	GetBeaconState(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*BeaconStateResponse, error)
   437  	GetBeaconStateSSZ(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*BeaconStateSSZResponse, error)
   438  	ListForkChoiceHeads(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ForkChoiceHeadsResponse, error)
   439  }
   440  
   441  type beaconDebugClient struct {
   442  	cc grpc.ClientConnInterface
   443  }
   444  
   445  func NewBeaconDebugClient(cc grpc.ClientConnInterface) BeaconDebugClient {
   446  	return &beaconDebugClient{cc}
   447  }
   448  
   449  func (c *beaconDebugClient) GetBeaconState(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*BeaconStateResponse, error) {
   450  	out := new(BeaconStateResponse)
   451  	err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconDebug/GetBeaconState", in, out, opts...)
   452  	if err != nil {
   453  		return nil, err
   454  	}
   455  	return out, nil
   456  }
   457  
   458  func (c *beaconDebugClient) GetBeaconStateSSZ(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*BeaconStateSSZResponse, error) {
   459  	out := new(BeaconStateSSZResponse)
   460  	err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconDebug/GetBeaconStateSSZ", in, out, opts...)
   461  	if err != nil {
   462  		return nil, err
   463  	}
   464  	return out, nil
   465  }
   466  
   467  func (c *beaconDebugClient) ListForkChoiceHeads(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ForkChoiceHeadsResponse, error) {
   468  	out := new(ForkChoiceHeadsResponse)
   469  	err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconDebug/ListForkChoiceHeads", in, out, opts...)
   470  	if err != nil {
   471  		return nil, err
   472  	}
   473  	return out, nil
   474  }
   475  
   476  // BeaconDebugServer is the server API for BeaconDebug service.
   477  type BeaconDebugServer interface {
   478  	GetBeaconState(context.Context, *StateRequest) (*BeaconStateResponse, error)
   479  	GetBeaconStateSSZ(context.Context, *StateRequest) (*BeaconStateSSZResponse, error)
   480  	ListForkChoiceHeads(context.Context, *empty.Empty) (*ForkChoiceHeadsResponse, error)
   481  }
   482  
   483  // UnimplementedBeaconDebugServer can be embedded to have forward compatible implementations.
   484  type UnimplementedBeaconDebugServer struct {
   485  }
   486  
   487  func (*UnimplementedBeaconDebugServer) GetBeaconState(context.Context, *StateRequest) (*BeaconStateResponse, error) {
   488  	return nil, status.Errorf(codes.Unimplemented, "method GetBeaconState not implemented")
   489  }
   490  func (*UnimplementedBeaconDebugServer) GetBeaconStateSSZ(context.Context, *StateRequest) (*BeaconStateSSZResponse, error) {
   491  	return nil, status.Errorf(codes.Unimplemented, "method GetBeaconStateSSZ not implemented")
   492  }
   493  func (*UnimplementedBeaconDebugServer) ListForkChoiceHeads(context.Context, *empty.Empty) (*ForkChoiceHeadsResponse, error) {
   494  	return nil, status.Errorf(codes.Unimplemented, "method ListForkChoiceHeads not implemented")
   495  }
   496  
   497  func RegisterBeaconDebugServer(s *grpc.Server, srv BeaconDebugServer) {
   498  	s.RegisterService(&_BeaconDebug_serviceDesc, srv)
   499  }
   500  
   501  func _BeaconDebug_GetBeaconState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   502  	in := new(StateRequest)
   503  	if err := dec(in); err != nil {
   504  		return nil, err
   505  	}
   506  	if interceptor == nil {
   507  		return srv.(BeaconDebugServer).GetBeaconState(ctx, in)
   508  	}
   509  	info := &grpc.UnaryServerInfo{
   510  		Server:     srv,
   511  		FullMethod: "/ethereum.eth.v1.BeaconDebug/GetBeaconState",
   512  	}
   513  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   514  		return srv.(BeaconDebugServer).GetBeaconState(ctx, req.(*StateRequest))
   515  	}
   516  	return interceptor(ctx, in, info, handler)
   517  }
   518  
   519  func _BeaconDebug_GetBeaconStateSSZ_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   520  	in := new(StateRequest)
   521  	if err := dec(in); err != nil {
   522  		return nil, err
   523  	}
   524  	if interceptor == nil {
   525  		return srv.(BeaconDebugServer).GetBeaconStateSSZ(ctx, in)
   526  	}
   527  	info := &grpc.UnaryServerInfo{
   528  		Server:     srv,
   529  		FullMethod: "/ethereum.eth.v1.BeaconDebug/GetBeaconStateSSZ",
   530  	}
   531  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   532  		return srv.(BeaconDebugServer).GetBeaconStateSSZ(ctx, req.(*StateRequest))
   533  	}
   534  	return interceptor(ctx, in, info, handler)
   535  }
   536  
   537  func _BeaconDebug_ListForkChoiceHeads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   538  	in := new(empty.Empty)
   539  	if err := dec(in); err != nil {
   540  		return nil, err
   541  	}
   542  	if interceptor == nil {
   543  		return srv.(BeaconDebugServer).ListForkChoiceHeads(ctx, in)
   544  	}
   545  	info := &grpc.UnaryServerInfo{
   546  		Server:     srv,
   547  		FullMethod: "/ethereum.eth.v1.BeaconDebug/ListForkChoiceHeads",
   548  	}
   549  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   550  		return srv.(BeaconDebugServer).ListForkChoiceHeads(ctx, req.(*empty.Empty))
   551  	}
   552  	return interceptor(ctx, in, info, handler)
   553  }
   554  
   555  var _BeaconDebug_serviceDesc = grpc.ServiceDesc{
   556  	ServiceName: "ethereum.eth.v1.BeaconDebug",
   557  	HandlerType: (*BeaconDebugServer)(nil),
   558  	Methods: []grpc.MethodDesc{
   559  		{
   560  			MethodName: "GetBeaconState",
   561  			Handler:    _BeaconDebug_GetBeaconState_Handler,
   562  		},
   563  		{
   564  			MethodName: "GetBeaconStateSSZ",
   565  			Handler:    _BeaconDebug_GetBeaconStateSSZ_Handler,
   566  		},
   567  		{
   568  			MethodName: "ListForkChoiceHeads",
   569  			Handler:    _BeaconDebug_ListForkChoiceHeads_Handler,
   570  		},
   571  	},
   572  	Streams:  []grpc.StreamDesc{},
   573  	Metadata: "proto/eth/v1/beacon_debug_service.proto",
   574  }