pb

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: 9 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 CreateTranslationCommand

type CreateTranslationCommand struct {
	TenantID   string       `protobuf:"bytes,1,opt,name=tenantID,proto3" json:"tenantID,omitempty"`
	Properties *Translation `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"`
}

func (*CreateTranslationCommand) Descriptor

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

func (*CreateTranslationCommand) GetProperties

func (m *CreateTranslationCommand) GetProperties() *Translation

func (*CreateTranslationCommand) GetTenantID

func (m *CreateTranslationCommand) GetTenantID() string

func (*CreateTranslationCommand) Marshal

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

func (*CreateTranslationCommand) MarshalTo

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

func (*CreateTranslationCommand) MarshalToSizedBuffer

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

func (*CreateTranslationCommand) ProtoMessage

func (*CreateTranslationCommand) ProtoMessage()

func (*CreateTranslationCommand) Reset

func (m *CreateTranslationCommand) Reset()

func (*CreateTranslationCommand) Size

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

func (*CreateTranslationCommand) String

func (m *CreateTranslationCommand) String() string

func (*CreateTranslationCommand) Unmarshal

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

func (*CreateTranslationCommand) XXX_DiscardUnknown

func (m *CreateTranslationCommand) XXX_DiscardUnknown()

func (*CreateTranslationCommand) XXX_Marshal

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

func (*CreateTranslationCommand) XXX_Merge

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

func (*CreateTranslationCommand) XXX_Size

func (m *CreateTranslationCommand) XXX_Size() int

func (*CreateTranslationCommand) XXX_Unmarshal

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

type CreateTranslationManyRequest

type CreateTranslationManyRequest struct {
	Create  []*CreateTranslationCommand `protobuf:"bytes,1,rep,name=create,proto3" json:"create,omitempty"`
	Connect []*basepb.GetQuery          `protobuf:"bytes,2,rep,name=connect,proto3" json:"connect,omitempty"`
}

func (*CreateTranslationManyRequest) Descriptor

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

func (*CreateTranslationManyRequest) GetConnect

func (m *CreateTranslationManyRequest) GetConnect() []*basepb.GetQuery

func (*CreateTranslationManyRequest) GetCreate

func (*CreateTranslationManyRequest) Marshal

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

func (*CreateTranslationManyRequest) MarshalTo

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

func (*CreateTranslationManyRequest) MarshalToSizedBuffer

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

func (*CreateTranslationManyRequest) ProtoMessage

func (*CreateTranslationManyRequest) ProtoMessage()

func (*CreateTranslationManyRequest) Reset

func (m *CreateTranslationManyRequest) Reset()

func (*CreateTranslationManyRequest) Size

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

func (*CreateTranslationManyRequest) String

func (*CreateTranslationManyRequest) Unmarshal

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

func (*CreateTranslationManyRequest) XXX_DiscardUnknown

func (m *CreateTranslationManyRequest) XXX_DiscardUnknown()

func (*CreateTranslationManyRequest) XXX_Marshal

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

func (*CreateTranslationManyRequest) XXX_Merge

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

func (*CreateTranslationManyRequest) XXX_Size

func (m *CreateTranslationManyRequest) XXX_Size() int

func (*CreateTranslationManyRequest) XXX_Unmarshal

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

type Translation

type Translation struct {
	ID             string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Entity         string               `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty" db:"entity"`
	RecordID       string               `protobuf:"bytes,3,opt,name=recordID,proto3" json:"recordID,omitempty" db:"record_id"`
	Property       string               `protobuf:"bytes,4,opt,name=property,proto3" json:"property,omitempty" db:"property"`
	Lang           string               `protobuf:"bytes,5,opt,name=lang,proto3" json:"lang,omitempty" db:"lang"`
	Value          string               `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty" db:"value"`
	CreatedAt      *timestamp.Timestamp `protobuf:"bytes,101,opt,name=createdAt,proto3" json:"createdAt,omitempty" db:"created_at"`
	UpdatedAt      *timestamp.Timestamp `protobuf:"bytes,102,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" db:"updated_at"`
	ExternalModule string               `protobuf:"bytes,103,opt,name=externalModule,proto3" json:"externalModule,omitempty" db:"external_module"`
	ExternalID     string               `protobuf:"bytes,104,opt,name=externalID,proto3" json:"externalID,omitempty" db:"external_id"`
}

