example

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
var TestTypesStatus_name = map[int32]string{
	0: "UNKNOWN",
	1: "GOOD",
	2: "BAD",
}
View Source
var TestTypesStatus_value = map[string]int32{
	"UNKNOWN": 0,
	"GOOD":    1,
	"BAD":     2,
}

Functions

func DefaultDeleteBlogPost added in v0.14.1

func DefaultDeleteBlogPost(ctx context.Context, in *BlogPost, db *gorm1.DB) error

func DefaultDeleteBlogPostSet added in v0.15.0

func DefaultDeleteBlogPostSet(ctx context.Context, in []*BlogPost, db *gorm1.DB) error

func DefaultDeleteExternalChild added in v0.9.0

func DefaultDeleteExternalChild(ctx context.Context, in *ExternalChild, db *gorm1.DB) error

func DefaultDeleteExternalChildSet added in v0.15.0

func DefaultDeleteExternalChildSet(ctx context.Context, in []*ExternalChild, db *gorm1.DB) error

func DefaultDeleteIntPoint

func DefaultDeleteIntPoint(ctx context.Context, in *IntPoint, db *gorm1.DB) error

func DefaultDeleteIntPointSet added in v0.15.0

func DefaultDeleteIntPointSet(ctx context.Context, in []*IntPoint, db *gorm1.DB) error

func DefaultDeleteMultiaccountTypeWithID added in v0.2.0

func DefaultDeleteMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm1.DB) error

func DefaultDeleteMultiaccountTypeWithIDSet added in v0.15.0

func DefaultDeleteMultiaccountTypeWithIDSet(ctx context.Context, in []*MultiaccountTypeWithID, db *gorm1.DB) error

func DefaultDeletePrimaryStringType added in v0.9.0

func DefaultDeletePrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm1.DB) error

func DefaultDeletePrimaryStringTypeSet added in v0.15.0

func DefaultDeletePrimaryStringTypeSet(ctx context.Context, in []*PrimaryStringType, db *gorm1.DB) error

func DefaultDeletePrimaryUUIDType added in v0.9.0

func DefaultDeletePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm1.DB) error

func DefaultDeletePrimaryUUIDTypeSet added in v0.15.0

func DefaultDeletePrimaryUUIDTypeSet(ctx context.Context, in []*PrimaryUUIDType, db *gorm1.DB) error

func DefaultDeleteTestAssocHandlerAppend added in v0.20.1

func DefaultDeleteTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm1.DB) error

func DefaultDeleteTestAssocHandlerAppendSet added in v0.20.1

func DefaultDeleteTestAssocHandlerAppendSet(ctx context.Context, in []*TestAssocHandlerAppend, db *gorm1.DB) error

func DefaultDeleteTestAssocHandlerClear added in v0.20.1

func DefaultDeleteTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm1.DB) error

func DefaultDeleteTestAssocHandlerClearSet added in v0.20.1

func DefaultDeleteTestAssocHandlerClearSet(ctx context.Context, in []*TestAssocHandlerClear, db *gorm1.DB) error

func DefaultDeleteTestAssocHandlerDefault added in v0.20.1

func DefaultDeleteTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm1.DB) error

func DefaultDeleteTestAssocHandlerDefaultSet added in v0.20.1

func DefaultDeleteTestAssocHandlerDefaultSet(ctx context.Context, in []*TestAssocHandlerDefault, db *gorm1.DB) error

func DefaultDeleteTestAssocHandlerReplace added in v0.20.1

func DefaultDeleteTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm1.DB) error

func DefaultDeleteTestAssocHandlerReplaceSet added in v0.20.1

func DefaultDeleteTestAssocHandlerReplaceSet(ctx context.Context, in []*TestAssocHandlerReplace, db *gorm1.DB) error

func DefaultDeleteTestTag added in v0.13.0

func DefaultDeleteTestTag(ctx context.Context, in *TestTag, db *gorm1.DB) error

func DefaultDeleteTestTagSet added in v0.15.0

func DefaultDeleteTestTagSet(ctx context.Context, in []*TestTag, db *gorm1.DB) error

func DefaultDeleteTypeWithID

func DefaultDeleteTypeWithID(ctx context.Context, in *TypeWithID, db *gorm1.DB) error

func DefaultDeleteTypeWithIDSet added in v0.15.0

func DefaultDeleteTypeWithIDSet(ctx context.Context, in []*TypeWithID, db *gorm1.DB) error

func RegisterBlogPostServiceServer added in v0.14.0

func RegisterBlogPostServiceServer(s *grpc.Server, srv BlogPostServiceServer)

func RegisterCircleServiceServer added in v0.14.0

func RegisterCircleServiceServer(s *grpc.Server, srv CircleServiceServer)

func RegisterIntPointServiceServer added in v0.6.0

func RegisterIntPointServiceServer(s *grpc.Server, srv IntPointServiceServer)

func RegisterIntPointTxnServer added in v0.6.0

func RegisterIntPointTxnServer(s *grpc.Server, srv IntPointTxnServer)

func RegisterMultipleMethodsAutoGenServer added in v0.20.1

func RegisterMultipleMethodsAutoGenServer(s *grpc.Server, srv MultipleMethodsAutoGenServer)

Types

type APIOnlyType added in v0.2.0

type APIOnlyType struct {
	// here the ormable flag is not used, so nothing will be generated for this
	// object at the ORM level, and when this type is used as a field or
	// repeated field in another message that field will be dropped in the Orm
	// model, and would have to be set by hook
	Contents string `protobuf:"bytes,1,opt,name=contents" json:"contents,omitempty"`
}

func (*APIOnlyType) Descriptor added in v0.2.0

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

func (*APIOnlyType) GetContents added in v0.2.0

func (m *APIOnlyType) GetContents() string

func (*APIOnlyType) ProtoMessage added in v0.2.0

func (*APIOnlyType) ProtoMessage()

func (*APIOnlyType) Reset added in v0.2.0

func (m *APIOnlyType) Reset()

func (*APIOnlyType) String added in v0.2.0

func (m *APIOnlyType) String() string

type BlogPost added in v0.14.1

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 added in v0.14.1

func DefaultApplyFieldMaskBlogPost(ctx context.Context, patchee *BlogPost, patcher *BlogPost, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*BlogPost, error)

DefaultApplyFieldMaskBlogPost patches an pbObject with patcher according to a field mask.

func DefaultCreateBlogPost added in v0.14.1

func DefaultCreateBlogPost(ctx context.Context, in *BlogPost, db *gorm1.DB) (*BlogPost, error)

DefaultCreateBlogPost executes a basic gorm create call

func DefaultListBlogPost added in v0.14.1

func DefaultListBlogPost(ctx context.Context, db *gorm1.DB) ([]*BlogPost, error)

DefaultListBlogPost executes a gorm list call

func DefaultPatchBlogPost added in v0.14.1

func DefaultPatchBlogPost(ctx context.Context, in *BlogPost, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*BlogPost, error)

DefaultPatchBlogPost executes a basic gorm update call with patch behavior

func DefaultPatchSetBlogPost added in v0.18.0

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 added in v0.14.1

func DefaultReadBlogPost(ctx context.Context, in *BlogPost, db *gorm1.DB) (*BlogPost, error)

DefaultReadBlogPost executes a basic gorm read call

func DefaultStrictUpdateBlogPost added in v0.14.1

func DefaultStrictUpdateBlogPost(ctx context.Context, in *BlogPost, db *gorm1.DB) (*BlogPost, error)

DefaultStrictUpdateBlogPost clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*BlogPost) Descriptor added in v0.14.1

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

func (*BlogPost) GetAuthor added in v0.14.1

func (m *BlogPost) GetAuthor() string

func (*BlogPost) GetId added in v0.14.1

func (m *BlogPost) GetId() uint64

func (*BlogPost) GetTitle added in v0.14.1

func (m *BlogPost) GetTitle() string

func (*BlogPost) ProtoMessage added in v0.14.1

func (*BlogPost) ProtoMessage()

func (*BlogPost) Reset added in v0.14.1

func (m *BlogPost) Reset()

func (*BlogPost) String added in v0.14.1

func (m *BlogPost) String() string

func (*BlogPost) ToORM added in v0.14.1

func (m *BlogPost) ToORM(ctx context.Context) (BlogPostORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type BlogPostORM added in v0.14.1

type BlogPostORM struct {
	Author string
	Id     uint64
	Title  string
}

func (BlogPostORM) TableName added in v0.14.1

func (BlogPostORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*BlogPostORM) ToPB added in v0.14.1

func (m *BlogPostORM) ToPB(ctx context.Context) (BlogPost, 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 BlogPostORMWithAfterCreate_ added in v0.15.1

type BlogPostORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type BlogPostORMWithAfterDeleteSet added in v0.15.0

type BlogPostORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*BlogPost, *gorm1.DB) error
}

type BlogPostORMWithAfterDelete_ added in v0.15.1

type BlogPostORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type BlogPostORMWithAfterListFind added in v0.14.1

type BlogPostORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]BlogPostORM) error
}

type BlogPostORMWithAfterReadFind added in v0.14.1

type BlogPostORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type BlogPostORMWithAfterStrictUpdateSave added in v0.14.1

type BlogPostORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type BlogPostORMWithBeforeCreate_ added in v0.15.1

type BlogPostORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type BlogPostORMWithBeforeDeleteSet added in v0.15.0

type BlogPostORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*BlogPost, *gorm1.DB) (*gorm1.DB, error)
}

type BlogPostORMWithBeforeDelete_ added in v0.15.1

type BlogPostORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type BlogPostORMWithBeforeListApplyQuery added in v0.14.1

type BlogPostORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type BlogPostORMWithBeforeListFind added in v0.14.1

type BlogPostORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type BlogPostORMWithBeforeReadApplyQuery added in v0.14.1

type BlogPostORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type BlogPostORMWithBeforeReadFind added in v0.14.1

type BlogPostORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type BlogPostORMWithBeforeStrictUpdateCleanup added in v0.14.1

type BlogPostORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type BlogPostORMWithBeforeStrictUpdateSave added in v0.14.1

type BlogPostORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type BlogPostServiceClient added in v0.14.0

type BlogPostServiceClient interface {
	Read(ctx context.Context, in *ReadAccountRequest, opts ...grpc.CallOption) (*ReadBlogPostsResponse, error)
}

func NewBlogPostServiceClient added in v0.14.0

func NewBlogPostServiceClient(cc *grpc.ClientConn) BlogPostServiceClient

type BlogPostServiceDefaultServer added in v0.14.0

type BlogPostServiceDefaultServer struct {
	DB *gorm1.DB
}

func (*BlogPostServiceDefaultServer) Read added in v0.14.0

Read ...

type BlogPostServiceServer added in v0.14.0

type BlogPostServiceServer interface {
	Read(context.Context, *ReadAccountRequest) (*ReadBlogPostsResponse, error)
}

type BlogPostWithAfterPatchSave added in v0.14.1

type BlogPostWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *BlogPost, *field_mask1.FieldMask, *gorm1.DB) error
}

type BlogPostWithAfterToORM added in v0.14.1

type BlogPostWithAfterToORM interface {
	AfterToORM(context.Context, *BlogPostORM) error
}

BlogPostAfterToORM called after default ToORM code

type BlogPostWithAfterToPB added in v0.14.1

type BlogPostWithAfterToPB interface {
	AfterToPB(context.Context, *BlogPost) error
}

BlogPostAfterToPB called after default ToPB code

type BlogPostWithBeforePatchApplyFieldMask added in v0.14.1

type BlogPostWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *BlogPost, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type BlogPostWithBeforePatchRead added in v0.14.1

type BlogPostWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *BlogPost, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type BlogPostWithBeforePatchSave added in v0.14.1

type BlogPostWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *BlogPost, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type BlogPostWithBeforeToORM added in v0.14.1

type BlogPostWithBeforeToORM interface {
	BeforeToORM(context.Context, *BlogPostORM) error
}

BlogPostBeforeToORM called before default ToORM code

type BlogPostWithBeforeToPB added in v0.14.1

type BlogPostWithBeforeToPB interface {
	BeforeToPB(context.Context, *BlogPost) error
}

BlogPostBeforeToPB called before default ToPB code

type Circle added in v0.14.0

type Circle struct {
	R uint32 `protobuf:"varint,1,opt,name=r" json:"r,omitempty"`
}

func DefaultApplyFieldMaskCircle added in v0.14.0

func DefaultApplyFieldMaskCircle(ctx context.Context, patchee *Circle, patcher *Circle, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Circle, error)

DefaultApplyFieldMaskCircle patches an pbObject with patcher according to a field mask.

func DefaultCreateCircle added in v0.14.0

func DefaultCreateCircle(ctx context.Context, in *Circle, db *gorm1.DB) (*Circle, error)

DefaultCreateCircle executes a basic gorm create call

func DefaultListCircle added in v0.14.0

func DefaultListCircle(ctx context.Context, db *gorm1.DB) ([]*Circle, error)

DefaultListCircle executes a gorm list call

func (*Circle) Descriptor added in v0.14.0

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

func (*Circle) GetR added in v0.14.0

func (m *Circle) GetR() uint32

func (*Circle) ProtoMessage added in v0.14.0

func (*Circle) ProtoMessage()

func (*Circle) Reset added in v0.14.0

func (m *Circle) Reset()

func (*Circle) String added in v0.14.0

func (m *Circle) String() string

func (*Circle) ToORM added in v0.14.0

func (m *Circle) ToORM(ctx context.Context) (CircleORM, 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 CircleORM added in v0.14.0

type CircleORM struct {
	R uint32
}

func (CircleORM) TableName added in v0.14.0

func (CircleORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*CircleORM) ToPB added in v0.14.0

func (m *CircleORM) ToPB(ctx context.Context) (Circle, 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 CircleORMWithAfterCreate_ added in v0.15.1

type CircleORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type CircleORMWithAfterListFind added in v0.14.0

type CircleORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]CircleORM) error
}

type CircleORMWithBeforeCreate_ added in v0.15.1

type CircleORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CircleORMWithBeforeListApplyQuery added in v0.14.0

type CircleORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CircleORMWithBeforeListFind added in v0.14.0

type CircleORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CircleServiceCircleWithAfterList added in v0.14.0

type CircleServiceCircleWithAfterList interface {
	AfterList(context.Context, *ListCircleResponse, *gorm1.DB) error
}

CircleServiceCircleWithAfterList called before DefaultListCircle in the default List handler

type CircleServiceCircleWithBeforeList added in v0.14.0

