From 23c803cfe848193a1aa3ae2aa06deb48873cf584 Mon Sep 17 00:00:00 2001 From: Rama Bramantara Date: Fri, 11 Dec 2020 16:48:26 +0700 Subject: [PATCH] add generated lms extension (#21) Co-authored-by: Rama Bramantara --- extension/lms/lms.pb.go | 108 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 extension/lms/lms.pb.go diff --git a/extension/lms/lms.pb.go b/extension/lms/lms.pb.go new file mode 100644 index 0000000..6e60d10 --- /dev/null +++ b/extension/lms/lms.pb.go @@ -0,0 +1,108 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: lms/lms.proto + +package lms + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" + 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 Auth struct { + Roles string `protobuf:"bytes,920000,opt,name=roles,proto3" json:"roles,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Auth) Reset() { *m = Auth{} } +func (m *Auth) String() string { return proto.CompactTextString(m) } +func (*Auth) ProtoMessage() {} +func (*Auth) Descriptor() ([]byte, []int) { + return fileDescriptor_8d96aea3a313c2c8, []int{0} +} + +func (m *Auth) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Auth.Unmarshal(m, b) +} +func (m *Auth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Auth.Marshal(b, m, deterministic) +} +func (m *Auth) XXX_Merge(src proto.Message) { + xxx_messageInfo_Auth.Merge(m, src) +} +func (m *Auth) XXX_Size() int { + return xxx_messageInfo_Auth.Size(m) +} +func (m *Auth) XXX_DiscardUnknown() { + xxx_messageInfo_Auth.DiscardUnknown(m) +} + +var xxx_messageInfo_Auth proto.InternalMessageInfo + +func (m *Auth) GetRoles() string { + if m != nil { + return m.Roles + } + return "" +} + +var E_Auth = &proto.ExtensionDesc{ + ExtendedType: (*descriptor.MethodOptions)(nil), + ExtensionType: (*Auth)(nil), + Field: 910000, + Name: "lms.auth", + Tag: "bytes,910000,opt,name=auth", + Filename: "lms/lms.proto", +} + +var E_Unstable = &proto.ExtensionDesc{ + ExtendedType: (*descriptor.ServiceOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 930000, + Name: "lms.unstable", + Tag: "varint,930000,opt,name=unstable", + Filename: "lms/lms.proto", +} + +func init() { + proto.RegisterType((*Auth)(nil), "lms.Auth") + proto.RegisterExtension(E_Auth) + proto.RegisterExtension(E_Unstable) +} + +func init() { + proto.RegisterFile("lms/lms.proto", fileDescriptor_8d96aea3a313c2c8) +} + +var fileDescriptor_8d96aea3a313c2c8 = []byte{ + // 235 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xcd, 0xc9, 0x2d, 0xd6, + 0xcf, 0xc9, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xce, 0xc9, 0x2d, 0x96, 0x52, + 0x48, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x07, 0x0b, 0x25, 0x95, 0xa6, 0xe9, 0xa7, 0xa4, 0x16, + 0x27, 0x17, 0x65, 0x16, 0x94, 0xe4, 0x17, 0x41, 0x94, 0x29, 0xc9, 0x71, 0xb1, 0x38, 0x96, 0x96, + 0x64, 0x08, 0x89, 0x71, 0xb1, 0x16, 0xe5, 0xe7, 0xa4, 0x16, 0x4b, 0x1c, 0x98, 0x6c, 0xa1, 0xc0, + 0xa8, 0xc1, 0x19, 0x04, 0xe1, 0x5a, 0xd9, 0x73, 0xb1, 0x24, 0x82, 0xe4, 0xe5, 0xf4, 0x20, 0x46, + 0xe9, 0xc1, 0x8c, 0xd2, 0xf3, 0x4d, 0x2d, 0xc9, 0xc8, 0x4f, 0xf1, 0x2f, 0x28, 0xc9, 0xcc, 0xcf, + 0x2b, 0x96, 0xd8, 0x70, 0xd4, 0x5c, 0x81, 0x51, 0x83, 0xdb, 0x88, 0x53, 0x0f, 0xe4, 0x04, 0x90, + 0x91, 0x41, 0x60, 0x8d, 0x56, 0xb6, 0x5c, 0x1c, 0xa5, 0x79, 0xc5, 0x25, 0x89, 0x49, 0x39, 0xa9, + 0x42, 0xf2, 0x18, 0x86, 0x04, 0xa7, 0x16, 0x95, 0x65, 0x26, 0xa7, 0xc2, 0x4c, 0xb9, 0xf0, 0x10, + 0x64, 0x39, 0x47, 0x10, 0x5c, 0x8b, 0x93, 0x69, 0x94, 0x71, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, + 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x51, 0x69, 0x62, 0x5e, 0xba, 0x6e, 0x7a, 0x69, 0x51, 0xa9, 0x7e, + 0x51, 0xba, 0x6e, 0x7a, 0x6a, 0x1e, 0xd8, 0x20, 0xfd, 0xd4, 0x8a, 0x92, 0xd4, 0xbc, 0xe2, 0xcc, + 0xfc, 0x3c, 0x90, 0xff, 0xad, 0x73, 0x72, 0x8b, 0x93, 0xd8, 0xc0, 0x12, 0xc6, 0x80, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x65, 0xe0, 0x20, 0xbf, 0x15, 0x01, 0x00, 0x00, +}