github.com/prysmaticlabs/prysm@v1.4.4/proto/eth/v1/validator.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/validator.proto 6 7 package v1 8 9 import ( 10 reflect "reflect" 11 sync "sync" 12 13 proto "github.com/golang/protobuf/proto" 14 _ "github.com/golang/protobuf/protoc-gen-go/descriptor" 15 github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" 16 _ "github.com/prysmaticlabs/prysm/proto/eth/ext" 17 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 18 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 19 ) 20 21 const ( 22 // Verify that this generated code is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 24 // Verify that runtime/protoimpl is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 26 ) 27 28 // This is a compile-time assertion that a sufficiently up-to-date version 29 // of the legacy proto package is being used. 30 const _ = proto.ProtoPackageIsVersion4 31 32 type ValidatorStatus int32 33 34 const ( 35 ValidatorStatus_PENDING_INITIALIZED ValidatorStatus = 0 36 ValidatorStatus_PENDING_QUEUED ValidatorStatus = 1 37 ValidatorStatus_ACTIVE_ONGOING ValidatorStatus = 2 38 ValidatorStatus_ACTIVE_EXITING ValidatorStatus = 3 39 ValidatorStatus_ACTIVE_SLASHED ValidatorStatus = 4 40 ValidatorStatus_EXITED_UNSLASHED ValidatorStatus = 5 41 ValidatorStatus_EXITED_SLASHED ValidatorStatus = 6 42 ValidatorStatus_WITHDRAWAL_POSSIBLE ValidatorStatus = 7 43 ValidatorStatus_WITHDRAWAL_DONE ValidatorStatus = 8 44 ValidatorStatus_ACTIVE ValidatorStatus = 9 45 ValidatorStatus_PENDING ValidatorStatus = 10 46 ValidatorStatus_EXITED ValidatorStatus = 11 47 ValidatorStatus_WITHDRAWAL ValidatorStatus = 12 48 ) 49 50 // Enum value maps for ValidatorStatus. 51 var ( 52 ValidatorStatus_name = map[int32]string{ 53 0: "PENDING_INITIALIZED", 54 1: "PENDING_QUEUED", 55 2: "ACTIVE_ONGOING", 56 3: "ACTIVE_EXITING", 57 4: "ACTIVE_SLASHED", 58 5: "EXITED_UNSLASHED", 59 6: "EXITED_SLASHED", 60 7: "WITHDRAWAL_POSSIBLE", 61 8: "WITHDRAWAL_DONE", 62 9: "ACTIVE", 63 10: "PENDING", 64 11: "EXITED", 65 12: "WITHDRAWAL", 66 } 67 ValidatorStatus_value = map[string]int32{ 68 "PENDING_INITIALIZED": 0, 69 "PENDING_QUEUED": 1, 70 "ACTIVE_ONGOING": 2, 71 "ACTIVE_EXITING": 3, 72 "ACTIVE_SLASHED": 4, 73 "EXITED_UNSLASHED": 5, 74 "EXITED_SLASHED": 6, 75 "WITHDRAWAL_POSSIBLE": 7, 76 "WITHDRAWAL_DONE": 8, 77 "ACTIVE": 9, 78 "PENDING": 10, 79 "EXITED": 11, 80 "WITHDRAWAL": 12, 81 } 82 ) 83 84 func (x ValidatorStatus) Enum() *ValidatorStatus { 85 p := new(ValidatorStatus) 86 *p = x 87 return p 88 } 89 90 func (x ValidatorStatus) String() string { 91 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 92 } 93 94 func (ValidatorStatus) Descriptor() protoreflect.EnumDescriptor { 95 return file_proto_eth_v1_validator_proto_enumTypes[0].Descriptor() 96 } 97 98 func (ValidatorStatus) Type() protoreflect.EnumType { 99 return &file_proto_eth_v1_validator_proto_enumTypes[0] 100 } 101 102 func (x ValidatorStatus) Number() protoreflect.EnumNumber { 103 return protoreflect.EnumNumber(x) 104 } 105 106 // Deprecated: Use ValidatorStatus.Descriptor instead. 107 func (ValidatorStatus) EnumDescriptor() ([]byte, []int) { 108 return file_proto_eth_v1_validator_proto_rawDescGZIP(), []int{0} 109 } 110 111 type ValidatorContainer struct { 112 state protoimpl.MessageState 113 sizeCache protoimpl.SizeCache 114 unknownFields protoimpl.UnknownFields 115 116 Index github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` 117 Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` 118 Status ValidatorStatus `protobuf:"varint,3,opt,name=status,proto3,enum=ethereum.eth.v1.ValidatorStatus" json:"status,omitempty"` 119 Validator *Validator `protobuf:"bytes,4,opt,name=validator,proto3" json:"validator,omitempty"` 120 } 121 122 func (x *ValidatorContainer) Reset() { 123 *x = ValidatorContainer{} 124 if protoimpl.UnsafeEnabled { 125 mi := &file_proto_eth_v1_validator_proto_msgTypes[0] 126 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 127 ms.StoreMessageInfo(mi) 128 } 129 } 130 131 func (x *ValidatorContainer) String() string { 132 return protoimpl.X.MessageStringOf(x) 133 } 134 135 func (*ValidatorContainer) ProtoMessage() {} 136 137 func (x *ValidatorContainer) ProtoReflect() protoreflect.Message { 138 mi := &file_proto_eth_v1_validator_proto_msgTypes[0] 139 if protoimpl.UnsafeEnabled && x != nil { 140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 141 if ms.LoadMessageInfo() == nil { 142 ms.StoreMessageInfo(mi) 143 } 144 return ms 145 } 146 return mi.MessageOf(x) 147 } 148 149 // Deprecated: Use ValidatorContainer.ProtoReflect.Descriptor instead. 150 func (*ValidatorContainer) Descriptor() ([]byte, []int) { 151 return file_proto_eth_v1_validator_proto_rawDescGZIP(), []int{0} 152 } 153 154 func (x *ValidatorContainer) GetIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { 155 if x != nil { 156 return x.Index 157 } 158 return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) 159 } 160 161 func (x *ValidatorContainer) GetBalance() uint64 { 162 if x != nil { 163 return x.Balance 164 } 165 return 0 166 } 167 168 func (x *ValidatorContainer) GetStatus() ValidatorStatus { 169 if x != nil { 170 return x.Status 171 } 172 return ValidatorStatus_PENDING_INITIALIZED 173 } 174 175 func (x *ValidatorContainer) GetValidator() *Validator { 176 if x != nil { 177 return x.Validator 178 } 179 return nil 180 } 181 182 type Validator struct { 183 state protoimpl.MessageState 184 sizeCache protoimpl.SizeCache 185 unknownFields protoimpl.UnknownFields 186 187 Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty" spec-name:"pubkey" ssz-size:"48"` 188 WithdrawalCredentials []byte `protobuf:"bytes,2,opt,name=withdrawal_credentials,json=withdrawalCredentials,proto3" json:"withdrawal_credentials,omitempty" ssz-size:"32"` 189 EffectiveBalance uint64 `protobuf:"varint,3,opt,name=effective_balance,json=effectiveBalance,proto3" json:"effective_balance,omitempty"` 190 Slashed bool `protobuf:"varint,4,opt,name=slashed,proto3" json:"slashed,omitempty"` 191 ActivationEligibilityEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,5,opt,name=activation_eligibility_epoch,json=activationEligibilityEpoch,proto3" json:"activation_eligibility_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` 192 ActivationEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,6,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` 193 ExitEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,7,opt,name=exit_epoch,json=exitEpoch,proto3" json:"exit_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` 194 WithdrawableEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,8,opt,name=withdrawable_epoch,json=withdrawableEpoch,proto3" json:"withdrawable_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` 195 } 196 197 func (x *Validator) Reset() { 198 *x = Validator{} 199 if protoimpl.UnsafeEnabled { 200 mi := &file_proto_eth_v1_validator_proto_msgTypes[1] 201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 202 ms.StoreMessageInfo(mi) 203 } 204 } 205 206 func (x *Validator) String() string { 207 return protoimpl.X.MessageStringOf(x) 208 } 209 210 func (*Validator) ProtoMessage() {} 211 212 func (x *Validator) ProtoReflect() protoreflect.Message { 213 mi := &file_proto_eth_v1_validator_proto_msgTypes[1] 214 if protoimpl.UnsafeEnabled && x != nil { 215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 216 if ms.LoadMessageInfo() == nil { 217 ms.StoreMessageInfo(mi) 218 } 219 return ms 220 } 221 return mi.MessageOf(x) 222 } 223 224 // Deprecated: Use Validator.ProtoReflect.Descriptor instead. 225 func (*Validator) Descriptor() ([]byte, []int) { 226 return file_proto_eth_v1_validator_proto_rawDescGZIP(), []int{1} 227 } 228 229 func (x *Validator) GetPubkey() []byte { 230 if x != nil { 231 return x.Pubkey 232 } 233 return nil 234 } 235 236 func (x *Validator) GetWithdrawalCredentials() []byte { 237 if x != nil { 238 return x.WithdrawalCredentials 239 } 240 return nil 241 } 242 243 func (x *Validator) GetEffectiveBalance() uint64 { 244 if x != nil { 245 return x.EffectiveBalance 246 } 247 return 0 248 } 249 250 func (x *Validator) GetSlashed() bool { 251 if x != nil { 252 return x.Slashed 253 } 254 return false 255 } 256 257 func (x *Validator) GetActivationEligibilityEpoch() github_com_prysmaticlabs_eth2_types.Epoch { 258 if x != nil { 259 return x.ActivationEligibilityEpoch 260 } 261 return github_com_prysmaticlabs_eth2_types.Epoch(0) 262 } 263 264 func (x *Validator) GetActivationEpoch() github_com_prysmaticlabs_eth2_types.Epoch { 265 if x != nil { 266 return x.ActivationEpoch 267 } 268 return github_com_prysmaticlabs_eth2_types.Epoch(0) 269 } 270 271 func (x *Validator) GetExitEpoch() github_com_prysmaticlabs_eth2_types.Epoch { 272 if x != nil { 273 return x.ExitEpoch 274 } 275 return github_com_prysmaticlabs_eth2_types.Epoch(0) 276 } 277 278 func (x *Validator) GetWithdrawableEpoch() github_com_prysmaticlabs_eth2_types.Epoch { 279 if x != nil { 280 return x.WithdrawableEpoch 281 } 282 return github_com_prysmaticlabs_eth2_types.Epoch(0) 283 } 284 285 var File_proto_eth_v1_validator_proto protoreflect.FileDescriptor 286 287 var file_proto_eth_v1_validator_proto_rawDesc = []byte{ 288 0x0a, 0x1c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x76, 289 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 290 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x1a, 291 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 292 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 293 0x6f, 0x1a, 0x1b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x65, 0x78, 0x74, 294 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf0, 295 0x01, 0x0a, 0x12, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x74, 296 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x4c, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 297 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 298 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 299 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 300 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x69, 0x6e, 301 0x64, 0x65, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 302 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x38, 0x0a, 303 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 304 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 305 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 306 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x38, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 307 0x61, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x74, 0x68, 308 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 309 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 310 0x72, 0x22, 0xb2, 0x04, 0x0a, 0x09, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 311 0x28, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 312 0x10, 0x8a, 0xb5, 0x18, 0x02, 0x34, 0x38, 0x9a, 0xb5, 0x18, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 313 0x79, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x16, 0x77, 0x69, 0x74, 314 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 315 0x61, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 316 0x32, 0x52, 0x15, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x43, 0x72, 0x65, 317 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x66, 0x66, 0x65, 318 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 319 0x01, 0x28, 0x04, 0x52, 0x10, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x61, 320 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 321 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x12, 322 0x6f, 0x0a, 0x1c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6c, 323 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 324 0x05, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 325 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 326 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 327 0x70, 0x6f, 0x63, 0x68, 0x52, 0x1a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 328 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x45, 0x70, 0x6f, 0x63, 0x68, 329 0x12, 0x58, 0x0a, 0x10, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 330 0x70, 0x6f, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 331 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 332 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 333 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 334 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x4c, 0x0a, 0x0a, 0x65, 0x78, 335 0x69, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 336 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 337 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 338 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x09, 0x65, 339 0x78, 0x69, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x5c, 0x0a, 0x12, 0x77, 0x69, 0x74, 0x68, 340 0x64, 0x72, 0x61, 0x77, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x08, 341 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 342 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 343 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 344 0x6f, 0x63, 0x68, 0x52, 0x11, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x62, 0x6c, 345 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x2a, 0x87, 0x02, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 346 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x45, 347 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x45, 348 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x51, 349 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x43, 0x54, 0x49, 0x56, 350 0x45, 0x5f, 0x4f, 0x4e, 0x47, 0x4f, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x41, 351 0x43, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x45, 0x58, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 352 0x12, 0x0a, 0x0e, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x53, 0x4c, 0x41, 0x53, 0x48, 0x45, 353 0x44, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x45, 0x58, 0x49, 0x54, 0x45, 0x44, 0x5f, 0x55, 0x4e, 354 0x53, 0x4c, 0x41, 0x53, 0x48, 0x45, 0x44, 0x10, 0x05, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x58, 0x49, 355 0x54, 0x45, 0x44, 0x5f, 0x53, 0x4c, 0x41, 0x53, 0x48, 0x45, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 356 0x13, 0x57, 0x49, 0x54, 0x48, 0x44, 0x52, 0x41, 0x57, 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x53, 357 0x49, 0x42, 0x4c, 0x45, 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, 0x57, 0x49, 0x54, 0x48, 0x44, 0x52, 358 0x41, 0x57, 0x41, 0x4c, 0x5f, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06, 0x41, 359 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 360 0x4e, 0x47, 0x10, 0x0a, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x58, 0x49, 0x54, 0x45, 0x44, 0x10, 0x0b, 361 0x12, 0x0e, 0x0a, 0x0a, 0x57, 0x49, 0x54, 0x48, 0x44, 0x52, 0x41, 0x57, 0x41, 0x4c, 0x10, 0x0c, 362 0x42, 0x78, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 363 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 364 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 365 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 366 0x61, 0x62, 0x73, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 367 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0xaa, 0x02, 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 368 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, 0x31, 0xca, 0x02, 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, 369 0x65, 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 370 0x6f, 0x33, 371 } 372 373 var ( 374 file_proto_eth_v1_validator_proto_rawDescOnce sync.Once 375 file_proto_eth_v1_validator_proto_rawDescData = file_proto_eth_v1_validator_proto_rawDesc 376 ) 377 378 func file_proto_eth_v1_validator_proto_rawDescGZIP() []byte { 379 file_proto_eth_v1_validator_proto_rawDescOnce.Do(func() { 380 file_proto_eth_v1_validator_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_eth_v1_validator_proto_rawDescData) 381 }) 382 return file_proto_eth_v1_validator_proto_rawDescData 383 } 384 385 var file_proto_eth_v1_validator_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 386 var file_proto_eth_v1_validator_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 387 var file_proto_eth_v1_validator_proto_goTypes = []interface{}{ 388 (ValidatorStatus)(0), // 0: ethereum.eth.v1.ValidatorStatus 389 (*ValidatorContainer)(nil), // 1: ethereum.eth.v1.ValidatorContainer 390 (*Validator)(nil), // 2: ethereum.eth.v1.Validator 391 } 392 var file_proto_eth_v1_validator_proto_depIdxs = []int32{ 393 0, // 0: ethereum.eth.v1.ValidatorContainer.status:type_name -> ethereum.eth.v1.ValidatorStatus 394 2, // 1: ethereum.eth.v1.ValidatorContainer.validator:type_name -> ethereum.eth.v1.Validator 395 2, // [2:2] is the sub-list for method output_type 396 2, // [2:2] is the sub-list for method input_type 397 2, // [2:2] is the sub-list for extension type_name 398 2, // [2:2] is the sub-list for extension extendee 399 0, // [0:2] is the sub-list for field type_name 400 } 401 402 func init() { file_proto_eth_v1_validator_proto_init() } 403 func file_proto_eth_v1_validator_proto_init() { 404 if File_proto_eth_v1_validator_proto != nil { 405 return 406 } 407 if !protoimpl.UnsafeEnabled { 408 file_proto_eth_v1_validator_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 409 switch v := v.(*ValidatorContainer); i { 410 case 0: 411 return &v.state 412 case 1: 413 return &v.sizeCache 414 case 2: 415 return &v.unknownFields 416 default: 417 return nil 418 } 419 } 420 file_proto_eth_v1_validator_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 421 switch v := v.(*Validator); i { 422 case 0: 423 return &v.state 424 case 1: 425 return &v.sizeCache 426 case 2: 427 return &v.unknownFields 428 default: 429 return nil 430 } 431 } 432 } 433 type x struct{} 434 out := protoimpl.TypeBuilder{ 435 File: protoimpl.DescBuilder{ 436 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 437 RawDescriptor: file_proto_eth_v1_validator_proto_rawDesc, 438 NumEnums: 1, 439 NumMessages: 2, 440 NumExtensions: 0, 441 NumServices: 0, 442 }, 443 GoTypes: file_proto_eth_v1_validator_proto_goTypes, 444 DependencyIndexes: file_proto_eth_v1_validator_proto_depIdxs, 445 EnumInfos: file_proto_eth_v1_validator_proto_enumTypes, 446 MessageInfos: file_proto_eth_v1_validator_proto_msgTypes, 447 }.Build() 448 File_proto_eth_v1_validator_proto = out.File 449 file_proto_eth_v1_validator_proto_rawDesc = nil 450 file_proto_eth_v1_validator_proto_goTypes = nil 451 file_proto_eth_v1_validator_proto_depIdxs = nil 452 }