basepb

package
v0.0.0-...-ec57856 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMain        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMain          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMain = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type GetByExternalIDQuery

type GetByExternalIDQuery struct {
	TenantID string `protobuf:"bytes,1,opt,name=tenantID,proto3" json:"tenantID,omitempty"`
	Lang     string `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang,omitempty"`
	Module   string `protobuf:"bytes,3,opt,name=module,proto3" json:"module,omitempty"`
	ID       string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
}

func (*GetByExternalIDQuery) Descriptor

func (*GetByExternalIDQuery) Descriptor() ([]byte, []int)

func (*GetByExternalIDQuery) GetID

func (m *GetByExternalIDQuery) GetID() string

func (*GetByExternalIDQuery) GetLang

func (m *GetByExternalIDQuery) GetLang() string

func (*GetByExternalIDQuery) GetModule

func (m *GetByExternalIDQuery) GetModule() string

func (*GetByExternalIDQuery) GetTenantID

func (m *GetByExternalIDQuery) GetTenantID() string

func (*GetByExternalIDQuery) Marshal

func (m *GetByExternalIDQuery) Marshal() (dAtA []byte, err error)

func (*GetByExternalIDQuery) MarshalTo

func (m *GetByExternalIDQuery) MarshalTo(dAtA []byte) (int, error)

func (*GetByExternalIDQuery) MarshalToSizedBuffer

func (m *GetByExternalIDQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetByExternalIDQuery) ProtoMessage

func (*GetByExternalIDQuery) ProtoMessage()

func (*GetByExternalIDQuery) Reset

func (m *GetByExternalIDQuery) Reset()

func (*GetByExternalIDQuery) Size

func (m *GetByExternalIDQuery) Size() (n int)

func (*GetByExternalIDQuery) String

func (m *GetByExternalIDQuery) String() string

func (*GetByExternalIDQuery) Unmarshal

func (m *GetByExternalIDQuery) Unmarshal(dAtA []byte) error

func (*GetByExternalIDQuery) XXX_DiscardUnknown

func (m *GetByExternalIDQuery) XXX_DiscardUnknown()

func (*GetByExternalIDQuery) XXX_Marshal

func (m *GetByExternalIDQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetByExternalIDQuery) XXX_Merge

func (m *GetByExternalIDQuery) XXX_Merge(src proto.Message)

func (*GetByExternalIDQuery) XXX_Size

func (m *GetByExternalIDQuery) XXX_Size() int

func (*GetByExternalIDQuery) XXX_Unmarshal

func (m *GetByExternalIDQuery) XXX_Unmarshal(b []byte) error

type GetQuery

type GetQuery struct {
	TenantID string `protobuf:"bytes,1,opt,name=tenantID,proto3" json:"tenantID,omitempty"`
	Lang     string `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang,omitempty"`
	ID       string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
}

func (*GetQuery) Descriptor

func (*GetQuery) Descriptor() ([]byte, []int)

func (*GetQuery) GetID

func (m *GetQuery) GetID() string

func (*GetQuery) GetLang

func (m *GetQuery) GetLang() string

func (*GetQuery) GetTenantID

func (m *GetQuery) GetTenantID() string

func (*GetQuery) Marshal

func (m *GetQuery) Marshal() (dAtA []byte, err error)

func (*GetQuery) MarshalTo

func (m *GetQuery) MarshalTo(dAtA []byte) (int, error)

func (*GetQuery) MarshalToSizedBuffer

func (m *GetQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetQuery) ProtoMessage

func (*GetQuery) ProtoMessage()

func (*GetQuery) Reset

func (m *GetQuery) Reset()

func (*GetQuery) Size

func (m *GetQuery) Size() (n int)

func (*GetQuery) String

func (m *GetQuery) String() string

func (*GetQuery) Unmarshal

func (m *GetQuery) Unmarshal(dAtA []byte) error

func (*GetQuery) XXX_DiscardUnknown

func (m *GetQuery) XXX_DiscardUnknown()

func (*GetQuery) XXX_Marshal

