Documentation ¶
Index ¶
- Variables
- func DefaultDeleteBlogPost(ctx context.Context, in *BlogPost, db *gorm.DB) error
- func DefaultDeleteBlogPostSet(ctx context.Context, in []*BlogPost, db *gorm.DB) error
- func DefaultDeleteExternalChild(ctx context.Context, in *ExternalChild, db *gorm.DB) error
- func DefaultDeleteExternalChildSet(ctx context.Context, in []*ExternalChild, db *gorm.DB) error
- func DefaultDeleteIntPoint(ctx context.Context, in *IntPoint, db *gorm.DB) error
- func DefaultDeleteIntPointSet(ctx context.Context, in []*IntPoint, db *gorm.DB) error
- func DefaultDeleteMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm.DB) error
- func DefaultDeleteMultiaccountTypeWithIDSet(ctx context.Context, in []*MultiaccountTypeWithID, db *gorm.DB) error
- func DefaultDeletePrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm.DB) error
- func DefaultDeletePrimaryStringTypeSet(ctx context.Context, in []*PrimaryStringType, db *gorm.DB) error
- func DefaultDeletePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm.DB) error
- func DefaultDeletePrimaryUUIDTypeSet(ctx context.Context, in []*PrimaryUUIDType, db *gorm.DB) error
- func DefaultDeleteTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm.DB) error
- func DefaultDeleteTestAssocHandlerAppendSet(ctx context.Context, in []*TestAssocHandlerAppend, db *gorm.DB) error
- func DefaultDeleteTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm.DB) error
- func DefaultDeleteTestAssocHandlerClearSet(ctx context.Context, in []*TestAssocHandlerClear, db *gorm.DB) error
- func DefaultDeleteTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm.DB) error
- func DefaultDeleteTestAssocHandlerDefaultSet(ctx context.Context, in []*TestAssocHandlerDefault, db *gorm.DB) error
- func DefaultDeleteTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm.DB) error
- func DefaultDeleteTestAssocHandlerReplaceSet(ctx context.Context, in []*TestAssocHandlerReplace, db *gorm.DB) error
- func DefaultDeleteTestTag(ctx context.Context, in *TestTag, db *gorm.DB) error
- func DefaultDeleteTestTagSet(ctx context.Context, in []*TestTag, db *gorm.DB) error
- func DefaultDeleteTypeWithID(ctx context.Context, in *TypeWithID, db *gorm.DB) error
- func DefaultDeleteTypeWithIDSet(ctx context.Context, in []*TypeWithID, db *gorm.DB) error
- func RegisterBlogPostServiceServer(s grpc.ServiceRegistrar, srv BlogPostServiceServer)
- func RegisterCircleServiceServer(s grpc.ServiceRegistrar, srv CircleServiceServer)
- func RegisterIntPointServiceServer(s grpc.ServiceRegistrar, srv IntPointServiceServer)
- func RegisterIntPointTxnServer(s grpc.ServiceRegistrar, srv IntPointTxnServer)
- func RegisterMultipleMethodsAutoGenServer(s grpc.ServiceRegistrar, srv MultipleMethodsAutoGenServer)
- type APIOnlyType
- type BlogPost
- func DefaultApplyFieldMaskBlogPost(ctx context.Context, patchee *BlogPost, patcher *BlogPost, ...) (*BlogPost, error)
- func DefaultCreateBlogPost(ctx context.Context, in *BlogPost, db *gorm.DB) (*BlogPost, error)
- func DefaultListBlogPost(ctx context.Context, db *gorm.DB) ([]*BlogPost, error)
- func DefaultPatchBlogPost(ctx context.Context, in *BlogPost, updateMask *field_mask.FieldMask, ...) (*BlogPost, error)
- func DefaultPatchSetBlogPost(ctx context.Context, objects []*BlogPost, updateMasks []*field_mask.FieldMask, ...) ([]*BlogPost, error)
- func DefaultReadBlogPost(ctx context.Context, in *BlogPost, db *gorm.DB) (*BlogPost, error)
- func DefaultStrictUpdateBlogPost(ctx context.Context, in *BlogPost, db *gorm.DB) (*BlogPost, error)
- func (*BlogPost) Descriptor() ([]byte, []int)deprecated
- func (x *BlogPost) GetAuthor() string
- func (x *BlogPost) GetId() uint64
- func (x *BlogPost) GetTitle() string
- func (*BlogPost) ProtoMessage()
- func (x *BlogPost) ProtoReflect() protoreflect.Message
- func (x *BlogPost) Reset()
- func (x *BlogPost) String() string
- func (m *BlogPost) ToORM(ctx context.Context) (BlogPostORM, error)
- type BlogPostORM
- type BlogPostORMWithAfterCreate_
- type BlogPostORMWithAfterDeleteSet
- type BlogPostORMWithAfterDelete_
- type BlogPostORMWithAfterListFind
- type BlogPostORMWithAfterReadFind
- type BlogPostORMWithAfterStrictUpdateSave
- type BlogPostORMWithBeforeCreate_
- type BlogPostORMWithBeforeDeleteSet
- type BlogPostORMWithBeforeDelete_
- type BlogPostORMWithBeforeListApplyQuery
- type BlogPostORMWithBeforeListFind
- type BlogPostORMWithBeforeReadApplyQuery
- type BlogPostORMWithBeforeReadFind
- type BlogPostORMWithBeforeStrictUpdateCleanup
- type BlogPostORMWithBeforeStrictUpdateSave
- type BlogPostServiceClient
- type BlogPostServiceDefaultServer
- type BlogPostServiceServer
- type BlogPostWithAfterPatchSave
- type BlogPostWithAfterToORM
- type BlogPostWithAfterToPB
- type BlogPostWithBeforePatchApplyFieldMask
- type BlogPostWithBeforePatchRead
- type BlogPostWithBeforePatchSave
- type BlogPostWithBeforeToORM
- type BlogPostWithBeforeToPB
- type Circle
- type CircleORM
- type CircleORMWithAfterCreate_
- type CircleORMWithAfterListFind
- type CircleORMWithBeforeCreate_
- type CircleORMWithBeforeListApplyQuery
- type CircleORMWithBeforeListFind
- type CircleServiceCircleWithAfterList
- type CircleServiceCircleWithBeforeList
- type CircleServiceClient
- type CircleServiceDefaultServer
- type CircleServiceServer
- type CircleWithAfterToORM
- type CircleWithAfterToPB
- type CircleWithBeforeToORM
- type CircleWithBeforeToPB
- type CreateIntPointRequest
- func (*CreateIntPointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIntPointRequest) GetPayload() *IntPoint
- func (*CreateIntPointRequest) ProtoMessage()
- func (x *CreateIntPointRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIntPointRequest) Reset()
- func (x *CreateIntPointRequest) String() string
- type CreateIntPointResponse
- func (*CreateIntPointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIntPointResponse) GetResult() *IntPoint
- func (*CreateIntPointResponse) ProtoMessage()
- func (x *CreateIntPointResponse) ProtoReflect() protoreflect.Message
- func (x *CreateIntPointResponse) Reset()
- func (x *CreateIntPointResponse) String() string
- type DeleteIntPointRequest
- func (*DeleteIntPointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIntPointRequest) GetId() uint32
- func (*DeleteIntPointRequest) ProtoMessage()
- func (x *DeleteIntPointRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIntPointRequest) Reset()
- func (x *DeleteIntPointRequest) String() string
- type DeleteIntPointResponse
- type DeleteIntPointsRequest
- func (*DeleteIntPointsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIntPointsRequest) GetIds() []uint32
- func (*DeleteIntPointsRequest) ProtoMessage()
- func (x *DeleteIntPointsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIntPointsRequest) Reset()
- func (x *DeleteIntPointsRequest) String() string
- type ExternalChild
- func DefaultApplyFieldMaskExternalChild(ctx context.Context, patchee *ExternalChild, patcher *ExternalChild, ...) (*ExternalChild, error)
- func DefaultCreateExternalChild(ctx context.Context, in *ExternalChild, db *gorm.DB) (*ExternalChild, error)
- func DefaultListExternalChild(ctx context.Context, db *gorm.DB) ([]*ExternalChild, error)
- func DefaultPatchExternalChild(ctx context.Context, in *ExternalChild, updateMask *field_mask.FieldMask, ...) (*ExternalChild, error)
- func DefaultPatchSetExternalChild(ctx context.Context, objects []*ExternalChild, ...) ([]*ExternalChild, error)
- func DefaultReadExternalChild(ctx context.Context, in *ExternalChild, db *gorm.DB) (*ExternalChild, error)
- func DefaultStrictUpdateExternalChild(ctx context.Context, in *ExternalChild, db *gorm.DB) (*ExternalChild, error)
- func (*ExternalChild) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalChild) GetId() string
- func (*ExternalChild) ProtoMessage()
- func (x *ExternalChild) ProtoReflect() protoreflect.Message
- func (x *ExternalChild) Reset()
- func (x *ExternalChild) String() string
- func (m *ExternalChild) ToORM(ctx context.Context) (ExternalChildORM, error)
- type ExternalChildORM
- type ExternalChildORMWithAfterCreate_
- type ExternalChildORMWithAfterDeleteSet
- type ExternalChildORMWithAfterDelete_
- type ExternalChildORMWithAfterListFind
- type ExternalChildORMWithAfterReadFind
- type ExternalChildORMWithAfterStrictUpdateSave
- type ExternalChildORMWithBeforeCreate_
- type ExternalChildORMWithBeforeDeleteSet
- type ExternalChildORMWithBeforeDelete_
- type ExternalChildORMWithBeforeListApplyQuery
- type ExternalChildORMWithBeforeListFind
- type ExternalChildORMWithBeforeReadApplyQuery
- type ExternalChildORMWithBeforeReadFind
- type ExternalChildORMWithBeforeStrictUpdateCleanup
- type ExternalChildORMWithBeforeStrictUpdateSave
- type ExternalChildWithAfterPatchSave
- type ExternalChildWithAfterToORM
- type ExternalChildWithAfterToPB
- type ExternalChildWithBeforePatchApplyFieldMask
- type ExternalChildWithBeforePatchRead
- type ExternalChildWithBeforePatchSave
- type ExternalChildWithBeforeToORM
- type ExternalChildWithBeforeToPB
- type IntPoint
- func DefaultApplyFieldMaskIntPoint(ctx context.Context, patchee *IntPoint, patcher *IntPoint, ...) (*IntPoint, error)
- func DefaultCreateIntPoint(ctx context.Context, in *IntPoint, db *gorm.DB) (*IntPoint, error)
- func DefaultListIntPoint(ctx context.Context, db *gorm.DB, f *query.Filtering, s *query.Sorting, ...) ([]*IntPoint, error)
- func DefaultPatchIntPoint(ctx context.Context, in *IntPoint, updateMask *field_mask.FieldMask, ...) (*IntPoint, error)
- func DefaultPatchSetIntPoint(ctx context.Context, objects []*IntPoint, updateMasks []*field_mask.FieldMask, ...) ([]*IntPoint, error)
- func DefaultReadIntPoint(ctx context.Context, in *IntPoint, db *gorm.DB, fs *query.FieldSelection) (*IntPoint, error)
- func DefaultStrictUpdateIntPoint(ctx context.Context, in *IntPoint, db *gorm.DB) (*IntPoint, error)
- func (*IntPoint) Descriptor() ([]byte, []int)deprecated
- func (x *IntPoint) GetId() uint32
- func (x *IntPoint) GetX() int32
- func (x *IntPoint) GetY() int32
- func (*IntPoint) ProtoMessage()
- func (x *IntPoint) ProtoReflect() protoreflect.Message
- func (x *IntPoint) Reset()
- func (x *IntPoint) String() string
- func (m *IntPoint) ToORM(ctx context.Context) (IntPointORM, error)
- type IntPointORM
- type IntPointORMWithAfterCreate_
- type IntPointORMWithAfterDeleteSet
- type IntPointORMWithAfterDelete_
- type IntPointORMWithAfterListFind
- type IntPointORMWithAfterReadFind
- type IntPointORMWithAfterStrictUpdateSave
- type IntPointORMWithBeforeCreate_
- type IntPointORMWithBeforeDeleteSet
- type IntPointORMWithBeforeDelete_
- type IntPointORMWithBeforeListApplyQuery
- type IntPointORMWithBeforeListFind
- type IntPointORMWithBeforeReadApplyQuery
- type IntPointORMWithBeforeReadFind
- type IntPointORMWithBeforeStrictUpdateCleanup
- type IntPointORMWithBeforeStrictUpdateSave
- type IntPointServiceClient
- type IntPointServiceDefaultServer
- func (m *IntPointServiceDefaultServer) Create(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (m *IntPointServiceDefaultServer) CreateSomething(ctx context.Context, in *Something) (*Something, error)
- func (m *IntPointServiceDefaultServer) CustomMethod(ctx context.Context, in *empty.Empty) (*empty.Empty, error)
- func (m *IntPointServiceDefaultServer) Delete(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (m *IntPointServiceDefaultServer) List(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
- func (m *IntPointServiceDefaultServer) ListSomething(ctx context.Context, in *empty.Empty) (*ListSomethingResponse, error)
- func (m *IntPointServiceDefaultServer) Read(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (m *IntPointServiceDefaultServer) Update(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- func (m *IntPointServiceDefaultServer) UpdateSet(ctx context.Context, in *UpdateSetIntPointRequest) (*UpdateSetIntPointResponse, error)
- type IntPointServiceIntPointWithAfterCreate
- type IntPointServiceIntPointWithAfterDelete
- type IntPointServiceIntPointWithAfterList
- type IntPointServiceIntPointWithAfterRead
- type IntPointServiceIntPointWithAfterUpdate
- type IntPointServiceIntPointWithAfterUpdateSet
- type IntPointServiceIntPointWithBeforeCreate
- type IntPointServiceIntPointWithBeforeDelete
- type IntPointServiceIntPointWithBeforeList
- type IntPointServiceIntPointWithBeforeRead
- type IntPointServiceIntPointWithBeforeUpdate
- type IntPointServiceIntPointWithBeforeUpdateSet
- type IntPointServiceServer
- type IntPointServiceSomethingWithAfterListSomething
- type IntPointServiceSomethingWithBeforeListSomething
- type IntPointTxnClient
- type IntPointTxnDefaultServer
- func (m *IntPointTxnDefaultServer) Create(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (m *IntPointTxnDefaultServer) CreateSomething(ctx context.Context, in *Something) (*Something, error)
- func (m *IntPointTxnDefaultServer) CustomMethod(ctx context.Context, in *empty.Empty) (*empty.Empty, error)
- func (m *IntPointTxnDefaultServer) Delete(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (m *IntPointTxnDefaultServer) DeleteSet(ctx context.Context, in *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
- func (m *IntPointTxnDefaultServer) List(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
- func (m *IntPointTxnDefaultServer) Read(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (m *IntPointTxnDefaultServer) Update(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- type IntPointTxnIntPointWithAfterCreate
- type IntPointTxnIntPointWithAfterDelete
- type IntPointTxnIntPointWithAfterDeleteSet
- type IntPointTxnIntPointWithAfterList
- type IntPointTxnIntPointWithAfterRead
- type IntPointTxnIntPointWithAfterUpdate
- type IntPointTxnIntPointWithBeforeCreate
- type IntPointTxnIntPointWithBeforeDelete
- type IntPointTxnIntPointWithBeforeDeleteSet
- type IntPointTxnIntPointWithBeforeList
- type IntPointTxnIntPointWithBeforeRead
- type IntPointTxnIntPointWithBeforeUpdate
- type IntPointTxnServer
- type IntPointWithAfterPatchSave
- type IntPointWithAfterToORM
- type IntPointWithAfterToPB
- type IntPointWithBeforePatchApplyFieldMask
- type IntPointWithBeforePatchRead
- type IntPointWithBeforePatchSave
- type IntPointWithBeforeToORM
- type IntPointWithBeforeToPB
- type JoinTable
- type ListCircleRequest
- type ListCircleResponse
- func (*ListCircleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCircleResponse) GetResults() []*Circle
- func (*ListCircleResponse) ProtoMessage()
- func (x *ListCircleResponse) ProtoReflect() protoreflect.Message
- func (x *ListCircleResponse) Reset()
- func (x *ListCircleResponse) String() string
- type ListIntPointRequest
- func (*ListIntPointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListIntPointRequest) GetFields() *query.FieldSelection
- func (x *ListIntPointRequest) GetFilter() *query.Filtering
- func (x *ListIntPointRequest) GetOrderBy() *query.Sorting
- func (x *ListIntPointRequest) GetPaging() *query.Pagination
- func (*ListIntPointRequest) ProtoMessage()
- func (x *ListIntPointRequest) ProtoReflect() protoreflect.Message
- func (x *ListIntPointRequest) Reset()
- func (x *ListIntPointRequest) String() string
- type ListIntPointResponse
- func (*ListIntPointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIntPointResponse) GetPageInfo() *query.PageInfo
- func (x *ListIntPointResponse) GetResults() []*IntPoint
- func (*ListIntPointResponse) ProtoMessage()
- func (x *ListIntPointResponse) ProtoReflect() protoreflect.Message
- func (x *ListIntPointResponse) Reset()
- func (x *ListIntPointResponse) String() string
- type ListSomethingResponse
- func (*ListSomethingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSomethingResponse) GetPageInfo() *query.PageInfo
- func (x *ListSomethingResponse) GetResults() []*Something
- func (*ListSomethingResponse) ProtoMessage()
- func (x *ListSomethingResponse) ProtoReflect() protoreflect.Message
- func (x *ListSomethingResponse) Reset()
- func (x *ListSomethingResponse) String() string
- type MultiaccountTypeWithID
- func DefaultApplyFieldMaskMultiaccountTypeWithID(ctx context.Context, patchee *MultiaccountTypeWithID, ...) (*MultiaccountTypeWithID, error)
- func DefaultCreateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm.DB) (*MultiaccountTypeWithID, error)
- func DefaultListMultiaccountTypeWithID(ctx context.Context, db *gorm.DB) ([]*MultiaccountTypeWithID, error)
- func DefaultPatchMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, ...) (*MultiaccountTypeWithID, error)
- func DefaultPatchSetMultiaccountTypeWithID(ctx context.Context, objects []*MultiaccountTypeWithID, ...) ([]*MultiaccountTypeWithID, error)
- func DefaultReadMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm.DB) (*MultiaccountTypeWithID, error)
- func DefaultStrictUpdateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm.DB) (*MultiaccountTypeWithID, error)
- func (*MultiaccountTypeWithID) Descriptor() ([]byte, []int)deprecated
- func (x *MultiaccountTypeWithID) GetId() uint64
- func (x *MultiaccountTypeWithID) GetSomeField() string
- func (*MultiaccountTypeWithID) ProtoMessage()
- func (x *MultiaccountTypeWithID) ProtoReflect() protoreflect.Message
- func (x *MultiaccountTypeWithID) Reset()
- func (x *MultiaccountTypeWithID) String() string
- func (m *MultiaccountTypeWithID) ToORM(ctx context.Context) (MultiaccountTypeWithIDORM, error)
- type MultiaccountTypeWithIDORM
- type MultiaccountTypeWithIDORMWithAfterCreate_
- type MultiaccountTypeWithIDORMWithAfterDeleteSet
- type MultiaccountTypeWithIDORMWithAfterDelete_
- type MultiaccountTypeWithIDORMWithAfterListFind
- type MultiaccountTypeWithIDORMWithAfterReadFind
- type MultiaccountTypeWithIDORMWithAfterStrictUpdateSave
- type MultiaccountTypeWithIDORMWithBeforeCreate_
- type MultiaccountTypeWithIDORMWithBeforeDeleteSet
- type MultiaccountTypeWithIDORMWithBeforeDelete_
- type MultiaccountTypeWithIDORMWithBeforeListApplyQuery
- type MultiaccountTypeWithIDORMWithBeforeListFind
- type MultiaccountTypeWithIDORMWithBeforeReadApplyQuery
- type MultiaccountTypeWithIDORMWithBeforeReadFind
- type MultiaccountTypeWithIDORMWithBeforeStrictUpdateCleanup
- type MultiaccountTypeWithIDORMWithBeforeStrictUpdateSave
- type MultiaccountTypeWithIDWithAfterPatchSave
- type MultiaccountTypeWithIDWithAfterToORM
- type MultiaccountTypeWithIDWithAfterToPB
- type MultiaccountTypeWithIDWithBeforePatchApplyFieldMask
- type MultiaccountTypeWithIDWithBeforePatchRead
- type MultiaccountTypeWithIDWithBeforePatchSave
- type MultiaccountTypeWithIDWithBeforeToORM
- type MultiaccountTypeWithIDWithBeforeToPB
- type MultiaccountTypeWithoutID
- func DefaultApplyFieldMaskMultiaccountTypeWithoutID(ctx context.Context, patchee *MultiaccountTypeWithoutID, ...) (*MultiaccountTypeWithoutID, error)
- func DefaultCreateMultiaccountTypeWithoutID(ctx context.Context, in *MultiaccountTypeWithoutID, db *gorm.DB) (*MultiaccountTypeWithoutID, error)
- func DefaultListMultiaccountTypeWithoutID(ctx context.Context, db *gorm.DB) ([]*MultiaccountTypeWithoutID, error)
- func (*MultiaccountTypeWithoutID) Descriptor() ([]byte, []int)deprecated
- func (x *MultiaccountTypeWithoutID) GetSomeField() string
- func (*MultiaccountTypeWithoutID) ProtoMessage()
- func (x *MultiaccountTypeWithoutID) ProtoReflect() protoreflect.Message
- func (x *MultiaccountTypeWithoutID) Reset()
- func (x *MultiaccountTypeWithoutID) String() string
- func (m *MultiaccountTypeWithoutID) ToORM(ctx context.Context) (MultiaccountTypeWithoutIDORM, error)
- type MultiaccountTypeWithoutIDORM
- type MultiaccountTypeWithoutIDORMWithAfterCreate_
- type MultiaccountTypeWithoutIDORMWithAfterListFind
- type MultiaccountTypeWithoutIDORMWithBeforeCreate_
- type MultiaccountTypeWithoutIDORMWithBeforeListApplyQuery
- type MultiaccountTypeWithoutIDORMWithBeforeListFind
- type MultiaccountTypeWithoutIDWithAfterToORM
- type MultiaccountTypeWithoutIDWithAfterToPB
- type MultiaccountTypeWithoutIDWithBeforeToORM
- type MultiaccountTypeWithoutIDWithBeforeToPB
- type MultipleMethodsAutoGenClient
- type MultipleMethodsAutoGenDefaultServer
- func (m *MultipleMethodsAutoGenDefaultServer) CreateA(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) CreateB(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) DeleteA(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) DeleteB(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) DeleteSetA(ctx context.Context, in *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) DeleteSetB(ctx context.Context, in *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) ListA(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) ListB(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) ReadA(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) ReadB(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) UpdateA(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) UpdateB(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- type MultipleMethodsAutoGenIntPointWithAfterCreateA
- type MultipleMethodsAutoGenIntPointWithAfterCreateB
- type MultipleMethodsAutoGenIntPointWithAfterDeleteA
- type MultipleMethodsAutoGenIntPointWithAfterDeleteB
- type MultipleMethodsAutoGenIntPointWithAfterDeleteSetA
- type MultipleMethodsAutoGenIntPointWithAfterDeleteSetB
- type MultipleMethodsAutoGenIntPointWithAfterListA
- type MultipleMethodsAutoGenIntPointWithAfterListB
- type MultipleMethodsAutoGenIntPointWithAfterReadA
- type MultipleMethodsAutoGenIntPointWithAfterReadB
- type MultipleMethodsAutoGenIntPointWithAfterUpdateA
- type MultipleMethodsAutoGenIntPointWithAfterUpdateB
- type MultipleMethodsAutoGenIntPointWithBeforeCreateA
- type MultipleMethodsAutoGenIntPointWithBeforeCreateB
- type MultipleMethodsAutoGenIntPointWithBeforeDeleteA
- type MultipleMethodsAutoGenIntPointWithBeforeDeleteB
- type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetA
- type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetB
- type MultipleMethodsAutoGenIntPointWithBeforeListA
- type MultipleMethodsAutoGenIntPointWithBeforeListB
- type MultipleMethodsAutoGenIntPointWithBeforeReadA
- type MultipleMethodsAutoGenIntPointWithBeforeReadB
- type MultipleMethodsAutoGenIntPointWithBeforeUpdateA
- type MultipleMethodsAutoGenIntPointWithBeforeUpdateB
- type MultipleMethodsAutoGenServer
- type PrimaryIncluded
- func DefaultApplyFieldMaskPrimaryIncluded(ctx context.Context, patchee *PrimaryIncluded, patcher *PrimaryIncluded, ...) (*PrimaryIncluded, error)
- func DefaultCreatePrimaryIncluded(ctx context.Context, in *PrimaryIncluded, db *gorm.DB) (*PrimaryIncluded, error)
- func DefaultListPrimaryIncluded(ctx context.Context, db *gorm.DB) ([]*PrimaryIncluded, error)
- func (*PrimaryIncluded) Descriptor() ([]byte, []int)deprecated
- func (x *PrimaryIncluded) GetChild() *ExternalChild
- func (*PrimaryIncluded) ProtoMessage()
- func (x *PrimaryIncluded) ProtoReflect() protoreflect.Message
- func (x *PrimaryIncluded) Reset()
- func (x *PrimaryIncluded) String() string
- func (m *PrimaryIncluded) ToORM(ctx context.Context) (PrimaryIncludedORM, error)
- type PrimaryIncludedORM
- type PrimaryIncludedORMWithAfterCreate_
- type PrimaryIncludedORMWithAfterListFind
- type PrimaryIncludedORMWithBeforeCreate_
- type PrimaryIncludedORMWithBeforeListApplyQuery
- type PrimaryIncludedORMWithBeforeListFind
- type PrimaryIncludedWithAfterToORM
- type PrimaryIncludedWithAfterToPB
- type PrimaryIncludedWithBeforeToORM
- type PrimaryIncludedWithBeforeToPB
- type PrimaryStringType
- func DefaultApplyFieldMaskPrimaryStringType(ctx context.Context, patchee *PrimaryStringType, patcher *PrimaryStringType, ...) (*PrimaryStringType, error)
- func DefaultCreatePrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm.DB) (*PrimaryStringType, error)
- func DefaultListPrimaryStringType(ctx context.Context, db *gorm.DB) ([]*PrimaryStringType, error)
- func DefaultPatchPrimaryStringType(ctx context.Context, in *PrimaryStringType, updateMask *field_mask.FieldMask, ...) (*PrimaryStringType, error)
- func DefaultPatchSetPrimaryStringType(ctx context.Context, objects []*PrimaryStringType, ...) ([]*PrimaryStringType, error)
- func DefaultReadPrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm.DB) (*PrimaryStringType, error)
- func DefaultStrictUpdatePrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm.DB) (*PrimaryStringType, error)
- func (*PrimaryStringType) Descriptor() ([]byte, []int)deprecated
- func (x *PrimaryStringType) GetChild() *ExternalChild
- func (x *PrimaryStringType) GetId() string
- func (*PrimaryStringType) ProtoMessage()
- func (x *PrimaryStringType) ProtoReflect() protoreflect.Message
- func (x *PrimaryStringType) Reset()
- func (x *PrimaryStringType) String() string
- func (m *PrimaryStringType) ToORM(ctx context.Context) (PrimaryStringTypeORM, error)
- type PrimaryStringTypeORM
- type PrimaryStringTypeORMWithAfterCreate_
- type PrimaryStringTypeORMWithAfterDeleteSet
- type PrimaryStringTypeORMWithAfterDelete_
- type PrimaryStringTypeORMWithAfterListFind
- type PrimaryStringTypeORMWithAfterReadFind
- type PrimaryStringTypeORMWithAfterStrictUpdateSave
- type PrimaryStringTypeORMWithBeforeCreate_
- type PrimaryStringTypeORMWithBeforeDeleteSet
- type PrimaryStringTypeORMWithBeforeDelete_
- type PrimaryStringTypeORMWithBeforeListApplyQuery
- type PrimaryStringTypeORMWithBeforeListFind
- type PrimaryStringTypeORMWithBeforeReadApplyQuery
- type PrimaryStringTypeORMWithBeforeReadFind
- type PrimaryStringTypeORMWithBeforeStrictUpdateCleanup
- type PrimaryStringTypeORMWithBeforeStrictUpdateSave
- type PrimaryStringTypeWithAfterPatchSave
- type PrimaryStringTypeWithAfterToORM
- type PrimaryStringTypeWithAfterToPB
- type PrimaryStringTypeWithBeforePatchApplyFieldMask
- type PrimaryStringTypeWithBeforePatchRead
- type PrimaryStringTypeWithBeforePatchSave
- type PrimaryStringTypeWithBeforeToORM
- type PrimaryStringTypeWithBeforeToPB
- type PrimaryUUIDType
- func DefaultApplyFieldMaskPrimaryUUIDType(ctx context.Context, patchee *PrimaryUUIDType, patcher *PrimaryUUIDType, ...) (*PrimaryUUIDType, error)
- func DefaultCreatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm.DB) (*PrimaryUUIDType, error)
- func DefaultListPrimaryUUIDType(ctx context.Context, db *gorm.DB) ([]*PrimaryUUIDType, error)
- func DefaultPatchPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, updateMask *field_mask.FieldMask, ...) (*PrimaryUUIDType, error)
- func DefaultPatchSetPrimaryUUIDType(ctx context.Context, objects []*PrimaryUUIDType, ...) ([]*PrimaryUUIDType, error)
- func DefaultReadPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm.DB) (*PrimaryUUIDType, error)
- func DefaultStrictUpdatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm.DB) (*PrimaryUUIDType, error)
- func (*PrimaryUUIDType) Descriptor() ([]byte, []int)deprecated
- func (x *PrimaryUUIDType) GetChild() *ExternalChild
- func (x *PrimaryUUIDType) GetId() *types.UUIDValue
- func (*PrimaryUUIDType) ProtoMessage()
- func (x *PrimaryUUIDType) ProtoReflect() protoreflect.Message
- func (x *PrimaryUUIDType) Reset()
- func (x *PrimaryUUIDType) String() string
- func (m *PrimaryUUIDType) ToORM(ctx context.Context) (PrimaryUUIDTypeORM, error)
- type PrimaryUUIDTypeORM
- type PrimaryUUIDTypeORMWithAfterCreate_
- type PrimaryUUIDTypeORMWithAfterDeleteSet
- type PrimaryUUIDTypeORMWithAfterDelete_
- type PrimaryUUIDTypeORMWithAfterListFind
- type PrimaryUUIDTypeORMWithAfterReadFind
- type PrimaryUUIDTypeORMWithAfterStrictUpdateSave
- type PrimaryUUIDTypeORMWithBeforeCreate_
- type PrimaryUUIDTypeORMWithBeforeDeleteSet
- type PrimaryUUIDTypeORMWithBeforeDelete_
- type PrimaryUUIDTypeORMWithBeforeListApplyQuery
- type PrimaryUUIDTypeORMWithBeforeListFind
- type PrimaryUUIDTypeORMWithBeforeReadApplyQuery
- type PrimaryUUIDTypeORMWithBeforeReadFind
- type PrimaryUUIDTypeORMWithBeforeStrictUpdateCleanup
- type PrimaryUUIDTypeORMWithBeforeStrictUpdateSave
- type PrimaryUUIDTypeWithAfterPatchSave
- type PrimaryUUIDTypeWithAfterToORM
- type PrimaryUUIDTypeWithAfterToPB
- type PrimaryUUIDTypeWithBeforePatchApplyFieldMask
- type PrimaryUUIDTypeWithBeforePatchRead
- type PrimaryUUIDTypeWithBeforePatchSave
- type PrimaryUUIDTypeWithBeforeToORM
- type PrimaryUUIDTypeWithBeforeToPB
- type ReadAccountRequest
- func (*ReadAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAccountRequest) GetFields() *query.FieldSelection
- func (x *ReadAccountRequest) GetId() uint64
- func (*ReadAccountRequest) ProtoMessage()
- func (x *ReadAccountRequest) ProtoReflect() protoreflect.Message
- func (x *ReadAccountRequest) Reset()
- func (x *ReadAccountRequest) String() string
- type ReadBlogPostsResponse
- func (*ReadBlogPostsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadBlogPostsResponse) GetPosts() []*BlogPost
- func (*ReadBlogPostsResponse) ProtoMessage()
- func (x *ReadBlogPostsResponse) ProtoReflect() protoreflect.Message
- func (x *ReadBlogPostsResponse) Reset()
- func (x *ReadBlogPostsResponse) String() string
- type ReadIntPointRequest
- func (*ReadIntPointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadIntPointRequest) GetFields() *query.FieldSelection
- func (x *ReadIntPointRequest) GetId() uint32
- func (*ReadIntPointRequest) ProtoMessage()
- func (x *ReadIntPointRequest) ProtoReflect() protoreflect.Message
- func (x *ReadIntPointRequest) Reset()
- func (x *ReadIntPointRequest) String() string
- type ReadIntPointResponse
- func (*ReadIntPointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadIntPointResponse) GetResult() *IntPoint
- func (*ReadIntPointResponse) ProtoMessage()
- func (x *ReadIntPointResponse) ProtoReflect() protoreflect.Message
- func (x *ReadIntPointResponse) Reset()
- func (x *ReadIntPointResponse) String() string
- type Something
- func DefaultApplyFieldMaskSomething(ctx context.Context, patchee *Something, patcher *Something, ...) (*Something, error)
- func DefaultCreateSomething(ctx context.Context, in *Something, db *gorm.DB) (*Something, error)
- func DefaultListSomething(ctx context.Context, db *gorm.DB) ([]*Something, error)
- func (*Something) Descriptor() ([]byte, []int)deprecated
- func (x *Something) GetField() string
- func (*Something) ProtoMessage()
- func (x *Something) ProtoReflect() protoreflect.Message
- func (x *Something) Reset()
- func (x *Something) String() string
- func (m *Something) ToORM(ctx context.Context) (SomethingORM, error)
- type SomethingORM
- type SomethingORMWithAfterCreate_
- type SomethingORMWithAfterListFind
- type SomethingORMWithBeforeCreate_
- type SomethingORMWithBeforeListApplyQuery
- type SomethingORMWithBeforeListFind
- type SomethingWithAfterToORM
- type SomethingWithAfterToPB
- type SomethingWithBeforeToORM
- type SomethingWithBeforeToPB
- type TestAssocHandlerAppend
- func DefaultApplyFieldMaskTestAssocHandlerAppend(ctx context.Context, patchee *TestAssocHandlerAppend, ...) (*TestAssocHandlerAppend, error)
- func DefaultCreateTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm.DB) (*TestAssocHandlerAppend, error)
- func DefaultListTestAssocHandlerAppend(ctx context.Context, db *gorm.DB) ([]*TestAssocHandlerAppend, error)
- func DefaultPatchSetTestAssocHandlerAppend(ctx context.Context, objects []*TestAssocHandlerAppend, ...) ([]*TestAssocHandlerAppend, error)
- func DefaultPatchTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, ...) (*TestAssocHandlerAppend, error)
- func DefaultReadTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm.DB) (*TestAssocHandlerAppend, error)
- func DefaultStrictUpdateTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm.DB) (*TestAssocHandlerAppend, error)
- func (*TestAssocHandlerAppend) Descriptor() ([]byte, []int)deprecated
- func (x *TestAssocHandlerAppend) GetId() string
- func (x *TestAssocHandlerAppend) GetTestTagAssoc() []*TestTagAssociation
- func (*TestAssocHandlerAppend) ProtoMessage()
- func (x *TestAssocHandlerAppend) ProtoReflect() protoreflect.Message
- func (x *TestAssocHandlerAppend) Reset()
- func (x *TestAssocHandlerAppend) String() string
- func (m *TestAssocHandlerAppend) ToORM(ctx context.Context) (TestAssocHandlerAppendORM, error)
- type TestAssocHandlerAppendORM
- type TestAssocHandlerAppendORMWithAfterCreate_
- type TestAssocHandlerAppendORMWithAfterDeleteSet
- type TestAssocHandlerAppendORMWithAfterDelete_
- type TestAssocHandlerAppendORMWithAfterListFind
- type TestAssocHandlerAppendORMWithAfterReadFind
- type TestAssocHandlerAppendORMWithAfterStrictUpdateSave
- type TestAssocHandlerAppendORMWithBeforeCreate_
- type TestAssocHandlerAppendORMWithBeforeDeleteSet
- type TestAssocHandlerAppendORMWithBeforeDelete_
- type TestAssocHandlerAppendORMWithBeforeListApplyQuery
- type TestAssocHandlerAppendORMWithBeforeListFind
- type TestAssocHandlerAppendORMWithBeforeReadApplyQuery
- type TestAssocHandlerAppendORMWithBeforeReadFind
- type TestAssocHandlerAppendORMWithBeforeStrictUpdateCleanup
- type TestAssocHandlerAppendORMWithBeforeStrictUpdateSave
- type TestAssocHandlerAppendWithAfterPatchSave
- type TestAssocHandlerAppendWithAfterToORM
- type TestAssocHandlerAppendWithAfterToPB
- type TestAssocHandlerAppendWithBeforePatchApplyFieldMask
- type TestAssocHandlerAppendWithBeforePatchRead
- type TestAssocHandlerAppendWithBeforePatchSave
- type TestAssocHandlerAppendWithBeforeToORM
- type TestAssocHandlerAppendWithBeforeToPB
- type TestAssocHandlerClear
- func DefaultApplyFieldMaskTestAssocHandlerClear(ctx context.Context, patchee *TestAssocHandlerClear, ...) (*TestAssocHandlerClear, error)
- func DefaultCreateTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm.DB) (*TestAssocHandlerClear, error)
- func DefaultListTestAssocHandlerClear(ctx context.Context, db *gorm.DB) ([]*TestAssocHandlerClear, error)
- func DefaultPatchSetTestAssocHandlerClear(ctx context.Context, objects []*TestAssocHandlerClear, ...) ([]*TestAssocHandlerClear, error)
- func DefaultPatchTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, ...) (*TestAssocHandlerClear, error)
- func DefaultReadTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm.DB) (*TestAssocHandlerClear, error)
- func DefaultStrictUpdateTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm.DB) (*TestAssocHandlerClear, error)
- func (*TestAssocHandlerClear) Descriptor() ([]byte, []int)deprecated
- func (x *TestAssocHandlerClear) GetId() string
- func (x *TestAssocHandlerClear) GetTestTagAssoc() []*TestTagAssociation
- func (*TestAssocHandlerClear) ProtoMessage()
- func (x *TestAssocHandlerClear) ProtoReflect() protoreflect.Message
- func (x *TestAssocHandlerClear) Reset()
- func (x *TestAssocHandlerClear) String() string
- func (m *TestAssocHandlerClear) ToORM(ctx context.Context) (TestAssocHandlerClearORM, error)
- type TestAssocHandlerClearORM
- type TestAssocHandlerClearORMWithAfterCreate_
- type TestAssocHandlerClearORMWithAfterDeleteSet
- type TestAssocHandlerClearORMWithAfterDelete_
- type TestAssocHandlerClearORMWithAfterListFind
- type TestAssocHandlerClearORMWithAfterReadFind
- type TestAssocHandlerClearORMWithAfterStrictUpdateSave
- type TestAssocHandlerClearORMWithBeforeCreate_
- type TestAssocHandlerClearORMWithBeforeDeleteSet
- type TestAssocHandlerClearORMWithBeforeDelete_
- type TestAssocHandlerClearORMWithBeforeListApplyQuery
- type TestAssocHandlerClearORMWithBeforeListFind
- type TestAssocHandlerClearORMWithBeforeReadApplyQuery
- type TestAssocHandlerClearORMWithBeforeReadFind
- type TestAssocHandlerClearORMWithBeforeStrictUpdateCleanup
- type TestAssocHandlerClearORMWithBeforeStrictUpdateSave
- type TestAssocHandlerClearWithAfterPatchSave
- type TestAssocHandlerClearWithAfterToORM
- type TestAssocHandlerClearWithAfterToPB
- type TestAssocHandlerClearWithBeforePatchApplyFieldMask
- type TestAssocHandlerClearWithBeforePatchRead
- type TestAssocHandlerClearWithBeforePatchSave
- type TestAssocHandlerClearWithBeforeToORM
- type TestAssocHandlerClearWithBeforeToPB
- type TestAssocHandlerDefault
- func DefaultApplyFieldMaskTestAssocHandlerDefault(ctx context.Context, patchee *TestAssocHandlerDefault, ...) (*TestAssocHandlerDefault, error)
- func DefaultCreateTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm.DB) (*TestAssocHandlerDefault, error)
- func DefaultListTestAssocHandlerDefault(ctx context.Context, db *gorm.DB) ([]*TestAssocHandlerDefault, error)
- func DefaultPatchSetTestAssocHandlerDefault(ctx context.Context, objects []*TestAssocHandlerDefault, ...) ([]*TestAssocHandlerDefault, error)
- func DefaultPatchTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, ...) (*TestAssocHandlerDefault, error)
- func DefaultReadTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm.DB) (*TestAssocHandlerDefault, error)
- func DefaultStrictUpdateTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm.DB) (*TestAssocHandlerDefault, error)
- func (*TestAssocHandlerDefault) Descriptor() ([]byte, []int)deprecated
- func (x *TestAssocHandlerDefault) GetId() string
- func (x *TestAssocHandlerDefault) GetTestTagAssoc() []*TestTagAssociation
- func (*TestAssocHandlerDefault) ProtoMessage()
- func (x *TestAssocHandlerDefault) ProtoReflect() protoreflect.Message
- func (x *TestAssocHandlerDefault) Reset()
- func (x *TestAssocHandlerDefault) String() string
- func (m *TestAssocHandlerDefault) ToORM(ctx context.Context) (TestAssocHandlerDefaultORM, error)
- type TestAssocHandlerDefaultORM
- type TestAssocHandlerDefaultORMWithAfterCreate_
- type TestAssocHandlerDefaultORMWithAfterDeleteSet
- type TestAssocHandlerDefaultORMWithAfterDelete_
- type TestAssocHandlerDefaultORMWithAfterListFind
- type TestAssocHandlerDefaultORMWithAfterReadFind
- type TestAssocHandlerDefaultORMWithAfterStrictUpdateSave
- type TestAssocHandlerDefaultORMWithBeforeCreate_
- type TestAssocHandlerDefaultORMWithBeforeDeleteSet
- type TestAssocHandlerDefaultORMWithBeforeDelete_
- type TestAssocHandlerDefaultORMWithBeforeListApplyQuery
- type TestAssocHandlerDefaultORMWithBeforeListFind
- type TestAssocHandlerDefaultORMWithBeforeReadApplyQuery
- type TestAssocHandlerDefaultORMWithBeforeReadFind
- type TestAssocHandlerDefaultORMWithBeforeStrictUpdateCleanup
- type TestAssocHandlerDefaultORMWithBeforeStrictUpdateSave
- type TestAssocHandlerDefaultWithAfterPatchSave
- type TestAssocHandlerDefaultWithAfterToORM
- type TestAssocHandlerDefaultWithAfterToPB
- type TestAssocHandlerDefaultWithBeforePatchApplyFieldMask
- type TestAssocHandlerDefaultWithBeforePatchRead
- type TestAssocHandlerDefaultWithBeforePatchSave
- type TestAssocHandlerDefaultWithBeforeToORM
- type TestAssocHandlerDefaultWithBeforeToPB
- type TestAssocHandlerReplace
- func DefaultApplyFieldMaskTestAssocHandlerReplace(ctx context.Context, patchee *TestAssocHandlerReplace, ...) (*TestAssocHandlerReplace, error)
- func DefaultCreateTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm.DB) (*TestAssocHandlerReplace, error)
- func DefaultListTestAssocHandlerReplace(ctx context.Context, db *gorm.DB) ([]*TestAssocHandlerReplace, error)
- func DefaultPatchSetTestAssocHandlerReplace(ctx context.Context, objects []*TestAssocHandlerReplace, ...) ([]*TestAssocHandlerReplace, error)
- func DefaultPatchTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, ...) (*TestAssocHandlerReplace, error)
- func DefaultReadTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm.DB) (*TestAssocHandlerReplace, error)
- func DefaultStrictUpdateTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm.DB) (*TestAssocHandlerReplace, error)
- func (*TestAssocHandlerReplace) Descriptor() ([]byte, []int)deprecated
- func (x *TestAssocHandlerReplace) GetId() string
- func (x *TestAssocHandlerReplace) GetTestTagAssoc() []*TestTagAssociation
- func (*TestAssocHandlerReplace) ProtoMessage()
- func (x *TestAssocHandlerReplace) ProtoReflect() protoreflect.Message
- func (x *TestAssocHandlerReplace) Reset()
- func (x *TestAssocHandlerReplace) String() string
- func (m *TestAssocHandlerReplace) ToORM(ctx context.Context) (TestAssocHandlerReplaceORM, error)
- type TestAssocHandlerReplaceORM
- type TestAssocHandlerReplaceORMWithAfterCreate_
- type TestAssocHandlerReplaceORMWithAfterDeleteSet
- type TestAssocHandlerReplaceORMWithAfterDelete_
- type TestAssocHandlerReplaceORMWithAfterListFind
- type TestAssocHandlerReplaceORMWithAfterReadFind
- type TestAssocHandlerReplaceORMWithAfterStrictUpdateSave
- type TestAssocHandlerReplaceORMWithBeforeCreate_
- type TestAssocHandlerReplaceORMWithBeforeDeleteSet
- type TestAssocHandlerReplaceORMWithBeforeDelete_
- type TestAssocHandlerReplaceORMWithBeforeListApplyQuery
- type TestAssocHandlerReplaceORMWithBeforeListFind
- type TestAssocHandlerReplaceORMWithBeforeReadApplyQuery
- type TestAssocHandlerReplaceORMWithBeforeReadFind
- type TestAssocHandlerReplaceORMWithBeforeStrictUpdateCleanup
- type TestAssocHandlerReplaceORMWithBeforeStrictUpdateSave
- type TestAssocHandlerReplaceWithAfterPatchSave
- type TestAssocHandlerReplaceWithAfterToORM
- type TestAssocHandlerReplaceWithAfterToPB
- type TestAssocHandlerReplaceWithBeforePatchApplyFieldMask
- type TestAssocHandlerReplaceWithBeforePatchRead
- type TestAssocHandlerReplaceWithBeforePatchSave
- type TestAssocHandlerReplaceWithBeforeToORM
- type TestAssocHandlerReplaceWithBeforeToPB
- type TestTag
- func DefaultApplyFieldMaskTestTag(ctx context.Context, patchee *TestTag, patcher *TestTag, ...) (*TestTag, error)
- func DefaultCreateTestTag(ctx context.Context, in *TestTag, db *gorm.DB) (*TestTag, error)
- func DefaultListTestTag(ctx context.Context, db *gorm.DB) ([]*TestTag, error)
- func DefaultPatchSetTestTag(ctx context.Context, objects []*TestTag, updateMasks []*field_mask.FieldMask, ...) ([]*TestTag, error)
- func DefaultPatchTestTag(ctx context.Context, in *TestTag, updateMask *field_mask.FieldMask, ...) (*TestTag, error)
- func DefaultReadTestTag(ctx context.Context, in *TestTag, db *gorm.DB) (*TestTag, error)
- func DefaultStrictUpdateTestTag(ctx context.Context, in *TestTag, db *gorm.DB) (*TestTag, error)
- func (*TestTag) Descriptor() ([]byte, []int)deprecated
- func (x *TestTag) GetId() string
- func (x *TestTag) GetTestTagAssoc() *TestTagAssociation
- func (*TestTag) ProtoMessage()
- func (x *TestTag) ProtoReflect() protoreflect.Message
- func (x *TestTag) Reset()
- func (x *TestTag) String() string
- func (m *TestTag) ToORM(ctx context.Context) (TestTagORM, error)
- type TestTagAssociation
- func DefaultApplyFieldMaskTestTagAssociation(ctx context.Context, patchee *TestTagAssociation, patcher *TestTagAssociation, ...) (*TestTagAssociation, error)
- func DefaultCreateTestTagAssociation(ctx context.Context, in *TestTagAssociation, db *gorm.DB) (*TestTagAssociation, error)
- func DefaultListTestTagAssociation(ctx context.Context, db *gorm.DB) ([]*TestTagAssociation, error)
- func (*TestTagAssociation) Descriptor() ([]byte, []int)deprecated
- func (x *TestTagAssociation) GetSomeField() string
- func (*TestTagAssociation) ProtoMessage()
- func (x *TestTagAssociation) ProtoReflect() protoreflect.Message
- func (x *TestTagAssociation) Reset()
- func (x *TestTagAssociation) String() string
- func (m *TestTagAssociation) ToORM(ctx context.Context) (TestTagAssociationORM, error)
- type TestTagAssociationORM
- type TestTagAssociationORMWithAfterCreate_
- type TestTagAssociationORMWithAfterListFind
- type TestTagAssociationORMWithBeforeCreate_
- type TestTagAssociationORMWithBeforeListApplyQuery
- type TestTagAssociationORMWithBeforeListFind
- type TestTagAssociationWithAfterToORM
- type TestTagAssociationWithAfterToPB
- type TestTagAssociationWithBeforeToORM
- type TestTagAssociationWithBeforeToPB
- type TestTagORM
- type TestTagORMWithAfterCreate_
- type TestTagORMWithAfterDeleteSet
- type TestTagORMWithAfterDelete_
- type TestTagORMWithAfterListFind
- type TestTagORMWithAfterReadFind
- type TestTagORMWithAfterStrictUpdateSave
- type TestTagORMWithBeforeCreate_
- type TestTagORMWithBeforeDeleteSet
- type TestTagORMWithBeforeDelete_
- type TestTagORMWithBeforeListApplyQuery
- type TestTagORMWithBeforeListFind
- type TestTagORMWithBeforeReadApplyQuery
- type TestTagORMWithBeforeReadFind
- type TestTagORMWithBeforeStrictUpdateCleanup
- type TestTagORMWithBeforeStrictUpdateSave
- type TestTagWithAfterPatchSave
- type TestTagWithAfterToORM
- type TestTagWithAfterToPB
- type TestTagWithBeforePatchApplyFieldMask
- type TestTagWithBeforePatchRead
- type TestTagWithBeforePatchSave
- type TestTagWithBeforeToORM
- type TestTagWithBeforeToPB
- type TestTypes
- func DefaultApplyFieldMaskTestTypes(ctx context.Context, patchee *TestTypes, patcher *TestTypes, ...) (*TestTypes, error)
- func DefaultCreateTestTypes(ctx context.Context, in *TestTypes, db *gorm.DB) (*TestTypes, error)
- func DefaultListTestTypes(ctx context.Context, db *gorm.DB) ([]*TestTypes, error)
- func (*TestTypes) Descriptor() ([]byte, []int)deprecated
- func (x *TestTypes) GetApiOnlyString() string
- func (x *TestTypes) GetBecomesInt() TestTypesStatus
- func (x *TestTypes) GetCreatedAt() *timestamp.Timestamp
- func (x *TestTypes) GetJsonField() *types.JSONValue
- func (x *TestTypes) GetNothingness() *empty.Empty
- func (x *TestTypes) GetNullableUuid() *types.UUIDValue
- func (x *TestTypes) GetNumbers() []int32
- func (x *TestTypes) GetOptionalString() *wrappers.StringValue
- func (x *TestTypes) GetTimeOnly() *types.TimeOnly
- func (x *TestTypes) GetTypeWithIdId() uint32
- func (x *TestTypes) GetUuid() *types.UUID
- func (*TestTypes) ProtoMessage()
- func (x *TestTypes) ProtoReflect() protoreflect.Message
- func (x *TestTypes) Reset()
- func (x *TestTypes) String() string
- func (m *TestTypes) ToORM(ctx context.Context) (TestTypesORM, error)
- type TestTypesORM
- type TestTypesORMWithAfterCreate_
- type TestTypesORMWithAfterListFind
- type TestTypesORMWithBeforeCreate_
- type TestTypesORMWithBeforeListApplyQuery
- type TestTypesORMWithBeforeListFind
- type TestTypesStatus
- func (TestTypesStatus) Descriptor() protoreflect.EnumDescriptor
- func (x TestTypesStatus) Enum() *TestTypesStatus
- func (TestTypesStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestTypesStatus) Number() protoreflect.EnumNumber
- func (x TestTypesStatus) String() string
- func (TestTypesStatus) Type() protoreflect.EnumType
- type TestTypesWithAfterToORM
- type TestTypesWithAfterToPB
- type TestTypesWithBeforeToORM
- type TestTypesWithBeforeToPB
- type TypeWithID
- func DefaultApplyFieldMaskTypeWithID(ctx context.Context, patchee *TypeWithID, patcher *TypeWithID, ...) (*TypeWithID, error)
- func DefaultCreateTypeWithID(ctx context.Context, in *TypeWithID, db *gorm.DB) (*TypeWithID, error)
- func DefaultListTypeWithID(ctx context.Context, db *gorm.DB) ([]*TypeWithID, error)
- func DefaultPatchSetTypeWithID(ctx context.Context, objects []*TypeWithID, ...) ([]*TypeWithID, error)
- func DefaultPatchTypeWithID(ctx context.Context, in *TypeWithID, updateMask *field_mask.FieldMask, ...) (*TypeWithID, error)
- func DefaultReadTypeWithID(ctx context.Context, in *TypeWithID, db *gorm.DB) (*TypeWithID, error)
- func DefaultStrictUpdateTypeWithID(ctx context.Context, in *TypeWithID, db *gorm.DB) (*TypeWithID, error)
- func (pb *TypeWithID) AfterToORM(ctx context.Context, orm *TypeWithIDORM) error
- func (*TypeWithID) Descriptor() ([]byte, []int)deprecated
- func (x *TypeWithID) GetANestedObject() *TestTypes
- func (x *TypeWithID) GetAddress() *types.InetValue
- func (x *TypeWithID) GetDeletedAt() *timestamp.Timestamp
- func (x *TypeWithID) GetDoubleField() *wrappers.DoubleValue
- func (x *TypeWithID) GetFloatField() *wrappers.FloatValue
- func (x *TypeWithID) GetId() uint32
- func (x *TypeWithID) GetIp() string
- func (x *TypeWithID) GetMultiaccountTypeIds() []uint32
- func (x *TypeWithID) GetPoint() *IntPoint
- func (x *TypeWithID) GetSyntheticField() *APIOnlyType
- func (x *TypeWithID) GetTagSizeTest() string
- func (x *TypeWithID) GetTagTest() float32
- func (x *TypeWithID) GetThings() []*TestTypes
- func (x *TypeWithID) GetTimeOnly() *types.TimeOnly
- func (x *TypeWithID) GetUser() *user.User
- func (*TypeWithID) ProtoMessage()
- func (x *TypeWithID) ProtoReflect() protoreflect.Message
- func (x *TypeWithID) Reset()
- func (x *TypeWithID) String() string
- func (m *TypeWithID) ToORM(ctx context.Context) (TypeWithIDORM, error)
- type TypeWithIDORM
- type TypeWithIDORMWithAfterCreate_
- type TypeWithIDORMWithAfterDeleteSet
- type TypeWithIDORMWithAfterDelete_
- type TypeWithIDORMWithAfterListFind
- type TypeWithIDORMWithAfterReadFind
- type TypeWithIDORMWithAfterStrictUpdateSave
- type TypeWithIDORMWithBeforeCreate_
- type TypeWithIDORMWithBeforeDeleteSet
- type TypeWithIDORMWithBeforeDelete_
- type TypeWithIDORMWithBeforeListApplyQuery
- type TypeWithIDORMWithBeforeListFind
- type TypeWithIDORMWithBeforeReadApplyQuery
- type TypeWithIDORMWithBeforeReadFind
- type TypeWithIDORMWithBeforeStrictUpdateCleanup
- type TypeWithIDORMWithBeforeStrictUpdateSave
- type TypeWithIDWithAfterPatchSave
- type TypeWithIDWithAfterToORM
- type TypeWithIDWithAfterToPB
- type TypeWithIDWithBeforePatchApplyFieldMask
- type TypeWithIDWithBeforePatchRead
- type TypeWithIDWithBeforePatchSave
- type TypeWithIDWithBeforeToORM
- type TypeWithIDWithBeforeToPB
- type UnimplementedBlogPostServiceServer
- type UnimplementedCircleServiceServer
- type UnimplementedIntPointServiceServer
- func (UnimplementedIntPointServiceServer) Create(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (UnimplementedIntPointServiceServer) CreateSomething(context.Context, *Something) (*Something, error)
- func (UnimplementedIntPointServiceServer) CustomMethod(context.Context, *empty.Empty) (*empty.Empty, error)
- func (UnimplementedIntPointServiceServer) Delete(context.Context, *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (UnimplementedIntPointServiceServer) List(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error)
- func (UnimplementedIntPointServiceServer) ListSomething(context.Context, *empty.Empty) (*ListSomethingResponse, error)
- func (UnimplementedIntPointServiceServer) Read(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (UnimplementedIntPointServiceServer) Update(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- func (UnimplementedIntPointServiceServer) UpdateSet(context.Context, *UpdateSetIntPointRequest) (*UpdateSetIntPointResponse, error)
- type UnimplementedIntPointTxnServer
- func (UnimplementedIntPointTxnServer) Create(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (UnimplementedIntPointTxnServer) CreateSomething(context.Context, *Something) (*Something, error)
- func (UnimplementedIntPointTxnServer) CustomMethod(context.Context, *empty.Empty) (*empty.Empty, error)
- func (UnimplementedIntPointTxnServer) Delete(context.Context, *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (UnimplementedIntPointTxnServer) DeleteSet(context.Context, *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
- func (UnimplementedIntPointTxnServer) List(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error)
- func (UnimplementedIntPointTxnServer) Read(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (UnimplementedIntPointTxnServer) Update(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- type UnimplementedMultipleMethodsAutoGenServer
- func (UnimplementedMultipleMethodsAutoGenServer) CreateA(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (UnimplementedMultipleMethodsAutoGenServer) CreateB(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (UnimplementedMultipleMethodsAutoGenServer) DeleteA(context.Context, *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (UnimplementedMultipleMethodsAutoGenServer) DeleteB(context.Context, *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (UnimplementedMultipleMethodsAutoGenServer) DeleteSetA(context.Context, *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
- func (UnimplementedMultipleMethodsAutoGenServer) DeleteSetB(context.Context, *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
- func (UnimplementedMultipleMethodsAutoGenServer) ListA(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error)
- func (UnimplementedMultipleMethodsAutoGenServer) ListB(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error)
- func (UnimplementedMultipleMethodsAutoGenServer) ReadA(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (UnimplementedMultipleMethodsAutoGenServer) ReadB(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (UnimplementedMultipleMethodsAutoGenServer) UpdateA(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- func (UnimplementedMultipleMethodsAutoGenServer) UpdateB(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- type UnsafeBlogPostServiceServer
- type UnsafeCircleServiceServer
- type UnsafeIntPointServiceServer
- type UnsafeIntPointTxnServer
- type UnsafeMultipleMethodsAutoGenServer
- type UpdateIntPointRequest
- func (*UpdateIntPointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIntPointRequest) GetGerogeriGegege() *field_mask.FieldMask
- func (x *UpdateIntPointRequest) GetPayload() *IntPoint
- func (*UpdateIntPointRequest) ProtoMessage()
- func (x *UpdateIntPointRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateIntPointRequest) Reset()
- func (x *UpdateIntPointRequest) String() string
- type UpdateIntPointResponse
- func (*UpdateIntPointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIntPointResponse) GetResult() *IntPoint
- func (*UpdateIntPointResponse) ProtoMessage()
- func (x *UpdateIntPointResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateIntPointResponse) Reset()
- func (x *UpdateIntPointResponse) String() string
- type UpdateSetIntPointRequest
- func (*UpdateSetIntPointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSetIntPointRequest) GetMasks() []*field_mask.FieldMask
- func (x *UpdateSetIntPointRequest) GetObjects() []*IntPoint
- func (*UpdateSetIntPointRequest) ProtoMessage()
- func (x *UpdateSetIntPointRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSetIntPointRequest) Reset()
- func (x *UpdateSetIntPointRequest) String() string
- type UpdateSetIntPointResponse
- func (*UpdateSetIntPointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSetIntPointResponse) GetResults() []*IntPoint
- func (*UpdateSetIntPointResponse) ProtoMessage()
- func (x *UpdateSetIntPointResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateSetIntPointResponse) Reset()
- func (x *UpdateSetIntPointResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( TestTypesStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "GOOD", 2: "BAD", } TestTypesStatus_value = map[string]int32{ "UNKNOWN": 0, "GOOD": 1, "BAD": 2, } )
Enum value maps for TestTypesStatus.
var BlogPostService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "example.BlogPostService", HandlerType: (*BlogPostServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Read", Handler: _BlogPostService_Read_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "example/feature_demo/demo_multi_file_service.proto", }
BlogPostService_ServiceDesc is the grpc.ServiceDesc for BlogPostService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CircleService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "example.CircleService", HandlerType: (*CircleServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _CircleService_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "example/feature_demo/demo_service.proto", }
CircleService_ServiceDesc is the grpc.ServiceDesc for CircleService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_example_feature_demo_demo_multi_file_proto protoreflect.FileDescriptor
var File_example_feature_demo_demo_multi_file_service_proto protoreflect.FileDescriptor
var File_example_feature_demo_demo_service_proto protoreflect.FileDescriptor
var File_example_feature_demo_demo_types_proto protoreflect.FileDescriptor
var IntPointService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "example.IntPointService", HandlerType: (*IntPointServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _IntPointService_Create_Handler, }, { MethodName: "Read", Handler: _IntPointService_Read_Handler, }, { MethodName: "Update", Handler: _IntPointService_Update_Handler, }, { MethodName: "UpdateSet", Handler: _IntPointService_UpdateSet_Handler, }, { MethodName: "List", Handler: _IntPointService_List_Handler, }, { MethodName: "ListSomething", Handler: _IntPointService_ListSomething_Handler, }, { MethodName: "Delete", Handler: _IntPointService_Delete_Handler, }, { MethodName: "CustomMethod", Handler: _IntPointService_CustomMethod_Handler, }, { MethodName: "CreateSomething", Handler: _IntPointService_CreateSomething_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "example/feature_demo/demo_service.proto", }
IntPointService_ServiceDesc is the grpc.ServiceDesc for IntPointService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var IntPointTxn_ServiceDesc = grpc.ServiceDesc{ ServiceName: "example.IntPointTxn", HandlerType: (*IntPointTxnServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _IntPointTxn_Create_Handler, }, { MethodName: "Read", Handler: _IntPointTxn_Read_Handler, }, { MethodName: "Update", Handler: _IntPointTxn_Update_Handler, }, { MethodName: "List", Handler: _IntPointTxn_List_Handler, }, { MethodName: "Delete", Handler: _IntPointTxn_Delete_Handler, }, { MethodName: "DeleteSet", Handler: _IntPointTxn_DeleteSet_Handler, }, { MethodName: "CustomMethod", Handler: _IntPointTxn_CustomMethod_Handler, }, { MethodName: "CreateSomething", Handler: _IntPointTxn_CreateSomething_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "example/feature_demo/demo_service.proto", }
IntPointTxn_ServiceDesc is the grpc.ServiceDesc for IntPointTxn service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MultipleMethodsAutoGen_ServiceDesc = grpc.ServiceDesc{ ServiceName: "example.MultipleMethodsAutoGen", HandlerType: (*MultipleMethodsAutoGenServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateA", Handler: _MultipleMethodsAutoGen_CreateA_Handler, }, { MethodName: "CreateB", Handler: _MultipleMethodsAutoGen_CreateB_Handler, }, { MethodName: "ReadA", Handler: _MultipleMethodsAutoGen_ReadA_Handler, }, { MethodName: "ReadB", Handler: _MultipleMethodsAutoGen_ReadB_Handler, }, { MethodName: "UpdateA", Handler: _MultipleMethodsAutoGen_UpdateA_Handler, }, { MethodName: "UpdateB", Handler: _MultipleMethodsAutoGen_UpdateB_Handler, }, { MethodName: "ListA", Handler: _MultipleMethodsAutoGen_ListA_Handler, }, { MethodName: "ListB", Handler: _MultipleMethodsAutoGen_ListB_Handler, }, { MethodName: "DeleteA", Handler: _MultipleMethodsAutoGen_DeleteA_Handler, }, { MethodName: "DeleteB", Handler: _MultipleMethodsAutoGen_DeleteB_Handler, }, { MethodName: "DeleteSetA", Handler: _MultipleMethodsAutoGen_DeleteSetA_Handler, }, { MethodName: "DeleteSetB", Handler: _MultipleMethodsAutoGen_DeleteSetB_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "example/feature_demo/demo_service.proto", }
MultipleMethodsAutoGen_ServiceDesc is the grpc.ServiceDesc for MultipleMethodsAutoGen service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func DefaultDeleteBlogPost ¶ added in v0.14.1
func DefaultDeleteBlogPostSet ¶ added in v0.15.0
func DefaultDeleteExternalChild ¶ added in v0.9.0
func DefaultDeleteExternalChildSet ¶ added in v0.15.0
func DefaultDeleteIntPoint ¶
func DefaultDeleteIntPointSet ¶ added in v0.15.0
func DefaultDeleteMultiaccountTypeWithID ¶ added in v0.2.0
func DefaultDeleteMultiaccountTypeWithIDSet ¶ added in v0.15.0
func DefaultDeletePrimaryStringType ¶ added in v0.9.0
func DefaultDeletePrimaryStringTypeSet ¶ added in v0.15.0
func DefaultDeletePrimaryUUIDType ¶ added in v0.9.0
func DefaultDeletePrimaryUUIDTypeSet ¶ added in v0.15.0
func DefaultDeleteTestAssocHandlerAppend ¶ added in v1.0.0
func DefaultDeleteTestAssocHandlerAppendSet ¶ added in v1.0.0
func DefaultDeleteTestAssocHandlerClear ¶ added in v1.0.0
func DefaultDeleteTestAssocHandlerClearSet ¶ added in v1.0.0
func DefaultDeleteTestAssocHandlerDefault ¶ added in v1.0.0
func DefaultDeleteTestAssocHandlerDefaultSet ¶ added in v1.0.0
func DefaultDeleteTestAssocHandlerReplace ¶ added in v1.0.0
func DefaultDeleteTestAssocHandlerReplaceSet ¶ added in v1.0.0
func DefaultDeleteTestTag ¶ added in v0.13.0
func DefaultDeleteTestTagSet ¶ added in v0.15.0
func DefaultDeleteTypeWithID ¶
func DefaultDeleteTypeWithIDSet ¶ added in v0.15.0
func RegisterBlogPostServiceServer ¶ added in v0.14.0
func RegisterBlogPostServiceServer(s grpc.ServiceRegistrar, srv BlogPostServiceServer)
func RegisterCircleServiceServer ¶ added in v0.14.0
func RegisterCircleServiceServer(s grpc.ServiceRegistrar, srv CircleServiceServer)
func RegisterIntPointServiceServer ¶ added in v0.6.0
func RegisterIntPointServiceServer(s grpc.ServiceRegistrar, srv IntPointServiceServer)
func RegisterIntPointTxnServer ¶ added in v0.6.0
func RegisterIntPointTxnServer(s grpc.ServiceRegistrar, srv IntPointTxnServer)
func RegisterMultipleMethodsAutoGenServer ¶ added in v1.0.0
func RegisterMultipleMethodsAutoGenServer(s grpc.ServiceRegistrar, srv MultipleMethodsAutoGenServer)
Types ¶
type APIOnlyType ¶ added in v0.2.0
type APIOnlyType struct { // here the ormable flag is not used, so nothing will be generated for this // object at the ORM level, and when this type is used as a field or // repeated field in another message that field will be dropped in the Orm // model, and would have to be set by hook Contents string `protobuf:"bytes,1,opt,name=contents,proto3" json:"contents,omitempty"` // contains filtered or unexported fields }
func (*APIOnlyType) Descriptor
deprecated
added in
v0.2.0
func (*APIOnlyType) Descriptor() ([]byte, []int)
Deprecated: Use APIOnlyType.ProtoReflect.Descriptor instead.
func (*APIOnlyType) GetContents ¶ added in v0.2.0
func (x *APIOnlyType) GetContents() string
func (*APIOnlyType) ProtoMessage ¶ added in v0.2.0
func (*APIOnlyType) ProtoMessage()
func (*APIOnlyType) ProtoReflect ¶ added in v1.0.0
func (x *APIOnlyType) ProtoReflect() protoreflect.Message
func (*APIOnlyType) Reset ¶ added in v0.2.0
func (x *APIOnlyType) Reset()
func (*APIOnlyType) String ¶ added in v0.2.0
func (x *APIOnlyType) String() string
type BlogPost ¶ added in v0.14.1
type BlogPost struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Author string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskBlogPost ¶ added in v0.14.1
func DefaultApplyFieldMaskBlogPost(ctx context.Context, patchee *BlogPost, patcher *BlogPost, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*BlogPost, error)
DefaultApplyFieldMaskBlogPost patches an pbObject with patcher according to a field mask.
func DefaultCreateBlogPost ¶ added in v0.14.1
DefaultCreateBlogPost executes a basic gorm create call
func DefaultListBlogPost ¶ added in v0.14.1
DefaultListBlogPost executes a gorm list call
func DefaultPatchBlogPost ¶ added in v0.14.1
func DefaultPatchBlogPost(ctx context.Context, in *BlogPost, updateMask *field_mask.FieldMask, db *gorm.DB) (*BlogPost, error)
DefaultPatchBlogPost executes a basic gorm update call with patch behavior
func DefaultPatchSetBlogPost ¶ added in v1.0.0
func DefaultPatchSetBlogPost(ctx context.Context, objects []*BlogPost, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*BlogPost, error)
DefaultPatchSetBlogPost executes a bulk gorm update call with patch behavior
func DefaultReadBlogPost ¶ added in v0.14.1
DefaultReadBlogPost executes a basic gorm read call
func DefaultStrictUpdateBlogPost ¶ added in v0.14.1
DefaultStrictUpdateBlogPost clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*BlogPost) Descriptor
deprecated
added in
v0.14.1
func (*BlogPost) ProtoMessage ¶ added in v0.14.1
func (*BlogPost) ProtoMessage()
func (*BlogPost) ProtoReflect ¶ added in v1.0.0
func (x *BlogPost) ProtoReflect() protoreflect.Message
type BlogPostORM ¶ added in v0.14.1
func (BlogPostORM) TableName ¶ added in v0.14.1
func (BlogPostORM) TableName() string
TableName overrides the default tablename generated by GORM
type BlogPostORMWithAfterCreate_ ¶ added in v1.0.0
type BlogPostORMWithAfterDeleteSet ¶ added in v0.15.0
type BlogPostORMWithAfterDelete_ ¶ added in v1.0.0
type BlogPostORMWithAfterListFind ¶ added in v0.14.1
type BlogPostORMWithAfterReadFind ¶ added in v0.14.1
type BlogPostORMWithAfterStrictUpdateSave ¶ added in v0.14.1
type BlogPostORMWithBeforeCreate_ ¶ added in v1.0.0
type BlogPostORMWithBeforeDeleteSet ¶ added in v0.15.0
type BlogPostORMWithBeforeDelete_ ¶ added in v1.0.0
type BlogPostORMWithBeforeListApplyQuery ¶ added in v0.14.1
type BlogPostORMWithBeforeListFind ¶ added in v0.14.1
type BlogPostORMWithBeforeReadApplyQuery ¶ added in v0.14.1
type BlogPostORMWithBeforeReadFind ¶ added in v0.14.1
type BlogPostORMWithBeforeStrictUpdateCleanup ¶ added in v0.14.1
type BlogPostORMWithBeforeStrictUpdateSave ¶ added in v0.14.1
type BlogPostServiceClient ¶ added in v0.14.0
type BlogPostServiceClient interface {
Read(ctx context.Context, in *ReadAccountRequest, opts ...grpc.CallOption) (*ReadBlogPostsResponse, error)
}
BlogPostServiceClient is the client API for BlogPostService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBlogPostServiceClient ¶ added in v0.14.0
func NewBlogPostServiceClient(cc grpc.ClientConnInterface) BlogPostServiceClient
type BlogPostServiceDefaultServer ¶ added in v0.14.0
func (*BlogPostServiceDefaultServer) Read ¶ added in v0.14.0
func (m *BlogPostServiceDefaultServer) Read(ctx context.Context, in *ReadAccountRequest) (*ReadBlogPostsResponse, error)
Read ...
type BlogPostServiceServer ¶ added in v0.14.0
type BlogPostServiceServer interface { Read(context.Context, *ReadAccountRequest) (*ReadBlogPostsResponse, error) // contains filtered or unexported methods }
BlogPostServiceServer is the server API for BlogPostService service. All implementations must embed UnimplementedBlogPostServiceServer for forward compatibility
type BlogPostWithAfterPatchSave ¶ added in v0.14.1
type BlogPostWithAfterToORM ¶ added in v0.14.1
type BlogPostWithAfterToORM interface {
AfterToORM(context.Context, *BlogPostORM) error
}
BlogPostAfterToORM called after default ToORM code
type BlogPostWithAfterToPB ¶ added in v0.14.1
BlogPostAfterToPB called after default ToPB code
type BlogPostWithBeforePatchApplyFieldMask ¶ added in v0.14.1
type BlogPostWithBeforePatchRead ¶ added in v0.14.1
type BlogPostWithBeforePatchSave ¶ added in v0.14.1
type BlogPostWithBeforeToORM ¶ added in v0.14.1
type BlogPostWithBeforeToORM interface {
BeforeToORM(context.Context, *BlogPostORM) error
}
BlogPostBeforeToORM called before default ToORM code
type BlogPostWithBeforeToPB ¶ added in v0.14.1
BlogPostBeforeToPB called before default ToPB code
type Circle ¶ added in v0.14.0
type Circle struct { R uint32 `protobuf:"varint,1,opt,name=r,proto3" json:"r,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskCircle ¶ added in v0.14.0
func DefaultApplyFieldMaskCircle(ctx context.Context, patchee *Circle, patcher *Circle, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Circle, error)
DefaultApplyFieldMaskCircle patches an pbObject with patcher according to a field mask.
func DefaultCreateCircle ¶ added in v0.14.0
DefaultCreateCircle executes a basic gorm create call
func DefaultListCircle ¶ added in v0.14.0
DefaultListCircle executes a gorm list call
func (*Circle) Descriptor
deprecated
added in
v0.14.0
func (*Circle) ProtoMessage ¶ added in v0.14.0
func (*Circle) ProtoMessage()
func (*Circle) ProtoReflect ¶ added in v1.0.0
func (x *Circle) ProtoReflect() protoreflect.Message
type CircleORM ¶ added in v0.14.0
type CircleORM struct {
R uint32
}
type CircleORMWithAfterCreate_ ¶ added in v1.0.0
type CircleORMWithAfterListFind ¶ added in v0.14.0
type CircleORMWithBeforeCreate_ ¶ added in v1.0.0
type CircleORMWithBeforeListApplyQuery ¶ added in v0.14.0
type CircleORMWithBeforeListFind ¶ added in v0.14.0
type CircleServiceCircleWithAfterList ¶ added in v0.14.0
type CircleServiceCircleWithAfterList interface {
AfterList(context.Context, *ListCircleResponse, *gorm.DB) error
}
CircleServiceCircleWithAfterList called before DefaultListCircle in the default List handler
type CircleServiceCircleWithBeforeList ¶ added in v0.14.0
type CircleServiceCircleWithBeforeList interface {
BeforeList(context.Context, *gorm.DB) (*gorm.DB, error)
}
CircleServiceCircleWithBeforeList called before DefaultListCircle in the default List handler
type CircleServiceClient ¶ added in v0.14.0
type CircleServiceClient interface {
List(ctx context.Context, in *ListCircleRequest, opts ...grpc.CallOption) (*ListCircleResponse, error)
}
CircleServiceClient is the client API for CircleService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCircleServiceClient ¶ added in v0.14.0
func NewCircleServiceClient(cc grpc.ClientConnInterface) CircleServiceClient
type CircleServiceDefaultServer ¶ added in v0.14.0
func (*CircleServiceDefaultServer) List ¶ added in v0.14.0
func (m *CircleServiceDefaultServer) List(ctx context.Context, in *ListCircleRequest) (*ListCircleResponse, error)
List ...
type CircleServiceServer ¶ added in v0.14.0
type CircleServiceServer interface { List(context.Context, *ListCircleRequest) (*ListCircleResponse, error) // contains filtered or unexported methods }
CircleServiceServer is the server API for CircleService service. All implementations must embed UnimplementedCircleServiceServer for forward compatibility
type CircleWithAfterToORM ¶ added in v0.14.0
CircleAfterToORM called after default ToORM code
type CircleWithAfterToPB ¶ added in v0.14.0
CircleAfterToPB called after default ToPB code
type CircleWithBeforeToORM ¶ added in v0.14.0
CircleBeforeToORM called before default ToORM code
type CircleWithBeforeToPB ¶ added in v0.14.0
CircleBeforeToPB called before default ToPB code
type CreateIntPointRequest ¶ added in v0.2.0
type CreateIntPointRequest struct { // Convention dictates that this field be of the given type, and be // named 'payload' in order to autogenerate the handler Payload *IntPoint `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*CreateIntPointRequest) Descriptor
deprecated
added in
v0.2.0
func (*CreateIntPointRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIntPointRequest.ProtoReflect.Descriptor instead.
func (*CreateIntPointRequest) GetPayload ¶ added in v0.2.0
func (x *CreateIntPointRequest) GetPayload() *IntPoint
func (*CreateIntPointRequest) ProtoMessage ¶ added in v0.2.0
func (*CreateIntPointRequest) ProtoMessage()
func (*CreateIntPointRequest) ProtoReflect ¶ added in v1.0.0
func (x *CreateIntPointRequest) ProtoReflect() protoreflect.Message
func (*CreateIntPointRequest) Reset ¶ added in v0.2.0
func (x *CreateIntPointRequest) Reset()
func (*CreateIntPointRequest) String ¶ added in v0.2.0
func (x *CreateIntPointRequest) String() string
type CreateIntPointResponse ¶ added in v0.2.0
type CreateIntPointResponse struct { // Convention also requires that the return type be the same and named 'result' Result *IntPoint `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*CreateIntPointResponse) Descriptor
deprecated
added in
v0.2.0
func (*CreateIntPointResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateIntPointResponse.ProtoReflect.Descriptor instead.
func (*CreateIntPointResponse) GetResult ¶ added in v0.2.0
func (x *CreateIntPointResponse) GetResult() *IntPoint
func (*CreateIntPointResponse) ProtoMessage ¶ added in v0.2.0
func (*CreateIntPointResponse) ProtoMessage()
func (*CreateIntPointResponse) ProtoReflect ¶ added in v1.0.0
func (x *CreateIntPointResponse) ProtoReflect() protoreflect.Message
func (*CreateIntPointResponse) Reset ¶ added in v0.2.0
func (x *CreateIntPointResponse) Reset()
func (*CreateIntPointResponse) String ¶ added in v0.2.0
func (x *CreateIntPointResponse) String() string
type DeleteIntPointRequest ¶ added in v0.2.0
type DeleteIntPointRequest struct { // Only the id is needed for a delete request Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteIntPointRequest) Descriptor
deprecated
added in
v0.2.0
func (*DeleteIntPointRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIntPointRequest.ProtoReflect.Descriptor instead.
func (*DeleteIntPointRequest) GetId ¶ added in v0.2.0
func (x *DeleteIntPointRequest) GetId() uint32
func (*DeleteIntPointRequest) ProtoMessage ¶ added in v0.2.0
func (*DeleteIntPointRequest) ProtoMessage()
func (*DeleteIntPointRequest) ProtoReflect ¶ added in v1.0.0
func (x *DeleteIntPointRequest) ProtoReflect() protoreflect.Message
func (*DeleteIntPointRequest) Reset ¶ added in v0.2.0
func (x *DeleteIntPointRequest) Reset()
func (*DeleteIntPointRequest) String ¶ added in v0.2.0
func (x *DeleteIntPointRequest) String() string
type DeleteIntPointResponse ¶ added in v0.5.0
type DeleteIntPointResponse struct {
// contains filtered or unexported fields
}
By convention, on DELETE no response data is given, so either a google.protobuf.empty, or an empty struct is sufficient
func (*DeleteIntPointResponse) Descriptor
deprecated
added in
v0.5.0
func (*DeleteIntPointResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIntPointResponse.ProtoReflect.Descriptor instead.
func (*DeleteIntPointResponse) ProtoMessage ¶ added in v0.5.0
func (*DeleteIntPointResponse) ProtoMessage()
func (*DeleteIntPointResponse) ProtoReflect ¶ added in v1.0.0
func (x *DeleteIntPointResponse) ProtoReflect() protoreflect.Message
func (*DeleteIntPointResponse) Reset ¶ added in v0.5.0
func (x *DeleteIntPointResponse) Reset()
func (*DeleteIntPointResponse) String ¶ added in v0.5.0
func (x *DeleteIntPointResponse) String() string
type DeleteIntPointsRequest ¶ added in v0.15.0
type DeleteIntPointsRequest struct { // Only the id is needed for a delete request Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteIntPointsRequest) Descriptor
deprecated
added in
v0.15.0
func (*DeleteIntPointsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIntPointsRequest.ProtoReflect.Descriptor instead.
func (*DeleteIntPointsRequest) GetIds ¶ added in v0.15.0
func (x *DeleteIntPointsRequest) GetIds() []uint32
func (*DeleteIntPointsRequest) ProtoMessage ¶ added in v0.15.0
func (*DeleteIntPointsRequest) ProtoMessage()
func (*DeleteIntPointsRequest) ProtoReflect ¶ added in v1.0.0
func (x *DeleteIntPointsRequest) ProtoReflect() protoreflect.Message
func (*DeleteIntPointsRequest) Reset ¶ added in v0.15.0
func (x *DeleteIntPointsRequest) Reset()
func (*DeleteIntPointsRequest) String ¶ added in v0.15.0
func (x *DeleteIntPointsRequest) String() string
type ExternalChild ¶ added in v0.9.0
type ExternalChild struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskExternalChild ¶ added in v0.9.0
func DefaultApplyFieldMaskExternalChild(ctx context.Context, patchee *ExternalChild, patcher *ExternalChild, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*ExternalChild, error)
DefaultApplyFieldMaskExternalChild patches an pbObject with patcher according to a field mask.
func DefaultCreateExternalChild ¶ added in v0.9.0
func DefaultCreateExternalChild(ctx context.Context, in *ExternalChild, db *gorm.DB) (*ExternalChild, error)
DefaultCreateExternalChild executes a basic gorm create call
func DefaultListExternalChild ¶ added in v0.9.0
DefaultListExternalChild executes a gorm list call
func DefaultPatchExternalChild ¶ added in v0.9.0
func DefaultPatchExternalChild(ctx context.Context, in *ExternalChild, updateMask *field_mask.FieldMask, db *gorm.DB) (*ExternalChild, error)
DefaultPatchExternalChild executes a basic gorm update call with patch behavior
func DefaultPatchSetExternalChild ¶ added in v1.0.0
func DefaultPatchSetExternalChild(ctx context.Context, objects []*ExternalChild, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*ExternalChild, error)
DefaultPatchSetExternalChild executes a bulk gorm update call with patch behavior
func DefaultReadExternalChild ¶ added in v0.9.0
func DefaultReadExternalChild(ctx context.Context, in *ExternalChild, db *gorm.DB) (*ExternalChild, error)
DefaultReadExternalChild executes a basic gorm read call
func DefaultStrictUpdateExternalChild ¶ added in v0.9.0
func DefaultStrictUpdateExternalChild(ctx context.Context, in *ExternalChild, db *gorm.DB) (*ExternalChild, error)
DefaultStrictUpdateExternalChild clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*ExternalChild) Descriptor
deprecated
added in
v0.9.0
func (*ExternalChild) Descriptor() ([]byte, []int)
Deprecated: Use ExternalChild.ProtoReflect.Descriptor instead.
func (*ExternalChild) GetId ¶ added in v0.9.0
func (x *ExternalChild) GetId() string
func (*ExternalChild) ProtoMessage ¶ added in v0.9.0
func (*ExternalChild) ProtoMessage()
func (*ExternalChild) ProtoReflect ¶ added in v1.0.0
func (x *ExternalChild) ProtoReflect() protoreflect.Message
func (*ExternalChild) Reset ¶ added in v0.9.0
func (x *ExternalChild) Reset()
func (*ExternalChild) String ¶ added in v0.9.0
func (x *ExternalChild) String() string
func (*ExternalChild) ToORM ¶ added in v0.9.0
func (m *ExternalChild) ToORM(ctx context.Context) (ExternalChildORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type ExternalChildORM ¶ added in v0.9.0
type ExternalChildORM struct { Id string PrimaryIncludedId *_go.UUID PrimaryStringTypeId *string PrimaryUUIDTypeId *_go.UUID }
func (ExternalChildORM) TableName ¶ added in v0.9.0
func (ExternalChildORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*ExternalChildORM) ToPB ¶ added in v0.9.0
func (m *ExternalChildORM) ToPB(ctx context.Context) (ExternalChild, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type ExternalChildORMWithAfterCreate_ ¶ added in v1.0.0
type ExternalChildORMWithAfterDeleteSet ¶ added in v0.15.0
type ExternalChildORMWithAfterDelete_ ¶ added in v1.0.0
type ExternalChildORMWithAfterListFind ¶ added in v0.12.0
type ExternalChildORMWithAfterReadFind ¶ added in v0.12.0
type ExternalChildORMWithAfterStrictUpdateSave ¶ added in v0.12.0
type ExternalChildORMWithBeforeCreate_ ¶ added in v1.0.0
type ExternalChildORMWithBeforeDeleteSet ¶ added in v0.15.0
type ExternalChildORMWithBeforeDelete_ ¶ added in v1.0.0
type ExternalChildORMWithBeforeListApplyQuery ¶ added in v0.12.0
type ExternalChildORMWithBeforeListFind ¶ added in v0.12.0
type ExternalChildORMWithBeforeReadApplyQuery ¶ added in v0.12.0
type ExternalChildORMWithBeforeReadFind ¶ added in v0.12.0
type ExternalChildORMWithBeforeStrictUpdateCleanup ¶ added in v0.12.0
type ExternalChildORMWithBeforeStrictUpdateSave ¶ added in v0.12.0
type ExternalChildWithAfterPatchSave ¶ added in v0.12.0
type ExternalChildWithAfterPatchSave interface {
AfterPatchSave(context.Context, *ExternalChild, *field_mask.FieldMask, *gorm.DB) error
}
type ExternalChildWithAfterToORM ¶ added in v0.9.0
type ExternalChildWithAfterToORM interface {
AfterToORM(context.Context, *ExternalChildORM) error
}
ExternalChildAfterToORM called after default ToORM code
type ExternalChildWithAfterToPB ¶ added in v0.9.0
type ExternalChildWithAfterToPB interface {
AfterToPB(context.Context, *ExternalChild) error
}
ExternalChildAfterToPB called after default ToPB code
type ExternalChildWithBeforePatchApplyFieldMask ¶ added in v0.12.0
type ExternalChildWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *ExternalChild, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type ExternalChildWithBeforePatchRead ¶ added in v0.12.0
type ExternalChildWithBeforePatchRead interface {
BeforePatchRead(context.Context, *ExternalChild, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type ExternalChildWithBeforePatchSave ¶ added in v0.9.1
type ExternalChildWithBeforePatchSave interface {
BeforePatchSave(context.Context, *ExternalChild, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type ExternalChildWithBeforeToORM ¶ added in v0.9.0
type ExternalChildWithBeforeToORM interface {
BeforeToORM(context.Context, *ExternalChildORM) error
}
ExternalChildBeforeToORM called before default ToORM code
type ExternalChildWithBeforeToPB ¶ added in v0.9.0
type ExternalChildWithBeforeToPB interface {
BeforeToPB(context.Context, *ExternalChild) error
}
ExternalChildBeforeToPB called before default ToPB code
type IntPoint ¶
type IntPoint struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` X int32 `protobuf:"varint,2,opt,name=x,proto3" json:"x,omitempty"` Y int32 `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"` // contains filtered or unexported fields }
IntPoint is a basic message type representing a single cartesian point that we want to store in a database
func DefaultApplyFieldMaskIntPoint ¶ added in v0.9.0
func DefaultApplyFieldMaskIntPoint(ctx context.Context, patchee *IntPoint, patcher *IntPoint, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*IntPoint, error)
DefaultApplyFieldMaskIntPoint patches an pbObject with patcher according to a field mask.
func DefaultCreateIntPoint ¶
DefaultCreateIntPoint executes a basic gorm create call
func DefaultListIntPoint ¶
func DefaultListIntPoint(ctx context.Context, db *gorm.DB, f *query.Filtering, s *query.Sorting, p *query.Pagination, fs *query.FieldSelection) ([]*IntPoint, error)
DefaultListIntPoint executes a gorm list call
func DefaultPatchIntPoint ¶ added in v0.9.0
func DefaultPatchIntPoint(ctx context.Context, in *IntPoint, updateMask *field_mask.FieldMask, db *gorm.DB) (*IntPoint, error)
DefaultPatchIntPoint executes a basic gorm update call with patch behavior
func DefaultPatchSetIntPoint ¶ added in v1.0.0
func DefaultPatchSetIntPoint(ctx context.Context, objects []*IntPoint, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*IntPoint, error)
DefaultPatchSetIntPoint executes a bulk gorm update call with patch behavior
func DefaultReadIntPoint ¶
func DefaultReadIntPoint(ctx context.Context, in *IntPoint, db *gorm.DB, fs *query.FieldSelection) (*IntPoint, error)
DefaultReadIntPoint executes a basic gorm read call
func DefaultStrictUpdateIntPoint ¶
DefaultStrictUpdateIntPoint clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*IntPoint) Descriptor
deprecated
func (*IntPoint) ProtoMessage ¶
func (*IntPoint) ProtoMessage()
func (*IntPoint) ProtoReflect ¶ added in v1.0.0
func (x *IntPoint) ProtoReflect() protoreflect.Message
type IntPointORM ¶
func (IntPointORM) TableName ¶
func (IntPointORM) TableName() string
TableName overrides the default tablename generated by GORM
type IntPointORMWithAfterCreate_ ¶ added in v1.0.0
type IntPointORMWithAfterDeleteSet ¶ added in v0.15.0
type IntPointORMWithAfterDelete_ ¶ added in v1.0.0
type IntPointORMWithAfterListFind ¶ added in v0.12.0
type IntPointORMWithAfterListFind interface {
AfterListFind(context.Context, *gorm.DB, *[]IntPointORM, *query.Filtering, *query.Sorting, *query.Pagination, *query.FieldSelection) error
}
type IntPointORMWithAfterReadFind ¶ added in v0.12.0
type IntPointORMWithAfterStrictUpdateSave ¶ added in v0.12.0
type IntPointORMWithBeforeCreate_ ¶ added in v1.0.0
type IntPointORMWithBeforeDeleteSet ¶ added in v0.15.0
type IntPointORMWithBeforeDelete_ ¶ added in v1.0.0
type IntPointORMWithBeforeListApplyQuery ¶ added in v0.12.0
type IntPointORMWithBeforeListFind ¶ added in v0.12.0
type IntPointORMWithBeforeReadApplyQuery ¶ added in v0.12.0
type IntPointORMWithBeforeReadFind ¶ added in v0.12.0
type IntPointORMWithBeforeStrictUpdateCleanup ¶ added in v0.12.0
type IntPointORMWithBeforeStrictUpdateSave ¶ added in v0.12.0
type IntPointServiceClient ¶ added in v0.6.0
type IntPointServiceClient interface { // The convention requires the rpc names have Create/Read/Update/List/Delete // as a prefix. The type is inferred from the response (except for delete), // so multiple objects can have CURDL handlers in the same service, provided // they are given unique suffixes Create(ctx context.Context, in *CreateIntPointRequest, opts ...grpc.CallOption) (*CreateIntPointResponse, error) Read(ctx context.Context, in *ReadIntPointRequest, opts ...grpc.CallOption) (*ReadIntPointResponse, error) Update(ctx context.Context, in *UpdateIntPointRequest, opts ...grpc.CallOption) (*UpdateIntPointResponse, error) UpdateSet(ctx context.Context, in *UpdateSetIntPointRequest, opts ...grpc.CallOption) (*UpdateSetIntPointResponse, error) List(ctx context.Context, in *ListIntPointRequest, opts ...grpc.CallOption) (*ListIntPointResponse, error) ListSomething(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListSomethingResponse, error) Delete(ctx context.Context, in *DeleteIntPointRequest, opts ...grpc.CallOption) (*DeleteIntPointResponse, error) // CustomMethod can't be autogenerated as it matches no conventions, it will // become a stub CustomMethod(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // CreateSomething also doesn't match conventions and will become a stub CreateSomething(ctx context.Context, in *Something, opts ...grpc.CallOption) (*Something, error) }
IntPointServiceClient is the client API for IntPointService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewIntPointServiceClient ¶ added in v0.6.0
func NewIntPointServiceClient(cc grpc.ClientConnInterface) IntPointServiceClient
type IntPointServiceDefaultServer ¶ added in v0.6.0
func (*IntPointServiceDefaultServer) Create ¶ added in v0.6.0
func (m *IntPointServiceDefaultServer) Create(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
Create ...
func (*IntPointServiceDefaultServer) CreateSomething ¶ added in v0.6.0
func (m *IntPointServiceDefaultServer) CreateSomething(ctx context.Context, in *Something) (*Something, error)
CreateSomething ...
func (*IntPointServiceDefaultServer) CustomMethod ¶ added in v0.6.0
func (m *IntPointServiceDefaultServer) CustomMethod(ctx context.Context, in *empty.Empty) (*empty.Empty, error)
CustomMethod ...
func (*IntPointServiceDefaultServer) Delete ¶ added in v0.6.0
func (m *IntPointServiceDefaultServer) Delete(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
Delete ...
func (*IntPointServiceDefaultServer) List ¶ added in v0.6.0
func (m *IntPointServiceDefaultServer) List(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
List ...
func (*IntPointServiceDefaultServer) ListSomething ¶ added in v0.12.0
func (m *IntPointServiceDefaultServer) ListSomething(ctx context.Context, in *empty.Empty) (*ListSomethingResponse, error)
ListSomething ...
func (*IntPointServiceDefaultServer) Read ¶ added in v0.6.0
func (m *IntPointServiceDefaultServer) Read(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
Read ...
func (*IntPointServiceDefaultServer) Update ¶ added in v0.6.0
func (m *IntPointServiceDefaultServer) Update(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
Update ...
func (*IntPointServiceDefaultServer) UpdateSet ¶ added in v1.0.0
func (m *IntPointServiceDefaultServer) UpdateSet(ctx context.Context, in *UpdateSetIntPointRequest) (*UpdateSetIntPointResponse, error)
UpdateSet ...
type IntPointServiceIntPointWithAfterCreate ¶ added in v0.12.0
type IntPointServiceIntPointWithAfterCreate interface {
AfterCreate(context.Context, *CreateIntPointResponse, *gorm.DB) error
}
IntPointServiceIntPointWithAfterCreate called before DefaultCreateIntPoint in the default Create handler
type IntPointServiceIntPointWithAfterDelete ¶ added in v0.12.0
type IntPointServiceIntPointWithAfterDelete interface {
AfterDelete(context.Context, *DeleteIntPointResponse, *gorm.DB) error
}
IntPointServiceIntPointWithAfterDelete called before DefaultDeleteIntPoint in the default Delete handler
type IntPointServiceIntPointWithAfterList ¶ added in v0.12.0
type IntPointServiceIntPointWithAfterList interface {
AfterList(context.Context, *ListIntPointResponse, *gorm.DB) error
}
IntPointServiceIntPointWithAfterList called before DefaultListIntPoint in the default List handler
type IntPointServiceIntPointWithAfterRead ¶ added in v0.12.0
type IntPointServiceIntPointWithAfterRead interface {
AfterRead(context.Context, *ReadIntPointResponse, *gorm.DB) error
}
IntPointServiceIntPointWithAfterRead called before DefaultReadIntPoint in the default Read handler
type IntPointServiceIntPointWithAfterUpdate ¶ added in v0.12.0
type IntPointServiceIntPointWithAfterUpdate interface {
AfterUpdate(context.Context, *UpdateIntPointResponse, *gorm.DB) error
}
IntPointServiceIntPointWithAfterUpdate called before DefaultUpdateIntPoint in the default Update handler
type IntPointServiceIntPointWithAfterUpdateSet ¶ added in v1.0.0
type IntPointServiceIntPointWithAfterUpdateSet interface {
AfterUpdateSet(context.Context, *UpdateSetIntPointResponse, *gorm.DB) error
}
IntPointServiceIntPointWithAfterUpdateSet called before DefaultUpdateSetIntPoint in the default UpdateSet handler
type IntPointServiceIntPointWithBeforeCreate ¶ added in v0.8.0
type IntPointServiceIntPointWithBeforeCreate interface {
BeforeCreate(context.Context, *gorm.DB) (*gorm.DB, error)
}
IntPointServiceIntPointWithBeforeCreate called before DefaultCreateIntPoint in the default Create handler
type IntPointServiceIntPointWithBeforeDelete ¶ added in v0.8.0
type IntPointServiceIntPointWithBeforeDelete interface {
BeforeDelete(context.Context, *gorm.DB) (*gorm.DB, error)
}
IntPointServiceIntPointWithBeforeDelete called before DefaultDeleteIntPoint in the default Delete handler
type IntPointServiceIntPointWithBeforeList ¶ added in v0.8.0
type IntPointServiceIntPointWithBeforeList interface {
BeforeList(context.Context, *gorm.DB) (*gorm.DB, error)
}
IntPointServiceIntPointWithBeforeList called before DefaultListIntPoint in the default List handler
type IntPointServiceIntPointWithBeforeRead ¶ added in v0.8.0
type IntPointServiceIntPointWithBeforeRead interface {
BeforeRead(context.Context, *gorm.DB) (*gorm.DB, error)
}
IntPointServiceIntPointWithBeforeRead called before DefaultReadIntPoint in the default Read handler
type IntPointServiceIntPointWithBeforeUpdate ¶ added in v0.8.0
type IntPointServiceIntPointWithBeforeUpdate interface {
BeforeUpdate(context.Context, *gorm.DB) (*gorm.DB, error)
}
IntPointServiceIntPointWithBeforeUpdate called before DefaultUpdateIntPoint in the default Update handler
type IntPointServiceIntPointWithBeforeUpdateSet ¶ added in v1.0.0
type IntPointServiceIntPointWithBeforeUpdateSet interface {
BeforeUpdateSet(context.Context, *gorm.DB) (*gorm.DB, error)
}
IntPointServiceIntPointWithBeforeUpdateSet called before DefaultUpdateSetIntPoint in the default UpdateSet handler
type IntPointServiceServer ¶ added in v0.6.0
type IntPointServiceServer interface { // The convention requires the rpc names have Create/Read/Update/List/Delete // as a prefix. The type is inferred from the response (except for delete), // so multiple objects can have CURDL handlers in the same service, provided // they are given unique suffixes Create(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error) Read(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error) Update(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error) UpdateSet(context.Context, *UpdateSetIntPointRequest) (*UpdateSetIntPointResponse, error) List(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error) ListSomething(context.Context, *empty.Empty) (*ListSomethingResponse, error) Delete(context.Context, *DeleteIntPointRequest) (*DeleteIntPointResponse, error) // CustomMethod can't be autogenerated as it matches no conventions, it will // become a stub CustomMethod(context.Context, *empty.Empty) (*empty.Empty, error) // CreateSomething also doesn't match conventions and will become a stub CreateSomething(context.Context, *Something) (*Something, error) // contains filtered or unexported methods }
IntPointServiceServer is the server API for IntPointService service. All implementations must embed UnimplementedIntPointServiceServer for forward compatibility
type IntPointServiceSomethingWithAfterListSomething ¶ added in v0.12.0
type IntPointServiceSomethingWithAfterListSomething interface {
AfterListSomething(context.Context, *ListSomethingResponse, *gorm.DB) error
}
IntPointServiceSomethingWithAfterListSomething called before DefaultListSomethingSomething in the default ListSomething handler
type IntPointServiceSomethingWithBeforeListSomething ¶ added in v0.12.0
type IntPointServiceSomethingWithBeforeListSomething interface {
BeforeListSomething(context.Context, *gorm.DB) (*gorm.DB, error)
}
IntPointServiceSomethingWithBeforeListSomething called before DefaultListSomethingSomething in the default ListSomething handler
type IntPointTxnClient ¶ added in v0.6.0
type IntPointTxnClient interface { // The convention requires the rpc names have Create/Read/Update/List/Delete // as a prefix. The type is inferred from the response (except for delete), // so multiple objects can have CURDL handlers in the same service, provided // they are given unique suffixes Create(ctx context.Context, in *CreateIntPointRequest, opts ...grpc.CallOption) (*CreateIntPointResponse, error) Read(ctx context.Context, in *ReadIntPointRequest, opts ...grpc.CallOption) (*ReadIntPointResponse, error) Update(ctx context.Context, in *UpdateIntPointRequest, opts ...grpc.CallOption) (*UpdateIntPointResponse, error) List(ctx context.Context, in *ListIntPointRequest, opts ...grpc.CallOption) (*ListIntPointResponse, error) Delete(ctx context.Context, in *DeleteIntPointRequest, opts ...grpc.CallOption) (*DeleteIntPointResponse, error) DeleteSet(ctx context.Context, in *DeleteIntPointsRequest, opts ...grpc.CallOption) (*DeleteIntPointResponse, error) // CustomMethod can't be autogenerated as it matches no conventions, it will // become a stub CustomMethod(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // CreateSomething also doesn't match conventions and will become a stub CreateSomething(ctx context.Context, in *Something, opts ...grpc.CallOption) (*Something, error) }
IntPointTxnClient is the client API for IntPointTxn service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewIntPointTxnClient ¶ added in v0.6.0
func NewIntPointTxnClient(cc grpc.ClientConnInterface) IntPointTxnClient
type IntPointTxnDefaultServer ¶ added in v0.6.0
type IntPointTxnDefaultServer struct { }
func (*IntPointTxnDefaultServer) Create ¶ added in v0.6.0
func (m *IntPointTxnDefaultServer) Create(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
Create ...
func (*IntPointTxnDefaultServer) CreateSomething ¶ added in v0.6.0
func (m *IntPointTxnDefaultServer) CreateSomething(ctx context.Context, in *Something) (*Something, error)
CreateSomething ...
func (*IntPointTxnDefaultServer) CustomMethod ¶ added in v0.6.0
func (m *IntPointTxnDefaultServer) CustomMethod(ctx context.Context, in *empty.Empty) (*empty.Empty, error)
CustomMethod ...
func (*IntPointTxnDefaultServer) Delete ¶ added in v0.6.0
func (m *IntPointTxnDefaultServer) Delete(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
Delete ...
func (*IntPointTxnDefaultServer) DeleteSet ¶ added in v0.15.0
func (m *IntPointTxnDefaultServer) DeleteSet(ctx context.Context, in *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
DeleteSet ...
func (*IntPointTxnDefaultServer) List ¶ added in v0.6.0
func (m *IntPointTxnDefaultServer) List(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
List ...
func (*IntPointTxnDefaultServer) Read ¶ added in v0.6.0
func (m *IntPointTxnDefaultServer) Read(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
Read ...
func (*IntPointTxnDefaultServer) Update ¶ added in v0.6.0
func (m *IntPointTxnDefaultServer) Update(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
Update ...
type IntPointTxnIntPointWithAfterCreate ¶ added in v0.12.0
type IntPointTxnIntPointWithAfterCreate interface {
AfterCreate(context.Context, *CreateIntPointResponse, *gorm.DB) error
}
IntPointTxnIntPointWithAfterCreate called before DefaultCreateIntPoint in the default Create handler
type IntPointTxnIntPointWithAfterDelete ¶ added in v0.12.0
type IntPointTxnIntPointWithAfterDelete interface {
AfterDelete(context.Context, *DeleteIntPointResponse, *gorm.DB) error
}
IntPointTxnIntPointWithAfterDelete called before DefaultDeleteIntPoint in the default Delete handler
type IntPointTxnIntPointWithAfterDeleteSet ¶ added in v0.15.0
type IntPointTxnIntPointWithAfterDeleteSet interface {
AfterDeleteSet(context.Context, *DeleteIntPointResponse, *gorm.DB) error
}
IntPointTxnIntPointWithAfterDeleteSet called before DefaultDeleteSetIntPoint in the default DeleteSet handler
type IntPointTxnIntPointWithAfterList ¶ added in v0.12.0
type IntPointTxnIntPointWithAfterList interface {
AfterList(context.Context, *ListIntPointResponse, *gorm.DB) error
}
IntPointTxnIntPointWithAfterList called before DefaultListIntPoint in the default List handler
type IntPointTxnIntPointWithAfterRead ¶ added in v0.12.0
type IntPointTxnIntPointWithAfterRead interface {
AfterRead(context.Context, *ReadIntPointResponse, *gorm.DB) error
}
IntPointTxnIntPointWithAfterRead called before DefaultReadIntPoint in the default Read handler
type IntPointTxnIntPointWithAfterUpdate ¶ added in v0.12.0
type IntPointTxnIntPointWithAfterUpdate interface {
AfterUpdate(context.Context, *UpdateIntPointResponse, *gorm.DB) error
}
IntPointTxnIntPointWithAfterUpdate called before DefaultUpdateIntPoint in the default Update handler
type IntPointTxnIntPointWithBeforeCreate ¶ added in v0.8.0
type IntPointTxnIntPointWithBeforeCreate interface {
BeforeCreate(context.Context, *gorm.DB) (*gorm.DB, error)
}
IntPointTxnIntPointWithBeforeCreate called before DefaultCreateIntPoint in the default Create handler
type IntPointTxnIntPointWithBeforeDelete ¶ added in v0.8.0
type IntPointTxnIntPointWithBeforeDelete interface {
BeforeDelete(context.Context, *gorm.DB) (*gorm.DB, error)
}
IntPointTxnIntPointWithBeforeDelete called before DefaultDeleteIntPoint in the default Delete handler
type IntPointTxnIntPointWithBeforeDeleteSet ¶ added in v0.15.0
type IntPointTxnIntPointWithBeforeDeleteSet interface {
BeforeDeleteSet(context.Context, *gorm.DB) (*gorm.DB, error)
}
IntPointTxnIntPointWithBeforeDeleteSet called before DefaultDeleteSetIntPoint in the default DeleteSet handler
type IntPointTxnIntPointWithBeforeList ¶ added in v0.8.0
type IntPointTxnIntPointWithBeforeList interface {
BeforeList(context.Context, *gorm.DB) (*gorm.DB, error)
}
IntPointTxnIntPointWithBeforeList called before DefaultListIntPoint in the default List handler
type IntPointTxnIntPointWithBeforeRead ¶ added in v0.8.0
type IntPointTxnIntPointWithBeforeRead interface {
BeforeRead(context.Context, *gorm.DB) (*gorm.DB, error)
}
IntPointTxnIntPointWithBeforeRead called before DefaultReadIntPoint in the default Read handler
type IntPointTxnIntPointWithBeforeUpdate ¶ added in v0.8.0
type IntPointTxnIntPointWithBeforeUpdate interface {
BeforeUpdate(context.Context, *gorm.DB) (*gorm.DB, error)
}
IntPointTxnIntPointWithBeforeUpdate called before DefaultUpdateIntPoint in the default Update handler
type IntPointTxnServer ¶ added in v0.6.0
type IntPointTxnServer interface { // The convention requires the rpc names have Create/Read/Update/List/Delete // as a prefix. The type is inferred from the response (except for delete), // so multiple objects can have CURDL handlers in the same service, provided // they are given unique suffixes Create(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error) Read(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error) Update(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error) List(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error) Delete(context.Context, *DeleteIntPointRequest) (*DeleteIntPointResponse, error) DeleteSet(context.Context, *DeleteIntPointsRequest) (*DeleteIntPointResponse, error) // CustomMethod can't be autogenerated as it matches no conventions, it will // become a stub CustomMethod(context.Context, *empty.Empty) (*empty.Empty, error) // CreateSomething also doesn't match conventions and will become a stub CreateSomething(context.Context, *Something) (*Something, error) // contains filtered or unexported methods }
IntPointTxnServer is the server API for IntPointTxn service. All implementations must embed UnimplementedIntPointTxnServer for forward compatibility
type IntPointWithAfterPatchSave ¶ added in v0.12.0
type IntPointWithAfterToORM ¶ added in v0.2.1
type IntPointWithAfterToORM interface {
AfterToORM(context.Context, *IntPointORM) error
}
IntPointAfterToORM called after default ToORM code
type IntPointWithAfterToPB ¶ added in v0.2.1
IntPointAfterToPB called after default ToPB code
type IntPointWithBeforePatchApplyFieldMask ¶ added in v0.12.0
type IntPointWithBeforePatchRead ¶ added in v0.12.0
type IntPointWithBeforePatchSave ¶ added in v0.9.1
type IntPointWithBeforeToORM ¶ added in v0.2.1
type IntPointWithBeforeToORM interface {
BeforeToORM(context.Context, *IntPointORM) error
}
IntPointBeforeToORM called before default ToORM code
type IntPointWithBeforeToPB ¶ added in v0.2.1
IntPointBeforeToPB called before default ToPB code
type ListCircleRequest ¶ added in v0.14.0
type ListCircleRequest struct {
// contains filtered or unexported fields
}
func (*ListCircleRequest) Descriptor
deprecated
added in
v0.14.0
func (*ListCircleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCircleRequest.ProtoReflect.Descriptor instead.
func (*ListCircleRequest) ProtoMessage ¶ added in v0.14.0
func (*ListCircleRequest) ProtoMessage()
func (*ListCircleRequest) ProtoReflect ¶ added in v1.0.0
func (x *ListCircleRequest) ProtoReflect() protoreflect.Message
func (*ListCircleRequest) Reset ¶ added in v0.14.0
func (x *ListCircleRequest) Reset()
func (*ListCircleRequest) String ¶ added in v0.14.0
func (x *ListCircleRequest) String() string
type ListCircleResponse ¶ added in v0.14.0
type ListCircleResponse struct { Results []*Circle `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*ListCircleResponse) Descriptor
deprecated
added in
v0.14.0
func (*ListCircleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCircleResponse.ProtoReflect.Descriptor instead.
func (*ListCircleResponse) GetResults ¶ added in v0.14.0
func (x *ListCircleResponse) GetResults() []*Circle
func (*ListCircleResponse) ProtoMessage ¶ added in v0.14.0
func (*ListCircleResponse) ProtoMessage()
func (*ListCircleResponse) ProtoReflect ¶ added in v1.0.0
func (x *ListCircleResponse) ProtoReflect() protoreflect.Message
func (*ListCircleResponse) Reset ¶ added in v0.14.0
func (x *ListCircleResponse) Reset()
func (*ListCircleResponse) String ¶ added in v0.14.0
func (x *ListCircleResponse) String() string
type ListIntPointRequest ¶ added in v0.7.0
type ListIntPointRequest struct { Filter *query.Filtering `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` OrderBy *query.Sorting `protobuf:"bytes,2,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` Fields *query.FieldSelection `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"` Paging *query.Pagination `protobuf:"bytes,4,opt,name=paging,proto3" json:"paging,omitempty"` // contains filtered or unexported fields }
func (*ListIntPointRequest) Descriptor
deprecated
added in
v0.7.0
func (*ListIntPointRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIntPointRequest.ProtoReflect.Descriptor instead.
func (*ListIntPointRequest) GetFields ¶ added in v0.7.0
func (x *ListIntPointRequest) GetFields() *query.FieldSelection
func (*ListIntPointRequest) GetFilter ¶ added in v0.7.0
func (x *ListIntPointRequest) GetFilter() *query.Filtering
func (*ListIntPointRequest) GetOrderBy ¶ added in v0.7.0
func (x *ListIntPointRequest) GetOrderBy() *query.Sorting
func (*ListIntPointRequest) GetPaging ¶ added in v0.7.0
func (x *ListIntPointRequest) GetPaging() *query.Pagination
func (*ListIntPointRequest) ProtoMessage ¶ added in v0.7.0
func (*ListIntPointRequest) ProtoMessage()
func (*ListIntPointRequest) ProtoReflect ¶ added in v1.0.0
func (x *ListIntPointRequest) ProtoReflect() protoreflect.Message
func (*ListIntPointRequest) Reset ¶ added in v0.7.0
func (x *ListIntPointRequest) Reset()
func (*ListIntPointRequest) String ¶ added in v0.7.0
func (x *ListIntPointRequest) String() string
type ListIntPointResponse ¶ added in v0.2.0
type ListIntPointResponse struct { // Note repeated field and plural name 'results' Results []*IntPoint `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` PageInfo *query.PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"` // contains filtered or unexported fields }
func (*ListIntPointResponse) Descriptor
deprecated
added in
v0.2.0
func (*ListIntPointResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIntPointResponse.ProtoReflect.Descriptor instead.
func (*ListIntPointResponse) GetPageInfo ¶ added in v0.14.0
func (x *ListIntPointResponse) GetPageInfo() *query.PageInfo
func (*ListIntPointResponse) GetResults ¶ added in v0.2.0
func (x *ListIntPointResponse) GetResults() []*IntPoint
func (*ListIntPointResponse) ProtoMessage ¶ added in v0.2.0
func (*ListIntPointResponse) ProtoMessage()
func (*ListIntPointResponse) ProtoReflect ¶ added in v1.0.0
func (x *ListIntPointResponse) ProtoReflect() protoreflect.Message
func (*ListIntPointResponse) Reset ¶ added in v0.2.0
func (x *ListIntPointResponse) Reset()
func (*ListIntPointResponse) String ¶ added in v0.2.0
func (x *ListIntPointResponse) String() string
type ListSomethingResponse ¶ added in v0.12.0
type ListSomethingResponse struct { // Note repeated field and plural name 'results' Results []*Something `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` PageInfo *query.PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"` // contains filtered or unexported fields }
func (*ListSomethingResponse) Descriptor
deprecated
added in
v0.12.0
func (*ListSomethingResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSomethingResponse.ProtoReflect.Descriptor instead.
func (*ListSomethingResponse) GetPageInfo ¶ added in v0.14.0
func (x *ListSomethingResponse) GetPageInfo() *query.PageInfo
func (*ListSomethingResponse) GetResults ¶ added in v0.12.0
func (x *ListSomethingResponse) GetResults() []*Something
func (*ListSomethingResponse) ProtoMessage ¶ added in v0.12.0
func (*ListSomethingResponse) ProtoMessage()
func (*ListSomethingResponse) ProtoReflect ¶ added in v1.0.0
func (x *ListSomethingResponse) ProtoReflect() protoreflect.Message
func (*ListSomethingResponse) Reset ¶ added in v0.12.0
func (x *ListSomethingResponse) Reset()
func (*ListSomethingResponse) String ¶ added in v0.12.0
func (x *ListSomethingResponse) String() string
type MultiaccountTypeWithID ¶ added in v0.2.0
type MultiaccountTypeWithID struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` SomeField string `protobuf:"bytes,2,opt,name=some_field,json=someField,proto3" json:"some_field,omitempty"` // contains filtered or unexported fields }
MultiaccountTypeWithID demonstrates the generated multi-account support
func DefaultApplyFieldMaskMultiaccountTypeWithID ¶ added in v0.9.0
func DefaultApplyFieldMaskMultiaccountTypeWithID(ctx context.Context, patchee *MultiaccountTypeWithID, patcher *MultiaccountTypeWithID, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*MultiaccountTypeWithID, error)
DefaultApplyFieldMaskMultiaccountTypeWithID patches an pbObject with patcher according to a field mask.
func DefaultCreateMultiaccountTypeWithID ¶ added in v0.2.0
func DefaultCreateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm.DB) (*MultiaccountTypeWithID, error)
DefaultCreateMultiaccountTypeWithID executes a basic gorm create call
func DefaultListMultiaccountTypeWithID ¶ added in v0.2.0
func DefaultListMultiaccountTypeWithID(ctx context.Context, db *gorm.DB) ([]*MultiaccountTypeWithID, error)
DefaultListMultiaccountTypeWithID executes a gorm list call
func DefaultPatchMultiaccountTypeWithID ¶ added in v0.9.0
func DefaultPatchMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, updateMask *field_mask.FieldMask, db *gorm.DB) (*MultiaccountTypeWithID, error)
DefaultPatchMultiaccountTypeWithID executes a basic gorm update call with patch behavior
func DefaultPatchSetMultiaccountTypeWithID ¶ added in v1.0.0
func DefaultPatchSetMultiaccountTypeWithID(ctx context.Context, objects []*MultiaccountTypeWithID, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*MultiaccountTypeWithID, error)
DefaultPatchSetMultiaccountTypeWithID executes a bulk gorm update call with patch behavior
func DefaultReadMultiaccountTypeWithID ¶ added in v0.2.0
func DefaultReadMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm.DB) (*MultiaccountTypeWithID, error)
DefaultReadMultiaccountTypeWithID executes a basic gorm read call
func DefaultStrictUpdateMultiaccountTypeWithID ¶ added in v0.2.0
func DefaultStrictUpdateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm.DB) (*MultiaccountTypeWithID, error)
DefaultStrictUpdateMultiaccountTypeWithID clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*MultiaccountTypeWithID) Descriptor
deprecated
added in
v0.2.0
func (*MultiaccountTypeWithID) Descriptor() ([]byte, []int)
Deprecated: Use MultiaccountTypeWithID.ProtoReflect.Descriptor instead.
func (*MultiaccountTypeWithID) GetId ¶ added in v0.2.0
func (x *MultiaccountTypeWithID) GetId() uint64
func (*MultiaccountTypeWithID) GetSomeField ¶ added in v0.2.0
func (x *MultiaccountTypeWithID) GetSomeField() string
func (*MultiaccountTypeWithID) ProtoMessage ¶ added in v0.2.0
func (*MultiaccountTypeWithID) ProtoMessage()
func (*MultiaccountTypeWithID) ProtoReflect ¶ added in v1.0.0
func (x *MultiaccountTypeWithID) ProtoReflect() protoreflect.Message
func (*MultiaccountTypeWithID) Reset ¶ added in v0.2.0
func (x *MultiaccountTypeWithID) Reset()
func (*MultiaccountTypeWithID) String ¶ added in v0.2.0
func (x *MultiaccountTypeWithID) String() string
func (*MultiaccountTypeWithID) ToORM ¶ added in v0.2.1
func (m *MultiaccountTypeWithID) ToORM(ctx context.Context) (MultiaccountTypeWithIDORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type MultiaccountTypeWithIDORM ¶ added in v0.2.0
func (MultiaccountTypeWithIDORM) TableName ¶ added in v0.2.0
func (MultiaccountTypeWithIDORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*MultiaccountTypeWithIDORM) ToPB ¶ added in v0.2.1
func (m *MultiaccountTypeWithIDORM) ToPB(ctx context.Context) (MultiaccountTypeWithID, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type MultiaccountTypeWithIDORMWithAfterCreate_ ¶ added in v1.0.0
type MultiaccountTypeWithIDORMWithAfterDeleteSet ¶ added in v0.15.0
type MultiaccountTypeWithIDORMWithAfterDelete_ ¶ added in v1.0.0
type MultiaccountTypeWithIDORMWithAfterListFind ¶ added in v0.12.0
type MultiaccountTypeWithIDORMWithAfterReadFind ¶ added in v0.12.0
type MultiaccountTypeWithIDORMWithAfterStrictUpdateSave ¶ added in v0.12.0
type MultiaccountTypeWithIDORMWithBeforeCreate_ ¶ added in v1.0.0
type MultiaccountTypeWithIDORMWithBeforeDeleteSet ¶ added in v0.15.0
type MultiaccountTypeWithIDORMWithBeforeDelete_ ¶ added in v1.0.0
type MultiaccountTypeWithIDORMWithBeforeListApplyQuery ¶ added in v0.12.0
type MultiaccountTypeWithIDORMWithBeforeListFind ¶ added in v0.12.0
type MultiaccountTypeWithIDORMWithBeforeReadApplyQuery ¶ added in v0.12.0
type MultiaccountTypeWithIDORMWithBeforeReadFind ¶ added in v0.12.0
type MultiaccountTypeWithIDORMWithBeforeStrictUpdateCleanup ¶ added in v0.12.0
type MultiaccountTypeWithIDORMWithBeforeStrictUpdateSave ¶ added in v0.12.0
type MultiaccountTypeWithIDWithAfterPatchSave ¶ added in v0.12.0
type MultiaccountTypeWithIDWithAfterPatchSave interface {
AfterPatchSave(context.Context, *MultiaccountTypeWithID, *field_mask.FieldMask, *gorm.DB) error
}
type MultiaccountTypeWithIDWithAfterToORM ¶ added in v0.2.1
type MultiaccountTypeWithIDWithAfterToORM interface {
AfterToORM(context.Context, *MultiaccountTypeWithIDORM) error
}
MultiaccountTypeWithIDAfterToORM called after default ToORM code
type MultiaccountTypeWithIDWithAfterToPB ¶ added in v0.2.1
type MultiaccountTypeWithIDWithAfterToPB interface {
AfterToPB(context.Context, *MultiaccountTypeWithID) error
}
MultiaccountTypeWithIDAfterToPB called after default ToPB code
type MultiaccountTypeWithIDWithBeforePatchApplyFieldMask ¶ added in v0.12.0
type MultiaccountTypeWithIDWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *MultiaccountTypeWithID, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type MultiaccountTypeWithIDWithBeforePatchRead ¶ added in v0.12.0
type MultiaccountTypeWithIDWithBeforePatchRead interface {
BeforePatchRead(context.Context, *MultiaccountTypeWithID, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type MultiaccountTypeWithIDWithBeforePatchSave ¶ added in v0.9.1
type MultiaccountTypeWithIDWithBeforePatchSave interface {
BeforePatchSave(context.Context, *MultiaccountTypeWithID, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type MultiaccountTypeWithIDWithBeforeToORM ¶ added in v0.2.1
type MultiaccountTypeWithIDWithBeforeToORM interface {
BeforeToORM(context.Context, *MultiaccountTypeWithIDORM) error
}
MultiaccountTypeWithIDBeforeToORM called before default ToORM code
type MultiaccountTypeWithIDWithBeforeToPB ¶ added in v0.2.1
type MultiaccountTypeWithIDWithBeforeToPB interface {
BeforeToPB(context.Context, *MultiaccountTypeWithID) error
}
MultiaccountTypeWithIDBeforeToPB called before default ToPB code
type MultiaccountTypeWithoutID ¶ added in v0.2.0
type MultiaccountTypeWithoutID struct { SomeField string `protobuf:"bytes,1,opt,name=some_field,json=someField,proto3" json:"some_field,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskMultiaccountTypeWithoutID ¶ added in v0.10.0
func DefaultApplyFieldMaskMultiaccountTypeWithoutID(ctx context.Context, patchee *MultiaccountTypeWithoutID, patcher *MultiaccountTypeWithoutID, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*MultiaccountTypeWithoutID, error)
DefaultApplyFieldMaskMultiaccountTypeWithoutID patches an pbObject with patcher according to a field mask.
func DefaultCreateMultiaccountTypeWithoutID ¶ added in v0.2.0
func DefaultCreateMultiaccountTypeWithoutID(ctx context.Context, in *MultiaccountTypeWithoutID, db *gorm.DB) (*MultiaccountTypeWithoutID, error)
DefaultCreateMultiaccountTypeWithoutID executes a basic gorm create call
func DefaultListMultiaccountTypeWithoutID ¶ added in v0.2.0
func DefaultListMultiaccountTypeWithoutID(ctx context.Context, db *gorm.DB) ([]*MultiaccountTypeWithoutID, error)
DefaultListMultiaccountTypeWithoutID executes a gorm list call
func (*MultiaccountTypeWithoutID) Descriptor
deprecated
added in
v0.2.0
func (*MultiaccountTypeWithoutID) Descriptor() ([]byte, []int)
Deprecated: Use MultiaccountTypeWithoutID.ProtoReflect.Descriptor instead.
func (*MultiaccountTypeWithoutID) GetSomeField ¶ added in v0.2.0
func (x *MultiaccountTypeWithoutID) GetSomeField() string
func (*MultiaccountTypeWithoutID) ProtoMessage ¶ added in v0.2.0
func (*MultiaccountTypeWithoutID) ProtoMessage()
func (*MultiaccountTypeWithoutID) ProtoReflect ¶ added in v1.0.0
func (x *MultiaccountTypeWithoutID) ProtoReflect() protoreflect.Message
func (*MultiaccountTypeWithoutID) Reset ¶ added in v0.2.0
func (x *MultiaccountTypeWithoutID) Reset()
func (*MultiaccountTypeWithoutID) String ¶ added in v0.2.0
func (x *MultiaccountTypeWithoutID) String() string
func (*MultiaccountTypeWithoutID) ToORM ¶ added in v0.2.1
func (m *MultiaccountTypeWithoutID) ToORM(ctx context.Context) (MultiaccountTypeWithoutIDORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type MultiaccountTypeWithoutIDORM ¶ added in v0.2.0
func (MultiaccountTypeWithoutIDORM) TableName ¶ added in v0.2.0
func (MultiaccountTypeWithoutIDORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*MultiaccountTypeWithoutIDORM) ToPB ¶ added in v0.2.1
func (m *MultiaccountTypeWithoutIDORM) ToPB(ctx context.Context) (MultiaccountTypeWithoutID, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type MultiaccountTypeWithoutIDORMWithAfterCreate_ ¶ added in v1.0.0
type MultiaccountTypeWithoutIDORMWithAfterListFind ¶ added in v0.12.0
type MultiaccountTypeWithoutIDORMWithBeforeCreate_ ¶ added in v1.0.0
type MultiaccountTypeWithoutIDORMWithBeforeListApplyQuery ¶ added in v0.12.0
type MultiaccountTypeWithoutIDORMWithBeforeListFind ¶ added in v0.12.0
type MultiaccountTypeWithoutIDWithAfterToORM ¶ added in v0.2.1
type MultiaccountTypeWithoutIDWithAfterToORM interface {
AfterToORM(context.Context, *MultiaccountTypeWithoutIDORM) error
}
MultiaccountTypeWithoutIDAfterToORM called after default ToORM code
type MultiaccountTypeWithoutIDWithAfterToPB ¶ added in v0.2.1
type MultiaccountTypeWithoutIDWithAfterToPB interface {
AfterToPB(context.Context, *MultiaccountTypeWithoutID) error
}
MultiaccountTypeWithoutIDAfterToPB called after default ToPB code
type MultiaccountTypeWithoutIDWithBeforeToORM ¶ added in v0.2.1
type MultiaccountTypeWithoutIDWithBeforeToORM interface {
BeforeToORM(context.Context, *MultiaccountTypeWithoutIDORM) error
}
MultiaccountTypeWithoutIDBeforeToORM called before default ToORM code
type MultiaccountTypeWithoutIDWithBeforeToPB ¶ added in v0.2.1
type MultiaccountTypeWithoutIDWithBeforeToPB interface {
BeforeToPB(context.Context, *MultiaccountTypeWithoutID) error
}
MultiaccountTypeWithoutIDBeforeToPB called before default ToPB code
type MultipleMethodsAutoGenClient ¶ added in v1.0.0
type MultipleMethodsAutoGenClient interface { CreateA(ctx context.Context, in *CreateIntPointRequest, opts ...grpc.CallOption) (*CreateIntPointResponse, error) CreateB(ctx context.Context, in *CreateIntPointRequest, opts ...grpc.CallOption) (*CreateIntPointResponse, error) ReadA(ctx context.Context, in *ReadIntPointRequest, opts ...grpc.CallOption) (*ReadIntPointResponse, error) ReadB(ctx context.Context, in *ReadIntPointRequest, opts ...grpc.CallOption) (*ReadIntPointResponse, error) UpdateA(ctx context.Context, in *UpdateIntPointRequest, opts ...grpc.CallOption) (*UpdateIntPointResponse, error) UpdateB(ctx context.Context, in *UpdateIntPointRequest, opts ...grpc.CallOption) (*UpdateIntPointResponse, error) ListA(ctx context.Context, in *ListIntPointRequest, opts ...grpc.CallOption) (*ListIntPointResponse, error) ListB(ctx context.Context, in *ListIntPointRequest, opts ...grpc.CallOption) (*ListIntPointResponse, error) DeleteA(ctx context.Context, in *DeleteIntPointRequest, opts ...grpc.CallOption) (*DeleteIntPointResponse, error) DeleteB(ctx context.Context, in *DeleteIntPointRequest, opts ...grpc.CallOption) (*DeleteIntPointResponse, error) DeleteSetA(ctx context.Context, in *DeleteIntPointsRequest, opts ...grpc.CallOption) (*DeleteIntPointResponse, error) DeleteSetB(ctx context.Context, in *DeleteIntPointsRequest, opts ...grpc.CallOption) (*DeleteIntPointResponse, error) }
MultipleMethodsAutoGenClient is the client API for MultipleMethodsAutoGen service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMultipleMethodsAutoGenClient ¶ added in v1.0.0
func NewMultipleMethodsAutoGenClient(cc grpc.ClientConnInterface) MultipleMethodsAutoGenClient
type MultipleMethodsAutoGenDefaultServer ¶ added in v1.0.0
func (*MultipleMethodsAutoGenDefaultServer) CreateA ¶ added in v1.0.0
func (m *MultipleMethodsAutoGenDefaultServer) CreateA(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
CreateA ...
func (*MultipleMethodsAutoGenDefaultServer) CreateB ¶ added in v1.0.0
func (m *MultipleMethodsAutoGenDefaultServer) CreateB(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
CreateB ...
func (*MultipleMethodsAutoGenDefaultServer) DeleteA ¶ added in v1.0.0
func (m *MultipleMethodsAutoGenDefaultServer) DeleteA(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
DeleteA ...
func (*MultipleMethodsAutoGenDefaultServer) DeleteB ¶ added in v1.0.0
func (m *MultipleMethodsAutoGenDefaultServer) DeleteB(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
DeleteB ...
func (*MultipleMethodsAutoGenDefaultServer) DeleteSetA ¶ added in v1.0.0
func (m *MultipleMethodsAutoGenDefaultServer) DeleteSetA(ctx context.Context, in *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
DeleteSetA ...
func (*MultipleMethodsAutoGenDefaultServer) DeleteSetB ¶ added in v1.0.0
func (m *MultipleMethodsAutoGenDefaultServer) DeleteSetB(ctx context.Context, in *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
DeleteSetB ...
func (*MultipleMethodsAutoGenDefaultServer) ListA ¶ added in v1.0.0
func (m *MultipleMethodsAutoGenDefaultServer) ListA(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
ListA ...
func (*MultipleMethodsAutoGenDefaultServer) ListB ¶ added in v1.0.0
func (m *MultipleMethodsAutoGenDefaultServer) ListB(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
ListB ...
func (*MultipleMethodsAutoGenDefaultServer) ReadA ¶ added in v1.0.0
func (m *MultipleMethodsAutoGenDefaultServer) ReadA(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
ReadA ...
func (*MultipleMethodsAutoGenDefaultServer) ReadB ¶ added in v1.0.0
func (m *MultipleMethodsAutoGenDefaultServer) ReadB(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
ReadB ...
func (*MultipleMethodsAutoGenDefaultServer) UpdateA ¶ added in v1.0.0
func (m *MultipleMethodsAutoGenDefaultServer) UpdateA(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
UpdateA ...
func (*MultipleMethodsAutoGenDefaultServer) UpdateB ¶ added in v1.0.0
func (m *MultipleMethodsAutoGenDefaultServer) UpdateB(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
UpdateB ...
type MultipleMethodsAutoGenIntPointWithAfterCreateA ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithAfterCreateA interface {
AfterCreateA(context.Context, *CreateIntPointResponse, *gorm.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterCreateA called before DefaultCreateAIntPoint in the default CreateA handler
type MultipleMethodsAutoGenIntPointWithAfterCreateB ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithAfterCreateB interface {
AfterCreateB(context.Context, *CreateIntPointResponse, *gorm.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterCreateB called before DefaultCreateBIntPoint in the default CreateB handler
type MultipleMethodsAutoGenIntPointWithAfterDeleteA ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithAfterDeleteA interface {
AfterDeleteA(context.Context, *DeleteIntPointResponse, *gorm.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterDeleteA called before DefaultDeleteAIntPoint in the default DeleteA handler
type MultipleMethodsAutoGenIntPointWithAfterDeleteB ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithAfterDeleteB interface {
AfterDeleteB(context.Context, *DeleteIntPointResponse, *gorm.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterDeleteB called before DefaultDeleteBIntPoint in the default DeleteB handler
type MultipleMethodsAutoGenIntPointWithAfterDeleteSetA ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithAfterDeleteSetA interface {
AfterDeleteSetA(context.Context, *DeleteIntPointResponse, *gorm.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterDeleteSetA called before DefaultDeleteSetAIntPoint in the default DeleteSetA handler
type MultipleMethodsAutoGenIntPointWithAfterDeleteSetB ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithAfterDeleteSetB interface {
AfterDeleteSetB(context.Context, *DeleteIntPointResponse, *gorm.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterDeleteSetB called before DefaultDeleteSetBIntPoint in the default DeleteSetB handler
type MultipleMethodsAutoGenIntPointWithAfterListA ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithAfterListA interface {
AfterListA(context.Context, *ListIntPointResponse, *gorm.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterListA called before DefaultListAIntPoint in the default ListA handler
type MultipleMethodsAutoGenIntPointWithAfterListB ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithAfterListB interface {
AfterListB(context.Context, *ListIntPointResponse, *gorm.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterListB called before DefaultListBIntPoint in the default ListB handler
type MultipleMethodsAutoGenIntPointWithAfterReadA ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithAfterReadA interface {
AfterReadA(context.Context, *ReadIntPointResponse, *gorm.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterReadA called before DefaultReadAIntPoint in the default ReadA handler
type MultipleMethodsAutoGenIntPointWithAfterReadB ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithAfterReadB interface {
AfterReadB(context.Context, *ReadIntPointResponse, *gorm.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterReadB called before DefaultReadBIntPoint in the default ReadB handler
type MultipleMethodsAutoGenIntPointWithAfterUpdateA ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithAfterUpdateA interface {
AfterUpdateA(context.Context, *UpdateIntPointResponse, *gorm.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterUpdateA called before DefaultUpdateAIntPoint in the default UpdateA handler
type MultipleMethodsAutoGenIntPointWithAfterUpdateB ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithAfterUpdateB interface {
AfterUpdateB(context.Context, *UpdateIntPointResponse, *gorm.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterUpdateB called before DefaultUpdateBIntPoint in the default UpdateB handler
type MultipleMethodsAutoGenIntPointWithBeforeCreateA ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithBeforeCreateA interface {
BeforeCreateA(context.Context, *gorm.DB) (*gorm.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeCreateA called before DefaultCreateAIntPoint in the default CreateA handler
type MultipleMethodsAutoGenIntPointWithBeforeCreateB ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithBeforeCreateB interface {
BeforeCreateB(context.Context, *gorm.DB) (*gorm.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeCreateB called before DefaultCreateBIntPoint in the default CreateB handler
type MultipleMethodsAutoGenIntPointWithBeforeDeleteA ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithBeforeDeleteA interface {
BeforeDeleteA(context.Context, *gorm.DB) (*gorm.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeDeleteA called before DefaultDeleteAIntPoint in the default DeleteA handler
type MultipleMethodsAutoGenIntPointWithBeforeDeleteB ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithBeforeDeleteB interface {
BeforeDeleteB(context.Context, *gorm.DB) (*gorm.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeDeleteB called before DefaultDeleteBIntPoint in the default DeleteB handler
type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetA ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetA interface {
BeforeDeleteSetA(context.Context, *gorm.DB) (*gorm.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeDeleteSetA called before DefaultDeleteSetAIntPoint in the default DeleteSetA handler
type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetB ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetB interface {
BeforeDeleteSetB(context.Context, *gorm.DB) (*gorm.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeDeleteSetB called before DefaultDeleteSetBIntPoint in the default DeleteSetB handler
type MultipleMethodsAutoGenIntPointWithBeforeListA ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithBeforeListA interface {
BeforeListA(context.Context, *gorm.DB) (*gorm.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeListA called before DefaultListAIntPoint in the default ListA handler
type MultipleMethodsAutoGenIntPointWithBeforeListB ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithBeforeListB interface {
BeforeListB(context.Context, *gorm.DB) (*gorm.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeListB called before DefaultListBIntPoint in the default ListB handler
type MultipleMethodsAutoGenIntPointWithBeforeReadA ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithBeforeReadA interface {
BeforeReadA(context.Context, *gorm.DB) (*gorm.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeReadA called before DefaultReadAIntPoint in the default ReadA handler
type MultipleMethodsAutoGenIntPointWithBeforeReadB ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithBeforeReadB interface {
BeforeReadB(context.Context, *gorm.DB) (*gorm.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeReadB called before DefaultReadBIntPoint in the default ReadB handler
type MultipleMethodsAutoGenIntPointWithBeforeUpdateA ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithBeforeUpdateA interface {
BeforeUpdateA(context.Context, *gorm.DB) (*gorm.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeUpdateA called before DefaultUpdateAIntPoint in the default UpdateA handler
type MultipleMethodsAutoGenIntPointWithBeforeUpdateB ¶ added in v1.0.0
type MultipleMethodsAutoGenIntPointWithBeforeUpdateB interface {
BeforeUpdateB(context.Context, *gorm.DB) (*gorm.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeUpdateB called before DefaultUpdateBIntPoint in the default UpdateB handler
type MultipleMethodsAutoGenServer ¶ added in v1.0.0
type MultipleMethodsAutoGenServer interface { CreateA(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error) CreateB(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error) ReadA(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error) ReadB(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error) UpdateA(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error) UpdateB(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error) ListA(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error) ListB(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error) DeleteA(context.Context, *DeleteIntPointRequest) (*DeleteIntPointResponse, error) DeleteB(context.Context, *DeleteIntPointRequest) (*DeleteIntPointResponse, error) DeleteSetA(context.Context, *DeleteIntPointsRequest) (*DeleteIntPointResponse, error) DeleteSetB(context.Context, *DeleteIntPointsRequest) (*DeleteIntPointResponse, error) // contains filtered or unexported methods }
MultipleMethodsAutoGenServer is the server API for MultipleMethodsAutoGen service. All implementations must embed UnimplementedMultipleMethodsAutoGenServer for forward compatibility
type PrimaryIncluded ¶ added in v0.9.1
type PrimaryIncluded struct { Child *ExternalChild `protobuf:"bytes,1,opt,name=child,proto3" json:"child,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskPrimaryIncluded ¶ added in v0.10.0
func DefaultApplyFieldMaskPrimaryIncluded(ctx context.Context, patchee *PrimaryIncluded, patcher *PrimaryIncluded, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*PrimaryIncluded, error)
DefaultApplyFieldMaskPrimaryIncluded patches an pbObject with patcher according to a field mask.
func DefaultCreatePrimaryIncluded ¶ added in v0.9.1
func DefaultCreatePrimaryIncluded(ctx context.Context, in *PrimaryIncluded, db *gorm.DB) (*PrimaryIncluded, error)
DefaultCreatePrimaryIncluded executes a basic gorm create call
func DefaultListPrimaryIncluded ¶ added in v0.9.1
DefaultListPrimaryIncluded executes a gorm list call
func (*PrimaryIncluded) Descriptor
deprecated
added in
v0.9.1
func (*PrimaryIncluded) Descriptor() ([]byte, []int)
Deprecated: Use PrimaryIncluded.ProtoReflect.Descriptor instead.
func (*PrimaryIncluded) GetChild ¶ added in v0.9.1
func (x *PrimaryIncluded) GetChild() *ExternalChild
func (*PrimaryIncluded) ProtoMessage ¶ added in v0.9.1
func (*PrimaryIncluded) ProtoMessage()
func (*PrimaryIncluded) ProtoReflect ¶ added in v1.0.0
func (x *PrimaryIncluded) ProtoReflect() protoreflect.Message
func (*PrimaryIncluded) Reset ¶ added in v0.9.1
func (x *PrimaryIncluded) Reset()
func (*PrimaryIncluded) String ¶ added in v0.9.1
func (x *PrimaryIncluded) String() string
func (*PrimaryIncluded) ToORM ¶ added in v0.9.1
func (m *PrimaryIncluded) ToORM(ctx context.Context) (PrimaryIncludedORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type PrimaryIncludedORM ¶ added in v0.9.1
type PrimaryIncludedORM struct { Child *ExternalChildORM `gorm:"foreignkey:PrimaryIncludedId;association_foreignkey:Id"` Id _go.UUID }
func (PrimaryIncludedORM) TableName ¶ added in v0.9.1
func (PrimaryIncludedORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*PrimaryIncludedORM) ToPB ¶ added in v0.9.1
func (m *PrimaryIncludedORM) ToPB(ctx context.Context) (PrimaryIncluded, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type PrimaryIncludedORMWithAfterCreate_ ¶ added in v1.0.0
type PrimaryIncludedORMWithAfterListFind ¶ added in v0.12.0
type PrimaryIncludedORMWithBeforeCreate_ ¶ added in v1.0.0
type PrimaryIncludedORMWithBeforeListApplyQuery ¶ added in v0.12.0
type PrimaryIncludedORMWithBeforeListFind ¶ added in v0.12.0
type PrimaryIncludedWithAfterToORM ¶ added in v0.9.1
type PrimaryIncludedWithAfterToORM interface {
AfterToORM(context.Context, *PrimaryIncludedORM) error
}
PrimaryIncludedAfterToORM called after default ToORM code
type PrimaryIncludedWithAfterToPB ¶ added in v0.9.1
type PrimaryIncludedWithAfterToPB interface {
AfterToPB(context.Context, *PrimaryIncluded) error
}
PrimaryIncludedAfterToPB called after default ToPB code
type PrimaryIncludedWithBeforeToORM ¶ added in v0.9.1
type PrimaryIncludedWithBeforeToORM interface {
BeforeToORM(context.Context, *PrimaryIncludedORM) error
}
PrimaryIncludedBeforeToORM called before default ToORM code
type PrimaryIncludedWithBeforeToPB ¶ added in v0.9.1
type PrimaryIncludedWithBeforeToPB interface {
BeforeToPB(context.Context, *PrimaryIncluded) error
}
PrimaryIncludedBeforeToPB called before default ToPB code
type PrimaryStringType ¶ added in v0.9.0
type PrimaryStringType struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Child *ExternalChild `protobuf:"bytes,2,opt,name=child,proto3" json:"child,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskPrimaryStringType ¶ added in v0.9.0
func DefaultApplyFieldMaskPrimaryStringType(ctx context.Context, patchee *PrimaryStringType, patcher *PrimaryStringType, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*PrimaryStringType, error)
DefaultApplyFieldMaskPrimaryStringType patches an pbObject with patcher according to a field mask.
func DefaultCreatePrimaryStringType ¶ added in v0.9.0
func DefaultCreatePrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm.DB) (*PrimaryStringType, error)
DefaultCreatePrimaryStringType executes a basic gorm create call
func DefaultListPrimaryStringType ¶ added in v0.9.0
DefaultListPrimaryStringType executes a gorm list call
func DefaultPatchPrimaryStringType ¶ added in v0.9.0
func DefaultPatchPrimaryStringType(ctx context.Context, in *PrimaryStringType, updateMask *field_mask.FieldMask, db *gorm.DB) (*PrimaryStringType, error)
DefaultPatchPrimaryStringType executes a basic gorm update call with patch behavior
func DefaultPatchSetPrimaryStringType ¶ added in v1.0.0
func DefaultPatchSetPrimaryStringType(ctx context.Context, objects []*PrimaryStringType, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*PrimaryStringType, error)
DefaultPatchSetPrimaryStringType executes a bulk gorm update call with patch behavior
func DefaultReadPrimaryStringType ¶ added in v0.9.0
func DefaultReadPrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm.DB) (*PrimaryStringType, error)
DefaultReadPrimaryStringType executes a basic gorm read call
func DefaultStrictUpdatePrimaryStringType ¶ added in v0.9.0
func DefaultStrictUpdatePrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm.DB) (*PrimaryStringType, error)
DefaultStrictUpdatePrimaryStringType clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*PrimaryStringType) Descriptor
deprecated
added in
v0.9.0
func (*PrimaryStringType) Descriptor() ([]byte, []int)
Deprecated: Use PrimaryStringType.ProtoReflect.Descriptor instead.
func (*PrimaryStringType) GetChild ¶ added in v0.9.0
func (x *PrimaryStringType) GetChild() *ExternalChild
func (*PrimaryStringType) GetId ¶ added in v0.9.0
func (x *PrimaryStringType) GetId() string
func (*PrimaryStringType) ProtoMessage ¶ added in v0.9.0
func (*PrimaryStringType) ProtoMessage()
func (*PrimaryStringType) ProtoReflect ¶ added in v1.0.0
func (x *PrimaryStringType) ProtoReflect() protoreflect.Message
func (*PrimaryStringType) Reset ¶ added in v0.9.0
func (x *PrimaryStringType) Reset()
func (*PrimaryStringType) String ¶ added in v0.9.0
func (x *PrimaryStringType) String() string
func (*PrimaryStringType) ToORM ¶ added in v0.9.0
func (m *PrimaryStringType) ToORM(ctx context.Context) (PrimaryStringTypeORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type PrimaryStringTypeORM ¶ added in v0.9.0
type PrimaryStringTypeORM struct { Child *ExternalChildORM `gorm:"foreignkey:PrimaryStringTypeId;association_foreignkey:Id"` Id string }
func (PrimaryStringTypeORM) TableName ¶ added in v0.9.0
func (PrimaryStringTypeORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*PrimaryStringTypeORM) ToPB ¶ added in v0.9.0
func (m *PrimaryStringTypeORM) ToPB(ctx context.Context) (PrimaryStringType, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type PrimaryStringTypeORMWithAfterCreate_ ¶ added in v1.0.0
type PrimaryStringTypeORMWithAfterDeleteSet ¶ added in v0.15.0
type PrimaryStringTypeORMWithAfterDelete_ ¶ added in v1.0.0
type PrimaryStringTypeORMWithAfterListFind ¶ added in v0.12.0
type PrimaryStringTypeORMWithAfterReadFind ¶ added in v0.12.0
type PrimaryStringTypeORMWithAfterStrictUpdateSave ¶ added in v0.12.0
type PrimaryStringTypeORMWithBeforeCreate_ ¶ added in v1.0.0
type PrimaryStringTypeORMWithBeforeDeleteSet ¶ added in v0.15.0
type PrimaryStringTypeORMWithBeforeDelete_ ¶ added in v1.0.0
type PrimaryStringTypeORMWithBeforeListApplyQuery ¶ added in v0.12.0
type PrimaryStringTypeORMWithBeforeListFind ¶ added in v0.12.0
type PrimaryStringTypeORMWithBeforeReadApplyQuery ¶ added in v0.12.0
type PrimaryStringTypeORMWithBeforeReadFind ¶ added in v0.12.0
type PrimaryStringTypeORMWithBeforeStrictUpdateCleanup ¶ added in v0.12.0
type PrimaryStringTypeORMWithBeforeStrictUpdateSave ¶ added in v0.12.0
type PrimaryStringTypeWithAfterPatchSave ¶ added in v0.12.0
type PrimaryStringTypeWithAfterPatchSave interface {
AfterPatchSave(context.Context, *PrimaryStringType, *field_mask.FieldMask, *gorm.DB) error
}
type PrimaryStringTypeWithAfterToORM ¶ added in v0.9.0
type PrimaryStringTypeWithAfterToORM interface {
AfterToORM(context.Context, *PrimaryStringTypeORM) error
}
PrimaryStringTypeAfterToORM called after default ToORM code
type PrimaryStringTypeWithAfterToPB ¶ added in v0.9.0
type PrimaryStringTypeWithAfterToPB interface {
AfterToPB(context.Context, *PrimaryStringType) error
}
PrimaryStringTypeAfterToPB called after default ToPB code
type PrimaryStringTypeWithBeforePatchApplyFieldMask ¶ added in v0.12.0
type PrimaryStringTypeWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *PrimaryStringType, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type PrimaryStringTypeWithBeforePatchRead ¶ added in v0.12.0
type PrimaryStringTypeWithBeforePatchRead interface {
BeforePatchRead(context.Context, *PrimaryStringType, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type PrimaryStringTypeWithBeforePatchSave ¶ added in v0.9.1
type PrimaryStringTypeWithBeforePatchSave interface {
BeforePatchSave(context.Context, *PrimaryStringType, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type PrimaryStringTypeWithBeforeToORM ¶ added in v0.9.0
type PrimaryStringTypeWithBeforeToORM interface {
BeforeToORM(context.Context, *PrimaryStringTypeORM) error
}
PrimaryStringTypeBeforeToORM called before default ToORM code
type PrimaryStringTypeWithBeforeToPB ¶ added in v0.9.0
type PrimaryStringTypeWithBeforeToPB interface {
BeforeToPB(context.Context, *PrimaryStringType) error
}
PrimaryStringTypeBeforeToPB called before default ToPB code
type PrimaryUUIDType ¶ added in v0.9.0
type PrimaryUUIDType struct { Id *types.UUIDValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Child *ExternalChild `protobuf:"bytes,2,opt,name=child,proto3" json:"child,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskPrimaryUUIDType ¶ added in v0.9.0
func DefaultApplyFieldMaskPrimaryUUIDType(ctx context.Context, patchee *PrimaryUUIDType, patcher *PrimaryUUIDType, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*PrimaryUUIDType, error)
DefaultApplyFieldMaskPrimaryUUIDType patches an pbObject with patcher according to a field mask.
func DefaultCreatePrimaryUUIDType ¶ added in v0.9.0
func DefaultCreatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm.DB) (*PrimaryUUIDType, error)
DefaultCreatePrimaryUUIDType executes a basic gorm create call
func DefaultListPrimaryUUIDType ¶ added in v0.9.0
DefaultListPrimaryUUIDType executes a gorm list call
func DefaultPatchPrimaryUUIDType ¶ added in v0.9.0
func DefaultPatchPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, updateMask *field_mask.FieldMask, db *gorm.DB) (*PrimaryUUIDType, error)
DefaultPatchPrimaryUUIDType executes a basic gorm update call with patch behavior
func DefaultPatchSetPrimaryUUIDType ¶ added in v1.0.0
func DefaultPatchSetPrimaryUUIDType(ctx context.Context, objects []*PrimaryUUIDType, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*PrimaryUUIDType, error)
DefaultPatchSetPrimaryUUIDType executes a bulk gorm update call with patch behavior
func DefaultReadPrimaryUUIDType ¶ added in v0.9.0
func DefaultReadPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm.DB) (*PrimaryUUIDType, error)
DefaultReadPrimaryUUIDType executes a basic gorm read call
func DefaultStrictUpdatePrimaryUUIDType ¶ added in v0.9.0
func DefaultStrictUpdatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm.DB) (*PrimaryUUIDType, error)
DefaultStrictUpdatePrimaryUUIDType clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*PrimaryUUIDType) Descriptor
deprecated
added in
v0.9.0
func (*PrimaryUUIDType) Descriptor() ([]byte, []int)
Deprecated: Use PrimaryUUIDType.ProtoReflect.Descriptor instead.
func (*PrimaryUUIDType) GetChild ¶ added in v0.9.0
func (x *PrimaryUUIDType) GetChild() *ExternalChild
func (*PrimaryUUIDType) GetId ¶ added in v0.9.0
func (x *PrimaryUUIDType) GetId() *types.UUIDValue
func (*PrimaryUUIDType) ProtoMessage ¶ added in v0.9.0
func (*PrimaryUUIDType) ProtoMessage()
func (*PrimaryUUIDType) ProtoReflect ¶ added in v1.0.0
func (x *PrimaryUUIDType) ProtoReflect() protoreflect.Message
func (*PrimaryUUIDType) Reset ¶ added in v0.9.0
func (x *PrimaryUUIDType) Reset()
func (*PrimaryUUIDType) String ¶ added in v0.9.0
func (x *PrimaryUUIDType) String() string
func (*PrimaryUUIDType) ToORM ¶ added in v0.9.0
func (m *PrimaryUUIDType) ToORM(ctx context.Context) (PrimaryUUIDTypeORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type PrimaryUUIDTypeORM ¶ added in v0.9.0
type PrimaryUUIDTypeORM struct { Child *ExternalChildORM `gorm:"foreignkey:PrimaryUUIDTypeId;association_foreignkey:Id"` Id *_go.UUID `gorm:"type:uuid"` }
func (PrimaryUUIDTypeORM) TableName ¶ added in v0.9.0
func (PrimaryUUIDTypeORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*PrimaryUUIDTypeORM) ToPB ¶ added in v0.9.0
func (m *PrimaryUUIDTypeORM) ToPB(ctx context.Context) (PrimaryUUIDType, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type PrimaryUUIDTypeORMWithAfterCreate_ ¶ added in v1.0.0
type PrimaryUUIDTypeORMWithAfterDeleteSet ¶ added in v0.15.0
type PrimaryUUIDTypeORMWithAfterDelete_ ¶ added in v1.0.0
type PrimaryUUIDTypeORMWithAfterListFind ¶ added in v0.12.0
type PrimaryUUIDTypeORMWithAfterReadFind ¶ added in v0.12.0
type PrimaryUUIDTypeORMWithAfterStrictUpdateSave ¶ added in v0.12.0
type PrimaryUUIDTypeORMWithBeforeCreate_ ¶ added in v1.0.0
type PrimaryUUIDTypeORMWithBeforeDeleteSet ¶ added in v0.15.0
type PrimaryUUIDTypeORMWithBeforeDelete_ ¶ added in v1.0.0
type PrimaryUUIDTypeORMWithBeforeListApplyQuery ¶ added in v0.12.0
type PrimaryUUIDTypeORMWithBeforeListFind ¶ added in v0.12.0
type PrimaryUUIDTypeORMWithBeforeReadApplyQuery ¶ added in v0.12.0
type PrimaryUUIDTypeORMWithBeforeReadFind ¶ added in v0.12.0
type PrimaryUUIDTypeORMWithBeforeStrictUpdateCleanup ¶ added in v0.12.0
type PrimaryUUIDTypeORMWithBeforeStrictUpdateSave ¶ added in v0.12.0
type PrimaryUUIDTypeWithAfterPatchSave ¶ added in v0.12.0
type PrimaryUUIDTypeWithAfterPatchSave interface {
AfterPatchSave(context.Context, *PrimaryUUIDType, *field_mask.FieldMask, *gorm.DB) error
}
type PrimaryUUIDTypeWithAfterToORM ¶ added in v0.9.0
type PrimaryUUIDTypeWithAfterToORM interface {
AfterToORM(context.Context, *PrimaryUUIDTypeORM) error
}
PrimaryUUIDTypeAfterToORM called after default ToORM code
type PrimaryUUIDTypeWithAfterToPB ¶ added in v0.9.0
type PrimaryUUIDTypeWithAfterToPB interface {
AfterToPB(context.Context, *PrimaryUUIDType) error
}
PrimaryUUIDTypeAfterToPB called after default ToPB code
type PrimaryUUIDTypeWithBeforePatchApplyFieldMask ¶ added in v0.12.0
type PrimaryUUIDTypeWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *PrimaryUUIDType, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type PrimaryUUIDTypeWithBeforePatchRead ¶ added in v0.12.0
type PrimaryUUIDTypeWithBeforePatchRead interface {
BeforePatchRead(context.Context, *PrimaryUUIDType, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type PrimaryUUIDTypeWithBeforePatchSave ¶ added in v0.9.1
type PrimaryUUIDTypeWithBeforePatchSave interface {
BeforePatchSave(context.Context, *PrimaryUUIDType, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type PrimaryUUIDTypeWithBeforeToORM ¶ added in v0.9.0
type PrimaryUUIDTypeWithBeforeToORM interface {
BeforeToORM(context.Context, *PrimaryUUIDTypeORM) error
}
PrimaryUUIDTypeBeforeToORM called before default ToORM code
type PrimaryUUIDTypeWithBeforeToPB ¶ added in v0.9.0
type PrimaryUUIDTypeWithBeforeToPB interface {
BeforeToPB(context.Context, *PrimaryUUIDType) error
}
PrimaryUUIDTypeBeforeToPB called before default ToPB code
type ReadAccountRequest ¶ added in v0.14.0
type ReadAccountRequest struct { // For a read request, the id field is the only to be specified Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Fields *query.FieldSelection `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*ReadAccountRequest) Descriptor
deprecated
added in
v0.14.0
func (*ReadAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadAccountRequest.ProtoReflect.Descriptor instead.
func (*ReadAccountRequest) GetFields ¶ added in v0.14.0
func (x *ReadAccountRequest) GetFields() *query.FieldSelection
func (*ReadAccountRequest) GetId ¶ added in v0.14.0
func (x *ReadAccountRequest) GetId() uint64
func (*ReadAccountRequest) ProtoMessage ¶ added in v0.14.0
func (*ReadAccountRequest) ProtoMessage()
func (*ReadAccountRequest) ProtoReflect ¶ added in v1.0.0
func (x *ReadAccountRequest) ProtoReflect() protoreflect.Message
func (*ReadAccountRequest) Reset ¶ added in v0.14.0
func (x *ReadAccountRequest) Reset()
func (*ReadAccountRequest) String ¶ added in v0.14.0
func (x *ReadAccountRequest) String() string
type ReadBlogPostsResponse ¶ added in v0.14.0
type ReadBlogPostsResponse struct { Posts []*BlogPost `protobuf:"bytes,1,rep,name=posts,proto3" json:"posts,omitempty"` // contains filtered or unexported fields }
func (*ReadBlogPostsResponse) Descriptor
deprecated
added in
v0.14.0
func (*ReadBlogPostsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadBlogPostsResponse.ProtoReflect.Descriptor instead.
func (*ReadBlogPostsResponse) GetPosts ¶ added in v0.14.0
func (x *ReadBlogPostsResponse) GetPosts() []*BlogPost
func (*ReadBlogPostsResponse) ProtoMessage ¶ added in v0.14.0
func (*ReadBlogPostsResponse) ProtoMessage()
func (*ReadBlogPostsResponse) ProtoReflect ¶ added in v1.0.0
func (x *ReadBlogPostsResponse) ProtoReflect() protoreflect.Message
func (*ReadBlogPostsResponse) Reset ¶ added in v0.14.0
func (x *ReadBlogPostsResponse) Reset()
func (*ReadBlogPostsResponse) String ¶ added in v0.14.0
func (x *ReadBlogPostsResponse) String() string
type ReadIntPointRequest ¶ added in v0.2.0
type ReadIntPointRequest struct { // For a read request, the id field is the only to be specified Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Fields *query.FieldSelection `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*ReadIntPointRequest) Descriptor
deprecated
added in
v0.2.0
func (*ReadIntPointRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadIntPointRequest.ProtoReflect.Descriptor instead.
func (*ReadIntPointRequest) GetFields ¶ added in v0.11.0
func (x *ReadIntPointRequest) GetFields() *query.FieldSelection
func (*ReadIntPointRequest) GetId ¶ added in v0.2.0
func (x *ReadIntPointRequest) GetId() uint32
func (*ReadIntPointRequest) ProtoMessage ¶ added in v0.2.0
func (*ReadIntPointRequest) ProtoMessage()
func (*ReadIntPointRequest) ProtoReflect ¶ added in v1.0.0
func (x *ReadIntPointRequest) ProtoReflect() protoreflect.Message
func (*ReadIntPointRequest) Reset ¶ added in v0.2.0
func (x *ReadIntPointRequest) Reset()
func (*ReadIntPointRequest) String ¶ added in v0.2.0
func (x *ReadIntPointRequest) String() string
type ReadIntPointResponse ¶ added in v0.2.0
type ReadIntPointResponse struct { // Again the type with 'result' name Result *IntPoint `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*ReadIntPointResponse) Descriptor
deprecated
added in
v0.2.0
func (*ReadIntPointResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadIntPointResponse.ProtoReflect.Descriptor instead.
func (*ReadIntPointResponse) GetResult ¶ added in v0.2.0
func (x *ReadIntPointResponse) GetResult() *IntPoint
func (*ReadIntPointResponse) ProtoMessage ¶ added in v0.2.0
func (*ReadIntPointResponse) ProtoMessage()
func (*ReadIntPointResponse) ProtoReflect ¶ added in v1.0.0
func (x *ReadIntPointResponse) ProtoReflect() protoreflect.Message
func (*ReadIntPointResponse) Reset ¶ added in v0.2.0
func (x *ReadIntPointResponse) Reset()
func (*ReadIntPointResponse) String ¶ added in v0.2.0
func (x *ReadIntPointResponse) String() string
type Something ¶ added in v0.2.0
type Something struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
A dummy type to demo an rpc that can't be autogenerated
func DefaultApplyFieldMaskSomething ¶ added in v0.12.0
func DefaultApplyFieldMaskSomething(ctx context.Context, patchee *Something, patcher *Something, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Something, error)
DefaultApplyFieldMaskSomething patches an pbObject with patcher according to a field mask.
func DefaultCreateSomething ¶ added in v0.12.0
DefaultCreateSomething executes a basic gorm create call
func DefaultListSomething ¶ added in v0.12.0
DefaultListSomething executes a gorm list call
func (*Something) Descriptor
deprecated
added in
v0.2.0
func (*Something) ProtoMessage ¶ added in v0.2.0
func (*Something) ProtoMessage()
func (*Something) ProtoReflect ¶ added in v1.0.0
func (x *Something) ProtoReflect() protoreflect.Message
type SomethingORM ¶ added in v0.12.0
type SomethingORM struct {
Field string
}
func (SomethingORM) TableName ¶ added in v0.12.0
func (SomethingORM) TableName() string
TableName overrides the default tablename generated by GORM
type SomethingORMWithAfterCreate_ ¶ added in v1.0.0
type SomethingORMWithAfterListFind ¶ added in v0.12.0
type SomethingORMWithBeforeCreate_ ¶ added in v1.0.0
type SomethingORMWithBeforeListApplyQuery ¶ added in v0.12.0
type SomethingORMWithBeforeListFind ¶ added in v0.12.0
type SomethingWithAfterToORM ¶ added in v0.12.0
type SomethingWithAfterToORM interface {
AfterToORM(context.Context, *SomethingORM) error
}
SomethingAfterToORM called after default ToORM code
type SomethingWithAfterToPB ¶ added in v0.12.0
SomethingAfterToPB called after default ToPB code
type SomethingWithBeforeToORM ¶ added in v0.12.0
type SomethingWithBeforeToORM interface {
BeforeToORM(context.Context, *SomethingORM) error
}
SomethingBeforeToORM called before default ToORM code
type SomethingWithBeforeToPB ¶ added in v0.12.0
SomethingBeforeToPB called before default ToPB code
type TestAssocHandlerAppend ¶ added in v1.0.0
type TestAssocHandlerAppend struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TestTagAssoc []*TestTagAssociation `protobuf:"bytes,2,rep,name=testTagAssoc,proto3" json:"testTagAssoc,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskTestAssocHandlerAppend ¶ added in v1.0.0
func DefaultApplyFieldMaskTestAssocHandlerAppend(ctx context.Context, patchee *TestAssocHandlerAppend, patcher *TestAssocHandlerAppend, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*TestAssocHandlerAppend, error)
DefaultApplyFieldMaskTestAssocHandlerAppend patches an pbObject with patcher according to a field mask.
func DefaultCreateTestAssocHandlerAppend ¶ added in v1.0.0
func DefaultCreateTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm.DB) (*TestAssocHandlerAppend, error)
DefaultCreateTestAssocHandlerAppend executes a basic gorm create call
func DefaultListTestAssocHandlerAppend ¶ added in v1.0.0
func DefaultListTestAssocHandlerAppend(ctx context.Context, db *gorm.DB) ([]*TestAssocHandlerAppend, error)
DefaultListTestAssocHandlerAppend executes a gorm list call
func DefaultPatchSetTestAssocHandlerAppend ¶ added in v1.0.0
func DefaultPatchSetTestAssocHandlerAppend(ctx context.Context, objects []*TestAssocHandlerAppend, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*TestAssocHandlerAppend, error)
DefaultPatchSetTestAssocHandlerAppend executes a bulk gorm update call with patch behavior
func DefaultPatchTestAssocHandlerAppend ¶ added in v1.0.0
func DefaultPatchTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, updateMask *field_mask.FieldMask, db *gorm.DB) (*TestAssocHandlerAppend, error)
DefaultPatchTestAssocHandlerAppend executes a basic gorm update call with patch behavior
func DefaultReadTestAssocHandlerAppend ¶ added in v1.0.0
func DefaultReadTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm.DB) (*TestAssocHandlerAppend, error)
DefaultReadTestAssocHandlerAppend executes a basic gorm read call
func DefaultStrictUpdateTestAssocHandlerAppend ¶ added in v1.0.0
func DefaultStrictUpdateTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm.DB) (*TestAssocHandlerAppend, error)
DefaultStrictUpdateTestAssocHandlerAppend clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*TestAssocHandlerAppend) Descriptor
deprecated
added in
v1.0.0
func (*TestAssocHandlerAppend) Descriptor() ([]byte, []int)
Deprecated: Use TestAssocHandlerAppend.ProtoReflect.Descriptor instead.
func (*TestAssocHandlerAppend) GetId ¶ added in v1.0.0
func (x *TestAssocHandlerAppend) GetId() string
func (*TestAssocHandlerAppend) GetTestTagAssoc ¶ added in v1.0.0
func (x *TestAssocHandlerAppend) GetTestTagAssoc() []*TestTagAssociation
func (*TestAssocHandlerAppend) ProtoMessage ¶ added in v1.0.0
func (*TestAssocHandlerAppend) ProtoMessage()
func (*TestAssocHandlerAppend) ProtoReflect ¶ added in v1.0.0
func (x *TestAssocHandlerAppend) ProtoReflect() protoreflect.Message
func (*TestAssocHandlerAppend) Reset ¶ added in v1.0.0
func (x *TestAssocHandlerAppend) Reset()
func (*TestAssocHandlerAppend) String ¶ added in v1.0.0
func (x *TestAssocHandlerAppend) String() string
func (*TestAssocHandlerAppend) ToORM ¶ added in v1.0.0
func (m *TestAssocHandlerAppend) ToORM(ctx context.Context) (TestAssocHandlerAppendORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type TestAssocHandlerAppendORM ¶ added in v1.0.0
type TestAssocHandlerAppendORM struct { Id string TestTagAssoc []*TestTagAssociationORM `gorm:"foreignkey:TestAssocHandlerAppendId;association_foreignkey:Id;append:true"` }
func (TestAssocHandlerAppendORM) TableName ¶ added in v1.0.0
func (TestAssocHandlerAppendORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*TestAssocHandlerAppendORM) ToPB ¶ added in v1.0.0
func (m *TestAssocHandlerAppendORM) ToPB(ctx context.Context) (TestAssocHandlerAppend, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type TestAssocHandlerAppendORMWithAfterCreate_ ¶ added in v1.0.0
type TestAssocHandlerAppendORMWithAfterDeleteSet ¶ added in v1.0.0
type TestAssocHandlerAppendORMWithAfterDelete_ ¶ added in v1.0.0
type TestAssocHandlerAppendORMWithAfterListFind ¶ added in v1.0.0
type TestAssocHandlerAppendORMWithAfterReadFind ¶ added in v1.0.0
type TestAssocHandlerAppendORMWithAfterStrictUpdateSave ¶ added in v1.0.0
type TestAssocHandlerAppendORMWithBeforeCreate_ ¶ added in v1.0.0
type TestAssocHandlerAppendORMWithBeforeDeleteSet ¶ added in v1.0.0
type TestAssocHandlerAppendORMWithBeforeDelete_ ¶ added in v1.0.0
type TestAssocHandlerAppendORMWithBeforeListApplyQuery ¶ added in v1.0.0
type TestAssocHandlerAppendORMWithBeforeListFind ¶ added in v1.0.0
type TestAssocHandlerAppendORMWithBeforeReadApplyQuery ¶ added in v1.0.0
type TestAssocHandlerAppendORMWithBeforeReadFind ¶ added in v1.0.0
type TestAssocHandlerAppendORMWithBeforeStrictUpdateCleanup ¶ added in v1.0.0
type TestAssocHandlerAppendORMWithBeforeStrictUpdateSave ¶ added in v1.0.0
type TestAssocHandlerAppendWithAfterPatchSave ¶ added in v1.0.0
type TestAssocHandlerAppendWithAfterPatchSave interface {
AfterPatchSave(context.Context, *TestAssocHandlerAppend, *field_mask.FieldMask, *gorm.DB) error
}
type TestAssocHandlerAppendWithAfterToORM ¶ added in v1.0.0
type TestAssocHandlerAppendWithAfterToORM interface {
AfterToORM(context.Context, *TestAssocHandlerAppendORM) error
}
TestAssocHandlerAppendAfterToORM called after default ToORM code
type TestAssocHandlerAppendWithAfterToPB ¶ added in v1.0.0
type TestAssocHandlerAppendWithAfterToPB interface {
AfterToPB(context.Context, *TestAssocHandlerAppend) error
}
TestAssocHandlerAppendAfterToPB called after default ToPB code
type TestAssocHandlerAppendWithBeforePatchApplyFieldMask ¶ added in v1.0.0
type TestAssocHandlerAppendWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *TestAssocHandlerAppend, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TestAssocHandlerAppendWithBeforePatchRead ¶ added in v1.0.0
type TestAssocHandlerAppendWithBeforePatchRead interface {
BeforePatchRead(context.Context, *TestAssocHandlerAppend, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TestAssocHandlerAppendWithBeforePatchSave ¶ added in v1.0.0
type TestAssocHandlerAppendWithBeforePatchSave interface {
BeforePatchSave(context.Context, *TestAssocHandlerAppend, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TestAssocHandlerAppendWithBeforeToORM ¶ added in v1.0.0
type TestAssocHandlerAppendWithBeforeToORM interface {
BeforeToORM(context.Context, *TestAssocHandlerAppendORM) error
}
TestAssocHandlerAppendBeforeToORM called before default ToORM code
type TestAssocHandlerAppendWithBeforeToPB ¶ added in v1.0.0
type TestAssocHandlerAppendWithBeforeToPB interface {
BeforeToPB(context.Context, *TestAssocHandlerAppend) error
}
TestAssocHandlerAppendBeforeToPB called before default ToPB code
type TestAssocHandlerClear ¶ added in v1.0.0
type TestAssocHandlerClear struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TestTagAssoc []*TestTagAssociation `protobuf:"bytes,2,rep,name=testTagAssoc,proto3" json:"testTagAssoc,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskTestAssocHandlerClear ¶ added in v1.0.0
func DefaultApplyFieldMaskTestAssocHandlerClear(ctx context.Context, patchee *TestAssocHandlerClear, patcher *TestAssocHandlerClear, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*TestAssocHandlerClear, error)
DefaultApplyFieldMaskTestAssocHandlerClear patches an pbObject with patcher according to a field mask.
func DefaultCreateTestAssocHandlerClear ¶ added in v1.0.0
func DefaultCreateTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm.DB) (*TestAssocHandlerClear, error)
DefaultCreateTestAssocHandlerClear executes a basic gorm create call
func DefaultListTestAssocHandlerClear ¶ added in v1.0.0
func DefaultListTestAssocHandlerClear(ctx context.Context, db *gorm.DB) ([]*TestAssocHandlerClear, error)
DefaultListTestAssocHandlerClear executes a gorm list call
func DefaultPatchSetTestAssocHandlerClear ¶ added in v1.0.0
func DefaultPatchSetTestAssocHandlerClear(ctx context.Context, objects []*TestAssocHandlerClear, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*TestAssocHandlerClear, error)
DefaultPatchSetTestAssocHandlerClear executes a bulk gorm update call with patch behavior
func DefaultPatchTestAssocHandlerClear ¶ added in v1.0.0
func DefaultPatchTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, updateMask *field_mask.FieldMask, db *gorm.DB) (*TestAssocHandlerClear, error)
DefaultPatchTestAssocHandlerClear executes a basic gorm update call with patch behavior
func DefaultReadTestAssocHandlerClear ¶ added in v1.0.0
func DefaultReadTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm.DB) (*TestAssocHandlerClear, error)
DefaultReadTestAssocHandlerClear executes a basic gorm read call
func DefaultStrictUpdateTestAssocHandlerClear ¶ added in v1.0.0
func DefaultStrictUpdateTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm.DB) (*TestAssocHandlerClear, error)
DefaultStrictUpdateTestAssocHandlerClear clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*TestAssocHandlerClear) Descriptor
deprecated
added in
v1.0.0
func (*TestAssocHandlerClear) Descriptor() ([]byte, []int)
Deprecated: Use TestAssocHandlerClear.ProtoReflect.Descriptor instead.
func (*TestAssocHandlerClear) GetId ¶ added in v1.0.0
func (x *TestAssocHandlerClear) GetId() string
func (*TestAssocHandlerClear) GetTestTagAssoc ¶ added in v1.0.0
func (x *TestAssocHandlerClear) GetTestTagAssoc() []*TestTagAssociation
func (*TestAssocHandlerClear) ProtoMessage ¶ added in v1.0.0
func (*TestAssocHandlerClear) ProtoMessage()
func (*TestAssocHandlerClear) ProtoReflect ¶ added in v1.0.0
func (x *TestAssocHandlerClear) ProtoReflect() protoreflect.Message
func (*TestAssocHandlerClear) Reset ¶ added in v1.0.0
func (x *TestAssocHandlerClear) Reset()
func (*TestAssocHandlerClear) String ¶ added in v1.0.0
func (x *TestAssocHandlerClear) String() string
func (*TestAssocHandlerClear) ToORM ¶ added in v1.0.0
func (m *TestAssocHandlerClear) ToORM(ctx context.Context) (TestAssocHandlerClearORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type TestAssocHandlerClearORM ¶ added in v1.0.0
type TestAssocHandlerClearORM struct { Id string TestTagAssoc []*TestTagAssociationORM `gorm:"foreignkey:TestAssocHandlerClearId;association_foreignkey:Id;clear:true"` }
func (TestAssocHandlerClearORM) TableName ¶ added in v1.0.0
func (TestAssocHandlerClearORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*TestAssocHandlerClearORM) ToPB ¶ added in v1.0.0
func (m *TestAssocHandlerClearORM) ToPB(ctx context.Context) (TestAssocHandlerClear, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type TestAssocHandlerClearORMWithAfterCreate_ ¶ added in v1.0.0
type TestAssocHandlerClearORMWithAfterDeleteSet ¶ added in v1.0.0
type TestAssocHandlerClearORMWithAfterDelete_ ¶ added in v1.0.0
type TestAssocHandlerClearORMWithAfterListFind ¶ added in v1.0.0
type TestAssocHandlerClearORMWithAfterReadFind ¶ added in v1.0.0
type TestAssocHandlerClearORMWithAfterStrictUpdateSave ¶ added in v1.0.0
type TestAssocHandlerClearORMWithBeforeCreate_ ¶ added in v1.0.0
type TestAssocHandlerClearORMWithBeforeDeleteSet ¶ added in v1.0.0
type TestAssocHandlerClearORMWithBeforeDelete_ ¶ added in v1.0.0
type TestAssocHandlerClearORMWithBeforeListApplyQuery ¶ added in v1.0.0
type TestAssocHandlerClearORMWithBeforeListFind ¶ added in v1.0.0
type TestAssocHandlerClearORMWithBeforeReadApplyQuery ¶ added in v1.0.0
type TestAssocHandlerClearORMWithBeforeReadFind ¶ added in v1.0.0
type TestAssocHandlerClearORMWithBeforeStrictUpdateCleanup ¶ added in v1.0.0
type TestAssocHandlerClearORMWithBeforeStrictUpdateSave ¶ added in v1.0.0
type TestAssocHandlerClearWithAfterPatchSave ¶ added in v1.0.0
type TestAssocHandlerClearWithAfterPatchSave interface {
AfterPatchSave(context.Context, *TestAssocHandlerClear, *field_mask.FieldMask, *gorm.DB) error
}
type TestAssocHandlerClearWithAfterToORM ¶ added in v1.0.0
type TestAssocHandlerClearWithAfterToORM interface {
AfterToORM(context.Context, *TestAssocHandlerClearORM) error
}
TestAssocHandlerClearAfterToORM called after default ToORM code
type TestAssocHandlerClearWithAfterToPB ¶ added in v1.0.0
type TestAssocHandlerClearWithAfterToPB interface {
AfterToPB(context.Context, *TestAssocHandlerClear) error
}
TestAssocHandlerClearAfterToPB called after default ToPB code
type TestAssocHandlerClearWithBeforePatchApplyFieldMask ¶ added in v1.0.0
type TestAssocHandlerClearWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *TestAssocHandlerClear, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TestAssocHandlerClearWithBeforePatchRead ¶ added in v1.0.0
type TestAssocHandlerClearWithBeforePatchRead interface {
BeforePatchRead(context.Context, *TestAssocHandlerClear, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TestAssocHandlerClearWithBeforePatchSave ¶ added in v1.0.0
type TestAssocHandlerClearWithBeforePatchSave interface {
BeforePatchSave(context.Context, *TestAssocHandlerClear, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TestAssocHandlerClearWithBeforeToORM ¶ added in v1.0.0
type TestAssocHandlerClearWithBeforeToORM interface {
BeforeToORM(context.Context, *TestAssocHandlerClearORM) error
}
TestAssocHandlerClearBeforeToORM called before default ToORM code
type TestAssocHandlerClearWithBeforeToPB ¶ added in v1.0.0
type TestAssocHandlerClearWithBeforeToPB interface {
BeforeToPB(context.Context, *TestAssocHandlerClear) error
}
TestAssocHandlerClearBeforeToPB called before default ToPB code
type TestAssocHandlerDefault ¶ added in v1.0.0
type TestAssocHandlerDefault struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TestTagAssoc []*TestTagAssociation `protobuf:"bytes,2,rep,name=testTagAssoc,proto3" json:"testTagAssoc,omitempty"` // contains filtered or unexported fields }
replace by default
func DefaultApplyFieldMaskTestAssocHandlerDefault ¶ added in v1.0.0
func DefaultApplyFieldMaskTestAssocHandlerDefault(ctx context.Context, patchee *TestAssocHandlerDefault, patcher *TestAssocHandlerDefault, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*TestAssocHandlerDefault, error)
DefaultApplyFieldMaskTestAssocHandlerDefault patches an pbObject with patcher according to a field mask.
func DefaultCreateTestAssocHandlerDefault ¶ added in v1.0.0
func DefaultCreateTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm.DB) (*TestAssocHandlerDefault, error)
DefaultCreateTestAssocHandlerDefault executes a basic gorm create call
func DefaultListTestAssocHandlerDefault ¶ added in v1.0.0
func DefaultListTestAssocHandlerDefault(ctx context.Context, db *gorm.DB) ([]*TestAssocHandlerDefault, error)
DefaultListTestAssocHandlerDefault executes a gorm list call
func DefaultPatchSetTestAssocHandlerDefault ¶ added in v1.0.0
func DefaultPatchSetTestAssocHandlerDefault(ctx context.Context, objects []*TestAssocHandlerDefault, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*TestAssocHandlerDefault, error)
DefaultPatchSetTestAssocHandlerDefault executes a bulk gorm update call with patch behavior
func DefaultPatchTestAssocHandlerDefault ¶ added in v1.0.0
func DefaultPatchTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, updateMask *field_mask.FieldMask, db *gorm.DB) (*TestAssocHandlerDefault, error)
DefaultPatchTestAssocHandlerDefault executes a basic gorm update call with patch behavior
func DefaultReadTestAssocHandlerDefault ¶ added in v1.0.0
func DefaultReadTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm.DB) (*TestAssocHandlerDefault, error)
DefaultReadTestAssocHandlerDefault executes a basic gorm read call
func DefaultStrictUpdateTestAssocHandlerDefault ¶ added in v1.0.0
func DefaultStrictUpdateTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm.DB) (*TestAssocHandlerDefault, error)
DefaultStrictUpdateTestAssocHandlerDefault clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*TestAssocHandlerDefault) Descriptor
deprecated
added in
v1.0.0
func (*TestAssocHandlerDefault) Descriptor() ([]byte, []int)
Deprecated: Use TestAssocHandlerDefault.ProtoReflect.Descriptor instead.
func (*TestAssocHandlerDefault) GetId ¶ added in v1.0.0
func (x *TestAssocHandlerDefault) GetId() string
func (*TestAssocHandlerDefault) GetTestTagAssoc ¶ added in v1.0.0
func (x *TestAssocHandlerDefault) GetTestTagAssoc() []*TestTagAssociation
func (*TestAssocHandlerDefault) ProtoMessage ¶ added in v1.0.0
func (*TestAssocHandlerDefault) ProtoMessage()
func (*TestAssocHandlerDefault) ProtoReflect ¶ added in v1.0.0
func (x *TestAssocHandlerDefault) ProtoReflect() protoreflect.Message
func (*TestAssocHandlerDefault) Reset ¶ added in v1.0.0
func (x *TestAssocHandlerDefault) Reset()
func (*TestAssocHandlerDefault) String ¶ added in v1.0.0
func (x *TestAssocHandlerDefault) String() string
func (*TestAssocHandlerDefault) ToORM ¶ added in v1.0.0
func (m *TestAssocHandlerDefault) ToORM(ctx context.Context) (TestAssocHandlerDefaultORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type TestAssocHandlerDefaultORM ¶ added in v1.0.0
type TestAssocHandlerDefaultORM struct { Id string TestTagAssoc []*TestTagAssociationORM `gorm:"foreignkey:TestAssocHandlerDefaultId;association_foreignkey:Id"` }
func (TestAssocHandlerDefaultORM) TableName ¶ added in v1.0.0
func (TestAssocHandlerDefaultORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*TestAssocHandlerDefaultORM) ToPB ¶ added in v1.0.0
func (m *TestAssocHandlerDefaultORM) ToPB(ctx context.Context) (TestAssocHandlerDefault, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type TestAssocHandlerDefaultORMWithAfterCreate_ ¶ added in v1.0.0
type TestAssocHandlerDefaultORMWithAfterDeleteSet ¶ added in v1.0.0
type TestAssocHandlerDefaultORMWithAfterDelete_ ¶ added in v1.0.0
type TestAssocHandlerDefaultORMWithAfterListFind ¶ added in v1.0.0
type TestAssocHandlerDefaultORMWithAfterReadFind ¶ added in v1.0.0
type TestAssocHandlerDefaultORMWithAfterStrictUpdateSave ¶ added in v1.0.0
type TestAssocHandlerDefaultORMWithBeforeCreate_ ¶ added in v1.0.0
type TestAssocHandlerDefaultORMWithBeforeDeleteSet ¶ added in v1.0.0
type TestAssocHandlerDefaultORMWithBeforeDelete_ ¶ added in v1.0.0
type TestAssocHandlerDefaultORMWithBeforeListApplyQuery ¶ added in v1.0.0
type TestAssocHandlerDefaultORMWithBeforeListFind ¶ added in v1.0.0
type TestAssocHandlerDefaultORMWithBeforeReadApplyQuery ¶ added in v1.0.0
type TestAssocHandlerDefaultORMWithBeforeReadFind ¶ added in v1.0.0
type TestAssocHandlerDefaultORMWithBeforeStrictUpdateCleanup ¶ added in v1.0.0
type TestAssocHandlerDefaultORMWithBeforeStrictUpdateSave ¶ added in v1.0.0
type TestAssocHandlerDefaultWithAfterPatchSave ¶ added in v1.0.0
type TestAssocHandlerDefaultWithAfterPatchSave interface {
AfterPatchSave(context.Context, *TestAssocHandlerDefault, *field_mask.FieldMask, *gorm.DB) error
}
type TestAssocHandlerDefaultWithAfterToORM ¶ added in v1.0.0
type TestAssocHandlerDefaultWithAfterToORM interface {
AfterToORM(context.Context, *TestAssocHandlerDefaultORM) error
}
TestAssocHandlerDefaultAfterToORM called after default ToORM code
type TestAssocHandlerDefaultWithAfterToPB ¶ added in v1.0.0
type TestAssocHandlerDefaultWithAfterToPB interface {
AfterToPB(context.Context, *TestAssocHandlerDefault) error
}
TestAssocHandlerDefaultAfterToPB called after default ToPB code
type TestAssocHandlerDefaultWithBeforePatchApplyFieldMask ¶ added in v1.0.0
type TestAssocHandlerDefaultWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *TestAssocHandlerDefault, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TestAssocHandlerDefaultWithBeforePatchRead ¶ added in v1.0.0
type TestAssocHandlerDefaultWithBeforePatchRead interface {
BeforePatchRead(context.Context, *TestAssocHandlerDefault, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TestAssocHandlerDefaultWithBeforePatchSave ¶ added in v1.0.0
type TestAssocHandlerDefaultWithBeforePatchSave interface {
BeforePatchSave(context.Context, *TestAssocHandlerDefault, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TestAssocHandlerDefaultWithBeforeToORM ¶ added in v1.0.0
type TestAssocHandlerDefaultWithBeforeToORM interface {
BeforeToORM(context.Context, *TestAssocHandlerDefaultORM) error
}
TestAssocHandlerDefaultBeforeToORM called before default ToORM code
type TestAssocHandlerDefaultWithBeforeToPB ¶ added in v1.0.0
type TestAssocHandlerDefaultWithBeforeToPB interface {
BeforeToPB(context.Context, *TestAssocHandlerDefault) error
}
TestAssocHandlerDefaultBeforeToPB called before default ToPB code
type TestAssocHandlerReplace ¶ added in v1.0.0
type TestAssocHandlerReplace struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TestTagAssoc []*TestTagAssociation `protobuf:"bytes,2,rep,name=testTagAssoc,proto3" json:"testTagAssoc,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskTestAssocHandlerReplace ¶ added in v1.0.0
func DefaultApplyFieldMaskTestAssocHandlerReplace(ctx context.Context, patchee *TestAssocHandlerReplace, patcher *TestAssocHandlerReplace, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*TestAssocHandlerReplace, error)
DefaultApplyFieldMaskTestAssocHandlerReplace patches an pbObject with patcher according to a field mask.
func DefaultCreateTestAssocHandlerReplace ¶ added in v1.0.0
func DefaultCreateTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm.DB) (*TestAssocHandlerReplace, error)
DefaultCreateTestAssocHandlerReplace executes a basic gorm create call
func DefaultListTestAssocHandlerReplace ¶ added in v1.0.0
func DefaultListTestAssocHandlerReplace(ctx context.Context, db *gorm.DB) ([]*TestAssocHandlerReplace, error)
DefaultListTestAssocHandlerReplace executes a gorm list call
func DefaultPatchSetTestAssocHandlerReplace ¶ added in v1.0.0
func DefaultPatchSetTestAssocHandlerReplace(ctx context.Context, objects []*TestAssocHandlerReplace, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*TestAssocHandlerReplace, error)
DefaultPatchSetTestAssocHandlerReplace executes a bulk gorm update call with patch behavior
func DefaultPatchTestAssocHandlerReplace ¶ added in v1.0.0
func DefaultPatchTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, updateMask *field_mask.FieldMask, db *gorm.DB) (*TestAssocHandlerReplace, error)
DefaultPatchTestAssocHandlerReplace executes a basic gorm update call with patch behavior
func DefaultReadTestAssocHandlerReplace ¶ added in v1.0.0
func DefaultReadTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm.DB) (*TestAssocHandlerReplace, error)
DefaultReadTestAssocHandlerReplace executes a basic gorm read call
func DefaultStrictUpdateTestAssocHandlerReplace ¶ added in v1.0.0
func DefaultStrictUpdateTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm.DB) (*TestAssocHandlerReplace, error)
DefaultStrictUpdateTestAssocHandlerReplace clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*TestAssocHandlerReplace) Descriptor
deprecated
added in
v1.0.0
func (*TestAssocHandlerReplace) Descriptor() ([]byte, []int)
Deprecated: Use TestAssocHandlerReplace.ProtoReflect.Descriptor instead.
func (*TestAssocHandlerReplace) GetId ¶ added in v1.0.0
func (x *TestAssocHandlerReplace) GetId() string
func (*TestAssocHandlerReplace) GetTestTagAssoc ¶ added in v1.0.0
func (x *TestAssocHandlerReplace) GetTestTagAssoc() []*TestTagAssociation
func (*TestAssocHandlerReplace) ProtoMessage ¶ added in v1.0.0
func (*TestAssocHandlerReplace) ProtoMessage()
func (*TestAssocHandlerReplace) ProtoReflect ¶ added in v1.0.0
func (x *TestAssocHandlerReplace) ProtoReflect() protoreflect.Message
func (*TestAssocHandlerReplace) Reset ¶ added in v1.0.0
func (x *TestAssocHandlerReplace) Reset()
func (*TestAssocHandlerReplace) String ¶ added in v1.0.0
func (x *TestAssocHandlerReplace) String() string
func (*TestAssocHandlerReplace) ToORM ¶ added in v1.0.0
func (m *TestAssocHandlerReplace) ToORM(ctx context.Context) (TestAssocHandlerReplaceORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type TestAssocHandlerReplaceORM ¶ added in v1.0.0
type TestAssocHandlerReplaceORM struct { Id string TestTagAssoc []*TestTagAssociationORM `gorm:"foreignkey:TestAssocHandlerReplaceId;association_foreignkey:Id;replace:true"` }
func (TestAssocHandlerReplaceORM) TableName ¶ added in v1.0.0
func (TestAssocHandlerReplaceORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*TestAssocHandlerReplaceORM) ToPB ¶ added in v1.0.0
func (m *TestAssocHandlerReplaceORM) ToPB(ctx context.Context) (TestAssocHandlerReplace, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type TestAssocHandlerReplaceORMWithAfterCreate_ ¶ added in v1.0.0
type TestAssocHandlerReplaceORMWithAfterDeleteSet ¶ added in v1.0.0
type TestAssocHandlerReplaceORMWithAfterDelete_ ¶ added in v1.0.0
type TestAssocHandlerReplaceORMWithAfterListFind ¶ added in v1.0.0
type TestAssocHandlerReplaceORMWithAfterReadFind ¶ added in v1.0.0
type TestAssocHandlerReplaceORMWithAfterStrictUpdateSave ¶ added in v1.0.0
type TestAssocHandlerReplaceORMWithBeforeCreate_ ¶ added in v1.0.0
type TestAssocHandlerReplaceORMWithBeforeDeleteSet ¶ added in v1.0.0
type TestAssocHandlerReplaceORMWithBeforeDelete_ ¶ added in v1.0.0
type TestAssocHandlerReplaceORMWithBeforeListApplyQuery ¶ added in v1.0.0
type TestAssocHandlerReplaceORMWithBeforeListFind ¶ added in v1.0.0
type TestAssocHandlerReplaceORMWithBeforeReadApplyQuery ¶ added in v1.0.0
type TestAssocHandlerReplaceORMWithBeforeReadFind ¶ added in v1.0.0
type TestAssocHandlerReplaceORMWithBeforeStrictUpdateCleanup ¶ added in v1.0.0
type TestAssocHandlerReplaceORMWithBeforeStrictUpdateSave ¶ added in v1.0.0
type TestAssocHandlerReplaceWithAfterPatchSave ¶ added in v1.0.0
type TestAssocHandlerReplaceWithAfterPatchSave interface {
AfterPatchSave(context.Context, *TestAssocHandlerReplace, *field_mask.FieldMask, *gorm.DB) error
}
type TestAssocHandlerReplaceWithAfterToORM ¶ added in v1.0.0
type TestAssocHandlerReplaceWithAfterToORM interface {
AfterToORM(context.Context, *TestAssocHandlerReplaceORM) error
}
TestAssocHandlerReplaceAfterToORM called after default ToORM code
type TestAssocHandlerReplaceWithAfterToPB ¶ added in v1.0.0
type TestAssocHandlerReplaceWithAfterToPB interface {
AfterToPB(context.Context, *TestAssocHandlerReplace) error
}
TestAssocHandlerReplaceAfterToPB called after default ToPB code
type TestAssocHandlerReplaceWithBeforePatchApplyFieldMask ¶ added in v1.0.0
type TestAssocHandlerReplaceWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *TestAssocHandlerReplace, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TestAssocHandlerReplaceWithBeforePatchRead ¶ added in v1.0.0
type TestAssocHandlerReplaceWithBeforePatchRead interface {
BeforePatchRead(context.Context, *TestAssocHandlerReplace, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TestAssocHandlerReplaceWithBeforePatchSave ¶ added in v1.0.0
type TestAssocHandlerReplaceWithBeforePatchSave interface {
BeforePatchSave(context.Context, *TestAssocHandlerReplace, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TestAssocHandlerReplaceWithBeforeToORM ¶ added in v1.0.0
type TestAssocHandlerReplaceWithBeforeToORM interface {
BeforeToORM(context.Context, *TestAssocHandlerReplaceORM) error
}
TestAssocHandlerReplaceBeforeToORM called before default ToORM code
type TestAssocHandlerReplaceWithBeforeToPB ¶ added in v1.0.0
type TestAssocHandlerReplaceWithBeforeToPB interface {
BeforeToPB(context.Context, *TestAssocHandlerReplace) error
}
TestAssocHandlerReplaceBeforeToPB called before default ToPB code
type TestTag ¶ added in v0.14.0
type TestTag struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TestTagAssoc *TestTagAssociation `protobuf:"bytes,2,opt,name=testTagAssoc,proto3" json:"testTagAssoc,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskTestTag ¶ added in v0.14.0
func DefaultApplyFieldMaskTestTag(ctx context.Context, patchee *TestTag, patcher *TestTag, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*TestTag, error)
DefaultApplyFieldMaskTestTag patches an pbObject with patcher according to a field mask.
func DefaultCreateTestTag ¶ added in v0.14.0
DefaultCreateTestTag executes a basic gorm create call
func DefaultListTestTag ¶ added in v0.14.0
DefaultListTestTag executes a gorm list call
func DefaultPatchSetTestTag ¶ added in v1.0.0
func DefaultPatchSetTestTag(ctx context.Context, objects []*TestTag, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*TestTag, error)
DefaultPatchSetTestTag executes a bulk gorm update call with patch behavior
func DefaultPatchTestTag ¶ added in v0.14.0
func DefaultPatchTestTag(ctx context.Context, in *TestTag, updateMask *field_mask.FieldMask, db *gorm.DB) (*TestTag, error)
DefaultPatchTestTag executes a basic gorm update call with patch behavior
func DefaultReadTestTag ¶ added in v0.14.0
DefaultReadTestTag executes a basic gorm read call
func DefaultStrictUpdateTestTag ¶ added in v0.14.0
DefaultStrictUpdateTestTag clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*TestTag) Descriptor
deprecated
added in
v0.14.0
func (*TestTag) GetTestTagAssoc ¶ added in v0.14.0
func (x *TestTag) GetTestTagAssoc() *TestTagAssociation
func (*TestTag) ProtoMessage ¶ added in v0.14.0
func (*TestTag) ProtoMessage()
func (*TestTag) ProtoReflect ¶ added in v1.0.0
func (x *TestTag) ProtoReflect() protoreflect.Message
type TestTagAssociation ¶ added in v0.14.0
type TestTagAssociation struct { SomeField string `protobuf:"bytes,1,opt,name=some_field,json=someField,proto3" json:"some_field,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskTestTagAssociation ¶ added in v0.14.0
func DefaultApplyFieldMaskTestTagAssociation(ctx context.Context, patchee *TestTagAssociation, patcher *TestTagAssociation, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*TestTagAssociation, error)
DefaultApplyFieldMaskTestTagAssociation patches an pbObject with patcher according to a field mask.
func DefaultCreateTestTagAssociation ¶ added in v0.14.0
func DefaultCreateTestTagAssociation(ctx context.Context, in *TestTagAssociation, db *gorm.DB) (*TestTagAssociation, error)
DefaultCreateTestTagAssociation executes a basic gorm create call
func DefaultListTestTagAssociation ¶ added in v0.14.0
DefaultListTestTagAssociation executes a gorm list call
func (*TestTagAssociation) Descriptor
deprecated
added in
v0.14.0
func (*TestTagAssociation) Descriptor() ([]byte, []int)
Deprecated: Use TestTagAssociation.ProtoReflect.Descriptor instead.
func (*TestTagAssociation) GetSomeField ¶ added in v0.14.0
func (x *TestTagAssociation) GetSomeField() string
func (*TestTagAssociation) ProtoMessage ¶ added in v0.14.0
func (*TestTagAssociation) ProtoMessage()
func (*TestTagAssociation) ProtoReflect ¶ added in v1.0.0
func (x *TestTagAssociation) ProtoReflect() protoreflect.Message
func (*TestTagAssociation) Reset ¶ added in v0.14.0
func (x *TestTagAssociation) Reset()
func (*TestTagAssociation) String ¶ added in v0.14.0
func (x *TestTagAssociation) String() string
func (*TestTagAssociation) ToORM ¶ added in v0.14.0
func (m *TestTagAssociation) ToORM(ctx context.Context) (TestTagAssociationORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type TestTagAssociationORM ¶ added in v0.13.0
type TestTagAssociationORM struct { SomeField string TestAssocHandlerAppendId *string TestAssocHandlerClearId *string TestAssocHandlerDefaultId *string TestAssocHandlerReplaceId *string TestTagId *string }
func (TestTagAssociationORM) TableName ¶ added in v0.13.0
func (TestTagAssociationORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*TestTagAssociationORM) ToPB ¶ added in v0.13.0
func (m *TestTagAssociationORM) ToPB(ctx context.Context) (TestTagAssociation, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type TestTagAssociationORMWithAfterCreate_ ¶ added in v1.0.0
type TestTagAssociationORMWithAfterListFind ¶ added in v0.13.0
type TestTagAssociationORMWithBeforeCreate_ ¶ added in v1.0.0
type TestTagAssociationORMWithBeforeListApplyQuery ¶ added in v0.13.0
type TestTagAssociationORMWithBeforeListFind ¶ added in v0.13.0
type TestTagAssociationWithAfterToORM ¶ added in v0.13.0
type TestTagAssociationWithAfterToORM interface {
AfterToORM(context.Context, *TestTagAssociationORM) error
}
TestTagAssociationAfterToORM called after default ToORM code
type TestTagAssociationWithAfterToPB ¶ added in v0.13.0
type TestTagAssociationWithAfterToPB interface {
AfterToPB(context.Context, *TestTagAssociation) error
}
TestTagAssociationAfterToPB called after default ToPB code
type TestTagAssociationWithBeforeToORM ¶ added in v0.13.0
type TestTagAssociationWithBeforeToORM interface {
BeforeToORM(context.Context, *TestTagAssociationORM) error
}
TestTagAssociationBeforeToORM called before default ToORM code
type TestTagAssociationWithBeforeToPB ¶ added in v0.13.0
type TestTagAssociationWithBeforeToPB interface {
BeforeToPB(context.Context, *TestTagAssociation) error
}
TestTagAssociationBeforeToPB called before default ToPB code
type TestTagORM ¶ added in v0.13.0
type TestTagORM struct { Id string TestTagAssoc *TestTagAssociationORM `gorm:"foreignkey:TestTagId;association_foreignkey:Id"` }
func (TestTagORM) TableName ¶ added in v0.13.0
func (TestTagORM) TableName() string
TableName overrides the default tablename generated by GORM
type TestTagORMWithAfterCreate_ ¶ added in v1.0.0
type TestTagORMWithAfterDeleteSet ¶ added in v0.15.0
type TestTagORMWithAfterDelete_ ¶ added in v1.0.0
type TestTagORMWithAfterListFind ¶ added in v0.13.0
type TestTagORMWithAfterReadFind ¶ added in v0.13.0
type TestTagORMWithAfterStrictUpdateSave ¶ added in v0.13.0
type TestTagORMWithBeforeCreate_ ¶ added in v1.0.0
type TestTagORMWithBeforeDeleteSet ¶ added in v0.15.0
type TestTagORMWithBeforeDelete_ ¶ added in v1.0.0
type TestTagORMWithBeforeListApplyQuery ¶ added in v0.13.0
type TestTagORMWithBeforeListFind ¶ added in v0.13.0
type TestTagORMWithBeforeReadApplyQuery ¶ added in v0.13.0
type TestTagORMWithBeforeReadFind ¶ added in v0.13.0
type TestTagORMWithBeforeStrictUpdateCleanup ¶ added in v0.13.0
type TestTagORMWithBeforeStrictUpdateSave ¶ added in v0.13.0
type TestTagWithAfterPatchSave ¶ added in v0.13.0
type TestTagWithAfterToORM ¶ added in v0.13.0
type TestTagWithAfterToORM interface {
AfterToORM(context.Context, *TestTagORM) error
}
TestTagAfterToORM called after default ToORM code
type TestTagWithAfterToPB ¶ added in v0.13.0
TestTagAfterToPB called after default ToPB code
type TestTagWithBeforePatchApplyFieldMask ¶ added in v0.13.0
type TestTagWithBeforePatchRead ¶ added in v0.13.0
type TestTagWithBeforePatchSave ¶ added in v0.13.0
type TestTagWithBeforeToORM ¶ added in v0.13.0
type TestTagWithBeforeToORM interface {
BeforeToORM(context.Context, *TestTagORM) error
}
TestTagBeforeToORM called before default ToORM code
type TestTagWithBeforeToPB ¶ added in v0.13.0
TestTagBeforeToPB called before default ToPB code
type TestTypes ¶
type TestTypes struct { // the (gorm.field).drop option allows for setting a field to be API only ApiOnlyString string `protobuf:"bytes,1,opt,name=api_only_string,json=apiOnlyString,proto3" json:"api_only_string,omitempty"` // repeated raw types are translated into their respective pq array type. // int32 -> pq.Int32Array // int64 -> pq.Int64Array // ... // gorm tags are attached to the ormable field: // []string -> 'text[]' // []int32/int64 -> 'integer[]' // []float32/float64 -> 'float[]' Numbers []int32 `protobuf:"varint,2,rep,packed,name=numbers,proto3" json:"numbers,omitempty"` // a StringValue represents a Nullable string OptionalString *wrappers.StringValue `protobuf:"bytes,3,opt,name=optional_string,json=optionalString,proto3" json:"optional_string,omitempty"` BecomesInt TestTypesStatus `protobuf:"varint,4,opt,name=becomes_int,json=becomesInt,proto3,enum=example.TestTypesStatus" json:"becomes_int,omitempty"` // The Empty type serves no purpose outside of rpc calls and is dropped // automatically from objects Nothingness *empty.Empty `protobuf:"bytes,5,opt,name=nothingness,proto3" json:"nothingness,omitempty"` // The UUID custom type should act like a StringValue at the API level, but is // automatically converted to and from a uuid.UUID (github.com/satori/go.uuid) Uuid *types.UUID `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"` // Timestamps convert to golang's time.Time type, and created_at and // updated_at values are automatically filled by GORM CreatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // This represents a foreign key to the 'type_with_id' type for associations // This could be hidden from the API (or soon autogenerated). TypeWithIdId uint32 `protobuf:"varint,8,opt,name=type_with_id_id,json=typeWithIdId,proto3" json:"type_with_id_id,omitempty"` // This is an arbitrary JSON string that is marshalled and unmarshalled // specially in grpc-gateway as a JSON object JsonField *types.JSONValue `protobuf:"bytes,9,opt,name=json_field,json=jsonField,proto3" json:"json_field,omitempty"` // The UUIDValue custom type should act like a StringValue at the API level, but is // automatically converted to and from a *uuid.UUID (github.com/satori/go.uuid) NullableUuid *types.UUIDValue `protobuf:"bytes,10,opt,name=nullable_uuid,json=nullableUuid,proto3" json:"nullable_uuid,omitempty"` // The TimeOnly should act as uint32 value at business layer, but is automatically // converted to/from string at API and ORM level TimeOnly *types.TimeOnly `protobuf:"bytes,11,opt,name=time_only,json=timeOnly,proto3" json:"time_only,omitempty"` // contains filtered or unexported fields }
test_types is a message that includes a representative sample of the available types
func DefaultApplyFieldMaskTestTypes ¶ added in v0.10.0
func DefaultApplyFieldMaskTestTypes(ctx context.Context, patchee *TestTypes, patcher *TestTypes, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*TestTypes, error)
DefaultApplyFieldMaskTestTypes patches an pbObject with patcher according to a field mask.
func DefaultCreateTestTypes ¶
DefaultCreateTestTypes executes a basic gorm create call
func DefaultListTestTypes ¶
DefaultListTestTypes executes a gorm list call
func (*TestTypes) Descriptor
deprecated
func (*TestTypes) GetApiOnlyString ¶
func (*TestTypes) GetBecomesInt ¶
func (x *TestTypes) GetBecomesInt() TestTypesStatus
func (*TestTypes) GetCreatedAt ¶
func (*TestTypes) GetJsonField ¶ added in v0.5.0
func (*TestTypes) GetNothingness ¶
func (*TestTypes) GetNullableUuid ¶ added in v0.5.1
func (*TestTypes) GetNumbers ¶
func (*TestTypes) GetOptionalString ¶
func (x *TestTypes) GetOptionalString() *wrappers.StringValue
func (*TestTypes) GetTimeOnly ¶ added in v1.0.0
func (*TestTypes) GetTypeWithIdId ¶ added in v0.2.0
func (*TestTypes) ProtoMessage ¶
func (*TestTypes) ProtoMessage()
func (*TestTypes) ProtoReflect ¶ added in v1.0.0
func (x *TestTypes) ProtoReflect() protoreflect.Message
type TestTypesORM ¶
type TestTypesORM struct { ANestedObjectTypeWithIDId *uint32 Array pq.StringArray Array2 pq.StringArray BecomesInt string CreatedAt *time.Time JsonField *postgres.Jsonb `gorm:"type:jsonb"` NullableUuid *_go.UUID `gorm:"type:uuid"` Numbers pq.Int32Array `gorm:"type:integer[]"` OptionalString *string ThingsTypeWithIDId *uint32 TimeOnly string `gorm:"type:time"` TypeWithIdId uint32 Uuid _go.UUID `gorm:"type:uuid"` }
func (TestTypesORM) TableName ¶
func (TestTypesORM) TableName() string
TableName overrides the default tablename generated by GORM
type TestTypesORMWithAfterCreate_ ¶ added in v1.0.0
type TestTypesORMWithAfterListFind ¶ added in v0.12.0
type TestTypesORMWithBeforeCreate_ ¶ added in v1.0.0
type TestTypesORMWithBeforeListApplyQuery ¶ added in v0.12.0
type TestTypesORMWithBeforeListFind ¶ added in v0.12.0
type TestTypesStatus ¶
type TestTypesStatus int32
enums are mapped to the their underlying numeric value in the db. This is practical from an API perspective, but tougher for debugging. Strings with validation constraints can be used instead if desired
const ( TestTypes_UNKNOWN TestTypesStatus = 0 TestTypes_GOOD TestTypesStatus = 1 TestTypes_BAD TestTypesStatus = 2 )
func (TestTypesStatus) Descriptor ¶ added in v1.0.0
func (TestTypesStatus) Descriptor() protoreflect.EnumDescriptor
func (TestTypesStatus) Enum ¶ added in v1.0.0
func (x TestTypesStatus) Enum() *TestTypesStatus
func (TestTypesStatus) EnumDescriptor
deprecated
func (TestTypesStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestTypesStatus.Descriptor instead.
func (TestTypesStatus) Number ¶ added in v1.0.0
func (x TestTypesStatus) Number() protoreflect.EnumNumber
func (TestTypesStatus) String ¶
func (x TestTypesStatus) String() string
func (TestTypesStatus) Type ¶ added in v1.0.0
func (TestTypesStatus) Type() protoreflect.EnumType
type TestTypesWithAfterToORM ¶ added in v0.2.1
type TestTypesWithAfterToORM interface {
AfterToORM(context.Context, *TestTypesORM) error
}
TestTypesAfterToORM called after default ToORM code
type TestTypesWithAfterToPB ¶ added in v0.2.1
TestTypesAfterToPB called after default ToPB code
type TestTypesWithBeforeToORM ¶ added in v0.2.1
type TestTypesWithBeforeToORM interface {
BeforeToORM(context.Context, *TestTypesORM) error
}
TestTypesBeforeToORM called before default ToORM code
type TestTypesWithBeforeToPB ¶ added in v0.2.1
TestTypesBeforeToPB called before default ToPB code
type TypeWithID ¶ added in v0.2.0
type TypeWithID struct { // any field named 'id' is assumed by gorm to be the primary key for the // object. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The field option also allows arbitrary tag setting, such as informing // gorm of a primary key, different column names or different types in the db Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` // A default has-many relationship, will error on generation if no FK field, // convention {typename}_id, is present. These FK fields will be automatically // populated on create and update. Things []*TestTypes `protobuf:"bytes,3,rep,name=things,proto3" json:"things,omitempty"` // A default has-one relationship, will error as above ANestedObject *TestTypes `protobuf:"bytes,4,opt,name=a_nested_object,json=aNestedObject,proto3" json:"a_nested_object,omitempty"` // An in-package and cross-package imported type (in-package can use any // association type, cross-package is limited to belongs_to and many_to_many) Point *IntPoint `protobuf:"bytes,5,opt,name=point,proto3" json:"point,omitempty"` User *user.User `protobuf:"bytes,6,opt,name=user,proto3" json:"user,omitempty"` Address *types.InetValue `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` MultiaccountTypeIds []uint32 `` /* 128-byte string literal not displayed */ SyntheticField *APIOnlyType `protobuf:"bytes,9,opt,name=synthetic_field,json=syntheticField,proto3" json:"synthetic_field,omitempty"` TagTest float32 `protobuf:"fixed32,10,opt,name=tag_test,json=tagTest,proto3" json:"tag_test,omitempty"` TagSizeTest string `protobuf:"bytes,11,opt,name=tag_size_test,json=tagSizeTest,proto3" json:"tag_size_test,omitempty"` FloatField *wrappers.FloatValue `protobuf:"bytes,12,opt,name=float_field,json=floatField,proto3" json:"float_field,omitempty"` DoubleField *wrappers.DoubleValue `protobuf:"bytes,13,opt,name=double_field,json=doubleField,proto3" json:"double_field,omitempty"` // Limited support for DB type 'time', implemented via strings (string -> DB && DB -> string) TimeOnly *types.TimeOnly `protobuf:"bytes,14,opt,name=time_only,json=timeOnly,proto3" json:"time_only,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,15,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
TypeWithID demonstrates some basic assocation behavior
func DefaultApplyFieldMaskTypeWithID ¶ added in v0.9.0
func DefaultApplyFieldMaskTypeWithID(ctx context.Context, patchee *TypeWithID, patcher *TypeWithID, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*TypeWithID, error)
DefaultApplyFieldMaskTypeWithID patches an pbObject with patcher according to a field mask.
func DefaultCreateTypeWithID ¶
func DefaultCreateTypeWithID(ctx context.Context, in *TypeWithID, db *gorm.DB) (*TypeWithID, error)
DefaultCreateTypeWithID executes a basic gorm create call
func DefaultListTypeWithID ¶ added in v0.2.0
DefaultListTypeWithID executes a gorm list call
func DefaultPatchSetTypeWithID ¶ added in v1.0.0
func DefaultPatchSetTypeWithID(ctx context.Context, objects []*TypeWithID, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*TypeWithID, error)
DefaultPatchSetTypeWithID executes a bulk gorm update call with patch behavior
func DefaultPatchTypeWithID ¶ added in v0.9.0
func DefaultPatchTypeWithID(ctx context.Context, in *TypeWithID, updateMask *field_mask.FieldMask, db *gorm.DB) (*TypeWithID, error)
DefaultPatchTypeWithID executes a basic gorm update call with patch behavior
func DefaultReadTypeWithID ¶
func DefaultReadTypeWithID(ctx context.Context, in *TypeWithID, db *gorm.DB) (*TypeWithID, error)
DefaultReadTypeWithID executes a basic gorm read call
func DefaultStrictUpdateTypeWithID ¶
func DefaultStrictUpdateTypeWithID(ctx context.Context, in *TypeWithID, db *gorm.DB) (*TypeWithID, error)
DefaultStrictUpdateTypeWithID clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*TypeWithID) AfterToORM ¶ added in v0.7.0
func (pb *TypeWithID) AfterToORM(ctx context.Context, orm *TypeWithIDORM) error
func (*TypeWithID) Descriptor
deprecated
added in
v0.2.0
func (*TypeWithID) Descriptor() ([]byte, []int)
Deprecated: Use TypeWithID.ProtoReflect.Descriptor instead.
func (*TypeWithID) GetANestedObject ¶ added in v0.2.0
func (x *TypeWithID) GetANestedObject() *TestTypes
func (*TypeWithID) GetAddress ¶ added in v0.6.0
func (x *TypeWithID) GetAddress() *types.InetValue
func (*TypeWithID) GetDeletedAt ¶ added in v1.0.0
func (x *TypeWithID) GetDeletedAt() *timestamp.Timestamp
func (*TypeWithID) GetDoubleField ¶ added in v1.0.0
func (x *TypeWithID) GetDoubleField() *wrappers.DoubleValue
func (*TypeWithID) GetFloatField ¶ added in v1.0.0
func (x *TypeWithID) GetFloatField() *wrappers.FloatValue
func (*TypeWithID) GetId ¶ added in v0.2.0
func (x *TypeWithID) GetId() uint32
func (*TypeWithID) GetIp ¶ added in v0.2.0
func (x *TypeWithID) GetIp() string
func (*TypeWithID) GetMultiaccountTypeIds ¶ added in v0.7.0
func (x *TypeWithID) GetMultiaccountTypeIds() []uint32
func (*TypeWithID) GetPoint ¶ added in v0.6.0
func (x *TypeWithID) GetPoint() *IntPoint
func (*TypeWithID) GetSyntheticField ¶ added in v0.12.0
func (x *TypeWithID) GetSyntheticField() *APIOnlyType
func (*TypeWithID) GetTagSizeTest ¶ added in v0.15.0
func (x *TypeWithID) GetTagSizeTest() string
func (*TypeWithID) GetTagTest ¶ added in v0.15.0
func (x *TypeWithID) GetTagTest() float32
func (*TypeWithID) GetThings ¶ added in v0.2.0
func (x *TypeWithID) GetThings() []*TestTypes
func (*TypeWithID) GetTimeOnly ¶ added in v1.0.0
func (x *TypeWithID) GetTimeOnly() *types.TimeOnly
func (*TypeWithID) GetUser ¶ added in v0.6.0
func (x *TypeWithID) GetUser() *user.User
func (*TypeWithID) ProtoMessage ¶ added in v0.2.0
func (*TypeWithID) ProtoMessage()
func (*TypeWithID) ProtoReflect ¶ added in v1.0.0
func (x *TypeWithID) ProtoReflect() protoreflect.Message
func (*TypeWithID) Reset ¶ added in v0.2.0
func (x *TypeWithID) Reset()
func (*TypeWithID) String ¶ added in v0.2.0
func (x *TypeWithID) String() string
func (*TypeWithID) ToORM ¶ added in v0.2.1
func (m *TypeWithID) ToORM(ctx context.Context) (TypeWithIDORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type TypeWithIDORM ¶
type TypeWithIDORM struct { ANestedObject *TestTypesORM `gorm:"foreignkey:ANestedObjectTypeWithIDId;association_foreignkey:Id"` Address *types.Inet `gorm:"type:inet"` DeletedAt *time.Time DoubleField *float64 FloatField *float32 Id uint32 IntPointId *uint32 Ip string `gorm:"column:ip_addr"` MultiAccountTypes []*JoinTable `gorm:"foreignkey:TypeWithIDID"` Point *IntPointORM `gorm:"foreignkey:IntPointId;association_foreignkey:Id"` SecretInt int32 `gorm:"-"` TagSizeTest string `gorm:"size:512"` TagTest float32 `gorm:"type:float;precision:6"` Things []*TestTypesORM `gorm:"foreignkey:ThingsTypeWithIDId;association_foreignkey:Id"` TimeOnly string `gorm:"type:time"` User *user.UserORM `gorm:"foreignkey:UserId;association_foreignkey:Id"` UserId *string }
func (*TypeWithIDORM) AfterToPB ¶ added in v0.7.0
func (orm *TypeWithIDORM) AfterToPB(ctx context.Context, pb *TypeWithID) error
func (TypeWithIDORM) TableName ¶
func (TypeWithIDORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*TypeWithIDORM) ToPB ¶ added in v0.2.1
func (m *TypeWithIDORM) ToPB(ctx context.Context) (TypeWithID, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type TypeWithIDORMWithAfterCreate_ ¶ added in v1.0.0
type TypeWithIDORMWithAfterDeleteSet ¶ added in v0.15.0
type TypeWithIDORMWithAfterDelete_ ¶ added in v1.0.0
type TypeWithIDORMWithAfterListFind ¶ added in v0.12.0
type TypeWithIDORMWithAfterReadFind ¶ added in v0.12.0
type TypeWithIDORMWithAfterStrictUpdateSave ¶ added in v0.12.0
type TypeWithIDORMWithBeforeCreate_ ¶ added in v1.0.0
type TypeWithIDORMWithBeforeDeleteSet ¶ added in v0.15.0
type TypeWithIDORMWithBeforeDelete_ ¶ added in v1.0.0
type TypeWithIDORMWithBeforeListApplyQuery ¶ added in v0.12.0
type TypeWithIDORMWithBeforeListFind ¶ added in v0.12.0
type TypeWithIDORMWithBeforeReadApplyQuery ¶ added in v0.12.0
type TypeWithIDORMWithBeforeReadFind ¶ added in v0.12.0
type TypeWithIDORMWithBeforeStrictUpdateCleanup ¶ added in v0.12.0
type TypeWithIDORMWithBeforeStrictUpdateSave ¶ added in v0.12.0
type TypeWithIDWithAfterPatchSave ¶ added in v0.12.0
type TypeWithIDWithAfterPatchSave interface {
AfterPatchSave(context.Context, *TypeWithID, *field_mask.FieldMask, *gorm.DB) error
}
type TypeWithIDWithAfterToORM ¶ added in v0.2.1
type TypeWithIDWithAfterToORM interface {
AfterToORM(context.Context, *TypeWithIDORM) error
}
TypeWithIDAfterToORM called after default ToORM code
type TypeWithIDWithAfterToPB ¶ added in v0.2.1
type TypeWithIDWithAfterToPB interface {
AfterToPB(context.Context, *TypeWithID) error
}
TypeWithIDAfterToPB called after default ToPB code
type TypeWithIDWithBeforePatchApplyFieldMask ¶ added in v0.12.0
type TypeWithIDWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *TypeWithID, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TypeWithIDWithBeforePatchRead ¶ added in v0.12.0
type TypeWithIDWithBeforePatchRead interface {
BeforePatchRead(context.Context, *TypeWithID, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TypeWithIDWithBeforePatchSave ¶ added in v0.9.1
type TypeWithIDWithBeforePatchSave interface {
BeforePatchSave(context.Context, *TypeWithID, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TypeWithIDWithBeforeToORM ¶ added in v0.2.1
type TypeWithIDWithBeforeToORM interface {
BeforeToORM(context.Context, *TypeWithIDORM) error
}
TypeWithIDBeforeToORM called before default ToORM code
type TypeWithIDWithBeforeToPB ¶ added in v0.2.1
type TypeWithIDWithBeforeToPB interface {
BeforeToPB(context.Context, *TypeWithID) error
}
TypeWithIDBeforeToPB called before default ToPB code
type UnimplementedBlogPostServiceServer ¶ added in v1.0.0
type UnimplementedBlogPostServiceServer struct { }
UnimplementedBlogPostServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedBlogPostServiceServer) Read ¶ added in v1.0.0
func (UnimplementedBlogPostServiceServer) Read(context.Context, *ReadAccountRequest) (*ReadBlogPostsResponse, error)
type UnimplementedCircleServiceServer ¶ added in v1.0.0
type UnimplementedCircleServiceServer struct { }
UnimplementedCircleServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCircleServiceServer) List ¶ added in v1.0.0
func (UnimplementedCircleServiceServer) List(context.Context, *ListCircleRequest) (*ListCircleResponse, error)
type UnimplementedIntPointServiceServer ¶ added in v1.0.0
type UnimplementedIntPointServiceServer struct { }
UnimplementedIntPointServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIntPointServiceServer) Create ¶ added in v1.0.0
func (UnimplementedIntPointServiceServer) Create(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error)
func (UnimplementedIntPointServiceServer) CreateSomething ¶ added in v1.0.0
func (UnimplementedIntPointServiceServer) CustomMethod ¶ added in v1.0.0
func (UnimplementedIntPointServiceServer) Delete ¶ added in v1.0.0
func (UnimplementedIntPointServiceServer) Delete(context.Context, *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
func (UnimplementedIntPointServiceServer) List ¶ added in v1.0.0
func (UnimplementedIntPointServiceServer) List(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error)
func (UnimplementedIntPointServiceServer) ListSomething ¶ added in v1.0.0
func (UnimplementedIntPointServiceServer) ListSomething(context.Context, *empty.Empty) (*ListSomethingResponse, error)
func (UnimplementedIntPointServiceServer) Read ¶ added in v1.0.0
func (UnimplementedIntPointServiceServer) Read(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error)
func (UnimplementedIntPointServiceServer) Update ¶ added in v1.0.0
func (UnimplementedIntPointServiceServer) Update(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
func (UnimplementedIntPointServiceServer) UpdateSet ¶ added in v1.0.0
func (UnimplementedIntPointServiceServer) UpdateSet(context.Context, *UpdateSetIntPointRequest) (*UpdateSetIntPointResponse, error)
type UnimplementedIntPointTxnServer ¶ added in v1.0.0
type UnimplementedIntPointTxnServer struct { }
UnimplementedIntPointTxnServer must be embedded to have forward compatible implementations.
func (UnimplementedIntPointTxnServer) Create ¶ added in v1.0.0
func (UnimplementedIntPointTxnServer) Create(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error)
func (UnimplementedIntPointTxnServer) CreateSomething ¶ added in v1.0.0
func (UnimplementedIntPointTxnServer) CustomMethod ¶ added in v1.0.0
func (UnimplementedIntPointTxnServer) Delete ¶ added in v1.0.0
func (UnimplementedIntPointTxnServer) Delete(context.Context, *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
func (UnimplementedIntPointTxnServer) DeleteSet ¶ added in v1.0.0
func (UnimplementedIntPointTxnServer) DeleteSet(context.Context, *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
func (UnimplementedIntPointTxnServer) List ¶ added in v1.0.0
func (UnimplementedIntPointTxnServer) List(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error)
func (UnimplementedIntPointTxnServer) Read ¶ added in v1.0.0
func (UnimplementedIntPointTxnServer) Read(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error)
func (UnimplementedIntPointTxnServer) Update ¶ added in v1.0.0
func (UnimplementedIntPointTxnServer) Update(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
type UnimplementedMultipleMethodsAutoGenServer ¶ added in v1.0.0
type UnimplementedMultipleMethodsAutoGenServer struct { }
UnimplementedMultipleMethodsAutoGenServer must be embedded to have forward compatible implementations.
func (UnimplementedMultipleMethodsAutoGenServer) CreateA ¶ added in v1.0.0
func (UnimplementedMultipleMethodsAutoGenServer) CreateA(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error)
func (UnimplementedMultipleMethodsAutoGenServer) CreateB ¶ added in v1.0.0
func (UnimplementedMultipleMethodsAutoGenServer) CreateB(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error)
func (UnimplementedMultipleMethodsAutoGenServer) DeleteA ¶ added in v1.0.0
func (UnimplementedMultipleMethodsAutoGenServer) DeleteA(context.Context, *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
func (UnimplementedMultipleMethodsAutoGenServer) DeleteB ¶ added in v1.0.0
func (UnimplementedMultipleMethodsAutoGenServer) DeleteB(context.Context, *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
func (UnimplementedMultipleMethodsAutoGenServer) DeleteSetA ¶ added in v1.0.0
func (UnimplementedMultipleMethodsAutoGenServer) DeleteSetA(context.Context, *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
func (UnimplementedMultipleMethodsAutoGenServer) DeleteSetB ¶ added in v1.0.0
func (UnimplementedMultipleMethodsAutoGenServer) DeleteSetB(context.Context, *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
func (UnimplementedMultipleMethodsAutoGenServer) ListA ¶ added in v1.0.0
func (UnimplementedMultipleMethodsAutoGenServer) ListA(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error)
func (UnimplementedMultipleMethodsAutoGenServer) ListB ¶ added in v1.0.0
func (UnimplementedMultipleMethodsAutoGenServer) ListB(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error)
func (UnimplementedMultipleMethodsAutoGenServer) ReadA ¶ added in v1.0.0
func (UnimplementedMultipleMethodsAutoGenServer) ReadA(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error)
func (UnimplementedMultipleMethodsAutoGenServer) ReadB ¶ added in v1.0.0
func (UnimplementedMultipleMethodsAutoGenServer) ReadB(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error)
func (UnimplementedMultipleMethodsAutoGenServer) UpdateA ¶ added in v1.0.0
func (UnimplementedMultipleMethodsAutoGenServer) UpdateA(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
func (UnimplementedMultipleMethodsAutoGenServer) UpdateB ¶ added in v1.0.0
func (UnimplementedMultipleMethodsAutoGenServer) UpdateB(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
type UnsafeBlogPostServiceServer ¶ added in v1.0.0
type UnsafeBlogPostServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBlogPostServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BlogPostServiceServer will result in compilation errors.
type UnsafeCircleServiceServer ¶ added in v1.0.0
type UnsafeCircleServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCircleServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CircleServiceServer will result in compilation errors.
type UnsafeIntPointServiceServer ¶ added in v1.0.0
type UnsafeIntPointServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIntPointServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IntPointServiceServer will result in compilation errors.
type UnsafeIntPointTxnServer ¶ added in v1.0.0
type UnsafeIntPointTxnServer interface {
// contains filtered or unexported methods
}
UnsafeIntPointTxnServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IntPointTxnServer will result in compilation errors.
type UnsafeMultipleMethodsAutoGenServer ¶ added in v1.0.0
type UnsafeMultipleMethodsAutoGenServer interface {
// contains filtered or unexported methods
}
UnsafeMultipleMethodsAutoGenServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MultipleMethodsAutoGenServer will result in compilation errors.
type UpdateIntPointRequest ¶ added in v0.2.0
type UpdateIntPointRequest struct { Payload *IntPoint `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` GerogeriGegege *field_mask.FieldMask `protobuf:"bytes,2,opt,name=gerogeri_gegege,json=gerogeriGegege,proto3" json:"gerogeri_gegege,omitempty"` // contains filtered or unexported fields }
func (*UpdateIntPointRequest) Descriptor
deprecated
added in
v0.2.0
func (*UpdateIntPointRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIntPointRequest.ProtoReflect.Descriptor instead.
func (*UpdateIntPointRequest) GetGerogeriGegege ¶ added in v0.9.0
func (x *UpdateIntPointRequest) GetGerogeriGegege() *field_mask.FieldMask
func (*UpdateIntPointRequest) GetPayload ¶ added in v0.2.0
func (x *UpdateIntPointRequest) GetPayload() *IntPoint
func (*UpdateIntPointRequest) ProtoMessage ¶ added in v0.2.0
func (*UpdateIntPointRequest) ProtoMessage()
func (*UpdateIntPointRequest) ProtoReflect ¶ added in v1.0.0
func (x *UpdateIntPointRequest) ProtoReflect() protoreflect.Message
func (*UpdateIntPointRequest) Reset ¶ added in v0.2.0
func (x *UpdateIntPointRequest) Reset()
func (*UpdateIntPointRequest) String ¶ added in v0.2.0
func (x *UpdateIntPointRequest) String() string
type UpdateIntPointResponse ¶ added in v0.2.0
type UpdateIntPointResponse struct { Result *IntPoint `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*UpdateIntPointResponse) Descriptor
deprecated
added in
v0.2.0
func (*UpdateIntPointResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIntPointResponse.ProtoReflect.Descriptor instead.
func (*UpdateIntPointResponse) GetResult ¶ added in v0.2.0
func (x *UpdateIntPointResponse) GetResult() *IntPoint
func (*UpdateIntPointResponse) ProtoMessage ¶ added in v0.2.0
func (*UpdateIntPointResponse) ProtoMessage()
func (*UpdateIntPointResponse) ProtoReflect ¶ added in v1.0.0
func (x *UpdateIntPointResponse) ProtoReflect() protoreflect.Message
func (*UpdateIntPointResponse) Reset ¶ added in v0.2.0
func (x *UpdateIntPointResponse) Reset()
func (*UpdateIntPointResponse) String ¶ added in v0.2.0
func (x *UpdateIntPointResponse) String() string
type UpdateSetIntPointRequest ¶ added in v1.0.0
type UpdateSetIntPointRequest struct { Objects []*IntPoint `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` Masks []*field_mask.FieldMask `protobuf:"bytes,2,rep,name=masks,proto3" json:"masks,omitempty"` // contains filtered or unexported fields }
func (*UpdateSetIntPointRequest) Descriptor
deprecated
added in
v1.0.0
func (*UpdateSetIntPointRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSetIntPointRequest.ProtoReflect.Descriptor instead.
func (*UpdateSetIntPointRequest) GetMasks ¶ added in v1.0.0
func (x *UpdateSetIntPointRequest) GetMasks() []*field_mask.FieldMask
func (*UpdateSetIntPointRequest) GetObjects ¶ added in v1.0.0
func (x *UpdateSetIntPointRequest) GetObjects() []*IntPoint
func (*UpdateSetIntPointRequest) ProtoMessage ¶ added in v1.0.0
func (*UpdateSetIntPointRequest) ProtoMessage()
func (*UpdateSetIntPointRequest) ProtoReflect ¶ added in v1.0.0
func (x *UpdateSetIntPointRequest) ProtoReflect() protoreflect.Message
func (*UpdateSetIntPointRequest) Reset ¶ added in v1.0.0
func (x *UpdateSetIntPointRequest) Reset()
func (*UpdateSetIntPointRequest) String ¶ added in v1.0.0
func (x *UpdateSetIntPointRequest) String() string
type UpdateSetIntPointResponse ¶ added in v1.0.0
type UpdateSetIntPointResponse struct { Results []*IntPoint `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*UpdateSetIntPointResponse) Descriptor
deprecated
added in
v1.0.0
func (*UpdateSetIntPointResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSetIntPointResponse.ProtoReflect.Descriptor instead.
func (*UpdateSetIntPointResponse) GetResults ¶ added in v1.0.0
func (x *UpdateSetIntPointResponse) GetResults() []*IntPoint
func (*UpdateSetIntPointResponse) ProtoMessage ¶ added in v1.0.0
func (*UpdateSetIntPointResponse) ProtoMessage()
func (*UpdateSetIntPointResponse) ProtoReflect ¶ added in v1.0.0
func (x *UpdateSetIntPointResponse) ProtoReflect() protoreflect.Message
func (*UpdateSetIntPointResponse) Reset ¶ added in v1.0.0
func (x *UpdateSetIntPointResponse) Reset()
func (*UpdateSetIntPointResponse) String ¶ added in v1.0.0
func (x *UpdateSetIntPointResponse) String() string