github.com/MetalBlockchain/metalgo@v1.11.9/proto/pb/validatorstate/validator_state.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.33.0
     4  // 	protoc        (unknown)
     5  // source: validatorstate/validator_state.proto
     6  
     7  package validatorstate
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	emptypb "google.golang.org/protobuf/types/known/emptypb"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type GetMinimumHeightResponse struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
    30  }
    31  
    32  func (x *GetMinimumHeightResponse) Reset() {
    33  	*x = GetMinimumHeightResponse{}
    34  	if protoimpl.UnsafeEnabled {
    35  		mi := &file_validatorstate_validator_state_proto_msgTypes[0]
    36  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    37  		ms.StoreMessageInfo(mi)
    38  	}
    39  }
    40  
    41  func (x *GetMinimumHeightResponse) String() string {
    42  	return protoimpl.X.MessageStringOf(x)
    43  }
    44  
    45  func (*GetMinimumHeightResponse) ProtoMessage() {}
    46  
    47  func (x *GetMinimumHeightResponse) ProtoReflect() protoreflect.Message {
    48  	mi := &file_validatorstate_validator_state_proto_msgTypes[0]
    49  	if protoimpl.UnsafeEnabled && x != nil {
    50  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    51  		if ms.LoadMessageInfo() == nil {
    52  			ms.StoreMessageInfo(mi)
    53  		}
    54  		return ms
    55  	}
    56  	return mi.MessageOf(x)
    57  }
    58  
    59  // Deprecated: Use GetMinimumHeightResponse.ProtoReflect.Descriptor instead.
    60  func (*GetMinimumHeightResponse) Descriptor() ([]byte, []int) {
    61  	return file_validatorstate_validator_state_proto_rawDescGZIP(), []int{0}
    62  }
    63  
    64  func (x *GetMinimumHeightResponse) GetHeight() uint64 {
    65  	if x != nil {
    66  		return x.Height
    67  	}
    68  	return 0
    69  }
    70  
    71  type GetCurrentHeightResponse struct {
    72  	state         protoimpl.MessageState
    73  	sizeCache     protoimpl.SizeCache
    74  	unknownFields protoimpl.UnknownFields
    75  
    76  	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
    77  }
    78  
    79  func (x *GetCurrentHeightResponse) Reset() {
    80  	*x = GetCurrentHeightResponse{}
    81  	if protoimpl.UnsafeEnabled {
    82  		mi := &file_validatorstate_validator_state_proto_msgTypes[1]
    83  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    84  		ms.StoreMessageInfo(mi)
    85  	}
    86  }
    87  
    88  func (x *GetCurrentHeightResponse) String() string {
    89  	return protoimpl.X.MessageStringOf(x)
    90  }
    91  
    92  func (*GetCurrentHeightResponse) ProtoMessage() {}
    93  
    94  func (x *GetCurrentHeightResponse) ProtoReflect() protoreflect.Message {
    95  	mi := &file_validatorstate_validator_state_proto_msgTypes[1]
    96  	if protoimpl.UnsafeEnabled && x != nil {
    97  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    98  		if ms.LoadMessageInfo() == nil {
    99  			ms.StoreMessageInfo(mi)
   100  		}
   101  		return ms
   102  	}
   103  	return mi.MessageOf(x)
   104  }
   105  
   106  // Deprecated: Use GetCurrentHeightResponse.ProtoReflect.Descriptor instead.
   107  func (*GetCurrentHeightResponse) Descriptor() ([]byte, []int) {
   108  	return file_validatorstate_validator_state_proto_rawDescGZIP(), []int{1}
   109  }
   110  
   111  func (x *GetCurrentHeightResponse) GetHeight() uint64 {
   112  	if x != nil {
   113  		return x.Height
   114  	}
   115  	return 0
   116  }
   117  
   118  type GetSubnetIDRequest struct {
   119  	state         protoimpl.MessageState
   120  	sizeCache     protoimpl.SizeCache
   121  	unknownFields protoimpl.UnknownFields
   122  
   123  	ChainId []byte `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
   124  }
   125  
   126  func (x *GetSubnetIDRequest) Reset() {
   127  	*x = GetSubnetIDRequest{}
   128  	if protoimpl.UnsafeEnabled {
   129  		mi := &file_validatorstate_validator_state_proto_msgTypes[2]
   130  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   131  		ms.StoreMessageInfo(mi)
   132  	}
   133  }
   134  
   135  func (x *GetSubnetIDRequest) String() string {
   136  	return protoimpl.X.MessageStringOf(x)
   137  }
   138  
   139  func (*GetSubnetIDRequest) ProtoMessage() {}
   140  
   141  func (x *GetSubnetIDRequest) ProtoReflect() protoreflect.Message {
   142  	mi := &file_validatorstate_validator_state_proto_msgTypes[2]
   143  	if protoimpl.UnsafeEnabled && x != nil {
   144  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   145  		if ms.LoadMessageInfo() == nil {
   146  			ms.StoreMessageInfo(mi)
   147  		}
   148  		return ms
   149  	}
   150  	return mi.MessageOf(x)
   151  }
   152  
   153  // Deprecated: Use GetSubnetIDRequest.ProtoReflect.Descriptor instead.
   154  func (*GetSubnetIDRequest) Descriptor() ([]byte, []int) {
   155  	return file_validatorstate_validator_state_proto_rawDescGZIP(), []int{2}
   156  }
   157  
   158  func (x *GetSubnetIDRequest) GetChainId() []byte {
   159  	if x != nil {
   160  		return x.ChainId
   161  	}
   162  	return nil
   163  }
   164  
   165  type GetSubnetIDResponse struct {
   166  	state         protoimpl.MessageState
   167  	sizeCache     protoimpl.SizeCache
   168  	unknownFields protoimpl.UnknownFields
   169  
   170  	SubnetId []byte `protobuf:"bytes,1,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
   171  }
   172  
   173  func (x *GetSubnetIDResponse) Reset() {
   174  	*x = GetSubnetIDResponse{}
   175  	if protoimpl.UnsafeEnabled {
   176  		mi := &file_validatorstate_validator_state_proto_msgTypes[3]
   177  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   178  		ms.StoreMessageInfo(mi)
   179  	}
   180  }
   181  
   182  func (x *GetSubnetIDResponse) String() string {
   183  	return protoimpl.X.MessageStringOf(x)
   184  }
   185  
   186  func (*GetSubnetIDResponse) ProtoMessage() {}
   187  
   188  func (x *GetSubnetIDResponse) ProtoReflect() protoreflect.Message {
   189  	mi := &file_validatorstate_validator_state_proto_msgTypes[3]
   190  	if protoimpl.UnsafeEnabled && x != nil {
   191  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   192  		if ms.LoadMessageInfo() == nil {
   193  			ms.StoreMessageInfo(mi)
   194  		}
   195  		return ms
   196  	}
   197  	return mi.MessageOf(x)
   198  }
   199  
   200  // Deprecated: Use GetSubnetIDResponse.ProtoReflect.Descriptor instead.
   201  func (*GetSubnetIDResponse) Descriptor() ([]byte, []int) {
   202  	return file_validatorstate_validator_state_proto_rawDescGZIP(), []int{3}
   203  }
   204  
   205  func (x *GetSubnetIDResponse) GetSubnetId() []byte {
   206  	if x != nil {
   207  		return x.SubnetId
   208  	}
   209  	return nil
   210  }
   211  
   212  type GetValidatorSetRequest struct {
   213  	state         protoimpl.MessageState
   214  	sizeCache     protoimpl.SizeCache
   215  	unknownFields protoimpl.UnknownFields
   216  
   217  	Height   uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
   218  	SubnetId []byte `protobuf:"bytes,2,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
   219  }
   220  
   221  func (x *GetValidatorSetRequest) Reset() {
   222  	*x = GetValidatorSetRequest{}
   223  	if protoimpl.UnsafeEnabled {
   224  		mi := &file_validatorstate_validator_state_proto_msgTypes[4]
   225  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   226  		ms.StoreMessageInfo(mi)
   227  	}
   228  }
   229  
   230  func (x *GetValidatorSetRequest) String() string {
   231  	return protoimpl.X.MessageStringOf(x)
   232  }
   233  
   234  func (*GetValidatorSetRequest) ProtoMessage() {}
   235  
   236  func (x *GetValidatorSetRequest) ProtoReflect() protoreflect.Message {
   237  	mi := &file_validatorstate_validator_state_proto_msgTypes[4]
   238  	if protoimpl.UnsafeEnabled && x != nil {
   239  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   240  		if ms.LoadMessageInfo() == nil {
   241  			ms.StoreMessageInfo(mi)
   242  		}
   243  		return ms
   244  	}
   245  	return mi.MessageOf(x)
   246  }
   247  
   248  // Deprecated: Use GetValidatorSetRequest.ProtoReflect.Descriptor instead.
   249  func (*GetValidatorSetRequest) Descriptor() ([]byte, []int) {
   250  	return file_validatorstate_validator_state_proto_rawDescGZIP(), []int{4}
   251  }
   252  
   253  func (x *GetValidatorSetRequest) GetHeight() uint64 {
   254  	if x != nil {
   255  		return x.Height
   256  	}
   257  	return 0
   258  }
   259  
   260  func (x *GetValidatorSetRequest) GetSubnetId() []byte {
   261  	if x != nil {
   262  		return x.SubnetId
   263  	}
   264  	return nil
   265  }
   266  
   267  type Validator struct {
   268  	state         protoimpl.MessageState
   269  	sizeCache     protoimpl.SizeCache
   270  	unknownFields protoimpl.UnknownFields
   271  
   272  	NodeId    []byte `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
   273  	Weight    uint64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
   274  	PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
   275  }
   276  
   277  func (x *Validator) Reset() {
   278  	*x = Validator{}
   279  	if protoimpl.UnsafeEnabled {
   280  		mi := &file_validatorstate_validator_state_proto_msgTypes[5]
   281  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   282  		ms.StoreMessageInfo(mi)
   283  	}
   284  }
   285  
   286  func (x *Validator) String() string {
   287  	return protoimpl.X.MessageStringOf(x)
   288  }
   289  
   290  func (*Validator) ProtoMessage() {}
   291  
   292  func (x *Validator) ProtoReflect() protoreflect.Message {
   293  	mi := &file_validatorstate_validator_state_proto_msgTypes[5]
   294  	if protoimpl.UnsafeEnabled && x != nil {
   295  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   296  		if ms.LoadMessageInfo() == nil {
   297  			ms.StoreMessageInfo(mi)
   298  		}
   299  		return ms
   300  	}
   301  	return mi.MessageOf(x)
   302  }
   303  
   304  // Deprecated: Use Validator.ProtoReflect.Descriptor instead.
   305  func (*Validator) Descriptor() ([]byte, []int) {
   306  	return file_validatorstate_validator_state_proto_rawDescGZIP(), []int{5}
   307  }
   308  
   309  func (x *Validator) GetNodeId() []byte {
   310  	if x != nil {
   311  		return x.NodeId
   312  	}
   313  	return nil
   314  }
   315  
   316  func (x *Validator) GetWeight() uint64 {
   317  	if x != nil {
   318  		return x.Weight
   319  	}
   320  	return 0
   321  }
   322  
   323  func (x *Validator) GetPublicKey() []byte {
   324  	if x != nil {
   325  		return x.PublicKey
   326  	}
   327  	return nil
   328  }
   329  
   330  type GetValidatorSetResponse struct {
   331  	state         protoimpl.MessageState
   332  	sizeCache     protoimpl.SizeCache
   333  	unknownFields protoimpl.UnknownFields
   334  
   335  	Validators []*Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
   336  }
   337  
   338  func (x *GetValidatorSetResponse) Reset() {
   339  	*x = GetValidatorSetResponse{}
   340  	if protoimpl.UnsafeEnabled {
   341  		mi := &file_validatorstate_validator_state_proto_msgTypes[6]
   342  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   343  		ms.StoreMessageInfo(mi)
   344  	}
   345  }
   346  
   347  func (x *GetValidatorSetResponse) String() string {
   348  	return protoimpl.X.MessageStringOf(x)
   349  }
   350  
   351  func (*GetValidatorSetResponse) ProtoMessage() {}
   352  
   353  func (x *GetValidatorSetResponse) ProtoReflect() protoreflect.Message {
   354  	mi := &file_validatorstate_validator_state_proto_msgTypes[6]
   355  	if protoimpl.UnsafeEnabled && x != nil {
   356  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   357  		if ms.LoadMessageInfo() == nil {
   358  			ms.StoreMessageInfo(mi)
   359  		}
   360  		return ms
   361  	}
   362  	return mi.MessageOf(x)
   363  }
   364  
   365  // Deprecated: Use GetValidatorSetResponse.ProtoReflect.Descriptor instead.
   366  func (*GetValidatorSetResponse) Descriptor() ([]byte, []int) {
   367  	return file_validatorstate_validator_state_proto_rawDescGZIP(), []int{6}
   368  }
   369  
   370  func (x *GetValidatorSetResponse) GetValidators() []*Validator {
   371  	if x != nil {
   372  		return x.Validators
   373  	}
   374  	return nil
   375  }
   376  
   377  var File_validatorstate_validator_state_proto protoreflect.FileDescriptor
   378  
   379  var file_validatorstate_validator_state_proto_rawDesc = []byte{
   380  	0x0a, 0x24, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x74, 0x61, 0x74, 0x65,
   381  	0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65,
   382  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f,
   383  	0x72, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
   384  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72,
   385  	0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75,
   386  	0x6d, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
   387  	0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
   388  	0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x32, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x43, 0x75,
   389  	0x72, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
   390  	0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20,
   391  	0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x2f, 0x0a, 0x12, 0x47,
   392  	0x65, 0x74, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
   393  	0x74, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
   394  	0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x32, 0x0a, 0x13,
   395  	0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f,
   396  	0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x5f, 0x69, 0x64,
   397  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x49, 0x64,
   398  	0x22, 0x4d, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72,
   399  	0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65,
   400  	0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67,
   401  	0x68, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18,
   402  	0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x22,
   403  	0x5b, 0x0a, 0x09, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x17, 0x0a, 0x07,
   404  	0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6e,
   405  	0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18,
   406  	0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1d, 0x0a,
   407  	0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
   408  	0x0c, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0x54, 0x0a, 0x17,
   409  	0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x52,
   410  	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64,
   411  	0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x61,
   412  	0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x56, 0x61, 0x6c,
   413  	0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f,
   414  	0x72, 0x73, 0x32, 0xf8, 0x02, 0x0a, 0x0e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72,
   415  	0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x54, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x69,
   416  	0x6d, 0x75, 0x6d, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   417  	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
   418  	0x79, 0x1a, 0x28, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x74, 0x61,
   419  	0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x48, 0x65, 0x69,
   420  	0x67, 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x10, 0x47,
   421  	0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12,
   422  	0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   423  	0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x28, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
   424  	0x74, 0x6f, 0x72, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72,
   425  	0x65, 0x6e, 0x74, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
   426  	0x65, 0x12, 0x56, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x49, 0x44,
   427  	0x12, 0x22, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x74, 0x61, 0x74,
   428  	0x65, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x49, 0x44, 0x52, 0x65, 0x71,
   429  	0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72,
   430  	0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x49,
   431  	0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0f, 0x47, 0x65, 0x74,
   432  	0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x12, 0x26, 0x2e, 0x76,
   433  	0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x47, 0x65,
   434  	0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71,
   435  	0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72,
   436  	0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
   437  	0x6f, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x39, 0x5a,
   438  	0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x76, 0x61, 0x2d,
   439  	0x6c, 0x61, 0x62, 0x73, 0x2f, 0x61, 0x76, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x67, 0x6f,
   440  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x62, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
   441  	0x74, 0x6f, 0x72, 0x73, 0x74, 0x61, 0x74, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   442  }
   443  
   444  var (
   445  	file_validatorstate_validator_state_proto_rawDescOnce sync.Once
   446  	file_validatorstate_validator_state_proto_rawDescData = file_validatorstate_validator_state_proto_rawDesc
   447  )
   448  
   449  func file_validatorstate_validator_state_proto_rawDescGZIP() []byte {
   450  	file_validatorstate_validator_state_proto_rawDescOnce.Do(func() {
   451  		file_validatorstate_validator_state_proto_rawDescData = protoimpl.X.CompressGZIP(file_validatorstate_validator_state_proto_rawDescData)
   452  	})
   453  	return file_validatorstate_validator_state_proto_rawDescData
   454  }
   455  
   456  var file_validatorstate_validator_state_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
   457  var file_validatorstate_validator_state_proto_goTypes = []interface{}{
   458  	(*GetMinimumHeightResponse)(nil), // 0: validatorstate.GetMinimumHeightResponse
   459  	(*GetCurrentHeightResponse)(nil), // 1: validatorstate.GetCurrentHeightResponse
   460  	(*GetSubnetIDRequest)(nil),       // 2: validatorstate.GetSubnetIDRequest
   461  	(*GetSubnetIDResponse)(nil),      // 3: validatorstate.GetSubnetIDResponse
   462  	(*GetValidatorSetRequest)(nil),   // 4: validatorstate.GetValidatorSetRequest
   463  	(*Validator)(nil),                // 5: validatorstate.Validator
   464  	(*GetValidatorSetResponse)(nil),  // 6: validatorstate.GetValidatorSetResponse
   465  	(*emptypb.Empty)(nil),            // 7: google.protobuf.Empty
   466  }
   467  var file_validatorstate_validator_state_proto_depIdxs = []int32{
   468  	5, // 0: validatorstate.GetValidatorSetResponse.validators:type_name -> validatorstate.Validator
   469  	7, // 1: validatorstate.ValidatorState.GetMinimumHeight:input_type -> google.protobuf.Empty
   470  	7, // 2: validatorstate.ValidatorState.GetCurrentHeight:input_type -> google.protobuf.Empty
   471  	2, // 3: validatorstate.ValidatorState.GetSubnetID:input_type -> validatorstate.GetSubnetIDRequest
   472  	4, // 4: validatorstate.ValidatorState.GetValidatorSet:input_type -> validatorstate.GetValidatorSetRequest
   473  	0, // 5: validatorstate.ValidatorState.GetMinimumHeight:output_type -> validatorstate.GetMinimumHeightResponse
   474  	1, // 6: validatorstate.ValidatorState.GetCurrentHeight:output_type -> validatorstate.GetCurrentHeightResponse
   475  	3, // 7: validatorstate.ValidatorState.GetSubnetID:output_type -> validatorstate.GetSubnetIDResponse
   476  	6, // 8: validatorstate.ValidatorState.GetValidatorSet:output_type -> validatorstate.GetValidatorSetResponse
   477  	5, // [5:9] is the sub-list for method output_type
   478  	1, // [1:5] is the sub-list for method input_type
   479  	1, // [1:1] is the sub-list for extension type_name
   480  	1, // [1:1] is the sub-list for extension extendee
   481  	0, // [0:1] is the sub-list for field type_name
   482  }
   483  
   484  func init() { file_validatorstate_validator_state_proto_init() }
   485  func file_validatorstate_validator_state_proto_init() {
   486  	if File_validatorstate_validator_state_proto != nil {
   487  		return
   488  	}
   489  	if !protoimpl.UnsafeEnabled {
   490  		file_validatorstate_validator_state_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   491  			switch v := v.(*GetMinimumHeightResponse); i {
   492  			case 0:
   493  				return &v.state
   494  			case 1:
   495  				return &v.sizeCache
   496  			case 2:
   497  				return &v.unknownFields
   498  			default:
   499  				return nil
   500  			}
   501  		}
   502  		file_validatorstate_validator_state_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   503  			switch v := v.(*GetCurrentHeightResponse); i {
   504  			case 0:
   505  				return &v.state
   506  			case 1:
   507  				return &v.sizeCache
   508  			case 2:
   509  				return &v.unknownFields
   510  			default:
   511  				return nil
   512  			}
   513  		}
   514  		file_validatorstate_validator_state_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   515  			switch v := v.(*GetSubnetIDRequest); i {
   516  			case 0:
   517  				return &v.state
   518  			case 1:
   519  				return &v.sizeCache
   520  			case 2:
   521  				return &v.unknownFields
   522  			default:
   523  				return nil
   524  			}
   525  		}
   526  		file_validatorstate_validator_state_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   527  			switch v := v.(*GetSubnetIDResponse); i {
   528  			case 0:
   529  				return &v.state
   530  			case 1:
   531  				return &v.sizeCache
   532  			case 2:
   533  				return &v.unknownFields
   534  			default:
   535  				return nil
   536  			}
   537  		}
   538  		file_validatorstate_validator_state_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   539  			switch v := v.(*GetValidatorSetRequest); i {
   540  			case 0:
   541  				return &v.state
   542  			case 1:
   543  				return &v.sizeCache
   544  			case 2:
   545  				return &v.unknownFields
   546  			default:
   547  				return nil
   548  			}
   549  		}
   550  		file_validatorstate_validator_state_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   551  			switch v := v.(*Validator); i {
   552  			case 0:
   553  				return &v.state
   554  			case 1:
   555  				return &v.sizeCache
   556  			case 2:
   557  				return &v.unknownFields
   558  			default:
   559  				return nil
   560  			}
   561  		}
   562  		file_validatorstate_validator_state_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   563  			switch v := v.(*GetValidatorSetResponse); i {
   564  			case 0:
   565  				return &v.state
   566  			case 1:
   567  				return &v.sizeCache
   568  			case 2:
   569  				return &v.unknownFields
   570  			default:
   571  				return nil
   572  			}
   573  		}
   574  	}
   575  	type x struct{}
   576  	out := protoimpl.TypeBuilder{
   577  		File: protoimpl.DescBuilder{
   578  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   579  			RawDescriptor: file_validatorstate_validator_state_proto_rawDesc,
   580  			NumEnums:      0,
   581  			NumMessages:   7,
   582  			NumExtensions: 0,
   583  			NumServices:   1,
   584  		},
   585  		GoTypes:           file_validatorstate_validator_state_proto_goTypes,
   586  		DependencyIndexes: file_validatorstate_validator_state_proto_depIdxs,
   587  		MessageInfos:      file_validatorstate_validator_state_proto_msgTypes,
   588  	}.Build()
   589  	File_validatorstate_validator_state_proto = out.File
   590  	file_validatorstate_validator_state_proto_rawDesc = nil
   591  	file_validatorstate_validator_state_proto_goTypes = nil
   592  	file_validatorstate_validator_state_proto_depIdxs = nil
   593  }