func (*Translation) Descriptor

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

func (*Translation) GetCreatedAt

func (m *Translation) GetCreatedAt() *timestamp.Timestamp

func (*Translation) GetEntity

func (m *Translation) GetEntity() string

func (*Translation) GetExternalID

func (m *Translation) GetExternalID() string

func (*Translation) GetExternalModule

func (m *Translation) GetExternalModule() string

func (*Translation) GetID

func (m *Translation) GetID() string

func (*Translation) GetLang

func (m *Translation) GetLang() string

func (*Translation) GetProperty

func (m *Translation) GetProperty() string

func (*Translation) GetRecordID

func (m *Translation) GetRecordID() string

func (*Translation) GetUpdatedAt

func (m *Translation) GetUpdatedAt() *timestamp.Timestamp

func (*Translation) GetValue

func (m *Translation) GetValue() string

func (*Translation) Marshal

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

func (*Translation) MarshalTo

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

func (*Translation) MarshalToSizedBuffer

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

func (*Translation) ProtoMessage

func (*Translation) ProtoMessage()

func (*Translation) Reset

func (m *Translation) Reset()

func (*Translation) Size

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

func (*Translation) String

func (m *Translation) String() string

func (*Translation) Unmarshal

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

func (*Translation) XXX_DiscardUnknown

func (m *Translation) XXX_DiscardUnknown()

func (*Translation) XXX_Marshal

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

func (*Translation) XXX_Merge

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

func (*Translation) XXX_Size

func (m *Translation) XXX_Size() int

func (*Translation) XXX_Unmarshal

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

type Translations

type Translations struct {
	Translations []*Translation `protobuf:"bytes,1,rep,name=translations,proto3" json:"translations,omitempty"`
}

func (*Translations) Descriptor

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

func (*Translations) GetTranslations

func (m *Translations) GetTranslations() []*Translation

func (*Translations) Marshal

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

func (*Translations) MarshalTo

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

func (*Translations) MarshalToSizedBuffer

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

func (*Translations) ProtoMessage

func (*Translations) ProtoMessage()

func (*Translations) Reset

func (m *Translations) Reset()

func (*Translations) Size

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

func (*Translations) String

func (m *Translations) String() string

func (*Translations) Unmarshal

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

func (*Translations) XXX_DiscardUnknown

func (m *Translations) XXX_DiscardUnknown()

func (*Translations) XXX_Marshal

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

func (*Translations) XXX_Merge

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

func (*Translations) XXX_Size

func (m *Translations) XXX_Size() int

func (*Translations) XXX_Unmarshal

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

type UpdateTranslationData

type UpdateTranslationData struct {
	Properties *Translation         `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"`
	UpdateMask *fieldmask.FieldMask `protobuf:"bytes,2,opt,name=updateMask,proto3" json:"updateMask,omitempty"`
}

func (*UpdateTranslationData) Descriptor

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

func (*UpdateTranslationData) GetProperties

func (m *UpdateTranslationData) GetProperties() *Translation

func (*UpdateTranslationData) GetUpdateMask

func (m *UpdateTranslationData) GetUpdateMask() *fieldmask.FieldMask

func (*UpdateTranslationData) Marshal

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

func (*UpdateTranslationData) MarshalTo

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

func (*UpdateTranslationData) MarshalToSizedBuffer

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

func (*UpdateTranslationData) ProtoMessage

func (*UpdateTranslationData) ProtoMessage()

func (*UpdateTranslationData) Reset

func (m *UpdateTranslationData) Reset()

func (*UpdateTranslationData) Size

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

func (*UpdateTranslationData) String

func (m *UpdateTranslationData) String() string

func (*UpdateTranslationData) Unmarshal

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

func (*UpdateTranslationData) XXX_DiscardUnknown

func (m *UpdateTranslationData) XXX_DiscardUnknown()

func (*UpdateTranslationData) XXX_Marshal

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

func (*UpdateTranslationData) XXX_Merge

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

func (*UpdateTranslationData) XXX_Size

func (m *UpdateTranslationData) XXX_Size() int

func (*UpdateTranslationData) XXX_Unmarshal

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

type UpdateTranslationManyRequest

