github.com/MetalBlockchain/metalgo@v1.11.9/proto/pb/vm/runtime/runtime.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: vm/runtime/runtime.proto 6 7 package manager 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 InitializeRequest struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 // ProtocolVersion is used to identify incompatibilities with AvalancheGo and a VM. 30 ProtocolVersion uint32 `protobuf:"varint,1,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` 31 // Address of the gRPC server endpoint serving the handshake logic. 32 // Example: 127.0.0.1:50001 33 Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` 34 } 35 36 func (x *InitializeRequest) Reset() { 37 *x = InitializeRequest{} 38 if protoimpl.UnsafeEnabled { 39 mi := &file_vm_runtime_runtime_proto_msgTypes[0] 40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 41 ms.StoreMessageInfo(mi) 42 } 43 } 44 45 func (x *InitializeRequest) String() string { 46 return protoimpl.X.MessageStringOf(x) 47 } 48 49 func (*InitializeRequest) ProtoMessage() {} 50 51 func (x *InitializeRequest) ProtoReflect() protoreflect.Message { 52 mi := &file_vm_runtime_runtime_proto_msgTypes[0] 53 if protoimpl.UnsafeEnabled && x != nil { 54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 55 if ms.LoadMessageInfo() == nil { 56 ms.StoreMessageInfo(mi) 57 } 58 return ms 59 } 60 return mi.MessageOf(x) 61 } 62 63 // Deprecated: Use InitializeRequest.ProtoReflect.Descriptor instead. 64 func (*InitializeRequest) Descriptor() ([]byte, []int) { 65 return file_vm_runtime_runtime_proto_rawDescGZIP(), []int{0} 66 } 67 68 func (x *InitializeRequest) GetProtocolVersion() uint32 { 69 if x != nil { 70 return x.ProtocolVersion 71 } 72 return 0 73 } 74 75 func (x *InitializeRequest) GetAddr() string { 76 if x != nil { 77 return x.Addr 78 } 79 return "" 80 } 81 82 var File_vm_runtime_runtime_proto protoreflect.FileDescriptor 83 84 var file_vm_runtime_runtime_proto_rawDesc = []byte{ 85 0x0a, 0x18, 0x76, 0x6d, 0x2f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x72, 0x75, 0x6e, 86 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x76, 0x6d, 0x2e, 0x72, 87 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 88 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 89 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x11, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 90 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 91 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 92 0x28, 0x0d, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 93 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 94 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x32, 0x4e, 0x0a, 0x07, 0x52, 0x75, 0x6e, 0x74, 0x69, 95 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 96 0x12, 0x1d, 0x2e, 0x76, 0x6d, 0x2e, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x49, 0x6e, 97 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 98 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 99 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 100 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x76, 0x61, 0x2d, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x61, 101 0x76, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 102 0x2f, 0x70, 0x62, 0x2f, 0x76, 0x6d, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x06, 103 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 104 } 105 106 var ( 107 file_vm_runtime_runtime_proto_rawDescOnce sync.Once 108 file_vm_runtime_runtime_proto_rawDescData = file_vm_runtime_runtime_proto_rawDesc 109 ) 110 111 func file_vm_runtime_runtime_proto_rawDescGZIP() []byte { 112 file_vm_runtime_runtime_proto_rawDescOnce.Do(func() { 113 file_vm_runtime_runtime_proto_rawDescData = protoimpl.X.CompressGZIP(file_vm_runtime_runtime_proto_rawDescData) 114 }) 115 return file_vm_runtime_runtime_proto_rawDescData 116 } 117 118 var file_vm_runtime_runtime_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 119 var file_vm_runtime_runtime_proto_goTypes = []interface{}{ 120 (*InitializeRequest)(nil), // 0: vm.runtime.InitializeRequest 121 (*emptypb.Empty)(nil), // 1: google.protobuf.Empty 122 } 123 var file_vm_runtime_runtime_proto_depIdxs = []int32{ 124 0, // 0: vm.runtime.Runtime.Initialize:input_type -> vm.runtime.InitializeRequest 125 1, // 1: vm.runtime.Runtime.Initialize:output_type -> google.protobuf.Empty 126 1, // [1:2] is the sub-list for method output_type 127 0, // [0:1] is the sub-list for method input_type 128 0, // [0:0] is the sub-list for extension type_name 129 0, // [0:0] is the sub-list for extension extendee 130 0, // [0:0] is the sub-list for field type_name 131 } 132 133 func init() { file_vm_runtime_runtime_proto_init() } 134 func file_vm_runtime_runtime_proto_init() { 135 if File_vm_runtime_runtime_proto != nil { 136 return 137 } 138 if !protoimpl.UnsafeEnabled { 139 file_vm_runtime_runtime_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 140 switch v := v.(*InitializeRequest); i { 141 case 0: 142 return &v.state 143 case 1: 144 return &v.sizeCache 145 case 2: 146 return &v.unknownFields 147 default: 148 return nil 149 } 150 } 151 } 152 type x struct{} 153 out := protoimpl.TypeBuilder{ 154 File: protoimpl.DescBuilder{ 155 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 156 RawDescriptor: file_vm_runtime_runtime_proto_rawDesc, 157 NumEnums: 0, 158 NumMessages: 1, 159 NumExtensions: 0, 160 NumServices: 1, 161 }, 162 GoTypes: file_vm_runtime_runtime_proto_goTypes, 163 DependencyIndexes: file_vm_runtime_runtime_proto_depIdxs, 164 MessageInfos: file_vm_runtime_runtime_proto_msgTypes, 165 }.Build() 166 File_vm_runtime_runtime_proto = out.File 167 file_vm_runtime_runtime_proto_rawDesc = nil 168 file_vm_runtime_runtime_proto_goTypes = nil 169 file_vm_runtime_runtime_proto_depIdxs = nil 170 }