// Code generated by protoc-gen-go. DO NOT EDIT. // source: events.proto package witProtobuf import ( fmt "fmt" proto "github.com/golang/protobuf/proto" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Event_EventType int32 const ( Event_ADD Event_EventType = 0 Event_DELETE Event_EventType = 1 Event_POWERON Event_EventType = 2 Event_POWEROFF Event_EventType = 3 Event_HIBERNATE Event_EventType = 4 Event_MIGRATE Event_EventType = 5 Event_DEMO Event_EventType = 6 Event_GET Event_EventType = 7 Event_LOGIN Event_EventType = 8 Event_OK Event_EventType = 9 ) var Event_EventType_name = map[int32]string{ 0: "ADD", 1: "DELETE", 2: "POWERON", 3: "POWEROFF", 4: "HIBERNATE", 5: "MIGRATE", 6: "DEMO", 7: "GET", 8: "LOGIN", 9: "OK", } var Event_EventType_value = map[string]int32{ "ADD": 0, "DELETE": 1, "POWERON": 2, "POWEROFF": 3, "HIBERNATE": 4, "MIGRATE": 5, "DEMO": 6, "GET": 7, "LOGIN": 8, "OK": 9, } func (x Event_EventType) String() string { return proto.EnumName(Event_EventType_name, int32(x)) } func (Event_EventType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_8f22242cb04491f9, []int{0, 0} } type Event struct { Type Event_EventType `protobuf:"varint,1,opt,name=type,proto3,enum=witProtobuf.Event_EventType" json:"type,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` Token string `protobuf:"bytes,7,opt,name=token,proto3" json:"token,omitempty"` Results []*Event_Response `protobuf:"bytes,8,rep,name=results,proto3" json:"results,omitempty"` Networks []*Event_Network `protobuf:"bytes,9,rep,name=networks,proto3" json:"networks,omitempty"` Vms []*Event_VM `protobuf:"bytes,10,rep,name=vms,proto3" json:"vms,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Event) Reset() { *m = Event{} } func (m *Event) String() string { return proto.CompactTextString(m) } func (*Event) ProtoMessage() {} func (*Event) Descriptor() ([]byte, []int) { return fileDescriptor_8f22242cb04491f9, []int{0} } func (m *Event) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Event.Unmarshal(m, b) } func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Event.Marshal(b, m, deterministic) } func (m *Event) XXX_Merge(src proto.Message) { xxx_messageInfo_Event.Merge(m, src) } func (m *Event) XXX_Size() int { return xxx_messageInfo_Event.Size(m) } func (m *Event) XXX_DiscardUnknown() { xxx_messageInfo_Event.DiscardUnknown(m) } var xxx_messageInfo_Event proto.InternalMessageInfo func (m *Event) GetType() Event_EventType { if m != nil { return m.Type } return Event_ADD } func (m *Event) GetId() int32 { if m != nil { return m.Id } return 0 } func (m *Event) GetComment() string { if m != nil { return m.Comment } return "" } func (m *Event) GetUsername() string { if m != nil { return m.Username } return "" } func (m *Event) GetEmail() string { if m != nil { return m.Email } return "" } func (m *Event) GetPassword() string { if m != nil { return m.Password } return "" } func (m *Event) GetToken() string { if m != nil { return m.Token } return "" } func (m *Event) GetResults() []*Event_Response { if m != nil { return m.Results } return nil } func (m *Event) GetNetworks() []*Event_Network { if m != nil { return m.Networks } return nil } func (m *Event) GetVms() []*Event_VM { if m != nil { return m.Vms } return nil } type Event_Response struct { Type Event_EventType `protobuf:"varint,1,opt,name=type,proto3,enum=witProtobuf.Event_EventType" json:"type,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` Snippets []string `protobuf:"bytes,5,rep,name=snippets,proto3" json:"snippets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Event_Response) Reset() { *m = Event_Response{} } func (m *Event_Response) String() string { return proto.CompactTextString(m) } func (*Event_Response) ProtoMessage() {} func (*Event_Response) Descriptor() ([]byte, []int) { return fileDescriptor_8f22242cb04491f9, []int{0, 0} } func (m *Event_Response) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Event_Response.Unmarshal(m, b) } func (m *Event_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Event_Response.Marshal(b, m, deterministic) } func (m *Event_Response) XXX_Merge(src proto.Message) { xxx_messageInfo_Event_Response.Merge(m, src) } func (m *Event_Response) XXX_Size() int { return xxx_messageInfo_Event_Response.Size(m) } func (m *Event_Response) XXX_DiscardUnknown() { xxx_messageInfo_Event_Response.DiscardUnknown(m) } var xxx_messageInfo_Event_Response proto.InternalMessageInfo func (m *Event_Response) GetType() Event_EventType { if m != nil { return m.Type } return Event_ADD } func (m *Event_Response) GetId() int32 { if m != nil { return m.Id } return 0 } func (m *Event_Response) GetName() string { if m != nil { return m.Name } return "" } func (m *Event_Response) GetError() string { if m != nil { return m.Error } return "" } func (m *Event_Response) GetSnippets() []string { if m != nil { return m.Snippets } return nil } type Event_Network struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` TotalCpu int64 `protobuf:"varint,3,opt,name=total_cpu,json=totalCpu,proto3" json:"total_cpu,omitempty"` TotalMem int64 `protobuf:"varint,4,opt,name=total_mem,json=totalMem,proto3" json:"total_mem,omitempty"` LoginUrl string `protobuf:"bytes,5,opt,name=login_url,json=loginUrl,proto3" json:"login_url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Event_Network) Reset() { *m = Event_Network{} } func (m *Event_Network) String() string { return proto.CompactTextString(m) } func (*Event_Network) ProtoMessage() {} func (*Event_Network) Descriptor() ([]byte, []int) { return fileDescriptor_8f22242cb04491f9, []int{0, 1} } func (m *Event_Network) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Event_Network.Unmarshal(m, b) } func (m *Event_Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Event_Network.Marshal(b, m, deterministic) } func (m *Event_Network) XXX_Merge(src proto.Message) { xxx_messageInfo_Event_Network.Merge(m, src) } func (m *Event_Network) XXX_Size() int { return xxx_messageInfo_Event_Network.Size(m) } func (m *Event_Network) XXX_DiscardUnknown() { xxx_messageInfo_Event_Network.DiscardUnknown(m) } var xxx_messageInfo_Event_Network proto.InternalMessageInfo func (m *Event_Network) GetId() int32 { if m != nil { return m.Id } return 0 } func (m *Event_Network) GetName() string { if m != nil { return m.Name } return "" } func (m *Event_Network) GetTotalCpu() int64 { if m != nil { return m.TotalCpu } return 0 } func (m *Event_Network) GetTotalMem() int64 { if m != nil { return m.TotalMem } return 0 } func (m *Event_Network) GetLoginUrl() string { if m != nil { return m.LoginUrl } return "" } type Event_VM struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"` Cpus int64 `protobuf:"varint,4,opt,name=cpus,proto3" json:"cpus,omitempty"` Memory int64 `protobuf:"varint,5,opt,name=memory,proto3" json:"memory,omitempty"` Disk int64 `protobuf:"varint,6,opt,name=disk,proto3" json:"disk,omitempty"` IPv6 string `protobuf:"bytes,7,opt,name=IPv6,proto3" json:"IPv6,omitempty"` Role string `protobuf:"bytes,8,opt,name=role,proto3" json:"role,omitempty"` BaseImage string `protobuf:"bytes,9,opt,name=baseImage,proto3" json:"baseImage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Event_VM) Reset() { *m = Event_VM{} } func (m *Event_VM) String() string { return proto.CompactTextString(m) } func (*Event_VM) ProtoMessage() {} func (*Event_VM) Descriptor() ([]byte, []int) { return fileDescriptor_8f22242cb04491f9, []int{0, 2} } func (m *Event_VM) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Event_VM.Unmarshal(m, b) } func (m *Event_VM) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Event_VM.Marshal(b, m, deterministic) } func (m *Event_VM) XXX_Merge(src proto.Message) { xxx_messageInfo_Event_VM.Merge(m, src) } func (m *Event_VM) XXX_Size() int { return xxx_messageInfo_Event_VM.Size(m) } func (m *Event_VM) XXX_DiscardUnknown() { xxx_messageInfo_Event_VM.DiscardUnknown(m) } var xxx_messageInfo_Event_VM proto.InternalMessageInfo func (m *Event_VM) GetId() int64 { if m != nil { return m.Id } return 0 } func (m *Event_VM) GetName() string { if m != nil { return m.Name } return "" } func (m *Event_VM) GetHostname() string { if m != nil { return m.Hostname } return "" } func (m *Event_VM) GetCpus() int64 { if m != nil { return m.Cpus } return 0 } func (m *Event_VM) GetMemory() int64 { if m != nil { return m.Memory } return 0 } func (m *Event_VM) GetDisk() int64 { if m != nil { return m.Disk } return 0 } func (m *Event_VM) GetIPv6() string { if m != nil { return m.IPv6 } return "" } func (m *Event_VM) GetRole() string { if m != nil { return m.Role } return "" } func (m *Event_VM) GetBaseImage() string { if m != nil { return m.BaseImage } return "" } func init() { proto.RegisterEnum("witProtobuf.Event_EventType", Event_EventType_name, Event_EventType_value) proto.RegisterType((*Event)(nil), "witProtobuf.Event") proto.RegisterType((*Event_Response)(nil), "witProtobuf.Event.Response") proto.RegisterType((*Event_Network)(nil), "witProtobuf.Event.Network") proto.RegisterType((*Event_VM)(nil), "witProtobuf.Event.VM") } func init() { proto.RegisterFile("events.proto", fileDescriptor_8f22242cb04491f9) } var fileDescriptor_8f22242cb04491f9 = []byte{ // 536 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0xcd, 0x6e, 0xd3, 0x40, 0x18, 0xc4, 0xff, 0xf6, 0xd7, 0x52, 0x59, 0x2b, 0x40, 0x2b, 0xb7, 0x87, 0xa8, 0x17, 0x72, 0xaa, 0x50, 0x11, 0xbd, 0x17, 0xe2, 0x96, 0x88, 0xe6, 0x47, 0xab, 0x50, 0x8e, 0x95, 0x93, 0x2c, 0xc5, 0x8a, 0xd7, 0x6b, 0xed, 0xae, 0x13, 0xe5, 0xc0, 0x8d, 0x27, 0xe0, 0xa5, 0x90, 0x78, 0x2a, 0xb4, 0x6b, 0x3b, 0x8d, 0x44, 0xb8, 0x71, 0x89, 0xbe, 0xf9, 0x66, 0x26, 0xb3, 0x3b, 0xb6, 0xe1, 0x98, 0xae, 0x69, 0xa9, 0xe4, 0x45, 0x25, 0xb8, 0xe2, 0xe8, 0x68, 0x93, 0xab, 0xa9, 0x9e, 0xe6, 0xf5, 0xd7, 0xf3, 0x5f, 0x01, 0x78, 0xa9, 0x66, 0xd1, 0x1b, 0x70, 0xd5, 0xb6, 0xa2, 0xd8, 0xea, 0x59, 0xfd, 0x93, 0xcb, 0xb3, 0x8b, 0x3d, 0xd5, 0x85, 0x51, 0x34, 0xbf, 0xb3, 0x6d, 0x45, 0x89, 0x51, 0xa2, 0x13, 0xb0, 0xf3, 0x25, 0xb6, 0x7b, 0x56, 0xdf, 0x23, 0x76, 0xbe, 0x44, 0x18, 0x82, 0x05, 0x67, 0x8c, 0x96, 0x0a, 0x3b, 0x3d, 0xab, 0x1f, 0x91, 0x0e, 0xa2, 0x04, 0xc2, 0x5a, 0x52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