Documentation ¶
Overview ¶
Package example is a generated protocol buffer package.
It is generated from these files:
example/feature_demo/demo_multi_file.proto example/feature_demo/demo_types.proto example/feature_demo/demo_service.proto example/feature_demo/demo_multi_file_service.proto
It has these top-level messages:
ExternalChild BlogPost TestTypes TypeWithID MultiaccountTypeWithID MultiaccountTypeWithoutID APIOnlyType PrimaryUUIDType PrimaryStringType TestTag TestTagAssociation PrimaryIncluded IntPoint CreateIntPointRequest CreateIntPointResponse ReadIntPointRequest ReadIntPointResponse UpdateIntPointRequest UpdateIntPointResponse DeleteIntPointRequest DeleteIntPointsRequest DeleteIntPointResponse ListIntPointResponse ListSomethingResponse Something ListIntPointRequest Circle ListCircleRequest ListCircleResponse ReadAccountRequest ReadBlogPostsResponse
Index ¶
- Variables
- func DefaultDeleteBlogPost(ctx context.Context, in *BlogPost, db *gorm1.DB) error
- func DefaultDeleteBlogPostSet(ctx context.Context, in []*BlogPost, db *gorm1.DB) error
- func DefaultDeleteExternalChild(ctx context.Context, in *ExternalChild, db *gorm1.DB) error
- func DefaultDeleteExternalChildSet(ctx context.Context, in []*ExternalChild, db *gorm1.DB) error
- func DefaultDeleteIntPoint(ctx context.Context, in *IntPoint, db *gorm1.DB) error
- func DefaultDeleteIntPointSet(ctx context.Context, in []*IntPoint, db *gorm1.DB) error
- func DefaultDeleteMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm1.DB) error
- func DefaultDeleteMultiaccountTypeWithIDSet(ctx context.Context, in []*MultiaccountTypeWithID, db *gorm1.DB) error
- func DefaultDeletePrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm1.DB) error
- func DefaultDeletePrimaryStringTypeSet(ctx context.Context, in []*PrimaryStringType, db *gorm1.DB) error
- func DefaultDeletePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm1.DB) error
- func DefaultDeletePrimaryUUIDTypeSet(ctx context.Context, in []*PrimaryUUIDType, db *gorm1.DB) error
- func DefaultDeleteTestTag(ctx context.Context, in *TestTag, db *gorm1.DB) error
- func DefaultDeleteTestTagSet(ctx context.Context, in []*TestTag, db *gorm1.DB) error
- func DefaultDeleteTypeWithID(ctx context.Context, in *TypeWithID, db *gorm1.DB) error
- func DefaultDeleteTypeWithIDSet(ctx context.Context, in []*TypeWithID, db *gorm1.DB) error
- func RegisterBlogPostServiceServer(s *grpc.Server, srv BlogPostServiceServer)
- func RegisterCircleServiceServer(s *grpc.Server, srv CircleServiceServer)
- func RegisterIntPointServiceServer(s *grpc.Server, srv IntPointServiceServer)
- func RegisterIntPointTxnServer(s *grpc.Server, srv IntPointTxnServer)
- type APIOnlyType
- func (*APIOnlyType) Descriptor() ([]byte, []int)
- func (m *APIOnlyType) GetContents() string
- func (*APIOnlyType) ProtoMessage()
- func (m *APIOnlyType) Reset()
- func (m *APIOnlyType) String() string
- func (m *APIOnlyType) XXX_DiscardUnknown()
- func (m *APIOnlyType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *APIOnlyType) XXX_Merge(src proto.Message)
- func (m *APIOnlyType) XXX_Size() int
- func (m *APIOnlyType) XXX_Unmarshal(b []byte) error
- type BlogPost
- func DefaultApplyFieldMaskBlogPost(ctx context.Context, patchee *BlogPost, patcher *BlogPost, ...) (*BlogPost, error)
- func DefaultCreateBlogPost(ctx context.Context, in *BlogPost, db *gorm1.DB) (*BlogPost, error)
- func DefaultListBlogPost(ctx context.Context, db *gorm1.DB) ([]*BlogPost, error)
- func DefaultPatchBlogPost(ctx context.Context, in *BlogPost, updateMask *field_mask1.FieldMask, ...) (*BlogPost, error)
- func DefaultReadBlogPost(ctx context.Context, in *BlogPost, db *gorm1.DB) (*BlogPost, error)
- func DefaultStrictUpdateBlogPost(ctx context.Context, in *BlogPost, db *gorm1.DB) (*BlogPost, error)
- func (*BlogPost) Descriptor() ([]byte, []int)
- func (m *BlogPost) GetAuthor() string
- func (m *BlogPost) GetId() uint64
- func (m *BlogPost) GetTitle() string
- func (*BlogPost) ProtoMessage()
- func (m *BlogPost) Reset()
- func (m *BlogPost) String() string
- func (m *BlogPost) ToORM(ctx context.Context) (BlogPostORM, error)
- func (m *BlogPost) XXX_DiscardUnknown()
- func (m *BlogPost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlogPost) XXX_Merge(src proto.Message)
- func (m *BlogPost) XXX_Size() int
- func (m *BlogPost) XXX_Unmarshal(b []byte) 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 BlogPostRepository
- type BlogPostServiceClient
- type BlogPostServiceDefaultGRPCServer
- type BlogPostServiceDefaultServer
- type BlogPostServiceServer
- type BlogPostWithAfterPatchSave
- type BlogPostWithAfterToORM
- type BlogPostWithAfterToPB
- type BlogPostWithBeforePatchApplyFieldMask
- type BlogPostWithBeforePatchRead
- type BlogPostWithBeforePatchSave
- type BlogPostWithBeforeToORM
- type BlogPostWithBeforeToPB
- type Circle
- func (*Circle) Descriptor() ([]byte, []int)
- func (m *Circle) GetR() uint32
- func (*Circle) ProtoMessage()
- func (m *Circle) Reset()
- func (m *Circle) String() string
- func (m *Circle) ToORM(ctx context.Context) (CircleORM, error)
- func (m *Circle) XXX_DiscardUnknown()
- func (m *Circle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Circle) XXX_Merge(src proto.Message)
- func (m *Circle) XXX_Size() int
- func (m *Circle) XXX_Unmarshal(b []byte) error
- type CircleORM
- type CircleORMWithAfterCreate_
- type CircleORMWithAfterListFind
- type CircleORMWithBeforeCreate_
- type CircleORMWithBeforeListApplyQuery
- type CircleORMWithBeforeListFind
- type CircleRepository
- type CircleServiceCircleWithAfterList
- type CircleServiceCircleWithBeforeList
- type CircleServiceClient
- type CircleServiceDefaultGRPCServer
- type CircleServiceDefaultServer
- type CircleServiceServer
- type CircleWithAfterToORM
- type CircleWithAfterToPB
- type CircleWithBeforeToORM
- type CircleWithBeforeToPB
- type CreateIntPointRequest
- func (*CreateIntPointRequest) Descriptor() ([]byte, []int)
- func (m *CreateIntPointRequest) GetPayload() *IntPoint
- func (*CreateIntPointRequest) ProtoMessage()
- func (m *CreateIntPointRequest) Reset()
- func (m *CreateIntPointRequest) String() string
- func (m *CreateIntPointRequest) XXX_DiscardUnknown()
- func (m *CreateIntPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateIntPointRequest) XXX_Merge(src proto.Message)
- func (m *CreateIntPointRequest) XXX_Size() int
- func (m *CreateIntPointRequest) XXX_Unmarshal(b []byte) error
- type CreateIntPointResponse
- func (*CreateIntPointResponse) Descriptor() ([]byte, []int)
- func (m *CreateIntPointResponse) GetResult() *IntPoint
- func (*CreateIntPointResponse) ProtoMessage()
- func (m *CreateIntPointResponse) Reset()
- func (m *CreateIntPointResponse) String() string
- func (m *CreateIntPointResponse) XXX_DiscardUnknown()
- func (m *CreateIntPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateIntPointResponse) XXX_Merge(src proto.Message)
- func (m *CreateIntPointResponse) XXX_Size() int
- func (m *CreateIntPointResponse) XXX_Unmarshal(b []byte) error
- type DefaultBlogPostRepository
- func (r *DefaultBlogPostRepository) CreateBlogPost(ctx context.Context, in *BlogPost) (*BlogPost, error)
- func (r *DefaultBlogPostRepository) DeleteBlogPost(ctx context.Context, in *BlogPost) error
- func (r *DefaultBlogPostRepository) DeleteBlogPostSet(ctx context.Context, in []*BlogPost) error
- func (r *DefaultBlogPostRepository) ListBlogPost(ctx context.Context) ([]*BlogPost, error)
- func (r *DefaultBlogPostRepository) PatchBlogPost(ctx context.Context, in *BlogPost, updateMask *field_mask1.FieldMask) (*BlogPost, error)
- func (r *DefaultBlogPostRepository) ReadBlogPost(ctx context.Context, in *BlogPost) (*BlogPost, error)
- func (r *DefaultBlogPostRepository) StrictUpdateBlogPost(ctx context.Context, in *BlogPost) (*BlogPost, error)
- type DefaultCircleRepository
- type DefaultExternalChildRepository
- func (r *DefaultExternalChildRepository) CreateExternalChild(ctx context.Context, in *ExternalChild) (*ExternalChild, error)
- func (r *DefaultExternalChildRepository) DeleteExternalChild(ctx context.Context, in *ExternalChild) error
- func (r *DefaultExternalChildRepository) DeleteExternalChildSet(ctx context.Context, in []*ExternalChild) error
- func (r *DefaultExternalChildRepository) ListExternalChild(ctx context.Context) ([]*ExternalChild, error)
- func (r *DefaultExternalChildRepository) PatchExternalChild(ctx context.Context, in *ExternalChild, updateMask *field_mask1.FieldMask) (*ExternalChild, error)
- func (r *DefaultExternalChildRepository) ReadExternalChild(ctx context.Context, in *ExternalChild) (*ExternalChild, error)
- func (r *DefaultExternalChildRepository) StrictUpdateExternalChild(ctx context.Context, in *ExternalChild) (*ExternalChild, error)
- type DefaultIntPointRepository
- func (r *DefaultIntPointRepository) CreateIntPoint(ctx context.Context, in *IntPoint) (*IntPoint, error)
- func (r *DefaultIntPointRepository) DeleteIntPoint(ctx context.Context, in *IntPoint) error
- func (r *DefaultIntPointRepository) DeleteIntPointSet(ctx context.Context, in []*IntPoint) error
- func (r *DefaultIntPointRepository) ListIntPoint(ctx context.Context, f *query1.Filtering, s *query1.Sorting, ...) ([]*IntPoint, error)
- func (r *DefaultIntPointRepository) PatchIntPoint(ctx context.Context, in *IntPoint, updateMask *field_mask1.FieldMask) (*IntPoint, error)
- func (r *DefaultIntPointRepository) ReadIntPoint(ctx context.Context, in *IntPoint, fs *query1.FieldSelection) (*IntPoint, error)
- func (r *DefaultIntPointRepository) StrictUpdateIntPoint(ctx context.Context, in *IntPoint) (*IntPoint, error)
- type DefaultMultiaccountTypeWithIDRepository
- func (r *DefaultMultiaccountTypeWithIDRepository) CreateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID) (*MultiaccountTypeWithID, error)
- func (r *DefaultMultiaccountTypeWithIDRepository) DeleteMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID) error
- func (r *DefaultMultiaccountTypeWithIDRepository) DeleteMultiaccountTypeWithIDSet(ctx context.Context, in []*MultiaccountTypeWithID) error
- func (r *DefaultMultiaccountTypeWithIDRepository) ListMultiaccountTypeWithID(ctx context.Context) ([]*MultiaccountTypeWithID, error)
- func (r *DefaultMultiaccountTypeWithIDRepository) PatchMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, ...) (*MultiaccountTypeWithID, error)
- func (r *DefaultMultiaccountTypeWithIDRepository) ReadMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID) (*MultiaccountTypeWithID, error)
- func (r *DefaultMultiaccountTypeWithIDRepository) StrictUpdateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID) (*MultiaccountTypeWithID, error)
- type DefaultMultiaccountTypeWithoutIDRepository
- func (r *DefaultMultiaccountTypeWithoutIDRepository) CreateMultiaccountTypeWithoutID(ctx context.Context, in *MultiaccountTypeWithoutID) (*MultiaccountTypeWithoutID, error)
- func (r *DefaultMultiaccountTypeWithoutIDRepository) ListMultiaccountTypeWithoutID(ctx context.Context) ([]*MultiaccountTypeWithoutID, error)
- type DefaultPrimaryIncludedRepository
- type DefaultPrimaryStringTypeRepository
- func (r *DefaultPrimaryStringTypeRepository) CreatePrimaryStringType(ctx context.Context, in *PrimaryStringType) (*PrimaryStringType, error)
- func (r *DefaultPrimaryStringTypeRepository) DeletePrimaryStringType(ctx context.Context, in *PrimaryStringType) error
- func (r *DefaultPrimaryStringTypeRepository) DeletePrimaryStringTypeSet(ctx context.Context, in []*PrimaryStringType) error
- func (r *DefaultPrimaryStringTypeRepository) ListPrimaryStringType(ctx context.Context) ([]*PrimaryStringType, error)
- func (r *DefaultPrimaryStringTypeRepository) PatchPrimaryStringType(ctx context.Context, in *PrimaryStringType, updateMask *field_mask1.FieldMask) (*PrimaryStringType, error)
- func (r *DefaultPrimaryStringTypeRepository) ReadPrimaryStringType(ctx context.Context, in *PrimaryStringType) (*PrimaryStringType, error)
- func (r *DefaultPrimaryStringTypeRepository) StrictUpdatePrimaryStringType(ctx context.Context, in *PrimaryStringType) (*PrimaryStringType, error)
- type DefaultPrimaryUUIDTypeRepository
- func (r *DefaultPrimaryUUIDTypeRepository) CreatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType) (*PrimaryUUIDType, error)
- func (r *DefaultPrimaryUUIDTypeRepository) DeletePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType) error
- func (r *DefaultPrimaryUUIDTypeRepository) DeletePrimaryUUIDTypeSet(ctx context.Context, in []*PrimaryUUIDType) error
- func (r *DefaultPrimaryUUIDTypeRepository) ListPrimaryUUIDType(ctx context.Context) ([]*PrimaryUUIDType, error)
- func (r *DefaultPrimaryUUIDTypeRepository) PatchPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, updateMask *field_mask1.FieldMask) (*PrimaryUUIDType, error)
- func (r *DefaultPrimaryUUIDTypeRepository) ReadPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType) (*PrimaryUUIDType, error)
- func (r *DefaultPrimaryUUIDTypeRepository) StrictUpdatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType) (*PrimaryUUIDType, error)
- type DefaultSomethingRepository
- type DefaultTestTagAssociationRepository
- type DefaultTestTagRepository
- func (r *DefaultTestTagRepository) CreateTestTag(ctx context.Context, in *TestTag) (*TestTag, error)
- func (r *DefaultTestTagRepository) DeleteTestTag(ctx context.Context, in *TestTag) error
- func (r *DefaultTestTagRepository) DeleteTestTagSet(ctx context.Context, in []*TestTag) error
- func (r *DefaultTestTagRepository) ListTestTag(ctx context.Context) ([]*TestTag, error)
- func (r *DefaultTestTagRepository) PatchTestTag(ctx context.Context, in *TestTag, updateMask *field_mask1.FieldMask) (*TestTag, error)
- func (r *DefaultTestTagRepository) ReadTestTag(ctx context.Context, in *TestTag) (*TestTag, error)
- func (r *DefaultTestTagRepository) StrictUpdateTestTag(ctx context.Context, in *TestTag) (*TestTag, error)
- type DefaultTestTypesRepository
- type DefaultTypeWithIDRepository
- func (r *DefaultTypeWithIDRepository) CreateTypeWithID(ctx context.Context, in *TypeWithID) (*TypeWithID, error)
- func (r *DefaultTypeWithIDRepository) DeleteTypeWithID(ctx context.Context, in *TypeWithID) error
- func (r *DefaultTypeWithIDRepository) DeleteTypeWithIDSet(ctx context.Context, in []*TypeWithID) error
- func (r *DefaultTypeWithIDRepository) ListTypeWithID(ctx context.Context) ([]*TypeWithID, error)
- func (r *DefaultTypeWithIDRepository) PatchTypeWithID(ctx context.Context, in *TypeWithID, updateMask *field_mask1.FieldMask) (*TypeWithID, error)
- func (r *DefaultTypeWithIDRepository) ReadTypeWithID(ctx context.Context, in *TypeWithID) (*TypeWithID, error)
- func (r *DefaultTypeWithIDRepository) StrictUpdateTypeWithID(ctx context.Context, in *TypeWithID) (*TypeWithID, error)
- type DeleteIntPointRequest
- func (*DeleteIntPointRequest) Descriptor() ([]byte, []int)
- func (m *DeleteIntPointRequest) GetId() uint32
- func (*DeleteIntPointRequest) ProtoMessage()
- func (m *DeleteIntPointRequest) Reset()
- func (m *DeleteIntPointRequest) String() string
- func (m *DeleteIntPointRequest) XXX_DiscardUnknown()
- func (m *DeleteIntPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteIntPointRequest) XXX_Merge(src proto.Message)
- func (m *DeleteIntPointRequest) XXX_Size() int
- func (m *DeleteIntPointRequest) XXX_Unmarshal(b []byte) error
- type DeleteIntPointResponse
- func (*DeleteIntPointResponse) Descriptor() ([]byte, []int)
- func (*DeleteIntPointResponse) ProtoMessage()
- func (m *DeleteIntPointResponse) Reset()
- func (m *DeleteIntPointResponse) String() string
- func (m *DeleteIntPointResponse) XXX_DiscardUnknown()
- func (m *DeleteIntPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteIntPointResponse) XXX_Merge(src proto.Message)
- func (m *DeleteIntPointResponse) XXX_Size() int
- func (m *DeleteIntPointResponse) XXX_Unmarshal(b []byte) error
- type DeleteIntPointsRequest
- func (*DeleteIntPointsRequest) Descriptor() ([]byte, []int)
- func (m *DeleteIntPointsRequest) GetIds() []uint32
- func (*DeleteIntPointsRequest) ProtoMessage()
- func (m *DeleteIntPointsRequest) Reset()
- func (m *DeleteIntPointsRequest) String() string
- func (m *DeleteIntPointsRequest) XXX_DiscardUnknown()
- func (m *DeleteIntPointsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteIntPointsRequest) XXX_Merge(src proto.Message)
- func (m *DeleteIntPointsRequest) XXX_Size() int
- func (m *DeleteIntPointsRequest) XXX_Unmarshal(b []byte) error
- type ExternalChild
- func DefaultApplyFieldMaskExternalChild(ctx context.Context, patchee *ExternalChild, patcher *ExternalChild, ...) (*ExternalChild, error)
- func DefaultCreateExternalChild(ctx context.Context, in *ExternalChild, db *gorm1.DB) (*ExternalChild, error)
- func DefaultListExternalChild(ctx context.Context, db *gorm1.DB) ([]*ExternalChild, error)
- func DefaultPatchExternalChild(ctx context.Context, in *ExternalChild, updateMask *field_mask1.FieldMask, ...) (*ExternalChild, error)
- func DefaultReadExternalChild(ctx context.Context, in *ExternalChild, db *gorm1.DB) (*ExternalChild, error)
- func DefaultStrictUpdateExternalChild(ctx context.Context, in *ExternalChild, db *gorm1.DB) (*ExternalChild, error)
- func (*ExternalChild) Descriptor() ([]byte, []int)
- func (m *ExternalChild) GetId() string
- func (*ExternalChild) ProtoMessage()
- func (m *ExternalChild) Reset()
- func (m *ExternalChild) String() string
- func (m *ExternalChild) ToORM(ctx context.Context) (ExternalChildORM, error)
- func (m *ExternalChild) XXX_DiscardUnknown()
- func (m *ExternalChild) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExternalChild) XXX_Merge(src proto.Message)
- func (m *ExternalChild) XXX_Size() int
- func (m *ExternalChild) XXX_Unmarshal(b []byte) 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 ExternalChildRepository
- 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 *gorm1.DB) (*IntPoint, error)
- func DefaultListIntPoint(ctx context.Context, db *gorm1.DB, f *query1.Filtering, s *query1.Sorting, ...) ([]*IntPoint, error)
- func DefaultPatchIntPoint(ctx context.Context, in *IntPoint, updateMask *field_mask1.FieldMask, ...) (*IntPoint, error)
- func DefaultReadIntPoint(ctx context.Context, in *IntPoint, db *gorm1.DB, fs *query1.FieldSelection) (*IntPoint, error)
- func DefaultStrictUpdateIntPoint(ctx context.Context, in *IntPoint, db *gorm1.DB) (*IntPoint, error)
- func (*IntPoint) Descriptor() ([]byte, []int)
- func (m *IntPoint) GetId() uint32
- func (m *IntPoint) GetX() int32
- func (m *IntPoint) GetY() int32
- func (*IntPoint) ProtoMessage()
- func (m *IntPoint) Reset()
- func (m *IntPoint) String() string
- func (m *IntPoint) ToORM(ctx context.Context) (IntPointORM, error)
- func (m *IntPoint) XXX_DiscardUnknown()
- func (m *IntPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IntPoint) XXX_Merge(src proto.Message)
- func (m *IntPoint) XXX_Size() int
- func (m *IntPoint) XXX_Unmarshal(b []byte) 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 IntPointRepository
- type IntPointServiceClient
- type IntPointServiceDefaultGRPCServer
- func (m *IntPointServiceDefaultGRPCServer) Create(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (m *IntPointServiceDefaultGRPCServer) CreateSomething(ctx context.Context, in *Something) (*Something, error)
- func (m *IntPointServiceDefaultGRPCServer) CustomMethod(ctx context.Context, in *google_protobuf2.Empty) (*google_protobuf2.Empty, error)
- func (m *IntPointServiceDefaultGRPCServer) Delete(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (m *IntPointServiceDefaultGRPCServer) List(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
- func (m *IntPointServiceDefaultGRPCServer) ListSomething(ctx context.Context, in *google_protobuf2.Empty) (*ListSomethingResponse, error)
- func (m *IntPointServiceDefaultGRPCServer) Read(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (m *IntPointServiceDefaultGRPCServer) Update(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- type IntPointServiceDefaultServer
- func (m *IntPointServiceDefaultServer) Create(ctx context.Context, in *CreateIntPointRequest, out *CreateIntPointResponse) error
- func (m *IntPointServiceDefaultServer) CreateSomething(ctx context.Context, in *Something, out *Something) error
- func (m *IntPointServiceDefaultServer) CustomMethod(ctx context.Context, in *google_protobuf2.Empty, out *google_protobuf2.Empty) error
- func (m *IntPointServiceDefaultServer) Delete(ctx context.Context, in *DeleteIntPointRequest, out *DeleteIntPointResponse) error
- func (m *IntPointServiceDefaultServer) List(ctx context.Context, in *ListIntPointRequest, out *ListIntPointResponse) error
- func (m *IntPointServiceDefaultServer) ListSomething(ctx context.Context, in *google_protobuf2.Empty, out *ListSomethingResponse) error
- func (m *IntPointServiceDefaultServer) Read(ctx context.Context, in *ReadIntPointRequest, out *ReadIntPointResponse) error
- func (m *IntPointServiceDefaultServer) Update(ctx context.Context, in *UpdateIntPointRequest, out *UpdateIntPointResponse) error
- type IntPointServiceIntPointWithAfterCreate
- type IntPointServiceIntPointWithAfterDelete
- type IntPointServiceIntPointWithAfterList
- type IntPointServiceIntPointWithAfterRead
- type IntPointServiceIntPointWithAfterUpdate
- type IntPointServiceIntPointWithBeforeCreate
- type IntPointServiceIntPointWithBeforeDelete
- type IntPointServiceIntPointWithBeforeList
- type IntPointServiceIntPointWithBeforeRead
- type IntPointServiceIntPointWithBeforeUpdate
- type IntPointServiceServer
- type IntPointServiceSomethingWithAfterList
- type IntPointServiceSomethingWithBeforeList
- type IntPointTxnClient
- type IntPointTxnDefaultGRPCServer
- func (m *IntPointTxnDefaultGRPCServer) Create(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (m *IntPointTxnDefaultGRPCServer) CreateSomething(ctx context.Context, in *Something) (*Something, error)
- func (m *IntPointTxnDefaultGRPCServer) CustomMethod(ctx context.Context, in *google_protobuf2.Empty) (*google_protobuf2.Empty, error)
- func (m *IntPointTxnDefaultGRPCServer) Delete(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (m *IntPointTxnDefaultGRPCServer) DeleteSet(ctx context.Context, in *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
- func (m *IntPointTxnDefaultGRPCServer) List(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
- func (m *IntPointTxnDefaultGRPCServer) Read(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (m *IntPointTxnDefaultGRPCServer) Update(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- type IntPointTxnDefaultServer
- func (m *IntPointTxnDefaultServer) Create(ctx context.Context, in *CreateIntPointRequest, out *CreateIntPointResponse) error
- func (m *IntPointTxnDefaultServer) CreateSomething(ctx context.Context, in *Something, out *Something) error
- func (m *IntPointTxnDefaultServer) CustomMethod(ctx context.Context, in *google_protobuf2.Empty, out *google_protobuf2.Empty) error
- func (m *IntPointTxnDefaultServer) Delete(ctx context.Context, in *DeleteIntPointRequest, out *DeleteIntPointResponse) error
- func (m *IntPointTxnDefaultServer) DeleteSet(ctx context.Context, in *DeleteIntPointsRequest, out *DeleteIntPointResponse) error
- func (m *IntPointTxnDefaultServer) List(ctx context.Context, in *ListIntPointRequest, out *ListIntPointResponse) error
- func (m *IntPointTxnDefaultServer) Read(ctx context.Context, in *ReadIntPointRequest, out *ReadIntPointResponse) error
- func (m *IntPointTxnDefaultServer) Update(ctx context.Context, in *UpdateIntPointRequest, out *UpdateIntPointResponse) error
- type IntPointTxnIntPointWithAfterCreate
- type IntPointTxnIntPointWithAfterDelete
- type IntPointTxnIntPointWithAfterList
- type IntPointTxnIntPointWithAfterRead
- type IntPointTxnIntPointWithAfterUpdate
- type IntPointTxnIntPointWithBeforeCreate
- type IntPointTxnIntPointWithBeforeDelete
- 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 ListCircleRequest
- func (*ListCircleRequest) Descriptor() ([]byte, []int)
- func (*ListCircleRequest) ProtoMessage()
- func (m *ListCircleRequest) Reset()
- func (m *ListCircleRequest) String() string
- func (m *ListCircleRequest) XXX_DiscardUnknown()
- func (m *ListCircleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListCircleRequest) XXX_Merge(src proto.Message)
- func (m *ListCircleRequest) XXX_Size() int
- func (m *ListCircleRequest) XXX_Unmarshal(b []byte) error
- type ListCircleResponse
- func (*ListCircleResponse) Descriptor() ([]byte, []int)
- func (m *ListCircleResponse) GetResults() []*Circle
- func (*ListCircleResponse) ProtoMessage()
- func (m *ListCircleResponse) Reset()
- func (m *ListCircleResponse) String() string
- func (m *ListCircleResponse) XXX_DiscardUnknown()
- func (m *ListCircleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListCircleResponse) XXX_Merge(src proto.Message)
- func (m *ListCircleResponse) XXX_Size() int
- func (m *ListCircleResponse) XXX_Unmarshal(b []byte) error
- type ListIntPointRequest
- func (*ListIntPointRequest) Descriptor() ([]byte, []int)
- func (m *ListIntPointRequest) GetFields() *query.FieldSelection
- func (m *ListIntPointRequest) GetFilter() *query.Filtering
- func (m *ListIntPointRequest) GetOrderBy() *query.Sorting
- func (m *ListIntPointRequest) GetPaging() *query.Pagination
- func (*ListIntPointRequest) ProtoMessage()
- func (m *ListIntPointRequest) Reset()
- func (m *ListIntPointRequest) String() string
- func (m *ListIntPointRequest) XXX_DiscardUnknown()
- func (m *ListIntPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIntPointRequest) XXX_Merge(src proto.Message)
- func (m *ListIntPointRequest) XXX_Size() int
- func (m *ListIntPointRequest) XXX_Unmarshal(b []byte) error
- type ListIntPointResponse
- func (*ListIntPointResponse) Descriptor() ([]byte, []int)
- func (m *ListIntPointResponse) GetPageInfo() *query.PageInfo
- func (m *ListIntPointResponse) GetResults() []*IntPoint
- func (*ListIntPointResponse) ProtoMessage()
- func (m *ListIntPointResponse) Reset()
- func (m *ListIntPointResponse) String() string
- func (m *ListIntPointResponse) XXX_DiscardUnknown()
- func (m *ListIntPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIntPointResponse) XXX_Merge(src proto.Message)
- func (m *ListIntPointResponse) XXX_Size() int
- func (m *ListIntPointResponse) XXX_Unmarshal(b []byte) error
- type ListSomethingResponse
- func (*ListSomethingResponse) Descriptor() ([]byte, []int)
- func (m *ListSomethingResponse) GetPageInfo() *query.PageInfo
- func (m *ListSomethingResponse) GetResults() []*Something
- func (*ListSomethingResponse) ProtoMessage()
- func (m *ListSomethingResponse) Reset()
- func (m *ListSomethingResponse) String() string
- func (m *ListSomethingResponse) XXX_DiscardUnknown()
- func (m *ListSomethingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListSomethingResponse) XXX_Merge(src proto.Message)
- func (m *ListSomethingResponse) XXX_Size() int
- func (m *ListSomethingResponse) XXX_Unmarshal(b []byte) error
- type MultiaccountTypeWithID
- func DefaultApplyFieldMaskMultiaccountTypeWithID(ctx context.Context, patchee *MultiaccountTypeWithID, ...) (*MultiaccountTypeWithID, error)
- func DefaultCreateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm1.DB) (*MultiaccountTypeWithID, error)
- func DefaultListMultiaccountTypeWithID(ctx context.Context, db *gorm1.DB) ([]*MultiaccountTypeWithID, error)
- func DefaultPatchMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, ...) (*MultiaccountTypeWithID, error)
- func DefaultReadMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm1.DB) (*MultiaccountTypeWithID, error)
- func DefaultStrictUpdateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm1.DB) (*MultiaccountTypeWithID, error)
- func (*MultiaccountTypeWithID) Descriptor() ([]byte, []int)
- func (m *MultiaccountTypeWithID) GetId() uint64
- func (m *MultiaccountTypeWithID) GetSomeField() string
- func (*MultiaccountTypeWithID) ProtoMessage()
- func (m *MultiaccountTypeWithID) Reset()
- func (m *MultiaccountTypeWithID) String() string
- func (m *MultiaccountTypeWithID) ToORM(ctx context.Context) (MultiaccountTypeWithIDORM, error)
- func (m *MultiaccountTypeWithID) XXX_DiscardUnknown()
- func (m *MultiaccountTypeWithID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiaccountTypeWithID) XXX_Merge(src proto.Message)
- func (m *MultiaccountTypeWithID) XXX_Size() int
- func (m *MultiaccountTypeWithID) XXX_Unmarshal(b []byte) 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 MultiaccountTypeWithIDRepository
- 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 *gorm1.DB) (*MultiaccountTypeWithoutID, error)
- func DefaultListMultiaccountTypeWithoutID(ctx context.Context, db *gorm1.DB) ([]*MultiaccountTypeWithoutID, error)
- func (*MultiaccountTypeWithoutID) Descriptor() ([]byte, []int)
- func (m *MultiaccountTypeWithoutID) GetSomeField() string
- func (*MultiaccountTypeWithoutID) ProtoMessage()
- func (m *MultiaccountTypeWithoutID) Reset()
- func (m *MultiaccountTypeWithoutID) String() string
- func (m *MultiaccountTypeWithoutID) ToORM(ctx context.Context) (MultiaccountTypeWithoutIDORM, error)
- func (m *MultiaccountTypeWithoutID) XXX_DiscardUnknown()
- func (m *MultiaccountTypeWithoutID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiaccountTypeWithoutID) XXX_Merge(src proto.Message)
- func (m *MultiaccountTypeWithoutID) XXX_Size() int
- func (m *MultiaccountTypeWithoutID) XXX_Unmarshal(b []byte) error
- type MultiaccountTypeWithoutIDORM
- type MultiaccountTypeWithoutIDORMWithAfterCreate_
- type MultiaccountTypeWithoutIDORMWithAfterListFind
- type MultiaccountTypeWithoutIDORMWithBeforeCreate_
- type MultiaccountTypeWithoutIDORMWithBeforeListApplyQuery
- type MultiaccountTypeWithoutIDORMWithBeforeListFind
- type MultiaccountTypeWithoutIDRepository
- type MultiaccountTypeWithoutIDWithAfterToORM
- type MultiaccountTypeWithoutIDWithAfterToPB
- type MultiaccountTypeWithoutIDWithBeforeToORM
- type MultiaccountTypeWithoutIDWithBeforeToPB
- type PrimaryIncluded
- func DefaultApplyFieldMaskPrimaryIncluded(ctx context.Context, patchee *PrimaryIncluded, patcher *PrimaryIncluded, ...) (*PrimaryIncluded, error)
- func DefaultCreatePrimaryIncluded(ctx context.Context, in *PrimaryIncluded, db *gorm1.DB) (*PrimaryIncluded, error)
- func DefaultListPrimaryIncluded(ctx context.Context, db *gorm1.DB) ([]*PrimaryIncluded, error)
- func (*PrimaryIncluded) Descriptor() ([]byte, []int)
- func (m *PrimaryIncluded) GetChild() *ExternalChild
- func (*PrimaryIncluded) ProtoMessage()
- func (m *PrimaryIncluded) Reset()
- func (m *PrimaryIncluded) String() string
- func (m *PrimaryIncluded) ToORM(ctx context.Context) (PrimaryIncludedORM, error)
- func (m *PrimaryIncluded) XXX_DiscardUnknown()
- func (m *PrimaryIncluded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrimaryIncluded) XXX_Merge(src proto.Message)
- func (m *PrimaryIncluded) XXX_Size() int
- func (m *PrimaryIncluded) XXX_Unmarshal(b []byte) error
- type PrimaryIncludedORM
- type PrimaryIncludedORMWithAfterCreate_
- type PrimaryIncludedORMWithAfterListFind
- type PrimaryIncludedORMWithBeforeCreate_
- type PrimaryIncludedORMWithBeforeListApplyQuery
- type PrimaryIncludedORMWithBeforeListFind
- type PrimaryIncludedRepository
- 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 *gorm1.DB) (*PrimaryStringType, error)
- func DefaultListPrimaryStringType(ctx context.Context, db *gorm1.DB) ([]*PrimaryStringType, error)
- func DefaultPatchPrimaryStringType(ctx context.Context, in *PrimaryStringType, updateMask *field_mask1.FieldMask, ...) (*PrimaryStringType, error)
- func DefaultReadPrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm1.DB) (*PrimaryStringType, error)
- func DefaultStrictUpdatePrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm1.DB) (*PrimaryStringType, error)
- func (*PrimaryStringType) Descriptor() ([]byte, []int)
- func (m *PrimaryStringType) GetChild() *ExternalChild
- func (m *PrimaryStringType) GetId() string
- func (*PrimaryStringType) ProtoMessage()
- func (m *PrimaryStringType) Reset()
- func (m *PrimaryStringType) String() string
- func (m *PrimaryStringType) ToORM(ctx context.Context) (PrimaryStringTypeORM, error)
- func (m *PrimaryStringType) XXX_DiscardUnknown()
- func (m *PrimaryStringType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrimaryStringType) XXX_Merge(src proto.Message)
- func (m *PrimaryStringType) XXX_Size() int
- func (m *PrimaryStringType) XXX_Unmarshal(b []byte) 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 PrimaryStringTypeRepository
- 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 *gorm1.DB) (*PrimaryUUIDType, error)
- func DefaultListPrimaryUUIDType(ctx context.Context, db *gorm1.DB) ([]*PrimaryUUIDType, error)
- func DefaultPatchPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, updateMask *field_mask1.FieldMask, ...) (*PrimaryUUIDType, error)
- func DefaultReadPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm1.DB) (*PrimaryUUIDType, error)
- func DefaultStrictUpdatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm1.DB) (*PrimaryUUIDType, error)
- func (*PrimaryUUIDType) Descriptor() ([]byte, []int)
- func (m *PrimaryUUIDType) GetChild() *ExternalChild
- func (m *PrimaryUUIDType) GetId() *types.UUIDValue
- func (*PrimaryUUIDType) ProtoMessage()
- func (m *PrimaryUUIDType) Reset()
- func (m *PrimaryUUIDType) String() string
- func (m *PrimaryUUIDType) ToORM(ctx context.Context) (PrimaryUUIDTypeORM, error)
- func (m *PrimaryUUIDType) XXX_DiscardUnknown()
- func (m *PrimaryUUIDType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrimaryUUIDType) XXX_Merge(src proto.Message)
- func (m *PrimaryUUIDType) XXX_Size() int
- func (m *PrimaryUUIDType) XXX_Unmarshal(b []byte) 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 PrimaryUUIDTypeRepository
- type PrimaryUUIDTypeWithAfterPatchSave
- type PrimaryUUIDTypeWithAfterToORM
- type PrimaryUUIDTypeWithAfterToPB
- type PrimaryUUIDTypeWithBeforePatchApplyFieldMask
- type PrimaryUUIDTypeWithBeforePatchRead
- type PrimaryUUIDTypeWithBeforePatchSave
- type PrimaryUUIDTypeWithBeforeToORM
- type PrimaryUUIDTypeWithBeforeToPB
- type ReadAccountRequest
- func (*ReadAccountRequest) Descriptor() ([]byte, []int)
- func (m *ReadAccountRequest) GetFields() *query.FieldSelection
- func (m *ReadAccountRequest) GetId() uint64
- func (*ReadAccountRequest) ProtoMessage()
- func (m *ReadAccountRequest) Reset()
- func (m *ReadAccountRequest) String() string
- func (m *ReadAccountRequest) XXX_DiscardUnknown()
- func (m *ReadAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadAccountRequest) XXX_Merge(src proto.Message)
- func (m *ReadAccountRequest) XXX_Size() int
- func (m *ReadAccountRequest) XXX_Unmarshal(b []byte) error
- type ReadBlogPostsResponse
- func (*ReadBlogPostsResponse) Descriptor() ([]byte, []int)
- func (m *ReadBlogPostsResponse) GetPosts() []*BlogPost
- func (*ReadBlogPostsResponse) ProtoMessage()
- func (m *ReadBlogPostsResponse) Reset()
- func (m *ReadBlogPostsResponse) String() string
- func (m *ReadBlogPostsResponse) XXX_DiscardUnknown()
- func (m *ReadBlogPostsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadBlogPostsResponse) XXX_Merge(src proto.Message)
- func (m *ReadBlogPostsResponse) XXX_Size() int
- func (m *ReadBlogPostsResponse) XXX_Unmarshal(b []byte) error
- type ReadIntPointRequest
- func (*ReadIntPointRequest) Descriptor() ([]byte, []int)
- func (m *ReadIntPointRequest) GetFields() *query.FieldSelection
- func (m *ReadIntPointRequest) GetId() uint32
- func (*ReadIntPointRequest) ProtoMessage()
- func (m *ReadIntPointRequest) Reset()
- func (m *ReadIntPointRequest) String() string
- func (m *ReadIntPointRequest) XXX_DiscardUnknown()
- func (m *ReadIntPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadIntPointRequest) XXX_Merge(src proto.Message)
- func (m *ReadIntPointRequest) XXX_Size() int
- func (m *ReadIntPointRequest) XXX_Unmarshal(b []byte) error
- type ReadIntPointResponse
- func (*ReadIntPointResponse) Descriptor() ([]byte, []int)
- func (m *ReadIntPointResponse) GetResult() *IntPoint
- func (*ReadIntPointResponse) ProtoMessage()
- func (m *ReadIntPointResponse) Reset()
- func (m *ReadIntPointResponse) String() string
- func (m *ReadIntPointResponse) XXX_DiscardUnknown()
- func (m *ReadIntPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadIntPointResponse) XXX_Merge(src proto.Message)
- func (m *ReadIntPointResponse) XXX_Size() int
- func (m *ReadIntPointResponse) XXX_Unmarshal(b []byte) error
- type Something
- func DefaultApplyFieldMaskSomething(ctx context.Context, patchee *Something, patcher *Something, ...) (*Something, error)
- func DefaultCreateSomething(ctx context.Context, in *Something, db *gorm1.DB) (*Something, error)
- func DefaultListSomething(ctx context.Context, db *gorm1.DB) ([]*Something, error)
- func (*Something) Descriptor() ([]byte, []int)
- func (m *Something) GetField() string
- func (*Something) ProtoMessage()
- func (m *Something) Reset()
- func (m *Something) String() string
- func (m *Something) ToORM(ctx context.Context) (SomethingORM, error)
- func (m *Something) XXX_DiscardUnknown()
- func (m *Something) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Something) XXX_Merge(src proto.Message)
- func (m *Something) XXX_Size() int
- func (m *Something) XXX_Unmarshal(b []byte) error
- type SomethingORM
- type SomethingORMWithAfterCreate_
- type SomethingORMWithAfterListFind
- type SomethingORMWithBeforeCreate_
- type SomethingORMWithBeforeListApplyQuery
- type SomethingORMWithBeforeListFind
- type SomethingRepository
- type SomethingWithAfterToORM
- type SomethingWithAfterToPB
- type SomethingWithBeforeToORM
- type SomethingWithBeforeToPB
- type TestTag
- func DefaultApplyFieldMaskTestTag(ctx context.Context, patchee *TestTag, patcher *TestTag, ...) (*TestTag, error)
- func DefaultCreateTestTag(ctx context.Context, in *TestTag, db *gorm1.DB) (*TestTag, error)
- func DefaultListTestTag(ctx context.Context, db *gorm1.DB) ([]*TestTag, error)
- func DefaultPatchTestTag(ctx context.Context, in *TestTag, updateMask *field_mask1.FieldMask, ...) (*TestTag, error)
- func DefaultReadTestTag(ctx context.Context, in *TestTag, db *gorm1.DB) (*TestTag, error)
- func DefaultStrictUpdateTestTag(ctx context.Context, in *TestTag, db *gorm1.DB) (*TestTag, error)
- func (*TestTag) Descriptor() ([]byte, []int)
- func (m *TestTag) GetId() string
- func (m *TestTag) GetTestTagAssoc() *TestTagAssociation
- func (*TestTag) ProtoMessage()
- func (m *TestTag) Reset()
- func (m *TestTag) String() string
- func (m *TestTag) ToORM(ctx context.Context) (TestTagORM, error)
- func (m *TestTag) XXX_DiscardUnknown()
- func (m *TestTag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestTag) XXX_Merge(src proto.Message)
- func (m *TestTag) XXX_Size() int
- func (m *TestTag) XXX_Unmarshal(b []byte) error
- type TestTagAssociation
- func DefaultApplyFieldMaskTestTagAssociation(ctx context.Context, patchee *TestTagAssociation, patcher *TestTagAssociation, ...) (*TestTagAssociation, error)
- func DefaultCreateTestTagAssociation(ctx context.Context, in *TestTagAssociation, db *gorm1.DB) (*TestTagAssociation, error)
- func DefaultListTestTagAssociation(ctx context.Context, db *gorm1.DB) ([]*TestTagAssociation, error)
- func (*TestTagAssociation) Descriptor() ([]byte, []int)
- func (m *TestTagAssociation) GetSomeField() string
- func (*TestTagAssociation) ProtoMessage()
- func (m *TestTagAssociation) Reset()
- func (m *TestTagAssociation) String() string
- func (m *TestTagAssociation) ToORM(ctx context.Context) (TestTagAssociationORM, error)
- func (m *TestTagAssociation) XXX_DiscardUnknown()
- func (m *TestTagAssociation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestTagAssociation) XXX_Merge(src proto.Message)
- func (m *TestTagAssociation) XXX_Size() int
- func (m *TestTagAssociation) XXX_Unmarshal(b []byte) error
- type TestTagAssociationORM
- type TestTagAssociationORMWithAfterCreate_
- type TestTagAssociationORMWithAfterListFind
- type TestTagAssociationORMWithBeforeCreate_
- type TestTagAssociationORMWithBeforeListApplyQuery
- type TestTagAssociationORMWithBeforeListFind
- type TestTagAssociationRepository
- 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 TestTagRepository
- 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 *gorm1.DB) (*TestTypes, error)
- func DefaultListTestTypes(ctx context.Context, db *gorm1.DB) ([]*TestTypes, error)
- func (*TestTypes) Descriptor() ([]byte, []int)
- func (m *TestTypes) GetApiOnlyString() string
- func (m *TestTypes) GetBecomesInt() TestTypesStatus
- func (m *TestTypes) GetCreatedAt() *timestamp.Timestamp
- func (m *TestTypes) GetJsonField() *types.JSONValue
- func (m *TestTypes) GetNothingness() *empty.Empty
- func (m *TestTypes) GetNullableUuid() *types.UUIDValue
- func (m *TestTypes) GetNumbers() []int32
- func (m *TestTypes) GetOptionalString() *wrappers.StringValue
- func (m *TestTypes) GetTimeOnly() *types.TimeOnly
- func (m *TestTypes) GetTypeWithIdId() uint32
- func (m *TestTypes) GetUuid() *types.UUID
- func (*TestTypes) ProtoMessage()
- func (m *TestTypes) Reset()
- func (m *TestTypes) String() string
- func (m *TestTypes) ToORM(ctx context.Context) (TestTypesORM, error)
- func (m *TestTypes) XXX_DiscardUnknown()
- func (m *TestTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestTypes) XXX_Merge(src proto.Message)
- func (m *TestTypes) XXX_Size() int
- func (m *TestTypes) XXX_Unmarshal(b []byte) error
- type TestTypesORM
- type TestTypesORMWithAfterCreate_
- type TestTypesORMWithAfterListFind
- type TestTypesORMWithBeforeCreate_
- type TestTypesORMWithBeforeListApplyQuery
- type TestTypesORMWithBeforeListFind
- type TestTypesRepository
- type TestTypesStatus
- 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 *gorm1.DB) (*TypeWithID, error)
- func DefaultListTypeWithID(ctx context.Context, db *gorm1.DB) ([]*TypeWithID, error)
- func DefaultPatchTypeWithID(ctx context.Context, in *TypeWithID, updateMask *field_mask1.FieldMask, ...) (*TypeWithID, error)
- func DefaultReadTypeWithID(ctx context.Context, in *TypeWithID, db *gorm1.DB) (*TypeWithID, error)
- func DefaultStrictUpdateTypeWithID(ctx context.Context, in *TypeWithID, db *gorm1.DB) (*TypeWithID, error)
- func (*TypeWithID) Descriptor() ([]byte, []int)
- func (m *TypeWithID) GetANestedObject() *TestTypes
- func (m *TypeWithID) GetAddress() *types.InetValue
- func (m *TypeWithID) GetDeletedAt() *timestamp.Timestamp
- func (m *TypeWithID) GetDoubleField() *wrappers.DoubleValue
- func (m *TypeWithID) GetFloatField() *wrappers.FloatValue
- func (m *TypeWithID) GetId() uint32
- func (m *TypeWithID) GetIp() string
- func (m *TypeWithID) GetMultiaccountTypeIds() []uint32
- func (m *TypeWithID) GetPoint() *IntPoint
- func (m *TypeWithID) GetSyntheticField() *APIOnlyType
- func (m *TypeWithID) GetTagSizeTest() string
- func (m *TypeWithID) GetTagTest() float32
- func (m *TypeWithID) GetThings() []*TestTypes
- func (m *TypeWithID) GetTimeOnly() *types.TimeOnly
- func (m *TypeWithID) GetUser() *user.User
- func (*TypeWithID) ProtoMessage()
- func (m *TypeWithID) Reset()
- func (m *TypeWithID) String() string
- func (m *TypeWithID) ToORM(ctx context.Context) (TypeWithIDORM, error)
- func (m *TypeWithID) XXX_DiscardUnknown()
- func (m *TypeWithID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TypeWithID) XXX_Merge(src proto.Message)
- func (m *TypeWithID) XXX_Size() int
- func (m *TypeWithID) XXX_Unmarshal(b []byte) 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 TypeWithIDRepository
- 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(ctx context.Context, req *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (*UnimplementedIntPointServiceServer) CreateSomething(ctx context.Context, req *Something) (*Something, error)
- func (*UnimplementedIntPointServiceServer) CustomMethod(ctx context.Context, req *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedIntPointServiceServer) Delete(ctx context.Context, req *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (*UnimplementedIntPointServiceServer) List(ctx context.Context, req *ListIntPointRequest) (*ListIntPointResponse, error)
- func (*UnimplementedIntPointServiceServer) ListSomething(ctx context.Context, req *empty.Empty) (*ListSomethingResponse, error)
- func (*UnimplementedIntPointServiceServer) Read(ctx context.Context, req *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (*UnimplementedIntPointServiceServer) Update(ctx context.Context, req *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- type UnimplementedIntPointTxnServer
- func (*UnimplementedIntPointTxnServer) Create(ctx context.Context, req *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (*UnimplementedIntPointTxnServer) CreateSomething(ctx context.Context, req *Something) (*Something, error)
- func (*UnimplementedIntPointTxnServer) CustomMethod(ctx context.Context, req *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedIntPointTxnServer) Delete(ctx context.Context, req *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (*UnimplementedIntPointTxnServer) DeleteSet(ctx context.Context, req *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
- func (*UnimplementedIntPointTxnServer) List(ctx context.Context, req *ListIntPointRequest) (*ListIntPointResponse, error)
- func (*UnimplementedIntPointTxnServer) Read(ctx context.Context, req *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (*UnimplementedIntPointTxnServer) Update(ctx context.Context, req *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- type UpdateIntPointRequest
- func (*UpdateIntPointRequest) Descriptor() ([]byte, []int)
- func (m *UpdateIntPointRequest) GetGerogeriGegege() *field_mask.FieldMask
- func (m *UpdateIntPointRequest) GetPayload() *IntPoint
- func (*UpdateIntPointRequest) ProtoMessage()
- func (m *UpdateIntPointRequest) Reset()
- func (m *UpdateIntPointRequest) String() string
- func (m *UpdateIntPointRequest) XXX_DiscardUnknown()
- func (m *UpdateIntPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateIntPointRequest) XXX_Merge(src proto.Message)
- func (m *UpdateIntPointRequest) XXX_Size() int
- func (m *UpdateIntPointRequest) XXX_Unmarshal(b []byte) error
- type UpdateIntPointResponse
- func (*UpdateIntPointResponse) Descriptor() ([]byte, []int)
- func (m *UpdateIntPointResponse) GetResult() *IntPoint
- func (*UpdateIntPointResponse) ProtoMessage()
- func (m *UpdateIntPointResponse) Reset()
- func (m *UpdateIntPointResponse) String() string
- func (m *UpdateIntPointResponse) XXX_DiscardUnknown()
- func (m *UpdateIntPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateIntPointResponse) XXX_Merge(src proto.Message)
- func (m *UpdateIntPointResponse) XXX_Size() int
- func (m *UpdateIntPointResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ExternalChildIdField = "Id" ExternalChildPrimaryIncludedIdField = "PrimaryIncludedId" ExternalChildPrimaryStringTypeIdField = "PrimaryStringTypeId" ExternalChildPrimaryUUIDTypeIdField = "PrimaryUUIDTypeId" )
var ( BlogPostAuthorField = "Author" BlogPostIdField = "Id" BlogPostTitleField = "Title" )
var ( IntPointIdField = "Id" IntPointXField = "X" IntPointYField = "Y" )
var ( TestTypesANestedObjectTypeWithIDIdField = "ANestedObjectTypeWithIDId" TestTypesArrayField = "Array" TestTypesArray2Field = "Array2" TestTypesBecomesIntField = "BecomesInt" TestTypesCreatedAtField = "CreatedAt" TestTypesJsonFieldField = "JsonField" TestTypesNullableUuidField = "NullableUuid" TestTypesOptionalStringField = "OptionalString" TestTypesThingsTypeWithIDIdField = "ThingsTypeWithIDId" TestTypesTimeOnlyField = "TimeOnly" TestTypesTypeWithIdIdField = "TypeWithIdId" TestTypesUuidField = "Uuid" )
var ( TypeWithIDANestedObjectField = "ANestedObject" TypeWithIDAddressField = "Address" TypeWithIDDeletedAtField = "DeletedAt" TypeWithIDDoubleFieldField = "DoubleField" TypeWithIDFloatFieldField = "FloatField" TypeWithIDIdField = "Id" TypeWithIDIntPointIdField = "IntPointId" TypeWithIDIpField = "Ip" TypeWithIDMultiAccountTypesField = "MultiAccountTypes" TypeWithIDPointField = "Point" TypeWithIDSecretIntField = "SecretInt" TypeWithIDTagSizeTestField = "TagSizeTest" TypeWithIDTagTestField = "TagTest" TypeWithIDThingsField = "Things" TypeWithIDTimeOnlyField = "TimeOnly" TypeWithIDUserField = "User" TypeWithIDUserIdField = "UserId" )
var ( MultiaccountTypeWithIDAccountIDField = "AccountID" MultiaccountTypeWithIDIdField = "Id" MultiaccountTypeWithIDSomeFieldField = "SomeField" )
var ( MultiaccountTypeWithoutIDAccountIDField = "AccountID" MultiaccountTypeWithoutIDSomeFieldField = "SomeField" )
var ( PrimaryUUIDTypeChildField = "Child" PrimaryUUIDTypeIdField = "Id" )
var ( PrimaryStringTypeChildField = "Child" PrimaryStringTypeIdField = "Id" )
var ( TestTagIdField = "Id" TestTagTestTagAssocField = "TestTagAssoc" )
var ( TestTagAssociationSomeFieldField = "SomeField" TestTagAssociationTestTagIdField = "TestTagId" )
var ( PrimaryIncludedChildField = "Child" PrimaryIncludedIdField = "Id" )
var (
CircleRField = "R"
)
var (
SomethingFieldField = "Field"
)
var TestTypesStatus_name = map[int32]string{
0: "UNKNOWN",
1: "GOOD",
2: "BAD",
}
var TestTypesStatus_value = map[string]int32{
"UNKNOWN": 0,
"GOOD": 1,
"BAD": 2,
}
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 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.Server, srv BlogPostServiceServer)
func RegisterCircleServiceServer ¶ added in v0.14.0
func RegisterCircleServiceServer(s *grpc.Server, srv CircleServiceServer)
func RegisterIntPointServiceServer ¶ added in v0.6.0
func RegisterIntPointServiceServer(s *grpc.Server, srv IntPointServiceServer)
func RegisterIntPointTxnServer ¶ added in v0.6.0
func RegisterIntPointTxnServer(s *grpc.Server, srv IntPointTxnServer)
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*APIOnlyType) Descriptor ¶ added in v0.2.0
func (*APIOnlyType) Descriptor() ([]byte, []int)
func (*APIOnlyType) GetContents ¶ added in v0.2.0
func (m *APIOnlyType) GetContents() string
func (*APIOnlyType) ProtoMessage ¶ added in v0.2.0
func (*APIOnlyType) ProtoMessage()
func (*APIOnlyType) Reset ¶ added in v0.2.0
func (m *APIOnlyType) Reset()
func (*APIOnlyType) String ¶ added in v0.2.0
func (m *APIOnlyType) String() string
func (*APIOnlyType) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *APIOnlyType) XXX_DiscardUnknown()
func (*APIOnlyType) XXX_Marshal ¶ added in v0.6.0
func (m *APIOnlyType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*APIOnlyType) XXX_Merge ¶ added in v0.6.0
func (m *APIOnlyType) XXX_Merge(src proto.Message)
func (*APIOnlyType) XXX_Size ¶ added in v0.6.0
func (m *APIOnlyType) XXX_Size() int
func (*APIOnlyType) XXX_Unmarshal ¶ added in v0.6.0
func (m *APIOnlyType) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func DefaultApplyFieldMaskBlogPost ¶ added in v0.14.1
func DefaultApplyFieldMaskBlogPost(ctx context.Context, patchee *BlogPost, patcher *BlogPost, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.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_mask1.FieldMask, db *gorm1.DB) (*BlogPost, error)
DefaultPatchBlogPost executes a basic 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
func DefaultStrictUpdateBlogPost(ctx context.Context, in *BlogPost, db *gorm1.DB) (*BlogPost, error)
DefaultStrictUpdateBlogPost clears first level 1:many children and then executes a gorm update call
func (*BlogPost) Descriptor ¶ added in v0.14.1
func (*BlogPost) ProtoMessage ¶ added in v0.14.1
func (*BlogPost) ProtoMessage()
func (*BlogPost) ToORM ¶ added in v0.14.1
func (m *BlogPost) ToORM(ctx context.Context) (BlogPostORM, 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
func (*BlogPost) XXX_DiscardUnknown ¶ added in v0.14.1
func (m *BlogPost) XXX_DiscardUnknown()
func (*BlogPost) XXX_Marshal ¶ added in v0.14.1
func (*BlogPost) XXX_Unmarshal ¶ added in v0.14.1
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 v0.16.0
type BlogPostORMWithAfterDeleteSet ¶ added in v0.15.0
type BlogPostORMWithAfterDelete_ ¶ added in v0.16.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 v0.16.0
type BlogPostORMWithBeforeDeleteSet ¶ added in v0.15.0
type BlogPostORMWithBeforeDelete_ ¶ added in v0.16.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 BlogPostRepository ¶ added in v0.19.0
type BlogPostRepository interface { // CreateBlogPost executes a basic gorm create call CreateBlogPost(ctx context.Context, in *BlogPost) (*BlogPost, error) // ListBlogPost executes a gorm list call ListBlogPost(ctx context.Context) ([]*BlogPost, error) // ReadBlogPost executes a basic gorm read call ReadBlogPost(ctx context.Context, in *BlogPost) (*BlogPost, error) // DeleteBlogPost executes a basic gorm delete call DeleteBlogPost(ctx context.Context, in *BlogPost) error // DeleteBlogPostSet executes a basic gorm delete set call DeleteBlogPostSet(ctx context.Context, in []*BlogPost) error // StrictUpdateBlogPost clears first level 1:many children and then executes a gorm update call StrictUpdateBlogPost(ctx context.Context, in *BlogPost) (*BlogPost, error) // PatchBlogPost executes a basic gorm update call with patch behavior PatchBlogPost(ctx context.Context, in *BlogPost, updateMask *field_mask1.FieldMask) (*BlogPost, error) }
BlogPostRepository is a default repository
func NewBlogPostRepository ¶ added in v0.19.0
func NewBlogPostRepository(db *gorm1.DB) (BlogPostRepository, error)
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBlogPostServiceClient ¶ added in v0.14.0
func NewBlogPostServiceClient(cc *grpc.ClientConn) BlogPostServiceClient
type BlogPostServiceDefaultGRPCServer ¶ added in v0.20.1
type BlogPostServiceDefaultGRPCServer struct {
// contains filtered or unexported fields
}
func NewBlogPostServiceDefaultGRPCServer ¶ added in v0.20.1
func NewBlogPostServiceDefaultGRPCServer(db *gorm1.DB) *BlogPostServiceDefaultGRPCServer
func (*BlogPostServiceDefaultGRPCServer) Read ¶ added in v0.20.1
func (m *BlogPostServiceDefaultGRPCServer) Read(ctx context.Context, in *ReadAccountRequest) (*ReadBlogPostsResponse, error)
Read ...
type BlogPostServiceDefaultServer ¶ added in v0.14.0
func (*BlogPostServiceDefaultServer) Read ¶ added in v0.14.0
func (m *BlogPostServiceDefaultServer) Read(ctx context.Context, in *ReadAccountRequest, out *ReadBlogPostsResponse) error
Read ...
type BlogPostServiceServer ¶ added in v0.14.0
type BlogPostServiceServer interface {
Read(context.Context, *ReadAccountRequest) (*ReadBlogPostsResponse, error)
}
BlogPostServiceServer is the server API for BlogPostService service.
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func DefaultApplyFieldMaskCircle ¶ added in v0.14.0
func DefaultApplyFieldMaskCircle(ctx context.Context, patchee *Circle, patcher *Circle, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.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 ¶ added in v0.14.0
func (*Circle) ProtoMessage ¶ added in v0.14.0
func (*Circle) ProtoMessage()
func (*Circle) ToORM ¶ added in v0.14.0
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
func (*Circle) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *Circle) XXX_DiscardUnknown()
func (*Circle) XXX_Marshal ¶ added in v0.14.0
func (*Circle) XXX_Unmarshal ¶ added in v0.14.0
type CircleORM ¶ added in v0.14.0
type CircleORM struct {
R uint32
}
type CircleORMWithAfterCreate_ ¶ added in v0.16.0
type CircleORMWithAfterListFind ¶ added in v0.14.0
type CircleORMWithBeforeCreate_ ¶ added in v0.16.0
type CircleORMWithBeforeListApplyQuery ¶ added in v0.14.0
type CircleORMWithBeforeListFind ¶ added in v0.14.0
type CircleRepository ¶ added in v0.19.0
type CircleRepository interface { // CreateCircle executes a basic gorm create call CreateCircle(ctx context.Context, in *Circle) (*Circle, error) // ListCircle executes a gorm list call ListCircle(ctx context.Context) ([]*Circle, error) }
CircleRepository is a default repository
func NewCircleRepository ¶ added in v0.19.0
func NewCircleRepository(db *gorm1.DB) (CircleRepository, error)
type CircleServiceCircleWithAfterList ¶ added in v0.14.0
type CircleServiceCircleWithAfterList interface {
AfterList(context.Context, *ListCircleResponse, *gorm1.DB) error
}
CircleServiceCircleWithAfterList called before DefaultListCircle in the default List handler
type CircleServiceCircleWithBeforeList ¶ added in v0.14.0
type CircleServiceCircleWithBeforeList interface {
BeforeList(context.Context, *gorm1.DB) (*gorm1.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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCircleServiceClient ¶ added in v0.14.0
func NewCircleServiceClient(cc *grpc.ClientConn) CircleServiceClient
type CircleServiceDefaultGRPCServer ¶ added in v0.20.1
type CircleServiceDefaultGRPCServer struct {
// contains filtered or unexported fields
}
func NewCircleServiceDefaultGRPCServer ¶ added in v0.20.1
func NewCircleServiceDefaultGRPCServer(db *gorm1.DB) *CircleServiceDefaultGRPCServer
func (*CircleServiceDefaultGRPCServer) List ¶ added in v0.20.1
func (m *CircleServiceDefaultGRPCServer) List(ctx context.Context, in *ListCircleRequest) (*ListCircleResponse, error)
List ...
type CircleServiceDefaultServer ¶ added in v0.14.0
func (*CircleServiceDefaultServer) List ¶ added in v0.14.0
func (m *CircleServiceDefaultServer) List(ctx context.Context, in *ListCircleRequest, out *ListCircleResponse) error
List ...
type CircleServiceServer ¶ added in v0.14.0
type CircleServiceServer interface {
List(context.Context, *ListCircleRequest) (*ListCircleResponse, error)
}
CircleServiceServer is the server API for CircleService service.
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateIntPointRequest) Descriptor ¶ added in v0.2.0
func (*CreateIntPointRequest) Descriptor() ([]byte, []int)
func (*CreateIntPointRequest) GetPayload ¶ added in v0.2.0
func (m *CreateIntPointRequest) GetPayload() *IntPoint
func (*CreateIntPointRequest) ProtoMessage ¶ added in v0.2.0
func (*CreateIntPointRequest) ProtoMessage()
func (*CreateIntPointRequest) Reset ¶ added in v0.2.0
func (m *CreateIntPointRequest) Reset()
func (*CreateIntPointRequest) String ¶ added in v0.2.0
func (m *CreateIntPointRequest) String() string
func (*CreateIntPointRequest) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *CreateIntPointRequest) XXX_DiscardUnknown()
func (*CreateIntPointRequest) XXX_Marshal ¶ added in v0.6.0
func (m *CreateIntPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateIntPointRequest) XXX_Merge ¶ added in v0.6.0
func (m *CreateIntPointRequest) XXX_Merge(src proto.Message)
func (*CreateIntPointRequest) XXX_Size ¶ added in v0.6.0
func (m *CreateIntPointRequest) XXX_Size() int
func (*CreateIntPointRequest) XXX_Unmarshal ¶ added in v0.6.0
func (m *CreateIntPointRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateIntPointResponse) Descriptor ¶ added in v0.2.0
func (*CreateIntPointResponse) Descriptor() ([]byte, []int)
func (*CreateIntPointResponse) GetResult ¶ added in v0.2.0
func (m *CreateIntPointResponse) GetResult() *IntPoint
func (*CreateIntPointResponse) ProtoMessage ¶ added in v0.2.0
func (*CreateIntPointResponse) ProtoMessage()
func (*CreateIntPointResponse) Reset ¶ added in v0.2.0
func (m *CreateIntPointResponse) Reset()
func (*CreateIntPointResponse) String ¶ added in v0.2.0
func (m *CreateIntPointResponse) String() string
func (*CreateIntPointResponse) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *CreateIntPointResponse) XXX_DiscardUnknown()
func (*CreateIntPointResponse) XXX_Marshal ¶ added in v0.6.0
func (m *CreateIntPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateIntPointResponse) XXX_Merge ¶ added in v0.6.0
func (m *CreateIntPointResponse) XXX_Merge(src proto.Message)
func (*CreateIntPointResponse) XXX_Size ¶ added in v0.6.0
func (m *CreateIntPointResponse) XXX_Size() int
func (*CreateIntPointResponse) XXX_Unmarshal ¶ added in v0.6.0
func (m *CreateIntPointResponse) XXX_Unmarshal(b []byte) error
type DefaultBlogPostRepository ¶ added in v0.19.0
type DefaultBlogPostRepository struct {
// contains filtered or unexported fields
}
DefaultBlogPostRepository implements BlogPostRepository
func (*DefaultBlogPostRepository) CreateBlogPost ¶ added in v0.19.0
func (*DefaultBlogPostRepository) DeleteBlogPost ¶ added in v0.19.0
func (r *DefaultBlogPostRepository) DeleteBlogPost(ctx context.Context, in *BlogPost) error
func (*DefaultBlogPostRepository) DeleteBlogPostSet ¶ added in v0.19.0
func (r *DefaultBlogPostRepository) DeleteBlogPostSet(ctx context.Context, in []*BlogPost) error
func (*DefaultBlogPostRepository) ListBlogPost ¶ added in v0.19.0
func (r *DefaultBlogPostRepository) ListBlogPost(ctx context.Context) ([]*BlogPost, error)
func (*DefaultBlogPostRepository) PatchBlogPost ¶ added in v0.19.0
func (r *DefaultBlogPostRepository) PatchBlogPost(ctx context.Context, in *BlogPost, updateMask *field_mask1.FieldMask) (*BlogPost, error)
func (*DefaultBlogPostRepository) ReadBlogPost ¶ added in v0.19.0
func (*DefaultBlogPostRepository) StrictUpdateBlogPost ¶ added in v0.19.0
type DefaultCircleRepository ¶ added in v0.19.0
type DefaultCircleRepository struct {
// contains filtered or unexported fields
}
DefaultCircleRepository implements CircleRepository
func (*DefaultCircleRepository) CreateCircle ¶ added in v0.19.0
func (*DefaultCircleRepository) ListCircle ¶ added in v0.19.0
func (r *DefaultCircleRepository) ListCircle(ctx context.Context) ([]*Circle, error)
type DefaultExternalChildRepository ¶ added in v0.19.0
type DefaultExternalChildRepository struct {
// contains filtered or unexported fields
}
DefaultExternalChildRepository implements ExternalChildRepository
func (*DefaultExternalChildRepository) CreateExternalChild ¶ added in v0.19.0
func (r *DefaultExternalChildRepository) CreateExternalChild(ctx context.Context, in *ExternalChild) (*ExternalChild, error)
func (*DefaultExternalChildRepository) DeleteExternalChild ¶ added in v0.19.0
func (r *DefaultExternalChildRepository) DeleteExternalChild(ctx context.Context, in *ExternalChild) error
func (*DefaultExternalChildRepository) DeleteExternalChildSet ¶ added in v0.19.0
func (r *DefaultExternalChildRepository) DeleteExternalChildSet(ctx context.Context, in []*ExternalChild) error
func (*DefaultExternalChildRepository) ListExternalChild ¶ added in v0.19.0
func (r *DefaultExternalChildRepository) ListExternalChild(ctx context.Context) ([]*ExternalChild, error)
func (*DefaultExternalChildRepository) PatchExternalChild ¶ added in v0.19.0
func (r *DefaultExternalChildRepository) PatchExternalChild(ctx context.Context, in *ExternalChild, updateMask *field_mask1.FieldMask) (*ExternalChild, error)
func (*DefaultExternalChildRepository) ReadExternalChild ¶ added in v0.19.0
func (r *DefaultExternalChildRepository) ReadExternalChild(ctx context.Context, in *ExternalChild) (*ExternalChild, error)
func (*DefaultExternalChildRepository) StrictUpdateExternalChild ¶ added in v0.19.0
func (r *DefaultExternalChildRepository) StrictUpdateExternalChild(ctx context.Context, in *ExternalChild) (*ExternalChild, error)
type DefaultIntPointRepository ¶ added in v0.19.0
type DefaultIntPointRepository struct {
// contains filtered or unexported fields
}
DefaultIntPointRepository implements IntPointRepository
func (*DefaultIntPointRepository) CreateIntPoint ¶ added in v0.19.0
func (*DefaultIntPointRepository) DeleteIntPoint ¶ added in v0.19.0
func (r *DefaultIntPointRepository) DeleteIntPoint(ctx context.Context, in *IntPoint) error
func (*DefaultIntPointRepository) DeleteIntPointSet ¶ added in v0.19.0
func (r *DefaultIntPointRepository) DeleteIntPointSet(ctx context.Context, in []*IntPoint) error
func (*DefaultIntPointRepository) ListIntPoint ¶ added in v0.19.0
func (r *DefaultIntPointRepository) ListIntPoint(ctx context.Context, f *query1.Filtering, s *query1.Sorting, p *query1.Pagination, fs *query1.FieldSelection) ([]*IntPoint, error)
func (*DefaultIntPointRepository) PatchIntPoint ¶ added in v0.19.0
func (r *DefaultIntPointRepository) PatchIntPoint(ctx context.Context, in *IntPoint, updateMask *field_mask1.FieldMask) (*IntPoint, error)
func (*DefaultIntPointRepository) ReadIntPoint ¶ added in v0.19.0
func (r *DefaultIntPointRepository) ReadIntPoint(ctx context.Context, in *IntPoint, fs *query1.FieldSelection) (*IntPoint, error)
func (*DefaultIntPointRepository) StrictUpdateIntPoint ¶ added in v0.19.0
type DefaultMultiaccountTypeWithIDRepository ¶ added in v0.19.0
type DefaultMultiaccountTypeWithIDRepository struct {
// contains filtered or unexported fields
}
DefaultMultiaccountTypeWithIDRepository implements MultiaccountTypeWithIDRepository
func (*DefaultMultiaccountTypeWithIDRepository) CreateMultiaccountTypeWithID ¶ added in v0.19.0
func (r *DefaultMultiaccountTypeWithIDRepository) CreateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID) (*MultiaccountTypeWithID, error)
func (*DefaultMultiaccountTypeWithIDRepository) DeleteMultiaccountTypeWithID ¶ added in v0.19.0
func (r *DefaultMultiaccountTypeWithIDRepository) DeleteMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID) error
func (*DefaultMultiaccountTypeWithIDRepository) DeleteMultiaccountTypeWithIDSet ¶ added in v0.19.0
func (r *DefaultMultiaccountTypeWithIDRepository) DeleteMultiaccountTypeWithIDSet(ctx context.Context, in []*MultiaccountTypeWithID) error
func (*DefaultMultiaccountTypeWithIDRepository) ListMultiaccountTypeWithID ¶ added in v0.19.0
func (r *DefaultMultiaccountTypeWithIDRepository) ListMultiaccountTypeWithID(ctx context.Context) ([]*MultiaccountTypeWithID, error)
func (*DefaultMultiaccountTypeWithIDRepository) PatchMultiaccountTypeWithID ¶ added in v0.19.0
func (r *DefaultMultiaccountTypeWithIDRepository) PatchMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, updateMask *field_mask1.FieldMask) (*MultiaccountTypeWithID, error)
func (*DefaultMultiaccountTypeWithIDRepository) ReadMultiaccountTypeWithID ¶ added in v0.19.0
func (r *DefaultMultiaccountTypeWithIDRepository) ReadMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID) (*MultiaccountTypeWithID, error)
func (*DefaultMultiaccountTypeWithIDRepository) StrictUpdateMultiaccountTypeWithID ¶ added in v0.19.0
func (r *DefaultMultiaccountTypeWithIDRepository) StrictUpdateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID) (*MultiaccountTypeWithID, error)
type DefaultMultiaccountTypeWithoutIDRepository ¶ added in v0.19.0
type DefaultMultiaccountTypeWithoutIDRepository struct {
// contains filtered or unexported fields
}
DefaultMultiaccountTypeWithoutIDRepository implements MultiaccountTypeWithoutIDRepository
func (*DefaultMultiaccountTypeWithoutIDRepository) CreateMultiaccountTypeWithoutID ¶ added in v0.19.0
func (r *DefaultMultiaccountTypeWithoutIDRepository) CreateMultiaccountTypeWithoutID(ctx context.Context, in *MultiaccountTypeWithoutID) (*MultiaccountTypeWithoutID, error)
func (*DefaultMultiaccountTypeWithoutIDRepository) ListMultiaccountTypeWithoutID ¶ added in v0.19.0
func (r *DefaultMultiaccountTypeWithoutIDRepository) ListMultiaccountTypeWithoutID(ctx context.Context) ([]*MultiaccountTypeWithoutID, error)
type DefaultPrimaryIncludedRepository ¶ added in v0.19.0
type DefaultPrimaryIncludedRepository struct {
// contains filtered or unexported fields
}
DefaultPrimaryIncludedRepository implements PrimaryIncludedRepository
func (*DefaultPrimaryIncludedRepository) CreatePrimaryIncluded ¶ added in v0.19.0
func (r *DefaultPrimaryIncludedRepository) CreatePrimaryIncluded(ctx context.Context, in *PrimaryIncluded) (*PrimaryIncluded, error)
func (*DefaultPrimaryIncludedRepository) ListPrimaryIncluded ¶ added in v0.19.0
func (r *DefaultPrimaryIncludedRepository) ListPrimaryIncluded(ctx context.Context) ([]*PrimaryIncluded, error)
type DefaultPrimaryStringTypeRepository ¶ added in v0.19.0
type DefaultPrimaryStringTypeRepository struct {
// contains filtered or unexported fields
}
DefaultPrimaryStringTypeRepository implements PrimaryStringTypeRepository
func (*DefaultPrimaryStringTypeRepository) CreatePrimaryStringType ¶ added in v0.19.0
func (r *DefaultPrimaryStringTypeRepository) CreatePrimaryStringType(ctx context.Context, in *PrimaryStringType) (*PrimaryStringType, error)
func (*DefaultPrimaryStringTypeRepository) DeletePrimaryStringType ¶ added in v0.19.0
func (r *DefaultPrimaryStringTypeRepository) DeletePrimaryStringType(ctx context.Context, in *PrimaryStringType) error
func (*DefaultPrimaryStringTypeRepository) DeletePrimaryStringTypeSet ¶ added in v0.19.0
func (r *DefaultPrimaryStringTypeRepository) DeletePrimaryStringTypeSet(ctx context.Context, in []*PrimaryStringType) error
func (*DefaultPrimaryStringTypeRepository) ListPrimaryStringType ¶ added in v0.19.0
func (r *DefaultPrimaryStringTypeRepository) ListPrimaryStringType(ctx context.Context) ([]*PrimaryStringType, error)
func (*DefaultPrimaryStringTypeRepository) PatchPrimaryStringType ¶ added in v0.19.0
func (r *DefaultPrimaryStringTypeRepository) PatchPrimaryStringType(ctx context.Context, in *PrimaryStringType, updateMask *field_mask1.FieldMask) (*PrimaryStringType, error)
func (*DefaultPrimaryStringTypeRepository) ReadPrimaryStringType ¶ added in v0.19.0
func (r *DefaultPrimaryStringTypeRepository) ReadPrimaryStringType(ctx context.Context, in *PrimaryStringType) (*PrimaryStringType, error)
func (*DefaultPrimaryStringTypeRepository) StrictUpdatePrimaryStringType ¶ added in v0.19.0
func (r *DefaultPrimaryStringTypeRepository) StrictUpdatePrimaryStringType(ctx context.Context, in *PrimaryStringType) (*PrimaryStringType, error)
type DefaultPrimaryUUIDTypeRepository ¶ added in v0.19.0
type DefaultPrimaryUUIDTypeRepository struct {
// contains filtered or unexported fields
}
DefaultPrimaryUUIDTypeRepository implements PrimaryUUIDTypeRepository
func (*DefaultPrimaryUUIDTypeRepository) CreatePrimaryUUIDType ¶ added in v0.19.0
func (r *DefaultPrimaryUUIDTypeRepository) CreatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType) (*PrimaryUUIDType, error)
func (*DefaultPrimaryUUIDTypeRepository) DeletePrimaryUUIDType ¶ added in v0.19.0
func (r *DefaultPrimaryUUIDTypeRepository) DeletePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType) error
func (*DefaultPrimaryUUIDTypeRepository) DeletePrimaryUUIDTypeSet ¶ added in v0.19.0
func (r *DefaultPrimaryUUIDTypeRepository) DeletePrimaryUUIDTypeSet(ctx context.Context, in []*PrimaryUUIDType) error
func (*DefaultPrimaryUUIDTypeRepository) ListPrimaryUUIDType ¶ added in v0.19.0
func (r *DefaultPrimaryUUIDTypeRepository) ListPrimaryUUIDType(ctx context.Context) ([]*PrimaryUUIDType, error)
func (*DefaultPrimaryUUIDTypeRepository) PatchPrimaryUUIDType ¶ added in v0.19.0
func (r *DefaultPrimaryUUIDTypeRepository) PatchPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, updateMask *field_mask1.FieldMask) (*PrimaryUUIDType, error)
func (*DefaultPrimaryUUIDTypeRepository) ReadPrimaryUUIDType ¶ added in v0.19.0
func (r *DefaultPrimaryUUIDTypeRepository) ReadPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType) (*PrimaryUUIDType, error)
func (*DefaultPrimaryUUIDTypeRepository) StrictUpdatePrimaryUUIDType ¶ added in v0.19.0
func (r *DefaultPrimaryUUIDTypeRepository) StrictUpdatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType) (*PrimaryUUIDType, error)
type DefaultSomethingRepository ¶ added in v0.19.0
type DefaultSomethingRepository struct {
// contains filtered or unexported fields
}
DefaultSomethingRepository implements SomethingRepository
func (*DefaultSomethingRepository) CreateSomething ¶ added in v0.19.0
func (*DefaultSomethingRepository) ListSomething ¶ added in v0.19.0
func (r *DefaultSomethingRepository) ListSomething(ctx context.Context) ([]*Something, error)
type DefaultTestTagAssociationRepository ¶ added in v0.19.0
type DefaultTestTagAssociationRepository struct {
// contains filtered or unexported fields
}
DefaultTestTagAssociationRepository implements TestTagAssociationRepository
func (*DefaultTestTagAssociationRepository) CreateTestTagAssociation ¶ added in v0.19.0
func (r *DefaultTestTagAssociationRepository) CreateTestTagAssociation(ctx context.Context, in *TestTagAssociation) (*TestTagAssociation, error)
func (*DefaultTestTagAssociationRepository) ListTestTagAssociation ¶ added in v0.19.0
func (r *DefaultTestTagAssociationRepository) ListTestTagAssociation(ctx context.Context) ([]*TestTagAssociation, error)
type DefaultTestTagRepository ¶ added in v0.19.0
type DefaultTestTagRepository struct {
// contains filtered or unexported fields
}
DefaultTestTagRepository implements TestTagRepository
func (*DefaultTestTagRepository) CreateTestTag ¶ added in v0.19.0
func (*DefaultTestTagRepository) DeleteTestTag ¶ added in v0.19.0
func (r *DefaultTestTagRepository) DeleteTestTag(ctx context.Context, in *TestTag) error
func (*DefaultTestTagRepository) DeleteTestTagSet ¶ added in v0.19.0
func (r *DefaultTestTagRepository) DeleteTestTagSet(ctx context.Context, in []*TestTag) error
func (*DefaultTestTagRepository) ListTestTag ¶ added in v0.19.0
func (r *DefaultTestTagRepository) ListTestTag(ctx context.Context) ([]*TestTag, error)
func (*DefaultTestTagRepository) PatchTestTag ¶ added in v0.19.0
func (r *DefaultTestTagRepository) PatchTestTag(ctx context.Context, in *TestTag, updateMask *field_mask1.FieldMask) (*TestTag, error)
func (*DefaultTestTagRepository) ReadTestTag ¶ added in v0.19.0
func (*DefaultTestTagRepository) StrictUpdateTestTag ¶ added in v0.19.0
type DefaultTestTypesRepository ¶ added in v0.19.0
type DefaultTestTypesRepository struct {
// contains filtered or unexported fields
}
DefaultTestTypesRepository implements TestTypesRepository
func (*DefaultTestTypesRepository) CreateTestTypes ¶ added in v0.19.0
func (*DefaultTestTypesRepository) ListTestTypes ¶ added in v0.19.0
func (r *DefaultTestTypesRepository) ListTestTypes(ctx context.Context) ([]*TestTypes, error)
type DefaultTypeWithIDRepository ¶ added in v0.19.0
type DefaultTypeWithIDRepository struct {
// contains filtered or unexported fields
}
DefaultTypeWithIDRepository implements TypeWithIDRepository
func (*DefaultTypeWithIDRepository) CreateTypeWithID ¶ added in v0.19.0
func (r *DefaultTypeWithIDRepository) CreateTypeWithID(ctx context.Context, in *TypeWithID) (*TypeWithID, error)
func (*DefaultTypeWithIDRepository) DeleteTypeWithID ¶ added in v0.19.0
func (r *DefaultTypeWithIDRepository) DeleteTypeWithID(ctx context.Context, in *TypeWithID) error
func (*DefaultTypeWithIDRepository) DeleteTypeWithIDSet ¶ added in v0.19.0
func (r *DefaultTypeWithIDRepository) DeleteTypeWithIDSet(ctx context.Context, in []*TypeWithID) error
func (*DefaultTypeWithIDRepository) ListTypeWithID ¶ added in v0.19.0
func (r *DefaultTypeWithIDRepository) ListTypeWithID(ctx context.Context) ([]*TypeWithID, error)
func (*DefaultTypeWithIDRepository) PatchTypeWithID ¶ added in v0.19.0
func (r *DefaultTypeWithIDRepository) PatchTypeWithID(ctx context.Context, in *TypeWithID, updateMask *field_mask1.FieldMask) (*TypeWithID, error)
func (*DefaultTypeWithIDRepository) ReadTypeWithID ¶ added in v0.19.0
func (r *DefaultTypeWithIDRepository) ReadTypeWithID(ctx context.Context, in *TypeWithID) (*TypeWithID, error)
func (*DefaultTypeWithIDRepository) StrictUpdateTypeWithID ¶ added in v0.19.0
func (r *DefaultTypeWithIDRepository) StrictUpdateTypeWithID(ctx context.Context, in *TypeWithID) (*TypeWithID, error)
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteIntPointRequest) Descriptor ¶ added in v0.2.0
func (*DeleteIntPointRequest) Descriptor() ([]byte, []int)
func (*DeleteIntPointRequest) GetId ¶ added in v0.2.0
func (m *DeleteIntPointRequest) GetId() uint32
func (*DeleteIntPointRequest) ProtoMessage ¶ added in v0.2.0
func (*DeleteIntPointRequest) ProtoMessage()
func (*DeleteIntPointRequest) Reset ¶ added in v0.2.0
func (m *DeleteIntPointRequest) Reset()
func (*DeleteIntPointRequest) String ¶ added in v0.2.0
func (m *DeleteIntPointRequest) String() string
func (*DeleteIntPointRequest) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *DeleteIntPointRequest) XXX_DiscardUnknown()
func (*DeleteIntPointRequest) XXX_Marshal ¶ added in v0.6.0
func (m *DeleteIntPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteIntPointRequest) XXX_Merge ¶ added in v0.6.0
func (m *DeleteIntPointRequest) XXX_Merge(src proto.Message)
func (*DeleteIntPointRequest) XXX_Size ¶ added in v0.6.0
func (m *DeleteIntPointRequest) XXX_Size() int
func (*DeleteIntPointRequest) XXX_Unmarshal ¶ added in v0.6.0
func (m *DeleteIntPointRequest) XXX_Unmarshal(b []byte) error
type DeleteIntPointResponse ¶ added in v0.5.0
type DeleteIntPointResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
By convention, on DELETE no response data is given, so either a google.protobuf.empty, or an empty struct is sufficient
func (*DeleteIntPointResponse) Descriptor ¶ added in v0.5.0
func (*DeleteIntPointResponse) Descriptor() ([]byte, []int)
func (*DeleteIntPointResponse) ProtoMessage ¶ added in v0.5.0
func (*DeleteIntPointResponse) ProtoMessage()
func (*DeleteIntPointResponse) Reset ¶ added in v0.5.0
func (m *DeleteIntPointResponse) Reset()
func (*DeleteIntPointResponse) String ¶ added in v0.5.0
func (m *DeleteIntPointResponse) String() string
func (*DeleteIntPointResponse) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *DeleteIntPointResponse) XXX_DiscardUnknown()
func (*DeleteIntPointResponse) XXX_Marshal ¶ added in v0.6.0
func (m *DeleteIntPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteIntPointResponse) XXX_Merge ¶ added in v0.6.0
func (m *DeleteIntPointResponse) XXX_Merge(src proto.Message)
func (*DeleteIntPointResponse) XXX_Size ¶ added in v0.6.0
func (m *DeleteIntPointResponse) XXX_Size() int
func (*DeleteIntPointResponse) XXX_Unmarshal ¶ added in v0.6.0
func (m *DeleteIntPointResponse) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteIntPointsRequest) Descriptor ¶ added in v0.15.0
func (*DeleteIntPointsRequest) Descriptor() ([]byte, []int)
func (*DeleteIntPointsRequest) GetIds ¶ added in v0.15.0
func (m *DeleteIntPointsRequest) GetIds() []uint32
func (*DeleteIntPointsRequest) ProtoMessage ¶ added in v0.15.0
func (*DeleteIntPointsRequest) ProtoMessage()
func (*DeleteIntPointsRequest) Reset ¶ added in v0.15.0
func (m *DeleteIntPointsRequest) Reset()
func (*DeleteIntPointsRequest) String ¶ added in v0.15.0
func (m *DeleteIntPointsRequest) String() string
func (*DeleteIntPointsRequest) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *DeleteIntPointsRequest) XXX_DiscardUnknown()
func (*DeleteIntPointsRequest) XXX_Marshal ¶ added in v0.16.0
func (m *DeleteIntPointsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteIntPointsRequest) XXX_Merge ¶ added in v0.16.0
func (m *DeleteIntPointsRequest) XXX_Merge(src proto.Message)
func (*DeleteIntPointsRequest) XXX_Size ¶ added in v0.16.0
func (m *DeleteIntPointsRequest) XXX_Size() int
func (*DeleteIntPointsRequest) XXX_Unmarshal ¶ added in v0.16.0
func (m *DeleteIntPointsRequest) XXX_Unmarshal(b []byte) error
type ExternalChild ¶ added in v0.9.0
type ExternalChild struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func DefaultApplyFieldMaskExternalChild ¶ added in v0.9.0
func DefaultApplyFieldMaskExternalChild(ctx context.Context, patchee *ExternalChild, patcher *ExternalChild, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.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 *gorm1.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_mask1.FieldMask, db *gorm1.DB) (*ExternalChild, error)
DefaultPatchExternalChild executes a basic gorm update call with patch behavior
func DefaultReadExternalChild ¶ added in v0.9.0
func DefaultReadExternalChild(ctx context.Context, in *ExternalChild, db *gorm1.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 *gorm1.DB) (*ExternalChild, error)
DefaultStrictUpdateExternalChild clears first level 1:many children and then executes a gorm update call
func (*ExternalChild) Descriptor ¶ added in v0.9.0
func (*ExternalChild) Descriptor() ([]byte, []int)
func (*ExternalChild) GetId ¶ added in v0.9.0
func (m *ExternalChild) GetId() string
func (*ExternalChild) ProtoMessage ¶ added in v0.9.0
func (*ExternalChild) ProtoMessage()
func (*ExternalChild) Reset ¶ added in v0.9.0
func (m *ExternalChild) Reset()
func (*ExternalChild) String ¶ added in v0.9.0
func (m *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
func (*ExternalChild) XXX_DiscardUnknown ¶ added in v0.9.0
func (m *ExternalChild) XXX_DiscardUnknown()
func (*ExternalChild) XXX_Marshal ¶ added in v0.9.0
func (m *ExternalChild) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExternalChild) XXX_Merge ¶ added in v0.9.0
func (m *ExternalChild) XXX_Merge(src proto.Message)
func (*ExternalChild) XXX_Size ¶ added in v0.9.0
func (m *ExternalChild) XXX_Size() int
func (*ExternalChild) XXX_Unmarshal ¶ added in v0.9.0
func (m *ExternalChild) XXX_Unmarshal(b []byte) error
type ExternalChildORM ¶ added in v0.9.0
type ExternalChildORM struct { Id string PrimaryIncludedId *go_uuid1.UUID PrimaryStringTypeId *string PrimaryUUIDTypeId *go_uuid1.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 v0.16.0
type ExternalChildORMWithAfterDeleteSet ¶ added in v0.15.0
type ExternalChildORMWithAfterDelete_ ¶ added in v0.16.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 v0.16.0
type ExternalChildORMWithBeforeDeleteSet ¶ added in v0.15.0
type ExternalChildORMWithBeforeDelete_ ¶ added in v0.16.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 ExternalChildRepository ¶ added in v0.19.0
type ExternalChildRepository interface { // CreateExternalChild executes a basic gorm create call CreateExternalChild(ctx context.Context, in *ExternalChild) (*ExternalChild, error) // ListExternalChild executes a gorm list call ListExternalChild(ctx context.Context) ([]*ExternalChild, error) // ReadExternalChild executes a basic gorm read call ReadExternalChild(ctx context.Context, in *ExternalChild) (*ExternalChild, error) // DeleteExternalChild executes a basic gorm delete call DeleteExternalChild(ctx context.Context, in *ExternalChild) error // DeleteExternalChildSet executes a basic gorm delete set call DeleteExternalChildSet(ctx context.Context, in []*ExternalChild) error // StrictUpdateExternalChild clears first level 1:many children and then executes a gorm update call StrictUpdateExternalChild(ctx context.Context, in *ExternalChild) (*ExternalChild, error) // PatchExternalChild executes a basic gorm update call with patch behavior PatchExternalChild(ctx context.Context, in *ExternalChild, updateMask *field_mask1.FieldMask) (*ExternalChild, error) }
ExternalChildRepository is a default repository
func NewExternalChildRepository ¶ added in v0.19.0
func NewExternalChildRepository(db *gorm1.DB) (ExternalChildRepository, error)
type ExternalChildWithAfterPatchSave ¶ added in v0.12.0
type ExternalChildWithAfterPatchSave interface {
AfterPatchSave(context.Context, *ExternalChild, *field_mask1.FieldMask, *gorm1.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_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type ExternalChildWithBeforePatchRead ¶ added in v0.12.0
type ExternalChildWithBeforePatchRead interface {
BeforePatchRead(context.Context, *ExternalChild, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type ExternalChildWithBeforePatchSave ¶ added in v0.9.1
type ExternalChildWithBeforePatchSave interface {
BeforePatchSave(context.Context, *ExternalChild, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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_mask1.FieldMask, prefix string, db *gorm1.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 *gorm1.DB, f *query1.Filtering, s *query1.Sorting, p *query1.Pagination, fs *query1.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_mask1.FieldMask, db *gorm1.DB) (*IntPoint, error)
DefaultPatchIntPoint executes a basic gorm update call with patch behavior
func DefaultReadIntPoint ¶
func DefaultReadIntPoint(ctx context.Context, in *IntPoint, db *gorm1.DB, fs *query1.FieldSelection) (*IntPoint, error)
DefaultReadIntPoint executes a basic gorm read call
func DefaultStrictUpdateIntPoint ¶
func DefaultStrictUpdateIntPoint(ctx context.Context, in *IntPoint, db *gorm1.DB) (*IntPoint, error)
DefaultStrictUpdateIntPoint clears first level 1:many children and then executes a gorm update call
func (*IntPoint) Descriptor ¶
func (*IntPoint) ProtoMessage ¶
func (*IntPoint) ProtoMessage()
func (*IntPoint) ToORM ¶ added in v0.2.1
func (m *IntPoint) ToORM(ctx context.Context) (IntPointORM, 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
func (*IntPoint) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *IntPoint) XXX_DiscardUnknown()
func (*IntPoint) XXX_Marshal ¶ added in v0.6.0
func (*IntPoint) XXX_Unmarshal ¶ added in v0.6.0
type IntPointORM ¶
func (IntPointORM) TableName ¶
func (IntPointORM) TableName() string
TableName overrides the default tablename generated by GORM
type IntPointORMWithAfterCreate_ ¶ added in v0.16.0
type IntPointORMWithAfterDeleteSet ¶ added in v0.15.0
type IntPointORMWithAfterDelete_ ¶ added in v0.16.0
type IntPointORMWithAfterListFind ¶ added in v0.12.0
type IntPointORMWithAfterListFind interface {
AfterListFind(context.Context, *gorm1.DB, *[]IntPointORM, *query1.Filtering, *query1.Sorting, *query1.Pagination, *query1.FieldSelection) error
}
type IntPointORMWithAfterReadFind ¶ added in v0.12.0
type IntPointORMWithAfterStrictUpdateSave ¶ added in v0.12.0
type IntPointORMWithBeforeCreate_ ¶ added in v0.16.0
type IntPointORMWithBeforeDeleteSet ¶ added in v0.15.0
type IntPointORMWithBeforeDelete_ ¶ added in v0.16.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 IntPointRepository ¶ added in v0.19.0
type IntPointRepository interface { // CreateIntPoint executes a basic gorm create call CreateIntPoint(ctx context.Context, in *IntPoint) (*IntPoint, error) // ListIntPoint executes a gorm list call ListIntPoint(ctx context.Context, f *query1.Filtering, s *query1.Sorting, p *query1.Pagination, fs *query1.FieldSelection) ([]*IntPoint, error) // ReadIntPoint executes a basic gorm read call ReadIntPoint(ctx context.Context, in *IntPoint, fs *query1.FieldSelection) (*IntPoint, error) // DeleteIntPoint executes a basic gorm delete call DeleteIntPoint(ctx context.Context, in *IntPoint) error // DeleteIntPointSet executes a basic gorm delete set call DeleteIntPointSet(ctx context.Context, in []*IntPoint) error // StrictUpdateIntPoint clears first level 1:many children and then executes a gorm update call StrictUpdateIntPoint(ctx context.Context, in *IntPoint) (*IntPoint, error) // PatchIntPoint executes a basic gorm update call with patch behavior PatchIntPoint(ctx context.Context, in *IntPoint, updateMask *field_mask1.FieldMask) (*IntPoint, error) }
IntPointRepository is a default repository
func NewIntPointRepository ¶ added in v0.19.0
func NewIntPointRepository(db *gorm1.DB) (IntPointRepository, error)
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) 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIntPointServiceClient ¶ added in v0.6.0
func NewIntPointServiceClient(cc *grpc.ClientConn) IntPointServiceClient
type IntPointServiceDefaultGRPCServer ¶ added in v0.20.1
type IntPointServiceDefaultGRPCServer struct {
// contains filtered or unexported fields
}
func NewIntPointServiceDefaultGRPCServer ¶ added in v0.20.1
func NewIntPointServiceDefaultGRPCServer(db *gorm1.DB) *IntPointServiceDefaultGRPCServer
func (*IntPointServiceDefaultGRPCServer) Create ¶ added in v0.20.1
func (m *IntPointServiceDefaultGRPCServer) Create(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
Create ...
func (*IntPointServiceDefaultGRPCServer) CreateSomething ¶ added in v0.20.1
func (m *IntPointServiceDefaultGRPCServer) CreateSomething(ctx context.Context, in *Something) (*Something, error)
CreateSomething ...
func (*IntPointServiceDefaultGRPCServer) CustomMethod ¶ added in v0.20.1
func (m *IntPointServiceDefaultGRPCServer) CustomMethod(ctx context.Context, in *google_protobuf2.Empty) (*google_protobuf2.Empty, error)
CustomMethod ...
func (*IntPointServiceDefaultGRPCServer) Delete ¶ added in v0.20.1
func (m *IntPointServiceDefaultGRPCServer) Delete(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
Delete ...
func (*IntPointServiceDefaultGRPCServer) List ¶ added in v0.20.1
func (m *IntPointServiceDefaultGRPCServer) List(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
List ...
func (*IntPointServiceDefaultGRPCServer) ListSomething ¶ added in v0.20.1
func (m *IntPointServiceDefaultGRPCServer) ListSomething(ctx context.Context, in *google_protobuf2.Empty) (*ListSomethingResponse, error)
ListSomething ...
func (*IntPointServiceDefaultGRPCServer) Read ¶ added in v0.20.1
func (m *IntPointServiceDefaultGRPCServer) Read(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
Read ...
func (*IntPointServiceDefaultGRPCServer) Update ¶ added in v0.20.1
func (m *IntPointServiceDefaultGRPCServer) Update(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
Update ...
type IntPointServiceDefaultServer ¶ added in v0.6.0
func (*IntPointServiceDefaultServer) Create ¶ added in v0.6.0
func (m *IntPointServiceDefaultServer) Create(ctx context.Context, in *CreateIntPointRequest, out *CreateIntPointResponse) error
Create ...
func (*IntPointServiceDefaultServer) CreateSomething ¶ added in v0.6.0
func (m *IntPointServiceDefaultServer) CreateSomething(ctx context.Context, in *Something, out *Something) error
CreateSomething ...
func (*IntPointServiceDefaultServer) CustomMethod ¶ added in v0.6.0
func (m *IntPointServiceDefaultServer) CustomMethod(ctx context.Context, in *google_protobuf2.Empty, out *google_protobuf2.Empty) error
CustomMethod ...
func (*IntPointServiceDefaultServer) Delete ¶ added in v0.6.0
func (m *IntPointServiceDefaultServer) Delete(ctx context.Context, in *DeleteIntPointRequest, out *DeleteIntPointResponse) error
Delete ...
func (*IntPointServiceDefaultServer) List ¶ added in v0.6.0
func (m *IntPointServiceDefaultServer) List(ctx context.Context, in *ListIntPointRequest, out *ListIntPointResponse) error
List ...
func (*IntPointServiceDefaultServer) ListSomething ¶ added in v0.12.0
func (m *IntPointServiceDefaultServer) ListSomething(ctx context.Context, in *google_protobuf2.Empty, out *ListSomethingResponse) error
ListSomething ...
func (*IntPointServiceDefaultServer) Read ¶ added in v0.6.0
func (m *IntPointServiceDefaultServer) Read(ctx context.Context, in *ReadIntPointRequest, out *ReadIntPointResponse) error
Read ...
func (*IntPointServiceDefaultServer) Update ¶ added in v0.6.0
func (m *IntPointServiceDefaultServer) Update(ctx context.Context, in *UpdateIntPointRequest, out *UpdateIntPointResponse) error
Update ...
type IntPointServiceIntPointWithAfterCreate ¶ added in v0.12.0
type IntPointServiceIntPointWithAfterCreate interface {
AfterCreate(context.Context, *CreateIntPointResponse, *gorm1.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, *gorm1.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, *gorm1.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, *gorm1.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, *gorm1.DB) error
}
IntPointServiceIntPointWithAfterUpdate called before DefaultUpdateIntPoint in the default Update handler
type IntPointServiceIntPointWithBeforeCreate ¶ added in v0.8.0
type IntPointServiceIntPointWithBeforeCreate interface {
BeforeCreate(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointServiceIntPointWithBeforeCreate called before DefaultCreateIntPoint in the default Create handler
type IntPointServiceIntPointWithBeforeDelete ¶ added in v0.8.0
type IntPointServiceIntPointWithBeforeDelete interface {
BeforeDelete(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointServiceIntPointWithBeforeDelete called before DefaultDeleteIntPoint in the default Delete handler
type IntPointServiceIntPointWithBeforeList ¶ added in v0.8.0
type IntPointServiceIntPointWithBeforeList interface {
BeforeList(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointServiceIntPointWithBeforeList called before DefaultListIntPoint in the default List handler
type IntPointServiceIntPointWithBeforeRead ¶ added in v0.8.0
type IntPointServiceIntPointWithBeforeRead interface {
BeforeRead(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointServiceIntPointWithBeforeRead called before DefaultReadIntPoint in the default Read handler
type IntPointServiceIntPointWithBeforeUpdate ¶ added in v0.8.0
type IntPointServiceIntPointWithBeforeUpdate interface {
BeforeUpdate(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointServiceIntPointWithBeforeUpdate called before DefaultUpdateIntPoint in the default Update 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) 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) }
IntPointServiceServer is the server API for IntPointService service.
type IntPointServiceSomethingWithAfterList ¶ added in v0.16.0
type IntPointServiceSomethingWithAfterList interface {
AfterList(context.Context, *ListSomethingResponse, *gorm1.DB) error
}
IntPointServiceSomethingWithAfterList called before DefaultListSomething in the default List handler
type IntPointServiceSomethingWithBeforeList ¶ added in v0.16.0
type IntPointServiceSomethingWithBeforeList interface {
BeforeList(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointServiceSomethingWithBeforeList called before DefaultListSomething in the default List 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIntPointTxnClient ¶ added in v0.6.0
func NewIntPointTxnClient(cc *grpc.ClientConn) IntPointTxnClient
type IntPointTxnDefaultGRPCServer ¶ added in v0.20.1
type IntPointTxnDefaultGRPCServer struct {
// contains filtered or unexported fields
}
func NewIntPointTxnDefaultGRPCServer ¶ added in v0.20.1
func NewIntPointTxnDefaultGRPCServer(db *gorm1.DB) *IntPointTxnDefaultGRPCServer
func (*IntPointTxnDefaultGRPCServer) Create ¶ added in v0.20.1
func (m *IntPointTxnDefaultGRPCServer) Create(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
Create ...
func (*IntPointTxnDefaultGRPCServer) CreateSomething ¶ added in v0.20.1
func (m *IntPointTxnDefaultGRPCServer) CreateSomething(ctx context.Context, in *Something) (*Something, error)
CreateSomething ...
func (*IntPointTxnDefaultGRPCServer) CustomMethod ¶ added in v0.20.1
func (m *IntPointTxnDefaultGRPCServer) CustomMethod(ctx context.Context, in *google_protobuf2.Empty) (*google_protobuf2.Empty, error)
CustomMethod ...
func (*IntPointTxnDefaultGRPCServer) Delete ¶ added in v0.20.1
func (m *IntPointTxnDefaultGRPCServer) Delete(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
Delete ...
func (*IntPointTxnDefaultGRPCServer) DeleteSet ¶ added in v0.20.1
func (m *IntPointTxnDefaultGRPCServer) DeleteSet(ctx context.Context, in *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
DeleteSet ...
func (*IntPointTxnDefaultGRPCServer) List ¶ added in v0.20.1
func (m *IntPointTxnDefaultGRPCServer) List(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
List ...
func (*IntPointTxnDefaultGRPCServer) Read ¶ added in v0.20.1
func (m *IntPointTxnDefaultGRPCServer) Read(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
Read ...
func (*IntPointTxnDefaultGRPCServer) Update ¶ added in v0.20.1
func (m *IntPointTxnDefaultGRPCServer) Update(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
Update ...
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, out *CreateIntPointResponse) error
Create ...
func (*IntPointTxnDefaultServer) CreateSomething ¶ added in v0.6.0
func (m *IntPointTxnDefaultServer) CreateSomething(ctx context.Context, in *Something, out *Something) error
CreateSomething ...
func (*IntPointTxnDefaultServer) CustomMethod ¶ added in v0.6.0
func (m *IntPointTxnDefaultServer) CustomMethod(ctx context.Context, in *google_protobuf2.Empty, out *google_protobuf2.Empty) error
CustomMethod ...
func (*IntPointTxnDefaultServer) Delete ¶ added in v0.6.0
func (m *IntPointTxnDefaultServer) Delete(ctx context.Context, in *DeleteIntPointRequest, out *DeleteIntPointResponse) error
Delete ...
func (*IntPointTxnDefaultServer) DeleteSet ¶ added in v0.15.0
func (m *IntPointTxnDefaultServer) DeleteSet(ctx context.Context, in *DeleteIntPointsRequest, out *DeleteIntPointResponse) error
DeleteSet ...
func (*IntPointTxnDefaultServer) List ¶ added in v0.6.0
func (m *IntPointTxnDefaultServer) List(ctx context.Context, in *ListIntPointRequest, out *ListIntPointResponse) error
List ...
func (*IntPointTxnDefaultServer) Read ¶ added in v0.6.0
func (m *IntPointTxnDefaultServer) Read(ctx context.Context, in *ReadIntPointRequest, out *ReadIntPointResponse) error
Read ...
func (*IntPointTxnDefaultServer) Update ¶ added in v0.6.0
func (m *IntPointTxnDefaultServer) Update(ctx context.Context, in *UpdateIntPointRequest, out *UpdateIntPointResponse) error
Update ...
type IntPointTxnIntPointWithAfterCreate ¶ added in v0.12.0
type IntPointTxnIntPointWithAfterCreate interface {
AfterCreate(context.Context, *CreateIntPointResponse, *gorm1.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, *gorm1.DB) error
}
IntPointTxnIntPointWithAfterDelete called before DefaultDeleteIntPoint in the default Delete handler
type IntPointTxnIntPointWithAfterList ¶ added in v0.12.0
type IntPointTxnIntPointWithAfterList interface {
AfterList(context.Context, *ListIntPointResponse, *gorm1.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, *gorm1.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, *gorm1.DB) error
}
IntPointTxnIntPointWithAfterUpdate called before DefaultUpdateIntPoint in the default Update handler
type IntPointTxnIntPointWithBeforeCreate ¶ added in v0.8.0
type IntPointTxnIntPointWithBeforeCreate interface {
BeforeCreate(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointTxnIntPointWithBeforeCreate called before DefaultCreateIntPoint in the default Create handler
type IntPointTxnIntPointWithBeforeDelete ¶ added in v0.8.0
type IntPointTxnIntPointWithBeforeDelete interface {
BeforeDelete(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointTxnIntPointWithBeforeDelete called before DefaultDeleteIntPoint in the default Delete handler
type IntPointTxnIntPointWithBeforeList ¶ added in v0.8.0
type IntPointTxnIntPointWithBeforeList interface {
BeforeList(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointTxnIntPointWithBeforeList called before DefaultListIntPoint in the default List handler
type IntPointTxnIntPointWithBeforeRead ¶ added in v0.8.0
type IntPointTxnIntPointWithBeforeRead interface {
BeforeRead(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointTxnIntPointWithBeforeRead called before DefaultReadIntPoint in the default Read handler
type IntPointTxnIntPointWithBeforeUpdate ¶ added in v0.8.0
type IntPointTxnIntPointWithBeforeUpdate interface {
BeforeUpdate(context.Context, *gorm1.DB) (*gorm1.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) }
IntPointTxnServer is the server API for IntPointTxn service.
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 { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListCircleRequest) Descriptor ¶ added in v0.14.0
func (*ListCircleRequest) Descriptor() ([]byte, []int)
func (*ListCircleRequest) ProtoMessage ¶ added in v0.14.0
func (*ListCircleRequest) ProtoMessage()
func (*ListCircleRequest) Reset ¶ added in v0.14.0
func (m *ListCircleRequest) Reset()
func (*ListCircleRequest) String ¶ added in v0.14.0
func (m *ListCircleRequest) String() string
func (*ListCircleRequest) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *ListCircleRequest) XXX_DiscardUnknown()
func (*ListCircleRequest) XXX_Marshal ¶ added in v0.14.0
func (m *ListCircleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListCircleRequest) XXX_Merge ¶ added in v0.14.0
func (m *ListCircleRequest) XXX_Merge(src proto.Message)
func (*ListCircleRequest) XXX_Size ¶ added in v0.14.0
func (m *ListCircleRequest) XXX_Size() int
func (*ListCircleRequest) XXX_Unmarshal ¶ added in v0.14.0
func (m *ListCircleRequest) XXX_Unmarshal(b []byte) error
type ListCircleResponse ¶ added in v0.14.0
type ListCircleResponse struct { Results []*Circle `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListCircleResponse) Descriptor ¶ added in v0.14.0
func (*ListCircleResponse) Descriptor() ([]byte, []int)
func (*ListCircleResponse) GetResults ¶ added in v0.14.0
func (m *ListCircleResponse) GetResults() []*Circle
func (*ListCircleResponse) ProtoMessage ¶ added in v0.14.0
func (*ListCircleResponse) ProtoMessage()
func (*ListCircleResponse) Reset ¶ added in v0.14.0
func (m *ListCircleResponse) Reset()
func (*ListCircleResponse) String ¶ added in v0.14.0
func (m *ListCircleResponse) String() string
func (*ListCircleResponse) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *ListCircleResponse) XXX_DiscardUnknown()
func (*ListCircleResponse) XXX_Marshal ¶ added in v0.14.0
func (m *ListCircleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListCircleResponse) XXX_Merge ¶ added in v0.14.0
func (m *ListCircleResponse) XXX_Merge(src proto.Message)
func (*ListCircleResponse) XXX_Size ¶ added in v0.14.0
func (m *ListCircleResponse) XXX_Size() int
func (*ListCircleResponse) XXX_Unmarshal ¶ added in v0.14.0
func (m *ListCircleResponse) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListIntPointRequest) Descriptor ¶ added in v0.7.0
func (*ListIntPointRequest) Descriptor() ([]byte, []int)
func (*ListIntPointRequest) GetFields ¶ added in v0.7.0
func (m *ListIntPointRequest) GetFields() *query.FieldSelection
func (*ListIntPointRequest) GetFilter ¶ added in v0.7.0
func (m *ListIntPointRequest) GetFilter() *query.Filtering
func (*ListIntPointRequest) GetOrderBy ¶ added in v0.7.0
func (m *ListIntPointRequest) GetOrderBy() *query.Sorting
func (*ListIntPointRequest) GetPaging ¶ added in v0.7.0
func (m *ListIntPointRequest) GetPaging() *query.Pagination
func (*ListIntPointRequest) ProtoMessage ¶ added in v0.7.0
func (*ListIntPointRequest) ProtoMessage()
func (*ListIntPointRequest) Reset ¶ added in v0.7.0
func (m *ListIntPointRequest) Reset()
func (*ListIntPointRequest) String ¶ added in v0.7.0
func (m *ListIntPointRequest) String() string
func (*ListIntPointRequest) XXX_DiscardUnknown ¶ added in v0.7.0
func (m *ListIntPointRequest) XXX_DiscardUnknown()
func (*ListIntPointRequest) XXX_Marshal ¶ added in v0.7.0
func (m *ListIntPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIntPointRequest) XXX_Merge ¶ added in v0.7.0
func (m *ListIntPointRequest) XXX_Merge(src proto.Message)
func (*ListIntPointRequest) XXX_Size ¶ added in v0.7.0
func (m *ListIntPointRequest) XXX_Size() int
func (*ListIntPointRequest) XXX_Unmarshal ¶ added in v0.7.0
func (m *ListIntPointRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListIntPointResponse) Descriptor ¶ added in v0.2.0
func (*ListIntPointResponse) Descriptor() ([]byte, []int)
func (*ListIntPointResponse) GetPageInfo ¶ added in v0.14.0
func (m *ListIntPointResponse) GetPageInfo() *query.PageInfo
func (*ListIntPointResponse) GetResults ¶ added in v0.2.0
func (m *ListIntPointResponse) GetResults() []*IntPoint
func (*ListIntPointResponse) ProtoMessage ¶ added in v0.2.0
func (*ListIntPointResponse) ProtoMessage()
func (*ListIntPointResponse) Reset ¶ added in v0.2.0
func (m *ListIntPointResponse) Reset()
func (*ListIntPointResponse) String ¶ added in v0.2.0
func (m *ListIntPointResponse) String() string
func (*ListIntPointResponse) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *ListIntPointResponse) XXX_DiscardUnknown()
func (*ListIntPointResponse) XXX_Marshal ¶ added in v0.6.0
func (m *ListIntPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIntPointResponse) XXX_Merge ¶ added in v0.6.0
func (m *ListIntPointResponse) XXX_Merge(src proto.Message)
func (*ListIntPointResponse) XXX_Size ¶ added in v0.6.0
func (m *ListIntPointResponse) XXX_Size() int
func (*ListIntPointResponse) XXX_Unmarshal ¶ added in v0.6.0
func (m *ListIntPointResponse) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListSomethingResponse) Descriptor ¶ added in v0.12.0
func (*ListSomethingResponse) Descriptor() ([]byte, []int)
func (*ListSomethingResponse) GetPageInfo ¶ added in v0.14.0
func (m *ListSomethingResponse) GetPageInfo() *query.PageInfo
func (*ListSomethingResponse) GetResults ¶ added in v0.12.0
func (m *ListSomethingResponse) GetResults() []*Something
func (*ListSomethingResponse) ProtoMessage ¶ added in v0.12.0
func (*ListSomethingResponse) ProtoMessage()
func (*ListSomethingResponse) Reset ¶ added in v0.12.0
func (m *ListSomethingResponse) Reset()
func (*ListSomethingResponse) String ¶ added in v0.12.0
func (m *ListSomethingResponse) String() string
func (*ListSomethingResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *ListSomethingResponse) XXX_DiscardUnknown()
func (*ListSomethingResponse) XXX_Marshal ¶ added in v0.12.0
func (m *ListSomethingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListSomethingResponse) XXX_Merge ¶ added in v0.12.0
func (m *ListSomethingResponse) XXX_Merge(src proto.Message)
func (*ListSomethingResponse) XXX_Size ¶ added in v0.12.0
func (m *ListSomethingResponse) XXX_Size() int
func (*ListSomethingResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *ListSomethingResponse) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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_mask1.FieldMask, prefix string, db *gorm1.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 *gorm1.DB) (*MultiaccountTypeWithID, error)
DefaultCreateMultiaccountTypeWithID executes a basic gorm create call
func DefaultListMultiaccountTypeWithID ¶ added in v0.2.0
func DefaultListMultiaccountTypeWithID(ctx context.Context, db *gorm1.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_mask1.FieldMask, db *gorm1.DB) (*MultiaccountTypeWithID, error)
DefaultPatchMultiaccountTypeWithID executes a basic gorm update call with patch behavior
func DefaultReadMultiaccountTypeWithID ¶ added in v0.2.0
func DefaultReadMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm1.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 *gorm1.DB) (*MultiaccountTypeWithID, error)
DefaultStrictUpdateMultiaccountTypeWithID clears first level 1:many children and then executes a gorm update call
func (*MultiaccountTypeWithID) Descriptor ¶ added in v0.2.0
func (*MultiaccountTypeWithID) Descriptor() ([]byte, []int)
func (*MultiaccountTypeWithID) GetId ¶ added in v0.2.0
func (m *MultiaccountTypeWithID) GetId() uint64
func (*MultiaccountTypeWithID) GetSomeField ¶ added in v0.2.0
func (m *MultiaccountTypeWithID) GetSomeField() string
func (*MultiaccountTypeWithID) ProtoMessage ¶ added in v0.2.0
func (*MultiaccountTypeWithID) ProtoMessage()
func (*MultiaccountTypeWithID) Reset ¶ added in v0.2.0
func (m *MultiaccountTypeWithID) Reset()
func (*MultiaccountTypeWithID) String ¶ added in v0.2.0
func (m *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
func (*MultiaccountTypeWithID) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *MultiaccountTypeWithID) XXX_DiscardUnknown()
func (*MultiaccountTypeWithID) XXX_Marshal ¶ added in v0.6.0
func (m *MultiaccountTypeWithID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiaccountTypeWithID) XXX_Merge ¶ added in v0.6.0
func (m *MultiaccountTypeWithID) XXX_Merge(src proto.Message)
func (*MultiaccountTypeWithID) XXX_Size ¶ added in v0.6.0
func (m *MultiaccountTypeWithID) XXX_Size() int
func (*MultiaccountTypeWithID) XXX_Unmarshal ¶ added in v0.6.0
func (m *MultiaccountTypeWithID) XXX_Unmarshal(b []byte) error
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 v0.16.0
type MultiaccountTypeWithIDORMWithAfterDeleteSet ¶ added in v0.15.0
type MultiaccountTypeWithIDORMWithAfterDelete_ ¶ added in v0.16.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 v0.16.0
type MultiaccountTypeWithIDORMWithBeforeDeleteSet ¶ added in v0.15.0
type MultiaccountTypeWithIDORMWithBeforeDelete_ ¶ added in v0.16.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 MultiaccountTypeWithIDRepository ¶ added in v0.19.0
type MultiaccountTypeWithIDRepository interface { // CreateMultiaccountTypeWithID executes a basic gorm create call CreateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID) (*MultiaccountTypeWithID, error) // ListMultiaccountTypeWithID executes a gorm list call ListMultiaccountTypeWithID(ctx context.Context) ([]*MultiaccountTypeWithID, error) // ReadMultiaccountTypeWithID executes a basic gorm read call ReadMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID) (*MultiaccountTypeWithID, error) // DeleteMultiaccountTypeWithID executes a basic gorm delete call DeleteMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID) error // DeleteMultiaccountTypeWithIDSet executes a basic gorm delete set call DeleteMultiaccountTypeWithIDSet(ctx context.Context, in []*MultiaccountTypeWithID) error // StrictUpdateMultiaccountTypeWithID clears first level 1:many children and then executes a gorm update call StrictUpdateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID) (*MultiaccountTypeWithID, error) // PatchMultiaccountTypeWithID executes a basic gorm update call with patch behavior PatchMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, updateMask *field_mask1.FieldMask) (*MultiaccountTypeWithID, error) }
MultiaccountTypeWithIDRepository is a default repository
func NewMultiaccountTypeWithIDRepository ¶ added in v0.19.0
func NewMultiaccountTypeWithIDRepository(db *gorm1.DB) (MultiaccountTypeWithIDRepository, error)
type MultiaccountTypeWithIDWithAfterPatchSave ¶ added in v0.12.0
type MultiaccountTypeWithIDWithAfterPatchSave interface {
AfterPatchSave(context.Context, *MultiaccountTypeWithID, *field_mask1.FieldMask, *gorm1.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_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type MultiaccountTypeWithIDWithBeforePatchRead ¶ added in v0.12.0
type MultiaccountTypeWithIDWithBeforePatchRead interface {
BeforePatchRead(context.Context, *MultiaccountTypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type MultiaccountTypeWithIDWithBeforePatchSave ¶ added in v0.9.1
type MultiaccountTypeWithIDWithBeforePatchSave interface {
BeforePatchSave(context.Context, *MultiaccountTypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func DefaultApplyFieldMaskMultiaccountTypeWithoutID ¶ added in v0.10.0
func DefaultApplyFieldMaskMultiaccountTypeWithoutID(ctx context.Context, patchee *MultiaccountTypeWithoutID, patcher *MultiaccountTypeWithoutID, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.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 *gorm1.DB) (*MultiaccountTypeWithoutID, error)
DefaultCreateMultiaccountTypeWithoutID executes a basic gorm create call
func DefaultListMultiaccountTypeWithoutID ¶ added in v0.2.0
func DefaultListMultiaccountTypeWithoutID(ctx context.Context, db *gorm1.DB) ([]*MultiaccountTypeWithoutID, error)
DefaultListMultiaccountTypeWithoutID executes a gorm list call
func (*MultiaccountTypeWithoutID) Descriptor ¶ added in v0.2.0
func (*MultiaccountTypeWithoutID) Descriptor() ([]byte, []int)
func (*MultiaccountTypeWithoutID) GetSomeField ¶ added in v0.2.0
func (m *MultiaccountTypeWithoutID) GetSomeField() string
func (*MultiaccountTypeWithoutID) ProtoMessage ¶ added in v0.2.0
func (*MultiaccountTypeWithoutID) ProtoMessage()
func (*MultiaccountTypeWithoutID) Reset ¶ added in v0.2.0
func (m *MultiaccountTypeWithoutID) Reset()
func (*MultiaccountTypeWithoutID) String ¶ added in v0.2.0
func (m *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
func (*MultiaccountTypeWithoutID) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *MultiaccountTypeWithoutID) XXX_DiscardUnknown()
func (*MultiaccountTypeWithoutID) XXX_Marshal ¶ added in v0.6.0
func (m *MultiaccountTypeWithoutID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiaccountTypeWithoutID) XXX_Merge ¶ added in v0.6.0
func (m *MultiaccountTypeWithoutID) XXX_Merge(src proto.Message)
func (*MultiaccountTypeWithoutID) XXX_Size ¶ added in v0.6.0
func (m *MultiaccountTypeWithoutID) XXX_Size() int
func (*MultiaccountTypeWithoutID) XXX_Unmarshal ¶ added in v0.6.0
func (m *MultiaccountTypeWithoutID) XXX_Unmarshal(b []byte) error
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 v0.16.0
type MultiaccountTypeWithoutIDORMWithAfterListFind ¶ added in v0.12.0
type MultiaccountTypeWithoutIDORMWithBeforeCreate_ ¶ added in v0.16.0
type MultiaccountTypeWithoutIDORMWithBeforeListApplyQuery ¶ added in v0.12.0
type MultiaccountTypeWithoutIDORMWithBeforeListFind ¶ added in v0.12.0
type MultiaccountTypeWithoutIDRepository ¶ added in v0.19.0
type MultiaccountTypeWithoutIDRepository interface { // CreateMultiaccountTypeWithoutID executes a basic gorm create call CreateMultiaccountTypeWithoutID(ctx context.Context, in *MultiaccountTypeWithoutID) (*MultiaccountTypeWithoutID, error) // ListMultiaccountTypeWithoutID executes a gorm list call ListMultiaccountTypeWithoutID(ctx context.Context) ([]*MultiaccountTypeWithoutID, error) }
MultiaccountTypeWithoutIDRepository is a default repository
func NewMultiaccountTypeWithoutIDRepository ¶ added in v0.19.0
func NewMultiaccountTypeWithoutIDRepository(db *gorm1.DB) (MultiaccountTypeWithoutIDRepository, error)
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 PrimaryIncluded ¶ added in v0.9.1
type PrimaryIncluded struct { Child *ExternalChild `protobuf:"bytes,1,opt,name=child,proto3" json:"child,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func DefaultApplyFieldMaskPrimaryIncluded ¶ added in v0.10.0
func DefaultApplyFieldMaskPrimaryIncluded(ctx context.Context, patchee *PrimaryIncluded, patcher *PrimaryIncluded, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.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 *gorm1.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 ¶ added in v0.9.1
func (*PrimaryIncluded) Descriptor() ([]byte, []int)
func (*PrimaryIncluded) GetChild ¶ added in v0.9.1
func (m *PrimaryIncluded) GetChild() *ExternalChild
func (*PrimaryIncluded) ProtoMessage ¶ added in v0.9.1
func (*PrimaryIncluded) ProtoMessage()
func (*PrimaryIncluded) Reset ¶ added in v0.9.1
func (m *PrimaryIncluded) Reset()
func (*PrimaryIncluded) String ¶ added in v0.9.1
func (m *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
func (*PrimaryIncluded) XXX_DiscardUnknown ¶ added in v0.9.1
func (m *PrimaryIncluded) XXX_DiscardUnknown()
func (*PrimaryIncluded) XXX_Marshal ¶ added in v0.9.1
func (m *PrimaryIncluded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrimaryIncluded) XXX_Merge ¶ added in v0.9.1
func (m *PrimaryIncluded) XXX_Merge(src proto.Message)
func (*PrimaryIncluded) XXX_Size ¶ added in v0.9.1
func (m *PrimaryIncluded) XXX_Size() int
func (*PrimaryIncluded) XXX_Unmarshal ¶ added in v0.9.1
func (m *PrimaryIncluded) XXX_Unmarshal(b []byte) error
type PrimaryIncludedORM ¶ added in v0.9.1
type PrimaryIncludedORM struct { Child *ExternalChildORM `gorm:"foreignkey:PrimaryIncludedId;association_foreignkey:Id"` Id go_uuid1.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 v0.16.0
type PrimaryIncludedORMWithAfterListFind ¶ added in v0.12.0
type PrimaryIncludedORMWithBeforeCreate_ ¶ added in v0.16.0
type PrimaryIncludedORMWithBeforeListApplyQuery ¶ added in v0.12.0
type PrimaryIncludedORMWithBeforeListFind ¶ added in v0.12.0
type PrimaryIncludedRepository ¶ added in v0.19.0
type PrimaryIncludedRepository interface { // CreatePrimaryIncluded executes a basic gorm create call CreatePrimaryIncluded(ctx context.Context, in *PrimaryIncluded) (*PrimaryIncluded, error) // ListPrimaryIncluded executes a gorm list call ListPrimaryIncluded(ctx context.Context) ([]*PrimaryIncluded, error) }
PrimaryIncludedRepository is a default repository
func NewPrimaryIncludedRepository ¶ added in v0.19.0
func NewPrimaryIncludedRepository(db *gorm1.DB) (PrimaryIncludedRepository, error)
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func DefaultApplyFieldMaskPrimaryStringType ¶ added in v0.9.0
func DefaultApplyFieldMaskPrimaryStringType(ctx context.Context, patchee *PrimaryStringType, patcher *PrimaryStringType, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.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 *gorm1.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_mask1.FieldMask, db *gorm1.DB) (*PrimaryStringType, error)
DefaultPatchPrimaryStringType executes a basic gorm update call with patch behavior
func DefaultReadPrimaryStringType ¶ added in v0.9.0
func DefaultReadPrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm1.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 *gorm1.DB) (*PrimaryStringType, error)
DefaultStrictUpdatePrimaryStringType clears first level 1:many children and then executes a gorm update call
func (*PrimaryStringType) Descriptor ¶ added in v0.9.0
func (*PrimaryStringType) Descriptor() ([]byte, []int)
func (*PrimaryStringType) GetChild ¶ added in v0.9.0
func (m *PrimaryStringType) GetChild() *ExternalChild
func (*PrimaryStringType) GetId ¶ added in v0.9.0
func (m *PrimaryStringType) GetId() string
func (*PrimaryStringType) ProtoMessage ¶ added in v0.9.0
func (*PrimaryStringType) ProtoMessage()
func (*PrimaryStringType) Reset ¶ added in v0.9.0
func (m *PrimaryStringType) Reset()
func (*PrimaryStringType) String ¶ added in v0.9.0
func (m *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
func (*PrimaryStringType) XXX_DiscardUnknown ¶ added in v0.9.0
func (m *PrimaryStringType) XXX_DiscardUnknown()
func (*PrimaryStringType) XXX_Marshal ¶ added in v0.9.0
func (m *PrimaryStringType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrimaryStringType) XXX_Merge ¶ added in v0.9.0
func (m *PrimaryStringType) XXX_Merge(src proto.Message)
func (*PrimaryStringType) XXX_Size ¶ added in v0.9.0
func (m *PrimaryStringType) XXX_Size() int
func (*PrimaryStringType) XXX_Unmarshal ¶ added in v0.9.0
func (m *PrimaryStringType) XXX_Unmarshal(b []byte) error
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 v0.16.0
type PrimaryStringTypeORMWithAfterDeleteSet ¶ added in v0.15.0
type PrimaryStringTypeORMWithAfterDelete_ ¶ added in v0.16.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 v0.16.0
type PrimaryStringTypeORMWithBeforeDeleteSet ¶ added in v0.15.0
type PrimaryStringTypeORMWithBeforeDelete_ ¶ added in v0.16.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 PrimaryStringTypeRepository ¶ added in v0.19.0
type PrimaryStringTypeRepository interface { // CreatePrimaryStringType executes a basic gorm create call CreatePrimaryStringType(ctx context.Context, in *PrimaryStringType) (*PrimaryStringType, error) // ListPrimaryStringType executes a gorm list call ListPrimaryStringType(ctx context.Context) ([]*PrimaryStringType, error) // ReadPrimaryStringType executes a basic gorm read call ReadPrimaryStringType(ctx context.Context, in *PrimaryStringType) (*PrimaryStringType, error) // DeletePrimaryStringType executes a basic gorm delete call DeletePrimaryStringType(ctx context.Context, in *PrimaryStringType) error // DeletePrimaryStringTypeSet executes a basic gorm delete set call DeletePrimaryStringTypeSet(ctx context.Context, in []*PrimaryStringType) error // StrictUpdatePrimaryStringType clears first level 1:many children and then executes a gorm update call StrictUpdatePrimaryStringType(ctx context.Context, in *PrimaryStringType) (*PrimaryStringType, error) // PatchPrimaryStringType executes a basic gorm update call with patch behavior PatchPrimaryStringType(ctx context.Context, in *PrimaryStringType, updateMask *field_mask1.FieldMask) (*PrimaryStringType, error) }
PrimaryStringTypeRepository is a default repository
func NewPrimaryStringTypeRepository ¶ added in v0.19.0
func NewPrimaryStringTypeRepository(db *gorm1.DB) (PrimaryStringTypeRepository, error)
type PrimaryStringTypeWithAfterPatchSave ¶ added in v0.12.0
type PrimaryStringTypeWithAfterPatchSave interface {
AfterPatchSave(context.Context, *PrimaryStringType, *field_mask1.FieldMask, *gorm1.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_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type PrimaryStringTypeWithBeforePatchRead ¶ added in v0.12.0
type PrimaryStringTypeWithBeforePatchRead interface {
BeforePatchRead(context.Context, *PrimaryStringType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type PrimaryStringTypeWithBeforePatchSave ¶ added in v0.9.1
type PrimaryStringTypeWithBeforePatchSave interface {
BeforePatchSave(context.Context, *PrimaryStringType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func DefaultApplyFieldMaskPrimaryUUIDType ¶ added in v0.9.0
func DefaultApplyFieldMaskPrimaryUUIDType(ctx context.Context, patchee *PrimaryUUIDType, patcher *PrimaryUUIDType, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.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 *gorm1.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_mask1.FieldMask, db *gorm1.DB) (*PrimaryUUIDType, error)
DefaultPatchPrimaryUUIDType executes a basic gorm update call with patch behavior
func DefaultReadPrimaryUUIDType ¶ added in v0.9.0
func DefaultReadPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm1.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 *gorm1.DB) (*PrimaryUUIDType, error)
DefaultStrictUpdatePrimaryUUIDType clears first level 1:many children and then executes a gorm update call
func (*PrimaryUUIDType) Descriptor ¶ added in v0.9.0
func (*PrimaryUUIDType) Descriptor() ([]byte, []int)
func (*PrimaryUUIDType) GetChild ¶ added in v0.9.0
func (m *PrimaryUUIDType) GetChild() *ExternalChild
func (*PrimaryUUIDType) GetId ¶ added in v0.9.0
func (m *PrimaryUUIDType) GetId() *types.UUIDValue
func (*PrimaryUUIDType) ProtoMessage ¶ added in v0.9.0
func (*PrimaryUUIDType) ProtoMessage()
func (*PrimaryUUIDType) Reset ¶ added in v0.9.0
func (m *PrimaryUUIDType) Reset()
func (*PrimaryUUIDType) String ¶ added in v0.9.0
func (m *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
func (*PrimaryUUIDType) XXX_DiscardUnknown ¶ added in v0.9.0
func (m *PrimaryUUIDType) XXX_DiscardUnknown()
func (*PrimaryUUIDType) XXX_Marshal ¶ added in v0.9.0
func (m *PrimaryUUIDType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrimaryUUIDType) XXX_Merge ¶ added in v0.9.0
func (m *PrimaryUUIDType) XXX_Merge(src proto.Message)
func (*PrimaryUUIDType) XXX_Size ¶ added in v0.9.0
func (m *PrimaryUUIDType) XXX_Size() int
func (*PrimaryUUIDType) XXX_Unmarshal ¶ added in v0.9.0
func (m *PrimaryUUIDType) XXX_Unmarshal(b []byte) error
type PrimaryUUIDTypeORM ¶ added in v0.9.0
type PrimaryUUIDTypeORM struct { Child *ExternalChildORM `gorm:"foreignkey:PrimaryUUIDTypeId;association_foreignkey:Id"` Id *go_uuid1.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 v0.16.0
type PrimaryUUIDTypeORMWithAfterDeleteSet ¶ added in v0.15.0
type PrimaryUUIDTypeORMWithAfterDelete_ ¶ added in v0.16.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 v0.16.0
type PrimaryUUIDTypeORMWithBeforeDeleteSet ¶ added in v0.15.0
type PrimaryUUIDTypeORMWithBeforeDelete_ ¶ added in v0.16.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 PrimaryUUIDTypeRepository ¶ added in v0.19.0
type PrimaryUUIDTypeRepository interface { // CreatePrimaryUUIDType executes a basic gorm create call CreatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType) (*PrimaryUUIDType, error) // ListPrimaryUUIDType executes a gorm list call ListPrimaryUUIDType(ctx context.Context) ([]*PrimaryUUIDType, error) // ReadPrimaryUUIDType executes a basic gorm read call ReadPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType) (*PrimaryUUIDType, error) // DeletePrimaryUUIDType executes a basic gorm delete call DeletePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType) error // DeletePrimaryUUIDTypeSet executes a basic gorm delete set call DeletePrimaryUUIDTypeSet(ctx context.Context, in []*PrimaryUUIDType) error // StrictUpdatePrimaryUUIDType clears first level 1:many children and then executes a gorm update call StrictUpdatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType) (*PrimaryUUIDType, error) // PatchPrimaryUUIDType executes a basic gorm update call with patch behavior PatchPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, updateMask *field_mask1.FieldMask) (*PrimaryUUIDType, error) }
PrimaryUUIDTypeRepository is a default repository
func NewPrimaryUUIDTypeRepository ¶ added in v0.19.0
func NewPrimaryUUIDTypeRepository(db *gorm1.DB) (PrimaryUUIDTypeRepository, error)
type PrimaryUUIDTypeWithAfterPatchSave ¶ added in v0.12.0
type PrimaryUUIDTypeWithAfterPatchSave interface {
AfterPatchSave(context.Context, *PrimaryUUIDType, *field_mask1.FieldMask, *gorm1.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_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type PrimaryUUIDTypeWithBeforePatchRead ¶ added in v0.12.0
type PrimaryUUIDTypeWithBeforePatchRead interface {
BeforePatchRead(context.Context, *PrimaryUUIDType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type PrimaryUUIDTypeWithBeforePatchSave ¶ added in v0.9.1
type PrimaryUUIDTypeWithBeforePatchSave interface {
BeforePatchSave(context.Context, *PrimaryUUIDType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReadAccountRequest) Descriptor ¶ added in v0.14.0
func (*ReadAccountRequest) Descriptor() ([]byte, []int)
func (*ReadAccountRequest) GetFields ¶ added in v0.14.0
func (m *ReadAccountRequest) GetFields() *query.FieldSelection
func (*ReadAccountRequest) GetId ¶ added in v0.14.0
func (m *ReadAccountRequest) GetId() uint64
func (*ReadAccountRequest) ProtoMessage ¶ added in v0.14.0
func (*ReadAccountRequest) ProtoMessage()
func (*ReadAccountRequest) Reset ¶ added in v0.14.0
func (m *ReadAccountRequest) Reset()
func (*ReadAccountRequest) String ¶ added in v0.14.0
func (m *ReadAccountRequest) String() string
func (*ReadAccountRequest) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *ReadAccountRequest) XXX_DiscardUnknown()
func (*ReadAccountRequest) XXX_Marshal ¶ added in v0.14.0
func (m *ReadAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadAccountRequest) XXX_Merge ¶ added in v0.14.0
func (m *ReadAccountRequest) XXX_Merge(src proto.Message)
func (*ReadAccountRequest) XXX_Size ¶ added in v0.14.0
func (m *ReadAccountRequest) XXX_Size() int
func (*ReadAccountRequest) XXX_Unmarshal ¶ added in v0.14.0
func (m *ReadAccountRequest) XXX_Unmarshal(b []byte) error
type ReadBlogPostsResponse ¶ added in v0.14.0
type ReadBlogPostsResponse struct { Posts []*BlogPost `protobuf:"bytes,1,rep,name=posts,proto3" json:"posts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReadBlogPostsResponse) Descriptor ¶ added in v0.14.0
func (*ReadBlogPostsResponse) Descriptor() ([]byte, []int)
func (*ReadBlogPostsResponse) GetPosts ¶ added in v0.14.0
func (m *ReadBlogPostsResponse) GetPosts() []*BlogPost
func (*ReadBlogPostsResponse) ProtoMessage ¶ added in v0.14.0
func (*ReadBlogPostsResponse) ProtoMessage()
func (*ReadBlogPostsResponse) Reset ¶ added in v0.14.0
func (m *ReadBlogPostsResponse) Reset()
func (*ReadBlogPostsResponse) String ¶ added in v0.14.0
func (m *ReadBlogPostsResponse) String() string
func (*ReadBlogPostsResponse) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *ReadBlogPostsResponse) XXX_DiscardUnknown()
func (*ReadBlogPostsResponse) XXX_Marshal ¶ added in v0.14.0
func (m *ReadBlogPostsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadBlogPostsResponse) XXX_Merge ¶ added in v0.14.0
func (m *ReadBlogPostsResponse) XXX_Merge(src proto.Message)
func (*ReadBlogPostsResponse) XXX_Size ¶ added in v0.14.0
func (m *ReadBlogPostsResponse) XXX_Size() int
func (*ReadBlogPostsResponse) XXX_Unmarshal ¶ added in v0.14.0
func (m *ReadBlogPostsResponse) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReadIntPointRequest) Descriptor ¶ added in v0.2.0
func (*ReadIntPointRequest) Descriptor() ([]byte, []int)
func (*ReadIntPointRequest) GetFields ¶ added in v0.11.0
func (m *ReadIntPointRequest) GetFields() *query.FieldSelection
func (*ReadIntPointRequest) GetId ¶ added in v0.2.0
func (m *ReadIntPointRequest) GetId() uint32
func (*ReadIntPointRequest) ProtoMessage ¶ added in v0.2.0
func (*ReadIntPointRequest) ProtoMessage()
func (*ReadIntPointRequest) Reset ¶ added in v0.2.0
func (m *ReadIntPointRequest) Reset()
func (*ReadIntPointRequest) String ¶ added in v0.2.0
func (m *ReadIntPointRequest) String() string
func (*ReadIntPointRequest) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *ReadIntPointRequest) XXX_DiscardUnknown()
func (*ReadIntPointRequest) XXX_Marshal ¶ added in v0.6.0
func (m *ReadIntPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadIntPointRequest) XXX_Merge ¶ added in v0.6.0
func (m *ReadIntPointRequest) XXX_Merge(src proto.Message)
func (*ReadIntPointRequest) XXX_Size ¶ added in v0.6.0
func (m *ReadIntPointRequest) XXX_Size() int
func (*ReadIntPointRequest) XXX_Unmarshal ¶ added in v0.6.0
func (m *ReadIntPointRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReadIntPointResponse) Descriptor ¶ added in v0.2.0
func (*ReadIntPointResponse) Descriptor() ([]byte, []int)
func (*ReadIntPointResponse) GetResult ¶ added in v0.2.0
func (m *ReadIntPointResponse) GetResult() *IntPoint
func (*ReadIntPointResponse) ProtoMessage ¶ added in v0.2.0
func (*ReadIntPointResponse) ProtoMessage()
func (*ReadIntPointResponse) Reset ¶ added in v0.2.0
func (m *ReadIntPointResponse) Reset()
func (*ReadIntPointResponse) String ¶ added in v0.2.0
func (m *ReadIntPointResponse) String() string
func (*ReadIntPointResponse) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *ReadIntPointResponse) XXX_DiscardUnknown()
func (*ReadIntPointResponse) XXX_Marshal ¶ added in v0.6.0
func (m *ReadIntPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadIntPointResponse) XXX_Merge ¶ added in v0.6.0
func (m *ReadIntPointResponse) XXX_Merge(src proto.Message)
func (*ReadIntPointResponse) XXX_Size ¶ added in v0.6.0
func (m *ReadIntPointResponse) XXX_Size() int
func (*ReadIntPointResponse) XXX_Unmarshal ¶ added in v0.6.0
func (m *ReadIntPointResponse) XXX_Unmarshal(b []byte) error
type Something ¶ added in v0.2.0
type Something struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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_mask1.FieldMask, prefix string, db *gorm1.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 ¶ added in v0.2.0
func (*Something) ProtoMessage ¶ added in v0.2.0
func (*Something) ProtoMessage()
func (*Something) ToORM ¶ added in v0.12.0
func (m *Something) ToORM(ctx context.Context) (SomethingORM, 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
func (*Something) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *Something) XXX_DiscardUnknown()
func (*Something) XXX_Marshal ¶ added in v0.6.0
func (*Something) XXX_Unmarshal ¶ added in v0.6.0
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 v0.16.0
type SomethingORMWithAfterListFind ¶ added in v0.12.0
type SomethingORMWithBeforeCreate_ ¶ added in v0.16.0
type SomethingORMWithBeforeListApplyQuery ¶ added in v0.12.0
type SomethingORMWithBeforeListFind ¶ added in v0.12.0
type SomethingRepository ¶ added in v0.19.0
type SomethingRepository interface { // CreateSomething executes a basic gorm create call CreateSomething(ctx context.Context, in *Something) (*Something, error) // ListSomething executes a gorm list call ListSomething(ctx context.Context) ([]*Something, error) }
SomethingRepository is a default repository
func NewSomethingRepository ¶ added in v0.19.0
func NewSomethingRepository(db *gorm1.DB) (SomethingRepository, error)
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 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func DefaultApplyFieldMaskTestTag ¶ added in v0.14.0
func DefaultApplyFieldMaskTestTag(ctx context.Context, patchee *TestTag, patcher *TestTag, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.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 DefaultPatchTestTag ¶ added in v0.14.0
func DefaultPatchTestTag(ctx context.Context, in *TestTag, updateMask *field_mask1.FieldMask, db *gorm1.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 first level 1:many children and then executes a gorm update call
func (*TestTag) Descriptor ¶ added in v0.14.0
func (*TestTag) GetTestTagAssoc ¶ added in v0.14.0
func (m *TestTag) GetTestTagAssoc() *TestTagAssociation
func (*TestTag) ProtoMessage ¶ added in v0.14.0
func (*TestTag) ProtoMessage()
func (*TestTag) ToORM ¶ added in v0.14.0
func (m *TestTag) ToORM(ctx context.Context) (TestTagORM, 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
func (*TestTag) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *TestTag) XXX_DiscardUnknown()
func (*TestTag) XXX_Marshal ¶ added in v0.14.0
func (*TestTag) XXX_Unmarshal ¶ added in v0.14.0
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func DefaultApplyFieldMaskTestTagAssociation ¶ added in v0.14.0
func DefaultApplyFieldMaskTestTagAssociation(ctx context.Context, patchee *TestTagAssociation, patcher *TestTagAssociation, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.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 *gorm1.DB) (*TestTagAssociation, error)
DefaultCreateTestTagAssociation executes a basic gorm create call
func DefaultListTestTagAssociation ¶ added in v0.14.0
func DefaultListTestTagAssociation(ctx context.Context, db *gorm1.DB) ([]*TestTagAssociation, error)
DefaultListTestTagAssociation executes a gorm list call
func (*TestTagAssociation) Descriptor ¶ added in v0.14.0
func (*TestTagAssociation) Descriptor() ([]byte, []int)
func (*TestTagAssociation) GetSomeField ¶ added in v0.14.0
func (m *TestTagAssociation) GetSomeField() string
func (*TestTagAssociation) ProtoMessage ¶ added in v0.14.0
func (*TestTagAssociation) ProtoMessage()
func (*TestTagAssociation) Reset ¶ added in v0.14.0
func (m *TestTagAssociation) Reset()
func (*TestTagAssociation) String ¶ added in v0.14.0
func (m *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
func (*TestTagAssociation) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *TestTagAssociation) XXX_DiscardUnknown()
func (*TestTagAssociation) XXX_Marshal ¶ added in v0.14.0
func (m *TestTagAssociation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestTagAssociation) XXX_Merge ¶ added in v0.14.0
func (m *TestTagAssociation) XXX_Merge(src proto.Message)
func (*TestTagAssociation) XXX_Size ¶ added in v0.14.0
func (m *TestTagAssociation) XXX_Size() int
func (*TestTagAssociation) XXX_Unmarshal ¶ added in v0.14.0
func (m *TestTagAssociation) XXX_Unmarshal(b []byte) error
type TestTagAssociationORM ¶ added in v0.13.0
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 v0.16.0
type TestTagAssociationORMWithAfterListFind ¶ added in v0.13.0
type TestTagAssociationORMWithBeforeCreate_ ¶ added in v0.16.0
type TestTagAssociationORMWithBeforeListApplyQuery ¶ added in v0.13.0
type TestTagAssociationORMWithBeforeListFind ¶ added in v0.13.0
type TestTagAssociationRepository ¶ added in v0.19.0
type TestTagAssociationRepository interface { // CreateTestTagAssociation executes a basic gorm create call CreateTestTagAssociation(ctx context.Context, in *TestTagAssociation) (*TestTagAssociation, error) // ListTestTagAssociation executes a gorm list call ListTestTagAssociation(ctx context.Context) ([]*TestTagAssociation, error) }
TestTagAssociationRepository is a default repository
func NewTestTagAssociationRepository ¶ added in v0.19.0
func NewTestTagAssociationRepository(db *gorm1.DB) (TestTagAssociationRepository, error)
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;preload:false"` }
func (TestTagORM) TableName ¶ added in v0.13.0
func (TestTagORM) TableName() string
TableName overrides the default tablename generated by GORM
type TestTagORMWithAfterCreate_ ¶ added in v0.16.0
type TestTagORMWithAfterDeleteSet ¶ added in v0.15.0
type TestTagORMWithAfterDelete_ ¶ added in v0.16.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 v0.16.0
type TestTagORMWithBeforeDeleteSet ¶ added in v0.15.0
type TestTagORMWithBeforeDelete_ ¶ added in v0.16.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 TestTagRepository ¶ added in v0.19.0
type TestTagRepository interface { // CreateTestTag executes a basic gorm create call CreateTestTag(ctx context.Context, in *TestTag) (*TestTag, error) // ListTestTag executes a gorm list call ListTestTag(ctx context.Context) ([]*TestTag, error) // ReadTestTag executes a basic gorm read call ReadTestTag(ctx context.Context, in *TestTag) (*TestTag, error) // DeleteTestTag executes a basic gorm delete call DeleteTestTag(ctx context.Context, in *TestTag) error // DeleteTestTagSet executes a basic gorm delete set call DeleteTestTagSet(ctx context.Context, in []*TestTag) error // StrictUpdateTestTag clears first level 1:many children and then executes a gorm update call StrictUpdateTestTag(ctx context.Context, in *TestTag) (*TestTag, error) // PatchTestTag executes a basic gorm update call with patch behavior PatchTestTag(ctx context.Context, in *TestTag, updateMask *field_mask1.FieldMask) (*TestTag, error) }
TestTagRepository is a default repository
func NewTestTagRepository ¶ added in v0.19.0
func NewTestTagRepository(db *gorm1.DB) (TestTagRepository, error)
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 currently unsupported, so this field will be dropped // at the ORM level 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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_mask1.FieldMask, prefix string, db *gorm1.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 ¶
func (*TestTypes) GetApiOnlyString ¶
func (*TestTypes) GetBecomesInt ¶
func (m *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 (m *TestTypes) GetOptionalString() *wrappers.StringValue
func (*TestTypes) GetTimeOnly ¶ added in v0.16.0
func (*TestTypes) GetTypeWithIdId ¶ added in v0.2.0
func (*TestTypes) ProtoMessage ¶
func (*TestTypes) ProtoMessage()
func (*TestTypes) ToORM ¶ added in v0.2.1
func (m *TestTypes) ToORM(ctx context.Context) (TestTypesORM, 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
func (*TestTypes) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *TestTypes) XXX_DiscardUnknown()
func (*TestTypes) XXX_Marshal ¶ added in v0.6.0
func (*TestTypes) XXX_Unmarshal ¶ added in v0.6.0
type TestTypesORM ¶
type TestTypesORM struct { ANestedObjectTypeWithIDId *uint32 Array pq1.StringArray Array2 pq1.StringArray BecomesInt string CreatedAt time.Time JsonField *postgres1.Jsonb `gorm:"type:jsonb"` NullableUuid *go_uuid1.UUID `gorm:"type:uuid"` OptionalString *string ThingsTypeWithIDId *uint32 TimeOnly string `gorm:"type:time"` TypeWithIdId uint32 Uuid go_uuid1.UUID `gorm:"type:uuid"` }
func (TestTypesORM) TableName ¶
func (TestTypesORM) TableName() string
TableName overrides the default tablename generated by GORM
type TestTypesORMWithAfterCreate_ ¶ added in v0.16.0
type TestTypesORMWithAfterListFind ¶ added in v0.12.0
type TestTypesORMWithBeforeCreate_ ¶ added in v0.16.0
type TestTypesORMWithBeforeListApplyQuery ¶ added in v0.12.0
type TestTypesORMWithBeforeListFind ¶ added in v0.12.0
type TestTypesRepository ¶ added in v0.19.0
type TestTypesRepository interface { // CreateTestTypes executes a basic gorm create call CreateTestTypes(ctx context.Context, in *TestTypes) (*TestTypes, error) // ListTestTypes executes a gorm list call ListTestTypes(ctx context.Context) ([]*TestTypes, error) }
TestTypesRepository is a default repository
func NewTestTypesRepository ¶ added in v0.19.0
func NewTestTypesRepository(db *gorm1.DB) (TestTypesRepository, error)
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) EnumDescriptor ¶
func (TestTypesStatus) EnumDescriptor() ([]byte, []int)
func (TestTypesStatus) String ¶
func (x TestTypesStatus) String() string
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TypeWithID demonstrates some basic assocation behavior
func DefaultApplyFieldMaskTypeWithID ¶ added in v0.9.0
func DefaultApplyFieldMaskTypeWithID(ctx context.Context, patchee *TypeWithID, patcher *TypeWithID, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*TypeWithID, error)
DefaultApplyFieldMaskTypeWithID patches an pbObject with patcher according to a field mask.
func DefaultCreateTypeWithID ¶
func DefaultCreateTypeWithID(ctx context.Context, in *TypeWithID, db *gorm1.DB) (*TypeWithID, error)
DefaultCreateTypeWithID executes a basic gorm create call
func DefaultListTypeWithID ¶ added in v0.2.0
DefaultListTypeWithID executes a gorm list call
func DefaultPatchTypeWithID ¶ added in v0.9.0
func DefaultPatchTypeWithID(ctx context.Context, in *TypeWithID, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*TypeWithID, error)
DefaultPatchTypeWithID executes a basic gorm update call with patch behavior
func DefaultReadTypeWithID ¶
func DefaultReadTypeWithID(ctx context.Context, in *TypeWithID, db *gorm1.DB) (*TypeWithID, error)
DefaultReadTypeWithID executes a basic gorm read call
func DefaultStrictUpdateTypeWithID ¶
func DefaultStrictUpdateTypeWithID(ctx context.Context, in *TypeWithID, db *gorm1.DB) (*TypeWithID, error)
DefaultStrictUpdateTypeWithID clears first level 1:many children and then executes a gorm update call
func (*TypeWithID) Descriptor ¶ added in v0.2.0
func (*TypeWithID) Descriptor() ([]byte, []int)
func (*TypeWithID) GetANestedObject ¶ added in v0.2.0
func (m *TypeWithID) GetANestedObject() *TestTypes
func (*TypeWithID) GetAddress ¶ added in v0.6.0
func (m *TypeWithID) GetAddress() *types.InetValue
func (*TypeWithID) GetDeletedAt ¶ added in v0.16.0
func (m *TypeWithID) GetDeletedAt() *timestamp.Timestamp
func (*TypeWithID) GetDoubleField ¶ added in v0.16.0
func (m *TypeWithID) GetDoubleField() *wrappers.DoubleValue
func (*TypeWithID) GetFloatField ¶ added in v0.16.0
func (m *TypeWithID) GetFloatField() *wrappers.FloatValue
func (*TypeWithID) GetId ¶ added in v0.2.0
func (m *TypeWithID) GetId() uint32
func (*TypeWithID) GetIp ¶ added in v0.2.0
func (m *TypeWithID) GetIp() string
func (*TypeWithID) GetMultiaccountTypeIds ¶ added in v0.7.0
func (m *TypeWithID) GetMultiaccountTypeIds() []uint32
func (*TypeWithID) GetPoint ¶ added in v0.6.0
func (m *TypeWithID) GetPoint() *IntPoint
func (*TypeWithID) GetSyntheticField ¶ added in v0.12.0
func (m *TypeWithID) GetSyntheticField() *APIOnlyType
func (*TypeWithID) GetTagSizeTest ¶ added in v0.15.0
func (m *TypeWithID) GetTagSizeTest() string
func (*TypeWithID) GetTagTest ¶ added in v0.15.0
func (m *TypeWithID) GetTagTest() float32
func (*TypeWithID) GetThings ¶ added in v0.2.0
func (m *TypeWithID) GetThings() []*TestTypes
func (*TypeWithID) GetTimeOnly ¶ added in v0.16.0
func (m *TypeWithID) GetTimeOnly() *types.TimeOnly
func (*TypeWithID) GetUser ¶ added in v0.6.0
func (m *TypeWithID) GetUser() *user.User
func (*TypeWithID) ProtoMessage ¶ added in v0.2.0
func (*TypeWithID) ProtoMessage()
func (*TypeWithID) Reset ¶ added in v0.2.0
func (m *TypeWithID) Reset()
func (*TypeWithID) String ¶ added in v0.2.0
func (m *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
func (*TypeWithID) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *TypeWithID) XXX_DiscardUnknown()
func (*TypeWithID) XXX_Marshal ¶ added in v0.6.0
func (m *TypeWithID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TypeWithID) XXX_Merge ¶ added in v0.6.0
func (m *TypeWithID) XXX_Merge(src proto.Message)
func (*TypeWithID) XXX_Size ¶ added in v0.6.0
func (m *TypeWithID) XXX_Size() int
func (*TypeWithID) XXX_Unmarshal ¶ added in v0.6.0
func (m *TypeWithID) XXX_Unmarshal(b []byte) error
type TypeWithIDORM ¶
type TypeWithIDORM struct { ANestedObject *TestTypesORM `gorm:"foreignkey:ANestedObjectTypeWithIDId;association_foreignkey:Id"` Address *types1.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) 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 v0.16.0
type TypeWithIDORMWithAfterDeleteSet ¶ added in v0.15.0
type TypeWithIDORMWithAfterDelete_ ¶ added in v0.16.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 v0.16.0
type TypeWithIDORMWithBeforeDeleteSet ¶ added in v0.15.0
type TypeWithIDORMWithBeforeDelete_ ¶ added in v0.16.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 TypeWithIDRepository ¶ added in v0.19.0
type TypeWithIDRepository interface { // CreateTypeWithID executes a basic gorm create call CreateTypeWithID(ctx context.Context, in *TypeWithID) (*TypeWithID, error) // ListTypeWithID executes a gorm list call ListTypeWithID(ctx context.Context) ([]*TypeWithID, error) // ReadTypeWithID executes a basic gorm read call ReadTypeWithID(ctx context.Context, in *TypeWithID) (*TypeWithID, error) // DeleteTypeWithID executes a basic gorm delete call DeleteTypeWithID(ctx context.Context, in *TypeWithID) error // DeleteTypeWithIDSet executes a basic gorm delete set call DeleteTypeWithIDSet(ctx context.Context, in []*TypeWithID) error // StrictUpdateTypeWithID clears first level 1:many children and then executes a gorm update call StrictUpdateTypeWithID(ctx context.Context, in *TypeWithID) (*TypeWithID, error) // PatchTypeWithID executes a basic gorm update call with patch behavior PatchTypeWithID(ctx context.Context, in *TypeWithID, updateMask *field_mask1.FieldMask) (*TypeWithID, error) }
TypeWithIDRepository is a default repository
func NewTypeWithIDRepository ¶ added in v0.19.0
func NewTypeWithIDRepository(db *gorm1.DB) (TypeWithIDRepository, error)
type TypeWithIDWithAfterPatchSave ¶ added in v0.12.0
type TypeWithIDWithAfterPatchSave interface {
AfterPatchSave(context.Context, *TypeWithID, *field_mask1.FieldMask, *gorm1.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_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TypeWithIDWithBeforePatchRead ¶ added in v0.12.0
type TypeWithIDWithBeforePatchRead interface {
BeforePatchRead(context.Context, *TypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TypeWithIDWithBeforePatchSave ¶ added in v0.9.1
type TypeWithIDWithBeforePatchSave interface {
BeforePatchSave(context.Context, *TypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.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 v0.19.0
type UnimplementedBlogPostServiceServer struct { }
UnimplementedBlogPostServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedBlogPostServiceServer) Read ¶ added in v0.19.0
func (*UnimplementedBlogPostServiceServer) Read(ctx context.Context, req *ReadAccountRequest) (*ReadBlogPostsResponse, error)
type UnimplementedCircleServiceServer ¶ added in v0.19.0
type UnimplementedCircleServiceServer struct { }
UnimplementedCircleServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCircleServiceServer) List ¶ added in v0.19.0
func (*UnimplementedCircleServiceServer) List(ctx context.Context, req *ListCircleRequest) (*ListCircleResponse, error)
type UnimplementedIntPointServiceServer ¶ added in v0.19.0
type UnimplementedIntPointServiceServer struct { }
UnimplementedIntPointServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedIntPointServiceServer) Create ¶ added in v0.19.0
func (*UnimplementedIntPointServiceServer) Create(ctx context.Context, req *CreateIntPointRequest) (*CreateIntPointResponse, error)
func (*UnimplementedIntPointServiceServer) CreateSomething ¶ added in v0.19.0
func (*UnimplementedIntPointServiceServer) CustomMethod ¶ added in v0.19.0
func (*UnimplementedIntPointServiceServer) Delete ¶ added in v0.19.0
func (*UnimplementedIntPointServiceServer) Delete(ctx context.Context, req *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
func (*UnimplementedIntPointServiceServer) List ¶ added in v0.19.0
func (*UnimplementedIntPointServiceServer) List(ctx context.Context, req *ListIntPointRequest) (*ListIntPointResponse, error)
func (*UnimplementedIntPointServiceServer) ListSomething ¶ added in v0.19.0
func (*UnimplementedIntPointServiceServer) ListSomething(ctx context.Context, req *empty.Empty) (*ListSomethingResponse, error)
func (*UnimplementedIntPointServiceServer) Read ¶ added in v0.19.0
func (*UnimplementedIntPointServiceServer) Read(ctx context.Context, req *ReadIntPointRequest) (*ReadIntPointResponse, error)
func (*UnimplementedIntPointServiceServer) Update ¶ added in v0.19.0
func (*UnimplementedIntPointServiceServer) Update(ctx context.Context, req *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
type UnimplementedIntPointTxnServer ¶ added in v0.19.0
type UnimplementedIntPointTxnServer struct { }
UnimplementedIntPointTxnServer can be embedded to have forward compatible implementations.
func (*UnimplementedIntPointTxnServer) Create ¶ added in v0.19.0
func (*UnimplementedIntPointTxnServer) Create(ctx context.Context, req *CreateIntPointRequest) (*CreateIntPointResponse, error)
func (*UnimplementedIntPointTxnServer) CreateSomething ¶ added in v0.19.0
func (*UnimplementedIntPointTxnServer) CustomMethod ¶ added in v0.19.0
func (*UnimplementedIntPointTxnServer) Delete ¶ added in v0.19.0
func (*UnimplementedIntPointTxnServer) Delete(ctx context.Context, req *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
func (*UnimplementedIntPointTxnServer) DeleteSet ¶ added in v0.19.0
func (*UnimplementedIntPointTxnServer) DeleteSet(ctx context.Context, req *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
func (*UnimplementedIntPointTxnServer) List ¶ added in v0.19.0
func (*UnimplementedIntPointTxnServer) List(ctx context.Context, req *ListIntPointRequest) (*ListIntPointResponse, error)
func (*UnimplementedIntPointTxnServer) Read ¶ added in v0.19.0
func (*UnimplementedIntPointTxnServer) Read(ctx context.Context, req *ReadIntPointRequest) (*ReadIntPointResponse, error)
func (*UnimplementedIntPointTxnServer) Update ¶ added in v0.19.0
func (*UnimplementedIntPointTxnServer) Update(ctx context.Context, req *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateIntPointRequest) Descriptor ¶ added in v0.2.0
func (*UpdateIntPointRequest) Descriptor() ([]byte, []int)
func (*UpdateIntPointRequest) GetGerogeriGegege ¶ added in v0.9.0
func (m *UpdateIntPointRequest) GetGerogeriGegege() *field_mask.FieldMask
func (*UpdateIntPointRequest) GetPayload ¶ added in v0.2.0
func (m *UpdateIntPointRequest) GetPayload() *IntPoint
func (*UpdateIntPointRequest) ProtoMessage ¶ added in v0.2.0
func (*UpdateIntPointRequest) ProtoMessage()
func (*UpdateIntPointRequest) Reset ¶ added in v0.2.0
func (m *UpdateIntPointRequest) Reset()
func (*UpdateIntPointRequest) String ¶ added in v0.2.0
func (m *UpdateIntPointRequest) String() string
func (*UpdateIntPointRequest) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *UpdateIntPointRequest) XXX_DiscardUnknown()
func (*UpdateIntPointRequest) XXX_Marshal ¶ added in v0.6.0
func (m *UpdateIntPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateIntPointRequest) XXX_Merge ¶ added in v0.6.0
func (m *UpdateIntPointRequest) XXX_Merge(src proto.Message)
func (*UpdateIntPointRequest) XXX_Size ¶ added in v0.6.0
func (m *UpdateIntPointRequest) XXX_Size() int
func (*UpdateIntPointRequest) XXX_Unmarshal ¶ added in v0.6.0
func (m *UpdateIntPointRequest) XXX_Unmarshal(b []byte) error
type UpdateIntPointResponse ¶ added in v0.2.0
type UpdateIntPointResponse struct { Result *IntPoint `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateIntPointResponse) Descriptor ¶ added in v0.2.0
func (*UpdateIntPointResponse) Descriptor() ([]byte, []int)
func (*UpdateIntPointResponse) GetResult ¶ added in v0.2.0
func (m *UpdateIntPointResponse) GetResult() *IntPoint
func (*UpdateIntPointResponse) ProtoMessage ¶ added in v0.2.0
func (*UpdateIntPointResponse) ProtoMessage()
func (*UpdateIntPointResponse) Reset ¶ added in v0.2.0
func (m *UpdateIntPointResponse) Reset()
func (*UpdateIntPointResponse) String ¶ added in v0.2.0
func (m *UpdateIntPointResponse) String() string
func (*UpdateIntPointResponse) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *UpdateIntPointResponse) XXX_DiscardUnknown()
func (*UpdateIntPointResponse) XXX_Marshal ¶ added in v0.6.0
func (m *UpdateIntPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateIntPointResponse) XXX_Merge ¶ added in v0.6.0
func (m *UpdateIntPointResponse) XXX_Merge(src proto.Message)
func (*UpdateIntPointResponse) XXX_Size ¶ added in v0.6.0
func (m *UpdateIntPointResponse) XXX_Size() int
func (*UpdateIntPointResponse) XXX_Unmarshal ¶ added in v0.6.0
func (m *UpdateIntPointResponse) XXX_Unmarshal(b []byte) error