193 lines
6.5 KiB
Go
193 lines
6.5 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: module.proto
|
|
|
|
package proto
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
|
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 Module struct {
|
|
ModuleID uint64 `protobuf:"varint,1,opt,name=moduleID,proto3" json:"moduleID,omitempty"`
|
|
NamespaceID uint64 `protobuf:"varint,2,opt,name=namespaceID,proto3" json:"namespaceID,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
CreatedAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
|
|
UpdatedAt *timestamp.Timestamp `protobuf:"bytes,9,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
|
|
DeletedAt *timestamp.Timestamp `protobuf:"bytes,10,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`
|
|
Fields []*ModuleField `protobuf:"bytes,15,rep,name=fields,proto3" json:"fields,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Module) Reset() { *m = Module{} }
|
|
func (m *Module) String() string { return proto.CompactTextString(m) }
|
|
func (*Module) ProtoMessage() {}
|
|
func (*Module) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_ae7704718fb7daeb, []int{0}
|
|
}
|
|
|
|
func (m *Module) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Module.Unmarshal(m, b)
|
|
}
|
|
func (m *Module) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Module.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Module) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Module.Merge(m, src)
|
|
}
|
|
func (m *Module) XXX_Size() int {
|
|
return xxx_messageInfo_Module.Size(m)
|
|
}
|
|
func (m *Module) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Module.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Module proto.InternalMessageInfo
|
|
|
|
func (m *Module) GetModuleID() uint64 {
|
|
if m != nil {
|
|
return m.ModuleID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Module) GetNamespaceID() uint64 {
|
|
if m != nil {
|
|
return m.NamespaceID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Module) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Module) GetCreatedAt() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Module) GetUpdatedAt() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Module) GetDeletedAt() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.DeletedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Module) GetFields() []*ModuleField {
|
|
if m != nil {
|
|
return m.Fields
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ModuleField struct {
|
|
FieldID uint64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ModuleField) Reset() { *m = ModuleField{} }
|
|
func (m *ModuleField) String() string { return proto.CompactTextString(m) }
|
|
func (*ModuleField) ProtoMessage() {}
|
|
func (*ModuleField) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_ae7704718fb7daeb, []int{1}
|
|
}
|
|
|
|
func (m *ModuleField) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ModuleField.Unmarshal(m, b)
|
|
}
|
|
func (m *ModuleField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ModuleField.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ModuleField) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ModuleField.Merge(m, src)
|
|
}
|
|
func (m *ModuleField) XXX_Size() int {
|
|
return xxx_messageInfo_ModuleField.Size(m)
|
|
}
|
|
func (m *ModuleField) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ModuleField.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ModuleField proto.InternalMessageInfo
|
|
|
|
func (m *ModuleField) GetFieldID() uint64 {
|
|
if m != nil {
|
|
return m.FieldID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ModuleField) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ModuleField) GetKind() string {
|
|
if m != nil {
|
|
return m.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Module)(nil), "compose.Module")
|
|
proto.RegisterType((*ModuleField)(nil), "compose.ModuleField")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("module.proto", fileDescriptor_ae7704718fb7daeb) }
|
|
|
|
var fileDescriptor_ae7704718fb7daeb = []byte{
|
|
// 259 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x41, 0x4b, 0xc4, 0x30,
|
|
0x10, 0x85, 0x69, 0xb7, 0xb6, 0xdb, 0xa9, 0x20, 0x04, 0x0f, 0xa1, 0x17, 0xc3, 0x9e, 0x7a, 0x90,
|
|
0x2c, 0xac, 0x17, 0xaf, 0x8a, 0x08, 0x1e, 0x44, 0x28, 0x9e, 0xbc, 0xd5, 0x66, 0x76, 0x29, 0x36,
|
|
0x9b, 0xb0, 0x4d, 0xff, 0x9a, 0xbf, 0x4f, 0x92, 0xb4, 0xb1, 0xb7, 0x9e, 0x32, 0x33, 0xef, 0x7d,
|
|
0xe1, 0xf1, 0xe0, 0x5a, 0x2a, 0x31, 0xf6, 0xc8, 0xf5, 0x45, 0x19, 0x45, 0xb2, 0x56, 0x49, 0xad,
|
|
0x06, 0x2c, 0xef, 0x4e, 0x4a, 0x9d, 0x7a, 0xdc, 0xbb, 0xf3, 0xf7, 0x78, 0xdc, 0x9b, 0x4e, 0xe2,
|
|
0x60, 0x1a, 0xa9, 0xbd, 0x73, 0xf7, 0x1b, 0x43, 0xfa, 0xee, 0x50, 0x52, 0xc2, 0xd6, 0x7f, 0xf2,
|
|
0xf6, 0x42, 0x23, 0x16, 0x55, 0x49, 0x1d, 0x76, 0xc2, 0xa0, 0x38, 0x37, 0x12, 0x07, 0xdd, 0xb4,
|
|
0x56, 0x8e, 0x9d, 0xbc, 0x3c, 0x11, 0x02, 0x89, 0x5d, 0xe9, 0x86, 0x45, 0x55, 0x5e, 0xbb, 0x99,
|
|
0x3c, 0x42, 0xde, 0x5e, 0xb0, 0x31, 0x28, 0x9e, 0x0c, 0xdd, 0xb2, 0xa8, 0x2a, 0x0e, 0x25, 0xf7,
|
|
0x89, 0xf8, 0x9c, 0x88, 0x7f, 0xce, 0x89, 0xea, 0x7f, 0xb3, 0x25,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