github.com/eth-easl/loader@v0.0.0-20230908084258-8a37e1d94279/pkg/workload/proto/faas.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: server/faas.proto
     3  
     4  package proto
     5  
     6  import (
     7  	fmt "fmt"
     8  	proto "github.com/golang/protobuf/proto"
     9  	math "math"
    10  )
    11  
    12  // Reference imports to suppress errors if they are not otherwise used.
    13  var _ = proto.Marshal
    14  var _ = fmt.Errorf
    15  var _ = math.Inf
    16  
    17  // This is a compile-time assertion to ensure that this generated file
    18  // is compatible with the proto package it is being compiled against.
    19  // A compilation error at this line likely means your copy of the
    20  // proto package needs to be updated.
    21  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    22  
    23  type FaasRequest struct {
    24  	Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
    25  	RuntimeInMilliSec    uint32   `protobuf:"varint,2,opt,name=runtimeInMilliSec,proto3" json:"runtimeInMilliSec,omitempty"`
    26  	MemoryInMebiBytes    uint32   `protobuf:"varint,3,opt,name=memoryInMebiBytes,proto3" json:"memoryInMebiBytes,omitempty"`
    27  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    28  	XXX_unrecognized     []byte   `json:"-"`
    29  	XXX_sizecache        int32    `json:"-"`
    30  }
    31  
    32  func (m *FaasRequest) Reset()         { *m = FaasRequest{} }
    33  func (m *FaasRequest) String() string { return proto.CompactTextString(m) }
    34  func (*FaasRequest) ProtoMessage()    {}
    35  func (*FaasRequest) Descriptor() ([]byte, []int) {
    36  	return fileDescriptor_4886c8193ee7bbe7, []int{0}
    37  }
    38  
    39  func (m *FaasRequest) XXX_Unmarshal(b []byte) error {
    40  	return xxx_messageInfo_FaasRequest.Unmarshal(m, b)
    41  }
    42  func (m *FaasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    43  	return xxx_messageInfo_FaasRequest.Marshal(b, m, deterministic)
    44  }
    45  func (m *FaasRequest) XXX_Merge(src proto.Message) {
    46  	xxx_messageInfo_FaasRequest.Merge(m, src)
    47  }
    48  func (m *FaasRequest) XXX_Size() int {
    49  	return xxx_messageInfo_FaasRequest.Size(m)
    50  }
    51  func (m *FaasRequest) XXX_DiscardUnknown() {
    52  	xxx_messageInfo_FaasRequest.DiscardUnknown(m)
    53  }
    54  
    55  var xxx_messageInfo_FaasRequest proto.InternalMessageInfo
    56  
    57  func (m *FaasRequest) GetMessage() string {
    58  	if m != nil {
    59  		return m.Message
    60  	}
    61  	return ""
    62  }
    63  
    64  func (m *FaasRequest) GetRuntimeInMilliSec() uint32 {
    65  	if m != nil {
    66  		return m.RuntimeInMilliSec
    67  	}
    68  	return 0
    69  }
    70  
    71  func (m *FaasRequest) GetMemoryInMebiBytes() uint32 {
    72  	if m != nil {
    73  		return m.MemoryInMebiBytes
    74  	}
    75  	return 0
    76  }
    77  
    78  type FaasReply struct {
    79  	Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
    80  	DurationInMicroSec   uint32   `protobuf:"varint,2,opt,name=durationInMicroSec,proto3" json:"durationInMicroSec,omitempty"`
    81  	MemoryUsageInKb      uint32   `protobuf:"varint,3,opt,name=memoryUsageInKb,proto3" json:"memoryUsageInKb,omitempty"`
    82  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    83  	XXX_unrecognized     []byte   `json:"-"`
    84  	XXX_sizecache        int32    `json:"-"`
    85  }
    86  
    87  func (m *FaasReply) Reset()         { *m = FaasReply{} }
    88  func (m *FaasReply) String() string { return proto.CompactTextString(m) }
    89  func (*FaasReply) ProtoMessage()    {}
    90  func (*FaasReply) Descriptor() ([]byte, []int) {
    91  	return fileDescriptor_4886c8193ee7bbe7, []int{1}
    92  }
    93  
    94  func (m *FaasReply) XXX_Unmarshal(b []byte) error {
    95  	return xxx_messageInfo_FaasReply.Unmarshal(m, b)
    96  }
    97  func (m *FaasReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    98  	return xxx_messageInfo_FaasReply.Marshal(b, m, deterministic)
    99  }
   100  func (m *FaasReply) XXX_Merge(src proto.Message) {
   101  	xxx_messageInfo_FaasReply.Merge(m, src)
   102  }
   103  func (m *FaasReply) XXX_Size() int {
   104  	return xxx_messageInfo_FaasReply.Size(m)
   105  }
   106  func (m *FaasReply) XXX_DiscardUnknown() {
   107  	xxx_messageInfo_FaasReply.DiscardUnknown(m)
   108  }
   109  
   110  var xxx_messageInfo_FaasReply proto.InternalMessageInfo
   111  
   112  func (m *FaasReply) GetMessage() string {
   113  	if m != nil {
   114  		return m.Message
   115  	}
   116  	return ""
   117  }
   118  
   119  func (m *FaasReply) GetDurationInMicroSec() uint32 {
   120  	if m != nil {
   121  		return m.DurationInMicroSec
   122  	}
   123  	return 0
   124  }
   125  
   126  func (m *FaasReply) GetMemoryUsageInKb() uint32 {
   127  	if m != nil {
   128  		return m.MemoryUsageInKb
   129  	}
   130  	return 0
   131  }
   132  
   133  func init() {
   134  	proto.RegisterType((*FaasRequest)(nil), "faas.FaasRequest")
   135  	proto.RegisterType((*FaasReply)(nil), "faas.FaasReply")
   136  }
   137  
   138  func init() { proto.RegisterFile("server/faas.proto", fileDescriptor_4886c8193ee7bbe7) }
   139  
   140  var fileDescriptor_4886c8193ee7bbe7 = []byte{
   141  	// 256 bytes of a gzipped FileDescriptorProto
   142  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xbf, 0x4b, 0xc3, 0x40,
   143  	0x14, 0xc7, 0x8d, 0x8a, 0xb5, 0x4f, 0xa4, 0xe4, 0xa6, 0xe0, 0x54, 0xe3, 0x92, 0x41, 0x73, 0xa0,
   144  	0xa3, 0x5b, 0x41, 0x21, 0x48, 0x97, 0x88, 0x8b, 0xdb, 0x25, 0x7d, 0xb6, 0x07, 0xf7, 0x23, 0xbe,
   145  	0xbb, 0x13, 0x33, 0x39, 0xf8, 0x8f, 0x4b, 0x7a, 0x8a, 0xc5, 0x4a, 0xb7, 0x77, 0xef, 0xfb, 0x8e,
   146  	0xef, 0x87, 0x0f, 0xa4, 0x0e, 0xe9, 0x0d, 0x89, 0xbf, 0x08, 0xe1, 0xca, 0x8e, 0xac, 0xb7, 0xec,
   147  	0x70, 0x98, 0xf3, 0xcf, 0x04, 0x4e, 0xee, 0x85, 0x70, 0x35, 0xbe, 0x06, 0x74, 0x9e, 0x65, 0x30,
   148  	0xd2, 0xe8, 0x9c, 0x58, 0x62, 0x96, 0x4c, 0x93, 0x62, 0x5c, 0xff, 0x3c, 0xd9, 0x25, 0xa4, 0x14,
   149  	0x8c, 0x97, 0x1a, 0x2b, 0x33, 0x97, 0x4a, 0xc9, 0x47, 0x6c, 0xb3, 0xfd, 0x69, 0x52, 0x9c, 0xd6,
   150  	0xdb, 0xc1, 0x70, 0xad, 0x51, 0x5b, 0xea, 0x2b, 0x33, 0xc7, 0x46, 0xce, 0x7a, 0x8f, 0x2e, 0x3b,
   151  	0x88, 0xd7, 0x5b, 0x41, 0xfe, 0x01, 0xe3, 0x08, 0xd1, 0xa9, 0x7e, 0x07, 0x42, 0x09, 0x6c, 0x11,
   152  	0x48, 0x78, 0x69, 0xcd, 0x50, 0xd5, 0x92, 0xfd, 0x65, 0xf8, 0x27, 0x61, 0x05, 0x4c, 0x62, 0xd7,
   153  	0xd3, 0xf0, 0xbd, 0x32, 0x0f, 0xcd, 0x37, 0xc2, 0xdf, 0xf5, 0xf5, 0x2d, 0x1c, 0xdf, 0xbd, 0x63,
   154  	0x1b, 0xbc, 0x25, 0xc6, 0x61, 0x14, 0x67, 0x64, 0x69, 0xb9, 0x16, 0xb6, 0x21, 0xe8, 0x6c, 0xb2,
   155  	0xb9, 0xea, 0x54, 0x9f, 0xef, 0xcd, 0x2e, 0x9e, 0xcf, 0x97, 0xd2, 0xaf, 0x42, 0x53, 0xb6, 0x56,
   156  	0x73, 0xf4, 0xab, 0x2b, 0x14, 0x4e, 0x71, 0x65, 0xc5, 0x02, 0x89, 0x47, 0xf3, 0xcd, 0xd1, 0xda,
   157  	0xfa, 0xcd, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x29, 0xf8, 0x44, 0xf1, 0x8a, 0x01, 0x00, 0x00,
   158  }