github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/executionpb/execution.pb.go (about)

     1  // Copyright (c) 2020 IoTeX
     2  // This source code is provided 'as is' and no warranties are given as to title or non-infringement, merchantability
     3  // or fitness for purpose and, to the extent permitted by law, all liability for your use of the code is disclaimed.
     4  // This source code is governed by Apache License 2.0 that can be found in the LICENSE file.
     5  
     6  // To compile the proto, run:
     7  //      protoc --go_out=plugins=grpc:. *.proto
     8  
     9  // Code generated by protoc-gen-go. DO NOT EDIT.
    10  // versions:
    11  // 	protoc-gen-go v1.23.0
    12  // 	protoc        v3.12.4
    13  // source: execution.proto
    14  
    15  package executionpb
    16  
    17  import (
    18  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    19  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    20  	reflect "reflect"
    21  	sync "sync"
    22  )
    23  
    24  const (
    25  	// Verify that this generated code is sufficiently up-to-date.
    26  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    27  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    28  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    29  )
    30  
    31  type EvmTransfer struct {
    32  	state         protoimpl.MessageState
    33  	sizeCache     protoimpl.SizeCache
    34  	unknownFields protoimpl.UnknownFields
    35  
    36  	Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
    37  	From   string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
    38  	To     string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
    39  }
    40  
    41  func (x *EvmTransfer) Reset() {
    42  	*x = EvmTransfer{}
    43  	if protoimpl.UnsafeEnabled {
    44  		mi := &file_execution_proto_msgTypes[0]
    45  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    46  		ms.StoreMessageInfo(mi)
    47  	}
    48  }
    49  
    50  func (x *EvmTransfer) String() string {
    51  	return protoimpl.X.MessageStringOf(x)
    52  }
    53  
    54  func (*EvmTransfer) ProtoMessage() {}
    55  
    56  func (x *EvmTransfer) ProtoReflect() protoreflect.Message {
    57  	mi := &file_execution_proto_msgTypes[0]
    58  	if protoimpl.UnsafeEnabled && x != nil {
    59  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    60  		if ms.LoadMessageInfo() == nil {
    61  			ms.StoreMessageInfo(mi)
    62  		}
    63  		return ms
    64  	}
    65  	return mi.MessageOf(x)
    66  }
    67  
    68  // Deprecated: Use EvmTransfer.ProtoReflect.Descriptor instead.
    69  func (*EvmTransfer) Descriptor() ([]byte, []int) {
    70  	return file_execution_proto_rawDescGZIP(), []int{0}
    71  }
    72  
    73  func (x *EvmTransfer) GetAmount() string {
    74  	if x != nil {
    75  		return x.Amount
    76  	}
    77  	return ""
    78  }
    79  
    80  func (x *EvmTransfer) GetFrom() string {
    81  	if x != nil {
    82  		return x.From
    83  	}
    84  	return ""
    85  }
    86  
    87  func (x *EvmTransfer) GetTo() string {
    88  	if x != nil {
    89  		return x.To
    90  	}
    91  	return ""
    92  }
    93  
    94  type EvmTransferList struct {
    95  	state         protoimpl.MessageState
    96  	sizeCache     protoimpl.SizeCache
    97  	unknownFields protoimpl.UnknownFields
    98  
    99  	EvmTransfers []*EvmTransfer `protobuf:"bytes,1,rep,name=evmTransfers,proto3" json:"evmTransfers,omitempty"`
   100  }
   101  
   102  func (x *EvmTransferList) Reset() {
   103  	*x = EvmTransferList{}
   104  	if protoimpl.UnsafeEnabled {
   105  		mi := &file_execution_proto_msgTypes[1]
   106  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   107  		ms.StoreMessageInfo(mi)
   108  	}
   109  }
   110  
   111  func (x *EvmTransferList) String() string {
   112  	return protoimpl.X.MessageStringOf(x)
   113  }
   114  
   115  func (*EvmTransferList) ProtoMessage() {}
   116  
   117  func (x *EvmTransferList) ProtoReflect() protoreflect.Message {
   118  	mi := &file_execution_proto_msgTypes[1]
   119  	if protoimpl.UnsafeEnabled && x != nil {
   120  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   121  		if ms.LoadMessageInfo() == nil {
   122  			ms.StoreMessageInfo(mi)
   123  		}
   124  		return ms
   125  	}
   126  	return mi.MessageOf(x)
   127  }
   128  
   129  // Deprecated: Use EvmTransferList.ProtoReflect.Descriptor instead.
   130  func (*EvmTransferList) Descriptor() ([]byte, []int) {
   131  	return file_execution_proto_rawDescGZIP(), []int{1}
   132  }
   133  
   134  func (x *EvmTransferList) GetEvmTransfers() []*EvmTransfer {
   135  	if x != nil {
   136  		return x.EvmTransfers
   137  	}
   138  	return nil
   139  }
   140  
   141  var File_execution_proto protoreflect.FileDescriptor
   142  
   143  var file_execution_proto_rawDesc = []byte{
   144  	0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   145  	0x6f, 0x12, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0x22, 0x49,
   146  	0x0a, 0x0b, 0x45, 0x76, 0x6d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x16, 0x0a,
   147  	0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61,
   148  	0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20,
   149  	0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18,
   150  	0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x0f, 0x45, 0x76, 0x6d,
   151  	0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0c,
   152  	0x65, 0x76, 0x6d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03,
   153  	0x28, 0x0b, 0x32, 0x18, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x70, 0x62,
   154  	0x2e, 0x45, 0x76, 0x6d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x0c, 0x65, 0x76,
   155  	0x6d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   156  	0x6f, 0x33,
   157  }
   158  
   159  var (
   160  	file_execution_proto_rawDescOnce sync.Once
   161  	file_execution_proto_rawDescData = file_execution_proto_rawDesc
   162  )
   163  
   164  func file_execution_proto_rawDescGZIP() []byte {
   165  	file_execution_proto_rawDescOnce.Do(func() {
   166  		file_execution_proto_rawDescData = protoimpl.X.CompressGZIP(file_execution_proto_rawDescData)
   167  	})
   168  	return file_execution_proto_rawDescData
   169  }
   170  
   171  var file_execution_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   172  var file_execution_proto_goTypes = []interface{}{
   173  	(*EvmTransfer)(nil),     // 0: executionpb.EvmTransfer
   174  	(*EvmTransferList)(nil), // 1: executionpb.EvmTransferList
   175  }
   176  var file_execution_proto_depIdxs = []int32{
   177  	0, // 0: executionpb.EvmTransferList.evmTransfers:type_name -> executionpb.EvmTransfer
   178  	1, // [1:1] is the sub-list for method output_type
   179  	1, // [1:1] is the sub-list for method input_type
   180  	1, // [1:1] is the sub-list for extension type_name
   181  	1, // [1:1] is the sub-list for extension extendee
   182  	0, // [0:1] is the sub-list for field type_name
   183  }
   184  
   185  func init() { file_execution_proto_init() }
   186  func file_execution_proto_init() {
   187  	if File_execution_proto != nil {
   188  		return
   189  	}
   190  	if !protoimpl.UnsafeEnabled {
   191  		file_execution_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   192  			switch v := v.(*EvmTransfer); i {
   193  			case 0:
   194  				return &v.state
   195  			case 1:
   196  				return &v.sizeCache
   197  			case 2:
   198  				return &v.unknownFields
   199  			default:
   200  				return nil
   201  			}
   202  		}
   203  		file_execution_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   204  			switch v := v.(*EvmTransferList); i {
   205  			case 0:
   206  				return &v.state
   207  			case 1:
   208  				return &v.sizeCache
   209  			case 2:
   210  				return &v.unknownFields
   211  			default:
   212  				return nil
   213  			}
   214  		}
   215  	}
   216  	type x struct{}
   217  	out := protoimpl.TypeBuilder{
   218  		File: protoimpl.DescBuilder{
   219  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   220  			RawDescriptor: file_execution_proto_rawDesc,
   221  			NumEnums:      0,
   222  			NumMessages:   2,
   223  			NumExtensions: 0,
   224  			NumServices:   0,
   225  		},
   226  		GoTypes:           file_execution_proto_goTypes,
   227  		DependencyIndexes: file_execution_proto_depIdxs,
   228  		MessageInfos:      file_execution_proto_msgTypes,
   229  	}.Build()
   230  	File_execution_proto = out.File
   231  	file_execution_proto_rawDesc = nil
   232  	file_execution_proto_goTypes = nil
   233  	file_execution_proto_depIdxs = nil
   234  }