type CircleServiceCircleWithBeforeList interface {
	BeforeList(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

CircleServiceCircleWithBeforeList called before DefaultListCircle in the default List handler

type CircleServiceClient added in v0.14.0

type CircleServiceClient interface {
	List(ctx context.Context, in *ListCircleRequest, opts ...grpc.CallOption) (*ListCircleResponse, error)
}

func NewCircleServiceClient added in v0.14.0

func NewCircleServiceClient(cc *grpc.ClientConn) CircleServiceClient

type CircleServiceDefaultServer added in v0.14.0

type CircleServiceDefaultServer struct {
	DB *gorm1.DB
}

func (*CircleServiceDefaultServer) List added in v0.14.0

List ...

type CircleServiceServer added in v0.14.0

type CircleServiceServer interface {
	List(context.Context, *ListCircleRequest) (*ListCircleResponse, error)
}

type CircleWithAfterToORM added in v0.14.0

type CircleWithAfterToORM interface {
	AfterToORM(context.Context, *CircleORM) error
}

CircleAfterToORM called after default ToORM code

type CircleWithAfterToPB added in v0.14.0

type CircleWithAfterToPB interface {
	AfterToPB(context.Context, *Circle) error
}

CircleAfterToPB called after default ToPB code

type CircleWithBeforeToORM added in v0.14.0

type CircleWithBeforeToORM interface {
	BeforeToORM(context.Context, *CircleORM) error
}

CircleBeforeToORM called before default ToORM code

type CircleWithBeforeToPB added in v0.14.0

type CircleWithBeforeToPB interface {
	BeforeToPB(context.Context, *Circle) error
}

CircleBeforeToPB called before default ToPB code

type CreateIntPointRequest added in v0.2.0

type CreateIntPointRequest struct {
	// Convention dictates that this field be of the given type, and be
	// named 'payload' in order to autogenerate the handler
	Payload *IntPoint `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}

func (*CreateIntPointRequest) Descriptor added in v0.2.0

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

func (*CreateIntPointRequest) GetPayload added in v0.2.0

func (m *CreateIntPointRequest) GetPayload() *IntPoint

func (*CreateIntPointRequest) ProtoMessage added in v0.2.0

func (*CreateIntPointRequest) ProtoMessage()

func (*CreateIntPointRequest) Reset added in v0.2.0

func (m *CreateIntPointRequest) Reset()

func (*CreateIntPointRequest) String added in v0.2.0

func (m *CreateIntPointRequest) String() string

type CreateIntPointResponse added in v0.2.0

type CreateIntPointResponse struct {
	// Convention also requires that the return type be the same and named 'result'
	Result *IntPoint `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}

func (*CreateIntPointResponse) Descriptor added in v0.2.0

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

func (*CreateIntPointResponse) GetResult added in v0.2.0

func (m *CreateIntPointResponse) GetResult() *IntPoint

func (*CreateIntPointResponse) ProtoMessage added in v0.2.0

func (*CreateIntPointResponse) ProtoMessage()

func (*CreateIntPointResponse) Reset added in v0.2.0

func (m *CreateIntPointResponse) Reset()

func (*CreateIntPointResponse) String added in v0.2.0

func (m *CreateIntPointResponse) String() string

type DeleteIntPointRequest added in v0.2.0

type DeleteIntPointRequest struct {
	// Only the id is needed for a delete request
	Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
}

func (*DeleteIntPointRequest) Descriptor added in v0.2.0

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

func (*DeleteIntPointRequest) GetId added in v0.2.0

func (m *DeleteIntPointRequest) GetId() uint32

func (*DeleteIntPointRequest) ProtoMessage added in v0.2.0

func (*DeleteIntPointRequest) ProtoMessage()

func (*DeleteIntPointRequest) Reset added in v0.2.0

func (m *DeleteIntPointRequest) Reset()

func (*DeleteIntPointRequest) String added in v0.2.0

func (m *DeleteIntPointRequest) String() string

type DeleteIntPointResponse added in v0.5.0

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 added in v0.5.0

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

func (*DeleteIntPointResponse) ProtoMessage added in v0.5.0

func (*DeleteIntPointResponse) ProtoMessage()

func (*DeleteIntPointResponse) Reset added in v0.5.0

func (m *DeleteIntPointResponse) Reset()

func (*DeleteIntPointResponse) String added in v0.5.0

func (m *DeleteIntPointResponse) String() string

type DeleteIntPointsRequest added in v0.15.0

type DeleteIntPointsRequest struct {
	// Only the id is needed for a delete request
	Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids" json:"ids,omitempty"`
}

func (*DeleteIntPointsRequest) Descriptor added in v0.15.0

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

func (*DeleteIntPointsRequest) GetIds added in v0.15.0

func (m *DeleteIntPointsRequest) GetIds() []uint32

func (*DeleteIntPointsRequest) ProtoMessage added in v0.15.0

func (*DeleteIntPointsRequest) ProtoMessage()

func (*DeleteIntPointsRequest) Reset added in v0.15.0

func (m *DeleteIntPointsRequest) Reset()

func (*DeleteIntPointsRequest) String added in v0.15.0

func (m *DeleteIntPointsRequest) String() string

type ExternalChild added in v0.9.0

type ExternalChild struct {
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

func DefaultApplyFieldMaskExternalChild added in v0.9.0

func DefaultApplyFieldMaskExternalChild(ctx context.Context, patchee *ExternalChild, patcher *ExternalChild, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*ExternalChild, error)

DefaultApplyFieldMaskExternalChild patches an pbObject with patcher according to a field mask.

func DefaultCreateExternalChild added in v0.9.0

func DefaultCreateExternalChild(ctx context.Context, in *ExternalChild, db *gorm1.DB) (*ExternalChild, error)

DefaultCreateExternalChild executes a basic gorm create call

func DefaultListExternalChild added in v0.9.0

func DefaultListExternalChild(ctx context.Context, db *gorm1.DB) ([]*ExternalChild, error)

DefaultListExternalChild executes a gorm list call

func DefaultPatchExternalChild added in v0.9.0

func DefaultPatchExternalChild(ctx context.Context, in *ExternalChild, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*ExternalChild, error)

DefaultPatchExternalChild executes a basic gorm update call with patch behavior

func DefaultPatchSetExternalChild added in v0.18.0

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 added in v0.9.0

func DefaultReadExternalChild(ctx context.Context, in *ExternalChild, db *gorm1.DB) (*ExternalChild, error)

DefaultReadExternalChild executes a basic gorm read call

func DefaultStrictUpdateExternalChild added in v0.9.0

func DefaultStrictUpdateExternalChild(ctx context.Context, in *ExternalChild, db *gorm1.DB) (*ExternalChild, error)

DefaultStrictUpdateExternalChild clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*ExternalChild) Descriptor added in v0.9.0

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

func (*ExternalChild) GetId added in v0.9.0

func (m *ExternalChild) GetId() string

func (*ExternalChild) ProtoMessage added in v0.9.0

func (*ExternalChild) ProtoMessage()

func (*ExternalChild) Reset added in v0.9.0

func (m *ExternalChild) Reset()

func (*ExternalChild) String added in v0.9.0

func (m *ExternalChild) String() string

func (*ExternalChild) ToORM added in v0.9.0

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type ExternalChildORM added in v0.9.0

type ExternalChildORM struct {
	Id                  string
	PrimaryIncludedId   *go_uuid1.UUID
	PrimaryStringTypeId *string
	PrimaryUUIDTypeId   *go_uuid1.UUID
}

func (ExternalChildORM) TableName added in v0.9.0

func (ExternalChildORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*ExternalChildORM) ToPB added in v0.9.0

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type ExternalChildORMWithAfterCreate_ added in v0.15.1

type ExternalChildORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type ExternalChildORMWithAfterDeleteSet added in v0.15.0

type ExternalChildORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*ExternalChild, *gorm1.DB) error
}

type ExternalChildORMWithAfterDelete_ added in v0.15.1

type ExternalChildORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type ExternalChildORMWithAfterListFind added in v0.12.0

type ExternalChildORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]ExternalChildORM) error
}

type ExternalChildORMWithAfterReadFind added in v0.12.0

type ExternalChildORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type ExternalChildORMWithAfterStrictUpdateSave added in v0.12.0

type ExternalChildORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type ExternalChildORMWithBeforeCreate_ added in v0.15.1

type ExternalChildORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExternalChildORMWithBeforeDeleteSet added in v0.15.0

type ExternalChildORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*ExternalChild, *gorm1.DB) (*gorm1.DB, error)
}

type ExternalChildORMWithBeforeDelete_ added in v0.15.1

type ExternalChildORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExternalChildORMWithBeforeListApplyQuery added in v0.12.0

type ExternalChildORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExternalChildORMWithBeforeListFind added in v0.12.0

type ExternalChildORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExternalChildORMWithBeforeReadApplyQuery added in v0.12.0

type ExternalChildORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExternalChildORMWithBeforeReadFind added in v0.12.0

type ExternalChildORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExternalChildORMWithBeforeStrictUpdateCleanup added in v0.12.0

type ExternalChildORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExternalChildORMWithBeforeStrictUpdateSave added in v0.12.0

type ExternalChildORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExternalChildWithAfterPatchSave added in v0.12.0

type ExternalChildWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *ExternalChild, *field_mask1.FieldMask, *gorm1.DB) error
}

type ExternalChildWithAfterToORM added in v0.9.0

type ExternalChildWithAfterToORM interface {
	AfterToORM(context.Context, *ExternalChildORM) error
}

ExternalChildAfterToORM called after default ToORM code

type ExternalChildWithAfterToPB added in v0.9.0

type ExternalChildWithAfterToPB interface {
	AfterToPB(context.Context, *ExternalChild) error
}

ExternalChildAfterToPB called after default ToPB code

type ExternalChildWithBeforePatchApplyFieldMask added in v0.12.0

type ExternalChildWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *ExternalChild, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type ExternalChildWithBeforePatchRead added in v0.12.0

type ExternalChildWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *ExternalChild, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type ExternalChildWithBeforePatchSave added in v0.9.1

type ExternalChildWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *ExternalChild, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type ExternalChildWithBeforeToORM added in v0.9.0

type ExternalChildWithBeforeToORM interface {
	BeforeToORM(context.Context, *ExternalChildORM) error
}

ExternalChildBeforeToORM called before default ToORM code

type ExternalChildWithBeforeToPB added in v0.9.0

type ExternalChildWithBeforeToPB interface {
	BeforeToPB(context.Context, *ExternalChild) error
}

ExternalChildBeforeToPB called before default ToPB code

type IntPoint

