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 TestAssocHandlerDefault TestAssocHandlerReplace TestAssocHandlerClear TestAssocHandlerAppend TestTagAssociation PrimaryIncluded IntPoint CreateIntPointRequest CreateIntPointResponse ReadIntPointRequest ReadIntPointResponse UpdateIntPointRequest UpdateIntPointResponse UpdateSetIntPointRequest UpdateSetIntPointResponse DeleteIntPointRequest DeleteIntPointsRequest DeleteIntPointResponse ListIntPointResponse ListSomethingResponse Something ListIntPointRequest Circle ListCircleRequest ListCircleResponse ReadAccountRequest ReadBlogPostsResponse
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 TestAssocHandlerDefault TestAssocHandlerReplace TestAssocHandlerClear TestAssocHandlerAppend TestTagAssociation PrimaryIncluded IntPoint CreateIntPointRequest CreateIntPointResponse ReadIntPointRequest ReadIntPointResponse UpdateIntPointRequest UpdateIntPointResponse UpdateSetIntPointRequest UpdateSetIntPointResponse 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 DefaultDeleteTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm1.DB) error
- func DefaultDeleteTestAssocHandlerAppendSet(ctx context.Context, in []*TestAssocHandlerAppend, db *gorm1.DB) error
- func DefaultDeleteTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm1.DB) error
- func DefaultDeleteTestAssocHandlerClearSet(ctx context.Context, in []*TestAssocHandlerClear, db *gorm1.DB) error
- func DefaultDeleteTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm1.DB) error
- func DefaultDeleteTestAssocHandlerDefaultSet(ctx context.Context, in []*TestAssocHandlerDefault, db *gorm1.DB) error
- func DefaultDeleteTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm1.DB) error
- func DefaultDeleteTestAssocHandlerReplaceSet(ctx context.Context, in []*TestAssocHandlerReplace, 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)
- func RegisterMultipleMethodsAutoGenServer(s *grpc.Server, srv MultipleMethodsAutoGenServer)
- type APIOnlyType
- type BlogPost
- func DefaultApplyFieldMaskBlogPost(ctx context.Context, patchee *BlogPost, patcher *BlogPost, ...) (*BlogPost, error)
- func DefaultCreateBlogPost(ctx context.Context, in *BlogPost, db *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 DefaultPatchSetBlogPost(ctx context.Context, objects []*BlogPost, updateMasks []*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)
- type BlogPostORM
- type BlogPostORMWithAfterCreate_
- type BlogPostORMWithAfterDeleteSet
- type BlogPostORMWithAfterDelete_
- type BlogPostORMWithAfterListFind
- type BlogPostORMWithAfterReadFind
- type BlogPostORMWithAfterStrictUpdateSave
- type BlogPostORMWithBeforeCreate_
- type BlogPostORMWithBeforeDeleteSet
- type BlogPostORMWithBeforeDelete_
- type BlogPostORMWithBeforeListApplyQuery
- type BlogPostORMWithBeforeListFind
- type BlogPostORMWithBeforeReadApplyQuery
- type BlogPostORMWithBeforeReadFind
- type BlogPostORMWithBeforeStrictUpdateCleanup
- type BlogPostORMWithBeforeStrictUpdateSave
- type BlogPostServiceClient
- type BlogPostServiceDefaultServer
- type BlogPostServiceServer
- type BlogPostWithAfterPatchSave
- type BlogPostWithAfterToORM
- type BlogPostWithAfterToPB
- type BlogPostWithBeforePatchApplyFieldMask
- type BlogPostWithBeforePatchRead
- type BlogPostWithBeforePatchSave
- type BlogPostWithBeforeToORM
- type BlogPostWithBeforeToPB
- type Circle
- type CircleORM
- type CircleORMWithAfterCreate_
- type CircleORMWithAfterListFind
- type CircleORMWithBeforeCreate_
- type CircleORMWithBeforeListApplyQuery
- type CircleORMWithBeforeListFind
- type CircleServiceCircleWithAfterList
- type CircleServiceCircleWithBeforeList
- type CircleServiceClient
- type CircleServiceDefaultServer
- type CircleServiceServer
- type CircleWithAfterToORM
- type CircleWithAfterToPB
- type CircleWithBeforeToORM
- type CircleWithBeforeToPB
- type CreateIntPointRequest
- type CreateIntPointResponse
- type DeleteIntPointRequest
- type DeleteIntPointResponse
- type DeleteIntPointsRequest
- 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 DefaultPatchSetExternalChild(ctx context.Context, objects []*ExternalChild, ...) ([]*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)
- type ExternalChildORM
- type ExternalChildORMWithAfterCreate_
- type ExternalChildORMWithAfterDeleteSet
- type ExternalChildORMWithAfterDelete_
- type ExternalChildORMWithAfterListFind
- type ExternalChildORMWithAfterReadFind
- type ExternalChildORMWithAfterStrictUpdateSave
- type ExternalChildORMWithBeforeCreate_
- type ExternalChildORMWithBeforeDeleteSet
- type ExternalChildORMWithBeforeDelete_
- type ExternalChildORMWithBeforeListApplyQuery
- type ExternalChildORMWithBeforeListFind
- type ExternalChildORMWithBeforeReadApplyQuery
- type ExternalChildORMWithBeforeReadFind
- type ExternalChildORMWithBeforeStrictUpdateCleanup
- type ExternalChildORMWithBeforeStrictUpdateSave
- type ExternalChildWithAfterPatchSave
- type ExternalChildWithAfterToORM
- type ExternalChildWithAfterToPB
- type ExternalChildWithBeforePatchApplyFieldMask
- type ExternalChildWithBeforePatchRead
- type ExternalChildWithBeforePatchSave
- type ExternalChildWithBeforeToORM
- type ExternalChildWithBeforeToPB
- type IntPoint
- func DefaultApplyFieldMaskIntPoint(ctx context.Context, patchee *IntPoint, patcher *IntPoint, ...) (*IntPoint, error)
- func DefaultCreateIntPoint(ctx context.Context, in *IntPoint, db *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 DefaultPatchSetIntPoint(ctx context.Context, objects []*IntPoint, updateMasks []*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)
- type IntPointORM
- type IntPointORMWithAfterCreate_
- type IntPointORMWithAfterDeleteSet
- type IntPointORMWithAfterDelete_
- type IntPointORMWithAfterListFind
- type IntPointORMWithAfterReadFind
- type IntPointORMWithAfterStrictUpdateSave
- type IntPointORMWithBeforeCreate_
- type IntPointORMWithBeforeDeleteSet
- type IntPointORMWithBeforeDelete_
- type IntPointORMWithBeforeListApplyQuery
- type IntPointORMWithBeforeListFind
- type IntPointORMWithBeforeReadApplyQuery
- type IntPointORMWithBeforeReadFind
- type IntPointORMWithBeforeStrictUpdateCleanup
- type IntPointORMWithBeforeStrictUpdateSave
- type IntPointServiceClient
- type IntPointServiceDefaultServer
- func (m *IntPointServiceDefaultServer) Create(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (m *IntPointServiceDefaultServer) CreateSomething(ctx context.Context, in *Something) (*Something, error)
- func (m *IntPointServiceDefaultServer) CustomMethod(ctx context.Context, in *google_protobuf2.Empty) (*google_protobuf2.Empty, error)
- func (m *IntPointServiceDefaultServer) Delete(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (m *IntPointServiceDefaultServer) List(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
- func (m *IntPointServiceDefaultServer) ListSomething(ctx context.Context, in *google_protobuf2.Empty) (*ListSomethingResponse, error)
- func (m *IntPointServiceDefaultServer) Read(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (m *IntPointServiceDefaultServer) Update(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- func (m *IntPointServiceDefaultServer) UpdateSet(ctx context.Context, in *UpdateSetIntPointRequest) (*UpdateSetIntPointResponse, error)
- type IntPointServiceIntPointWithAfterCreate
- type IntPointServiceIntPointWithAfterDelete
- type IntPointServiceIntPointWithAfterList
- type IntPointServiceIntPointWithAfterRead
- type IntPointServiceIntPointWithAfterUpdate
- type IntPointServiceIntPointWithAfterUpdateSet
- type IntPointServiceIntPointWithBeforeCreate
- type IntPointServiceIntPointWithBeforeDelete
- type IntPointServiceIntPointWithBeforeList
- type IntPointServiceIntPointWithBeforeRead
- type IntPointServiceIntPointWithBeforeUpdate
- type IntPointServiceIntPointWithBeforeUpdateSet
- type IntPointServiceServer
- type IntPointServiceSomethingWithAfterListSomething
- type IntPointServiceSomethingWithBeforeListSomething
- type IntPointTxnClient
- type IntPointTxnDefaultServer
- func (m *IntPointTxnDefaultServer) Create(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (m *IntPointTxnDefaultServer) CreateSomething(ctx context.Context, in *Something) (*Something, error)
- func (m *IntPointTxnDefaultServer) CustomMethod(ctx context.Context, in *google_protobuf2.Empty) (*google_protobuf2.Empty, error)
- func (m *IntPointTxnDefaultServer) Delete(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (m *IntPointTxnDefaultServer) DeleteSet(ctx context.Context, in *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
- func (m *IntPointTxnDefaultServer) List(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
- func (m *IntPointTxnDefaultServer) Read(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (m *IntPointTxnDefaultServer) Update(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- type IntPointTxnIntPointWithAfterCreate
- type IntPointTxnIntPointWithAfterDelete
- type IntPointTxnIntPointWithAfterDeleteSet
- type IntPointTxnIntPointWithAfterList
- type IntPointTxnIntPointWithAfterRead
- type IntPointTxnIntPointWithAfterUpdate
- type IntPointTxnIntPointWithBeforeCreate
- type IntPointTxnIntPointWithBeforeDelete
- type IntPointTxnIntPointWithBeforeDeleteSet
- type IntPointTxnIntPointWithBeforeList
- type IntPointTxnIntPointWithBeforeRead
- type IntPointTxnIntPointWithBeforeUpdate
- type IntPointTxnServer
- type IntPointWithAfterPatchSave
- type IntPointWithAfterToORM
- type IntPointWithAfterToPB
- type IntPointWithBeforePatchApplyFieldMask
- type IntPointWithBeforePatchRead
- type IntPointWithBeforePatchSave
- type IntPointWithBeforeToORM
- type IntPointWithBeforeToPB
- type JoinTable
- type ListCircleRequest
- type ListCircleResponse
- type ListIntPointRequest
- func (*ListIntPointRequest) Descriptor() ([]byte, []int)
- func (m *ListIntPointRequest) GetFields() *infoblox_api.FieldSelection
- func (m *ListIntPointRequest) GetFilter() *infoblox_api.Filtering
- func (m *ListIntPointRequest) GetOrderBy() *infoblox_api.Sorting
- func (m *ListIntPointRequest) GetPaging() *infoblox_api.Pagination
- func (*ListIntPointRequest) ProtoMessage()
- func (m *ListIntPointRequest) Reset()
- func (m *ListIntPointRequest) String() string
- type ListIntPointResponse
- func (*ListIntPointResponse) Descriptor() ([]byte, []int)
- func (m *ListIntPointResponse) GetPageInfo() *infoblox_api.PageInfo
- func (m *ListIntPointResponse) GetResults() []*IntPoint
- func (*ListIntPointResponse) ProtoMessage()
- func (m *ListIntPointResponse) Reset()
- func (m *ListIntPointResponse) String() string
- type ListSomethingResponse
- func (*ListSomethingResponse) Descriptor() ([]byte, []int)
- func (m *ListSomethingResponse) GetPageInfo() *infoblox_api.PageInfo
- func (m *ListSomethingResponse) GetResults() []*Something
- func (*ListSomethingResponse) ProtoMessage()
- func (m *ListSomethingResponse) Reset()
- func (m *ListSomethingResponse) String() string
- 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 DefaultPatchSetMultiaccountTypeWithID(ctx context.Context, objects []*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)
- type MultiaccountTypeWithIDORM
- type MultiaccountTypeWithIDORMWithAfterCreate_
- type MultiaccountTypeWithIDORMWithAfterDeleteSet
- type MultiaccountTypeWithIDORMWithAfterDelete_
- type MultiaccountTypeWithIDORMWithAfterListFind
- type MultiaccountTypeWithIDORMWithAfterReadFind
- type MultiaccountTypeWithIDORMWithAfterStrictUpdateSave
- type MultiaccountTypeWithIDORMWithBeforeCreate_
- type MultiaccountTypeWithIDORMWithBeforeDeleteSet
- type MultiaccountTypeWithIDORMWithBeforeDelete_
- type MultiaccountTypeWithIDORMWithBeforeListApplyQuery
- type MultiaccountTypeWithIDORMWithBeforeListFind
- type MultiaccountTypeWithIDORMWithBeforeReadApplyQuery
- type MultiaccountTypeWithIDORMWithBeforeReadFind
- type MultiaccountTypeWithIDORMWithBeforeStrictUpdateCleanup
- type MultiaccountTypeWithIDORMWithBeforeStrictUpdateSave
- type MultiaccountTypeWithIDWithAfterPatchSave
- type MultiaccountTypeWithIDWithAfterToORM
- type MultiaccountTypeWithIDWithAfterToPB
- type MultiaccountTypeWithIDWithBeforePatchApplyFieldMask
- type MultiaccountTypeWithIDWithBeforePatchRead
- type MultiaccountTypeWithIDWithBeforePatchSave
- type MultiaccountTypeWithIDWithBeforeToORM
- type MultiaccountTypeWithIDWithBeforeToPB
- type MultiaccountTypeWithoutID
- func DefaultApplyFieldMaskMultiaccountTypeWithoutID(ctx context.Context, patchee *MultiaccountTypeWithoutID, ...) (*MultiaccountTypeWithoutID, error)
- func DefaultCreateMultiaccountTypeWithoutID(ctx context.Context, in *MultiaccountTypeWithoutID, db *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)
- type MultiaccountTypeWithoutIDORM
- type MultiaccountTypeWithoutIDORMWithAfterCreate_
- type MultiaccountTypeWithoutIDORMWithAfterListFind
- type MultiaccountTypeWithoutIDORMWithBeforeCreate_
- type MultiaccountTypeWithoutIDORMWithBeforeListApplyQuery
- type MultiaccountTypeWithoutIDORMWithBeforeListFind
- type MultiaccountTypeWithoutIDWithAfterToORM
- type MultiaccountTypeWithoutIDWithAfterToPB
- type MultiaccountTypeWithoutIDWithBeforeToORM
- type MultiaccountTypeWithoutIDWithBeforeToPB
- type MultipleMethodsAutoGenClient
- type MultipleMethodsAutoGenDefaultServer
- func (m *MultipleMethodsAutoGenDefaultServer) CreateA(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) CreateB(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) DeleteA(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) DeleteB(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) DeleteSetA(ctx context.Context, in *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) DeleteSetB(ctx context.Context, in *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) ListA(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) ListB(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) ReadA(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) ReadB(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) UpdateA(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- func (m *MultipleMethodsAutoGenDefaultServer) UpdateB(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
- type MultipleMethodsAutoGenIntPointWithAfterCreateA
- type MultipleMethodsAutoGenIntPointWithAfterCreateB
- type MultipleMethodsAutoGenIntPointWithAfterDeleteA
- type MultipleMethodsAutoGenIntPointWithAfterDeleteB
- type MultipleMethodsAutoGenIntPointWithAfterDeleteSetA
- type MultipleMethodsAutoGenIntPointWithAfterDeleteSetB
- type MultipleMethodsAutoGenIntPointWithAfterListA
- type MultipleMethodsAutoGenIntPointWithAfterListB
- type MultipleMethodsAutoGenIntPointWithAfterReadA
- type MultipleMethodsAutoGenIntPointWithAfterReadB
- type MultipleMethodsAutoGenIntPointWithAfterUpdateA
- type MultipleMethodsAutoGenIntPointWithAfterUpdateB
- type MultipleMethodsAutoGenIntPointWithBeforeCreateA
- type MultipleMethodsAutoGenIntPointWithBeforeCreateB
- type MultipleMethodsAutoGenIntPointWithBeforeDeleteA
- type MultipleMethodsAutoGenIntPointWithBeforeDeleteB
- type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetA
- type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetB
- type MultipleMethodsAutoGenIntPointWithBeforeListA
- type MultipleMethodsAutoGenIntPointWithBeforeListB
- type MultipleMethodsAutoGenIntPointWithBeforeReadA
- type MultipleMethodsAutoGenIntPointWithBeforeReadB
- type MultipleMethodsAutoGenIntPointWithBeforeUpdateA
- type MultipleMethodsAutoGenIntPointWithBeforeUpdateB
- type MultipleMethodsAutoGenServer
- type PrimaryIncluded
- func DefaultApplyFieldMaskPrimaryIncluded(ctx context.Context, patchee *PrimaryIncluded, patcher *PrimaryIncluded, ...) (*PrimaryIncluded, error)
- func DefaultCreatePrimaryIncluded(ctx context.Context, in *PrimaryIncluded, db *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)
- type PrimaryIncludedORM
- type PrimaryIncludedORMWithAfterCreate_
- type PrimaryIncludedORMWithAfterListFind
- type PrimaryIncludedORMWithBeforeCreate_
- type PrimaryIncludedORMWithBeforeListApplyQuery
- type PrimaryIncludedORMWithBeforeListFind
- type PrimaryIncludedWithAfterToORM
- type PrimaryIncludedWithAfterToPB
- type PrimaryIncludedWithBeforeToORM
- type PrimaryIncludedWithBeforeToPB
- type PrimaryStringType
- func DefaultApplyFieldMaskPrimaryStringType(ctx context.Context, patchee *PrimaryStringType, patcher *PrimaryStringType, ...) (*PrimaryStringType, error)
- func DefaultCreatePrimaryStringType(ctx context.Context, in *PrimaryStringType, db *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 DefaultPatchSetPrimaryStringType(ctx context.Context, objects []*PrimaryStringType, ...) ([]*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)
- type PrimaryStringTypeORM
- type PrimaryStringTypeORMWithAfterCreate_
- type PrimaryStringTypeORMWithAfterDeleteSet
- type PrimaryStringTypeORMWithAfterDelete_
- type PrimaryStringTypeORMWithAfterListFind
- type PrimaryStringTypeORMWithAfterReadFind
- type PrimaryStringTypeORMWithAfterStrictUpdateSave
- type PrimaryStringTypeORMWithBeforeCreate_
- type PrimaryStringTypeORMWithBeforeDeleteSet
- type PrimaryStringTypeORMWithBeforeDelete_
- type PrimaryStringTypeORMWithBeforeListApplyQuery
- type PrimaryStringTypeORMWithBeforeListFind
- type PrimaryStringTypeORMWithBeforeReadApplyQuery
- type PrimaryStringTypeORMWithBeforeReadFind
- type PrimaryStringTypeORMWithBeforeStrictUpdateCleanup
- type PrimaryStringTypeORMWithBeforeStrictUpdateSave
- type PrimaryStringTypeWithAfterPatchSave
- type PrimaryStringTypeWithAfterToORM
- type PrimaryStringTypeWithAfterToPB
- type PrimaryStringTypeWithBeforePatchApplyFieldMask
- type PrimaryStringTypeWithBeforePatchRead
- type PrimaryStringTypeWithBeforePatchSave
- type PrimaryStringTypeWithBeforeToORM
- type PrimaryStringTypeWithBeforeToPB
- type PrimaryUUIDType
- func DefaultApplyFieldMaskPrimaryUUIDType(ctx context.Context, patchee *PrimaryUUIDType, patcher *PrimaryUUIDType, ...) (*PrimaryUUIDType, error)
- func DefaultCreatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *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 DefaultPatchSetPrimaryUUIDType(ctx context.Context, objects []*PrimaryUUIDType, ...) ([]*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() *gorm_types.UUIDValue
- func (*PrimaryUUIDType) ProtoMessage()
- func (m *PrimaryUUIDType) Reset()
- func (m *PrimaryUUIDType) String() string
- func (m *PrimaryUUIDType) ToORM(ctx context.Context) (PrimaryUUIDTypeORM, error)
- type PrimaryUUIDTypeORM
- type PrimaryUUIDTypeORMWithAfterCreate_
- type PrimaryUUIDTypeORMWithAfterDeleteSet
- type PrimaryUUIDTypeORMWithAfterDelete_
- type PrimaryUUIDTypeORMWithAfterListFind
- type PrimaryUUIDTypeORMWithAfterReadFind
- type PrimaryUUIDTypeORMWithAfterStrictUpdateSave
- type PrimaryUUIDTypeORMWithBeforeCreate_
- type PrimaryUUIDTypeORMWithBeforeDeleteSet
- type PrimaryUUIDTypeORMWithBeforeDelete_
- type PrimaryUUIDTypeORMWithBeforeListApplyQuery
- type PrimaryUUIDTypeORMWithBeforeListFind
- type PrimaryUUIDTypeORMWithBeforeReadApplyQuery
- type PrimaryUUIDTypeORMWithBeforeReadFind
- type PrimaryUUIDTypeORMWithBeforeStrictUpdateCleanup
- type PrimaryUUIDTypeORMWithBeforeStrictUpdateSave
- type PrimaryUUIDTypeWithAfterPatchSave
- type PrimaryUUIDTypeWithAfterToORM
- type PrimaryUUIDTypeWithAfterToPB
- type PrimaryUUIDTypeWithBeforePatchApplyFieldMask
- type PrimaryUUIDTypeWithBeforePatchRead
- type PrimaryUUIDTypeWithBeforePatchSave
- type PrimaryUUIDTypeWithBeforeToORM
- type PrimaryUUIDTypeWithBeforeToPB
- type ReadAccountRequest
- type ReadBlogPostsResponse
- type ReadIntPointRequest
- type ReadIntPointResponse
- 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)
- type SomethingORM
- type SomethingORMWithAfterCreate_
- type SomethingORMWithAfterListFind
- type SomethingORMWithBeforeCreate_
- type SomethingORMWithBeforeListApplyQuery
- type SomethingORMWithBeforeListFind
- type SomethingWithAfterToORM
- type SomethingWithAfterToPB
- type SomethingWithBeforeToORM
- type SomethingWithBeforeToPB
- type TestAssocHandlerAppend
- func DefaultApplyFieldMaskTestAssocHandlerAppend(ctx context.Context, patchee *TestAssocHandlerAppend, ...) (*TestAssocHandlerAppend, error)
- func DefaultCreateTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm1.DB) (*TestAssocHandlerAppend, error)
- func DefaultListTestAssocHandlerAppend(ctx context.Context, db *gorm1.DB) ([]*TestAssocHandlerAppend, error)
- func DefaultPatchSetTestAssocHandlerAppend(ctx context.Context, objects []*TestAssocHandlerAppend, ...) ([]*TestAssocHandlerAppend, error)
- func DefaultPatchTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, ...) (*TestAssocHandlerAppend, error)
- func DefaultReadTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm1.DB) (*TestAssocHandlerAppend, error)
- func DefaultStrictUpdateTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm1.DB) (*TestAssocHandlerAppend, error)
- func (*TestAssocHandlerAppend) Descriptor() ([]byte, []int)
- func (m *TestAssocHandlerAppend) GetId() string
- func (m *TestAssocHandlerAppend) GetTestTagAssoc() []*TestTagAssociation
- func (*TestAssocHandlerAppend) ProtoMessage()
- func (m *TestAssocHandlerAppend) Reset()
- func (m *TestAssocHandlerAppend) String() string
- func (m *TestAssocHandlerAppend) ToORM(ctx context.Context) (TestAssocHandlerAppendORM, error)
- type TestAssocHandlerAppendORM
- type TestAssocHandlerAppendORMWithAfterCreate_
- type TestAssocHandlerAppendORMWithAfterDeleteSet
- type TestAssocHandlerAppendORMWithAfterDelete_
- type TestAssocHandlerAppendORMWithAfterListFind
- type TestAssocHandlerAppendORMWithAfterReadFind
- type TestAssocHandlerAppendORMWithAfterStrictUpdateSave
- type TestAssocHandlerAppendORMWithBeforeCreate_
- type TestAssocHandlerAppendORMWithBeforeDeleteSet
- type TestAssocHandlerAppendORMWithBeforeDelete_
- type TestAssocHandlerAppendORMWithBeforeListApplyQuery
- type TestAssocHandlerAppendORMWithBeforeListFind
- type TestAssocHandlerAppendORMWithBeforeReadApplyQuery
- type TestAssocHandlerAppendORMWithBeforeReadFind
- type TestAssocHandlerAppendORMWithBeforeStrictUpdateCleanup
- type TestAssocHandlerAppendORMWithBeforeStrictUpdateSave
- type TestAssocHandlerAppendWithAfterPatchSave
- type TestAssocHandlerAppendWithAfterToORM
- type TestAssocHandlerAppendWithAfterToPB
- type TestAssocHandlerAppendWithBeforePatchApplyFieldMask
- type TestAssocHandlerAppendWithBeforePatchRead
- type TestAssocHandlerAppendWithBeforePatchSave
- type TestAssocHandlerAppendWithBeforeToORM
- type TestAssocHandlerAppendWithBeforeToPB
- type TestAssocHandlerClear
- func DefaultApplyFieldMaskTestAssocHandlerClear(ctx context.Context, patchee *TestAssocHandlerClear, ...) (*TestAssocHandlerClear, error)
- func DefaultCreateTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm1.DB) (*TestAssocHandlerClear, error)
- func DefaultListTestAssocHandlerClear(ctx context.Context, db *gorm1.DB) ([]*TestAssocHandlerClear, error)
- func DefaultPatchSetTestAssocHandlerClear(ctx context.Context, objects []*TestAssocHandlerClear, ...) ([]*TestAssocHandlerClear, error)
- func DefaultPatchTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, ...) (*TestAssocHandlerClear, error)
- func DefaultReadTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm1.DB) (*TestAssocHandlerClear, error)
- func DefaultStrictUpdateTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm1.DB) (*TestAssocHandlerClear, error)
- func (*TestAssocHandlerClear) Descriptor() ([]byte, []int)
- func (m *TestAssocHandlerClear) GetId() string
- func (m *TestAssocHandlerClear) GetTestTagAssoc() []*TestTagAssociation
- func (*TestAssocHandlerClear) ProtoMessage()
- func (m *TestAssocHandlerClear) Reset()
- func (m *TestAssocHandlerClear) String() string
- func (m *TestAssocHandlerClear) ToORM(ctx context.Context) (TestAssocHandlerClearORM, error)
- type TestAssocHandlerClearORM
- type TestAssocHandlerClearORMWithAfterCreate_
- type TestAssocHandlerClearORMWithAfterDeleteSet
- type TestAssocHandlerClearORMWithAfterDelete_
- type TestAssocHandlerClearORMWithAfterListFind
- type TestAssocHandlerClearORMWithAfterReadFind
- type TestAssocHandlerClearORMWithAfterStrictUpdateSave
- type TestAssocHandlerClearORMWithBeforeCreate_
- type TestAssocHandlerClearORMWithBeforeDeleteSet
- type TestAssocHandlerClearORMWithBeforeDelete_
- type TestAssocHandlerClearORMWithBeforeListApplyQuery
- type TestAssocHandlerClearORMWithBeforeListFind
- type TestAssocHandlerClearORMWithBeforeReadApplyQuery
- type TestAssocHandlerClearORMWithBeforeReadFind
- type TestAssocHandlerClearORMWithBeforeStrictUpdateCleanup
- type TestAssocHandlerClearORMWithBeforeStrictUpdateSave
- type TestAssocHandlerClearWithAfterPatchSave
- type TestAssocHandlerClearWithAfterToORM
- type TestAssocHandlerClearWithAfterToPB
- type TestAssocHandlerClearWithBeforePatchApplyFieldMask
- type TestAssocHandlerClearWithBeforePatchRead
- type TestAssocHandlerClearWithBeforePatchSave
- type TestAssocHandlerClearWithBeforeToORM
- type TestAssocHandlerClearWithBeforeToPB
- type TestAssocHandlerDefault
- func DefaultApplyFieldMaskTestAssocHandlerDefault(ctx context.Context, patchee *TestAssocHandlerDefault, ...) (*TestAssocHandlerDefault, error)
- func DefaultCreateTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm1.DB) (*TestAssocHandlerDefault, error)
- func DefaultListTestAssocHandlerDefault(ctx context.Context, db *gorm1.DB) ([]*TestAssocHandlerDefault, error)
- func DefaultPatchSetTestAssocHandlerDefault(ctx context.Context, objects []*TestAssocHandlerDefault, ...) ([]*TestAssocHandlerDefault, error)
- func DefaultPatchTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, ...) (*TestAssocHandlerDefault, error)
- func DefaultReadTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm1.DB) (*TestAssocHandlerDefault, error)
- func DefaultStrictUpdateTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm1.DB) (*TestAssocHandlerDefault, error)
- func (*TestAssocHandlerDefault) Descriptor() ([]byte, []int)
- func (m *TestAssocHandlerDefault) GetId() string
- func (m *TestAssocHandlerDefault) GetTestTagAssoc() []*TestTagAssociation
- func (*TestAssocHandlerDefault) ProtoMessage()
- func (m *TestAssocHandlerDefault) Reset()
- func (m *TestAssocHandlerDefault) String() string
- func (m *TestAssocHandlerDefault) ToORM(ctx context.Context) (TestAssocHandlerDefaultORM, error)
- type TestAssocHandlerDefaultORM
- type TestAssocHandlerDefaultORMWithAfterCreate_
- type TestAssocHandlerDefaultORMWithAfterDeleteSet
- type TestAssocHandlerDefaultORMWithAfterDelete_
- type TestAssocHandlerDefaultORMWithAfterListFind
- type TestAssocHandlerDefaultORMWithAfterReadFind
- type TestAssocHandlerDefaultORMWithAfterStrictUpdateSave
- type TestAssocHandlerDefaultORMWithBeforeCreate_
- type TestAssocHandlerDefaultORMWithBeforeDeleteSet
- type TestAssocHandlerDefaultORMWithBeforeDelete_
- type TestAssocHandlerDefaultORMWithBeforeListApplyQuery
- type TestAssocHandlerDefaultORMWithBeforeListFind
- type TestAssocHandlerDefaultORMWithBeforeReadApplyQuery
- type TestAssocHandlerDefaultORMWithBeforeReadFind
- type TestAssocHandlerDefaultORMWithBeforeStrictUpdateCleanup
- type TestAssocHandlerDefaultORMWithBeforeStrictUpdateSave
- type TestAssocHandlerDefaultWithAfterPatchSave
- type TestAssocHandlerDefaultWithAfterToORM
- type TestAssocHandlerDefaultWithAfterToPB
- type TestAssocHandlerDefaultWithBeforePatchApplyFieldMask
- type TestAssocHandlerDefaultWithBeforePatchRead
- type TestAssocHandlerDefaultWithBeforePatchSave
- type TestAssocHandlerDefaultWithBeforeToORM
- type TestAssocHandlerDefaultWithBeforeToPB
- type TestAssocHandlerReplace
- func DefaultApplyFieldMaskTestAssocHandlerReplace(ctx context.Context, patchee *TestAssocHandlerReplace, ...) (*TestAssocHandlerReplace, error)
- func DefaultCreateTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm1.DB) (*TestAssocHandlerReplace, error)
- func DefaultListTestAssocHandlerReplace(ctx context.Context, db *gorm1.DB) ([]*TestAssocHandlerReplace, error)
- func DefaultPatchSetTestAssocHandlerReplace(ctx context.Context, objects []*TestAssocHandlerReplace, ...) ([]*TestAssocHandlerReplace, error)
- func DefaultPatchTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, ...) (*TestAssocHandlerReplace, error)
- func DefaultReadTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm1.DB) (*TestAssocHandlerReplace, error)
- func DefaultStrictUpdateTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm1.DB) (*TestAssocHandlerReplace, error)
- func (*TestAssocHandlerReplace) Descriptor() ([]byte, []int)
- func (m *TestAssocHandlerReplace) GetId() string
- func (m *TestAssocHandlerReplace) GetTestTagAssoc() []*TestTagAssociation
- func (*TestAssocHandlerReplace) ProtoMessage()
- func (m *TestAssocHandlerReplace) Reset()
- func (m *TestAssocHandlerReplace) String() string
- func (m *TestAssocHandlerReplace) ToORM(ctx context.Context) (TestAssocHandlerReplaceORM, error)
- type TestAssocHandlerReplaceORM
- type TestAssocHandlerReplaceORMWithAfterCreate_
- type TestAssocHandlerReplaceORMWithAfterDeleteSet
- type TestAssocHandlerReplaceORMWithAfterDelete_
- type TestAssocHandlerReplaceORMWithAfterListFind
- type TestAssocHandlerReplaceORMWithAfterReadFind
- type TestAssocHandlerReplaceORMWithAfterStrictUpdateSave
- type TestAssocHandlerReplaceORMWithBeforeCreate_
- type TestAssocHandlerReplaceORMWithBeforeDeleteSet
- type TestAssocHandlerReplaceORMWithBeforeDelete_
- type TestAssocHandlerReplaceORMWithBeforeListApplyQuery
- type TestAssocHandlerReplaceORMWithBeforeListFind
- type TestAssocHandlerReplaceORMWithBeforeReadApplyQuery
- type TestAssocHandlerReplaceORMWithBeforeReadFind
- type TestAssocHandlerReplaceORMWithBeforeStrictUpdateCleanup
- type TestAssocHandlerReplaceORMWithBeforeStrictUpdateSave
- type TestAssocHandlerReplaceWithAfterPatchSave
- type TestAssocHandlerReplaceWithAfterToORM
- type TestAssocHandlerReplaceWithAfterToPB
- type TestAssocHandlerReplaceWithBeforePatchApplyFieldMask
- type TestAssocHandlerReplaceWithBeforePatchRead
- type TestAssocHandlerReplaceWithBeforePatchSave
- type TestAssocHandlerReplaceWithBeforeToORM
- type TestAssocHandlerReplaceWithBeforeToPB
- type TestTag
- func DefaultApplyFieldMaskTestTag(ctx context.Context, patchee *TestTag, patcher *TestTag, ...) (*TestTag, error)
- func DefaultCreateTestTag(ctx context.Context, in *TestTag, db *gorm1.DB) (*TestTag, error)
- func DefaultListTestTag(ctx context.Context, db *gorm1.DB) ([]*TestTag, error)
- func DefaultPatchSetTestTag(ctx context.Context, objects []*TestTag, updateMasks []*field_mask1.FieldMask, ...) ([]*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)
- 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)
- type TestTagAssociationORM
- type TestTagAssociationORMWithAfterCreate_
- type TestTagAssociationORMWithAfterListFind
- type TestTagAssociationORMWithBeforeCreate_
- type TestTagAssociationORMWithBeforeListApplyQuery
- type TestTagAssociationORMWithBeforeListFind
- type TestTagAssociationWithAfterToORM
- type TestTagAssociationWithAfterToPB
- type TestTagAssociationWithBeforeToORM
- type TestTagAssociationWithBeforeToPB
- type TestTagORM
- type TestTagORMWithAfterCreate_
- type TestTagORMWithAfterDeleteSet
- type TestTagORMWithAfterDelete_
- type TestTagORMWithAfterListFind
- type TestTagORMWithAfterReadFind
- type TestTagORMWithAfterStrictUpdateSave
- type TestTagORMWithBeforeCreate_
- type TestTagORMWithBeforeDeleteSet
- type TestTagORMWithBeforeDelete_
- type TestTagORMWithBeforeListApplyQuery
- type TestTagORMWithBeforeListFind
- type TestTagORMWithBeforeReadApplyQuery
- type TestTagORMWithBeforeReadFind
- type TestTagORMWithBeforeStrictUpdateCleanup
- type TestTagORMWithBeforeStrictUpdateSave
- type TestTagWithAfterPatchSave
- type TestTagWithAfterToORM
- type TestTagWithAfterToPB
- type TestTagWithBeforePatchApplyFieldMask
- type TestTagWithBeforePatchRead
- type TestTagWithBeforePatchSave
- type TestTagWithBeforeToORM
- type TestTagWithBeforeToPB
- type TestTypes
- func DefaultApplyFieldMaskTestTypes(ctx context.Context, patchee *TestTypes, patcher *TestTypes, ...) (*TestTypes, error)
- func DefaultCreateTestTypes(ctx context.Context, in *TestTypes, db *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() *google_protobuf3.Timestamp
- func (m *TestTypes) GetJsonField() *gorm_types.JSONValue
- func (m *TestTypes) GetNothingness() *google_protobuf2.Empty
- func (m *TestTypes) GetNullableUuid() *gorm_types.UUIDValue
- func (m *TestTypes) GetNumbers() []int32
- func (m *TestTypes) GetOptionalString() *google_protobuf1.StringValue
- func (m *TestTypes) GetTimeOnly() *gorm_types.TimeOnly
- func (m *TestTypes) GetTypeWithIdId() uint32
- func (m *TestTypes) GetUuid() *gorm_types.UUID
- func (*TestTypes) ProtoMessage()
- func (m *TestTypes) Reset()
- func (m *TestTypes) String() string
- func (m *TestTypes) ToORM(ctx context.Context) (TestTypesORM, error)
- type TestTypesORM
- type TestTypesORMWithAfterCreate_
- type TestTypesORMWithAfterListFind
- type TestTypesORMWithBeforeCreate_
- type TestTypesORMWithBeforeListApplyQuery
- type TestTypesORMWithBeforeListFind
- type TestTypesStatus
- 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 DefaultPatchSetTypeWithID(ctx context.Context, objects []*TypeWithID, ...) ([]*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 (pb *TypeWithID) AfterToORM(ctx context.Context, orm *TypeWithIDORM) error
- func (*TypeWithID) Descriptor() ([]byte, []int)
- func (m *TypeWithID) GetANestedObject() *TestTypes
- func (m *TypeWithID) GetAddress() *gorm_types.InetValue
- func (m *TypeWithID) GetDeletedAt() *google_protobuf3.Timestamp
- func (m *TypeWithID) GetDoubleField() *google_protobuf1.DoubleValue
- func (m *TypeWithID) GetFloatField() *google_protobuf1.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() *gorm_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)
- type TypeWithIDORM
- type TypeWithIDORMWithAfterCreate_
- type TypeWithIDORMWithAfterDeleteSet
- type TypeWithIDORMWithAfterDelete_
- type TypeWithIDORMWithAfterListFind
- type TypeWithIDORMWithAfterReadFind
- type TypeWithIDORMWithAfterStrictUpdateSave
- type TypeWithIDORMWithBeforeCreate_
- type TypeWithIDORMWithBeforeDeleteSet
- type TypeWithIDORMWithBeforeDelete_
- type TypeWithIDORMWithBeforeListApplyQuery
- type TypeWithIDORMWithBeforeListFind
- type TypeWithIDORMWithBeforeReadApplyQuery
- type TypeWithIDORMWithBeforeReadFind
- type TypeWithIDORMWithBeforeStrictUpdateCleanup
- type TypeWithIDORMWithBeforeStrictUpdateSave
- type TypeWithIDWithAfterPatchSave
- type TypeWithIDWithAfterToORM
- type TypeWithIDWithAfterToPB
- type TypeWithIDWithBeforePatchApplyFieldMask
- type TypeWithIDWithBeforePatchRead
- type TypeWithIDWithBeforePatchSave
- type TypeWithIDWithBeforeToORM
- type TypeWithIDWithBeforeToPB
- type UpdateIntPointRequest
- func (*UpdateIntPointRequest) Descriptor() ([]byte, []int)
- func (m *UpdateIntPointRequest) GetGerogeriGegege() *google_protobuf4.FieldMask
- func (m *UpdateIntPointRequest) GetPayload() *IntPoint
- func (*UpdateIntPointRequest) ProtoMessage()
- func (m *UpdateIntPointRequest) Reset()
- func (m *UpdateIntPointRequest) String() string
- type UpdateIntPointResponse
- type UpdateSetIntPointRequest
- func (*UpdateSetIntPointRequest) Descriptor() ([]byte, []int)
- func (m *UpdateSetIntPointRequest) GetMasks() []*google_protobuf4.FieldMask
- func (m *UpdateSetIntPointRequest) GetObjects() []*IntPoint
- func (*UpdateSetIntPointRequest) ProtoMessage()
- func (m *UpdateSetIntPointRequest) Reset()
- func (m *UpdateSetIntPointRequest) String() string
- type UpdateSetIntPointResponse
Constants ¶
This section is empty.
Variables ¶
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 ¶
func DefaultDeleteIntPoint ¶
func DefaultDeleteTestTag ¶
func DefaultDeleteTestTagSet ¶
func DefaultDeleteTypeWithID ¶
func RegisterBlogPostServiceServer ¶
func RegisterBlogPostServiceServer(s *grpc.Server, srv BlogPostServiceServer)
func RegisterCircleServiceServer ¶
func RegisterCircleServiceServer(s *grpc.Server, srv CircleServiceServer)
func RegisterIntPointServiceServer ¶
func RegisterIntPointServiceServer(s *grpc.Server, srv IntPointServiceServer)
func RegisterIntPointTxnServer ¶
func RegisterIntPointTxnServer(s *grpc.Server, srv IntPointTxnServer)
func RegisterMultipleMethodsAutoGenServer ¶
func RegisterMultipleMethodsAutoGenServer(s *grpc.Server, srv MultipleMethodsAutoGenServer)
Types ¶
type APIOnlyType ¶
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" json:"contents,omitempty"` }
func (*APIOnlyType) Descriptor ¶
func (*APIOnlyType) Descriptor() ([]byte, []int)
func (*APIOnlyType) GetContents ¶
func (m *APIOnlyType) GetContents() string
func (*APIOnlyType) ProtoMessage ¶
func (*APIOnlyType) ProtoMessage()
func (*APIOnlyType) Reset ¶
func (m *APIOnlyType) Reset()
func (*APIOnlyType) String ¶
func (m *APIOnlyType) String() string
type BlogPost ¶
type BlogPost struct { Id uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"` Author string `protobuf:"bytes,3,opt,name=author" json:"author,omitempty"` }
func DefaultApplyFieldMaskBlogPost ¶
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 ¶
DefaultCreateBlogPost executes a basic gorm create call
func DefaultListBlogPost ¶
DefaultListBlogPost executes a gorm list call
func DefaultPatchBlogPost ¶
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 DefaultPatchSetBlogPost ¶
func DefaultPatchSetBlogPost(ctx context.Context, objects []*BlogPost, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*BlogPost, error)
DefaultPatchSetBlogPost executes a bulk gorm update call with patch behavior
func DefaultReadBlogPost ¶
DefaultReadBlogPost executes a basic gorm read call
func DefaultStrictUpdateBlogPost ¶
func DefaultStrictUpdateBlogPost(ctx context.Context, in *BlogPost, db *gorm1.DB) (*BlogPost, error)
DefaultStrictUpdateBlogPost clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*BlogPost) Descriptor ¶
func (*BlogPost) ProtoMessage ¶
func (*BlogPost) ProtoMessage()
type BlogPostORM ¶
func (BlogPostORM) TableName ¶
func (BlogPostORM) TableName() string
TableName overrides the default tablename generated by GORM
type BlogPostServiceClient ¶
type BlogPostServiceClient interface {
Read(ctx context.Context, in *ReadAccountRequest, opts ...grpc.CallOption) (*ReadBlogPostsResponse, error)
}
func NewBlogPostServiceClient ¶
func NewBlogPostServiceClient(cc *grpc.ClientConn) BlogPostServiceClient
type BlogPostServiceDefaultServer ¶
func (*BlogPostServiceDefaultServer) Read ¶
func (m *BlogPostServiceDefaultServer) Read(ctx context.Context, in *ReadAccountRequest) (*ReadBlogPostsResponse, error)
Read ...
type BlogPostServiceServer ¶
type BlogPostServiceServer interface {
Read(context.Context, *ReadAccountRequest) (*ReadBlogPostsResponse, error)
}
type BlogPostWithAfterToORM ¶
type BlogPostWithAfterToORM interface {
AfterToORM(context.Context, *BlogPostORM) error
}
BlogPostAfterToORM called after default ToORM code
type BlogPostWithAfterToPB ¶
BlogPostAfterToPB called after default ToPB code
type BlogPostWithBeforeToORM ¶
type BlogPostWithBeforeToORM interface {
BeforeToORM(context.Context, *BlogPostORM) error
}
BlogPostBeforeToORM called before default ToORM code
type BlogPostWithBeforeToPB ¶
BlogPostBeforeToPB called before default ToPB code
type Circle ¶
type Circle struct {
R uint32 `protobuf:"varint,1,opt,name=r" json:"r,omitempty"`
}
func DefaultApplyFieldMaskCircle ¶
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 ¶
DefaultCreateCircle executes a basic gorm create call
func DefaultListCircle ¶
DefaultListCircle executes a gorm list call
func (*Circle) Descriptor ¶
func (*Circle) ProtoMessage ¶
func (*Circle) ProtoMessage()
type CircleORM ¶
type CircleORM struct {
R uint32
}
type CircleServiceCircleWithAfterList ¶
type CircleServiceCircleWithAfterList interface {
AfterList(context.Context, *ListCircleResponse, *gorm1.DB) error
}
CircleServiceCircleWithAfterList called before DefaultListCircle in the default List handler
type CircleServiceCircleWithBeforeList ¶
type CircleServiceCircleWithBeforeList interface {
BeforeList(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
CircleServiceCircleWithBeforeList called before DefaultListCircle in the default List handler
type CircleServiceClient ¶
type CircleServiceClient interface {
List(ctx context.Context, in *ListCircleRequest, opts ...grpc.CallOption) (*ListCircleResponse, error)
}
func NewCircleServiceClient ¶
func NewCircleServiceClient(cc *grpc.ClientConn) CircleServiceClient
type CircleServiceDefaultServer ¶
func (*CircleServiceDefaultServer) List ¶
func (m *CircleServiceDefaultServer) List(ctx context.Context, in *ListCircleRequest) (*ListCircleResponse, error)
List ...
type CircleServiceServer ¶
type CircleServiceServer interface {
List(context.Context, *ListCircleRequest) (*ListCircleResponse, error)
}
type CircleWithAfterToORM ¶
CircleAfterToORM called after default ToORM code
type CircleWithAfterToPB ¶
CircleAfterToPB called after default ToPB code
type CircleWithBeforeToORM ¶
CircleBeforeToORM called before default ToORM code
type CircleWithBeforeToPB ¶
CircleBeforeToPB called before default ToPB code
type CreateIntPointRequest ¶
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" json:"payload,omitempty"` }
func (*CreateIntPointRequest) Descriptor ¶
func (*CreateIntPointRequest) Descriptor() ([]byte, []int)
func (*CreateIntPointRequest) GetPayload ¶
func (m *CreateIntPointRequest) GetPayload() *IntPoint
func (*CreateIntPointRequest) ProtoMessage ¶
func (*CreateIntPointRequest) ProtoMessage()
func (*CreateIntPointRequest) Reset ¶
func (m *CreateIntPointRequest) Reset()
func (*CreateIntPointRequest) String ¶
func (m *CreateIntPointRequest) String() string
type CreateIntPointResponse ¶
type CreateIntPointResponse struct { // Convention also requires that the return type be the same and named 'result' Result *IntPoint `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"` }
func (*CreateIntPointResponse) Descriptor ¶
func (*CreateIntPointResponse) Descriptor() ([]byte, []int)
func (*CreateIntPointResponse) GetResult ¶
func (m *CreateIntPointResponse) GetResult() *IntPoint
func (*CreateIntPointResponse) ProtoMessage ¶
func (*CreateIntPointResponse) ProtoMessage()
func (*CreateIntPointResponse) Reset ¶
func (m *CreateIntPointResponse) Reset()
func (*CreateIntPointResponse) String ¶
func (m *CreateIntPointResponse) String() string
type DeleteIntPointRequest ¶
type DeleteIntPointRequest struct { // Only the id is needed for a delete request Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` }
func (*DeleteIntPointRequest) Descriptor ¶
func (*DeleteIntPointRequest) Descriptor() ([]byte, []int)
func (*DeleteIntPointRequest) GetId ¶
func (m *DeleteIntPointRequest) GetId() uint32
func (*DeleteIntPointRequest) ProtoMessage ¶
func (*DeleteIntPointRequest) ProtoMessage()
func (*DeleteIntPointRequest) Reset ¶
func (m *DeleteIntPointRequest) Reset()
func (*DeleteIntPointRequest) String ¶
func (m *DeleteIntPointRequest) String() string
type DeleteIntPointResponse ¶
type DeleteIntPointResponse struct { }
By convention, on DELETE no response data is given, so either a google.protobuf.empty, or an empty struct is sufficient
func (*DeleteIntPointResponse) Descriptor ¶
func (*DeleteIntPointResponse) Descriptor() ([]byte, []int)
func (*DeleteIntPointResponse) ProtoMessage ¶
func (*DeleteIntPointResponse) ProtoMessage()
func (*DeleteIntPointResponse) Reset ¶
func (m *DeleteIntPointResponse) Reset()
func (*DeleteIntPointResponse) String ¶
func (m *DeleteIntPointResponse) String() string
type DeleteIntPointsRequest ¶
type DeleteIntPointsRequest struct { // Only the id is needed for a delete request Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids" json:"ids,omitempty"` }
func (*DeleteIntPointsRequest) Descriptor ¶
func (*DeleteIntPointsRequest) Descriptor() ([]byte, []int)
func (*DeleteIntPointsRequest) GetIds ¶
func (m *DeleteIntPointsRequest) GetIds() []uint32
func (*DeleteIntPointsRequest) ProtoMessage ¶
func (*DeleteIntPointsRequest) ProtoMessage()
func (*DeleteIntPointsRequest) Reset ¶
func (m *DeleteIntPointsRequest) Reset()
func (*DeleteIntPointsRequest) String ¶
func (m *DeleteIntPointsRequest) String() string
type ExternalChild ¶
type ExternalChild struct {
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func DefaultApplyFieldMaskExternalChild ¶
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 ¶
func DefaultCreateExternalChild(ctx context.Context, in *ExternalChild, db *gorm1.DB) (*ExternalChild, error)
DefaultCreateExternalChild executes a basic gorm create call
func DefaultListExternalChild ¶
DefaultListExternalChild executes a gorm list call
func DefaultPatchExternalChild ¶
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 DefaultPatchSetExternalChild ¶
func DefaultPatchSetExternalChild(ctx context.Context, objects []*ExternalChild, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*ExternalChild, error)
DefaultPatchSetExternalChild executes a bulk gorm update call with patch behavior
func DefaultReadExternalChild ¶
func DefaultReadExternalChild(ctx context.Context, in *ExternalChild, db *gorm1.DB) (*ExternalChild, error)
DefaultReadExternalChild executes a basic gorm read call
func DefaultStrictUpdateExternalChild ¶
func DefaultStrictUpdateExternalChild(ctx context.Context, in *ExternalChild, db *gorm1.DB) (*ExternalChild, error)
DefaultStrictUpdateExternalChild clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*ExternalChild) Descriptor ¶
func (*ExternalChild) Descriptor() ([]byte, []int)
func (*ExternalChild) GetId ¶
func (m *ExternalChild) GetId() string
func (*ExternalChild) ProtoMessage ¶
func (*ExternalChild) ProtoMessage()
func (*ExternalChild) Reset ¶
func (m *ExternalChild) Reset()
func (*ExternalChild) String ¶
func (m *ExternalChild) String() string
func (*ExternalChild) ToORM ¶
func (m *ExternalChild) ToORM(ctx context.Context) (ExternalChildORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type ExternalChildORM ¶
type ExternalChildORM struct { Id string PrimaryIncludedId *go_uuid1.UUID PrimaryStringTypeId *string PrimaryUUIDTypeId *go_uuid1.UUID }
func (ExternalChildORM) TableName ¶
func (ExternalChildORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*ExternalChildORM) ToPB ¶
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 ExternalChildWithAfterPatchSave ¶
type ExternalChildWithAfterPatchSave interface {
AfterPatchSave(context.Context, *ExternalChild, *field_mask1.FieldMask, *gorm1.DB) error
}
type ExternalChildWithAfterToORM ¶
type ExternalChildWithAfterToORM interface {
AfterToORM(context.Context, *ExternalChildORM) error
}
ExternalChildAfterToORM called after default ToORM code
type ExternalChildWithAfterToPB ¶
type ExternalChildWithAfterToPB interface {
AfterToPB(context.Context, *ExternalChild) error
}
ExternalChildAfterToPB called after default ToPB code
type ExternalChildWithBeforePatchApplyFieldMask ¶
type ExternalChildWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *ExternalChild, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type ExternalChildWithBeforePatchRead ¶
type ExternalChildWithBeforePatchRead interface {
BeforePatchRead(context.Context, *ExternalChild, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type ExternalChildWithBeforePatchSave ¶
type ExternalChildWithBeforePatchSave interface {
BeforePatchSave(context.Context, *ExternalChild, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type ExternalChildWithBeforeToORM ¶
type ExternalChildWithBeforeToORM interface {
BeforeToORM(context.Context, *ExternalChildORM) error
}
ExternalChildBeforeToORM called before default ToORM code
type ExternalChildWithBeforeToPB ¶
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" json:"id,omitempty"` X int32 `protobuf:"varint,2,opt,name=x" json:"x,omitempty"` Y int32 `protobuf:"varint,3,opt,name=y" json:"y,omitempty"` }
IntPoint is a basic message type representing a single cartesian point that we want to store in a database
func DefaultApplyFieldMaskIntPoint ¶
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 ¶
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 DefaultPatchSetIntPoint ¶
func DefaultPatchSetIntPoint(ctx context.Context, objects []*IntPoint, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*IntPoint, error)
DefaultPatchSetIntPoint executes a bulk 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 / replaces / appends first level 1:many children and then executes a gorm update call
func (*IntPoint) Descriptor ¶
func (*IntPoint) ProtoMessage ¶
func (*IntPoint) ProtoMessage()
type IntPointORM ¶
func (IntPointORM) TableName ¶
func (IntPointORM) TableName() string
TableName overrides the default tablename generated by GORM
type IntPointORMWithAfterListFind ¶
type IntPointORMWithAfterListFind interface {
AfterListFind(context.Context, *gorm1.DB, *[]IntPointORM, *query1.Filtering, *query1.Sorting, *query1.Pagination, *query1.FieldSelection) error
}
type IntPointServiceClient ¶
type IntPointServiceClient interface { // The convention requires the rpc names have Create/Read/Update/List/Delete // as a prefix. The type is inferred from the response (except for delete), // so multiple objects can have CURDL handlers in the same service, provided // they are given unique suffixes Create(ctx context.Context, in *CreateIntPointRequest, opts ...grpc.CallOption) (*CreateIntPointResponse, error) Read(ctx context.Context, in *ReadIntPointRequest, opts ...grpc.CallOption) (*ReadIntPointResponse, error) Update(ctx context.Context, in *UpdateIntPointRequest, opts ...grpc.CallOption) (*UpdateIntPointResponse, error) UpdateSet(ctx context.Context, in *UpdateSetIntPointRequest, opts ...grpc.CallOption) (*UpdateSetIntPointResponse, error) List(ctx context.Context, in *ListIntPointRequest, opts ...grpc.CallOption) (*ListIntPointResponse, error) ListSomething(ctx context.Context, in *google_protobuf2.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 *google_protobuf2.Empty, opts ...grpc.CallOption) (*google_protobuf2.Empty, error) // CreateSomething also doesn't match conventions and will become a stub CreateSomething(ctx context.Context, in *Something, opts ...grpc.CallOption) (*Something, error) }
func NewIntPointServiceClient ¶
func NewIntPointServiceClient(cc *grpc.ClientConn) IntPointServiceClient
type IntPointServiceDefaultServer ¶
func (*IntPointServiceDefaultServer) Create ¶
func (m *IntPointServiceDefaultServer) Create(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
Create ...
func (*IntPointServiceDefaultServer) CreateSomething ¶
func (m *IntPointServiceDefaultServer) CreateSomething(ctx context.Context, in *Something) (*Something, error)
CreateSomething ...
func (*IntPointServiceDefaultServer) CustomMethod ¶
func (m *IntPointServiceDefaultServer) CustomMethod(ctx context.Context, in *google_protobuf2.Empty) (*google_protobuf2.Empty, error)
CustomMethod ...
func (*IntPointServiceDefaultServer) Delete ¶
func (m *IntPointServiceDefaultServer) Delete(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
Delete ...
func (*IntPointServiceDefaultServer) List ¶
func (m *IntPointServiceDefaultServer) List(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
List ...
func (*IntPointServiceDefaultServer) ListSomething ¶
func (m *IntPointServiceDefaultServer) ListSomething(ctx context.Context, in *google_protobuf2.Empty) (*ListSomethingResponse, error)
ListSomething ...
func (*IntPointServiceDefaultServer) Read ¶
func (m *IntPointServiceDefaultServer) Read(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
Read ...
func (*IntPointServiceDefaultServer) Update ¶
func (m *IntPointServiceDefaultServer) Update(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
Update ...
func (*IntPointServiceDefaultServer) UpdateSet ¶
func (m *IntPointServiceDefaultServer) UpdateSet(ctx context.Context, in *UpdateSetIntPointRequest) (*UpdateSetIntPointResponse, error)
UpdateSet ...
type IntPointServiceIntPointWithAfterCreate ¶
type IntPointServiceIntPointWithAfterCreate interface {
AfterCreate(context.Context, *CreateIntPointResponse, *gorm1.DB) error
}
IntPointServiceIntPointWithAfterCreate called before DefaultCreateIntPoint in the default Create handler
type IntPointServiceIntPointWithAfterDelete ¶
type IntPointServiceIntPointWithAfterDelete interface {
AfterDelete(context.Context, *DeleteIntPointResponse, *gorm1.DB) error
}
IntPointServiceIntPointWithAfterDelete called before DefaultDeleteIntPoint in the default Delete handler
type IntPointServiceIntPointWithAfterList ¶
type IntPointServiceIntPointWithAfterList interface {
AfterList(context.Context, *ListIntPointResponse, *gorm1.DB) error
}
IntPointServiceIntPointWithAfterList called before DefaultListIntPoint in the default List handler
type IntPointServiceIntPointWithAfterRead ¶
type IntPointServiceIntPointWithAfterRead interface {
AfterRead(context.Context, *ReadIntPointResponse, *gorm1.DB) error
}
IntPointServiceIntPointWithAfterRead called before DefaultReadIntPoint in the default Read handler
type IntPointServiceIntPointWithAfterUpdate ¶
type IntPointServiceIntPointWithAfterUpdate interface {
AfterUpdate(context.Context, *UpdateIntPointResponse, *gorm1.DB) error
}
IntPointServiceIntPointWithAfterUpdate called before DefaultUpdateIntPoint in the default Update handler
type IntPointServiceIntPointWithAfterUpdateSet ¶
type IntPointServiceIntPointWithAfterUpdateSet interface {
AfterUpdateSet(context.Context, *UpdateSetIntPointResponse, *gorm1.DB) error
}
IntPointServiceIntPointWithAfterUpdateSet called before DefaultUpdateSetIntPoint in the default UpdateSet handler
type IntPointServiceIntPointWithBeforeCreate ¶
type IntPointServiceIntPointWithBeforeCreate interface {
BeforeCreate(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointServiceIntPointWithBeforeCreate called before DefaultCreateIntPoint in the default Create handler
type IntPointServiceIntPointWithBeforeDelete ¶
type IntPointServiceIntPointWithBeforeDelete interface {
BeforeDelete(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointServiceIntPointWithBeforeDelete called before DefaultDeleteIntPoint in the default Delete handler
type IntPointServiceIntPointWithBeforeList ¶
type IntPointServiceIntPointWithBeforeList interface {
BeforeList(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointServiceIntPointWithBeforeList called before DefaultListIntPoint in the default List handler
type IntPointServiceIntPointWithBeforeRead ¶
type IntPointServiceIntPointWithBeforeRead interface {
BeforeRead(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointServiceIntPointWithBeforeRead called before DefaultReadIntPoint in the default Read handler
type IntPointServiceIntPointWithBeforeUpdate ¶
type IntPointServiceIntPointWithBeforeUpdate interface {
BeforeUpdate(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointServiceIntPointWithBeforeUpdate called before DefaultUpdateIntPoint in the default Update handler
type IntPointServiceIntPointWithBeforeUpdateSet ¶
type IntPointServiceIntPointWithBeforeUpdateSet interface {
BeforeUpdateSet(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointServiceIntPointWithBeforeUpdateSet called before DefaultUpdateSetIntPoint in the default UpdateSet handler
type IntPointServiceServer ¶
type IntPointServiceServer interface { // The convention requires the rpc names have Create/Read/Update/List/Delete // as a prefix. The type is inferred from the response (except for delete), // so multiple objects can have CURDL handlers in the same service, provided // they are given unique suffixes Create(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error) Read(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error) Update(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error) UpdateSet(context.Context, *UpdateSetIntPointRequest) (*UpdateSetIntPointResponse, error) List(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error) ListSomething(context.Context, *google_protobuf2.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, *google_protobuf2.Empty) (*google_protobuf2.Empty, error) // CreateSomething also doesn't match conventions and will become a stub CreateSomething(context.Context, *Something) (*Something, error) }
type IntPointServiceSomethingWithAfterListSomething ¶
type IntPointServiceSomethingWithAfterListSomething interface {
AfterListSomething(context.Context, *ListSomethingResponse, *gorm1.DB) error
}
IntPointServiceSomethingWithAfterListSomething called before DefaultListSomethingSomething in the default ListSomething handler
type IntPointServiceSomethingWithBeforeListSomething ¶
type IntPointServiceSomethingWithBeforeListSomething interface {
BeforeListSomething(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointServiceSomethingWithBeforeListSomething called before DefaultListSomethingSomething in the default ListSomething handler
type IntPointTxnClient ¶
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 *google_protobuf2.Empty, opts ...grpc.CallOption) (*google_protobuf2.Empty, error) // CreateSomething also doesn't match conventions and will become a stub CreateSomething(ctx context.Context, in *Something, opts ...grpc.CallOption) (*Something, error) }
func NewIntPointTxnClient ¶
func NewIntPointTxnClient(cc *grpc.ClientConn) IntPointTxnClient
type IntPointTxnDefaultServer ¶
type IntPointTxnDefaultServer struct { }
func (*IntPointTxnDefaultServer) Create ¶
func (m *IntPointTxnDefaultServer) Create(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
Create ...
func (*IntPointTxnDefaultServer) CreateSomething ¶
func (m *IntPointTxnDefaultServer) CreateSomething(ctx context.Context, in *Something) (*Something, error)
CreateSomething ...
func (*IntPointTxnDefaultServer) CustomMethod ¶
func (m *IntPointTxnDefaultServer) CustomMethod(ctx context.Context, in *google_protobuf2.Empty) (*google_protobuf2.Empty, error)
CustomMethod ...
func (*IntPointTxnDefaultServer) Delete ¶
func (m *IntPointTxnDefaultServer) Delete(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
Delete ...
func (*IntPointTxnDefaultServer) DeleteSet ¶
func (m *IntPointTxnDefaultServer) DeleteSet(ctx context.Context, in *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
DeleteSet ...
func (*IntPointTxnDefaultServer) List ¶
func (m *IntPointTxnDefaultServer) List(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
List ...
func (*IntPointTxnDefaultServer) Read ¶
func (m *IntPointTxnDefaultServer) Read(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
Read ...
func (*IntPointTxnDefaultServer) Update ¶
func (m *IntPointTxnDefaultServer) Update(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
Update ...
type IntPointTxnIntPointWithAfterCreate ¶
type IntPointTxnIntPointWithAfterCreate interface {
AfterCreate(context.Context, *CreateIntPointResponse, *gorm1.DB) error
}
IntPointTxnIntPointWithAfterCreate called before DefaultCreateIntPoint in the default Create handler
type IntPointTxnIntPointWithAfterDelete ¶
type IntPointTxnIntPointWithAfterDelete interface {
AfterDelete(context.Context, *DeleteIntPointResponse, *gorm1.DB) error
}
IntPointTxnIntPointWithAfterDelete called before DefaultDeleteIntPoint in the default Delete handler
type IntPointTxnIntPointWithAfterDeleteSet ¶
type IntPointTxnIntPointWithAfterDeleteSet interface {
AfterDeleteSet(context.Context, *DeleteIntPointResponse, *gorm1.DB) error
}
IntPointTxnIntPointWithAfterDeleteSet called before DefaultDeleteSetIntPoint in the default DeleteSet handler
type IntPointTxnIntPointWithAfterList ¶
type IntPointTxnIntPointWithAfterList interface {
AfterList(context.Context, *ListIntPointResponse, *gorm1.DB) error
}
IntPointTxnIntPointWithAfterList called before DefaultListIntPoint in the default List handler
type IntPointTxnIntPointWithAfterRead ¶
type IntPointTxnIntPointWithAfterRead interface {
AfterRead(context.Context, *ReadIntPointResponse, *gorm1.DB) error
}
IntPointTxnIntPointWithAfterRead called before DefaultReadIntPoint in the default Read handler
type IntPointTxnIntPointWithAfterUpdate ¶
type IntPointTxnIntPointWithAfterUpdate interface {
AfterUpdate(context.Context, *UpdateIntPointResponse, *gorm1.DB) error
}
IntPointTxnIntPointWithAfterUpdate called before DefaultUpdateIntPoint in the default Update handler
type IntPointTxnIntPointWithBeforeCreate ¶
type IntPointTxnIntPointWithBeforeCreate interface {
BeforeCreate(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointTxnIntPointWithBeforeCreate called before DefaultCreateIntPoint in the default Create handler
type IntPointTxnIntPointWithBeforeDelete ¶
type IntPointTxnIntPointWithBeforeDelete interface {
BeforeDelete(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointTxnIntPointWithBeforeDelete called before DefaultDeleteIntPoint in the default Delete handler
type IntPointTxnIntPointWithBeforeDeleteSet ¶
type IntPointTxnIntPointWithBeforeDeleteSet interface {
BeforeDeleteSet(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointTxnIntPointWithBeforeDeleteSet called before DefaultDeleteSetIntPoint in the default DeleteSet handler
type IntPointTxnIntPointWithBeforeList ¶
type IntPointTxnIntPointWithBeforeList interface {
BeforeList(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointTxnIntPointWithBeforeList called before DefaultListIntPoint in the default List handler
type IntPointTxnIntPointWithBeforeRead ¶
type IntPointTxnIntPointWithBeforeRead interface {
BeforeRead(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointTxnIntPointWithBeforeRead called before DefaultReadIntPoint in the default Read handler
type IntPointTxnIntPointWithBeforeUpdate ¶
type IntPointTxnIntPointWithBeforeUpdate interface {
BeforeUpdate(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
IntPointTxnIntPointWithBeforeUpdate called before DefaultUpdateIntPoint in the default Update handler
type IntPointTxnServer ¶
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, *google_protobuf2.Empty) (*google_protobuf2.Empty, error) // CreateSomething also doesn't match conventions and will become a stub CreateSomething(context.Context, *Something) (*Something, error) }
type IntPointWithAfterToORM ¶
type IntPointWithAfterToORM interface {
AfterToORM(context.Context, *IntPointORM) error
}
IntPointAfterToORM called after default ToORM code
type IntPointWithAfterToPB ¶
IntPointAfterToPB called after default ToPB code
type IntPointWithBeforeToORM ¶
type IntPointWithBeforeToORM interface {
BeforeToORM(context.Context, *IntPointORM) error
}
IntPointBeforeToORM called before default ToORM code
type IntPointWithBeforeToPB ¶
IntPointBeforeToPB called before default ToPB code
type ListCircleRequest ¶
type ListCircleRequest struct { }
func (*ListCircleRequest) Descriptor ¶
func (*ListCircleRequest) Descriptor() ([]byte, []int)
func (*ListCircleRequest) ProtoMessage ¶
func (*ListCircleRequest) ProtoMessage()
func (*ListCircleRequest) Reset ¶
func (m *ListCircleRequest) Reset()
func (*ListCircleRequest) String ¶
func (m *ListCircleRequest) String() string
type ListCircleResponse ¶
type ListCircleResponse struct {
Results []*Circle `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}
func (*ListCircleResponse) Descriptor ¶
func (*ListCircleResponse) Descriptor() ([]byte, []int)
func (*ListCircleResponse) GetResults ¶
func (m *ListCircleResponse) GetResults() []*Circle
func (*ListCircleResponse) ProtoMessage ¶
func (*ListCircleResponse) ProtoMessage()
func (*ListCircleResponse) Reset ¶
func (m *ListCircleResponse) Reset()
func (*ListCircleResponse) String ¶
func (m *ListCircleResponse) String() string
type ListIntPointRequest ¶
type ListIntPointRequest struct { Filter *infoblox_api.Filtering `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"` OrderBy *infoblox_api.Sorting `protobuf:"bytes,2,opt,name=order_by,json=orderBy" json:"order_by,omitempty"` Fields *infoblox_api.FieldSelection `protobuf:"bytes,3,opt,name=fields" json:"fields,omitempty"` Paging *infoblox_api.Pagination `protobuf:"bytes,4,opt,name=paging" json:"paging,omitempty"` }
func (*ListIntPointRequest) Descriptor ¶
func (*ListIntPointRequest) Descriptor() ([]byte, []int)
func (*ListIntPointRequest) GetFields ¶
func (m *ListIntPointRequest) GetFields() *infoblox_api.FieldSelection
func (*ListIntPointRequest) GetFilter ¶
func (m *ListIntPointRequest) GetFilter() *infoblox_api.Filtering
func (*ListIntPointRequest) GetOrderBy ¶
func (m *ListIntPointRequest) GetOrderBy() *infoblox_api.Sorting
func (*ListIntPointRequest) GetPaging ¶
func (m *ListIntPointRequest) GetPaging() *infoblox_api.Pagination
func (*ListIntPointRequest) ProtoMessage ¶
func (*ListIntPointRequest) ProtoMessage()
func (*ListIntPointRequest) Reset ¶
func (m *ListIntPointRequest) Reset()
func (*ListIntPointRequest) String ¶
func (m *ListIntPointRequest) String() string
type ListIntPointResponse ¶
type ListIntPointResponse struct { // Note repeated field and plural name 'results' Results []*IntPoint `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"` PageInfo *infoblox_api.PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo" json:"page_info,omitempty"` }
func (*ListIntPointResponse) Descriptor ¶
func (*ListIntPointResponse) Descriptor() ([]byte, []int)
func (*ListIntPointResponse) GetPageInfo ¶
func (m *ListIntPointResponse) GetPageInfo() *infoblox_api.PageInfo
func (*ListIntPointResponse) GetResults ¶
func (m *ListIntPointResponse) GetResults() []*IntPoint
func (*ListIntPointResponse) ProtoMessage ¶
func (*ListIntPointResponse) ProtoMessage()
func (*ListIntPointResponse) Reset ¶
func (m *ListIntPointResponse) Reset()
func (*ListIntPointResponse) String ¶
func (m *ListIntPointResponse) String() string
type ListSomethingResponse ¶
type ListSomethingResponse struct { // Note repeated field and plural name 'results' Results []*Something `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"` PageInfo *infoblox_api.PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo" json:"page_info,omitempty"` }
func (*ListSomethingResponse) Descriptor ¶
func (*ListSomethingResponse) Descriptor() ([]byte, []int)
func (*ListSomethingResponse) GetPageInfo ¶
func (m *ListSomethingResponse) GetPageInfo() *infoblox_api.PageInfo
func (*ListSomethingResponse) GetResults ¶
func (m *ListSomethingResponse) GetResults() []*Something
func (*ListSomethingResponse) ProtoMessage ¶
func (*ListSomethingResponse) ProtoMessage()
func (*ListSomethingResponse) Reset ¶
func (m *ListSomethingResponse) Reset()
func (*ListSomethingResponse) String ¶
func (m *ListSomethingResponse) String() string
type MultiaccountTypeWithID ¶
type MultiaccountTypeWithID struct { Id uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` SomeField string `protobuf:"bytes,2,opt,name=some_field,json=someField" json:"some_field,omitempty"` }
MultiaccountTypeWithID demonstrates the generated multi-account support
func DefaultApplyFieldMaskMultiaccountTypeWithID ¶
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 ¶
func DefaultCreateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm1.DB) (*MultiaccountTypeWithID, error)
DefaultCreateMultiaccountTypeWithID executes a basic gorm create call
func DefaultListMultiaccountTypeWithID ¶
func DefaultListMultiaccountTypeWithID(ctx context.Context, db *gorm1.DB) ([]*MultiaccountTypeWithID, error)
DefaultListMultiaccountTypeWithID executes a gorm list call
func DefaultPatchMultiaccountTypeWithID ¶
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 DefaultPatchSetMultiaccountTypeWithID ¶
func DefaultPatchSetMultiaccountTypeWithID(ctx context.Context, objects []*MultiaccountTypeWithID, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*MultiaccountTypeWithID, error)
DefaultPatchSetMultiaccountTypeWithID executes a bulk gorm update call with patch behavior
func DefaultReadMultiaccountTypeWithID ¶
func DefaultReadMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm1.DB) (*MultiaccountTypeWithID, error)
DefaultReadMultiaccountTypeWithID executes a basic gorm read call
func DefaultStrictUpdateMultiaccountTypeWithID ¶
func DefaultStrictUpdateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm1.DB) (*MultiaccountTypeWithID, error)
DefaultStrictUpdateMultiaccountTypeWithID clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*MultiaccountTypeWithID) Descriptor ¶
func (*MultiaccountTypeWithID) Descriptor() ([]byte, []int)
func (*MultiaccountTypeWithID) GetId ¶
func (m *MultiaccountTypeWithID) GetId() uint64
func (*MultiaccountTypeWithID) GetSomeField ¶
func (m *MultiaccountTypeWithID) GetSomeField() string
func (*MultiaccountTypeWithID) ProtoMessage ¶
func (*MultiaccountTypeWithID) ProtoMessage()
func (*MultiaccountTypeWithID) Reset ¶
func (m *MultiaccountTypeWithID) Reset()
func (*MultiaccountTypeWithID) String ¶
func (m *MultiaccountTypeWithID) String() string
func (*MultiaccountTypeWithID) ToORM ¶
func (m *MultiaccountTypeWithID) ToORM(ctx context.Context) (MultiaccountTypeWithIDORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type MultiaccountTypeWithIDORM ¶
func (MultiaccountTypeWithIDORM) TableName ¶
func (MultiaccountTypeWithIDORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*MultiaccountTypeWithIDORM) ToPB ¶
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 MultiaccountTypeWithIDWithAfterPatchSave ¶
type MultiaccountTypeWithIDWithAfterPatchSave interface {
AfterPatchSave(context.Context, *MultiaccountTypeWithID, *field_mask1.FieldMask, *gorm1.DB) error
}
type MultiaccountTypeWithIDWithAfterToORM ¶
type MultiaccountTypeWithIDWithAfterToORM interface {
AfterToORM(context.Context, *MultiaccountTypeWithIDORM) error
}
MultiaccountTypeWithIDAfterToORM called after default ToORM code
type MultiaccountTypeWithIDWithAfterToPB ¶
type MultiaccountTypeWithIDWithAfterToPB interface {
AfterToPB(context.Context, *MultiaccountTypeWithID) error
}
MultiaccountTypeWithIDAfterToPB called after default ToPB code
type MultiaccountTypeWithIDWithBeforePatchApplyFieldMask ¶
type MultiaccountTypeWithIDWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *MultiaccountTypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type MultiaccountTypeWithIDWithBeforePatchRead ¶
type MultiaccountTypeWithIDWithBeforePatchRead interface {
BeforePatchRead(context.Context, *MultiaccountTypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type MultiaccountTypeWithIDWithBeforePatchSave ¶
type MultiaccountTypeWithIDWithBeforePatchSave interface {
BeforePatchSave(context.Context, *MultiaccountTypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type MultiaccountTypeWithIDWithBeforeToORM ¶
type MultiaccountTypeWithIDWithBeforeToORM interface {
BeforeToORM(context.Context, *MultiaccountTypeWithIDORM) error
}
MultiaccountTypeWithIDBeforeToORM called before default ToORM code
type MultiaccountTypeWithIDWithBeforeToPB ¶
type MultiaccountTypeWithIDWithBeforeToPB interface {
BeforeToPB(context.Context, *MultiaccountTypeWithID) error
}
MultiaccountTypeWithIDBeforeToPB called before default ToPB code
type MultiaccountTypeWithoutID ¶
type MultiaccountTypeWithoutID struct {
SomeField string `protobuf:"bytes,1,opt,name=some_field,json=someField" json:"some_field,omitempty"`
}
func DefaultApplyFieldMaskMultiaccountTypeWithoutID ¶
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 ¶
func DefaultCreateMultiaccountTypeWithoutID(ctx context.Context, in *MultiaccountTypeWithoutID, db *gorm1.DB) (*MultiaccountTypeWithoutID, error)
DefaultCreateMultiaccountTypeWithoutID executes a basic gorm create call
func DefaultListMultiaccountTypeWithoutID ¶
func DefaultListMultiaccountTypeWithoutID(ctx context.Context, db *gorm1.DB) ([]*MultiaccountTypeWithoutID, error)
DefaultListMultiaccountTypeWithoutID executes a gorm list call
func (*MultiaccountTypeWithoutID) Descriptor ¶
func (*MultiaccountTypeWithoutID) Descriptor() ([]byte, []int)
func (*MultiaccountTypeWithoutID) GetSomeField ¶
func (m *MultiaccountTypeWithoutID) GetSomeField() string
func (*MultiaccountTypeWithoutID) ProtoMessage ¶
func (*MultiaccountTypeWithoutID) ProtoMessage()
func (*MultiaccountTypeWithoutID) Reset ¶
func (m *MultiaccountTypeWithoutID) Reset()
func (*MultiaccountTypeWithoutID) String ¶
func (m *MultiaccountTypeWithoutID) String() string
func (*MultiaccountTypeWithoutID) ToORM ¶
func (m *MultiaccountTypeWithoutID) ToORM(ctx context.Context) (MultiaccountTypeWithoutIDORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type MultiaccountTypeWithoutIDORM ¶
func (MultiaccountTypeWithoutIDORM) TableName ¶
func (MultiaccountTypeWithoutIDORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*MultiaccountTypeWithoutIDORM) ToPB ¶
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 MultiaccountTypeWithoutIDWithAfterToORM ¶
type MultiaccountTypeWithoutIDWithAfterToORM interface {
AfterToORM(context.Context, *MultiaccountTypeWithoutIDORM) error
}
MultiaccountTypeWithoutIDAfterToORM called after default ToORM code
type MultiaccountTypeWithoutIDWithAfterToPB ¶
type MultiaccountTypeWithoutIDWithAfterToPB interface {
AfterToPB(context.Context, *MultiaccountTypeWithoutID) error
}
MultiaccountTypeWithoutIDAfterToPB called after default ToPB code
type MultiaccountTypeWithoutIDWithBeforeToORM ¶
type MultiaccountTypeWithoutIDWithBeforeToORM interface {
BeforeToORM(context.Context, *MultiaccountTypeWithoutIDORM) error
}
MultiaccountTypeWithoutIDBeforeToORM called before default ToORM code
type MultiaccountTypeWithoutIDWithBeforeToPB ¶
type MultiaccountTypeWithoutIDWithBeforeToPB interface {
BeforeToPB(context.Context, *MultiaccountTypeWithoutID) error
}
MultiaccountTypeWithoutIDBeforeToPB called before default ToPB code
type MultipleMethodsAutoGenClient ¶
type MultipleMethodsAutoGenClient interface { CreateA(ctx context.Context, in *CreateIntPointRequest, opts ...grpc.CallOption) (*CreateIntPointResponse, error) CreateB(ctx context.Context, in *CreateIntPointRequest, opts ...grpc.CallOption) (*CreateIntPointResponse, error) ReadA(ctx context.Context, in *ReadIntPointRequest, opts ...grpc.CallOption) (*ReadIntPointResponse, error) ReadB(ctx context.Context, in *ReadIntPointRequest, opts ...grpc.CallOption) (*ReadIntPointResponse, error) UpdateA(ctx context.Context, in *UpdateIntPointRequest, opts ...grpc.CallOption) (*UpdateIntPointResponse, error) UpdateB(ctx context.Context, in *UpdateIntPointRequest, opts ...grpc.CallOption) (*UpdateIntPointResponse, error) ListA(ctx context.Context, in *ListIntPointRequest, opts ...grpc.CallOption) (*ListIntPointResponse, error) ListB(ctx context.Context, in *ListIntPointRequest, opts ...grpc.CallOption) (*ListIntPointResponse, error) DeleteA(ctx context.Context, in *DeleteIntPointRequest, opts ...grpc.CallOption) (*DeleteIntPointResponse, error) DeleteB(ctx context.Context, in *DeleteIntPointRequest, opts ...grpc.CallOption) (*DeleteIntPointResponse, error) DeleteSetA(ctx context.Context, in *DeleteIntPointsRequest, opts ...grpc.CallOption) (*DeleteIntPointResponse, error) DeleteSetB(ctx context.Context, in *DeleteIntPointsRequest, opts ...grpc.CallOption) (*DeleteIntPointResponse, error) }
func NewMultipleMethodsAutoGenClient ¶
func NewMultipleMethodsAutoGenClient(cc *grpc.ClientConn) MultipleMethodsAutoGenClient
type MultipleMethodsAutoGenDefaultServer ¶
func (*MultipleMethodsAutoGenDefaultServer) CreateA ¶
func (m *MultipleMethodsAutoGenDefaultServer) CreateA(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
CreateA ...
func (*MultipleMethodsAutoGenDefaultServer) CreateB ¶
func (m *MultipleMethodsAutoGenDefaultServer) CreateB(ctx context.Context, in *CreateIntPointRequest) (*CreateIntPointResponse, error)
CreateB ...
func (*MultipleMethodsAutoGenDefaultServer) DeleteA ¶
func (m *MultipleMethodsAutoGenDefaultServer) DeleteA(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
DeleteA ...
func (*MultipleMethodsAutoGenDefaultServer) DeleteB ¶
func (m *MultipleMethodsAutoGenDefaultServer) DeleteB(ctx context.Context, in *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
DeleteB ...
func (*MultipleMethodsAutoGenDefaultServer) DeleteSetA ¶
func (m *MultipleMethodsAutoGenDefaultServer) DeleteSetA(ctx context.Context, in *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
DeleteSetA ...
func (*MultipleMethodsAutoGenDefaultServer) DeleteSetB ¶
func (m *MultipleMethodsAutoGenDefaultServer) DeleteSetB(ctx context.Context, in *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
DeleteSetB ...
func (*MultipleMethodsAutoGenDefaultServer) ListA ¶
func (m *MultipleMethodsAutoGenDefaultServer) ListA(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
ListA ...
func (*MultipleMethodsAutoGenDefaultServer) ListB ¶
func (m *MultipleMethodsAutoGenDefaultServer) ListB(ctx context.Context, in *ListIntPointRequest) (*ListIntPointResponse, error)
ListB ...
func (*MultipleMethodsAutoGenDefaultServer) ReadA ¶
func (m *MultipleMethodsAutoGenDefaultServer) ReadA(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
ReadA ...
func (*MultipleMethodsAutoGenDefaultServer) ReadB ¶
func (m *MultipleMethodsAutoGenDefaultServer) ReadB(ctx context.Context, in *ReadIntPointRequest) (*ReadIntPointResponse, error)
ReadB ...
func (*MultipleMethodsAutoGenDefaultServer) UpdateA ¶
func (m *MultipleMethodsAutoGenDefaultServer) UpdateA(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
UpdateA ...
func (*MultipleMethodsAutoGenDefaultServer) UpdateB ¶
func (m *MultipleMethodsAutoGenDefaultServer) UpdateB(ctx context.Context, in *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
UpdateB ...
type MultipleMethodsAutoGenIntPointWithAfterCreateA ¶
type MultipleMethodsAutoGenIntPointWithAfterCreateA interface {
AfterCreateA(context.Context, *CreateIntPointResponse, *gorm1.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterCreateA called before DefaultCreateAIntPoint in the default CreateA handler
type MultipleMethodsAutoGenIntPointWithAfterCreateB ¶
type MultipleMethodsAutoGenIntPointWithAfterCreateB interface {
AfterCreateB(context.Context, *CreateIntPointResponse, *gorm1.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterCreateB called before DefaultCreateBIntPoint in the default CreateB handler
type MultipleMethodsAutoGenIntPointWithAfterDeleteA ¶
type MultipleMethodsAutoGenIntPointWithAfterDeleteA interface {
AfterDeleteA(context.Context, *DeleteIntPointResponse, *gorm1.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterDeleteA called before DefaultDeleteAIntPoint in the default DeleteA handler
type MultipleMethodsAutoGenIntPointWithAfterDeleteB ¶
type MultipleMethodsAutoGenIntPointWithAfterDeleteB interface {
AfterDeleteB(context.Context, *DeleteIntPointResponse, *gorm1.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterDeleteB called before DefaultDeleteBIntPoint in the default DeleteB handler
type MultipleMethodsAutoGenIntPointWithAfterDeleteSetA ¶
type MultipleMethodsAutoGenIntPointWithAfterDeleteSetA interface {
AfterDeleteSetA(context.Context, *DeleteIntPointResponse, *gorm1.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterDeleteSetA called before DefaultDeleteSetAIntPoint in the default DeleteSetA handler
type MultipleMethodsAutoGenIntPointWithAfterDeleteSetB ¶
type MultipleMethodsAutoGenIntPointWithAfterDeleteSetB interface {
AfterDeleteSetB(context.Context, *DeleteIntPointResponse, *gorm1.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterDeleteSetB called before DefaultDeleteSetBIntPoint in the default DeleteSetB handler
type MultipleMethodsAutoGenIntPointWithAfterListA ¶
type MultipleMethodsAutoGenIntPointWithAfterListA interface {
AfterListA(context.Context, *ListIntPointResponse, *gorm1.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterListA called before DefaultListAIntPoint in the default ListA handler
type MultipleMethodsAutoGenIntPointWithAfterListB ¶
type MultipleMethodsAutoGenIntPointWithAfterListB interface {
AfterListB(context.Context, *ListIntPointResponse, *gorm1.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterListB called before DefaultListBIntPoint in the default ListB handler
type MultipleMethodsAutoGenIntPointWithAfterReadA ¶
type MultipleMethodsAutoGenIntPointWithAfterReadA interface {
AfterReadA(context.Context, *ReadIntPointResponse, *gorm1.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterReadA called before DefaultReadAIntPoint in the default ReadA handler
type MultipleMethodsAutoGenIntPointWithAfterReadB ¶
type MultipleMethodsAutoGenIntPointWithAfterReadB interface {
AfterReadB(context.Context, *ReadIntPointResponse, *gorm1.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterReadB called before DefaultReadBIntPoint in the default ReadB handler
type MultipleMethodsAutoGenIntPointWithAfterUpdateA ¶
type MultipleMethodsAutoGenIntPointWithAfterUpdateA interface {
AfterUpdateA(context.Context, *UpdateIntPointResponse, *gorm1.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterUpdateA called before DefaultUpdateAIntPoint in the default UpdateA handler
type MultipleMethodsAutoGenIntPointWithAfterUpdateB ¶
type MultipleMethodsAutoGenIntPointWithAfterUpdateB interface {
AfterUpdateB(context.Context, *UpdateIntPointResponse, *gorm1.DB) error
}
MultipleMethodsAutoGenIntPointWithAfterUpdateB called before DefaultUpdateBIntPoint in the default UpdateB handler
type MultipleMethodsAutoGenIntPointWithBeforeCreateA ¶
type MultipleMethodsAutoGenIntPointWithBeforeCreateA interface {
BeforeCreateA(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeCreateA called before DefaultCreateAIntPoint in the default CreateA handler
type MultipleMethodsAutoGenIntPointWithBeforeCreateB ¶
type MultipleMethodsAutoGenIntPointWithBeforeCreateB interface {
BeforeCreateB(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeCreateB called before DefaultCreateBIntPoint in the default CreateB handler
type MultipleMethodsAutoGenIntPointWithBeforeDeleteA ¶
type MultipleMethodsAutoGenIntPointWithBeforeDeleteA interface {
BeforeDeleteA(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeDeleteA called before DefaultDeleteAIntPoint in the default DeleteA handler
type MultipleMethodsAutoGenIntPointWithBeforeDeleteB ¶
type MultipleMethodsAutoGenIntPointWithBeforeDeleteB interface {
BeforeDeleteB(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeDeleteB called before DefaultDeleteBIntPoint in the default DeleteB handler
type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetA ¶
type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetA interface {
BeforeDeleteSetA(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeDeleteSetA called before DefaultDeleteSetAIntPoint in the default DeleteSetA handler
type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetB ¶
type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetB interface {
BeforeDeleteSetB(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeDeleteSetB called before DefaultDeleteSetBIntPoint in the default DeleteSetB handler
type MultipleMethodsAutoGenIntPointWithBeforeListA ¶
type MultipleMethodsAutoGenIntPointWithBeforeListA interface {
BeforeListA(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeListA called before DefaultListAIntPoint in the default ListA handler
type MultipleMethodsAutoGenIntPointWithBeforeListB ¶
type MultipleMethodsAutoGenIntPointWithBeforeListB interface {
BeforeListB(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeListB called before DefaultListBIntPoint in the default ListB handler
type MultipleMethodsAutoGenIntPointWithBeforeReadA ¶
type MultipleMethodsAutoGenIntPointWithBeforeReadA interface {
BeforeReadA(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeReadA called before DefaultReadAIntPoint in the default ReadA handler
type MultipleMethodsAutoGenIntPointWithBeforeReadB ¶
type MultipleMethodsAutoGenIntPointWithBeforeReadB interface {
BeforeReadB(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeReadB called before DefaultReadBIntPoint in the default ReadB handler
type MultipleMethodsAutoGenIntPointWithBeforeUpdateA ¶
type MultipleMethodsAutoGenIntPointWithBeforeUpdateA interface {
BeforeUpdateA(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeUpdateA called before DefaultUpdateAIntPoint in the default UpdateA handler
type MultipleMethodsAutoGenIntPointWithBeforeUpdateB ¶
type MultipleMethodsAutoGenIntPointWithBeforeUpdateB interface {
BeforeUpdateB(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
MultipleMethodsAutoGenIntPointWithBeforeUpdateB called before DefaultUpdateBIntPoint in the default UpdateB handler
type MultipleMethodsAutoGenServer ¶
type MultipleMethodsAutoGenServer interface { CreateA(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error) CreateB(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error) ReadA(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error) ReadB(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error) UpdateA(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error) UpdateB(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error) ListA(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error) ListB(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error) DeleteA(context.Context, *DeleteIntPointRequest) (*DeleteIntPointResponse, error) DeleteB(context.Context, *DeleteIntPointRequest) (*DeleteIntPointResponse, error) DeleteSetA(context.Context, *DeleteIntPointsRequest) (*DeleteIntPointResponse, error) DeleteSetB(context.Context, *DeleteIntPointsRequest) (*DeleteIntPointResponse, error) }
type PrimaryIncluded ¶
type PrimaryIncluded struct {
Child *ExternalChild `protobuf:"bytes,1,opt,name=child" json:"child,omitempty"`
}
func DefaultApplyFieldMaskPrimaryIncluded ¶
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 ¶
func DefaultCreatePrimaryIncluded(ctx context.Context, in *PrimaryIncluded, db *gorm1.DB) (*PrimaryIncluded, error)
DefaultCreatePrimaryIncluded executes a basic gorm create call
func DefaultListPrimaryIncluded ¶
DefaultListPrimaryIncluded executes a gorm list call
func (*PrimaryIncluded) Descriptor ¶
func (*PrimaryIncluded) Descriptor() ([]byte, []int)
func (*PrimaryIncluded) GetChild ¶
func (m *PrimaryIncluded) GetChild() *ExternalChild
func (*PrimaryIncluded) ProtoMessage ¶
func (*PrimaryIncluded) ProtoMessage()
func (*PrimaryIncluded) Reset ¶
func (m *PrimaryIncluded) Reset()
func (*PrimaryIncluded) String ¶
func (m *PrimaryIncluded) String() string
func (*PrimaryIncluded) ToORM ¶
func (m *PrimaryIncluded) ToORM(ctx context.Context) (PrimaryIncludedORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type PrimaryIncludedORM ¶
type PrimaryIncludedORM struct { Child *ExternalChildORM `gorm:"foreignkey:PrimaryIncludedId;association_foreignkey:Id"` Id go_uuid1.UUID }
func (PrimaryIncludedORM) TableName ¶
func (PrimaryIncludedORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*PrimaryIncludedORM) ToPB ¶
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 PrimaryIncludedWithAfterToORM ¶
type PrimaryIncludedWithAfterToORM interface {
AfterToORM(context.Context, *PrimaryIncludedORM) error
}
PrimaryIncludedAfterToORM called after default ToORM code
type PrimaryIncludedWithAfterToPB ¶
type PrimaryIncludedWithAfterToPB interface {
AfterToPB(context.Context, *PrimaryIncluded) error
}
PrimaryIncludedAfterToPB called after default ToPB code
type PrimaryIncludedWithBeforeToORM ¶
type PrimaryIncludedWithBeforeToORM interface {
BeforeToORM(context.Context, *PrimaryIncludedORM) error
}
PrimaryIncludedBeforeToORM called before default ToORM code
type PrimaryIncludedWithBeforeToPB ¶
type PrimaryIncludedWithBeforeToPB interface {
BeforeToPB(context.Context, *PrimaryIncluded) error
}
PrimaryIncludedBeforeToPB called before default ToPB code
type PrimaryStringType ¶
type PrimaryStringType struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Child *ExternalChild `protobuf:"bytes,2,opt,name=child" json:"child,omitempty"` }
func DefaultApplyFieldMaskPrimaryStringType ¶
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 ¶
func DefaultCreatePrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm1.DB) (*PrimaryStringType, error)
DefaultCreatePrimaryStringType executes a basic gorm create call
func DefaultListPrimaryStringType ¶
DefaultListPrimaryStringType executes a gorm list call
func DefaultPatchPrimaryStringType ¶
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 DefaultPatchSetPrimaryStringType ¶
func DefaultPatchSetPrimaryStringType(ctx context.Context, objects []*PrimaryStringType, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*PrimaryStringType, error)
DefaultPatchSetPrimaryStringType executes a bulk gorm update call with patch behavior
func DefaultReadPrimaryStringType ¶
func DefaultReadPrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm1.DB) (*PrimaryStringType, error)
DefaultReadPrimaryStringType executes a basic gorm read call
func DefaultStrictUpdatePrimaryStringType ¶
func DefaultStrictUpdatePrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm1.DB) (*PrimaryStringType, error)
DefaultStrictUpdatePrimaryStringType clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*PrimaryStringType) Descriptor ¶
func (*PrimaryStringType) Descriptor() ([]byte, []int)
func (*PrimaryStringType) GetChild ¶
func (m *PrimaryStringType) GetChild() *ExternalChild
func (*PrimaryStringType) GetId ¶
func (m *PrimaryStringType) GetId() string
func (*PrimaryStringType) ProtoMessage ¶
func (*PrimaryStringType) ProtoMessage()
func (*PrimaryStringType) Reset ¶
func (m *PrimaryStringType) Reset()
func (*PrimaryStringType) String ¶
func (m *PrimaryStringType) String() string
func (*PrimaryStringType) ToORM ¶
func (m *PrimaryStringType) ToORM(ctx context.Context) (PrimaryStringTypeORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type PrimaryStringTypeORM ¶
type PrimaryStringTypeORM struct { Child *ExternalChildORM `gorm:"foreignkey:PrimaryStringTypeId;association_foreignkey:Id"` Id string }
func (PrimaryStringTypeORM) TableName ¶
func (PrimaryStringTypeORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*PrimaryStringTypeORM) ToPB ¶
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 PrimaryStringTypeWithAfterPatchSave ¶
type PrimaryStringTypeWithAfterPatchSave interface {
AfterPatchSave(context.Context, *PrimaryStringType, *field_mask1.FieldMask, *gorm1.DB) error
}
type PrimaryStringTypeWithAfterToORM ¶
type PrimaryStringTypeWithAfterToORM interface {
AfterToORM(context.Context, *PrimaryStringTypeORM) error
}
PrimaryStringTypeAfterToORM called after default ToORM code
type PrimaryStringTypeWithAfterToPB ¶
type PrimaryStringTypeWithAfterToPB interface {
AfterToPB(context.Context, *PrimaryStringType) error
}
PrimaryStringTypeAfterToPB called after default ToPB code
type PrimaryStringTypeWithBeforePatchApplyFieldMask ¶
type PrimaryStringTypeWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *PrimaryStringType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type PrimaryStringTypeWithBeforePatchRead ¶
type PrimaryStringTypeWithBeforePatchRead interface {
BeforePatchRead(context.Context, *PrimaryStringType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type PrimaryStringTypeWithBeforePatchSave ¶
type PrimaryStringTypeWithBeforePatchSave interface {
BeforePatchSave(context.Context, *PrimaryStringType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type PrimaryStringTypeWithBeforeToORM ¶
type PrimaryStringTypeWithBeforeToORM interface {
BeforeToORM(context.Context, *PrimaryStringTypeORM) error
}
PrimaryStringTypeBeforeToORM called before default ToORM code
type PrimaryStringTypeWithBeforeToPB ¶
type PrimaryStringTypeWithBeforeToPB interface {
BeforeToPB(context.Context, *PrimaryStringType) error
}
PrimaryStringTypeBeforeToPB called before default ToPB code
type PrimaryUUIDType ¶
type PrimaryUUIDType struct { Id *gorm_types.UUIDValue `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Child *ExternalChild `protobuf:"bytes,2,opt,name=child" json:"child,omitempty"` }
func DefaultApplyFieldMaskPrimaryUUIDType ¶
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 ¶
func DefaultCreatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm1.DB) (*PrimaryUUIDType, error)
DefaultCreatePrimaryUUIDType executes a basic gorm create call
func DefaultListPrimaryUUIDType ¶
DefaultListPrimaryUUIDType executes a gorm list call
func DefaultPatchPrimaryUUIDType ¶
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 DefaultPatchSetPrimaryUUIDType ¶
func DefaultPatchSetPrimaryUUIDType(ctx context.Context, objects []*PrimaryUUIDType, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*PrimaryUUIDType, error)
DefaultPatchSetPrimaryUUIDType executes a bulk gorm update call with patch behavior
func DefaultReadPrimaryUUIDType ¶
func DefaultReadPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm1.DB) (*PrimaryUUIDType, error)
DefaultReadPrimaryUUIDType executes a basic gorm read call
func DefaultStrictUpdatePrimaryUUIDType ¶
func DefaultStrictUpdatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm1.DB) (*PrimaryUUIDType, error)
DefaultStrictUpdatePrimaryUUIDType clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*PrimaryUUIDType) Descriptor ¶
func (*PrimaryUUIDType) Descriptor() ([]byte, []int)
func (*PrimaryUUIDType) GetChild ¶
func (m *PrimaryUUIDType) GetChild() *ExternalChild
func (*PrimaryUUIDType) GetId ¶
func (m *PrimaryUUIDType) GetId() *gorm_types.UUIDValue
func (*PrimaryUUIDType) ProtoMessage ¶
func (*PrimaryUUIDType) ProtoMessage()
func (*PrimaryUUIDType) Reset ¶
func (m *PrimaryUUIDType) Reset()
func (*PrimaryUUIDType) String ¶
func (m *PrimaryUUIDType) String() string
func (*PrimaryUUIDType) ToORM ¶
func (m *PrimaryUUIDType) ToORM(ctx context.Context) (PrimaryUUIDTypeORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type PrimaryUUIDTypeORM ¶
type PrimaryUUIDTypeORM struct { Child *ExternalChildORM `gorm:"foreignkey:PrimaryUUIDTypeId;association_foreignkey:Id"` Id *go_uuid1.UUID `gorm:"type:uuid"` }
func (PrimaryUUIDTypeORM) TableName ¶
func (PrimaryUUIDTypeORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*PrimaryUUIDTypeORM) ToPB ¶
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 PrimaryUUIDTypeWithAfterPatchSave ¶
type PrimaryUUIDTypeWithAfterPatchSave interface {
AfterPatchSave(context.Context, *PrimaryUUIDType, *field_mask1.FieldMask, *gorm1.DB) error
}
type PrimaryUUIDTypeWithAfterToORM ¶
type PrimaryUUIDTypeWithAfterToORM interface {
AfterToORM(context.Context, *PrimaryUUIDTypeORM) error
}
PrimaryUUIDTypeAfterToORM called after default ToORM code
type PrimaryUUIDTypeWithAfterToPB ¶
type PrimaryUUIDTypeWithAfterToPB interface {
AfterToPB(context.Context, *PrimaryUUIDType) error
}
PrimaryUUIDTypeAfterToPB called after default ToPB code
type PrimaryUUIDTypeWithBeforePatchApplyFieldMask ¶
type PrimaryUUIDTypeWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *PrimaryUUIDType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type PrimaryUUIDTypeWithBeforePatchRead ¶
type PrimaryUUIDTypeWithBeforePatchRead interface {
BeforePatchRead(context.Context, *PrimaryUUIDType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type PrimaryUUIDTypeWithBeforePatchSave ¶
type PrimaryUUIDTypeWithBeforePatchSave interface {
BeforePatchSave(context.Context, *PrimaryUUIDType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type PrimaryUUIDTypeWithBeforeToORM ¶
type PrimaryUUIDTypeWithBeforeToORM interface {
BeforeToORM(context.Context, *PrimaryUUIDTypeORM) error
}
PrimaryUUIDTypeBeforeToORM called before default ToORM code
type PrimaryUUIDTypeWithBeforeToPB ¶
type PrimaryUUIDTypeWithBeforeToPB interface {
BeforeToPB(context.Context, *PrimaryUUIDType) error
}
PrimaryUUIDTypeBeforeToPB called before default ToPB code
type ReadAccountRequest ¶
type ReadAccountRequest struct { // For a read request, the id field is the only to be specified Id uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Fields *infoblox_api.FieldSelection `protobuf:"bytes,2,opt,name=fields" json:"fields,omitempty"` }
func (*ReadAccountRequest) Descriptor ¶
func (*ReadAccountRequest) Descriptor() ([]byte, []int)
func (*ReadAccountRequest) GetFields ¶
func (m *ReadAccountRequest) GetFields() *infoblox_api.FieldSelection
func (*ReadAccountRequest) GetId ¶
func (m *ReadAccountRequest) GetId() uint64
func (*ReadAccountRequest) ProtoMessage ¶
func (*ReadAccountRequest) ProtoMessage()
func (*ReadAccountRequest) Reset ¶
func (m *ReadAccountRequest) Reset()
func (*ReadAccountRequest) String ¶
func (m *ReadAccountRequest) String() string
type ReadBlogPostsResponse ¶
type ReadBlogPostsResponse struct {
Posts []*BlogPost `protobuf:"bytes,1,rep,name=posts" json:"posts,omitempty"`
}
func (*ReadBlogPostsResponse) Descriptor ¶
func (*ReadBlogPostsResponse) Descriptor() ([]byte, []int)
func (*ReadBlogPostsResponse) GetPosts ¶
func (m *ReadBlogPostsResponse) GetPosts() []*BlogPost
func (*ReadBlogPostsResponse) ProtoMessage ¶
func (*ReadBlogPostsResponse) ProtoMessage()
func (*ReadBlogPostsResponse) Reset ¶
func (m *ReadBlogPostsResponse) Reset()
func (*ReadBlogPostsResponse) String ¶
func (m *ReadBlogPostsResponse) String() string
type ReadIntPointRequest ¶
type ReadIntPointRequest struct { // For a read request, the id field is the only to be specified Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Fields *infoblox_api.FieldSelection `protobuf:"bytes,2,opt,name=fields" json:"fields,omitempty"` }
func (*ReadIntPointRequest) Descriptor ¶
func (*ReadIntPointRequest) Descriptor() ([]byte, []int)
func (*ReadIntPointRequest) GetFields ¶
func (m *ReadIntPointRequest) GetFields() *infoblox_api.FieldSelection
func (*ReadIntPointRequest) GetId ¶
func (m *ReadIntPointRequest) GetId() uint32
func (*ReadIntPointRequest) ProtoMessage ¶
func (*ReadIntPointRequest) ProtoMessage()
func (*ReadIntPointRequest) Reset ¶
func (m *ReadIntPointRequest) Reset()
func (*ReadIntPointRequest) String ¶
func (m *ReadIntPointRequest) String() string
type ReadIntPointResponse ¶
type ReadIntPointResponse struct { // Again the type with 'result' name Result *IntPoint `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"` }
func (*ReadIntPointResponse) Descriptor ¶
func (*ReadIntPointResponse) Descriptor() ([]byte, []int)
func (*ReadIntPointResponse) GetResult ¶
func (m *ReadIntPointResponse) GetResult() *IntPoint
func (*ReadIntPointResponse) ProtoMessage ¶
func (*ReadIntPointResponse) ProtoMessage()
func (*ReadIntPointResponse) Reset ¶
func (m *ReadIntPointResponse) Reset()
func (*ReadIntPointResponse) String ¶
func (m *ReadIntPointResponse) String() string
type Something ¶
type Something struct {
Field string `protobuf:"bytes,1,opt,name=field" json:"field,omitempty"`
}
A dummy type to demo an rpc that can't be autogenerated
func DefaultApplyFieldMaskSomething ¶
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 ¶
DefaultCreateSomething executes a basic gorm create call
func DefaultListSomething ¶
DefaultListSomething executes a gorm list call
func (*Something) Descriptor ¶
func (*Something) ProtoMessage ¶
func (*Something) ProtoMessage()
type SomethingORM ¶
type SomethingORM struct {
Field string
}
func (SomethingORM) TableName ¶
func (SomethingORM) TableName() string
TableName overrides the default tablename generated by GORM
type SomethingWithAfterToORM ¶
type SomethingWithAfterToORM interface {
AfterToORM(context.Context, *SomethingORM) error
}
SomethingAfterToORM called after default ToORM code
type SomethingWithAfterToPB ¶
SomethingAfterToPB called after default ToPB code
type SomethingWithBeforeToORM ¶
type SomethingWithBeforeToORM interface {
BeforeToORM(context.Context, *SomethingORM) error
}
SomethingBeforeToORM called before default ToORM code
type SomethingWithBeforeToPB ¶
SomethingBeforeToPB called before default ToPB code
type TestAssocHandlerAppend ¶
type TestAssocHandlerAppend struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` TestTagAssoc []*TestTagAssociation `protobuf:"bytes,2,rep,name=testTagAssoc" json:"testTagAssoc,omitempty"` }
func DefaultApplyFieldMaskTestAssocHandlerAppend ¶
func DefaultApplyFieldMaskTestAssocHandlerAppend(ctx context.Context, patchee *TestAssocHandlerAppend, patcher *TestAssocHandlerAppend, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*TestAssocHandlerAppend, error)
DefaultApplyFieldMaskTestAssocHandlerAppend patches an pbObject with patcher according to a field mask.
func DefaultCreateTestAssocHandlerAppend ¶
func DefaultCreateTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm1.DB) (*TestAssocHandlerAppend, error)
DefaultCreateTestAssocHandlerAppend executes a basic gorm create call
func DefaultListTestAssocHandlerAppend ¶
func DefaultListTestAssocHandlerAppend(ctx context.Context, db *gorm1.DB) ([]*TestAssocHandlerAppend, error)
DefaultListTestAssocHandlerAppend executes a gorm list call
func DefaultPatchSetTestAssocHandlerAppend ¶
func DefaultPatchSetTestAssocHandlerAppend(ctx context.Context, objects []*TestAssocHandlerAppend, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*TestAssocHandlerAppend, error)
DefaultPatchSetTestAssocHandlerAppend executes a bulk gorm update call with patch behavior
func DefaultPatchTestAssocHandlerAppend ¶
func DefaultPatchTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*TestAssocHandlerAppend, error)
DefaultPatchTestAssocHandlerAppend executes a basic gorm update call with patch behavior
func DefaultReadTestAssocHandlerAppend ¶
func DefaultReadTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm1.DB) (*TestAssocHandlerAppend, error)
DefaultReadTestAssocHandlerAppend executes a basic gorm read call
func DefaultStrictUpdateTestAssocHandlerAppend ¶
func DefaultStrictUpdateTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm1.DB) (*TestAssocHandlerAppend, error)
DefaultStrictUpdateTestAssocHandlerAppend clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*TestAssocHandlerAppend) Descriptor ¶
func (*TestAssocHandlerAppend) Descriptor() ([]byte, []int)
func (*TestAssocHandlerAppend) GetId ¶
func (m *TestAssocHandlerAppend) GetId() string
func (*TestAssocHandlerAppend) GetTestTagAssoc ¶
func (m *TestAssocHandlerAppend) GetTestTagAssoc() []*TestTagAssociation
func (*TestAssocHandlerAppend) ProtoMessage ¶
func (*TestAssocHandlerAppend) ProtoMessage()
func (*TestAssocHandlerAppend) Reset ¶
func (m *TestAssocHandlerAppend) Reset()
func (*TestAssocHandlerAppend) String ¶
func (m *TestAssocHandlerAppend) String() string
func (*TestAssocHandlerAppend) ToORM ¶
func (m *TestAssocHandlerAppend) ToORM(ctx context.Context) (TestAssocHandlerAppendORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type TestAssocHandlerAppendORM ¶
type TestAssocHandlerAppendORM struct { Id string TestTagAssoc []*TestTagAssociationORM `gorm:"foreignkey:TestAssocHandlerAppendId;association_foreignkey:Id;preload:false;append:true"` }
func (TestAssocHandlerAppendORM) TableName ¶
func (TestAssocHandlerAppendORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*TestAssocHandlerAppendORM) ToPB ¶
func (m *TestAssocHandlerAppendORM) ToPB(ctx context.Context) (TestAssocHandlerAppend, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type TestAssocHandlerAppendWithAfterPatchSave ¶
type TestAssocHandlerAppendWithAfterPatchSave interface {
AfterPatchSave(context.Context, *TestAssocHandlerAppend, *field_mask1.FieldMask, *gorm1.DB) error
}
type TestAssocHandlerAppendWithAfterToORM ¶
type TestAssocHandlerAppendWithAfterToORM interface {
AfterToORM(context.Context, *TestAssocHandlerAppendORM) error
}
TestAssocHandlerAppendAfterToORM called after default ToORM code
type TestAssocHandlerAppendWithAfterToPB ¶
type TestAssocHandlerAppendWithAfterToPB interface {
AfterToPB(context.Context, *TestAssocHandlerAppend) error
}
TestAssocHandlerAppendAfterToPB called after default ToPB code
type TestAssocHandlerAppendWithBeforePatchApplyFieldMask ¶
type TestAssocHandlerAppendWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *TestAssocHandlerAppend, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TestAssocHandlerAppendWithBeforePatchRead ¶
type TestAssocHandlerAppendWithBeforePatchRead interface {
BeforePatchRead(context.Context, *TestAssocHandlerAppend, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TestAssocHandlerAppendWithBeforePatchSave ¶
type TestAssocHandlerAppendWithBeforePatchSave interface {
BeforePatchSave(context.Context, *TestAssocHandlerAppend, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TestAssocHandlerAppendWithBeforeToORM ¶
type TestAssocHandlerAppendWithBeforeToORM interface {
BeforeToORM(context.Context, *TestAssocHandlerAppendORM) error
}
TestAssocHandlerAppendBeforeToORM called before default ToORM code
type TestAssocHandlerAppendWithBeforeToPB ¶
type TestAssocHandlerAppendWithBeforeToPB interface {
BeforeToPB(context.Context, *TestAssocHandlerAppend) error
}
TestAssocHandlerAppendBeforeToPB called before default ToPB code
type TestAssocHandlerClear ¶
type TestAssocHandlerClear struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` TestTagAssoc []*TestTagAssociation `protobuf:"bytes,2,rep,name=testTagAssoc" json:"testTagAssoc,omitempty"` }
func DefaultApplyFieldMaskTestAssocHandlerClear ¶
func DefaultApplyFieldMaskTestAssocHandlerClear(ctx context.Context, patchee *TestAssocHandlerClear, patcher *TestAssocHandlerClear, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*TestAssocHandlerClear, error)
DefaultApplyFieldMaskTestAssocHandlerClear patches an pbObject with patcher according to a field mask.
func DefaultCreateTestAssocHandlerClear ¶
func DefaultCreateTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm1.DB) (*TestAssocHandlerClear, error)
DefaultCreateTestAssocHandlerClear executes a basic gorm create call
func DefaultListTestAssocHandlerClear ¶
func DefaultListTestAssocHandlerClear(ctx context.Context, db *gorm1.DB) ([]*TestAssocHandlerClear, error)
DefaultListTestAssocHandlerClear executes a gorm list call
func DefaultPatchSetTestAssocHandlerClear ¶
func DefaultPatchSetTestAssocHandlerClear(ctx context.Context, objects []*TestAssocHandlerClear, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*TestAssocHandlerClear, error)
DefaultPatchSetTestAssocHandlerClear executes a bulk gorm update call with patch behavior
func DefaultPatchTestAssocHandlerClear ¶
func DefaultPatchTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*TestAssocHandlerClear, error)
DefaultPatchTestAssocHandlerClear executes a basic gorm update call with patch behavior
func DefaultReadTestAssocHandlerClear ¶
func DefaultReadTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm1.DB) (*TestAssocHandlerClear, error)
DefaultReadTestAssocHandlerClear executes a basic gorm read call
func DefaultStrictUpdateTestAssocHandlerClear ¶
func DefaultStrictUpdateTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm1.DB) (*TestAssocHandlerClear, error)
DefaultStrictUpdateTestAssocHandlerClear clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*TestAssocHandlerClear) Descriptor ¶
func (*TestAssocHandlerClear) Descriptor() ([]byte, []int)
func (*TestAssocHandlerClear) GetId ¶
func (m *TestAssocHandlerClear) GetId() string
func (*TestAssocHandlerClear) GetTestTagAssoc ¶
func (m *TestAssocHandlerClear) GetTestTagAssoc() []*TestTagAssociation
func (*TestAssocHandlerClear) ProtoMessage ¶
func (*TestAssocHandlerClear) ProtoMessage()
func (*TestAssocHandlerClear) Reset ¶
func (m *TestAssocHandlerClear) Reset()
func (*TestAssocHandlerClear) String ¶
func (m *TestAssocHandlerClear) String() string
func (*TestAssocHandlerClear) ToORM ¶
func (m *TestAssocHandlerClear) ToORM(ctx context.Context) (TestAssocHandlerClearORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type TestAssocHandlerClearORM ¶
type TestAssocHandlerClearORM struct { Id string TestTagAssoc []*TestTagAssociationORM `gorm:"foreignkey:TestAssocHandlerClearId;association_foreignkey:Id;preload:false;clear:true"` }
func (TestAssocHandlerClearORM) TableName ¶
func (TestAssocHandlerClearORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*TestAssocHandlerClearORM) ToPB ¶
func (m *TestAssocHandlerClearORM) ToPB(ctx context.Context) (TestAssocHandlerClear, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type TestAssocHandlerClearWithAfterPatchSave ¶
type TestAssocHandlerClearWithAfterPatchSave interface {
AfterPatchSave(context.Context, *TestAssocHandlerClear, *field_mask1.FieldMask, *gorm1.DB) error
}
type TestAssocHandlerClearWithAfterToORM ¶
type TestAssocHandlerClearWithAfterToORM interface {
AfterToORM(context.Context, *TestAssocHandlerClearORM) error
}
TestAssocHandlerClearAfterToORM called after default ToORM code
type TestAssocHandlerClearWithAfterToPB ¶
type TestAssocHandlerClearWithAfterToPB interface {
AfterToPB(context.Context, *TestAssocHandlerClear) error
}
TestAssocHandlerClearAfterToPB called after default ToPB code
type TestAssocHandlerClearWithBeforePatchApplyFieldMask ¶
type TestAssocHandlerClearWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *TestAssocHandlerClear, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TestAssocHandlerClearWithBeforePatchRead ¶
type TestAssocHandlerClearWithBeforePatchRead interface {
BeforePatchRead(context.Context, *TestAssocHandlerClear, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TestAssocHandlerClearWithBeforePatchSave ¶
type TestAssocHandlerClearWithBeforePatchSave interface {
BeforePatchSave(context.Context, *TestAssocHandlerClear, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TestAssocHandlerClearWithBeforeToORM ¶
type TestAssocHandlerClearWithBeforeToORM interface {
BeforeToORM(context.Context, *TestAssocHandlerClearORM) error
}
TestAssocHandlerClearBeforeToORM called before default ToORM code
type TestAssocHandlerClearWithBeforeToPB ¶
type TestAssocHandlerClearWithBeforeToPB interface {
BeforeToPB(context.Context, *TestAssocHandlerClear) error
}
TestAssocHandlerClearBeforeToPB called before default ToPB code
type TestAssocHandlerDefault ¶
type TestAssocHandlerDefault struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` TestTagAssoc []*TestTagAssociation `protobuf:"bytes,2,rep,name=testTagAssoc" json:"testTagAssoc,omitempty"` }
replace by default
func DefaultApplyFieldMaskTestAssocHandlerDefault ¶
func DefaultApplyFieldMaskTestAssocHandlerDefault(ctx context.Context, patchee *TestAssocHandlerDefault, patcher *TestAssocHandlerDefault, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*TestAssocHandlerDefault, error)
DefaultApplyFieldMaskTestAssocHandlerDefault patches an pbObject with patcher according to a field mask.
func DefaultCreateTestAssocHandlerDefault ¶
func DefaultCreateTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm1.DB) (*TestAssocHandlerDefault, error)
DefaultCreateTestAssocHandlerDefault executes a basic gorm create call
func DefaultListTestAssocHandlerDefault ¶
func DefaultListTestAssocHandlerDefault(ctx context.Context, db *gorm1.DB) ([]*TestAssocHandlerDefault, error)
DefaultListTestAssocHandlerDefault executes a gorm list call
func DefaultPatchSetTestAssocHandlerDefault ¶
func DefaultPatchSetTestAssocHandlerDefault(ctx context.Context, objects []*TestAssocHandlerDefault, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*TestAssocHandlerDefault, error)
DefaultPatchSetTestAssocHandlerDefault executes a bulk gorm update call with patch behavior
func DefaultPatchTestAssocHandlerDefault ¶
func DefaultPatchTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*TestAssocHandlerDefault, error)
DefaultPatchTestAssocHandlerDefault executes a basic gorm update call with patch behavior
func DefaultReadTestAssocHandlerDefault ¶
func DefaultReadTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm1.DB) (*TestAssocHandlerDefault, error)
DefaultReadTestAssocHandlerDefault executes a basic gorm read call
func DefaultStrictUpdateTestAssocHandlerDefault ¶
func DefaultStrictUpdateTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm1.DB) (*TestAssocHandlerDefault, error)
DefaultStrictUpdateTestAssocHandlerDefault clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*TestAssocHandlerDefault) Descriptor ¶
func (*TestAssocHandlerDefault) Descriptor() ([]byte, []int)
func (*TestAssocHandlerDefault) GetId ¶
func (m *TestAssocHandlerDefault) GetId() string
func (*TestAssocHandlerDefault) GetTestTagAssoc ¶
func (m *TestAssocHandlerDefault) GetTestTagAssoc() []*TestTagAssociation
func (*TestAssocHandlerDefault) ProtoMessage ¶
func (*TestAssocHandlerDefault) ProtoMessage()
func (*TestAssocHandlerDefault) Reset ¶
func (m *TestAssocHandlerDefault) Reset()
func (*TestAssocHandlerDefault) String ¶
func (m *TestAssocHandlerDefault) String() string
func (*TestAssocHandlerDefault) ToORM ¶
func (m *TestAssocHandlerDefault) ToORM(ctx context.Context) (TestAssocHandlerDefaultORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type TestAssocHandlerDefaultORM ¶
type TestAssocHandlerDefaultORM struct { Id string TestTagAssoc []*TestTagAssociationORM `gorm:"foreignkey:TestAssocHandlerDefaultId;association_foreignkey:Id;preload:false"` }
func (TestAssocHandlerDefaultORM) TableName ¶
func (TestAssocHandlerDefaultORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*TestAssocHandlerDefaultORM) ToPB ¶
func (m *TestAssocHandlerDefaultORM) ToPB(ctx context.Context) (TestAssocHandlerDefault, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type TestAssocHandlerDefaultWithAfterPatchSave ¶
type TestAssocHandlerDefaultWithAfterPatchSave interface {
AfterPatchSave(context.Context, *TestAssocHandlerDefault, *field_mask1.FieldMask, *gorm1.DB) error
}
type TestAssocHandlerDefaultWithAfterToORM ¶
type TestAssocHandlerDefaultWithAfterToORM interface {
AfterToORM(context.Context, *TestAssocHandlerDefaultORM) error
}
TestAssocHandlerDefaultAfterToORM called after default ToORM code
type TestAssocHandlerDefaultWithAfterToPB ¶
type TestAssocHandlerDefaultWithAfterToPB interface {
AfterToPB(context.Context, *TestAssocHandlerDefault) error
}
TestAssocHandlerDefaultAfterToPB called after default ToPB code
type TestAssocHandlerDefaultWithBeforePatchApplyFieldMask ¶
type TestAssocHandlerDefaultWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *TestAssocHandlerDefault, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TestAssocHandlerDefaultWithBeforePatchRead ¶
type TestAssocHandlerDefaultWithBeforePatchRead interface {
BeforePatchRead(context.Context, *TestAssocHandlerDefault, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TestAssocHandlerDefaultWithBeforePatchSave ¶
type TestAssocHandlerDefaultWithBeforePatchSave interface {
BeforePatchSave(context.Context, *TestAssocHandlerDefault, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TestAssocHandlerDefaultWithBeforeToORM ¶
type TestAssocHandlerDefaultWithBeforeToORM interface {
BeforeToORM(context.Context, *TestAssocHandlerDefaultORM) error
}
TestAssocHandlerDefaultBeforeToORM called before default ToORM code
type TestAssocHandlerDefaultWithBeforeToPB ¶
type TestAssocHandlerDefaultWithBeforeToPB interface {
BeforeToPB(context.Context, *TestAssocHandlerDefault) error
}
TestAssocHandlerDefaultBeforeToPB called before default ToPB code
type TestAssocHandlerReplace ¶
type TestAssocHandlerReplace struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` TestTagAssoc []*TestTagAssociation `protobuf:"bytes,2,rep,name=testTagAssoc" json:"testTagAssoc,omitempty"` }
func DefaultApplyFieldMaskTestAssocHandlerReplace ¶
func DefaultApplyFieldMaskTestAssocHandlerReplace(ctx context.Context, patchee *TestAssocHandlerReplace, patcher *TestAssocHandlerReplace, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*TestAssocHandlerReplace, error)
DefaultApplyFieldMaskTestAssocHandlerReplace patches an pbObject with patcher according to a field mask.
func DefaultCreateTestAssocHandlerReplace ¶
func DefaultCreateTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm1.DB) (*TestAssocHandlerReplace, error)
DefaultCreateTestAssocHandlerReplace executes a basic gorm create call
func DefaultListTestAssocHandlerReplace ¶
func DefaultListTestAssocHandlerReplace(ctx context.Context, db *gorm1.DB) ([]*TestAssocHandlerReplace, error)
DefaultListTestAssocHandlerReplace executes a gorm list call
func DefaultPatchSetTestAssocHandlerReplace ¶
func DefaultPatchSetTestAssocHandlerReplace(ctx context.Context, objects []*TestAssocHandlerReplace, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*TestAssocHandlerReplace, error)
DefaultPatchSetTestAssocHandlerReplace executes a bulk gorm update call with patch behavior
func DefaultPatchTestAssocHandlerReplace ¶
func DefaultPatchTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*TestAssocHandlerReplace, error)
DefaultPatchTestAssocHandlerReplace executes a basic gorm update call with patch behavior
func DefaultReadTestAssocHandlerReplace ¶
func DefaultReadTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm1.DB) (*TestAssocHandlerReplace, error)
DefaultReadTestAssocHandlerReplace executes a basic gorm read call
func DefaultStrictUpdateTestAssocHandlerReplace ¶
func DefaultStrictUpdateTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm1.DB) (*TestAssocHandlerReplace, error)
DefaultStrictUpdateTestAssocHandlerReplace clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*TestAssocHandlerReplace) Descriptor ¶
func (*TestAssocHandlerReplace) Descriptor() ([]byte, []int)
func (*TestAssocHandlerReplace) GetId ¶
func (m *TestAssocHandlerReplace) GetId() string
func (*TestAssocHandlerReplace) GetTestTagAssoc ¶
func (m *TestAssocHandlerReplace) GetTestTagAssoc() []*TestTagAssociation
func (*TestAssocHandlerReplace) ProtoMessage ¶
func (*TestAssocHandlerReplace) ProtoMessage()
func (*TestAssocHandlerReplace) Reset ¶
func (m *TestAssocHandlerReplace) Reset()
func (*TestAssocHandlerReplace) String ¶
func (m *TestAssocHandlerReplace) String() string
func (*TestAssocHandlerReplace) ToORM ¶
func (m *TestAssocHandlerReplace) ToORM(ctx context.Context) (TestAssocHandlerReplaceORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type TestAssocHandlerReplaceORM ¶
type TestAssocHandlerReplaceORM struct { Id string TestTagAssoc []*TestTagAssociationORM `gorm:"foreignkey:TestAssocHandlerReplaceId;association_foreignkey:Id;preload:false;replace:true"` }
func (TestAssocHandlerReplaceORM) TableName ¶
func (TestAssocHandlerReplaceORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*TestAssocHandlerReplaceORM) ToPB ¶
func (m *TestAssocHandlerReplaceORM) ToPB(ctx context.Context) (TestAssocHandlerReplace, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type TestAssocHandlerReplaceWithAfterPatchSave ¶
type TestAssocHandlerReplaceWithAfterPatchSave interface {
AfterPatchSave(context.Context, *TestAssocHandlerReplace, *field_mask1.FieldMask, *gorm1.DB) error
}
type TestAssocHandlerReplaceWithAfterToORM ¶
type TestAssocHandlerReplaceWithAfterToORM interface {
AfterToORM(context.Context, *TestAssocHandlerReplaceORM) error
}
TestAssocHandlerReplaceAfterToORM called after default ToORM code
type TestAssocHandlerReplaceWithAfterToPB ¶
type TestAssocHandlerReplaceWithAfterToPB interface {
AfterToPB(context.Context, *TestAssocHandlerReplace) error
}
TestAssocHandlerReplaceAfterToPB called after default ToPB code
type TestAssocHandlerReplaceWithBeforePatchApplyFieldMask ¶
type TestAssocHandlerReplaceWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *TestAssocHandlerReplace, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TestAssocHandlerReplaceWithBeforePatchRead ¶
type TestAssocHandlerReplaceWithBeforePatchRead interface {
BeforePatchRead(context.Context, *TestAssocHandlerReplace, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TestAssocHandlerReplaceWithBeforePatchSave ¶
type TestAssocHandlerReplaceWithBeforePatchSave interface {
BeforePatchSave(context.Context, *TestAssocHandlerReplace, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TestAssocHandlerReplaceWithBeforeToORM ¶
type TestAssocHandlerReplaceWithBeforeToORM interface {
BeforeToORM(context.Context, *TestAssocHandlerReplaceORM) error
}
TestAssocHandlerReplaceBeforeToORM called before default ToORM code
type TestAssocHandlerReplaceWithBeforeToPB ¶
type TestAssocHandlerReplaceWithBeforeToPB interface {
BeforeToPB(context.Context, *TestAssocHandlerReplace) error
}
TestAssocHandlerReplaceBeforeToPB called before default ToPB code
type TestTag ¶
type TestTag struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` TestTagAssoc *TestTagAssociation `protobuf:"bytes,2,opt,name=testTagAssoc" json:"testTagAssoc,omitempty"` }
func DefaultApplyFieldMaskTestTag ¶
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 ¶
DefaultCreateTestTag executes a basic gorm create call
func DefaultListTestTag ¶
DefaultListTestTag executes a gorm list call
func DefaultPatchSetTestTag ¶
func DefaultPatchSetTestTag(ctx context.Context, objects []*TestTag, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*TestTag, error)
DefaultPatchSetTestTag executes a bulk gorm update call with patch behavior
func DefaultPatchTestTag ¶
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 ¶
DefaultReadTestTag executes a basic gorm read call
func DefaultStrictUpdateTestTag ¶
DefaultStrictUpdateTestTag clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*TestTag) Descriptor ¶
func (*TestTag) GetTestTagAssoc ¶
func (m *TestTag) GetTestTagAssoc() *TestTagAssociation
func (*TestTag) ProtoMessage ¶
func (*TestTag) ProtoMessage()
type TestTagAssociation ¶
type TestTagAssociation struct {
SomeField string `protobuf:"bytes,1,opt,name=some_field,json=someField" json:"some_field,omitempty"`
}
func DefaultApplyFieldMaskTestTagAssociation ¶
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 ¶
func DefaultCreateTestTagAssociation(ctx context.Context, in *TestTagAssociation, db *gorm1.DB) (*TestTagAssociation, error)
DefaultCreateTestTagAssociation executes a basic gorm create call
func DefaultListTestTagAssociation ¶
func DefaultListTestTagAssociation(ctx context.Context, db *gorm1.DB) ([]*TestTagAssociation, error)
DefaultListTestTagAssociation executes a gorm list call
func (*TestTagAssociation) Descriptor ¶
func (*TestTagAssociation) Descriptor() ([]byte, []int)
func (*TestTagAssociation) GetSomeField ¶
func (m *TestTagAssociation) GetSomeField() string
func (*TestTagAssociation) ProtoMessage ¶
func (*TestTagAssociation) ProtoMessage()
func (*TestTagAssociation) Reset ¶
func (m *TestTagAssociation) Reset()
func (*TestTagAssociation) String ¶
func (m *TestTagAssociation) String() string
func (*TestTagAssociation) ToORM ¶
func (m *TestTagAssociation) ToORM(ctx context.Context) (TestTagAssociationORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type TestTagAssociationORM ¶
type TestTagAssociationORM struct { SomeField string TestAssocHandlerAppendId *string TestAssocHandlerClearId *string TestAssocHandlerDefaultId *string TestAssocHandlerReplaceId *string TestTagId *string }
func (TestTagAssociationORM) TableName ¶
func (TestTagAssociationORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*TestTagAssociationORM) ToPB ¶
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 TestTagAssociationWithAfterToORM ¶
type TestTagAssociationWithAfterToORM interface {
AfterToORM(context.Context, *TestTagAssociationORM) error
}
TestTagAssociationAfterToORM called after default ToORM code
type TestTagAssociationWithAfterToPB ¶
type TestTagAssociationWithAfterToPB interface {
AfterToPB(context.Context, *TestTagAssociation) error
}
TestTagAssociationAfterToPB called after default ToPB code
type TestTagAssociationWithBeforeToORM ¶
type TestTagAssociationWithBeforeToORM interface {
BeforeToORM(context.Context, *TestTagAssociationORM) error
}
TestTagAssociationBeforeToORM called before default ToORM code
type TestTagAssociationWithBeforeToPB ¶
type TestTagAssociationWithBeforeToPB interface {
BeforeToPB(context.Context, *TestTagAssociation) error
}
TestTagAssociationBeforeToPB called before default ToPB code
type TestTagORM ¶
type TestTagORM struct { Id string TestTagAssoc *TestTagAssociationORM `gorm:"foreignkey:TestTagId;association_foreignkey:Id;preload:false"` }
func (TestTagORM) TableName ¶
func (TestTagORM) TableName() string
TableName overrides the default tablename generated by GORM
type TestTagWithAfterToORM ¶
type TestTagWithAfterToORM interface {
AfterToORM(context.Context, *TestTagORM) error
}
TestTagAfterToORM called after default ToORM code
type TestTagWithAfterToPB ¶
TestTagAfterToPB called after default ToPB code
type TestTagWithBeforeToORM ¶
type TestTagWithBeforeToORM interface {
BeforeToORM(context.Context, *TestTagORM) error
}
TestTagBeforeToORM called before default ToORM code
type TestTagWithBeforeToPB ¶
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" 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" json:"numbers,omitempty"` // a StringValue represents a Nullable string OptionalString *google_protobuf1.StringValue `protobuf:"bytes,3,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"` BecomesInt TestTypesStatus `protobuf:"varint,4,opt,name=becomes_int,json=becomesInt,enum=example.TestTypesStatus" json:"becomes_int,omitempty"` // The Empty type serves no purpose outside of rpc calls and is dropped // automatically from objects Nothingness *google_protobuf2.Empty `protobuf:"bytes,5,opt,name=nothingness" 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 *gorm_types.UUID `protobuf:"bytes,6,opt,name=uuid" json:"uuid,omitempty"` // Timestamps convert to golang's time.Time type, and created_at and // updated_at values are automatically filled by GORM CreatedAt *google_protobuf3.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt" 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" 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 *gorm_types.JSONValue `protobuf:"bytes,9,opt,name=json_field,json=jsonField" 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 *gorm_types.UUIDValue `protobuf:"bytes,10,opt,name=nullable_uuid,json=nullableUuid" 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 *gorm_types.TimeOnly `protobuf:"bytes,11,opt,name=time_only,json=timeOnly" json:"time_only,omitempty"` }
test_types is a message that includes a representative sample of the available types
func DefaultApplyFieldMaskTestTypes ¶
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 (m *TestTypes) GetCreatedAt() *google_protobuf3.Timestamp
func (*TestTypes) GetJsonField ¶
func (m *TestTypes) GetJsonField() *gorm_types.JSONValue
func (*TestTypes) GetNothingness ¶
func (m *TestTypes) GetNothingness() *google_protobuf2.Empty
func (*TestTypes) GetNullableUuid ¶
func (m *TestTypes) GetNullableUuid() *gorm_types.UUIDValue
func (*TestTypes) GetNumbers ¶
func (*TestTypes) GetOptionalString ¶
func (m *TestTypes) GetOptionalString() *google_protobuf1.StringValue
func (*TestTypes) GetTimeOnly ¶
func (m *TestTypes) GetTimeOnly() *gorm_types.TimeOnly
func (*TestTypes) GetTypeWithIdId ¶
func (*TestTypes) GetUuid ¶
func (m *TestTypes) GetUuid() *gorm_types.UUID
func (*TestTypes) ProtoMessage ¶
func (*TestTypes) ProtoMessage()
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 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 ¶
type TestTypesWithAfterToORM interface {
AfterToORM(context.Context, *TestTypesORM) error
}
TestTypesAfterToORM called after default ToORM code
type TestTypesWithAfterToPB ¶
TestTypesAfterToPB called after default ToPB code
type TestTypesWithBeforeToORM ¶
type TestTypesWithBeforeToORM interface {
BeforeToORM(context.Context, *TestTypesORM) error
}
TestTypesBeforeToORM called before default ToORM code
type TestTypesWithBeforeToPB ¶
TestTypesBeforeToPB called before default ToPB code
type TypeWithID ¶
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" 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" 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" json:"things,omitempty"` // A default has-one relationship, will error as above ANestedObject *TestTypes `protobuf:"bytes,4,opt,name=a_nested_object,json=aNestedObject" 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" json:"point,omitempty"` User *user.User `protobuf:"bytes,6,opt,name=user" json:"user,omitempty"` Address *gorm_types.InetValue `protobuf:"bytes,7,opt,name=address" json:"address,omitempty"` MultiaccountTypeIds []uint32 `protobuf:"varint,8,rep,packed,name=multiaccount_type_ids,json=multiaccountTypeIds" json:"multiaccount_type_ids,omitempty"` SyntheticField *APIOnlyType `protobuf:"bytes,9,opt,name=synthetic_field,json=syntheticField" json:"synthetic_field,omitempty"` TagTest float32 `protobuf:"fixed32,10,opt,name=tag_test,json=tagTest" json:"tag_test,omitempty"` TagSizeTest string `protobuf:"bytes,11,opt,name=tag_size_test,json=tagSizeTest" json:"tag_size_test,omitempty"` FloatField *google_protobuf1.FloatValue `protobuf:"bytes,12,opt,name=float_field,json=floatField" json:"float_field,omitempty"` DoubleField *google_protobuf1.DoubleValue `protobuf:"bytes,13,opt,name=double_field,json=doubleField" json:"double_field,omitempty"` // Limited support for DB type 'time', implemented via strings (string -> DB && DB -> string) TimeOnly *gorm_types.TimeOnly `protobuf:"bytes,14,opt,name=time_only,json=timeOnly" json:"time_only,omitempty"` DeletedAt *google_protobuf3.Timestamp `protobuf:"bytes,15,opt,name=deleted_at,json=deletedAt" json:"deleted_at,omitempty"` }
TypeWithID demonstrates some basic assocation behavior
func DefaultApplyFieldMaskTypeWithID ¶
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 ¶
DefaultListTypeWithID executes a gorm list call
func DefaultPatchSetTypeWithID ¶
func DefaultPatchSetTypeWithID(ctx context.Context, objects []*TypeWithID, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*TypeWithID, error)
DefaultPatchSetTypeWithID executes a bulk gorm update call with patch behavior
func DefaultPatchTypeWithID ¶
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 / replaces / appends first level 1:many children and then executes a gorm update call
func (*TypeWithID) AfterToORM ¶
func (pb *TypeWithID) AfterToORM(ctx context.Context, orm *TypeWithIDORM) error
func (*TypeWithID) Descriptor ¶
func (*TypeWithID) Descriptor() ([]byte, []int)
func (*TypeWithID) GetANestedObject ¶
func (m *TypeWithID) GetANestedObject() *TestTypes
func (*TypeWithID) GetAddress ¶
func (m *TypeWithID) GetAddress() *gorm_types.InetValue
func (*TypeWithID) GetDeletedAt ¶
func (m *TypeWithID) GetDeletedAt() *google_protobuf3.Timestamp
func (*TypeWithID) GetDoubleField ¶
func (m *TypeWithID) GetDoubleField() *google_protobuf1.DoubleValue
func (*TypeWithID) GetFloatField ¶
func (m *TypeWithID) GetFloatField() *google_protobuf1.FloatValue
func (*TypeWithID) GetId ¶
func (m *TypeWithID) GetId() uint32
func (*TypeWithID) GetIp ¶
func (m *TypeWithID) GetIp() string
func (*TypeWithID) GetMultiaccountTypeIds ¶
func (m *TypeWithID) GetMultiaccountTypeIds() []uint32
func (*TypeWithID) GetPoint ¶
func (m *TypeWithID) GetPoint() *IntPoint
func (*TypeWithID) GetSyntheticField ¶
func (m *TypeWithID) GetSyntheticField() *APIOnlyType
func (*TypeWithID) GetTagSizeTest ¶
func (m *TypeWithID) GetTagSizeTest() string
func (*TypeWithID) GetTagTest ¶
func (m *TypeWithID) GetTagTest() float32
func (*TypeWithID) GetThings ¶
func (m *TypeWithID) GetThings() []*TestTypes
func (*TypeWithID) GetTimeOnly ¶
func (m *TypeWithID) GetTimeOnly() *gorm_types.TimeOnly
func (*TypeWithID) GetUser ¶
func (m *TypeWithID) GetUser() *user.User
func (*TypeWithID) ProtoMessage ¶
func (*TypeWithID) ProtoMessage()
func (*TypeWithID) Reset ¶
func (m *TypeWithID) Reset()
func (*TypeWithID) String ¶
func (m *TypeWithID) String() string
func (*TypeWithID) ToORM ¶
func (m *TypeWithID) ToORM(ctx context.Context) (TypeWithIDORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type TypeWithIDORM ¶
type TypeWithIDORM struct { ANestedObject *TestTypesORM `gorm:"foreignkey:ANestedObjectTypeWithIDId;association_foreignkey:Id"` Address *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) AfterToPB ¶
func (orm *TypeWithIDORM) AfterToPB(ctx context.Context, pb *TypeWithID) error
func (TypeWithIDORM) TableName ¶
func (TypeWithIDORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*TypeWithIDORM) ToPB ¶
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 TypeWithIDWithAfterPatchSave ¶
type TypeWithIDWithAfterPatchSave interface {
AfterPatchSave(context.Context, *TypeWithID, *field_mask1.FieldMask, *gorm1.DB) error
}
type TypeWithIDWithAfterToORM ¶
type TypeWithIDWithAfterToORM interface {
AfterToORM(context.Context, *TypeWithIDORM) error
}
TypeWithIDAfterToORM called after default ToORM code
type TypeWithIDWithAfterToPB ¶
type TypeWithIDWithAfterToPB interface {
AfterToPB(context.Context, *TypeWithID) error
}
TypeWithIDAfterToPB called after default ToPB code
type TypeWithIDWithBeforePatchApplyFieldMask ¶
type TypeWithIDWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *TypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TypeWithIDWithBeforePatchRead ¶
type TypeWithIDWithBeforePatchRead interface {
BeforePatchRead(context.Context, *TypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TypeWithIDWithBeforePatchSave ¶
type TypeWithIDWithBeforePatchSave interface {
BeforePatchSave(context.Context, *TypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TypeWithIDWithBeforeToORM ¶
type TypeWithIDWithBeforeToORM interface {
BeforeToORM(context.Context, *TypeWithIDORM) error
}
TypeWithIDBeforeToORM called before default ToORM code
type TypeWithIDWithBeforeToPB ¶
type TypeWithIDWithBeforeToPB interface {
BeforeToPB(context.Context, *TypeWithID) error
}
TypeWithIDBeforeToPB called before default ToPB code
type UpdateIntPointRequest ¶
type UpdateIntPointRequest struct { Payload *IntPoint `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"` GerogeriGegege *google_protobuf4.FieldMask `protobuf:"bytes,2,opt,name=gerogeri_gegege,json=gerogeriGegege" json:"gerogeri_gegege,omitempty"` }
func (*UpdateIntPointRequest) Descriptor ¶
func (*UpdateIntPointRequest) Descriptor() ([]byte, []int)
func (*UpdateIntPointRequest) GetGerogeriGegege ¶
func (m *UpdateIntPointRequest) GetGerogeriGegege() *google_protobuf4.FieldMask
func (*UpdateIntPointRequest) GetPayload ¶
func (m *UpdateIntPointRequest) GetPayload() *IntPoint
func (*UpdateIntPointRequest) ProtoMessage ¶
func (*UpdateIntPointRequest) ProtoMessage()
func (*UpdateIntPointRequest) Reset ¶
func (m *UpdateIntPointRequest) Reset()
func (*UpdateIntPointRequest) String ¶
func (m *UpdateIntPointRequest) String() string
type UpdateIntPointResponse ¶
type UpdateIntPointResponse struct {
Result *IntPoint `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (*UpdateIntPointResponse) Descriptor ¶
func (*UpdateIntPointResponse) Descriptor() ([]byte, []int)
func (*UpdateIntPointResponse) GetResult ¶
func (m *UpdateIntPointResponse) GetResult() *IntPoint
func (*UpdateIntPointResponse) ProtoMessage ¶
func (*UpdateIntPointResponse) ProtoMessage()
func (*UpdateIntPointResponse) Reset ¶
func (m *UpdateIntPointResponse) Reset()
func (*UpdateIntPointResponse) String ¶
func (m *UpdateIntPointResponse) String() string
type UpdateSetIntPointRequest ¶
type UpdateSetIntPointRequest struct { Objects []*IntPoint `protobuf:"bytes,1,rep,name=objects" json:"objects,omitempty"` Masks []*google_protobuf4.FieldMask `protobuf:"bytes,2,rep,name=masks" json:"masks,omitempty"` }
func (*UpdateSetIntPointRequest) Descriptor ¶
func (*UpdateSetIntPointRequest) Descriptor() ([]byte, []int)
func (*UpdateSetIntPointRequest) GetMasks ¶
func (m *UpdateSetIntPointRequest) GetMasks() []*google_protobuf4.FieldMask
func (*UpdateSetIntPointRequest) GetObjects ¶
func (m *UpdateSetIntPointRequest) GetObjects() []*IntPoint
func (*UpdateSetIntPointRequest) ProtoMessage ¶
func (*UpdateSetIntPointRequest) ProtoMessage()
func (*UpdateSetIntPointRequest) Reset ¶
func (m *UpdateSetIntPointRequest) Reset()
func (*UpdateSetIntPointRequest) String ¶
func (m *UpdateSetIntPointRequest) String() string
type UpdateSetIntPointResponse ¶
type UpdateSetIntPointResponse struct {
Results []*IntPoint `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}
func (*UpdateSetIntPointResponse) Descriptor ¶
func (*UpdateSetIntPointResponse) Descriptor() ([]byte, []int)
func (*UpdateSetIntPointResponse) GetResults ¶
func (m *UpdateSetIntPointResponse) GetResults() []*IntPoint
func (*UpdateSetIntPointResponse) ProtoMessage ¶
func (*UpdateSetIntPointResponse) ProtoMessage()
func (*UpdateSetIntPointResponse) Reset ¶
func (m *UpdateSetIntPointResponse) Reset()
func (*UpdateSetIntPointResponse) String ¶
func (m *UpdateSetIntPointResponse) String() string