type UpdateTranslationManyRequest struct {
	Create     []*CreateTranslationCommand `protobuf:"bytes,1,rep,name=create,proto3" json:"create,omitempty"`
	Connect    []*basepb.GetQuery          `protobuf:"bytes,2,rep,name=connect,proto3" json:"connect,omitempty"`
	Set        []*basepb.GetQuery          `protobuf:"bytes,3,rep,name=set,proto3" json:"set,omitempty"`
	Disconnect []*basepb.GetQuery          `protobuf:"bytes,4,rep,name=disconnect,proto3" json:"disconnect,omitempty"`
	Delete     []*basepb.GetQuery          `protobuf:"bytes,5,rep,name=delete,proto3" json:"delete,omitempty"`
	Update     []*UpdateTranslationRequest `protobuf:"bytes,6,rep,name=update,proto3" json:"update,omitempty"`
}

func (*UpdateTranslationManyRequest) Descriptor

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

func (*UpdateTranslationManyRequest) GetConnect

func (m *UpdateTranslationManyRequest) GetConnect() []*basepb.GetQuery

func (*UpdateTranslationManyRequest) GetCreate

func (*UpdateTranslationManyRequest) GetDelete

func (m *UpdateTranslationManyRequest) GetDelete() []*basepb.GetQuery

func (*UpdateTranslationManyRequest) GetDisconnect

func (m *UpdateTranslationManyRequest) GetDisconnect() []*basepb.GetQuery

func (*UpdateTranslationManyRequest) GetSet

func (*UpdateTranslationManyRequest) GetUpdate

func (*UpdateTranslationManyRequest) Marshal

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

func (*UpdateTranslationManyRequest) MarshalTo

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

func (*UpdateTranslationManyRequest) MarshalToSizedBuffer

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

func (*UpdateTranslationManyRequest) ProtoMessage

func (*UpdateTranslationManyRequest) ProtoMessage()

func (*UpdateTranslationManyRequest) Reset

func (m *UpdateTranslationManyRequest) Reset()

func (*UpdateTranslationManyRequest) Size

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

func (*UpdateTranslationManyRequest) String

func (*UpdateTranslationManyRequest) Unmarshal

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

func (*UpdateTranslationManyRequest) XXX_DiscardUnknown

func (m *UpdateTranslationManyRequest) XXX_DiscardUnknown()

func (*UpdateTranslationManyRequest) XXX_Marshal

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

func (*UpdateTranslationManyRequest) XXX_Merge

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

func (*UpdateTranslationManyRequest) XXX_Size

func (m *UpdateTranslationManyRequest) XXX_Size() int

func (*UpdateTranslationManyRequest) XXX_Unmarshal

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

type UpdateTranslationRequest

type UpdateTranslationRequest struct {
	TenantID string                 `protobuf:"bytes,1,opt,name=tenantID,proto3" json:"tenantID,omitempty"`
	Where    *basepb.GetQuery       `protobuf:"bytes,3,opt,name=where,proto3" json:"where,omitempty"`
	Data     *UpdateTranslationData `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
}

func (*UpdateTranslationRequest) Descriptor

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

func (*UpdateTranslationRequest) GetData

func (*UpdateTranslationRequest) GetTenantID

func (m *UpdateTranslationRequest) GetTenantID() string

func (*UpdateTranslationRequest) GetWhere

func (m *UpdateTranslationRequest) GetWhere() *basepb.GetQuery

func (*UpdateTranslationRequest) Marshal

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

func (*UpdateTranslationRequest) MarshalTo

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

func (*UpdateTranslationRequest) MarshalToSizedBuffer

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

func (*UpdateTranslationRequest) ProtoMessage

func (*UpdateTranslationRequest) ProtoMessage()

func (*UpdateTranslationRequest) Reset

func (m *UpdateTranslationRequest) Reset()

func (*UpdateTranslationRequest) Size

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

func (*UpdateTranslationRequest) String

func (m *UpdateTranslationRequest) String() string

func (*UpdateTranslationRequest) Unmarshal

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

func (*UpdateTranslationRequest) XXX_DiscardUnknown

func (m *UpdateTranslationRequest) XXX_DiscardUnknown()

func (*UpdateTranslationRequest) XXX_Marshal

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

func (*UpdateTranslationRequest) XXX_Merge

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

func (*UpdateTranslationRequest) XXX_Size

func (m *UpdateTranslationRequest) XXX_Size() int

func (*UpdateTranslationRequest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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