type IntPoint struct {
	Id uint32 `protobuf:"varint,1,opt,name=id" 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 added in v0.9.0

func DefaultApplyFieldMaskIntPoint(ctx context.Context, patchee *IntPoint, patcher *IntPoint, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*IntPoint, error)

DefaultApplyFieldMaskIntPoint patches an pbObject with patcher according to a field mask.

func DefaultCreateIntPoint

func DefaultCreateIntPoint(ctx context.Context, in *IntPoint, db *gorm1.DB) (*IntPoint, error)

DefaultCreateIntPoint executes a basic gorm create call

func DefaultListIntPoint

func DefaultListIntPoint(ctx context.Context, db *gorm1.DB, f *query1.Filtering, s *query1.Sorting, p *query1.Pagination, fs *query1.FieldSelection) ([]*IntPoint, error)

DefaultListIntPoint executes a gorm list call

func DefaultPatchIntPoint added in v0.9.0

func DefaultPatchIntPoint(ctx context.Context, in *IntPoint, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*IntPoint, error)

DefaultPatchIntPoint executes a basic gorm update call with patch behavior

func DefaultPatchSetIntPoint added in v0.18.0

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) Descriptor() ([]byte, []int)

func (*IntPoint) GetId

func (m *IntPoint) GetId() uint32

func (*IntPoint) GetX

func (m *IntPoint) GetX() int32

func (*IntPoint) GetY

func (m *IntPoint) GetY() int32

func (*IntPoint) ProtoMessage

func (*IntPoint) ProtoMessage()

func (*IntPoint) Reset

func (m *IntPoint) Reset()

func (*IntPoint) String

func (m *IntPoint) String() string

func (*IntPoint) ToORM added in v0.2.1

func (m *IntPoint) ToORM(ctx context.Context) (IntPointORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type IntPointORM

type IntPointORM struct {
	Id uint32
	X  int32
	Y  int32
}

func (IntPointORM) TableName

func (IntPointORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*IntPointORM) ToPB added in v0.2.1

func (m *IntPointORM) ToPB(ctx context.Context) (IntPoint, 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 IntPointORMWithAfterCreate_ added in v0.15.1

type IntPointORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type IntPointORMWithAfterDeleteSet added in v0.15.0

type IntPointORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*IntPoint, *gorm1.DB) error
}

type IntPointORMWithAfterDelete_ added in v0.15.1

type IntPointORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type IntPointORMWithAfterListFind added in v0.12.0

type IntPointORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]IntPointORM, *query1.Filtering, *query1.Sorting, *query1.Pagination, *query1.FieldSelection) error
}

type IntPointORMWithAfterReadFind added in v0.12.0

type IntPointORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB, *query1.FieldSelection) error
}

type IntPointORMWithAfterStrictUpdateSave added in v0.12.0

type IntPointORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type IntPointORMWithBeforeCreate_ added in v0.15.1

type IntPointORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type IntPointORMWithBeforeDeleteSet added in v0.15.0

type IntPointORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*IntPoint, *gorm1.DB) (*gorm1.DB, error)
}

type IntPointORMWithBeforeDelete_ added in v0.15.1

type IntPointORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type IntPointORMWithBeforeListApplyQuery added in v0.12.0

type IntPointORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB, *query1.Filtering, *query1.Sorting, *query1.Pagination, *query1.FieldSelection) (*gorm1.DB, error)
}

type IntPointORMWithBeforeListFind added in v0.12.0

type IntPointORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB, *query1.Filtering, *query1.Sorting, *query1.Pagination, *query1.FieldSelection) (*gorm1.DB, error)
}

type IntPointORMWithBeforeReadApplyQuery added in v0.12.0

type IntPointORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB, *query1.FieldSelection) (*gorm1.DB, error)
}

type IntPointORMWithBeforeReadFind added in v0.12.0

type IntPointORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB, *query1.FieldSelection) (*gorm1.DB, error)
}

type IntPointORMWithBeforeStrictUpdateCleanup added in v0.12.0

type IntPointORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type IntPointORMWithBeforeStrictUpdateSave added in v0.12.0

type IntPointORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type IntPointPageInfoListResponse added in v0.20.2

type IntPointPageInfoListResponse struct {
	// contains filtered or unexported fields
}

func DefaultListWithCountIntPoint added in v0.20.2

func DefaultListWithCountIntPoint(ctx context.Context, db *gorm1.DB, f *query1.Filtering, s *query1.Sorting, p *query1.Pagination, fs *query1.FieldSelection) (*IntPointPageInfoListResponse, error)

DefaultListWithCountIntPoint executes a gorm list call with total record count

type IntPointServiceClient added in v0.6.0

type IntPointServiceClient interface {
	// The convention requires the rpc names have Create/Read/Update/List/Delete
	// as a prefix. The type is inferred from the response (except for delete),
	// so multiple objects can have CURDL handlers in the same service, provided
	// they are given unique suffixes
	Create(ctx context.Context, in *CreateIntPointRequest, opts ...grpc.CallOption) (*CreateIntPointResponse, error)
	Read(ctx context.Context, in *ReadIntPointRequest, opts ...grpc.CallOption) (*ReadIntPointResponse, error)
	Update(ctx context.Context, in *UpdateIntPointRequest, opts ...grpc.CallOption) (*UpdateIntPointResponse, error)
	UpdateSet(ctx context.Context, in *UpdateSetIntPointRequest, opts ...grpc.CallOption) (*UpdateSetIntPointResponse, error)
	List(ctx context.Context, in *ListIntPointRequest, opts ...grpc.CallOption) (*ListIntPointResponse, error)
	ListSomething(ctx context.Context, in *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 added in v0.6.0

func NewIntPointServiceClient(cc *grpc.ClientConn) IntPointServiceClient

type IntPointServiceDefaultServer added in v0.6.0

type IntPointServiceDefaultServer struct {
	DB *gorm1.DB
}

func (*IntPointServiceDefaultServer) Create added in v0.6.0

Create ...

func (*IntPointServiceDefaultServer) CreateSomething added in v0.6.0

func (m *IntPointServiceDefaultServer) CreateSomething(ctx context.Context, in *Something) (*Something, error)

CreateSomething ...

func (*IntPointServiceDefaultServer) CustomMethod added in v0.6.0

CustomMethod ...

func (*IntPointServiceDefaultServer) Delete added in v0.6.0

Delete ...

func (*IntPointServiceDefaultServer) List added in v0.6.0

List ...

func (*IntPointServiceDefaultServer) ListSomething added in v0.12.0

ListSomething ...

func (*IntPointServiceDefaultServer) Read added in v0.6.0

Read ...

func (*IntPointServiceDefaultServer) Update added in v0.6.0

Update ...

func (*IntPointServiceDefaultServer) UpdateSet added in v0.18.0

UpdateSet ...

type IntPointServiceIntPointWithAfterCreate added in v0.12.0

type IntPointServiceIntPointWithAfterCreate interface {
	AfterCreate(context.Context, *CreateIntPointResponse, *gorm1.DB) error
}

IntPointServiceIntPointWithAfterCreate called before DefaultCreateIntPoint in the default Create handler

type IntPointServiceIntPointWithAfterDelete added in v0.12.0

type IntPointServiceIntPointWithAfterDelete interface {
	AfterDelete(context.Context, *DeleteIntPointResponse, *gorm1.DB) error
}

IntPointServiceIntPointWithAfterDelete called before DefaultDeleteIntPoint in the default Delete handler

type IntPointServiceIntPointWithAfterList added in v0.12.0

type IntPointServiceIntPointWithAfterList interface {
	AfterList(context.Context, *ListIntPointResponse, *gorm1.DB) error
}

IntPointServiceIntPointWithAfterList called before DefaultListIntPoint in the default List handler

type IntPointServiceIntPointWithAfterRead added in v0.12.0

type IntPointServiceIntPointWithAfterRead interface {
	AfterRead(context.Context, *ReadIntPointResponse, *gorm1.DB) error
}

IntPointServiceIntPointWithAfterRead called before DefaultReadIntPoint in the default Read handler

type IntPointServiceIntPointWithAfterUpdate added in v0.12.0

type IntPointServiceIntPointWithAfterUpdate interface {
	AfterUpdate(context.Context, *UpdateIntPointResponse, *gorm1.DB) error
}

IntPointServiceIntPointWithAfterUpdate called before DefaultUpdateIntPoint in the default Update handler

type IntPointServiceIntPointWithAfterUpdateSet added in v0.18.0

type IntPointServiceIntPointWithAfterUpdateSet interface {
	AfterUpdateSet(context.Context, *UpdateSetIntPointResponse, *gorm1.DB) error
}

IntPointServiceIntPointWithAfterUpdateSet called before DefaultUpdateSetIntPoint in the default UpdateSet handler

type IntPointServiceIntPointWithBeforeCreate added in v0.8.0

type IntPointServiceIntPointWithBeforeCreate interface {
	BeforeCreate(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

IntPointServiceIntPointWithBeforeCreate called before DefaultCreateIntPoint in the default Create handler

type IntPointServiceIntPointWithBeforeDelete added in v0.8.0

type IntPointServiceIntPointWithBeforeDelete interface {
	BeforeDelete(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

IntPointServiceIntPointWithBeforeDelete called before DefaultDeleteIntPoint in the default Delete handler

type IntPointServiceIntPointWithBeforeList added in v0.8.0

type IntPointServiceIntPointWithBeforeList interface {
	BeforeList(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

IntPointServiceIntPointWithBeforeList called before DefaultListIntPoint in the default List handler

type IntPointServiceIntPointWithBeforeRead added in v0.8.0

type IntPointServiceIntPointWithBeforeRead interface {
	BeforeRead(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

IntPointServiceIntPointWithBeforeRead called before DefaultReadIntPoint in the default Read handler

type IntPointServiceIntPointWithBeforeUpdate added in v0.8.0

type IntPointServiceIntPointWithBeforeUpdate interface {
	BeforeUpdate(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

IntPointServiceIntPointWithBeforeUpdate called before DefaultUpdateIntPoint in the default Update handler

type IntPointServiceIntPointWithBeforeUpdateSet added in v0.18.0

type IntPointServiceIntPointWithBeforeUpdateSet interface {
	BeforeUpdateSet(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

IntPointServiceIntPointWithBeforeUpdateSet called before DefaultUpdateSetIntPoint in the default UpdateSet handler

type IntPointServiceServer added in v0.6.0

type IntPointServiceServer interface {
	// The convention requires the rpc names have Create/Read/Update/List/Delete
	// as a prefix. The type is inferred from the response (except for delete),
	// so multiple objects can have CURDL handlers in the same service, provided
	// they are given unique suffixes
	Create(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error)
	Read(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error)
	Update(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
	UpdateSet(context.Context, *UpdateSetIntPointRequest) (*UpdateSetIntPointResponse, error)
	List(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error)
	ListSomething(context.Context, *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 added in v0.12.0

type IntPointServiceSomethingWithAfterListSomething interface {
	AfterListSomething(context.Context, *ListSomethingResponse, *gorm1.DB) error
}

IntPointServiceSomethingWithAfterListSomething called before DefaultListSomethingSomething in the default ListSomething handler

type IntPointServiceSomethingWithBeforeListSomething added in v0.12.0

type IntPointServiceSomethingWithBeforeListSomething interface {
	BeforeListSomething(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

IntPointServiceSomethingWithBeforeListSomething called before DefaultListSomethingSomething in the default ListSomething handler

type IntPointTxnClient added in v0.6.0

type IntPointTxnClient interface {
	// The convention requires the rpc names have Create/Read/Update/List/Delete
	// as a prefix. The type is inferred from the response (except for delete),
	// so multiple objects can have CURDL handlers in the same service, provided
	// they are given unique suffixes
	Create(ctx context.Context, in *CreateIntPointRequest, opts ...grpc.CallOption) (*CreateIntPointResponse, error)
	Read(ctx context.Context, in *ReadIntPointRequest, opts ...grpc.CallOption) (*ReadIntPointResponse, error)
	Update(ctx context.Context, in *UpdateIntPointRequest, opts ...grpc.CallOption) (*UpdateIntPointResponse, error)
	List(ctx context.Context, in *ListIntPointRequest, opts ...grpc.CallOption) (*ListIntPointResponse, error)
	Delete(ctx context.Context, in *DeleteIntPointRequest, opts ...grpc.CallOption) (*DeleteIntPointResponse, error)
	DeleteSet(ctx context.Context, in *DeleteIntPointsRequest, opts ...grpc.CallOption) (*DeleteIntPointResponse, error)
	// CustomMethod can't be autogenerated as it matches no conventions, it will
	// become a stub
	CustomMethod(ctx context.Context, in *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 added in v0.6.0

func NewIntPointTxnClient(cc *grpc.ClientConn) IntPointTxnClient

type IntPointTxnDefaultServer added in v0.6.0

type IntPointTxnDefaultServer struct {
}

func (*IntPointTxnDefaultServer) Create added in v0.6.0

Create ...

func (*IntPointTxnDefaultServer) CreateSomething added in v0.6.0

func (m *IntPointTxnDefaultServer) CreateSomething(ctx context.Context, in *Something) (*Something, error)

CreateSomething ...

func (*IntPointTxnDefaultServer) CustomMethod added in v0.6.0

CustomMethod ...

func (*IntPointTxnDefaultServer) Delete added in v0.6.0

Delete ...

func (*IntPointTxnDefaultServer) DeleteSet added in v0.15.0

DeleteSet ...

func (*IntPointTxnDefaultServer) List added in v0.6.0

List ...

func (*IntPointTxnDefaultServer) Read added in v0.6.0

Read ...

func (*IntPointTxnDefaultServer) Update added in v0.6.0

Update ...

type IntPointTxnIntPointWithAfterCreate added in v0.12.0

type IntPointTxnIntPointWithAfterCreate interface {
	AfterCreate(context.Context, *CreateIntPointResponse, *gorm1.DB) error
}

IntPointTxnIntPointWithAfterCreate called before DefaultCreateIntPoint in the default Create handler

type IntPointTxnIntPointWithAfterDelete added in v0.12.0

type IntPointTxnIntPointWithAfterDelete interface {
	AfterDelete(context.Context, *DeleteIntPointResponse, *gorm1.DB) error
}

IntPointTxnIntPointWithAfterDelete called before DefaultDeleteIntPoint in the default Delete handler

type IntPointTxnIntPointWithAfterDeleteSet added in v0.15.0

type IntPointTxnIntPointWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, *DeleteIntPointResponse, *gorm1.DB) error
}

IntPointTxnIntPointWithAfterDeleteSet called before DefaultDeleteSetIntPoint in the default DeleteSet handler

type IntPointTxnIntPointWithAfterList added in v0.12.0

type IntPointTxnIntPointWithAfterList interface {
	AfterList(context.Context, *ListIntPointResponse, *gorm1.DB) error
}

IntPointTxnIntPointWithAfterList called before DefaultListIntPoint in the default List handler

type IntPointTxnIntPointWithAfterRead added in v0.12.0

type IntPointTxnIntPointWithAfterRead interface {
	AfterRead(context.Context, *ReadIntPointResponse, *gorm1.DB) error
}

IntPointTxnIntPointWithAfterRead called before DefaultReadIntPoint in the default Read handler

type IntPointTxnIntPointWithAfterUpdate added in v0.12.0

type IntPointTxnIntPointWithAfterUpdate interface {
	AfterUpdate(context.Context, *UpdateIntPointResponse, *gorm1.DB) error
}

IntPointTxnIntPointWithAfterUpdate called before DefaultUpdateIntPoint in the default Update handler

type IntPointTxnIntPointWithBeforeCreate added in v0.8.0

type IntPointTxnIntPointWithBeforeCreate interface {
	BeforeCreate(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

IntPointTxnIntPointWithBeforeCreate called before DefaultCreateIntPoint in the default Create handler

type IntPointTxnIntPointWithBeforeDelete added in v0.8.0

type IntPointTxnIntPointWithBeforeDelete interface {
	BeforeDelete(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

IntPointTxnIntPointWithBeforeDelete called before DefaultDeleteIntPoint in the default Delete handler

type IntPointTxnIntPointWithBeforeDeleteSet added in v0.15.0

type IntPointTxnIntPointWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

IntPointTxnIntPointWithBeforeDeleteSet called before DefaultDeleteSetIntPoint in the default DeleteSet handler

type IntPointTxnIntPointWithBeforeList added in v0.8.0

type IntPointTxnIntPointWithBeforeList interface {
	BeforeList(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

IntPointTxnIntPointWithBeforeList called before DefaultListIntPoint in the default List handler

type IntPointTxnIntPointWithBeforeRead added in v0.8.0

type IntPointTxnIntPointWithBeforeRead interface {
	BeforeRead(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

IntPointTxnIntPointWithBeforeRead called before DefaultReadIntPoint in the default Read handler

type IntPointTxnIntPointWithBeforeUpdate added in v0.8.0

type IntPointTxnIntPointWithBeforeUpdate interface {
	BeforeUpdate(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

IntPointTxnIntPointWithBeforeUpdate called before DefaultUpdateIntPoint in the default Update handler

type IntPointTxnServer added in v0.6.0

type IntPointTxnServer interface {
	// The convention requires the rpc names have Create/Read/Update/List/Delete
	// as a prefix. The type is inferred from the response (except for delete),
	// so multiple objects can have CURDL handlers in the same service, provided
	// they are given unique suffixes
	Create(context.Context, *CreateIntPointRequest) (*CreateIntPointResponse, error)
	Read(context.Context, *ReadIntPointRequest) (*ReadIntPointResponse, error)
	Update(context.Context, *UpdateIntPointRequest) (*UpdateIntPointResponse, error)
	List(context.Context, *ListIntPointRequest) (*ListIntPointResponse, error)
	Delete(context.Context, *DeleteIntPointRequest) (*DeleteIntPointResponse, error)
	DeleteSet(context.Context, *DeleteIntPointsRequest) (*DeleteIntPointResponse, error)
	// CustomMethod can't be autogenerated as it matches no conventions, it will
	// become a stub
	CustomMethod(context.Context, *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 IntPointWithAfterPatchSave added in v0.12.0

type IntPointWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *IntPoint, *field_mask1.FieldMask, *gorm1.DB) error
}

type IntPointWithAfterToORM added in v0.2.1

type IntPointWithAfterToORM interface {
	AfterToORM(context.Context, *IntPointORM) error
}

IntPointAfterToORM called after default ToORM code

type IntPointWithAfterToPB added in v0.2.1

type IntPointWithAfterToPB interface {
	AfterToPB(context.Context, *IntPoint) error
}

IntPointAfterToPB called after default ToPB code

type IntPointWithBeforePatchApplyFieldMask added in v0.12.0

type IntPointWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *IntPoint, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type IntPointWithBeforePatchRead added in v0.12.0

type IntPointWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *IntPoint, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type IntPointWithBeforePatchSave added in v0.9.1

type IntPointWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *IntPoint, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type IntPointWithBeforeToORM added in v0.2.1

type IntPointWithBeforeToORM interface {
	BeforeToORM(context.Context, *IntPointORM) error
}

IntPointBeforeToORM called before default ToORM code

type IntPointWithBeforeToPB added in v0.2.1

type IntPointWithBeforeToPB interface {
	BeforeToPB(context.Context, *IntPoint) error
}

IntPointBeforeToPB called before default ToPB code

type JoinTable added in v0.7.0

type JoinTable struct {
	TypeWithIDID           uint32
	MultiAccountTypeWithID uint32
}

type ListCircleRequest added in v0.14.0

type ListCircleRequest struct {
}

func (*ListCircleRequest) Descriptor added in v0.14.0

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

func (*ListCircleRequest) ProtoMessage added in v0.14.0

func (*ListCircleRequest) ProtoMessage()

func (*ListCircleRequest) Reset added in v0.14.0

func (m *ListCircleRequest) Reset()

func (*ListCircleRequest) String added in v0.14.0

func (m *ListCircleRequest) String() string

type ListCircleResponse added in v0.14.0

type ListCircleResponse struct {
	Results []*Circle `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}

func (*ListCircleResponse) Descriptor added in v0.14.0

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

func (*ListCircleResponse) GetResults added in v0.14.0

func (m *ListCircleResponse) GetResults() []*Circle

func (*ListCircleResponse) ProtoMessage added in v0.14.0

func (*ListCircleResponse) ProtoMessage()

func (*ListCircleResponse) Reset added in v0.14.0

func (m *ListCircleResponse) Reset()

func (*ListCircleResponse) String added in v0.14.0

func (m *ListCircleResponse) String() string

type ListIntPointRequest added in v0.7.0

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 added in v0.7.0

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

func (*ListIntPointRequest) GetFields added in v0.7.0

func (*ListIntPointRequest) GetFilter added in v0.7.0

func (m *ListIntPointRequest) GetFilter() *infoblox_api.Filtering

func (*ListIntPointRequest) GetOrderBy added in v0.7.0

func (m *ListIntPointRequest) GetOrderBy() *infoblox_api.Sorting

func (*ListIntPointRequest) GetPaging added in v0.7.0

func (*ListIntPointRequest) ProtoMessage added in v0.7.0

func (*ListIntPointRequest) ProtoMessage()

func (*ListIntPointRequest) Reset added in v0.7.0

func (m *ListIntPointRequest) Reset()

func (*ListIntPointRequest) String added in v0.7.0

func (m *ListIntPointRequest) String() string

type ListIntPointResponse added in v0.2.0

type ListIntPointResponse struct {
	// Note repeated field and plural name 'results'
	Results  []*IntPoint            `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
	PageInfo *infoblox_api.PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo" json:"page_info,omitempty"`
}

func (*ListIntPointResponse) Descriptor added in v0.2.0

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

func (*ListIntPointResponse) GetPageInfo added in v0.14.0

func (m *ListIntPointResponse) GetPageInfo() *infoblox_api.PageInfo

func (*ListIntPointResponse) GetResults added in v0.2.0

func (m *ListIntPointResponse) GetResults() []*IntPoint

func (*ListIntPointResponse) ProtoMessage added in v0.2.0

func (*ListIntPointResponse) ProtoMessage()

func (*ListIntPointResponse) Reset added in v0.2.0

func (m *ListIntPointResponse) Reset()

func (*ListIntPointResponse) String added in v0.2.0

func (m *ListIntPointResponse) String() string

type ListSomethingResponse added in v0.12.0

type ListSomethingResponse struct {
	// Note repeated field and plural name 'results'
	Results  []*Something           `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
	PageInfo *infoblox_api.PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo" json:"page_info,omitempty"`
}

func (*ListSomethingResponse) Descriptor added in v0.12.0

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

func (*ListSomethingResponse) GetPageInfo added in v0.14.0

func (m *ListSomethingResponse) GetPageInfo() *infoblox_api.PageInfo

func (*ListSomethingResponse) GetResults added in v0.12.0

func (m *ListSomethingResponse) GetResults() []*Something

func (*ListSomethingResponse) ProtoMessage added in v0.12.0

func (*ListSomethingResponse) ProtoMessage()

func (*ListSomethingResponse) Reset added in v0.12.0

func (m *ListSomethingResponse) Reset()

func (*ListSomethingResponse) String added in v0.12.0

func (m *ListSomethingResponse) String() string

type MultiaccountTypeWithID added in v0.2.0

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 added in v0.9.0

func DefaultApplyFieldMaskMultiaccountTypeWithID(ctx context.Context, patchee *MultiaccountTypeWithID, patcher *MultiaccountTypeWithID, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*MultiaccountTypeWithID, error)

DefaultApplyFieldMaskMultiaccountTypeWithID patches an pbObject with patcher according to a field mask.

func DefaultCreateMultiaccountTypeWithID added in v0.2.0

func DefaultCreateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm1.DB) (*MultiaccountTypeWithID, error)

DefaultCreateMultiaccountTypeWithID executes a basic gorm create call

func DefaultListMultiaccountTypeWithID added in v0.2.0

func DefaultListMultiaccountTypeWithID(ctx context.Context, db *gorm1.DB) ([]*MultiaccountTypeWithID, error)

DefaultListMultiaccountTypeWithID executes a gorm list call

func DefaultPatchMultiaccountTypeWithID added in v0.9.0

func DefaultPatchMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*MultiaccountTypeWithID, error)

DefaultPatchMultiaccountTypeWithID executes a basic gorm update call with patch behavior

func DefaultPatchSetMultiaccountTypeWithID added in v0.18.0

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 added in v0.2.0

func DefaultReadMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm1.DB) (*MultiaccountTypeWithID, error)

DefaultReadMultiaccountTypeWithID executes a basic gorm read call

func DefaultStrictUpdateMultiaccountTypeWithID added in v0.2.0

func DefaultStrictUpdateMultiaccountTypeWithID(ctx context.Context, in *MultiaccountTypeWithID, db *gorm1.DB) (*MultiaccountTypeWithID, error)

DefaultStrictUpdateMultiaccountTypeWithID clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*MultiaccountTypeWithID) Descriptor added in v0.2.0

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

func (*MultiaccountTypeWithID) GetId added in v0.2.0

func (m *MultiaccountTypeWithID) GetId() uint64

func (*MultiaccountTypeWithID) GetSomeField added in v0.2.0

func (m *MultiaccountTypeWithID) GetSomeField() string

func (*MultiaccountTypeWithID) ProtoMessage added in v0.2.0

func (*MultiaccountTypeWithID) ProtoMessage()

func (*MultiaccountTypeWithID) Reset added in v0.2.0

func (m *MultiaccountTypeWithID) Reset()

func (*MultiaccountTypeWithID) String added in v0.2.0

func (m *MultiaccountTypeWithID) String() string

func (*MultiaccountTypeWithID) ToORM added in v0.2.1

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type MultiaccountTypeWithIDORM added in v0.2.0

type MultiaccountTypeWithIDORM struct {
	AccountID string
	Id        uint64
	SomeField string
}

func (MultiaccountTypeWithIDORM) TableName added in v0.2.0

func (MultiaccountTypeWithIDORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*MultiaccountTypeWithIDORM) ToPB added in v0.2.1

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type MultiaccountTypeWithIDORMWithAfterCreate_ added in v0.15.1

type MultiaccountTypeWithIDORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type MultiaccountTypeWithIDORMWithAfterDeleteSet added in v0.15.0

type MultiaccountTypeWithIDORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*MultiaccountTypeWithID, *gorm1.DB) error
}

type MultiaccountTypeWithIDORMWithAfterDelete_ added in v0.15.1

type MultiaccountTypeWithIDORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type MultiaccountTypeWithIDORMWithAfterListFind added in v0.12.0

type MultiaccountTypeWithIDORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]MultiaccountTypeWithIDORM) error
}

type MultiaccountTypeWithIDORMWithAfterReadFind added in v0.12.0

type MultiaccountTypeWithIDORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type MultiaccountTypeWithIDORMWithAfterStrictUpdateSave added in v0.12.0

type MultiaccountTypeWithIDORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type MultiaccountTypeWithIDORMWithBeforeCreate_ added in v0.15.1

type MultiaccountTypeWithIDORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MultiaccountTypeWithIDORMWithBeforeDeleteSet added in v0.15.0

type MultiaccountTypeWithIDORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*MultiaccountTypeWithID, *gorm1.DB) (*gorm1.DB, error)
}

type MultiaccountTypeWithIDORMWithBeforeDelete_ added in v0.15.1

type MultiaccountTypeWithIDORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MultiaccountTypeWithIDORMWithBeforeListApplyQuery added in v0.12.0

type MultiaccountTypeWithIDORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MultiaccountTypeWithIDORMWithBeforeListFind added in v0.12.0

type MultiaccountTypeWithIDORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MultiaccountTypeWithIDORMWithBeforeReadApplyQuery added in v0.12.0

type MultiaccountTypeWithIDORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MultiaccountTypeWithIDORMWithBeforeReadFind added in v0.12.0

type MultiaccountTypeWithIDORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MultiaccountTypeWithIDORMWithBeforeStrictUpdateCleanup added in v0.12.0

type MultiaccountTypeWithIDORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MultiaccountTypeWithIDORMWithBeforeStrictUpdateSave added in v0.12.0

type MultiaccountTypeWithIDORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MultiaccountTypeWithIDWithAfterPatchSave added in v0.12.0

type MultiaccountTypeWithIDWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *MultiaccountTypeWithID, *field_mask1.FieldMask, *gorm1.DB) error
}

type MultiaccountTypeWithIDWithAfterToORM added in v0.2.1

type MultiaccountTypeWithIDWithAfterToORM interface {
	AfterToORM(context.Context, *MultiaccountTypeWithIDORM) error
}

MultiaccountTypeWithIDAfterToORM called after default ToORM code

type MultiaccountTypeWithIDWithAfterToPB added in v0.2.1

type MultiaccountTypeWithIDWithAfterToPB interface {
	AfterToPB(context.Context, *MultiaccountTypeWithID) error
}

MultiaccountTypeWithIDAfterToPB called after default ToPB code

type MultiaccountTypeWithIDWithBeforePatchApplyFieldMask added in v0.12.0

type MultiaccountTypeWithIDWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *MultiaccountTypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type MultiaccountTypeWithIDWithBeforePatchRead added in v0.12.0

type MultiaccountTypeWithIDWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *MultiaccountTypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type MultiaccountTypeWithIDWithBeforePatchSave added in v0.9.1

type MultiaccountTypeWithIDWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *MultiaccountTypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type MultiaccountTypeWithIDWithBeforeToORM added in v0.2.1

type MultiaccountTypeWithIDWithBeforeToORM interface {
	BeforeToORM(context.Context, *MultiaccountTypeWithIDORM) error
}

MultiaccountTypeWithIDBeforeToORM called before default ToORM code

type MultiaccountTypeWithIDWithBeforeToPB added in v0.2.1

type MultiaccountTypeWithIDWithBeforeToPB interface {
	BeforeToPB(context.Context, *MultiaccountTypeWithID) error
}

MultiaccountTypeWithIDBeforeToPB called before default ToPB code

type MultiaccountTypeWithoutID added in v0.2.0

type MultiaccountTypeWithoutID struct {
	SomeField string `protobuf:"bytes,1,opt,name=some_field,json=someField" json:"some_field,omitempty"`
}

func DefaultApplyFieldMaskMultiaccountTypeWithoutID added in v0.10.0

func DefaultApplyFieldMaskMultiaccountTypeWithoutID(ctx context.Context, patchee *MultiaccountTypeWithoutID, patcher *MultiaccountTypeWithoutID, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*MultiaccountTypeWithoutID, error)

DefaultApplyFieldMaskMultiaccountTypeWithoutID patches an pbObject with patcher according to a field mask.

func DefaultCreateMultiaccountTypeWithoutID added in v0.2.0

func DefaultCreateMultiaccountTypeWithoutID(ctx context.Context, in *MultiaccountTypeWithoutID, db *gorm1.DB) (*MultiaccountTypeWithoutID, error)

DefaultCreateMultiaccountTypeWithoutID executes a basic gorm create call

func DefaultListMultiaccountTypeWithoutID added in v0.2.0

func DefaultListMultiaccountTypeWithoutID(ctx context.Context, db *gorm1.DB) ([]*MultiaccountTypeWithoutID, error)

DefaultListMultiaccountTypeWithoutID executes a gorm list call

func (*MultiaccountTypeWithoutID) Descriptor added in v0.2.0

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

func (*MultiaccountTypeWithoutID) GetSomeField added in v0.2.0

func (m *MultiaccountTypeWithoutID) GetSomeField() string

func (*MultiaccountTypeWithoutID) ProtoMessage added in v0.2.0

func (*MultiaccountTypeWithoutID) ProtoMessage()

func (*MultiaccountTypeWithoutID) Reset added in v0.2.0

func (m *MultiaccountTypeWithoutID) Reset()

func (*MultiaccountTypeWithoutID) String added in v0.2.0

func (m *MultiaccountTypeWithoutID) String() string

func (*MultiaccountTypeWithoutID) ToORM added in v0.2.1

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type MultiaccountTypeWithoutIDORM added in v0.2.0

type MultiaccountTypeWithoutIDORM struct {
	AccountID string
	SomeField string
}

func (MultiaccountTypeWithoutIDORM) TableName added in v0.2.0

TableName overrides the default tablename generated by GORM

func (*MultiaccountTypeWithoutIDORM) ToPB added in v0.2.1

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type MultiaccountTypeWithoutIDORMWithAfterCreate_ added in v0.15.1

type MultiaccountTypeWithoutIDORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type MultiaccountTypeWithoutIDORMWithAfterListFind added in v0.12.0

type MultiaccountTypeWithoutIDORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]MultiaccountTypeWithoutIDORM) error
}

type MultiaccountTypeWithoutIDORMWithBeforeCreate_ added in v0.15.1

type MultiaccountTypeWithoutIDORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MultiaccountTypeWithoutIDORMWithBeforeListApplyQuery added in v0.12.0

type MultiaccountTypeWithoutIDORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MultiaccountTypeWithoutIDORMWithBeforeListFind added in v0.12.0

type MultiaccountTypeWithoutIDORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MultiaccountTypeWithoutIDWithAfterToORM added in v0.2.1

type MultiaccountTypeWithoutIDWithAfterToORM interface {
	AfterToORM(context.Context, *MultiaccountTypeWithoutIDORM) error
}

MultiaccountTypeWithoutIDAfterToORM called after default ToORM code

type MultiaccountTypeWithoutIDWithAfterToPB added in v0.2.1

type MultiaccountTypeWithoutIDWithAfterToPB interface {
	AfterToPB(context.Context, *MultiaccountTypeWithoutID) error
}

MultiaccountTypeWithoutIDAfterToPB called after default ToPB code

type MultiaccountTypeWithoutIDWithBeforeToORM added in v0.2.1

type MultiaccountTypeWithoutIDWithBeforeToORM interface {
	BeforeToORM(context.Context, *MultiaccountTypeWithoutIDORM) error
}

MultiaccountTypeWithoutIDBeforeToORM called before default ToORM code

type MultiaccountTypeWithoutIDWithBeforeToPB added in v0.2.1

type MultiaccountTypeWithoutIDWithBeforeToPB interface {
	BeforeToPB(context.Context, *MultiaccountTypeWithoutID) error
}

MultiaccountTypeWithoutIDBeforeToPB called before default ToPB code

type MultipleMethodsAutoGenClient added in v0.20.1

func NewMultipleMethodsAutoGenClient added in v0.20.1

func NewMultipleMethodsAutoGenClient(cc *grpc.ClientConn) MultipleMethodsAutoGenClient

type MultipleMethodsAutoGenDefaultServer added in v0.20.1

type MultipleMethodsAutoGenDefaultServer struct {
	DB *gorm1.DB
}

func (*MultipleMethodsAutoGenDefaultServer) CreateA added in v0.20.1

CreateA ...

func (*MultipleMethodsAutoGenDefaultServer) CreateB added in v0.20.1

CreateB ...

func (*MultipleMethodsAutoGenDefaultServer) DeleteA added in v0.20.1

DeleteA ...

func (*MultipleMethodsAutoGenDefaultServer) DeleteB added in v0.20.1

DeleteB ...

func (*MultipleMethodsAutoGenDefaultServer) DeleteSetA added in v0.20.1

DeleteSetA ...

func (*MultipleMethodsAutoGenDefaultServer) DeleteSetB added in v0.20.1

DeleteSetB ...

func (*MultipleMethodsAutoGenDefaultServer) ListA added in v0.20.1

ListA ...

func (*MultipleMethodsAutoGenDefaultServer) ListB added in v0.20.1

ListB ...

func (*MultipleMethodsAutoGenDefaultServer) ReadA added in v0.20.1

ReadA ...

func (*MultipleMethodsAutoGenDefaultServer) ReadB added in v0.20.1

ReadB ...

func (*MultipleMethodsAutoGenDefaultServer) UpdateA added in v0.20.1

UpdateA ...

func (*MultipleMethodsAutoGenDefaultServer) UpdateB added in v0.20.1

UpdateB ...

type MultipleMethodsAutoGenIntPointWithAfterCreateA added in v0.20.1

type MultipleMethodsAutoGenIntPointWithAfterCreateA interface {
	AfterCreateA(context.Context, *CreateIntPointResponse, *gorm1.DB) error
}

MultipleMethodsAutoGenIntPointWithAfterCreateA called before DefaultCreateAIntPoint in the default CreateA handler

type MultipleMethodsAutoGenIntPointWithAfterCreateB added in v0.20.1

type MultipleMethodsAutoGenIntPointWithAfterCreateB interface {
	AfterCreateB(context.Context, *CreateIntPointResponse, *gorm1.DB) error
}

MultipleMethodsAutoGenIntPointWithAfterCreateB called before DefaultCreateBIntPoint in the default CreateB handler

type MultipleMethodsAutoGenIntPointWithAfterDeleteA added in v0.20.1

type MultipleMethodsAutoGenIntPointWithAfterDeleteA interface {
	AfterDeleteA(context.Context, *DeleteIntPointResponse, *gorm1.DB) error
}

MultipleMethodsAutoGenIntPointWithAfterDeleteA called before DefaultDeleteAIntPoint in the default DeleteA handler

type MultipleMethodsAutoGenIntPointWithAfterDeleteB added in v0.20.1

type MultipleMethodsAutoGenIntPointWithAfterDeleteB interface {
	AfterDeleteB(context.Context, *DeleteIntPointResponse, *gorm1.DB) error
}

MultipleMethodsAutoGenIntPointWithAfterDeleteB called before DefaultDeleteBIntPoint in the default DeleteB handler

type MultipleMethodsAutoGenIntPointWithAfterDeleteSetA added in v0.20.1

type MultipleMethodsAutoGenIntPointWithAfterDeleteSetA interface {
	AfterDeleteSetA(context.Context, *DeleteIntPointResponse, *gorm1.DB) error
}

MultipleMethodsAutoGenIntPointWithAfterDeleteSetA called before DefaultDeleteSetAIntPoint in the default DeleteSetA handler

type MultipleMethodsAutoGenIntPointWithAfterDeleteSetB added in v0.20.1

type MultipleMethodsAutoGenIntPointWithAfterDeleteSetB interface {
	AfterDeleteSetB(context.Context, *DeleteIntPointResponse, *gorm1.DB) error
}

MultipleMethodsAutoGenIntPointWithAfterDeleteSetB called before DefaultDeleteSetBIntPoint in the default DeleteSetB handler

type MultipleMethodsAutoGenIntPointWithAfterListA added in v0.20.1

type MultipleMethodsAutoGenIntPointWithAfterListA interface {
	AfterListA(context.Context, *ListIntPointResponse, *gorm1.DB) error
}

MultipleMethodsAutoGenIntPointWithAfterListA called before DefaultListAIntPoint in the default ListA handler

type MultipleMethodsAutoGenIntPointWithAfterListB added in v0.20.1

type MultipleMethodsAutoGenIntPointWithAfterListB interface {
	AfterListB(context.Context, *ListIntPointResponse, *gorm1.DB) error
}

MultipleMethodsAutoGenIntPointWithAfterListB called before DefaultListBIntPoint in the default ListB handler

type MultipleMethodsAutoGenIntPointWithAfterReadA added in v0.20.1

type MultipleMethodsAutoGenIntPointWithAfterReadA interface {
	AfterReadA(context.Context, *ReadIntPointResponse, *gorm1.DB) error
}

MultipleMethodsAutoGenIntPointWithAfterReadA called before DefaultReadAIntPoint in the default ReadA handler

type MultipleMethodsAutoGenIntPointWithAfterReadB added in v0.20.1

type MultipleMethodsAutoGenIntPointWithAfterReadB interface {
	AfterReadB(context.Context, *ReadIntPointResponse, *gorm1.DB) error
}

MultipleMethodsAutoGenIntPointWithAfterReadB called before DefaultReadBIntPoint in the default ReadB handler

type MultipleMethodsAutoGenIntPointWithAfterUpdateA added in v0.20.1

type MultipleMethodsAutoGenIntPointWithAfterUpdateA interface {
	AfterUpdateA(context.Context, *UpdateIntPointResponse, *gorm1.DB) error
}

MultipleMethodsAutoGenIntPointWithAfterUpdateA called before DefaultUpdateAIntPoint in the default UpdateA handler

type MultipleMethodsAutoGenIntPointWithAfterUpdateB added in v0.20.1

type MultipleMethodsAutoGenIntPointWithAfterUpdateB interface {
	AfterUpdateB(context.Context, *UpdateIntPointResponse, *gorm1.DB) error
}

MultipleMethodsAutoGenIntPointWithAfterUpdateB called before DefaultUpdateBIntPoint in the default UpdateB handler

type MultipleMethodsAutoGenIntPointWithBeforeCreateA added in v0.20.1

type MultipleMethodsAutoGenIntPointWithBeforeCreateA interface {
	BeforeCreateA(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

MultipleMethodsAutoGenIntPointWithBeforeCreateA called before DefaultCreateAIntPoint in the default CreateA handler

type MultipleMethodsAutoGenIntPointWithBeforeCreateB added in v0.20.1

type MultipleMethodsAutoGenIntPointWithBeforeCreateB interface {
	BeforeCreateB(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

MultipleMethodsAutoGenIntPointWithBeforeCreateB called before DefaultCreateBIntPoint in the default CreateB handler

type MultipleMethodsAutoGenIntPointWithBeforeDeleteA added in v0.20.1

type MultipleMethodsAutoGenIntPointWithBeforeDeleteA interface {
	BeforeDeleteA(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

MultipleMethodsAutoGenIntPointWithBeforeDeleteA called before DefaultDeleteAIntPoint in the default DeleteA handler

type MultipleMethodsAutoGenIntPointWithBeforeDeleteB added in v0.20.1

type MultipleMethodsAutoGenIntPointWithBeforeDeleteB interface {
	BeforeDeleteB(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

MultipleMethodsAutoGenIntPointWithBeforeDeleteB called before DefaultDeleteBIntPoint in the default DeleteB handler

type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetA added in v0.20.1

type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetA interface {
	BeforeDeleteSetA(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

MultipleMethodsAutoGenIntPointWithBeforeDeleteSetA called before DefaultDeleteSetAIntPoint in the default DeleteSetA handler

type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetB added in v0.20.1

type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetB interface {
	BeforeDeleteSetB(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

MultipleMethodsAutoGenIntPointWithBeforeDeleteSetB called before DefaultDeleteSetBIntPoint in the default DeleteSetB handler

type MultipleMethodsAutoGenIntPointWithBeforeListA added in v0.20.1

type MultipleMethodsAutoGenIntPointWithBeforeListA interface {
	BeforeListA(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

MultipleMethodsAutoGenIntPointWithBeforeListA called before DefaultListAIntPoint in the default ListA handler

type MultipleMethodsAutoGenIntPointWithBeforeListB added in v0.20.1

type MultipleMethodsAutoGenIntPointWithBeforeListB interface {
	BeforeListB(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

MultipleMethodsAutoGenIntPointWithBeforeListB called before DefaultListBIntPoint in the default ListB handler

type MultipleMethodsAutoGenIntPointWithBeforeReadA added in v0.20.1

type MultipleMethodsAutoGenIntPointWithBeforeReadA interface {
	BeforeReadA(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

MultipleMethodsAutoGenIntPointWithBeforeReadA called before DefaultReadAIntPoint in the default ReadA handler

type MultipleMethodsAutoGenIntPointWithBeforeReadB added in v0.20.1

type MultipleMethodsAutoGenIntPointWithBeforeReadB interface {
	BeforeReadB(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

MultipleMethodsAutoGenIntPointWithBeforeReadB called before DefaultReadBIntPoint in the default ReadB handler

type MultipleMethodsAutoGenIntPointWithBeforeUpdateA added in v0.20.1

type MultipleMethodsAutoGenIntPointWithBeforeUpdateA interface {
	BeforeUpdateA(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

MultipleMethodsAutoGenIntPointWithBeforeUpdateA called before DefaultUpdateAIntPoint in the default UpdateA handler

type MultipleMethodsAutoGenIntPointWithBeforeUpdateB added in v0.20.1

type MultipleMethodsAutoGenIntPointWithBeforeUpdateB interface {
	BeforeUpdateB(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

MultipleMethodsAutoGenIntPointWithBeforeUpdateB called before DefaultUpdateBIntPoint in the default UpdateB handler

type PrimaryIncluded added in v0.9.1

type PrimaryIncluded struct {
	Child *ExternalChild `protobuf:"bytes,1,opt,name=child" json:"child,omitempty"`
}

func DefaultApplyFieldMaskPrimaryIncluded added in v0.10.0

func DefaultApplyFieldMaskPrimaryIncluded(ctx context.Context, patchee *PrimaryIncluded, patcher *PrimaryIncluded, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*PrimaryIncluded, error)

DefaultApplyFieldMaskPrimaryIncluded patches an pbObject with patcher according to a field mask.

func DefaultCreatePrimaryIncluded added in v0.9.1

func DefaultCreatePrimaryIncluded(ctx context.Context, in *PrimaryIncluded, db *gorm1.DB) (*PrimaryIncluded, error)

DefaultCreatePrimaryIncluded executes a basic gorm create call

func DefaultListPrimaryIncluded added in v0.9.1

func DefaultListPrimaryIncluded(ctx context.Context, db *gorm1.DB) ([]*PrimaryIncluded, error)

DefaultListPrimaryIncluded executes a gorm list call

func (*PrimaryIncluded) Descriptor added in v0.9.1

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

func (*PrimaryIncluded) GetChild added in v0.9.1

func (m *PrimaryIncluded) GetChild() *ExternalChild

func (*PrimaryIncluded) ProtoMessage added in v0.9.1

func (*PrimaryIncluded) ProtoMessage()

func (*PrimaryIncluded) Reset added in v0.9.1

func (m *PrimaryIncluded) Reset()

func (*PrimaryIncluded) String added in v0.9.1

func (m *PrimaryIncluded) String() string

func (*PrimaryIncluded) ToORM added in v0.9.1

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type PrimaryIncludedORM added in v0.9.1

type PrimaryIncludedORM struct {
	Child *ExternalChildORM `gorm:"foreignkey:PrimaryIncludedId;association_foreignkey:Id"`
	Id    go_uuid1.UUID
}

func (PrimaryIncludedORM) TableName added in v0.9.1

func (PrimaryIncludedORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*PrimaryIncludedORM) ToPB added in v0.9.1

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type PrimaryIncludedORMWithAfterCreate_ added in v0.15.1

type PrimaryIncludedORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type PrimaryIncludedORMWithAfterListFind added in v0.12.0

type PrimaryIncludedORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]PrimaryIncludedORM) error
}

type PrimaryIncludedORMWithBeforeCreate_ added in v0.15.1

type PrimaryIncludedORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryIncludedORMWithBeforeListApplyQuery added in v0.12.0

type PrimaryIncludedORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryIncludedORMWithBeforeListFind added in v0.12.0

type PrimaryIncludedORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryIncludedWithAfterToORM added in v0.9.1

type PrimaryIncludedWithAfterToORM interface {
	AfterToORM(context.Context, *PrimaryIncludedORM) error
}

PrimaryIncludedAfterToORM called after default ToORM code

type PrimaryIncludedWithAfterToPB added in v0.9.1

type PrimaryIncludedWithAfterToPB interface {
	AfterToPB(context.Context, *PrimaryIncluded) error
}

PrimaryIncludedAfterToPB called after default ToPB code

type PrimaryIncludedWithBeforeToORM added in v0.9.1

type PrimaryIncludedWithBeforeToORM interface {
	BeforeToORM(context.Context, *PrimaryIncludedORM) error
}

PrimaryIncludedBeforeToORM called before default ToORM code

type PrimaryIncludedWithBeforeToPB added in v0.9.1

type PrimaryIncludedWithBeforeToPB interface {
	BeforeToPB(context.Context, *PrimaryIncluded) error
}

PrimaryIncludedBeforeToPB called before default ToPB code

type PrimaryStringType added in v0.9.0

type PrimaryStringType struct {
	Id    string         `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Child *ExternalChild `protobuf:"bytes,2,opt,name=child" json:"child,omitempty"`
}

func DefaultApplyFieldMaskPrimaryStringType added in v0.9.0

func DefaultApplyFieldMaskPrimaryStringType(ctx context.Context, patchee *PrimaryStringType, patcher *PrimaryStringType, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*PrimaryStringType, error)

DefaultApplyFieldMaskPrimaryStringType patches an pbObject with patcher according to a field mask.

func DefaultCreatePrimaryStringType added in v0.9.0

func DefaultCreatePrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm1.DB) (*PrimaryStringType, error)

DefaultCreatePrimaryStringType executes a basic gorm create call

func DefaultListPrimaryStringType added in v0.9.0

func DefaultListPrimaryStringType(ctx context.Context, db *gorm1.DB) ([]*PrimaryStringType, error)

DefaultListPrimaryStringType executes a gorm list call

func DefaultPatchPrimaryStringType added in v0.9.0

func DefaultPatchPrimaryStringType(ctx context.Context, in *PrimaryStringType, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*PrimaryStringType, error)

DefaultPatchPrimaryStringType executes a basic gorm update call with patch behavior

func DefaultPatchSetPrimaryStringType added in v0.18.0

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 added in v0.9.0

func DefaultReadPrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm1.DB) (*PrimaryStringType, error)

DefaultReadPrimaryStringType executes a basic gorm read call

func DefaultStrictUpdatePrimaryStringType added in v0.9.0

func DefaultStrictUpdatePrimaryStringType(ctx context.Context, in *PrimaryStringType, db *gorm1.DB) (*PrimaryStringType, error)

DefaultStrictUpdatePrimaryStringType clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*PrimaryStringType) Descriptor added in v0.9.0

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

func (*PrimaryStringType) GetChild added in v0.9.0

func (m *PrimaryStringType) GetChild() *ExternalChild

func (*PrimaryStringType) GetId added in v0.9.0

func (m *PrimaryStringType) GetId() string

func (*PrimaryStringType) ProtoMessage added in v0.9.0

func (*PrimaryStringType) ProtoMessage()

func (*PrimaryStringType) Reset added in v0.9.0

func (m *PrimaryStringType) Reset()

func (*PrimaryStringType) String added in v0.9.0

func (m *PrimaryStringType) String() string

func (*PrimaryStringType) ToORM added in v0.9.0

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type PrimaryStringTypeORM added in v0.9.0

type PrimaryStringTypeORM struct {
	Child *ExternalChildORM `gorm:"foreignkey:PrimaryStringTypeId;association_foreignkey:Id"`
	Id    string
}

func (PrimaryStringTypeORM) TableName added in v0.9.0

func (PrimaryStringTypeORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*PrimaryStringTypeORM) ToPB added in v0.9.0

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type PrimaryStringTypeORMWithAfterCreate_ added in v0.15.1

type PrimaryStringTypeORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type PrimaryStringTypeORMWithAfterDeleteSet added in v0.15.0

type PrimaryStringTypeORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*PrimaryStringType, *gorm1.DB) error
}

type PrimaryStringTypeORMWithAfterDelete_ added in v0.15.1

type PrimaryStringTypeORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type PrimaryStringTypeORMWithAfterListFind added in v0.12.0

type PrimaryStringTypeORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]PrimaryStringTypeORM) error
}

type PrimaryStringTypeORMWithAfterReadFind added in v0.12.0

type PrimaryStringTypeORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type PrimaryStringTypeORMWithAfterStrictUpdateSave added in v0.12.0

type PrimaryStringTypeORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type PrimaryStringTypeORMWithBeforeCreate_ added in v0.15.1

type PrimaryStringTypeORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryStringTypeORMWithBeforeDeleteSet added in v0.15.0

type PrimaryStringTypeORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*PrimaryStringType, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryStringTypeORMWithBeforeDelete_ added in v0.15.1

type PrimaryStringTypeORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryStringTypeORMWithBeforeListApplyQuery added in v0.12.0

type PrimaryStringTypeORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryStringTypeORMWithBeforeListFind added in v0.12.0

type PrimaryStringTypeORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryStringTypeORMWithBeforeReadApplyQuery added in v0.12.0

type PrimaryStringTypeORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryStringTypeORMWithBeforeReadFind added in v0.12.0

type PrimaryStringTypeORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryStringTypeORMWithBeforeStrictUpdateCleanup added in v0.12.0

type PrimaryStringTypeORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryStringTypeORMWithBeforeStrictUpdateSave added in v0.12.0

type PrimaryStringTypeORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryStringTypeWithAfterPatchSave added in v0.12.0

type PrimaryStringTypeWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *PrimaryStringType, *field_mask1.FieldMask, *gorm1.DB) error
}

type PrimaryStringTypeWithAfterToORM added in v0.9.0

type PrimaryStringTypeWithAfterToORM interface {
	AfterToORM(context.Context, *PrimaryStringTypeORM) error
}

PrimaryStringTypeAfterToORM called after default ToORM code

type PrimaryStringTypeWithAfterToPB added in v0.9.0

type PrimaryStringTypeWithAfterToPB interface {
	AfterToPB(context.Context, *PrimaryStringType) error
}

PrimaryStringTypeAfterToPB called after default ToPB code

type PrimaryStringTypeWithBeforePatchApplyFieldMask added in v0.12.0

type PrimaryStringTypeWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *PrimaryStringType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryStringTypeWithBeforePatchRead added in v0.12.0

type PrimaryStringTypeWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *PrimaryStringType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryStringTypeWithBeforePatchSave added in v0.9.1

type PrimaryStringTypeWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *PrimaryStringType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryStringTypeWithBeforeToORM added in v0.9.0

type PrimaryStringTypeWithBeforeToORM interface {
	BeforeToORM(context.Context, *PrimaryStringTypeORM) error
}

PrimaryStringTypeBeforeToORM called before default ToORM code

type PrimaryStringTypeWithBeforeToPB added in v0.9.0

type PrimaryStringTypeWithBeforeToPB interface {
	BeforeToPB(context.Context, *PrimaryStringType) error
}

PrimaryStringTypeBeforeToPB called before default ToPB code

type PrimaryUUIDType added in v0.9.0

type PrimaryUUIDType struct {
	Id    *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 added in v0.9.0

func DefaultApplyFieldMaskPrimaryUUIDType(ctx context.Context, patchee *PrimaryUUIDType, patcher *PrimaryUUIDType, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*PrimaryUUIDType, error)

DefaultApplyFieldMaskPrimaryUUIDType patches an pbObject with patcher according to a field mask.

func DefaultCreatePrimaryUUIDType added in v0.9.0

func DefaultCreatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm1.DB) (*PrimaryUUIDType, error)

DefaultCreatePrimaryUUIDType executes a basic gorm create call

func DefaultListPrimaryUUIDType added in v0.9.0

func DefaultListPrimaryUUIDType(ctx context.Context, db *gorm1.DB) ([]*PrimaryUUIDType, error)

DefaultListPrimaryUUIDType executes a gorm list call

func DefaultPatchPrimaryUUIDType added in v0.9.0

func DefaultPatchPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*PrimaryUUIDType, error)

DefaultPatchPrimaryUUIDType executes a basic gorm update call with patch behavior

func DefaultPatchSetPrimaryUUIDType added in v0.18.0

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 added in v0.9.0

func DefaultReadPrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm1.DB) (*PrimaryUUIDType, error)

DefaultReadPrimaryUUIDType executes a basic gorm read call

func DefaultStrictUpdatePrimaryUUIDType added in v0.9.0

func DefaultStrictUpdatePrimaryUUIDType(ctx context.Context, in *PrimaryUUIDType, db *gorm1.DB) (*PrimaryUUIDType, error)

DefaultStrictUpdatePrimaryUUIDType clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*PrimaryUUIDType) Descriptor added in v0.9.0

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

func (*PrimaryUUIDType) GetChild added in v0.9.0

func (m *PrimaryUUIDType) GetChild() *ExternalChild

func (*PrimaryUUIDType) GetId added in v0.9.0

func (m *PrimaryUUIDType) GetId() *gorm_types.UUIDValue

func (*PrimaryUUIDType) ProtoMessage added in v0.9.0

func (*PrimaryUUIDType) ProtoMessage()

func (*PrimaryUUIDType) Reset added in v0.9.0

func (m *PrimaryUUIDType) Reset()

func (*PrimaryUUIDType) String added in v0.9.0

func (m *PrimaryUUIDType) String() string

func (*PrimaryUUIDType) ToORM added in v0.9.0

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type PrimaryUUIDTypeORM added in v0.9.0

type PrimaryUUIDTypeORM struct {
	Child *ExternalChildORM `gorm:"foreignkey:PrimaryUUIDTypeId;association_foreignkey:Id"`
	Id    *go_uuid1.UUID    `gorm:"type:uuid"`
}

func (PrimaryUUIDTypeORM) TableName added in v0.9.0

func (PrimaryUUIDTypeORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*PrimaryUUIDTypeORM) ToPB added in v0.9.0

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type PrimaryUUIDTypeORMWithAfterCreate_ added in v0.15.1

type PrimaryUUIDTypeORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type PrimaryUUIDTypeORMWithAfterDeleteSet added in v0.15.0

type PrimaryUUIDTypeORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*PrimaryUUIDType, *gorm1.DB) error
}

type PrimaryUUIDTypeORMWithAfterDelete_ added in v0.15.1

type PrimaryUUIDTypeORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type PrimaryUUIDTypeORMWithAfterListFind added in v0.12.0

type PrimaryUUIDTypeORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]PrimaryUUIDTypeORM) error
}

type PrimaryUUIDTypeORMWithAfterReadFind added in v0.12.0

type PrimaryUUIDTypeORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type PrimaryUUIDTypeORMWithAfterStrictUpdateSave added in v0.12.0

type PrimaryUUIDTypeORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type PrimaryUUIDTypeORMWithBeforeCreate_ added in v0.15.1

type PrimaryUUIDTypeORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryUUIDTypeORMWithBeforeDeleteSet added in v0.15.0

type PrimaryUUIDTypeORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*PrimaryUUIDType, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryUUIDTypeORMWithBeforeDelete_ added in v0.15.1

type PrimaryUUIDTypeORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryUUIDTypeORMWithBeforeListApplyQuery added in v0.12.0

type PrimaryUUIDTypeORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryUUIDTypeORMWithBeforeListFind added in v0.12.0

type PrimaryUUIDTypeORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryUUIDTypeORMWithBeforeReadApplyQuery added in v0.12.0

type PrimaryUUIDTypeORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryUUIDTypeORMWithBeforeReadFind added in v0.12.0

type PrimaryUUIDTypeORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryUUIDTypeORMWithBeforeStrictUpdateCleanup added in v0.12.0

type PrimaryUUIDTypeORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryUUIDTypeORMWithBeforeStrictUpdateSave added in v0.12.0

type PrimaryUUIDTypeORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryUUIDTypeWithAfterPatchSave added in v0.12.0

type PrimaryUUIDTypeWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *PrimaryUUIDType, *field_mask1.FieldMask, *gorm1.DB) error
}

type PrimaryUUIDTypeWithAfterToORM added in v0.9.0

type PrimaryUUIDTypeWithAfterToORM interface {
	AfterToORM(context.Context, *PrimaryUUIDTypeORM) error
}

PrimaryUUIDTypeAfterToORM called after default ToORM code

type PrimaryUUIDTypeWithAfterToPB added in v0.9.0

type PrimaryUUIDTypeWithAfterToPB interface {
	AfterToPB(context.Context, *PrimaryUUIDType) error
}

PrimaryUUIDTypeAfterToPB called after default ToPB code

type PrimaryUUIDTypeWithBeforePatchApplyFieldMask added in v0.12.0

type PrimaryUUIDTypeWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *PrimaryUUIDType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryUUIDTypeWithBeforePatchRead added in v0.12.0

type PrimaryUUIDTypeWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *PrimaryUUIDType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryUUIDTypeWithBeforePatchSave added in v0.9.1

type PrimaryUUIDTypeWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *PrimaryUUIDType, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type PrimaryUUIDTypeWithBeforeToORM added in v0.9.0

type PrimaryUUIDTypeWithBeforeToORM interface {
	BeforeToORM(context.Context, *PrimaryUUIDTypeORM) error
}

PrimaryUUIDTypeBeforeToORM called before default ToORM code

type PrimaryUUIDTypeWithBeforeToPB added in v0.9.0

type PrimaryUUIDTypeWithBeforeToPB interface {
	BeforeToPB(context.Context, *PrimaryUUIDType) error
}

PrimaryUUIDTypeBeforeToPB called before default ToPB code

type ReadAccountRequest added in v0.14.0

type ReadAccountRequest struct {
	// For a read request, the id field is the only to be specified
	Id     uint64                       `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Fields *infoblox_api.FieldSelection `protobuf:"bytes,2,opt,name=fields" json:"fields,omitempty"`
}

func (*ReadAccountRequest) Descriptor added in v0.14.0

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

func (*ReadAccountRequest) GetFields added in v0.14.0

func (*ReadAccountRequest) GetId added in v0.14.0

func (m *ReadAccountRequest) GetId() uint64

func (*ReadAccountRequest) ProtoMessage added in v0.14.0

func (*ReadAccountRequest) ProtoMessage()

func (*ReadAccountRequest) Reset added in v0.14.0

func (m *ReadAccountRequest) Reset()

func (*ReadAccountRequest) String added in v0.14.0

func (m *ReadAccountRequest) String() string

type ReadBlogPostsResponse added in v0.14.0

type ReadBlogPostsResponse struct {
	Posts []*BlogPost `protobuf:"bytes,1,rep,name=posts" json:"posts,omitempty"`
}

func (*ReadBlogPostsResponse) Descriptor added in v0.14.0

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

func (*ReadBlogPostsResponse) GetPosts added in v0.14.0

func (m *ReadBlogPostsResponse) GetPosts() []*BlogPost

func (*ReadBlogPostsResponse) ProtoMessage added in v0.14.0

func (*ReadBlogPostsResponse) ProtoMessage()

func (*ReadBlogPostsResponse) Reset added in v0.14.0

func (m *ReadBlogPostsResponse) Reset()

func (*ReadBlogPostsResponse) String added in v0.14.0

func (m *ReadBlogPostsResponse) String() string

type ReadIntPointRequest added in v0.2.0

type ReadIntPointRequest struct {
	// For a read request, the id field is the only to be specified
	Id     uint32                       `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Fields *infoblox_api.FieldSelection `protobuf:"bytes,2,opt,name=fields" json:"fields,omitempty"`
}

func (*ReadIntPointRequest) Descriptor added in v0.2.0

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

func (*ReadIntPointRequest) GetFields added in v0.11.0

func (*ReadIntPointRequest) GetId added in v0.2.0

func (m *ReadIntPointRequest) GetId() uint32

func (*ReadIntPointRequest) ProtoMessage added in v0.2.0

func (*ReadIntPointRequest) ProtoMessage()

func (*ReadIntPointRequest) Reset added in v0.2.0

func (m *ReadIntPointRequest) Reset()

func (*ReadIntPointRequest) String added in v0.2.0

func (m *ReadIntPointRequest) String() string

type ReadIntPointResponse added in v0.2.0

type ReadIntPointResponse struct {
	// Again the type with 'result' name
	Result *IntPoint `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}

func (*ReadIntPointResponse) Descriptor added in v0.2.0

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

func (*ReadIntPointResponse) GetResult added in v0.2.0

func (m *ReadIntPointResponse) GetResult() *IntPoint

func (*ReadIntPointResponse) ProtoMessage added in v0.2.0

func (*ReadIntPointResponse) ProtoMessage()

func (*ReadIntPointResponse) Reset added in v0.2.0

func (m *ReadIntPointResponse) Reset()

func (*ReadIntPointResponse) String added in v0.2.0

func (m *ReadIntPointResponse) String() string

type Something added in v0.2.0

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 added in v0.12.0

func DefaultApplyFieldMaskSomething(ctx context.Context, patchee *Something, patcher *Something, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Something, error)

DefaultApplyFieldMaskSomething patches an pbObject with patcher according to a field mask.

func DefaultCreateSomething added in v0.12.0

func DefaultCreateSomething(ctx context.Context, in *Something, db *gorm1.DB) (*Something, error)

DefaultCreateSomething executes a basic gorm create call

func DefaultListSomething added in v0.12.0

func DefaultListSomething(ctx context.Context, db *gorm1.DB) ([]*Something, error)

DefaultListSomething executes a gorm list call

func (*Something) Descriptor added in v0.2.0

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

func (*Something) GetField added in v0.12.0

func (m *Something) GetField() string

func (*Something) ProtoMessage added in v0.2.0

func (*Something) ProtoMessage()

func (*Something) Reset added in v0.2.0

func (m *Something) Reset()

func (*Something) String added in v0.2.0

func (m *Something) String() string

func (*Something) ToORM added in v0.12.0

func (m *Something) ToORM(ctx context.Context) (SomethingORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type SomethingORM added in v0.12.0

type SomethingORM struct {
	Field string
}

func (SomethingORM) TableName added in v0.12.0

func (SomethingORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*SomethingORM) ToPB added in v0.12.0

func (m *SomethingORM) ToPB(ctx context.Context) (Something, 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 SomethingORMWithAfterCreate_ added in v0.15.1

type SomethingORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type SomethingORMWithAfterListFind added in v0.12.0

type SomethingORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]SomethingORM) error
}

type SomethingORMWithBeforeCreate_ added in v0.15.1

type SomethingORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SomethingORMWithBeforeListApplyQuery added in v0.12.0

type SomethingORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SomethingORMWithBeforeListFind added in v0.12.0

type SomethingORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SomethingWithAfterToORM added in v0.12.0

type SomethingWithAfterToORM interface {
	AfterToORM(context.Context, *SomethingORM) error
}

SomethingAfterToORM called after default ToORM code

type SomethingWithAfterToPB added in v0.12.0

type SomethingWithAfterToPB interface {
	AfterToPB(context.Context, *Something) error
}

SomethingAfterToPB called after default ToPB code

type SomethingWithBeforeToORM added in v0.12.0

type SomethingWithBeforeToORM interface {
	BeforeToORM(context.Context, *SomethingORM) error
}

SomethingBeforeToORM called before default ToORM code

type SomethingWithBeforeToPB added in v0.12.0

type SomethingWithBeforeToPB interface {
	BeforeToPB(context.Context, *Something) error
}

SomethingBeforeToPB called before default ToPB code

type TestAssocHandlerAppend added in v0.20.1

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 added in v0.20.1

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 added in v0.20.1

func DefaultCreateTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm1.DB) (*TestAssocHandlerAppend, error)

DefaultCreateTestAssocHandlerAppend executes a basic gorm create call

func DefaultListTestAssocHandlerAppend added in v0.20.1

func DefaultListTestAssocHandlerAppend(ctx context.Context, db *gorm1.DB) ([]*TestAssocHandlerAppend, error)

DefaultListTestAssocHandlerAppend executes a gorm list call

func DefaultPatchSetTestAssocHandlerAppend added in v0.20.1

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 added in v0.20.1

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 added in v0.20.1

func DefaultReadTestAssocHandlerAppend(ctx context.Context, in *TestAssocHandlerAppend, db *gorm1.DB) (*TestAssocHandlerAppend, error)

DefaultReadTestAssocHandlerAppend executes a basic gorm read call

func DefaultStrictUpdateTestAssocHandlerAppend added in v0.20.1

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 added in v0.20.1

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

func (*TestAssocHandlerAppend) GetId added in v0.20.1

func (m *TestAssocHandlerAppend) GetId() string

func (*TestAssocHandlerAppend) GetTestTagAssoc added in v0.20.1

func (m *TestAssocHandlerAppend) GetTestTagAssoc() []*TestTagAssociation

func (*TestAssocHandlerAppend) ProtoMessage added in v0.20.1

func (*TestAssocHandlerAppend) ProtoMessage()

func (*TestAssocHandlerAppend) Reset added in v0.20.1

func (m *TestAssocHandlerAppend) Reset()

func (*TestAssocHandlerAppend) String added in v0.20.1

func (m *TestAssocHandlerAppend) String() string

func (*TestAssocHandlerAppend) ToORM added in v0.20.1

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type TestAssocHandlerAppendORM added in v0.20.1

type TestAssocHandlerAppendORM struct {
	Id           string
	TestTagAssoc []*TestTagAssociationORM `gorm:"foreignkey:TestAssocHandlerAppendId;association_foreignkey:Id;preload:false;append:true"`
}

func (TestAssocHandlerAppendORM) TableName added in v0.20.1

func (TestAssocHandlerAppendORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*TestAssocHandlerAppendORM) ToPB added in v0.20.1

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type TestAssocHandlerAppendORMWithAfterCreate_ added in v0.20.1

type TestAssocHandlerAppendORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type TestAssocHandlerAppendORMWithAfterDeleteSet added in v0.20.1

type TestAssocHandlerAppendORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*TestAssocHandlerAppend, *gorm1.DB) error
}

type TestAssocHandlerAppendORMWithAfterDelete_ added in v0.20.1

type TestAssocHandlerAppendORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type TestAssocHandlerAppendORMWithAfterListFind added in v0.20.1

type TestAssocHandlerAppendORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]TestAssocHandlerAppendORM) error
}

type TestAssocHandlerAppendORMWithAfterReadFind added in v0.20.1

type TestAssocHandlerAppendORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type TestAssocHandlerAppendORMWithAfterStrictUpdateSave added in v0.20.1

type TestAssocHandlerAppendORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type TestAssocHandlerAppendORMWithBeforeCreate_ added in v0.20.1

type TestAssocHandlerAppendORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerAppendORMWithBeforeDeleteSet added in v0.20.1

type TestAssocHandlerAppendORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*TestAssocHandlerAppend, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerAppendORMWithBeforeDelete_ added in v0.20.1

type TestAssocHandlerAppendORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerAppendORMWithBeforeListApplyQuery added in v0.20.1

type TestAssocHandlerAppendORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerAppendORMWithBeforeListFind added in v0.20.1

type TestAssocHandlerAppendORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerAppendORMWithBeforeReadApplyQuery added in v0.20.1

type TestAssocHandlerAppendORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerAppendORMWithBeforeReadFind added in v0.20.1

type TestAssocHandlerAppendORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerAppendORMWithBeforeStrictUpdateCleanup added in v0.20.1

type TestAssocHandlerAppendORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerAppendORMWithBeforeStrictUpdateSave added in v0.20.1

type TestAssocHandlerAppendORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerAppendWithAfterPatchSave added in v0.20.1

type TestAssocHandlerAppendWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *TestAssocHandlerAppend, *field_mask1.FieldMask, *gorm1.DB) error
}

type TestAssocHandlerAppendWithAfterToORM added in v0.20.1

type TestAssocHandlerAppendWithAfterToORM interface {
	AfterToORM(context.Context, *TestAssocHandlerAppendORM) error
}

TestAssocHandlerAppendAfterToORM called after default ToORM code

type TestAssocHandlerAppendWithAfterToPB added in v0.20.1

type TestAssocHandlerAppendWithAfterToPB interface {
	AfterToPB(context.Context, *TestAssocHandlerAppend) error
}

TestAssocHandlerAppendAfterToPB called after default ToPB code

type TestAssocHandlerAppendWithBeforePatchApplyFieldMask added in v0.20.1

type TestAssocHandlerAppendWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *TestAssocHandlerAppend, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerAppendWithBeforePatchRead added in v0.20.1

type TestAssocHandlerAppendWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *TestAssocHandlerAppend, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerAppendWithBeforePatchSave added in v0.20.1

type TestAssocHandlerAppendWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *TestAssocHandlerAppend, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerAppendWithBeforeToORM added in v0.20.1

type TestAssocHandlerAppendWithBeforeToORM interface {
	BeforeToORM(context.Context, *TestAssocHandlerAppendORM) error
}

TestAssocHandlerAppendBeforeToORM called before default ToORM code

type TestAssocHandlerAppendWithBeforeToPB added in v0.20.1

type TestAssocHandlerAppendWithBeforeToPB interface {
	BeforeToPB(context.Context, *TestAssocHandlerAppend) error
}

TestAssocHandlerAppendBeforeToPB called before default ToPB code

type TestAssocHandlerClear added in v0.20.1

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 added in v0.20.1

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 added in v0.20.1

func DefaultCreateTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm1.DB) (*TestAssocHandlerClear, error)

DefaultCreateTestAssocHandlerClear executes a basic gorm create call

func DefaultListTestAssocHandlerClear added in v0.20.1

func DefaultListTestAssocHandlerClear(ctx context.Context, db *gorm1.DB) ([]*TestAssocHandlerClear, error)

DefaultListTestAssocHandlerClear executes a gorm list call

func DefaultPatchSetTestAssocHandlerClear added in v0.20.1

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 added in v0.20.1

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 added in v0.20.1

func DefaultReadTestAssocHandlerClear(ctx context.Context, in *TestAssocHandlerClear, db *gorm1.DB) (*TestAssocHandlerClear, error)

DefaultReadTestAssocHandlerClear executes a basic gorm read call

func DefaultStrictUpdateTestAssocHandlerClear added in v0.20.1

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 added in v0.20.1

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

func (*TestAssocHandlerClear) GetId added in v0.20.1

func (m *TestAssocHandlerClear) GetId() string

func (*TestAssocHandlerClear) GetTestTagAssoc added in v0.20.1

func (m *TestAssocHandlerClear) GetTestTagAssoc() []*TestTagAssociation

func (*TestAssocHandlerClear) ProtoMessage added in v0.20.1

func (*TestAssocHandlerClear) ProtoMessage()

func (*TestAssocHandlerClear) Reset added in v0.20.1

func (m *TestAssocHandlerClear) Reset()

func (*TestAssocHandlerClear) String added in v0.20.1

func (m *TestAssocHandlerClear) String() string

func (*TestAssocHandlerClear) ToORM added in v0.20.1

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type TestAssocHandlerClearORM added in v0.20.1

type TestAssocHandlerClearORM struct {
	Id           string
	TestTagAssoc []*TestTagAssociationORM `gorm:"foreignkey:TestAssocHandlerClearId;association_foreignkey:Id;preload:false;clear:true"`
}

func (TestAssocHandlerClearORM) TableName added in v0.20.1

func (TestAssocHandlerClearORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*TestAssocHandlerClearORM) ToPB added in v0.20.1

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type TestAssocHandlerClearORMWithAfterCreate_ added in v0.20.1

type TestAssocHandlerClearORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type TestAssocHandlerClearORMWithAfterDeleteSet added in v0.20.1

type TestAssocHandlerClearORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*TestAssocHandlerClear, *gorm1.DB) error
}

type TestAssocHandlerClearORMWithAfterDelete_ added in v0.20.1

type TestAssocHandlerClearORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type TestAssocHandlerClearORMWithAfterListFind added in v0.20.1

type TestAssocHandlerClearORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]TestAssocHandlerClearORM) error
}

type TestAssocHandlerClearORMWithAfterReadFind added in v0.20.1

type TestAssocHandlerClearORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type TestAssocHandlerClearORMWithAfterStrictUpdateSave added in v0.20.1

type TestAssocHandlerClearORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type TestAssocHandlerClearORMWithBeforeCreate_ added in v0.20.1

type TestAssocHandlerClearORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerClearORMWithBeforeDeleteSet added in v0.20.1

type TestAssocHandlerClearORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*TestAssocHandlerClear, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerClearORMWithBeforeDelete_ added in v0.20.1

type TestAssocHandlerClearORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerClearORMWithBeforeListApplyQuery added in v0.20.1

type TestAssocHandlerClearORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerClearORMWithBeforeListFind added in v0.20.1

type TestAssocHandlerClearORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerClearORMWithBeforeReadApplyQuery added in v0.20.1

type TestAssocHandlerClearORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerClearORMWithBeforeReadFind added in v0.20.1

type TestAssocHandlerClearORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerClearORMWithBeforeStrictUpdateCleanup added in v0.20.1

type TestAssocHandlerClearORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerClearORMWithBeforeStrictUpdateSave added in v0.20.1

type TestAssocHandlerClearORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerClearWithAfterPatchSave added in v0.20.1

type TestAssocHandlerClearWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *TestAssocHandlerClear, *field_mask1.FieldMask, *gorm1.DB) error
}

type TestAssocHandlerClearWithAfterToORM added in v0.20.1

type TestAssocHandlerClearWithAfterToORM interface {
	AfterToORM(context.Context, *TestAssocHandlerClearORM) error
}

TestAssocHandlerClearAfterToORM called after default ToORM code

type TestAssocHandlerClearWithAfterToPB added in v0.20.1

type TestAssocHandlerClearWithAfterToPB interface {
	AfterToPB(context.Context, *TestAssocHandlerClear) error
}

TestAssocHandlerClearAfterToPB called after default ToPB code

type TestAssocHandlerClearWithBeforePatchApplyFieldMask added in v0.20.1

type TestAssocHandlerClearWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *TestAssocHandlerClear, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerClearWithBeforePatchRead added in v0.20.1

type TestAssocHandlerClearWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *TestAssocHandlerClear, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerClearWithBeforePatchSave added in v0.20.1

type TestAssocHandlerClearWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *TestAssocHandlerClear, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerClearWithBeforeToORM added in v0.20.1

type TestAssocHandlerClearWithBeforeToORM interface {
	BeforeToORM(context.Context, *TestAssocHandlerClearORM) error
}

TestAssocHandlerClearBeforeToORM called before default ToORM code

type TestAssocHandlerClearWithBeforeToPB added in v0.20.1

type TestAssocHandlerClearWithBeforeToPB interface {
	BeforeToPB(context.Context, *TestAssocHandlerClear) error
}

TestAssocHandlerClearBeforeToPB called before default ToPB code

type TestAssocHandlerDefault added in v0.20.1

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 added in v0.20.1

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 added in v0.20.1

func DefaultCreateTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm1.DB) (*TestAssocHandlerDefault, error)

DefaultCreateTestAssocHandlerDefault executes a basic gorm create call

func DefaultListTestAssocHandlerDefault added in v0.20.1

func DefaultListTestAssocHandlerDefault(ctx context.Context, db *gorm1.DB) ([]*TestAssocHandlerDefault, error)

DefaultListTestAssocHandlerDefault executes a gorm list call

func DefaultPatchSetTestAssocHandlerDefault added in v0.20.1

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 added in v0.20.1

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 added in v0.20.1

func DefaultReadTestAssocHandlerDefault(ctx context.Context, in *TestAssocHandlerDefault, db *gorm1.DB) (*TestAssocHandlerDefault, error)

DefaultReadTestAssocHandlerDefault executes a basic gorm read call

func DefaultStrictUpdateTestAssocHandlerDefault added in v0.20.1

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 added in v0.20.1

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

func (*TestAssocHandlerDefault) GetId added in v0.20.1

func (m *TestAssocHandlerDefault) GetId() string

func (*TestAssocHandlerDefault) GetTestTagAssoc added in v0.20.1

func (m *TestAssocHandlerDefault) GetTestTagAssoc() []*TestTagAssociation

func (*TestAssocHandlerDefault) ProtoMessage added in v0.20.1

func (*TestAssocHandlerDefault) ProtoMessage()

func (*TestAssocHandlerDefault) Reset added in v0.20.1

func (m *TestAssocHandlerDefault) Reset()

func (*TestAssocHandlerDefault) String added in v0.20.1

func (m *TestAssocHandlerDefault) String() string

func (*TestAssocHandlerDefault) ToORM added in v0.20.1

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type TestAssocHandlerDefaultORM added in v0.20.1

type TestAssocHandlerDefaultORM struct {
	Id           string
	TestTagAssoc []*TestTagAssociationORM `gorm:"foreignkey:TestAssocHandlerDefaultId;association_foreignkey:Id;preload:false"`
}

func (TestAssocHandlerDefaultORM) TableName added in v0.20.1

func (TestAssocHandlerDefaultORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*TestAssocHandlerDefaultORM) ToPB added in v0.20.1

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type TestAssocHandlerDefaultORMWithAfterCreate_ added in v0.20.1

type TestAssocHandlerDefaultORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type TestAssocHandlerDefaultORMWithAfterDeleteSet added in v0.20.1

type TestAssocHandlerDefaultORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*TestAssocHandlerDefault, *gorm1.DB) error
}

type TestAssocHandlerDefaultORMWithAfterDelete_ added in v0.20.1

type TestAssocHandlerDefaultORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type TestAssocHandlerDefaultORMWithAfterListFind added in v0.20.1

type TestAssocHandlerDefaultORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]TestAssocHandlerDefaultORM) error
}

type TestAssocHandlerDefaultORMWithAfterReadFind added in v0.20.1

type TestAssocHandlerDefaultORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type TestAssocHandlerDefaultORMWithAfterStrictUpdateSave added in v0.20.1

type TestAssocHandlerDefaultORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type TestAssocHandlerDefaultORMWithBeforeCreate_ added in v0.20.1

type TestAssocHandlerDefaultORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerDefaultORMWithBeforeDeleteSet added in v0.20.1

type TestAssocHandlerDefaultORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*TestAssocHandlerDefault, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerDefaultORMWithBeforeDelete_ added in v0.20.1

type TestAssocHandlerDefaultORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerDefaultORMWithBeforeListApplyQuery added in v0.20.1

type TestAssocHandlerDefaultORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerDefaultORMWithBeforeListFind added in v0.20.1

type TestAssocHandlerDefaultORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerDefaultORMWithBeforeReadApplyQuery added in v0.20.1

type TestAssocHandlerDefaultORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerDefaultORMWithBeforeReadFind added in v0.20.1

type TestAssocHandlerDefaultORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerDefaultORMWithBeforeStrictUpdateCleanup added in v0.20.1

type TestAssocHandlerDefaultORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerDefaultORMWithBeforeStrictUpdateSave added in v0.20.1

type TestAssocHandlerDefaultORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerDefaultWithAfterPatchSave added in v0.20.1

type TestAssocHandlerDefaultWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *TestAssocHandlerDefault, *field_mask1.FieldMask, *gorm1.DB) error
}

type TestAssocHandlerDefaultWithAfterToORM added in v0.20.1

type TestAssocHandlerDefaultWithAfterToORM interface {
	AfterToORM(context.Context, *TestAssocHandlerDefaultORM) error
}

TestAssocHandlerDefaultAfterToORM called after default ToORM code

type TestAssocHandlerDefaultWithAfterToPB added in v0.20.1

type TestAssocHandlerDefaultWithAfterToPB interface {
	AfterToPB(context.Context, *TestAssocHandlerDefault) error
}

TestAssocHandlerDefaultAfterToPB called after default ToPB code

type TestAssocHandlerDefaultWithBeforePatchApplyFieldMask added in v0.20.1

type TestAssocHandlerDefaultWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *TestAssocHandlerDefault, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerDefaultWithBeforePatchRead added in v0.20.1

type TestAssocHandlerDefaultWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *TestAssocHandlerDefault, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerDefaultWithBeforePatchSave added in v0.20.1

type TestAssocHandlerDefaultWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *TestAssocHandlerDefault, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerDefaultWithBeforeToORM added in v0.20.1

type TestAssocHandlerDefaultWithBeforeToORM interface {
	BeforeToORM(context.Context, *TestAssocHandlerDefaultORM) error
}

TestAssocHandlerDefaultBeforeToORM called before default ToORM code

type TestAssocHandlerDefaultWithBeforeToPB added in v0.20.1

type TestAssocHandlerDefaultWithBeforeToPB interface {
	BeforeToPB(context.Context, *TestAssocHandlerDefault) error
}

TestAssocHandlerDefaultBeforeToPB called before default ToPB code

type TestAssocHandlerReplace added in v0.20.1

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 added in v0.20.1

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 added in v0.20.1

func DefaultCreateTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm1.DB) (*TestAssocHandlerReplace, error)

DefaultCreateTestAssocHandlerReplace executes a basic gorm create call

func DefaultListTestAssocHandlerReplace added in v0.20.1

func DefaultListTestAssocHandlerReplace(ctx context.Context, db *gorm1.DB) ([]*TestAssocHandlerReplace, error)

DefaultListTestAssocHandlerReplace executes a gorm list call

func DefaultPatchSetTestAssocHandlerReplace added in v0.20.1

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 added in v0.20.1

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 added in v0.20.1

func DefaultReadTestAssocHandlerReplace(ctx context.Context, in *TestAssocHandlerReplace, db *gorm1.DB) (*TestAssocHandlerReplace, error)

DefaultReadTestAssocHandlerReplace executes a basic gorm read call

func DefaultStrictUpdateTestAssocHandlerReplace added in v0.20.1

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 added in v0.20.1

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

func (*TestAssocHandlerReplace) GetId added in v0.20.1

func (m *TestAssocHandlerReplace) GetId() string

func (*TestAssocHandlerReplace) GetTestTagAssoc added in v0.20.1

func (m *TestAssocHandlerReplace) GetTestTagAssoc() []*TestTagAssociation

func (*TestAssocHandlerReplace) ProtoMessage added in v0.20.1

func (*TestAssocHandlerReplace) ProtoMessage()

func (*TestAssocHandlerReplace) Reset added in v0.20.1

func (m *TestAssocHandlerReplace) Reset()

func (*TestAssocHandlerReplace) String added in v0.20.1

func (m *TestAssocHandlerReplace) String() string

func (*TestAssocHandlerReplace) ToORM added in v0.20.1

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type TestAssocHandlerReplaceORM added in v0.20.1

type TestAssocHandlerReplaceORM struct {
	Id           string
	TestTagAssoc []*TestTagAssociationORM `gorm:"foreignkey:TestAssocHandlerReplaceId;association_foreignkey:Id;preload:false;replace:true"`
}

func (TestAssocHandlerReplaceORM) TableName added in v0.20.1

func (TestAssocHandlerReplaceORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*TestAssocHandlerReplaceORM) ToPB added in v0.20.1

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type TestAssocHandlerReplaceORMWithAfterCreate_ added in v0.20.1

type TestAssocHandlerReplaceORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type TestAssocHandlerReplaceORMWithAfterDeleteSet added in v0.20.1

type TestAssocHandlerReplaceORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*TestAssocHandlerReplace, *gorm1.DB) error
}

type TestAssocHandlerReplaceORMWithAfterDelete_ added in v0.20.1

type TestAssocHandlerReplaceORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type TestAssocHandlerReplaceORMWithAfterListFind added in v0.20.1

type TestAssocHandlerReplaceORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]TestAssocHandlerReplaceORM) error
}

type TestAssocHandlerReplaceORMWithAfterReadFind added in v0.20.1

type TestAssocHandlerReplaceORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type TestAssocHandlerReplaceORMWithAfterStrictUpdateSave added in v0.20.1

type TestAssocHandlerReplaceORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type TestAssocHandlerReplaceORMWithBeforeCreate_ added in v0.20.1

type TestAssocHandlerReplaceORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerReplaceORMWithBeforeDeleteSet added in v0.20.1

type TestAssocHandlerReplaceORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*TestAssocHandlerReplace, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerReplaceORMWithBeforeDelete_ added in v0.20.1

type TestAssocHandlerReplaceORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerReplaceORMWithBeforeListApplyQuery added in v0.20.1

type TestAssocHandlerReplaceORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerReplaceORMWithBeforeListFind added in v0.20.1

type TestAssocHandlerReplaceORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerReplaceORMWithBeforeReadApplyQuery added in v0.20.1

type TestAssocHandlerReplaceORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerReplaceORMWithBeforeReadFind added in v0.20.1

type TestAssocHandlerReplaceORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerReplaceORMWithBeforeStrictUpdateCleanup added in v0.20.1

type TestAssocHandlerReplaceORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerReplaceORMWithBeforeStrictUpdateSave added in v0.20.1

type TestAssocHandlerReplaceORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerReplaceWithAfterPatchSave added in v0.20.1

type TestAssocHandlerReplaceWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *TestAssocHandlerReplace, *field_mask1.FieldMask, *gorm1.DB) error
}

type TestAssocHandlerReplaceWithAfterToORM added in v0.20.1

type TestAssocHandlerReplaceWithAfterToORM interface {
	AfterToORM(context.Context, *TestAssocHandlerReplaceORM) error
}

TestAssocHandlerReplaceAfterToORM called after default ToORM code

type TestAssocHandlerReplaceWithAfterToPB added in v0.20.1

type TestAssocHandlerReplaceWithAfterToPB interface {
	AfterToPB(context.Context, *TestAssocHandlerReplace) error
}

TestAssocHandlerReplaceAfterToPB called after default ToPB code

type TestAssocHandlerReplaceWithBeforePatchApplyFieldMask added in v0.20.1

type TestAssocHandlerReplaceWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *TestAssocHandlerReplace, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerReplaceWithBeforePatchRead added in v0.20.1

type TestAssocHandlerReplaceWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *TestAssocHandlerReplace, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerReplaceWithBeforePatchSave added in v0.20.1

type TestAssocHandlerReplaceWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *TestAssocHandlerReplace, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TestAssocHandlerReplaceWithBeforeToORM added in v0.20.1

type TestAssocHandlerReplaceWithBeforeToORM interface {
	BeforeToORM(context.Context, *TestAssocHandlerReplaceORM) error
}

TestAssocHandlerReplaceBeforeToORM called before default ToORM code

type TestAssocHandlerReplaceWithBeforeToPB added in v0.20.1

type TestAssocHandlerReplaceWithBeforeToPB interface {
	BeforeToPB(context.Context, *TestAssocHandlerReplace) error
}

TestAssocHandlerReplaceBeforeToPB called before default ToPB code

type TestTag added in v0.14.0

type TestTag struct {
	Id           string              `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	TestTagAssoc *TestTagAssociation `protobuf:"bytes,2,opt,name=testTagAssoc" json:"testTagAssoc,omitempty"`
}

func DefaultApplyFieldMaskTestTag added in v0.14.0

func DefaultApplyFieldMaskTestTag(ctx context.Context, patchee *TestTag, patcher *TestTag, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*TestTag, error)

DefaultApplyFieldMaskTestTag patches an pbObject with patcher according to a field mask.

func DefaultCreateTestTag added in v0.14.0

func DefaultCreateTestTag(ctx context.Context, in *TestTag, db *gorm1.DB) (*TestTag, error)

DefaultCreateTestTag executes a basic gorm create call

func DefaultListTestTag added in v0.14.0

func DefaultListTestTag(ctx context.Context, db *gorm1.DB) ([]*TestTag, error)

DefaultListTestTag executes a gorm list call

func DefaultPatchSetTestTag added in v0.18.0

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 added in v0.14.0

func DefaultPatchTestTag(ctx context.Context, in *TestTag, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*TestTag, error)

DefaultPatchTestTag executes a basic gorm update call with patch behavior

func DefaultReadTestTag added in v0.14.0

func DefaultReadTestTag(ctx context.Context, in *TestTag, db *gorm1.DB) (*TestTag, error)

DefaultReadTestTag executes a basic gorm read call

func DefaultStrictUpdateTestTag added in v0.14.0

func DefaultStrictUpdateTestTag(ctx context.Context, in *TestTag, db *gorm1.DB) (*TestTag, error)

DefaultStrictUpdateTestTag clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*TestTag) Descriptor added in v0.14.0

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

func (*TestTag) GetId added in v0.14.0

func (m *TestTag) GetId() string

func (*TestTag) GetTestTagAssoc added in v0.14.0

func (m *TestTag) GetTestTagAssoc() *TestTagAssociation

func (*TestTag) ProtoMessage added in v0.14.0

func (*TestTag) ProtoMessage()

func (*TestTag) Reset added in v0.14.0

func (m *TestTag) Reset()

func (*TestTag) String added in v0.14.0

func (m *TestTag) String() string

func (*TestTag) ToORM added in v0.14.0

func (m *TestTag) ToORM(ctx context.Context) (TestTagORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type TestTagAssociation added in v0.14.0

type TestTagAssociation struct {
	SomeField string `protobuf:"bytes,1,opt,name=some_field,json=someField" json:"some_field,omitempty"`
}

func DefaultApplyFieldMaskTestTagAssociation added in v0.14.0

func DefaultApplyFieldMaskTestTagAssociation(ctx context.Context, patchee *TestTagAssociation, patcher *TestTagAssociation, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*TestTagAssociation, error)

DefaultApplyFieldMaskTestTagAssociation patches an pbObject with patcher according to a field mask.

func DefaultCreateTestTagAssociation added in v0.14.0

func DefaultCreateTestTagAssociation(ctx context.Context, in *TestTagAssociation, db *gorm1.DB) (*TestTagAssociation, error)

DefaultCreateTestTagAssociation executes a basic gorm create call

func DefaultListTestTagAssociation added in v0.14.0

func DefaultListTestTagAssociation(ctx context.Context, db *gorm1.DB) ([]*TestTagAssociation, error)

DefaultListTestTagAssociation executes a gorm list call

func (*TestTagAssociation) Descriptor added in v0.14.0

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

func (*TestTagAssociation) GetSomeField added in v0.14.0

func (m *TestTagAssociation) GetSomeField() string

func (*TestTagAssociation) ProtoMessage added in v0.14.0

func (*TestTagAssociation) ProtoMessage()

func (*TestTagAssociation) Reset added in v0.14.0

func (m *TestTagAssociation) Reset()

func (*TestTagAssociation) String added in v0.14.0

func (m *TestTagAssociation) String() string

func (*TestTagAssociation) ToORM added in v0.14.0

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type TestTagAssociationORM added in v0.13.0

type TestTagAssociationORM struct {
	SomeField                 string
	TestAssocHandlerAppendId  *string
	TestAssocHandlerClearId   *string
	TestAssocHandlerDefaultId *string
	TestAssocHandlerReplaceId *string
	TestTagId                 *string
}

func (TestTagAssociationORM) TableName added in v0.13.0

func (TestTagAssociationORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*TestTagAssociationORM) ToPB added in v0.13.0

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type TestTagAssociationORMWithAfterCreate_ added in v0.15.1

type TestTagAssociationORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type TestTagAssociationORMWithAfterListFind added in v0.13.0

type TestTagAssociationORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]TestTagAssociationORM) error
}

type TestTagAssociationORMWithBeforeCreate_ added in v0.15.1

type TestTagAssociationORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestTagAssociationORMWithBeforeListApplyQuery added in v0.13.0

type TestTagAssociationORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestTagAssociationORMWithBeforeListFind added in v0.13.0

type TestTagAssociationORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestTagAssociationWithAfterToORM added in v0.13.0

type TestTagAssociationWithAfterToORM interface {
	AfterToORM(context.Context, *TestTagAssociationORM) error
}

TestTagAssociationAfterToORM called after default ToORM code

type TestTagAssociationWithAfterToPB added in v0.13.0

type TestTagAssociationWithAfterToPB interface {
	AfterToPB(context.Context, *TestTagAssociation) error
}

TestTagAssociationAfterToPB called after default ToPB code

type TestTagAssociationWithBeforeToORM added in v0.13.0

type TestTagAssociationWithBeforeToORM interface {
	BeforeToORM(context.Context, *TestTagAssociationORM) error
}

TestTagAssociationBeforeToORM called before default ToORM code

type TestTagAssociationWithBeforeToPB added in v0.13.0

type TestTagAssociationWithBeforeToPB interface {
	BeforeToPB(context.Context, *TestTagAssociation) error
}

TestTagAssociationBeforeToPB called before default ToPB code

type TestTagORM added in v0.13.0

type TestTagORM struct {
	Id           string
	TestTagAssoc *TestTagAssociationORM `gorm:"foreignkey:TestTagId;association_foreignkey:Id;preload:false"`
}

func (TestTagORM) TableName added in v0.13.0

func (TestTagORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*TestTagORM) ToPB added in v0.13.0

func (m *TestTagORM) ToPB(ctx context.Context) (TestTag, 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 TestTagORMWithAfterCreate_ added in v0.15.1

type TestTagORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type TestTagORMWithAfterDeleteSet added in v0.15.0

type TestTagORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*TestTag, *gorm1.DB) error
}

type TestTagORMWithAfterDelete_ added in v0.15.1

type TestTagORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type TestTagORMWithAfterListFind added in v0.13.0

type TestTagORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]TestTagORM) error
}

type TestTagORMWithAfterReadFind added in v0.13.0

type TestTagORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type TestTagORMWithAfterStrictUpdateSave added in v0.13.0

type TestTagORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type TestTagORMWithBeforeCreate_ added in v0.15.1

type TestTagORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestTagORMWithBeforeDeleteSet added in v0.15.0

type TestTagORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*TestTag, *gorm1.DB) (*gorm1.DB, error)
}

type TestTagORMWithBeforeDelete_ added in v0.15.1

type TestTagORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestTagORMWithBeforeListApplyQuery added in v0.13.0

type TestTagORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestTagORMWithBeforeListFind added in v0.13.0

type TestTagORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestTagORMWithBeforeReadApplyQuery added in v0.13.0

type TestTagORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestTagORMWithBeforeReadFind added in v0.13.0

type TestTagORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestTagORMWithBeforeStrictUpdateCleanup added in v0.13.0

type TestTagORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestTagORMWithBeforeStrictUpdateSave added in v0.13.0

type TestTagORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestTagWithAfterPatchSave added in v0.13.0

type TestTagWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *TestTag, *field_mask1.FieldMask, *gorm1.DB) error
}

type TestTagWithAfterToORM added in v0.13.0

type TestTagWithAfterToORM interface {
	AfterToORM(context.Context, *TestTagORM) error
}

TestTagAfterToORM called after default ToORM code

type TestTagWithAfterToPB added in v0.13.0

type TestTagWithAfterToPB interface {
	AfterToPB(context.Context, *TestTag) error
}

TestTagAfterToPB called after default ToPB code

type TestTagWithBeforePatchApplyFieldMask added in v0.13.0

type TestTagWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *TestTag, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TestTagWithBeforePatchRead added in v0.13.0

type TestTagWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *TestTag, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TestTagWithBeforePatchSave added in v0.13.0

type TestTagWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *TestTag, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TestTagWithBeforeToORM added in v0.13.0

type TestTagWithBeforeToORM interface {
	BeforeToORM(context.Context, *TestTagORM) error
}

TestTagBeforeToORM called before default ToORM code

type TestTagWithBeforeToPB added in v0.13.0

type TestTagWithBeforeToPB interface {
	BeforeToPB(context.Context, *TestTag) error
}

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 added in v0.10.0

func DefaultApplyFieldMaskTestTypes(ctx context.Context, patchee *TestTypes, patcher *TestTypes, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*TestTypes, error)

DefaultApplyFieldMaskTestTypes patches an pbObject with patcher according to a field mask.

func DefaultCreateTestTypes

func DefaultCreateTestTypes(ctx context.Context, in *TestTypes, db *gorm1.DB) (*TestTypes, error)

DefaultCreateTestTypes executes a basic gorm create call

func DefaultListTestTypes

func DefaultListTestTypes(ctx context.Context, db *gorm1.DB) ([]*TestTypes, error)

DefaultListTestTypes executes a gorm list call

func (*TestTypes) Descriptor

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

func (*TestTypes) GetApiOnlyString

func (m *TestTypes) GetApiOnlyString() string

func (*TestTypes) GetBecomesInt

func (m *TestTypes) GetBecomesInt() TestTypesStatus

func (*TestTypes) GetCreatedAt

func (m *TestTypes) GetCreatedAt() *google_protobuf3.Timestamp

func (*TestTypes) GetJsonField added in v0.5.0

func (m *TestTypes) GetJsonField() *gorm_types.JSONValue

func (*TestTypes) GetNothingness

func (m *TestTypes) GetNothingness() *google_protobuf2.Empty

func (*TestTypes) GetNullableUuid added in v0.5.1

func (m *TestTypes) GetNullableUuid() *gorm_types.UUIDValue

func (*TestTypes) GetNumbers

func (m *TestTypes) GetNumbers() []int32

func (*TestTypes) GetOptionalString

func (m *TestTypes) GetOptionalString() *google_protobuf1.StringValue

func (*TestTypes) GetTimeOnly added in v0.16.0

func (m *TestTypes) GetTimeOnly() *gorm_types.TimeOnly

func (*TestTypes) GetTypeWithIdId added in v0.2.0

func (m *TestTypes) GetTypeWithIdId() uint32

func (*TestTypes) GetUuid

func (m *TestTypes) GetUuid() *gorm_types.UUID

func (*TestTypes) ProtoMessage

func (*TestTypes) ProtoMessage()

func (*TestTypes) Reset

func (m *TestTypes) Reset()

func (*TestTypes) String

func (m *TestTypes) String() string

func (*TestTypes) ToORM added in v0.2.1

func (m *TestTypes) ToORM(ctx context.Context) (TestTypesORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

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

func (*TestTypesORM) ToPB added in v0.2.1

func (m *TestTypesORM) ToPB(ctx context.Context) (TestTypes, 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 TestTypesORMWithAfterCreate_ added in v0.15.1

type TestTypesORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type TestTypesORMWithAfterListFind added in v0.12.0

type TestTypesORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]TestTypesORM) error
}

type TestTypesORMWithBeforeCreate_ added in v0.15.1

type TestTypesORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestTypesORMWithBeforeListApplyQuery added in v0.12.0

type TestTypesORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestTypesORMWithBeforeListFind added in v0.12.0

type TestTypesORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TestTypesStatus

type TestTypesStatus int32

enums are mapped to the their underlying numeric value in the db. This is practical from an API perspective, but tougher for debugging. Strings with validation constraints can be used instead if desired

const (
	TestTypes_UNKNOWN TestTypesStatus = 0
	TestTypes_GOOD    TestTypesStatus = 1
	TestTypes_BAD     TestTypesStatus = 2
)

func (TestTypesStatus) EnumDescriptor

func (TestTypesStatus) EnumDescriptor() ([]byte, []int)

func (TestTypesStatus) String

func (x TestTypesStatus) String() string

type TestTypesWithAfterToORM added in v0.2.1

type TestTypesWithAfterToORM interface {
	AfterToORM(context.Context, *TestTypesORM) error
}

TestTypesAfterToORM called after default ToORM code

type TestTypesWithAfterToPB added in v0.2.1

type TestTypesWithAfterToPB interface {
	AfterToPB(context.Context, *TestTypes) error
}

TestTypesAfterToPB called after default ToPB code

type TestTypesWithBeforeToORM added in v0.2.1

type TestTypesWithBeforeToORM interface {
	BeforeToORM(context.Context, *TestTypesORM) error
}

TestTypesBeforeToORM called before default ToORM code

type TestTypesWithBeforeToPB added in v0.2.1

type TestTypesWithBeforeToPB interface {
	BeforeToPB(context.Context, *TestTypes) error
}

TestTypesBeforeToPB called before default ToPB code

type TypeWithID added in v0.2.0

type TypeWithID struct {
	// any field named 'id' is assumed by gorm to be the primary key for the
	// object.
	Id uint32 `protobuf:"varint,1,opt,name=id" 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 added in v0.9.0

func DefaultApplyFieldMaskTypeWithID(ctx context.Context, patchee *TypeWithID, patcher *TypeWithID, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*TypeWithID, error)

DefaultApplyFieldMaskTypeWithID patches an pbObject with patcher according to a field mask.

func DefaultCreateTypeWithID

func DefaultCreateTypeWithID(ctx context.Context, in *TypeWithID, db *gorm1.DB) (*TypeWithID, error)

DefaultCreateTypeWithID executes a basic gorm create call

func DefaultListTypeWithID added in v0.2.0

func DefaultListTypeWithID(ctx context.Context, db *gorm1.DB) ([]*TypeWithID, error)

DefaultListTypeWithID executes a gorm list call

func DefaultPatchSetTypeWithID added in v0.18.0

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 added in v0.9.0

func DefaultPatchTypeWithID(ctx context.Context, in *TypeWithID, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*TypeWithID, error)

DefaultPatchTypeWithID executes a basic gorm update call with patch behavior

func DefaultReadTypeWithID

func DefaultReadTypeWithID(ctx context.Context, in *TypeWithID, db *gorm1.DB) (*TypeWithID, error)

DefaultReadTypeWithID executes a basic gorm read call

func DefaultStrictUpdateTypeWithID

func DefaultStrictUpdateTypeWithID(ctx context.Context, in *TypeWithID, db *gorm1.DB) (*TypeWithID, error)

DefaultStrictUpdateTypeWithID clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*TypeWithID) AfterToORM added in v0.7.0

func (pb *TypeWithID) AfterToORM(ctx context.Context, orm *TypeWithIDORM) error

func (*TypeWithID) Descriptor added in v0.2.0

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

func (*TypeWithID) GetANestedObject added in v0.2.0

func (m *TypeWithID) GetANestedObject() *TestTypes

func (*TypeWithID) GetAddress added in v0.6.0

func (m *TypeWithID) GetAddress() *gorm_types.InetValue

func (*TypeWithID) GetDeletedAt added in v0.16.0

func (m *TypeWithID) GetDeletedAt() *google_protobuf3.Timestamp

func (*TypeWithID) GetDoubleField added in v0.15.1

func (m *TypeWithID) GetDoubleField() *google_protobuf1.DoubleValue

func (*TypeWithID) GetFloatField added in v0.15.1

func (m *TypeWithID) GetFloatField() *google_protobuf1.FloatValue

func (*TypeWithID) GetId added in v0.2.0

func (m *TypeWithID) GetId() uint32

func (*TypeWithID) GetIp added in v0.2.0

func (m *TypeWithID) GetIp() string

func (*TypeWithID) GetMultiaccountTypeIds added in v0.7.0

func (m *TypeWithID) GetMultiaccountTypeIds() []uint32

func (*TypeWithID) GetPoint added in v0.6.0

func (m *TypeWithID) GetPoint() *IntPoint

func (*TypeWithID) GetSyntheticField added in v0.12.0

func (m *TypeWithID) GetSyntheticField() *APIOnlyType

func (*TypeWithID) GetTagSizeTest added in v0.15.0

func (m *TypeWithID) GetTagSizeTest() string

func (*TypeWithID) GetTagTest added in v0.15.0

func (m *TypeWithID) GetTagTest() float32

func (*TypeWithID) GetThings added in v0.2.0

func (m *TypeWithID) GetThings() []*TestTypes

func (*TypeWithID) GetTimeOnly added in v0.16.0

func (m *TypeWithID) GetTimeOnly() *gorm_types.TimeOnly

func (*TypeWithID) GetUser added in v0.6.0

func (m *TypeWithID) GetUser() *user.User

func (*TypeWithID) ProtoMessage added in v0.2.0

func (*TypeWithID) ProtoMessage()

func (*TypeWithID) Reset added in v0.2.0

func (m *TypeWithID) Reset()

func (*TypeWithID) String added in v0.2.0

func (m *TypeWithID) String() string

func (*TypeWithID) ToORM added in v0.2.1

func (m *TypeWithID) ToORM(ctx context.Context) (TypeWithIDORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

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 added in v0.7.0

func (orm *TypeWithIDORM) AfterToPB(ctx context.Context, pb *TypeWithID) error

func (TypeWithIDORM) TableName

func (TypeWithIDORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*TypeWithIDORM) ToPB added in v0.2.1

func (m *TypeWithIDORM) ToPB(ctx context.Context) (TypeWithID, error)

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type TypeWithIDORMWithAfterCreate_ added in v0.15.1

type TypeWithIDORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type TypeWithIDORMWithAfterDeleteSet added in v0.15.0

type TypeWithIDORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*TypeWithID, *gorm1.DB) error
}

type TypeWithIDORMWithAfterDelete_ added in v0.15.1

type TypeWithIDORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type TypeWithIDORMWithAfterListFind added in v0.12.0

type TypeWithIDORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]TypeWithIDORM) error
}

type TypeWithIDORMWithAfterReadFind added in v0.12.0

type TypeWithIDORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type TypeWithIDORMWithAfterStrictUpdateSave added in v0.12.0

type TypeWithIDORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type TypeWithIDORMWithBeforeCreate_ added in v0.15.1

type TypeWithIDORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TypeWithIDORMWithBeforeDeleteSet added in v0.15.0

type TypeWithIDORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*TypeWithID, *gorm1.DB) (*gorm1.DB, error)
}

type TypeWithIDORMWithBeforeDelete_ added in v0.15.1

type TypeWithIDORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TypeWithIDORMWithBeforeListApplyQuery added in v0.12.0

type TypeWithIDORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TypeWithIDORMWithBeforeListFind added in v0.12.0

type TypeWithIDORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TypeWithIDORMWithBeforeReadApplyQuery added in v0.12.0

type TypeWithIDORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TypeWithIDORMWithBeforeReadFind added in v0.12.0

type TypeWithIDORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TypeWithIDORMWithBeforeStrictUpdateCleanup added in v0.12.0

type TypeWithIDORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TypeWithIDORMWithBeforeStrictUpdateSave added in v0.12.0

type TypeWithIDORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TypeWithIDWithAfterPatchSave added in v0.12.0

type TypeWithIDWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *TypeWithID, *field_mask1.FieldMask, *gorm1.DB) error
}

type TypeWithIDWithAfterToORM added in v0.2.1

type TypeWithIDWithAfterToORM interface {
	AfterToORM(context.Context, *TypeWithIDORM) error
}

TypeWithIDAfterToORM called after default ToORM code

type TypeWithIDWithAfterToPB added in v0.2.1

type TypeWithIDWithAfterToPB interface {
	AfterToPB(context.Context, *TypeWithID) error
}

TypeWithIDAfterToPB called after default ToPB code

type TypeWithIDWithBeforePatchApplyFieldMask added in v0.12.0

type TypeWithIDWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *TypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TypeWithIDWithBeforePatchRead added in v0.12.0

type TypeWithIDWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *TypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TypeWithIDWithBeforePatchSave added in v0.9.1

type TypeWithIDWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *TypeWithID, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TypeWithIDWithBeforeToORM added in v0.2.1

type TypeWithIDWithBeforeToORM interface {
	BeforeToORM(context.Context, *TypeWithIDORM) error
}

TypeWithIDBeforeToORM called before default ToORM code

type TypeWithIDWithBeforeToPB added in v0.2.1

type TypeWithIDWithBeforeToPB interface {
	BeforeToPB(context.Context, *TypeWithID) error
}

TypeWithIDBeforeToPB called before default ToPB code

type UpdateIntPointRequest added in v0.2.0

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 added in v0.2.0

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

func (*UpdateIntPointRequest) GetGerogeriGegege added in v0.9.0

func (m *UpdateIntPointRequest) GetGerogeriGegege() *google_protobuf4.FieldMask

func (*UpdateIntPointRequest) GetPayload added in v0.2.0

func (m *UpdateIntPointRequest) GetPayload() *IntPoint

func (*UpdateIntPointRequest) ProtoMessage added in v0.2.0

func (*UpdateIntPointRequest) ProtoMessage()

func (*UpdateIntPointRequest) Reset added in v0.2.0

func (m *UpdateIntPointRequest) Reset()

func (*UpdateIntPointRequest) String added in v0.2.0

func (m *UpdateIntPointRequest) String() string

type UpdateIntPointResponse added in v0.2.0

type UpdateIntPointResponse struct {
	Result *IntPoint `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}

func (*UpdateIntPointResponse) Descriptor added in v0.2.0

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

func (*UpdateIntPointResponse) GetResult added in v0.2.0

func (m *UpdateIntPointResponse) GetResult() *IntPoint

func (*UpdateIntPointResponse) ProtoMessage added in v0.2.0

func (*UpdateIntPointResponse) ProtoMessage()

func (*UpdateIntPointResponse) Reset added in v0.2.0

func (m *UpdateIntPointResponse) Reset()

func (*UpdateIntPointResponse) String added in v0.2.0

func (m *UpdateIntPointResponse) String() string

type UpdateSetIntPointRequest added in v0.18.0

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 added in v0.18.0

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

func (*UpdateSetIntPointRequest) GetMasks added in v0.18.0

func (*UpdateSetIntPointRequest) GetObjects added in v0.18.0

func (m *UpdateSetIntPointRequest) GetObjects() []*IntPoint

func (*UpdateSetIntPointRequest) ProtoMessage added in v0.18.0

func (*UpdateSetIntPointRequest) ProtoMessage()

func (*UpdateSetIntPointRequest) Reset added in v0.18.0

func (m *UpdateSetIntPointRequest) Reset()

func (*UpdateSetIntPointRequest) String added in v0.18.0

func (m *UpdateSetIntPointRequest) String() string

type UpdateSetIntPointResponse added in v0.18.0

type UpdateSetIntPointResponse struct {
	Results []*IntPoint `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}

func (*UpdateSetIntPointResponse) Descriptor added in v0.18.0

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

func (*UpdateSetIntPointResponse) GetResults added in v0.18.0

func (m *UpdateSetIntPointResponse) GetResults() []*IntPoint

func (*UpdateSetIntPointResponse) ProtoMessage added in v0.18.0

func (*UpdateSetIntPointResponse) ProtoMessage()

func (*UpdateSetIntPointResponse) Reset added in v0.18.0

func (m *UpdateSetIntPointResponse) Reset()

func (*UpdateSetIntPointResponse) String added in v0.18.0

func (m *UpdateSetIntPointResponse) String() string

Jump to

Keyboard shortcuts

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