func (m *GetQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetQuery) XXX_Merge

func (m *GetQuery) XXX_Merge(src proto.Message)

func (*GetQuery) XXX_Size

func (m *GetQuery) XXX_Size() int

func (*GetQuery) XXX_Unmarshal

func (m *GetQuery) XXX_Unmarshal(b []byte) error

type ListQuery

type ListQuery struct {
	TenantID string   `protobuf:"bytes,1,opt,name=tenantID,proto3" json:"tenantID,omitempty"`
	Lang     string   `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang,omitempty"`
	Where    []*Where `protobuf:"bytes,3,rep,name=where,proto3" json:"where,omitempty"`
	Offset   int32    `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit    int32    `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	OrderBy  string   `protobuf:"bytes,6,opt,name=orderBy,proto3" json:"orderBy,omitempty"`
}

func (*ListQuery) Descriptor

func (*ListQuery) Descriptor() ([]byte, []int)

func (*ListQuery) GetLang

func (m *ListQuery) GetLang() string

func (*ListQuery) GetLimit

func (m *ListQuery) GetLimit() int32

func (*ListQuery) GetOffset

func (m *ListQuery) GetOffset() int32

func (*ListQuery) GetOrderBy

func (m *ListQuery) GetOrderBy() string

func (*ListQuery) GetTenantID

func (m *ListQuery) GetTenantID() string

func (*ListQuery) GetWhere

func (m *ListQuery) GetWhere() []*Where

func (*ListQuery) Marshal

func (m *ListQuery) Marshal() (dAtA []byte, err error)

func (*ListQuery) MarshalTo

func (m *ListQuery) MarshalTo(dAtA []byte) (int, error)

func (*ListQuery) MarshalToSizedBuffer

func (m *ListQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListQuery) ProtoMessage

func (*ListQuery) ProtoMessage()

func (*ListQuery) Reset

func (m *ListQuery) Reset()

func (*ListQuery) Size

func (m *ListQuery) Size() (n int)

func (*ListQuery) String

func (m *ListQuery) String() string

func (*ListQuery) Unmarshal

func (m *ListQuery) Unmarshal(dAtA []byte) error

func (*ListQuery) XXX_DiscardUnknown

func (m *ListQuery) XXX_DiscardUnknown()

func (*ListQuery) XXX_Marshal

func (m *ListQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListQuery) XXX_Merge

func (m *ListQuery) XXX_Merge(src proto.Message)

func (*ListQuery) XXX_Size

func (m *ListQuery) XXX_Size() int

func (*ListQuery) XXX_Unmarshal

func (m *ListQuery) XXX_Unmarshal(b []byte) error

type Where

type Where struct {
	Field    string   `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	Operator string   `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	Operande []string `protobuf:"bytes,3,rep,name=operande,proto3" json:"operande,omitempty"`
}

func (*Where) Descriptor

func (*Where) Descriptor() ([]byte, []int)

func (*Where) GetField

func (m *Where) GetField() string

func (*Where) GetOperande

func (m *Where) GetOperande() []string

func (*Where) GetOperator

func (m *Where) GetOperator() string

func (*Where) Marshal

func (m *Where) Marshal() (dAtA []byte, err error)

func (*Where) MarshalTo

func (m *Where) MarshalTo(dAtA []byte) (int, error)

func (*Where) MarshalToSizedBuffer

func (m *Where) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Where) ProtoMessage

func (*Where) ProtoMessage()

func (*Where) Reset

func (m *Where) Reset()

func (*Where) Size

func (m *Where) Size() (n int)

func (*Where) String

func (m *Where) String() string

func (*Where) Unmarshal

func (m *Where) Unmarshal(dAtA []byte) error

func (*Where) XXX_DiscardUnknown

func (m *Where) XXX_DiscardUnknown()

func (*Where) XXX_Marshal

func (m *Where) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Where) XXX_Merge

func (m *Where) XXX_Merge(src proto.Message)

func (*Where) XXX_Size

func (m *Where) XXX_Size() int

func (*Where) XXX_Unmarshal

func (m *Where) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL