2020-03-26 16:12:43 +03:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2020-03-30 18:23:00 +03:00
|
|
|
// source: accounts.proto
|
2020-03-26 16:12:43 +03:00
|
|
|
|
|
|
|
package go_micro_auth
|
|
|
|
|
|
|
|
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 ListAccountsRequest struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListAccountsRequest) Reset() { *m = ListAccountsRequest{} }
|
|
|
|
func (m *ListAccountsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListAccountsRequest) ProtoMessage() {}
|
|
|
|
func (*ListAccountsRequest) Descriptor() ([]byte, []int) {
|
2020-03-30 18:23:00 +03:00
|
|
|
return fileDescriptor_e1e7723af4c007b7, []int{0}
|
2020-03-26 16:12:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListAccountsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListAccountsRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ListAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListAccountsRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ListAccountsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListAccountsRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ListAccountsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListAccountsRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ListAccountsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListAccountsRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ListAccountsRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type ListAccountsResponse struct {
|
2020-03-30 18:23:00 +03:00
|
|
|
Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-03-26 16:12:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListAccountsResponse) Reset() { *m = ListAccountsResponse{} }
|
|
|
|
func (m *ListAccountsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListAccountsResponse) ProtoMessage() {}
|
|
|
|
func (*ListAccountsResponse) Descriptor() ([]byte, []int) {
|
2020-03-30 18:23:00 +03:00
|
|
|
return fileDescriptor_e1e7723af4c007b7, []int{1}
|
2020-03-26 16:12:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListAccountsResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListAccountsResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ListAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListAccountsResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ListAccountsResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListAccountsResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ListAccountsResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListAccountsResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ListAccountsResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListAccountsResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ListAccountsResponse proto.InternalMessageInfo
|
|
|
|
|
2020-03-30 18:23:00 +03:00
|
|
|
func (m *ListAccountsResponse) GetAccounts() []*Account {
|
2020-03-26 16:12:43 +03:00
|
|
|
if m != nil {
|
|
|
|
return m.Accounts
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*ListAccountsRequest)(nil), "go.micro.auth.ListAccountsRequest")
|
|
|
|
proto.RegisterType((*ListAccountsResponse)(nil), "go.micro.auth.ListAccountsResponse")
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
2020-03-30 18:23:00 +03:00
|
|
|
proto.RegisterFile("accounts.proto", fileDescriptor_e1e7723af4c007b7)
|
|
|
|
}
|
|
|
|
|
|
|
|
var fileDescriptor_e1e7723af4c007b7 = []byte{
|
|
|
|
// 147 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4b, 0x4c, 0x4e, 0xce,
|
|
|
|
0x2f, 0xcd, 0x2b, 0x29, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x4d, 0xcf, 0xd7, 0xcb,
|
|
|
|
0xcd, 0x4c, 0x2e, 0xca, 0xd7, 0x4b, 0x2c, 0x2d, 0xc9, 0x90, 0xe2, 0x02, 0x91, 0x10, 0x29, 0x25,
|
|
|
|
0x51, 0x2e, 0x61, 0x9f, 0xcc, 0xe2, 0x12, 0x47, 0xa8, 0x86, 0xa0, 0xd4, 0xc2, 0xd2, 0xd4, 0xe2,
|
|
|
|
0x12, 0x25, 0x2f, 0x2e, 0x11, 0x54, 0xe1, 0xe2, 0x82, 0xfc, 0xbc, 0xe2, 0x54, 0x21, 0x23, 0x2e,
|
|
|
|
0x0e, 0x98, 0xd9, 0x12, 0x8c, 0x0a, 0xcc, 0x1a, 0xdc, 0x46, 0x62, 0x7a, 0x28, 0x86, 0xeb, 0x41,
|
|
|
|
0xb5, 0x04, 0xc1, 0xd5, 0x19, 0xc5, 0x72, 0x71, 0xc0, 0xcc, 0x11, 0x0a, 0xe4, 0x62, 0x01, 0x99,
|
|
|
|
0x2b, 0xa4, 0x84, 0xa6, 0x0b, 0x8b, 0x1b, 0xa4, 0x94, 0xf1, 0xaa, 0x81, 0x38, 0x48, 0x89, 0x21,
|
|
|
|
0x89, 0x0d, 0xec, 0x11, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb4, 0xbb, 0xf1, 0x10, 0xf5,
|
|
|
|
0x00, 0x00, 0x00,
|
2020-03-26 16:12:43 +03:00
|
|
|
}
|