// Code generated by protoc-gen-go. DO NOT EDIT. // source: notes/proto/notes.proto package notes 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 Note struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Created int64 `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Note) Reset() { *m = Note{} } func (m *Note) String() string { return proto.CompactTextString(m) } func (*Note) ProtoMessage() {} func (*Note) Descriptor() ([]byte, []int) { return fileDescriptor_7f19915b807268a5, []int{0} } func (m *Note) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Note.Unmarshal(m, b) } func (m *Note) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Note.Marshal(b, m, deterministic) } func (m *Note) XXX_Merge(src proto.Message) { xxx_messageInfo_Note.Merge(m, src) } func (m *Note) XXX_Size() int { return xxx_messageInfo_Note.Size(m) } func (m *Note) XXX_DiscardUnknown() { xxx_messageInfo_Note.DiscardUnknown(m) } var xxx_messageInfo_Note proto.InternalMessageInfo func (m *Note) GetId() string { if m != nil { return m.Id } return "" } func (m *Note) GetCreated() int64 { if m != nil { return m.Created } return 0 } func (m *Note) GetTitle() string { if m != nil { return m.Title } return "" } func (m *Note) GetText() string { if m != nil { return m.Text } return "" } type CreateRequest struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CreateRequest) Reset() { *m = CreateRequest{} } func (m *CreateRequest) String() string { return proto.CompactTextString(m) } func (*CreateRequest) ProtoMessage() {} func (*CreateRequest) Descriptor() ([]byte, []int) { return fileDescriptor_7f19915b807268a5, []int{1} } func (m *CreateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateRequest.Unmarshal(m, b) } func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateRequest.Marshal(b, m, deterministic) } func (m *CreateRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_CreateRequest.Merge(m, src) } func (m *CreateRequest) XXX_Size() int { return xxx_messageInfo_CreateRequest.Size(m) } func (m *CreateRequest) XXX_DiscardUnknown() { xxx_messageInfo_CreateRequest.DiscardUnknown(m) } var xxx_messageInfo_CreateRequest proto.InternalMessageInfo func (m *CreateRequest) GetTitle() string { if m != nil { return m.Title } return "" } func (m *CreateRequest) GetText() string { if m != nil { return m.Text } return "" } type CreateResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CreateResponse) Reset() { *m = CreateResponse{} } func (m *CreateResponse) String() string { return proto.CompactTextString(m) } func (*CreateResponse) ProtoMessage() {} func (*CreateResponse) Descriptor() ([]byte, []int) { return fileDescriptor_7f19915b807268a5, []int{2} } func (m *CreateResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateResponse.Unmarshal(m, b) } func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateResponse.Marshal(b, m, deterministic) } func (m *CreateResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_CreateResponse.Merge(m, src) } func (m *CreateResponse) XXX_Size() int { return xxx_messageInfo_CreateResponse.Size(m) } func (m *CreateResponse) XXX_DiscardUnknown() { xxx_messageInfo_CreateResponse.DiscardUnknown(m) } var xxx_messageInfo_CreateResponse proto.InternalMessageInfo func (m *CreateResponse) GetId() string { if m != nil { return m.Id } return "" } type UpdateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *UpdateRequest) Reset() { *m = UpdateRequest{} } func (m *UpdateRequest) String() string { return proto.CompactTextString(m) } func (*UpdateRequest) ProtoMessage() {} func (*UpdateRequest) Descriptor() ([]byte, []int) { return fileDescriptor_7f19915b807268a5, []int{3} } func (m *UpdateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateRequest.Unmarshal(m, b) } func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateRequest.Marshal(b, m, deterministic) } func (m *UpdateRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_UpdateRequest.Merge(m, src) } func (m *UpdateRequest) XXX_Size() int { return xxx_messageInfo_UpdateRequest.Size(m) } func (m *UpdateRequest) XXX_DiscardUnknown() { xxx_messageInfo_UpdateRequest.DiscardUnknown(m) } var xxx_messageInfo_UpdateRequest proto.InternalMessageInfo func (m *UpdateRequest) GetId() string { if m != nil { return m.Id } return "" } func (m *UpdateRequest) GetTitle() string { if m != nil { return m.Title } return "" } func (m *UpdateRequest) GetText() string { if m != nil { return m.Text } return "" } type UpdateResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *UpdateResponse) Reset() { *m = UpdateResponse{} } func (m *UpdateResponse) String() string { return proto.CompactTextString(m) } func (*UpdateResponse) ProtoMessage() {} func (*UpdateResponse) Descriptor() ([]byte, []int) { return fileDescriptor_7f19915b807268a5, []int{4} } func (m *UpdateResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateResponse.Unmarshal(m, b) } func (m *UpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateResponse.Marshal(b, m, deterministic) } func (m *UpdateResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_UpdateResponse.Merge(m, src) } func (m *UpdateResponse) XXX_Size() int { return xxx_messageInfo_UpdateResponse.Size(m) } func (m *UpdateResponse) XXX_DiscardUnknown() { xxx_messageInfo_UpdateResponse.DiscardUnknown(m) } var xxx_messageInfo_UpdateResponse proto.InternalMessageInfo type DeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DeleteRequest) Reset() { *m = DeleteRequest{} } func (m *DeleteRequest) String() string { return proto.CompactTextString(m) } func (*DeleteRequest) ProtoMessage() {} func (*DeleteRequest) Descriptor() ([]byte, []int) { return fileDescriptor_7f19915b807268a5, []int{5} } func (m *DeleteRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteRequest.Unmarshal(m, b) } func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteRequest.Marshal(b, m, deterministic) } func (m *DeleteRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_DeleteRequest.Merge(m, src) } func (m *DeleteRequest) XXX_Size() int { return xxx_messageInfo_DeleteRequest.Size(m) } func (m *DeleteRequest) XXX_DiscardUnknown() { xxx_messageInfo_DeleteRequest.DiscardUnknown(m) } var xxx_messageInfo_DeleteRequest proto.InternalMessageInfo func (m *DeleteRequest) GetId() string { if m != nil { return m.Id } return "" } type DeleteResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DeleteResponse) Reset() { *m = DeleteResponse{} } func (m *DeleteResponse) String() string { return proto.CompactTextString(m) } func (*DeleteResponse) ProtoMessage() {} func (*DeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptor_7f19915b807268a5, []int{6} } func (m *DeleteResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteResponse.Unmarshal(m, b) } func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteResponse.Marshal(b, m, deterministic) } func (m *DeleteResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_DeleteResponse.Merge(m, src) } func (m *DeleteResponse) XXX_Size() int { return xxx_messageInfo_DeleteResponse.Size(m) } func (m *DeleteResponse) XXX_DiscardUnknown() { xxx_messageInfo_DeleteResponse.DiscardUnknown(m) } var xxx_messageInfo_DeleteResponse proto.InternalMessageInfo type ListRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListRequest) Reset() { *m = ListRequest{} } func (m *ListRequest) String() string { return proto.CompactTextString(m) } func (*ListRequest) ProtoMessage() {} func (*ListRequest) Descriptor() ([]byte, []int) { return fileDescriptor_7f19915b807268a5, []int{7} } func (m *ListRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListRequest.Unmarshal(m, b) } func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListRequest.Marshal(b, m, deterministic) } func (m *ListRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ListRequest.Merge(m, src) } func (m *ListRequest) XXX_Size() int { return xxx_messageInfo_ListRequest.Size(m) } func (m *ListRequest) XXX_DiscardUnknown() { xxx_messageInfo_ListRequest.DiscardUnknown(m) } var xxx_messageInfo_ListRequest proto.InternalMessageInfo type ListResponse struct { Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListResponse) Reset() { *m = ListResponse{} } func (m *ListResponse) String() string { return proto.CompactTextString(m) } func (*ListResponse) ProtoMessage() {} func (*ListResponse) Descriptor() ([]byte, []int) { return fileDescriptor_7f19915b807268a5, []int{8} } func (m *ListResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListResponse.Unmarshal(m, b) } func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListResponse.Marshal(b, m, deterministic) } func (m *ListResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ListResponse.Merge(m, src) } func (m *ListResponse) XXX_Size() int { return xxx_messageInfo_ListResponse.Size(m) } func (m *ListResponse) XXX_DiscardUnknown() { xxx_messageInfo_ListResponse.DiscardUnknown(m) } var xxx_messageInfo_ListResponse proto.InternalMessageInfo func (m *ListResponse) GetNotes() []*Note { if m != nil { return m.Notes } return nil } func init() { proto.RegisterType((*Note)(nil), "notes.Note") proto.RegisterType((*CreateRequest)(nil), "notes.CreateRequest") proto.RegisterType((*CreateResponse)(nil), "notes.CreateResponse") proto.RegisterType((*UpdateRequest)(nil), "notes.UpdateRequest") proto.RegisterType((*UpdateResponse)(nil), "notes.UpdateResponse") proto.RegisterType((*DeleteRequest)(nil), "notes.DeleteRequest") proto.RegisterType((*DeleteResponse)(nil), "notes.DeleteResponse") proto.RegisterType((*ListRequest)(nil), "notes.ListRequest") proto.RegisterType((*ListResponse)(nil), "notes.ListResponse") } func init() { proto.RegisterFile("notes/proto/notes.proto", fileDescriptor_7f19915b807268a5) } var fileDescriptor_7f19915b807268a5 = []byte{ // 344 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92,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