github.com/prysmaticlabs/prysm@v1.4.4/proto/beacon/db/finalized_block_root_container.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/beacon/db/finalized_block_root_container.proto 6 7 package db 8 9 import ( 10 reflect "reflect" 11 sync "sync" 12 13 proto "github.com/golang/protobuf/proto" 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 // This is a compile-time assertion that a sufficiently up-to-date version 26 // of the legacy proto package is being used. 27 const _ = proto.ProtoPackageIsVersion4 28 29 type FinalizedBlockRootContainer struct { 30 state protoimpl.MessageState 31 sizeCache protoimpl.SizeCache 32 unknownFields protoimpl.UnknownFields 33 34 ParentRoot []byte `protobuf:"bytes,1,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty"` 35 ChildRoot []byte `protobuf:"bytes,2,opt,name=child_root,json=childRoot,proto3" json:"child_root,omitempty"` 36 } 37 38 func (x *FinalizedBlockRootContainer) Reset() { 39 *x = FinalizedBlockRootContainer{} 40 if protoimpl.UnsafeEnabled { 41 mi := &file_proto_beacon_db_finalized_block_root_container_proto_msgTypes[0] 42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 43 ms.StoreMessageInfo(mi) 44 } 45 } 46 47 func (x *FinalizedBlockRootContainer) String() string { 48 return protoimpl.X.MessageStringOf(x) 49 } 50 51 func (*FinalizedBlockRootContainer) ProtoMessage() {} 52 53 func (x *FinalizedBlockRootContainer) ProtoReflect() protoreflect.Message { 54 mi := &file_proto_beacon_db_finalized_block_root_container_proto_msgTypes[0] 55 if protoimpl.UnsafeEnabled && x != nil { 56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 57 if ms.LoadMessageInfo() == nil { 58 ms.StoreMessageInfo(mi) 59 } 60 return ms 61 } 62 return mi.MessageOf(x) 63 } 64 65 // Deprecated: Use FinalizedBlockRootContainer.ProtoReflect.Descriptor instead. 66 func (*FinalizedBlockRootContainer) Descriptor() ([]byte, []int) { 67 return file_proto_beacon_db_finalized_block_root_container_proto_rawDescGZIP(), []int{0} 68 } 69 70 func (x *FinalizedBlockRootContainer) GetParentRoot() []byte { 71 if x != nil { 72 return x.ParentRoot 73 } 74 return nil 75 } 76 77 func (x *FinalizedBlockRootContainer) GetChildRoot() []byte { 78 if x != nil { 79 return x.ChildRoot 80 } 81 return nil 82 } 83 84 var File_proto_beacon_db_finalized_block_root_container_proto protoreflect.FileDescriptor 85 86 var file_proto_beacon_db_finalized_block_root_container_proto_rawDesc = []byte{ 87 0x0a, 0x34, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x64, 88 0x62, 0x2f, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 89 0x6b, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 90 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x2e, 0x62, 0x65, 91 0x61, 0x63, 0x6f, 0x6e, 0x2e, 0x64, 0x62, 0x22, 0x5d, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x61, 0x6c, 92 0x69, 0x7a, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 93 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 94 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72, 95 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x69, 0x6c, 0x64, 96 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x68, 0x69, 97 0x6c, 0x64, 0x52, 0x6f, 0x6f, 0x74, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 98 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 99 0x62, 0x73, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x62, 100 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x64, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 101 } 102 103 var ( 104 file_proto_beacon_db_finalized_block_root_container_proto_rawDescOnce sync.Once 105 file_proto_beacon_db_finalized_block_root_container_proto_rawDescData = file_proto_beacon_db_finalized_block_root_container_proto_rawDesc 106 ) 107 108 func file_proto_beacon_db_finalized_block_root_container_proto_rawDescGZIP() []byte { 109 file_proto_beacon_db_finalized_block_root_container_proto_rawDescOnce.Do(func() { 110 file_proto_beacon_db_finalized_block_root_container_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_beacon_db_finalized_block_root_container_proto_rawDescData) 111 }) 112 return file_proto_beacon_db_finalized_block_root_container_proto_rawDescData 113 } 114 115 var file_proto_beacon_db_finalized_block_root_container_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 116 var file_proto_beacon_db_finalized_block_root_container_proto_goTypes = []interface{}{ 117 (*FinalizedBlockRootContainer)(nil), // 0: prysm.beacon.db.FinalizedBlockRootContainer 118 } 119 var file_proto_beacon_db_finalized_block_root_container_proto_depIdxs = []int32{ 120 0, // [0:0] is the sub-list for method output_type 121 0, // [0:0] is the sub-list for method input_type 122 0, // [0:0] is the sub-list for extension type_name 123 0, // [0:0] is the sub-list for extension extendee 124 0, // [0:0] is the sub-list for field type_name 125 } 126 127 func init() { file_proto_beacon_db_finalized_block_root_container_proto_init() } 128 func file_proto_beacon_db_finalized_block_root_container_proto_init() { 129 if File_proto_beacon_db_finalized_block_root_container_proto != nil { 130 return 131 } 132 if !protoimpl.UnsafeEnabled { 133 file_proto_beacon_db_finalized_block_root_container_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 134 switch v := v.(*FinalizedBlockRootContainer); i { 135 case 0: 136 return &v.state 137 case 1: 138 return &v.sizeCache 139 case 2: 140 return &v.unknownFields 141 default: 142 return nil 143 } 144 } 145 } 146 type x struct{} 147 out := protoimpl.TypeBuilder{ 148 File: protoimpl.DescBuilder{ 149 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 150 RawDescriptor: file_proto_beacon_db_finalized_block_root_container_proto_rawDesc, 151 NumEnums: 0, 152 NumMessages: 1, 153 NumExtensions: 0, 154 NumServices: 0, 155 }, 156 GoTypes: file_proto_beacon_db_finalized_block_root_container_proto_goTypes, 157 DependencyIndexes: file_proto_beacon_db_finalized_block_root_container_proto_depIdxs, 158 MessageInfos: file_proto_beacon_db_finalized_block_root_container_proto_msgTypes, 159 }.Build() 160 File_proto_beacon_db_finalized_block_root_container_proto = out.File 161 file_proto_beacon_db_finalized_block_root_container_proto_rawDesc = nil 162 file_proto_beacon_db_finalized_block_root_container_proto_goTypes = nil 163 file_proto_beacon_db_finalized_block_root_container_proto_depIdxs = nil 164 }