example

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: GPL-3.0 Imports: 29 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

Index

Constants

This section is empty.

Variables

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

Enum value maps for TestTypesStatus.

View Source
var File_example_feature_demo_demo_multi_file_proto protoreflect.FileDescriptor
View Source
var File_example_feature_demo_demo_multi_file_service_proto protoreflect.FileDescriptor
View Source
var File_example_feature_demo_demo_service_proto protoreflect.FileDescriptor
View Source
var File_example_feature_demo_demo_types_proto protoreflect.FileDescriptor

Functions

func DefaultDeleteBlogPost

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

func DefaultDeleteBlogPostSet

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

func DefaultDeleteExternalChild

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

func DefaultDeleteExternalChildSet

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

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

func DefaultDeleteMultiaccountTypeWithID

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

func DefaultDeleteMultiaccountTypeWithIDSet

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

func DefaultDeletePrimaryStringType

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

func DefaultDeletePrimaryStringTypeSet

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

func DefaultDeletePrimaryUUIDType

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

func DefaultDeletePrimaryUUIDTypeSet

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

func DefaultDeleteTestAssocHandlerAppend

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

func DefaultDeleteTestAssocHandlerAppendSet

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

func DefaultDeleteTestAssocHandlerClear

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

func DefaultDeleteTestAssocHandlerClearSet

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

func DefaultDeleteTestAssocHandlerDefault

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

func DefaultDeleteTestAssocHandlerDefaultSet

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

func DefaultDeleteTestAssocHandlerReplace

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

func DefaultDeleteTestAssocHandlerReplaceSet

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

func DefaultDeleteTestTag

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

func DefaultDeleteTestTagSet

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

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

Types

type APIOnlyType

type APIOnlyType struct {

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

func (*APIOnlyType) Descriptor deprecated

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

Deprecated: Use APIOnlyType.ProtoReflect.Descriptor instead.

func (*APIOnlyType) GetContents

func (x *APIOnlyType) GetContents() string

func (*APIOnlyType) ProtoMessage

func (*APIOnlyType) ProtoMessage()

func (*APIOnlyType) ProtoReflect

func (x *APIOnlyType) ProtoReflect() protoreflect.Message

func (*APIOnlyType) Reset

func (x *APIOnlyType) Reset()

func (*APIOnlyType) String

func (x *APIOnlyType) String() string

type BlogPost

type BlogPost struct {
	Id     uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Title  string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Author string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"`
	// contains filtered or unexported fields
}

func DefaultApplyFieldMaskBlogPost

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

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

DefaultCreateBlogPost executes a basic gorm create call

func DefaultListBlogPost

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

DefaultListBlogPost executes a gorm list call

func DefaultPatchBlogPost

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

DefaultPatchBlogPost executes a basic gorm update call with patch behavior

func DefaultPatchSetBlogPost

func DefaultPatchSetBlogPost(ctx context.Context, objects []*BlogPost, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*BlogPost, error)

DefaultPatchSetBlogPost executes a bulk gorm update call with patch behavior

func DefaultReadBlogPost

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

DefaultReadBlogPost executes a basic gorm read call

func DefaultStrictUpdateBlogPost

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

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

func (*BlogPost) Descriptor deprecated

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

Deprecated: Use BlogPost.ProtoReflect.Descriptor instead.

func (*BlogPost) GetAuthor

func (x *BlogPost) GetAuthor() string

func (*BlogPost) GetId

func (x *BlogPost) GetId() uint64

func (*BlogPost) GetTitle

func (x *BlogPost) GetTitle() string

func (*BlogPost) ProtoMessage

func (*BlogPost) ProtoMessage()

func (*BlogPost) ProtoReflect

func (x *BlogPost) ProtoReflect() protoreflect.Message

func (*BlogPost) Reset

func (x *BlogPost) Reset()

func (*BlogPost) String

func (x *BlogPost) String() string

func (*BlogPost) ToORM

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

type BlogPostORM struct {
	Author string
	Id     uint64
	Title  string
}

func (BlogPostORM) TableName

func (BlogPostORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*BlogPostORM) ToPB

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_

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

type BlogPostORMWithAfterDeleteSet

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

type BlogPostORMWithAfterDelete_

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

type BlogPostORMWithAfterListFind

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

type BlogPostORMWithAfterReadFind

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

type BlogPostORMWithAfterStrictUpdateSave

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

type BlogPostORMWithBeforeCreate_

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

type BlogPostORMWithBeforeDeleteSet

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

type BlogPostORMWithBeforeDelete_

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

type BlogPostORMWithBeforeListApplyQuery

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

type BlogPostORMWithBeforeListFind

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

type BlogPostORMWithBeforeReadApplyQuery

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

type BlogPostORMWithBeforeReadFind

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

type BlogPostORMWithBeforeStrictUpdateCleanup

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

type BlogPostORMWithBeforeStrictUpdateSave

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

type BlogPostServiceDefaultServer

type BlogPostServiceDefaultServer struct {
	DB *gorm1.DB
}

func (*BlogPostServiceDefaultServer) Read

Read ...

type BlogPostWithAfterPatchSave

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

type BlogPostWithAfterToORM

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

BlogPostAfterToORM called after default ToORM code

type BlogPostWithAfterToPB

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

BlogPostAfterToPB called after default ToPB code

type BlogPostWithBeforePatchApplyFieldMask

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

type BlogPostWithBeforePatchRead

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

type BlogPostWithBeforePatchSave

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

type BlogPostWithBeforeToORM

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

BlogPostBeforeToORM called before default ToORM code

type BlogPostWithBeforeToPB

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

BlogPostBeforeToPB called before default ToPB code

type Circle

type Circle struct {
	R uint32 `protobuf:"varint,1,opt,name=r,proto3" json:"r,omitempty"`
	// contains filtered or unexported fields
}

func DefaultApplyFieldMaskCircle

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

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

func DefaultCreateCircle

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

DefaultCreateCircle executes a basic gorm create call

func DefaultListCircle

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

DefaultListCircle executes a gorm list call

func (*Circle) Descriptor deprecated

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

Deprecated: Use Circle.ProtoReflect.Descriptor instead.

func (*Circle) GetR

func (x *Circle) GetR() uint32

func (*Circle) ProtoMessage

func (*Circle) ProtoMessage()

func (*Circle) ProtoReflect

func (x *Circle) ProtoReflect() protoreflect.Message

func (*Circle) Reset

func (x *Circle) Reset()

func (*Circle) String

func (x *Circle) String() string

func (*Circle) ToORM

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

type CircleORM struct {
	R uint32
}

func (CircleORM) TableName

func (CircleORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*CircleORM) ToPB

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_

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

type CircleORMWithAfterListFind

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

type CircleORMWithBeforeCreate_

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

type CircleORMWithBeforeListApplyQuery

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

type CircleORMWithBeforeListFind

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

type CircleServiceCircleWithAfterList

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

CircleServiceCircleWithAfterList called before DefaultListCircle in the default List handler

type CircleServiceCircleWithBeforeList

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

CircleServiceCircleWithBeforeList called before DefaultListCircle in the default List handler

type CircleServiceDefaultServer

type CircleServiceDefaultServer struct {
	DB *gorm1.DB
}

func (*CircleServiceDefaultServer) List

List ...

type CircleWithAfterToORM

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

CircleAfterToORM called after default ToORM code

type CircleWithAfterToPB

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

CircleAfterToPB called after default ToPB code

type CircleWithBeforeToORM

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

CircleBeforeToORM called before default ToORM code

type CircleWithBeforeToPB

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

CircleBeforeToPB called before default ToPB code

type CreateIntPointRequest

type CreateIntPointRequest struct {

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

func (*CreateIntPointRequest) Descriptor deprecated

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

Deprecated: Use CreateIntPointRequest.ProtoReflect.Descriptor instead.

func (*CreateIntPointRequest) GetPayload

func (x *CreateIntPointRequest) GetPayload() *IntPoint

func (*CreateIntPointRequest) ProtoMessage

func (*CreateIntPointRequest) ProtoMessage()

func (*CreateIntPointRequest) ProtoReflect

func (x *CreateIntPointRequest) ProtoReflect() protoreflect.Message

func (*CreateIntPointRequest) Reset

func (x *CreateIntPointRequest) Reset()

func (*CreateIntPointRequest) String

func (x *CreateIntPointRequest) String() string

type CreateIntPointResponse

type CreateIntPointResponse struct {

	// Convention also requires that the return type be the same and named 'result'
	Result *IntPoint `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateIntPointResponse) Descriptor deprecated

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

Deprecated: Use CreateIntPointResponse.ProtoReflect.Descriptor instead.

func (*CreateIntPointResponse) GetResult

func (x *CreateIntPointResponse) GetResult() *IntPoint

func (*CreateIntPointResponse) ProtoMessage

func (*CreateIntPointResponse) ProtoMessage()

func (*CreateIntPointResponse) ProtoReflect

func (x *CreateIntPointResponse) ProtoReflect() protoreflect.Message

func (*CreateIntPointResponse) Reset

func (x *CreateIntPointResponse) Reset()

func (*CreateIntPointResponse) String

func (x *CreateIntPointResponse) String() string

type DeleteIntPointRequest

type DeleteIntPointRequest struct {

	// Only the id is needed for a delete request
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteIntPointRequest) Descriptor deprecated

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

Deprecated: Use DeleteIntPointRequest.ProtoReflect.Descriptor instead.

func (*DeleteIntPointRequest) GetId

func (x *DeleteIntPointRequest) GetId() uint32

func (*DeleteIntPointRequest) ProtoMessage

func (*DeleteIntPointRequest) ProtoMessage()

func (*DeleteIntPointRequest) ProtoReflect

func (x *DeleteIntPointRequest) ProtoReflect() protoreflect.Message

func (*DeleteIntPointRequest) Reset

func (x *DeleteIntPointRequest) Reset()

func (*DeleteIntPointRequest) String

func (x *DeleteIntPointRequest) String() string

type DeleteIntPointResponse

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

By convention, on DELETE no response data is given, so either a google.protobuf.empty, or an empty struct is sufficient

func (*DeleteIntPointResponse) Descriptor deprecated

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

Deprecated: Use DeleteIntPointResponse.ProtoReflect.Descriptor instead.

func (*DeleteIntPointResponse) ProtoMessage

func (*DeleteIntPointResponse) ProtoMessage()

func (*DeleteIntPointResponse) ProtoReflect

func (x *DeleteIntPointResponse) ProtoReflect() protoreflect.Message

func (*DeleteIntPointResponse) Reset

func (x *DeleteIntPointResponse) Reset()

func (*DeleteIntPointResponse) String

func (x *DeleteIntPointResponse) String() string

type DeleteIntPointsRequest

type DeleteIntPointsRequest struct {

	// Only the id is needed for a delete request
	Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteIntPointsRequest) Descriptor deprecated

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

Deprecated: Use DeleteIntPointsRequest.ProtoReflect.Descriptor instead.

func (*DeleteIntPointsRequest) GetIds

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

func (*DeleteIntPointsRequest) ProtoMessage

func (*DeleteIntPointsRequest) ProtoMessage()

func (*DeleteIntPointsRequest) ProtoReflect

func (x *DeleteIntPointsRequest) ProtoReflect() protoreflect.Message

func (*DeleteIntPointsRequest) Reset

func (x *DeleteIntPointsRequest) Reset()

func (*DeleteIntPointsRequest) String

func (x *DeleteIntPointsRequest) String() string

type ExternalChild

type ExternalChild struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func DefaultApplyFieldMaskExternalChild

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

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

func DefaultCreateExternalChild

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

DefaultCreateExternalChild executes a basic gorm create call

func DefaultListExternalChild

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

DefaultListExternalChild executes a gorm list call

func DefaultPatchExternalChild

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

DefaultPatchExternalChild executes a basic gorm update call with patch behavior

func DefaultPatchSetExternalChild

func DefaultPatchSetExternalChild(ctx context.Context, objects []*ExternalChild, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*ExternalChild, error)

DefaultPatchSetExternalChild executes a bulk gorm update call with patch behavior

func DefaultReadExternalChild

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

DefaultReadExternalChild executes a basic gorm read call

func DefaultStrictUpdateExternalChild

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

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

func (*ExternalChild) Descriptor deprecated

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

Deprecated: Use ExternalChild.ProtoReflect.Descriptor instead.

func (*ExternalChild) GetId

func (x *ExternalChild) GetId() string

func (*ExternalChild) ProtoMessage

func (*ExternalChild) ProtoMessage()

func (*ExternalChild) ProtoReflect

func (x *ExternalChild) ProtoReflect() protoreflect.Message

func (*ExternalChild) Reset

func (x *ExternalChild) Reset()

func (*ExternalChild) String

func (x *ExternalChild) String() string

func (*ExternalChild) ToORM

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

type ExternalChildORM

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

func (ExternalChildORM) TableName

func (ExternalChildORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*ExternalChildORM) ToPB

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_

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

type ExternalChildORMWithAfterDeleteSet

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

type ExternalChildORMWithAfterDelete_

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

type ExternalChildORMWithAfterListFind

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

type ExternalChildORMWithAfterReadFind

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

type ExternalChildORMWithAfterStrictUpdateSave

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

type ExternalChildORMWithBeforeCreate_

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

type ExternalChildORMWithBeforeDeleteSet

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

type ExternalChildORMWithBeforeDelete_

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

type ExternalChildORMWithBeforeListApplyQuery

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

type ExternalChildORMWithBeforeListFind

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

type ExternalChildORMWithBeforeReadApplyQuery

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

type ExternalChildORMWithBeforeReadFind

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

type ExternalChildORMWithBeforeStrictUpdateCleanup

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

type ExternalChildORMWithBeforeStrictUpdateSave

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

type ExternalChildWithAfterPatchSave

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

type ExternalChildWithAfterToORM

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

ExternalChildAfterToORM called after default ToORM code

type ExternalChildWithAfterToPB

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

ExternalChildAfterToPB called after default ToPB code

type ExternalChildWithBeforePatchApplyFieldMask

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

type ExternalChildWithBeforePatchRead

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

type ExternalChildWithBeforePatchSave

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

type ExternalChildWithBeforeToORM

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

ExternalChildBeforeToORM called before default ToORM code

type ExternalChildWithBeforeToPB

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

ExternalChildBeforeToPB called before default ToPB code

type IntPoint

type IntPoint struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	X  int32  `protobuf:"varint,2,opt,name=x,proto3" json:"x,omitempty"`
	Y  int32  `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

IntPoint is a basic message type representing a single cartesian point that we want to store in a database

func DefaultApplyFieldMaskIntPoint

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

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

DefaultPatchIntPoint executes a basic gorm update call with patch behavior

func DefaultPatchSetIntPoint

func DefaultPatchSetIntPoint(ctx context.Context, objects []*IntPoint, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*IntPoint, error)

DefaultPatchSetIntPoint executes a bulk gorm update call with patch behavior

func DefaultReadIntPoint

func DefaultReadIntPoint(ctx context.Context, in *IntPoint, db *gorm1.DB, fs *query1.FieldSelection) (*IntPoint, error)

DefaultReadIntPoint executes a basic gorm read call

func DefaultStrictUpdateIntPoint

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

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

func (*IntPoint) Descriptor deprecated

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

Deprecated: Use IntPoint.ProtoReflect.Descriptor instead.

func (*IntPoint) GetId

func (x *IntPoint) GetId() uint32

func (*IntPoint) GetX

func (x *IntPoint) GetX() int32

func (*IntPoint) GetY

func (x *IntPoint) GetY() int32

func (*IntPoint) ProtoMessage

func (*IntPoint) ProtoMessage()

func (*IntPoint) ProtoReflect

func (x *IntPoint) ProtoReflect() protoreflect.Message

func (*IntPoint) Reset

func (x *IntPoint) Reset()

func (*IntPoint) String

func (x *IntPoint) String() string

func (*IntPoint) ToORM

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

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_

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

type IntPointORMWithAfterDeleteSet

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

type IntPointORMWithAfterDelete_

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

type IntPointORMWithAfterListFind

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

type IntPointORMWithAfterReadFind

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

type IntPointORMWithAfterStrictUpdateSave

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

type IntPointORMWithBeforeCreate_

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

type IntPointORMWithBeforeDeleteSet

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

type IntPointORMWithBeforeDelete_

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

type IntPointORMWithBeforeListApplyQuery

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

type IntPointORMWithBeforeListFind

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

type IntPointORMWithBeforeReadApplyQuery

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

type IntPointORMWithBeforeReadFind

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

type IntPointORMWithBeforeStrictUpdateCleanup

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

type IntPointORMWithBeforeStrictUpdateSave

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

type IntPointServiceDefaultServer

type IntPointServiceDefaultServer struct {
	DB *gorm1.DB
}

func (*IntPointServiceDefaultServer) Create

Create ...

func (*IntPointServiceDefaultServer) CreateSomething

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

CreateSomething ...

func (*IntPointServiceDefaultServer) CustomMethod

CustomMethod ...

func (*IntPointServiceDefaultServer) Delete

Delete ...

func (*IntPointServiceDefaultServer) List

List ...

func (*IntPointServiceDefaultServer) ListSomething

ListSomething ...

func (*IntPointServiceDefaultServer) Read

Read ...

func (*IntPointServiceDefaultServer) Update

Update ...

func (*IntPointServiceDefaultServer) UpdateSet

UpdateSet ...

type IntPointServiceIntPointWithAfterCreate

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

IntPointServiceIntPointWithAfterCreate called before DefaultCreateIntPoint in the default Create handler

type IntPointServiceIntPointWithAfterDelete

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

IntPointServiceIntPointWithAfterDelete called before DefaultDeleteIntPoint in the default Delete handler

type IntPointServiceIntPointWithAfterList

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

IntPointServiceIntPointWithAfterList called before DefaultListIntPoint in the default List handler

type IntPointServiceIntPointWithAfterRead

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

IntPointServiceIntPointWithAfterRead called before DefaultReadIntPoint in the default Read handler

type IntPointServiceIntPointWithAfterUpdate

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

IntPointServiceIntPointWithAfterUpdate called before DefaultUpdateIntPoint in the default Update handler

type IntPointServiceIntPointWithAfterUpdateSet

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

IntPointServiceIntPointWithAfterUpdateSet called before DefaultUpdateSetIntPoint in the default UpdateSet handler

type IntPointServiceIntPointWithBeforeCreate

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

IntPointServiceIntPointWithBeforeCreate called before DefaultCreateIntPoint in the default Create handler

type IntPointServiceIntPointWithBeforeDelete

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

IntPointServiceIntPointWithBeforeDelete called before DefaultDeleteIntPoint in the default Delete handler

type IntPointServiceIntPointWithBeforeList

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

IntPointServiceIntPointWithBeforeList called before DefaultListIntPoint in the default List handler

type IntPointServiceIntPointWithBeforeRead

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

IntPointServiceIntPointWithBeforeRead called before DefaultReadIntPoint in the default Read handler

type IntPointServiceIntPointWithBeforeUpdate

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

IntPointServiceIntPointWithBeforeUpdate called before DefaultUpdateIntPoint in the default Update handler

type IntPointServiceIntPointWithBeforeUpdateSet

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

IntPointServiceIntPointWithBeforeUpdateSet called before DefaultUpdateSetIntPoint in the default UpdateSet handler

type IntPointServiceSomethingWithAfterListSomething

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

IntPointServiceSomethingWithAfterListSomething called before DefaultListSomethingSomething in the default ListSomething handler

type IntPointServiceSomethingWithBeforeListSomething

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

IntPointServiceSomethingWithBeforeListSomething called before DefaultListSomethingSomething in the default ListSomething handler

type IntPointTxnDefaultServer

type IntPointTxnDefaultServer struct {
}

func (*IntPointTxnDefaultServer) Create

Create ...

func (*IntPointTxnDefaultServer) CreateSomething

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

CreateSomething ...

func (*IntPointTxnDefaultServer) CustomMethod

CustomMethod ...

func (*IntPointTxnDefaultServer) Delete

Delete ...

func (*IntPointTxnDefaultServer) DeleteSet

DeleteSet ...

func (*IntPointTxnDefaultServer) List

List ...

func (*IntPointTxnDefaultServer) Read

Read ...

func (*IntPointTxnDefaultServer) Update

Update ...

type IntPointTxnIntPointWithAfterCreate

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

IntPointTxnIntPointWithAfterCreate called before DefaultCreateIntPoint in the default Create handler

type IntPointTxnIntPointWithAfterDelete

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

IntPointTxnIntPointWithAfterDelete called before DefaultDeleteIntPoint in the default Delete handler

type IntPointTxnIntPointWithAfterDeleteSet

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

IntPointTxnIntPointWithAfterDeleteSet called before DefaultDeleteSetIntPoint in the default DeleteSet handler

type IntPointTxnIntPointWithAfterList

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

IntPointTxnIntPointWithAfterList called before DefaultListIntPoint in the default List handler

type IntPointTxnIntPointWithAfterRead

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

IntPointTxnIntPointWithAfterRead called before DefaultReadIntPoint in the default Read handler

type IntPointTxnIntPointWithAfterUpdate

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

IntPointTxnIntPointWithAfterUpdate called before DefaultUpdateIntPoint in the default Update handler

type IntPointTxnIntPointWithBeforeCreate

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

IntPointTxnIntPointWithBeforeCreate called before DefaultCreateIntPoint in the default Create handler

type IntPointTxnIntPointWithBeforeDelete

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

IntPointTxnIntPointWithBeforeDelete called before DefaultDeleteIntPoint in the default Delete handler

type IntPointTxnIntPointWithBeforeDeleteSet

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

IntPointTxnIntPointWithBeforeDeleteSet called before DefaultDeleteSetIntPoint in the default DeleteSet handler

type IntPointTxnIntPointWithBeforeList

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

IntPointTxnIntPointWithBeforeList called before DefaultListIntPoint in the default List handler

type IntPointTxnIntPointWithBeforeRead

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

IntPointTxnIntPointWithBeforeRead called before DefaultReadIntPoint in the default Read handler

type IntPointTxnIntPointWithBeforeUpdate

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

IntPointTxnIntPointWithBeforeUpdate called before DefaultUpdateIntPoint in the default Update handler

type IntPointWithAfterPatchSave

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

type IntPointWithAfterToORM

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

IntPointAfterToORM called after default ToORM code

type IntPointWithAfterToPB

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

IntPointAfterToPB called after default ToPB code

type IntPointWithBeforePatchApplyFieldMask

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

type IntPointWithBeforePatchRead

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

type IntPointWithBeforePatchSave

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

type IntPointWithBeforeToORM

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

IntPointBeforeToORM called before default ToORM code

type IntPointWithBeforeToPB

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

IntPointBeforeToPB called before default ToPB code

type JoinTable

type JoinTable struct {
	TypeWithIDID           uint32
	MultiAccountTypeWithID uint32
}

type ListCircleRequest

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

func (*ListCircleRequest) Descriptor deprecated

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

Deprecated: Use ListCircleRequest.ProtoReflect.Descriptor instead.

func (*ListCircleRequest) ProtoMessage

func (*ListCircleRequest) ProtoMessage()

func (*ListCircleRequest) ProtoReflect

func (x *ListCircleRequest) ProtoReflect() protoreflect.Message

func (*ListCircleRequest) Reset

func (x *ListCircleRequest) Reset()

func (*ListCircleRequest) String

func (x *ListCircleRequest) String() string

type ListCircleResponse

type ListCircleResponse struct {
	Results []*Circle `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCircleResponse) Descriptor deprecated

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

Deprecated: Use ListCircleResponse.ProtoReflect.Descriptor instead.

func (*ListCircleResponse) GetResults

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

func (*ListCircleResponse) ProtoMessage

func (*ListCircleResponse) ProtoMessage()

func (*ListCircleResponse) ProtoReflect

func (x *ListCircleResponse) ProtoReflect() protoreflect.Message

func (*ListCircleResponse) Reset

func (x *ListCircleResponse) Reset()

func (*ListCircleResponse) String

func (x *ListCircleResponse) String() string

type ListIntPointRequest

type ListIntPointRequest struct {
	Filter  *query.Filtering      `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	OrderBy *query.Sorting        `protobuf:"bytes,2,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Fields  *query.FieldSelection `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"`
	Paging  *query.Pagination     `protobuf:"bytes,4,opt,name=paging,proto3" json:"paging,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIntPointRequest) Descriptor deprecated

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

Deprecated: Use ListIntPointRequest.ProtoReflect.Descriptor instead.

func (*ListIntPointRequest) GetFields

func (x *ListIntPointRequest) GetFields() *query.FieldSelection

func (*ListIntPointRequest) GetFilter

func (x *ListIntPointRequest) GetFilter() *query.Filtering

func (*ListIntPointRequest) GetOrderBy

func (x *ListIntPointRequest) GetOrderBy() *query.Sorting

func (*ListIntPointRequest) GetPaging

func (x *ListIntPointRequest) GetPaging() *query.Pagination

func (*ListIntPointRequest) ProtoMessage

func (*ListIntPointRequest) ProtoMessage()

func (*ListIntPointRequest) ProtoReflect

func (x *ListIntPointRequest) ProtoReflect() protoreflect.Message

func (*ListIntPointRequest) Reset

func (x *ListIntPointRequest) Reset()

func (*ListIntPointRequest) String

func (x *ListIntPointRequest) String() string

type ListIntPointResponse

type ListIntPointResponse struct {

	// Note repeated field and plural name 'results'
	Results  []*IntPoint     `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	PageInfo *query.PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIntPointResponse) Descriptor deprecated

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

Deprecated: Use ListIntPointResponse.ProtoReflect.Descriptor instead.

func (*ListIntPointResponse) GetPageInfo

func (x *ListIntPointResponse) GetPageInfo() *query.PageInfo

func (*ListIntPointResponse) GetResults

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

func (*ListIntPointResponse) ProtoMessage

func (*ListIntPointResponse) ProtoMessage()

func (*ListIntPointResponse) ProtoReflect

func (x *ListIntPointResponse) ProtoReflect() protoreflect.Message

func (*ListIntPointResponse) Reset

func (x *ListIntPointResponse) Reset()

func (*ListIntPointResponse) String

func (x *ListIntPointResponse) String() string

type ListSomethingResponse

type ListSomethingResponse struct {

	// Note repeated field and plural name 'results'
	Results  []*Something    `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	PageInfo *query.PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSomethingResponse) Descriptor deprecated

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

Deprecated: Use ListSomethingResponse.ProtoReflect.Descriptor instead.

func (*ListSomethingResponse) GetPageInfo

func (x *ListSomethingResponse) GetPageInfo() *query.PageInfo

func (*ListSomethingResponse) GetResults

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

func (*ListSomethingResponse) ProtoMessage

func (*ListSomethingResponse) ProtoMessage()

func (*ListSomethingResponse) ProtoReflect

func (x *ListSomethingResponse) ProtoReflect() protoreflect.Message

func (*ListSomethingResponse) Reset

func (x *ListSomethingResponse) Reset()

func (*ListSomethingResponse) String

func (x *ListSomethingResponse) String() string

type MultiaccountTypeWithID

type MultiaccountTypeWithID struct {
	Id        uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	SomeField string `protobuf:"bytes,2,opt,name=some_field,json=someField,proto3" json:"some_field,omitempty"`
	// contains filtered or unexported fields
}

MultiaccountTypeWithID demonstrates the generated multi-account support

func DefaultApplyFieldMaskMultiaccountTypeWithID

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

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

func DefaultCreateMultiaccountTypeWithID

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

DefaultCreateMultiaccountTypeWithID executes a basic gorm create call

func DefaultListMultiaccountTypeWithID

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

DefaultListMultiaccountTypeWithID executes a gorm list call

func DefaultPatchMultiaccountTypeWithID

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

DefaultPatchMultiaccountTypeWithID executes a basic gorm update call with patch behavior

func DefaultPatchSetMultiaccountTypeWithID

func DefaultPatchSetMultiaccountTypeWithID(ctx context.Context, objects []*MultiaccountTypeWithID, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*MultiaccountTypeWithID, error)

DefaultPatchSetMultiaccountTypeWithID executes a bulk gorm update call with patch behavior

func DefaultReadMultiaccountTypeWithID

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

DefaultReadMultiaccountTypeWithID executes a basic gorm read call

func DefaultStrictUpdateMultiaccountTypeWithID

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

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

func (*MultiaccountTypeWithID) Descriptor deprecated

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

Deprecated: Use MultiaccountTypeWithID.ProtoReflect.Descriptor instead.

func (*MultiaccountTypeWithID) GetId

func (x *MultiaccountTypeWithID) GetId() uint64

func (*MultiaccountTypeWithID) GetSomeField

func (x *MultiaccountTypeWithID) GetSomeField() string

func (*MultiaccountTypeWithID) ProtoMessage

func (*MultiaccountTypeWithID) ProtoMessage()

func (*MultiaccountTypeWithID) ProtoReflect

func (x *MultiaccountTypeWithID) ProtoReflect() protoreflect.Message

func (*MultiaccountTypeWithID) Reset

func (x *MultiaccountTypeWithID) Reset()

func (*MultiaccountTypeWithID) String

func (x *MultiaccountTypeWithID) String() string

func (*MultiaccountTypeWithID) ToORM

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

type MultiaccountTypeWithIDORM struct {
	AccountID string
	Id        uint64
	SomeField string
}

func (MultiaccountTypeWithIDORM) TableName

func (MultiaccountTypeWithIDORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*MultiaccountTypeWithIDORM) ToPB

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_

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

type MultiaccountTypeWithIDORMWithAfterDeleteSet

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

type MultiaccountTypeWithIDORMWithAfterDelete_

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

type MultiaccountTypeWithIDORMWithAfterListFind

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

type MultiaccountTypeWithIDORMWithAfterReadFind

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

type MultiaccountTypeWithIDORMWithAfterStrictUpdateSave

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

type MultiaccountTypeWithIDORMWithBeforeCreate_

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

type MultiaccountTypeWithIDORMWithBeforeDeleteSet

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

type MultiaccountTypeWithIDORMWithBeforeDelete_

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

type MultiaccountTypeWithIDORMWithBeforeListApplyQuery

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

type MultiaccountTypeWithIDORMWithBeforeListFind

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

type MultiaccountTypeWithIDORMWithBeforeReadApplyQuery

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

type MultiaccountTypeWithIDORMWithBeforeReadFind

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

type MultiaccountTypeWithIDORMWithBeforeStrictUpdateCleanup

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

type MultiaccountTypeWithIDORMWithBeforeStrictUpdateSave

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

type MultiaccountTypeWithIDWithAfterPatchSave

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

type MultiaccountTypeWithIDWithAfterToORM

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

MultiaccountTypeWithIDAfterToORM called after default ToORM code

type MultiaccountTypeWithIDWithAfterToPB

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

MultiaccountTypeWithIDAfterToPB called after default ToPB code

type MultiaccountTypeWithIDWithBeforePatchApplyFieldMask

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

type MultiaccountTypeWithIDWithBeforePatchRead

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

type MultiaccountTypeWithIDWithBeforePatchSave

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

type MultiaccountTypeWithIDWithBeforeToORM

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

MultiaccountTypeWithIDBeforeToORM called before default ToORM code

type MultiaccountTypeWithIDWithBeforeToPB

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

MultiaccountTypeWithIDBeforeToPB called before default ToPB code

type MultiaccountTypeWithoutID

type MultiaccountTypeWithoutID struct {
	SomeField string `protobuf:"bytes,1,opt,name=some_field,json=someField,proto3" json:"some_field,omitempty"`
	// contains filtered or unexported fields
}

func DefaultApplyFieldMaskMultiaccountTypeWithoutID

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

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

func DefaultCreateMultiaccountTypeWithoutID

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

DefaultCreateMultiaccountTypeWithoutID executes a basic gorm create call

func DefaultListMultiaccountTypeWithoutID

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

DefaultListMultiaccountTypeWithoutID executes a gorm list call

func (*MultiaccountTypeWithoutID) Descriptor deprecated

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

Deprecated: Use MultiaccountTypeWithoutID.ProtoReflect.Descriptor instead.

func (*MultiaccountTypeWithoutID) GetSomeField

func (x *MultiaccountTypeWithoutID) GetSomeField() string

func (*MultiaccountTypeWithoutID) ProtoMessage

func (*MultiaccountTypeWithoutID) ProtoMessage()

func (*MultiaccountTypeWithoutID) ProtoReflect

func (*MultiaccountTypeWithoutID) Reset

func (x *MultiaccountTypeWithoutID) Reset()

func (*MultiaccountTypeWithoutID) String

func (x *MultiaccountTypeWithoutID) String() string

func (*MultiaccountTypeWithoutID) ToORM

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

type MultiaccountTypeWithoutIDORM struct {
	AccountID string
	SomeField string
}

func (MultiaccountTypeWithoutIDORM) TableName

TableName overrides the default tablename generated by GORM

func (*MultiaccountTypeWithoutIDORM) ToPB

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_

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

type MultiaccountTypeWithoutIDORMWithAfterListFind

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

type MultiaccountTypeWithoutIDORMWithBeforeCreate_

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

type MultiaccountTypeWithoutIDORMWithBeforeListApplyQuery

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

type MultiaccountTypeWithoutIDORMWithBeforeListFind

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

type MultiaccountTypeWithoutIDWithAfterToORM

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

MultiaccountTypeWithoutIDAfterToORM called after default ToORM code

type MultiaccountTypeWithoutIDWithAfterToPB

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

MultiaccountTypeWithoutIDAfterToPB called after default ToPB code

type MultiaccountTypeWithoutIDWithBeforeToORM

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

MultiaccountTypeWithoutIDBeforeToORM called before default ToORM code

type MultiaccountTypeWithoutIDWithBeforeToPB

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

MultiaccountTypeWithoutIDBeforeToPB called before default ToPB code

type MultipleMethodsAutoGenDefaultServer

type MultipleMethodsAutoGenDefaultServer struct {
	DB *gorm1.DB
}

func (*MultipleMethodsAutoGenDefaultServer) CreateA

CreateA ...

func (*MultipleMethodsAutoGenDefaultServer) CreateB

CreateB ...

func (*MultipleMethodsAutoGenDefaultServer) DeleteA

DeleteA ...

func (*MultipleMethodsAutoGenDefaultServer) DeleteB

DeleteB ...

func (*MultipleMethodsAutoGenDefaultServer) DeleteSetA

DeleteSetA ...

func (*MultipleMethodsAutoGenDefaultServer) DeleteSetB

DeleteSetB ...

func (*MultipleMethodsAutoGenDefaultServer) ListA

ListA ...

func (*MultipleMethodsAutoGenDefaultServer) ListB

ListB ...

func (*MultipleMethodsAutoGenDefaultServer) ReadA

ReadA ...

func (*MultipleMethodsAutoGenDefaultServer) ReadB

ReadB ...

func (*MultipleMethodsAutoGenDefaultServer) UpdateA

UpdateA ...

func (*MultipleMethodsAutoGenDefaultServer) UpdateB

UpdateB ...

type MultipleMethodsAutoGenIntPointWithAfterCreateA

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

MultipleMethodsAutoGenIntPointWithAfterCreateA called before DefaultCreateAIntPoint in the default CreateA handler

type MultipleMethodsAutoGenIntPointWithAfterCreateB

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

MultipleMethodsAutoGenIntPointWithAfterCreateB called before DefaultCreateBIntPoint in the default CreateB handler

type MultipleMethodsAutoGenIntPointWithAfterDeleteA

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

MultipleMethodsAutoGenIntPointWithAfterDeleteA called before DefaultDeleteAIntPoint in the default DeleteA handler

type MultipleMethodsAutoGenIntPointWithAfterDeleteB

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

MultipleMethodsAutoGenIntPointWithAfterDeleteB called before DefaultDeleteBIntPoint in the default DeleteB handler

type MultipleMethodsAutoGenIntPointWithAfterDeleteSetA

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

MultipleMethodsAutoGenIntPointWithAfterDeleteSetA called before DefaultDeleteSetAIntPoint in the default DeleteSetA handler

type MultipleMethodsAutoGenIntPointWithAfterDeleteSetB

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

MultipleMethodsAutoGenIntPointWithAfterDeleteSetB called before DefaultDeleteSetBIntPoint in the default DeleteSetB handler

type MultipleMethodsAutoGenIntPointWithAfterListA

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

MultipleMethodsAutoGenIntPointWithAfterListA called before DefaultListAIntPoint in the default ListA handler

type MultipleMethodsAutoGenIntPointWithAfterListB

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

MultipleMethodsAutoGenIntPointWithAfterListB called before DefaultListBIntPoint in the default ListB handler

type MultipleMethodsAutoGenIntPointWithAfterReadA

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

MultipleMethodsAutoGenIntPointWithAfterReadA called before DefaultReadAIntPoint in the default ReadA handler

type MultipleMethodsAutoGenIntPointWithAfterReadB

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

MultipleMethodsAutoGenIntPointWithAfterReadB called before DefaultReadBIntPoint in the default ReadB handler

type MultipleMethodsAutoGenIntPointWithAfterUpdateA

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

MultipleMethodsAutoGenIntPointWithAfterUpdateA called before DefaultUpdateAIntPoint in the default UpdateA handler

type MultipleMethodsAutoGenIntPointWithAfterUpdateB

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

MultipleMethodsAutoGenIntPointWithAfterUpdateB called before DefaultUpdateBIntPoint in the default UpdateB handler

type MultipleMethodsAutoGenIntPointWithBeforeCreateA

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

MultipleMethodsAutoGenIntPointWithBeforeCreateA called before DefaultCreateAIntPoint in the default CreateA handler

type MultipleMethodsAutoGenIntPointWithBeforeCreateB

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

MultipleMethodsAutoGenIntPointWithBeforeCreateB called before DefaultCreateBIntPoint in the default CreateB handler

type MultipleMethodsAutoGenIntPointWithBeforeDeleteA

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

MultipleMethodsAutoGenIntPointWithBeforeDeleteA called before DefaultDeleteAIntPoint in the default DeleteA handler

type MultipleMethodsAutoGenIntPointWithBeforeDeleteB

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

MultipleMethodsAutoGenIntPointWithBeforeDeleteB called before DefaultDeleteBIntPoint in the default DeleteB handler

type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetA

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

MultipleMethodsAutoGenIntPointWithBeforeDeleteSetA called before DefaultDeleteSetAIntPoint in the default DeleteSetA handler

type MultipleMethodsAutoGenIntPointWithBeforeDeleteSetB

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

MultipleMethodsAutoGenIntPointWithBeforeDeleteSetB called before DefaultDeleteSetBIntPoint in the default DeleteSetB handler

type MultipleMethodsAutoGenIntPointWithBeforeListA

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

MultipleMethodsAutoGenIntPointWithBeforeListA called before DefaultListAIntPoint in the default ListA handler

type MultipleMethodsAutoGenIntPointWithBeforeListB

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

MultipleMethodsAutoGenIntPointWithBeforeListB called before DefaultListBIntPoint in the default ListB handler

type MultipleMethodsAutoGenIntPointWithBeforeReadA

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

MultipleMethodsAutoGenIntPointWithBeforeReadA called before DefaultReadAIntPoint in the default ReadA handler

type MultipleMethodsAutoGenIntPointWithBeforeReadB

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

MultipleMethodsAutoGenIntPointWithBeforeReadB called before DefaultReadBIntPoint in the default ReadB handler

type MultipleMethodsAutoGenIntPointWithBeforeUpdateA

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

MultipleMethodsAutoGenIntPointWithBeforeUpdateA called before DefaultUpdateAIntPoint in the default UpdateA handler

type MultipleMethodsAutoGenIntPointWithBeforeUpdateB

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

MultipleMethodsAutoGenIntPointWithBeforeUpdateB called before DefaultUpdateBIntPoint in the default UpdateB handler

type PrimaryIncluded

type PrimaryIncluded struct {
	Child *ExternalChild `protobuf:"bytes,1,opt,name=child,proto3" json:"child,omitempty"`
	// contains filtered or unexported fields
}

func DefaultApplyFieldMaskPrimaryIncluded

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

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

func DefaultCreatePrimaryIncluded

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

DefaultCreatePrimaryIncluded executes a basic gorm create call

func DefaultListPrimaryIncluded

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

DefaultListPrimaryIncluded executes a gorm list call

func (*PrimaryIncluded) Descriptor deprecated

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

Deprecated: Use PrimaryIncluded.ProtoReflect.Descriptor instead.

func (*PrimaryIncluded) GetChild

func (x *PrimaryIncluded) GetChild() *ExternalChild

func (*PrimaryIncluded) ProtoMessage

func (*PrimaryIncluded) ProtoMessage()

func (*PrimaryIncluded) ProtoReflect

func (x *PrimaryIncluded) ProtoReflect() protoreflect.Message

func (*PrimaryIncluded) Reset

func (x *PrimaryIncluded) Reset()

func (*PrimaryIncluded) String

func (x *PrimaryIncluded) String() string

func (*PrimaryIncluded) ToORM

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

type PrimaryIncludedORM

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

func (PrimaryIncludedORM) TableName

func (PrimaryIncludedORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*PrimaryIncludedORM) ToPB

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_

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

type PrimaryIncludedORMWithAfterListFind

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

type PrimaryIncludedORMWithBeforeCreate_

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

type PrimaryIncludedORMWithBeforeListApplyQuery

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

type PrimaryIncludedORMWithBeforeListFind

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

type PrimaryIncludedWithAfterToORM

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

PrimaryIncludedAfterToORM called after default ToORM code

type PrimaryIncludedWithAfterToPB

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

PrimaryIncludedAfterToPB called after default ToPB code

type PrimaryIncludedWithBeforeToORM

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

PrimaryIncludedBeforeToORM called before default ToORM code

type PrimaryIncludedWithBeforeToPB

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

PrimaryIncludedBeforeToPB called before default ToPB code

type PrimaryStringType

type PrimaryStringType struct {
	Id    string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Child *ExternalChild `protobuf:"bytes,2,opt,name=child,proto3" json:"child,omitempty"`
	// contains filtered or unexported fields
}

func DefaultApplyFieldMaskPrimaryStringType

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

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

func DefaultCreatePrimaryStringType

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

DefaultCreatePrimaryStringType executes a basic gorm create call

func DefaultListPrimaryStringType

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

DefaultListPrimaryStringType executes a gorm list call

func DefaultPatchPrimaryStringType

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

DefaultPatchPrimaryStringType executes a basic gorm update call with patch behavior

func DefaultPatchSetPrimaryStringType

func DefaultPatchSetPrimaryStringType(ctx context.Context, objects []*PrimaryStringType, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*PrimaryStringType, error)

DefaultPatchSetPrimaryStringType executes a bulk gorm update call with patch behavior

func DefaultReadPrimaryStringType

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

DefaultReadPrimaryStringType executes a basic gorm read call

func DefaultStrictUpdatePrimaryStringType

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

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

func (*PrimaryStringType) Descriptor deprecated

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

Deprecated: Use PrimaryStringType.ProtoReflect.Descriptor instead.

func (*PrimaryStringType) GetChild

func (x *PrimaryStringType) GetChild() *ExternalChild

func (*PrimaryStringType) GetId

func (x *PrimaryStringType) GetId() string

func (*PrimaryStringType) ProtoMessage

func (*PrimaryStringType) ProtoMessage()

func (*PrimaryStringType) ProtoReflect

func (x *PrimaryStringType) ProtoReflect() protoreflect.Message

func (*PrimaryStringType) Reset

func (x *PrimaryStringType) Reset()

func (*PrimaryStringType) String

func (x *PrimaryStringType) String() string

func (*PrimaryStringType) ToORM

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

type PrimaryStringTypeORM

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

func (PrimaryStringTypeORM) TableName

func (PrimaryStringTypeORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*PrimaryStringTypeORM) ToPB

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_

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

type PrimaryStringTypeORMWithAfterDeleteSet

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

type PrimaryStringTypeORMWithAfterDelete_

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

type PrimaryStringTypeORMWithAfterListFind

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

type PrimaryStringTypeORMWithAfterReadFind

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

type PrimaryStringTypeORMWithAfterStrictUpdateSave

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

type PrimaryStringTypeORMWithBeforeCreate_

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

type PrimaryStringTypeORMWithBeforeDeleteSet

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

type PrimaryStringTypeORMWithBeforeDelete_

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

type PrimaryStringTypeORMWithBeforeListApplyQuery

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

type PrimaryStringTypeORMWithBeforeListFind

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

type PrimaryStringTypeORMWithBeforeReadApplyQuery

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

type PrimaryStringTypeORMWithBeforeReadFind

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

type PrimaryStringTypeORMWithBeforeStrictUpdateCleanup

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

type PrimaryStringTypeORMWithBeforeStrictUpdateSave

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

type PrimaryStringTypeWithAfterPatchSave

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

type PrimaryStringTypeWithAfterToORM

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

PrimaryStringTypeAfterToORM called after default ToORM code

type PrimaryStringTypeWithAfterToPB

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

PrimaryStringTypeAfterToPB called after default ToPB code

type PrimaryStringTypeWithBeforePatchApplyFieldMask

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

type PrimaryStringTypeWithBeforePatchRead

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

type PrimaryStringTypeWithBeforePatchSave

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

type PrimaryStringTypeWithBeforeToORM

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

PrimaryStringTypeBeforeToORM called before default ToORM code

type PrimaryStringTypeWithBeforeToPB

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

PrimaryStringTypeBeforeToPB called before default ToPB code

type PrimaryUUIDType

type PrimaryUUIDType struct {
	Id    *types.UUIDValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Child *ExternalChild   `protobuf:"bytes,2,opt,name=child,proto3" json:"child,omitempty"`
	// contains filtered or unexported fields
}

func DefaultApplyFieldMaskPrimaryUUIDType

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

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

func DefaultCreatePrimaryUUIDType

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

DefaultCreatePrimaryUUIDType executes a basic gorm create call

func DefaultListPrimaryUUIDType

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

DefaultListPrimaryUUIDType executes a gorm list call

func DefaultPatchPrimaryUUIDType

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

DefaultPatchPrimaryUUIDType executes a basic gorm update call with patch behavior

func DefaultPatchSetPrimaryUUIDType

func DefaultPatchSetPrimaryUUIDType(ctx context.Context, objects []*PrimaryUUIDType, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*PrimaryUUIDType, error)

DefaultPatchSetPrimaryUUIDType executes a bulk gorm update call with patch behavior

func DefaultReadPrimaryUUIDType

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

DefaultReadPrimaryUUIDType executes a basic gorm read call

func DefaultStrictUpdatePrimaryUUIDType

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

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

func (*PrimaryUUIDType) Descriptor deprecated

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

Deprecated: Use PrimaryUUIDType.ProtoReflect.Descriptor instead.

func (*PrimaryUUIDType) GetChild

func (x *PrimaryUUIDType) GetChild() *ExternalChild

func (*PrimaryUUIDType) GetId

func (x *PrimaryUUIDType) GetId() *types.UUIDValue

func (*PrimaryUUIDType) ProtoMessage

func (*PrimaryUUIDType) ProtoMessage()

func (*PrimaryUUIDType) ProtoReflect

func (x *PrimaryUUIDType) ProtoReflect() protoreflect.Message

func (*PrimaryUUIDType) Reset

func (x *PrimaryUUIDType) Reset()

func (*PrimaryUUIDType) String

func (x *PrimaryUUIDType) String() string

func (*PrimaryUUIDType) ToORM

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

type PrimaryUUIDTypeORM

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

func (PrimaryUUIDTypeORM) TableName

func (PrimaryUUIDTypeORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*PrimaryUUIDTypeORM) ToPB

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_

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

type PrimaryUUIDTypeORMWithAfterDeleteSet

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

type PrimaryUUIDTypeORMWithAfterDelete_

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

type PrimaryUUIDTypeORMWithAfterListFind

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

type PrimaryUUIDTypeORMWithAfterReadFind

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

type PrimaryUUIDTypeORMWithAfterStrictUpdateSave

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

type PrimaryUUIDTypeORMWithBeforeCreate_

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

type PrimaryUUIDTypeORMWithBeforeDeleteSet

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

type PrimaryUUIDTypeORMWithBeforeDelete_

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

type PrimaryUUIDTypeORMWithBeforeListApplyQuery

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

type PrimaryUUIDTypeORMWithBeforeListFind

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

type PrimaryUUIDTypeORMWithBeforeReadApplyQuery

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

type PrimaryUUIDTypeORMWithBeforeReadFind

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

type PrimaryUUIDTypeORMWithBeforeStrictUpdateCleanup

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

type PrimaryUUIDTypeORMWithBeforeStrictUpdateSave

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

type PrimaryUUIDTypeWithAfterPatchSave

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

type PrimaryUUIDTypeWithAfterToORM

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

PrimaryUUIDTypeAfterToORM called after default ToORM code

type PrimaryUUIDTypeWithAfterToPB

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

PrimaryUUIDTypeAfterToPB called after default ToPB code

type PrimaryUUIDTypeWithBeforePatchApplyFieldMask

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

type PrimaryUUIDTypeWithBeforePatchRead

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

type PrimaryUUIDTypeWithBeforePatchSave

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

type PrimaryUUIDTypeWithBeforeToORM

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

PrimaryUUIDTypeBeforeToORM called before default ToORM code

type PrimaryUUIDTypeWithBeforeToPB

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

PrimaryUUIDTypeBeforeToPB called before default ToPB code

type ReadAccountRequest

type ReadAccountRequest struct {

	// For a read request, the id field is the only to be specified
	Id     uint64                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Fields *query.FieldSelection `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadAccountRequest) Descriptor deprecated

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

Deprecated: Use ReadAccountRequest.ProtoReflect.Descriptor instead.

func (*ReadAccountRequest) GetFields

func (x *ReadAccountRequest) GetFields() *query.FieldSelection

func (*ReadAccountRequest) GetId

func (x *ReadAccountRequest) GetId() uint64

func (*ReadAccountRequest) ProtoMessage

func (*ReadAccountRequest) ProtoMessage()

func (*ReadAccountRequest) ProtoReflect

func (x *ReadAccountRequest) ProtoReflect() protoreflect.Message

func (*ReadAccountRequest) Reset

func (x *ReadAccountRequest) Reset()

func (*ReadAccountRequest) String

func (x *ReadAccountRequest) String() string

type ReadBlogPostsResponse

type ReadBlogPostsResponse struct {
	Posts []*BlogPost `protobuf:"bytes,1,rep,name=posts,proto3" json:"posts,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadBlogPostsResponse) Descriptor deprecated

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

Deprecated: Use ReadBlogPostsResponse.ProtoReflect.Descriptor instead.

func (*ReadBlogPostsResponse) GetPosts

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

func (*ReadBlogPostsResponse) ProtoMessage

func (*ReadBlogPostsResponse) ProtoMessage()

func (*ReadBlogPostsResponse) ProtoReflect

func (x *ReadBlogPostsResponse) ProtoReflect() protoreflect.Message

func (*ReadBlogPostsResponse) Reset

func (x *ReadBlogPostsResponse) Reset()

func (*ReadBlogPostsResponse) String

func (x *ReadBlogPostsResponse) String() string

type ReadIntPointRequest

type ReadIntPointRequest struct {

	// For a read request, the id field is the only to be specified
	Id     uint32                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Fields *query.FieldSelection `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadIntPointRequest) Descriptor deprecated

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

Deprecated: Use ReadIntPointRequest.ProtoReflect.Descriptor instead.

func (*ReadIntPointRequest) GetFields

func (x *ReadIntPointRequest) GetFields() *query.FieldSelection

func (*ReadIntPointRequest) GetId

func (x *ReadIntPointRequest) GetId() uint32

func (*ReadIntPointRequest) ProtoMessage

func (*ReadIntPointRequest) ProtoMessage()

func (*ReadIntPointRequest) ProtoReflect

func (x *ReadIntPointRequest) ProtoReflect() protoreflect.Message

func (*ReadIntPointRequest) Reset

func (x *ReadIntPointRequest) Reset()

func (*ReadIntPointRequest) String

func (x *ReadIntPointRequest) String() string

type ReadIntPointResponse

type ReadIntPointResponse struct {

	// Again the type with 'result' name
	Result *IntPoint `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadIntPointResponse) Descriptor deprecated

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

Deprecated: Use ReadIntPointResponse.ProtoReflect.Descriptor instead.

func (*ReadIntPointResponse) GetResult

func (x *ReadIntPointResponse) GetResult() *IntPoint

func (*ReadIntPointResponse) ProtoMessage

func (*ReadIntPointResponse) ProtoMessage()

func (*ReadIntPointResponse) ProtoReflect

func (x *ReadIntPointResponse) ProtoReflect() protoreflect.Message

func (*ReadIntPointResponse) Reset

func (x *ReadIntPointResponse) Reset()

func (*ReadIntPointResponse) String

func (x *ReadIntPointResponse) String() string

type Something

type Something struct {
	Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	// contains filtered or unexported fields
}

A dummy type to demo an rpc that can't be autogenerated

func DefaultApplyFieldMaskSomething

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

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

DefaultCreateSomething executes a basic gorm create call

func DefaultListSomething

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

DefaultListSomething executes a gorm list call

func (*Something) Descriptor deprecated

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

Deprecated: Use Something.ProtoReflect.Descriptor instead.

func (*Something) GetField

func (x *Something) GetField() string

func (*Something) ProtoMessage

func (*Something) ProtoMessage()

func (*Something) ProtoReflect

func (x *Something) ProtoReflect() protoreflect.Message

func (*Something) Reset

func (x *Something) Reset()

func (*Something) String

func (x *Something) String() string

func (*Something) ToORM

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

type SomethingORM struct {
	Field string
}

func (SomethingORM) TableName

func (SomethingORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*SomethingORM) ToPB

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_

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

type SomethingORMWithAfterListFind

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

type SomethingORMWithBeforeCreate_

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

type SomethingORMWithBeforeListApplyQuery

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

type SomethingORMWithBeforeListFind

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

type SomethingWithAfterToORM

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

SomethingAfterToORM called after default ToORM code

type SomethingWithAfterToPB

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

SomethingAfterToPB called after default ToPB code

type SomethingWithBeforeToORM

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

SomethingBeforeToORM called before default ToORM code

type SomethingWithBeforeToPB

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

SomethingBeforeToPB called before default ToPB code

type TestAssocHandlerAppend

type TestAssocHandlerAppend struct {
	Id           string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TestTagAssoc []*TestTagAssociation `protobuf:"bytes,2,rep,name=testTagAssoc,proto3" json:"testTagAssoc,omitempty"`
	// contains filtered or unexported fields
}

func DefaultApplyFieldMaskTestAssocHandlerAppend

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

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

func DefaultCreateTestAssocHandlerAppend

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

DefaultCreateTestAssocHandlerAppend executes a basic gorm create call

func DefaultListTestAssocHandlerAppend

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

DefaultListTestAssocHandlerAppend executes a gorm list call

func DefaultPatchSetTestAssocHandlerAppend

func DefaultPatchSetTestAssocHandlerAppend(ctx context.Context, objects []*TestAssocHandlerAppend, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*TestAssocHandlerAppend, error)

DefaultPatchSetTestAssocHandlerAppend executes a bulk gorm update call with patch behavior

func DefaultPatchTestAssocHandlerAppend

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

DefaultPatchTestAssocHandlerAppend executes a basic gorm update call with patch behavior

func DefaultReadTestAssocHandlerAppend

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

DefaultReadTestAssocHandlerAppend executes a basic gorm read call

func DefaultStrictUpdateTestAssocHandlerAppend

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

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

func (*TestAssocHandlerAppend) Descriptor deprecated

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

Deprecated: Use TestAssocHandlerAppend.ProtoReflect.Descriptor instead.

func (*TestAssocHandlerAppend) GetId

func (x *TestAssocHandlerAppend) GetId() string

func (*TestAssocHandlerAppend) GetTestTagAssoc

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

func (*TestAssocHandlerAppend) ProtoMessage

func (*TestAssocHandlerAppend) ProtoMessage()

func (*TestAssocHandlerAppend) ProtoReflect

func (x *TestAssocHandlerAppend) ProtoReflect() protoreflect.Message

func (*TestAssocHandlerAppend) Reset

func (x *TestAssocHandlerAppend) Reset()

func (*TestAssocHandlerAppend) String

func (x *TestAssocHandlerAppend) String() string

func (*TestAssocHandlerAppend) ToORM

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

type TestAssocHandlerAppendORM

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

func (TestAssocHandlerAppendORM) TableName

func (TestAssocHandlerAppendORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*TestAssocHandlerAppendORM) ToPB

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_

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

type TestAssocHandlerAppendORMWithAfterDeleteSet

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

type TestAssocHandlerAppendORMWithAfterDelete_

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

type TestAssocHandlerAppendORMWithAfterListFind

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

type TestAssocHandlerAppendORMWithAfterReadFind

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

type TestAssocHandlerAppendORMWithAfterStrictUpdateSave

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

type TestAssocHandlerAppendORMWithBeforeCreate_

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

type TestAssocHandlerAppendORMWithBeforeDeleteSet

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

type TestAssocHandlerAppendORMWithBeforeDelete_

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

type TestAssocHandlerAppendORMWithBeforeListApplyQuery

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

type TestAssocHandlerAppendORMWithBeforeListFind

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

type TestAssocHandlerAppendORMWithBeforeReadApplyQuery

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

type TestAssocHandlerAppendORMWithBeforeReadFind

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

type TestAssocHandlerAppendORMWithBeforeStrictUpdateCleanup

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

type TestAssocHandlerAppendORMWithBeforeStrictUpdateSave

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

type TestAssocHandlerAppendWithAfterPatchSave

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

type TestAssocHandlerAppendWithAfterToORM

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

TestAssocHandlerAppendAfterToORM called after default ToORM code

type TestAssocHandlerAppendWithAfterToPB

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

TestAssocHandlerAppendAfterToPB called after default ToPB code

type TestAssocHandlerAppendWithBeforePatchApplyFieldMask

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

type TestAssocHandlerAppendWithBeforePatchRead

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

type TestAssocHandlerAppendWithBeforePatchSave

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

type TestAssocHandlerAppendWithBeforeToORM

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

TestAssocHandlerAppendBeforeToORM called before default ToORM code

type TestAssocHandlerAppendWithBeforeToPB

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

TestAssocHandlerAppendBeforeToPB called before default ToPB code

type TestAssocHandlerClear

type TestAssocHandlerClear struct {
	Id           string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TestTagAssoc []*TestTagAssociation `protobuf:"bytes,2,rep,name=testTagAssoc,proto3" json:"testTagAssoc,omitempty"`
	// contains filtered or unexported fields
}

func DefaultApplyFieldMaskTestAssocHandlerClear

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

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

func DefaultCreateTestAssocHandlerClear

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

DefaultCreateTestAssocHandlerClear executes a basic gorm create call

func DefaultListTestAssocHandlerClear

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

DefaultListTestAssocHandlerClear executes a gorm list call

func DefaultPatchSetTestAssocHandlerClear

func DefaultPatchSetTestAssocHandlerClear(ctx context.Context, objects []*TestAssocHandlerClear, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*TestAssocHandlerClear, error)

DefaultPatchSetTestAssocHandlerClear executes a bulk gorm update call with patch behavior

func DefaultPatchTestAssocHandlerClear

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

DefaultPatchTestAssocHandlerClear executes a basic gorm update call with patch behavior

func DefaultReadTestAssocHandlerClear

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

DefaultReadTestAssocHandlerClear executes a basic gorm read call

func DefaultStrictUpdateTestAssocHandlerClear

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

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

func (*TestAssocHandlerClear) Descriptor deprecated

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

Deprecated: Use TestAssocHandlerClear.ProtoReflect.Descriptor instead.

func (*TestAssocHandlerClear) GetId

func (x *TestAssocHandlerClear) GetId() string

func (*TestAssocHandlerClear) GetTestTagAssoc

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

func (*TestAssocHandlerClear) ProtoMessage

func (*TestAssocHandlerClear) ProtoMessage()

func (*TestAssocHandlerClear) ProtoReflect

func (x *TestAssocHandlerClear) ProtoReflect() protoreflect.Message

func (*TestAssocHandlerClear) Reset

func (x *TestAssocHandlerClear) Reset()

func (*TestAssocHandlerClear) String

func (x *TestAssocHandlerClear) String() string

func (*TestAssocHandlerClear) ToORM

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

type TestAssocHandlerClearORM

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

func (TestAssocHandlerClearORM) TableName

func (TestAssocHandlerClearORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*TestAssocHandlerClearORM) ToPB

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_

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

type TestAssocHandlerClearORMWithAfterDeleteSet

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

type TestAssocHandlerClearORMWithAfterDelete_

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

type TestAssocHandlerClearORMWithAfterListFind

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

type TestAssocHandlerClearORMWithAfterReadFind

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

type TestAssocHandlerClearORMWithAfterStrictUpdateSave

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

type TestAssocHandlerClearORMWithBeforeCreate_

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

type TestAssocHandlerClearORMWithBeforeDeleteSet

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

type TestAssocHandlerClearORMWithBeforeDelete_

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

type TestAssocHandlerClearORMWithBeforeListApplyQuery

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

type TestAssocHandlerClearORMWithBeforeListFind

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

type TestAssocHandlerClearORMWithBeforeReadApplyQuery

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

type TestAssocHandlerClearORMWithBeforeReadFind

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

type TestAssocHandlerClearORMWithBeforeStrictUpdateCleanup

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

type TestAssocHandlerClearORMWithBeforeStrictUpdateSave

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

type TestAssocHandlerClearWithAfterPatchSave

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

type TestAssocHandlerClearWithAfterToORM

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

TestAssocHandlerClearAfterToORM called after default ToORM code

type TestAssocHandlerClearWithAfterToPB

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

TestAssocHandlerClearAfterToPB called after default ToPB code

type TestAssocHandlerClearWithBeforePatchApplyFieldMask

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

type TestAssocHandlerClearWithBeforePatchRead

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

type TestAssocHandlerClearWithBeforePatchSave

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

type TestAssocHandlerClearWithBeforeToORM

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

TestAssocHandlerClearBeforeToORM called before default ToORM code

type TestAssocHandlerClearWithBeforeToPB

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

TestAssocHandlerClearBeforeToPB called before default ToPB code

type TestAssocHandlerDefault

type TestAssocHandlerDefault struct {
	Id           string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TestTagAssoc []*TestTagAssociation `protobuf:"bytes,2,rep,name=testTagAssoc,proto3" json:"testTagAssoc,omitempty"`
	// contains filtered or unexported fields
}

replace by default

func DefaultApplyFieldMaskTestAssocHandlerDefault

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

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

func DefaultCreateTestAssocHandlerDefault

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

DefaultCreateTestAssocHandlerDefault executes a basic gorm create call

func DefaultListTestAssocHandlerDefault

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

DefaultListTestAssocHandlerDefault executes a gorm list call

func DefaultPatchSetTestAssocHandlerDefault

func DefaultPatchSetTestAssocHandlerDefault(ctx context.Context, objects []*TestAssocHandlerDefault, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*TestAssocHandlerDefault, error)

DefaultPatchSetTestAssocHandlerDefault executes a bulk gorm update call with patch behavior

func DefaultPatchTestAssocHandlerDefault

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

DefaultPatchTestAssocHandlerDefault executes a basic gorm update call with patch behavior

func DefaultReadTestAssocHandlerDefault

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

DefaultReadTestAssocHandlerDefault executes a basic gorm read call

func DefaultStrictUpdateTestAssocHandlerDefault

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

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

func (*TestAssocHandlerDefault) Descriptor deprecated

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

Deprecated: Use TestAssocHandlerDefault.ProtoReflect.Descriptor instead.

func (*TestAssocHandlerDefault) GetId

func (x *TestAssocHandlerDefault) GetId() string

func (*TestAssocHandlerDefault) GetTestTagAssoc

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

func (*TestAssocHandlerDefault) ProtoMessage

func (*TestAssocHandlerDefault) ProtoMessage()

func (*TestAssocHandlerDefault) ProtoReflect

func (x *TestAssocHandlerDefault) ProtoReflect() protoreflect.Message

func (*TestAssocHandlerDefault) Reset

func (x *TestAssocHandlerDefault) Reset()

func (*TestAssocHandlerDefault) String

func (x *TestAssocHandlerDefault) String() string

func (*TestAssocHandlerDefault) ToORM

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

type TestAssocHandlerDefaultORM

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

func (TestAssocHandlerDefaultORM) TableName

func (TestAssocHandlerDefaultORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*TestAssocHandlerDefaultORM) ToPB

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_

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

type TestAssocHandlerDefaultORMWithAfterDeleteSet

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

type TestAssocHandlerDefaultORMWithAfterDelete_

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

type TestAssocHandlerDefaultORMWithAfterListFind

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

type TestAssocHandlerDefaultORMWithAfterReadFind

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

type TestAssocHandlerDefaultORMWithAfterStrictUpdateSave

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

type TestAssocHandlerDefaultORMWithBeforeCreate_

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

type TestAssocHandlerDefaultORMWithBeforeDeleteSet

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

type TestAssocHandlerDefaultORMWithBeforeDelete_

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

type TestAssocHandlerDefaultORMWithBeforeListApplyQuery

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

type TestAssocHandlerDefaultORMWithBeforeListFind

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

type TestAssocHandlerDefaultORMWithBeforeReadApplyQuery

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

type TestAssocHandlerDefaultORMWithBeforeReadFind

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

type TestAssocHandlerDefaultORMWithBeforeStrictUpdateCleanup

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

type TestAssocHandlerDefaultORMWithBeforeStrictUpdateSave

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

type TestAssocHandlerDefaultWithAfterPatchSave

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

type TestAssocHandlerDefaultWithAfterToORM

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

TestAssocHandlerDefaultAfterToORM called after default ToORM code

type TestAssocHandlerDefaultWithAfterToPB

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

TestAssocHandlerDefaultAfterToPB called after default ToPB code

type TestAssocHandlerDefaultWithBeforePatchApplyFieldMask

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

type TestAssocHandlerDefaultWithBeforePatchRead

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

type TestAssocHandlerDefaultWithBeforePatchSave

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

type TestAssocHandlerDefaultWithBeforeToORM

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

TestAssocHandlerDefaultBeforeToORM called before default ToORM code

type TestAssocHandlerDefaultWithBeforeToPB

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

TestAssocHandlerDefaultBeforeToPB called before default ToPB code

type TestAssocHandlerReplace

type TestAssocHandlerReplace struct {
	Id           string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TestTagAssoc []*TestTagAssociation `protobuf:"bytes,2,rep,name=testTagAssoc,proto3" json:"testTagAssoc,omitempty"`
	// contains filtered or unexported fields
}

func DefaultApplyFieldMaskTestAssocHandlerReplace

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

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

func DefaultCreateTestAssocHandlerReplace

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

DefaultCreateTestAssocHandlerReplace executes a basic gorm create call

func DefaultListTestAssocHandlerReplace

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

DefaultListTestAssocHandlerReplace executes a gorm list call

func DefaultPatchSetTestAssocHandlerReplace

func DefaultPatchSetTestAssocHandlerReplace(ctx context.Context, objects []*TestAssocHandlerReplace, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*TestAssocHandlerReplace, error)

DefaultPatchSetTestAssocHandlerReplace executes a bulk gorm update call with patch behavior

func DefaultPatchTestAssocHandlerReplace

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

DefaultPatchTestAssocHandlerReplace executes a basic gorm update call with patch behavior

func DefaultReadTestAssocHandlerReplace

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

DefaultReadTestAssocHandlerReplace executes a basic gorm read call

func DefaultStrictUpdateTestAssocHandlerReplace

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

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

func (*TestAssocHandlerReplace) Descriptor deprecated

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

Deprecated: Use TestAssocHandlerReplace.ProtoReflect.Descriptor instead.

func (*TestAssocHandlerReplace) GetId

func (x *TestAssocHandlerReplace) GetId() string

func (*TestAssocHandlerReplace) GetTestTagAssoc

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

func (*TestAssocHandlerReplace) ProtoMessage

func (*TestAssocHandlerReplace) ProtoMessage()

func (*TestAssocHandlerReplace) ProtoReflect

func (x *TestAssocHandlerReplace) ProtoReflect() protoreflect.Message

func (*TestAssocHandlerReplace) Reset

func (x *TestAssocHandlerReplace) Reset()

func (*TestAssocHandlerReplace) String

func (x *TestAssocHandlerReplace) String() string

func (*TestAssocHandlerReplace) ToORM

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

type TestAssocHandlerReplaceORM

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

func (TestAssocHandlerReplaceORM) TableName

func (TestAssocHandlerReplaceORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*TestAssocHandlerReplaceORM) ToPB

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_

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

type TestAssocHandlerReplaceORMWithAfterDeleteSet

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

type TestAssocHandlerReplaceORMWithAfterDelete_

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

type TestAssocHandlerReplaceORMWithAfterListFind

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

type TestAssocHandlerReplaceORMWithAfterReadFind

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

type TestAssocHandlerReplaceORMWithAfterStrictUpdateSave

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

type TestAssocHandlerReplaceORMWithBeforeCreate_

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

type TestAssocHandlerReplaceORMWithBeforeDeleteSet

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

type TestAssocHandlerReplaceORMWithBeforeDelete_

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

type TestAssocHandlerReplaceORMWithBeforeListApplyQuery

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

type TestAssocHandlerReplaceORMWithBeforeListFind

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

type TestAssocHandlerReplaceORMWithBeforeReadApplyQuery

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

type TestAssocHandlerReplaceORMWithBeforeReadFind

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

type TestAssocHandlerReplaceORMWithBeforeStrictUpdateCleanup

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

type TestAssocHandlerReplaceORMWithBeforeStrictUpdateSave

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

type TestAssocHandlerReplaceWithAfterPatchSave

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

type TestAssocHandlerReplaceWithAfterToORM

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

TestAssocHandlerReplaceAfterToORM called after default ToORM code

type TestAssocHandlerReplaceWithAfterToPB

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

TestAssocHandlerReplaceAfterToPB called after default ToPB code

type TestAssocHandlerReplaceWithBeforePatchApplyFieldMask

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

type TestAssocHandlerReplaceWithBeforePatchRead

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

type TestAssocHandlerReplaceWithBeforePatchSave

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

type TestAssocHandlerReplaceWithBeforeToORM

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

TestAssocHandlerReplaceBeforeToORM called before default ToORM code

type TestAssocHandlerReplaceWithBeforeToPB

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

TestAssocHandlerReplaceBeforeToPB called before default ToPB code

type TestTag

type TestTag struct {
	Id           string              `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TestTagAssoc *TestTagAssociation `protobuf:"bytes,2,opt,name=testTagAssoc,proto3" json:"testTagAssoc,omitempty"`
	// contains filtered or unexported fields
}

func DefaultApplyFieldMaskTestTag

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

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

func DefaultCreateTestTag

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

DefaultCreateTestTag executes a basic gorm create call

func DefaultListTestTag

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

DefaultListTestTag executes a gorm list call

func DefaultPatchSetTestTag

func DefaultPatchSetTestTag(ctx context.Context, objects []*TestTag, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*TestTag, error)

DefaultPatchSetTestTag executes a bulk gorm update call with patch behavior

func DefaultPatchTestTag

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

DefaultPatchTestTag executes a basic gorm update call with patch behavior

func DefaultReadTestTag

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

DefaultReadTestTag executes a basic gorm read call

func DefaultStrictUpdateTestTag

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 deprecated

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

Deprecated: Use TestTag.ProtoReflect.Descriptor instead.

func (*TestTag) GetId

func (x *TestTag) GetId() string

func (*TestTag) GetTestTagAssoc

func (x *TestTag) GetTestTagAssoc() *TestTagAssociation

func (*TestTag) ProtoMessage

func (*TestTag) ProtoMessage()

func (*TestTag) ProtoReflect

func (x *TestTag) ProtoReflect() protoreflect.Message

func (*TestTag) Reset

func (x *TestTag) Reset()

func (*TestTag) String

func (x *TestTag) String() string

func (*TestTag) ToORM

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

type TestTagAssociation struct {
	SomeField string `protobuf:"bytes,1,opt,name=some_field,json=someField,proto3" json:"some_field,omitempty"`
	// contains filtered or unexported fields
}

func DefaultApplyFieldMaskTestTagAssociation

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

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

func DefaultCreateTestTagAssociation

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

DefaultCreateTestTagAssociation executes a basic gorm create call

func DefaultListTestTagAssociation

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

DefaultListTestTagAssociation executes a gorm list call

func (*TestTagAssociation) Descriptor deprecated

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

Deprecated: Use TestTagAssociation.ProtoReflect.Descriptor instead.

func (*TestTagAssociation) GetSomeField

func (x *TestTagAssociation) GetSomeField() string

func (*TestTagAssociation) ProtoMessage

func (*TestTagAssociation) ProtoMessage()

func (*TestTagAssociation) ProtoReflect

func (x *TestTagAssociation) ProtoReflect() protoreflect.Message

func (*TestTagAssociation) Reset

func (x *TestTagAssociation) Reset()

func (*TestTagAssociation) String

func (x *TestTagAssociation) String() string

func (*TestTagAssociation) ToORM

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

type TestTagAssociationORM

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

func (TestTagAssociationORM) TableName

func (TestTagAssociationORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*TestTagAssociationORM) ToPB

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_

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

type TestTagAssociationORMWithAfterListFind

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

type TestTagAssociationORMWithBeforeCreate_

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

type TestTagAssociationORMWithBeforeListApplyQuery

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

type TestTagAssociationORMWithBeforeListFind

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

type TestTagAssociationWithAfterToORM

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

TestTagAssociationAfterToORM called after default ToORM code

type TestTagAssociationWithAfterToPB

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

TestTagAssociationAfterToPB called after default ToPB code

type TestTagAssociationWithBeforeToORM

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

TestTagAssociationBeforeToORM called before default ToORM code

type TestTagAssociationWithBeforeToPB

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

TestTagAssociationBeforeToPB called before default ToPB code

type TestTagORM

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

func (TestTagORM) TableName

func (TestTagORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*TestTagORM) ToPB

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_

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

type TestTagORMWithAfterDeleteSet

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

type TestTagORMWithAfterDelete_

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

type TestTagORMWithAfterListFind

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

type TestTagORMWithAfterReadFind

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

type TestTagORMWithAfterStrictUpdateSave

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

type TestTagORMWithBeforeCreate_

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

type TestTagORMWithBeforeDeleteSet

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

type TestTagORMWithBeforeDelete_

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

type TestTagORMWithBeforeListApplyQuery

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

type TestTagORMWithBeforeListFind

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

type TestTagORMWithBeforeReadApplyQuery

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

type TestTagORMWithBeforeReadFind

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

type TestTagORMWithBeforeStrictUpdateCleanup

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

type TestTagORMWithBeforeStrictUpdateSave

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

type TestTagWithAfterPatchSave

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

type TestTagWithAfterToORM

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

TestTagAfterToORM called after default ToORM code

type TestTagWithAfterToPB

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

TestTagAfterToPB called after default ToPB code

type TestTagWithBeforePatchApplyFieldMask

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

type TestTagWithBeforePatchRead

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

type TestTagWithBeforePatchSave

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

type TestTagWithBeforeToORM

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

TestTagBeforeToORM called before default ToORM code

type TestTagWithBeforeToPB

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,proto3" json:"api_only_string,omitempty"`
	// repeated raw types are currently unsupported, so this field will be dropped
	// at the ORM level
	Numbers []int32 `protobuf:"varint,2,rep,packed,name=numbers,proto3" json:"numbers,omitempty"`
	// a StringValue represents a Nullable string
	OptionalString *wrappers.StringValue `protobuf:"bytes,3,opt,name=optional_string,json=optionalString,proto3" json:"optional_string,omitempty"`
	BecomesInt     TestTypesStatus       `protobuf:"varint,4,opt,name=becomes_int,json=becomesInt,proto3,enum=example.TestTypesStatus" json:"becomes_int,omitempty"`
	// The Empty type serves no purpose outside of rpc calls and is dropped
	// automatically from objects
	Nothingness *empty.Empty `protobuf:"bytes,5,opt,name=nothingness,proto3" json:"nothingness,omitempty"`
	// The UUID custom type should act like a StringValue at the API level, but is
	// automatically converted to and from a uuid.UUID (github.com/satori/go.uuid)
	Uuid *types.UUID `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Timestamps convert to golang's time.Time type, and created_at and
	// updated_at values are automatically filled by GORM
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// This represents a foreign key to the 'type_with_id' type for associations
	// This could be hidden from the API (or soon autogenerated).
	TypeWithIdId uint32 `protobuf:"varint,8,opt,name=type_with_id_id,json=typeWithIdId,proto3" json:"type_with_id_id,omitempty"`
	// This is an arbitrary JSON string that is marshalled and unmarshalled
	// specially in grpc-gateway as a JSON object
	JsonField *types.JSONValue `protobuf:"bytes,9,opt,name=json_field,json=jsonField,proto3" json:"json_field,omitempty"`
	// The UUIDValue custom type should act like a StringValue at the API level, but is
	// automatically converted to and from a *uuid.UUID (github.com/satori/go.uuid)
	NullableUuid *types.UUIDValue `protobuf:"bytes,10,opt,name=nullable_uuid,json=nullableUuid,proto3" json:"nullable_uuid,omitempty"`
	// The TimeOnly should act as uint32 value at business layer, but is automatically
	// converted to/from string at API and ORM level
	TimeOnly *types.TimeOnly `protobuf:"bytes,11,opt,name=time_only,json=timeOnly,proto3" json:"time_only,omitempty"`
	// contains filtered or unexported fields
}

test_types is a message that includes a representative sample of the available types

func DefaultApplyFieldMaskTestTypes

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

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

func DefaultCreateTestTypes

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 deprecated

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

Deprecated: Use TestTypes.ProtoReflect.Descriptor instead.

func (*TestTypes) GetApiOnlyString

func (x *TestTypes) GetApiOnlyString() string

func (*TestTypes) GetBecomesInt

func (x *TestTypes) GetBecomesInt() TestTypesStatus

func (*TestTypes) GetCreatedAt

func (x *TestTypes) GetCreatedAt() *timestamp.Timestamp

func (*TestTypes) GetJsonField

func (x *TestTypes) GetJsonField() *types.JSONValue

func (*TestTypes) GetNothingness

func (x *TestTypes) GetNothingness() *empty.Empty

func (*TestTypes) GetNullableUuid

func (x *TestTypes) GetNullableUuid() *types.UUIDValue

func (*TestTypes) GetNumbers

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

func (*TestTypes) GetOptionalString

func (x *TestTypes) GetOptionalString() *wrappers.StringValue

func (*TestTypes) GetTimeOnly

func (x *TestTypes) GetTimeOnly() *types.TimeOnly

func (*TestTypes) GetTypeWithIdId

func (x *TestTypes) GetTypeWithIdId() uint32

func (*TestTypes) GetUuid

func (x *TestTypes) GetUuid() *types.UUID

func (*TestTypes) ProtoMessage

func (*TestTypes) ProtoMessage()

func (*TestTypes) ProtoReflect

func (x *TestTypes) ProtoReflect() protoreflect.Message

func (*TestTypes) Reset

func (x *TestTypes) Reset()

func (*TestTypes) String

func (x *TestTypes) String() string

func (*TestTypes) ToORM

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

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_

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

type TestTypesORMWithAfterListFind

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

type TestTypesORMWithBeforeCreate_

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

type TestTypesORMWithBeforeListApplyQuery

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

type TestTypesORMWithBeforeListFind

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) Descriptor

func (TestTypesStatus) Enum

func (x TestTypesStatus) Enum() *TestTypesStatus

func (TestTypesStatus) EnumDescriptor deprecated

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

Deprecated: Use TestTypesStatus.Descriptor instead.

func (TestTypesStatus) Number

func (TestTypesStatus) String

func (x TestTypesStatus) String() string

func (TestTypesStatus) Type

type TestTypesWithAfterToORM

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

TestTypesAfterToORM called after default ToORM code

type TestTypesWithAfterToPB

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

TestTypesAfterToPB called after default ToPB code

type TestTypesWithBeforeToORM

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

TestTypesBeforeToORM called before default ToORM code

type TestTypesWithBeforeToPB

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

TestTypesBeforeToPB called before default ToPB code

type TypeWithID

type TypeWithID struct {

	// any field named 'id' is assumed by gorm to be the primary key for the
	// object.
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// The field option also allows arbitrary tag setting, such as informing
	// gorm of a primary key, different column names or different types in the db
	Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	// A default has-many relationship, will error on generation if no FK field,
	// convention {typename}_id, is present. These FK fields will be automatically
	// populated on create and update.
	Things []*TestTypes `protobuf:"bytes,3,rep,name=things,proto3" json:"things,omitempty"`
	// A default has-one relationship, will error as above
	ANestedObject *TestTypes `protobuf:"bytes,4,opt,name=a_nested_object,json=aNestedObject,proto3" json:"a_nested_object,omitempty"`
	// An in-package and cross-package imported type (in-package can use any
	// association type, cross-package is limited to belongs_to and many_to_many)
	Point               *IntPoint             `protobuf:"bytes,5,opt,name=point,proto3" json:"point,omitempty"`
	User                *user.User            `protobuf:"bytes,6,opt,name=user,proto3" json:"user,omitempty"`
	Address             *types.InetValue      `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"`
	MultiaccountTypeIds []uint32              `` /* 128-byte string literal not displayed */
	SyntheticField      *APIOnlyType          `protobuf:"bytes,9,opt,name=synthetic_field,json=syntheticField,proto3" json:"synthetic_field,omitempty"`
	TagTest             float32               `protobuf:"fixed32,10,opt,name=tag_test,json=tagTest,proto3" json:"tag_test,omitempty"`
	TagSizeTest         string                `protobuf:"bytes,11,opt,name=tag_size_test,json=tagSizeTest,proto3" json:"tag_size_test,omitempty"`
	FloatField          *wrappers.FloatValue  `protobuf:"bytes,12,opt,name=float_field,json=floatField,proto3" json:"float_field,omitempty"`
	DoubleField         *wrappers.DoubleValue `protobuf:"bytes,13,opt,name=double_field,json=doubleField,proto3" json:"double_field,omitempty"`
	// Limited support for DB type 'time', implemented via strings (string -> DB && DB -> string)
	TimeOnly  *types.TimeOnly      `protobuf:"bytes,14,opt,name=time_only,json=timeOnly,proto3" json:"time_only,omitempty"`
	DeletedAt *timestamp.Timestamp `protobuf:"bytes,15,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

TypeWithID demonstrates some basic assocation behavior

func DefaultApplyFieldMaskTypeWithID

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

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

DefaultListTypeWithID executes a gorm list call

func DefaultPatchSetTypeWithID

func DefaultPatchSetTypeWithID(ctx context.Context, objects []*TypeWithID, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*TypeWithID, error)

DefaultPatchSetTypeWithID executes a bulk gorm update call with patch behavior

func DefaultPatchTypeWithID

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

DefaultPatchTypeWithID executes a basic gorm update call with patch behavior

func DefaultReadTypeWithID

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

DefaultReadTypeWithID executes a basic gorm read call

func DefaultStrictUpdateTypeWithID

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

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

func (*TypeWithID) AfterToORM

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

func (*TypeWithID) Descriptor deprecated

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

Deprecated: Use TypeWithID.ProtoReflect.Descriptor instead.

func (*TypeWithID) GetANestedObject

func (x *TypeWithID) GetANestedObject() *TestTypes

func (*TypeWithID) GetAddress

func (x *TypeWithID) GetAddress() *types.InetValue

func (*TypeWithID) GetDeletedAt

func (x *TypeWithID) GetDeletedAt() *timestamp.Timestamp

func (*TypeWithID) GetDoubleField

func (x *TypeWithID) GetDoubleField() *wrappers.DoubleValue

func (*TypeWithID) GetFloatField

func (x *TypeWithID) GetFloatField() *wrappers.FloatValue

func (*TypeWithID) GetId

func (x *TypeWithID) GetId() uint32

func (*TypeWithID) GetIp

func (x *TypeWithID) GetIp() string

func (*TypeWithID) GetMultiaccountTypeIds

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

func (*TypeWithID) GetPoint

func (x *TypeWithID) GetPoint() *IntPoint

func (*TypeWithID) GetSyntheticField

func (x *TypeWithID) GetSyntheticField() *APIOnlyType

func (*TypeWithID) GetTagSizeTest

func (x *TypeWithID) GetTagSizeTest() string

func (*TypeWithID) GetTagTest

func (x *TypeWithID) GetTagTest() float32

func (*TypeWithID) GetThings

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

func (*TypeWithID) GetTimeOnly

func (x *TypeWithID) GetTimeOnly() *types.TimeOnly

func (*TypeWithID) GetUser

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

func (*TypeWithID) ProtoMessage

func (*TypeWithID) ProtoMessage()

func (*TypeWithID) ProtoReflect

func (x *TypeWithID) ProtoReflect() protoreflect.Message

func (*TypeWithID) Reset

func (x *TypeWithID) Reset()

func (*TypeWithID) String

func (x *TypeWithID) String() string

func (*TypeWithID) ToORM

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

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

type TypeWithIDORM

type TypeWithIDORM struct {
	ANestedObject     *TestTypesORM `gorm:"foreignkey:ANestedObjectTypeWithIDId;association_foreignkey:Id"`
	Address           *types1.Inet  `gorm:"type:inet"`
	DeletedAt         *time.Time
	DoubleField       *float64
	FloatField        *float32
	Id                uint32
	IntPointId        *uint32
	Ip                string          `gorm:"column:ip_addr"`
	MultiAccountTypes []*JoinTable    `gorm:"foreignkey:TypeWithIDID"`
	Point             *IntPointORM    `gorm:"foreignkey:IntPointId;association_foreignkey:Id"`
	SecretInt         int32           `gorm:"-"`
	TagSizeTest       string          `gorm:"size:512"`
	TagTest           float32         `gorm:"type:float;precision:6"`
	Things            []*TestTypesORM `gorm:"foreignkey:ThingsTypeWithIDId;association_foreignkey:Id"`
	TimeOnly          string          `gorm:"type:time"`
	User              *user.UserORM   `gorm:"foreignkey:UserId;association_foreignkey:Id"`
	UserId            *string
}

func (*TypeWithIDORM) AfterToPB

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

func (TypeWithIDORM) TableName

func (TypeWithIDORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*TypeWithIDORM) ToPB

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

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

type TypeWithIDORMWithAfterCreate_

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

type TypeWithIDORMWithAfterDeleteSet

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

type TypeWithIDORMWithAfterDelete_

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

type TypeWithIDORMWithAfterListFind

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

type TypeWithIDORMWithAfterReadFind

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

type TypeWithIDORMWithAfterStrictUpdateSave

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

type TypeWithIDORMWithBeforeCreate_

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

type TypeWithIDORMWithBeforeDeleteSet

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

type TypeWithIDORMWithBeforeDelete_

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

type TypeWithIDORMWithBeforeListApplyQuery

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

type TypeWithIDORMWithBeforeListFind

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

type TypeWithIDORMWithBeforeReadApplyQuery

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

type TypeWithIDORMWithBeforeReadFind

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

type TypeWithIDORMWithBeforeStrictUpdateCleanup

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

type TypeWithIDORMWithBeforeStrictUpdateSave

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

type TypeWithIDWithAfterPatchSave

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

type TypeWithIDWithAfterToORM

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

TypeWithIDAfterToORM called after default ToORM code

type TypeWithIDWithAfterToPB

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

TypeWithIDAfterToPB called after default ToPB code

type TypeWithIDWithBeforePatchApplyFieldMask

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

type TypeWithIDWithBeforePatchRead

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

type TypeWithIDWithBeforePatchSave

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

type TypeWithIDWithBeforeToORM

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

TypeWithIDBeforeToORM called before default ToORM code

type TypeWithIDWithBeforeToPB

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

TypeWithIDBeforeToPB called before default ToPB code

type UpdateIntPointRequest

type UpdateIntPointRequest struct {
	Payload        *IntPoint             `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	GerogeriGegege *field_mask.FieldMask `protobuf:"bytes,2,opt,name=gerogeri_gegege,json=gerogeriGegege,proto3" json:"gerogeri_gegege,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateIntPointRequest) Descriptor deprecated

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

Deprecated: Use UpdateIntPointRequest.ProtoReflect.Descriptor instead.

func (*UpdateIntPointRequest) GetGerogeriGegege

func (x *UpdateIntPointRequest) GetGerogeriGegege() *field_mask.FieldMask

func (*UpdateIntPointRequest) GetPayload

func (x *UpdateIntPointRequest) GetPayload() *IntPoint

func (*UpdateIntPointRequest) ProtoMessage

func (*UpdateIntPointRequest) ProtoMessage()

func (*UpdateIntPointRequest) ProtoReflect

func (x *UpdateIntPointRequest) ProtoReflect() protoreflect.Message

func (*UpdateIntPointRequest) Reset

func (x *UpdateIntPointRequest) Reset()

func (*UpdateIntPointRequest) String

func (x *UpdateIntPointRequest) String() string

type UpdateIntPointResponse

type UpdateIntPointResponse struct {
	Result *IntPoint `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateIntPointResponse) Descriptor deprecated

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

Deprecated: Use UpdateIntPointResponse.ProtoReflect.Descriptor instead.

func (*UpdateIntPointResponse) GetResult

func (x *UpdateIntPointResponse) GetResult() *IntPoint

func (*UpdateIntPointResponse) ProtoMessage

func (*UpdateIntPointResponse) ProtoMessage()

func (*UpdateIntPointResponse) ProtoReflect

func (x *UpdateIntPointResponse) ProtoReflect() protoreflect.Message

func (*UpdateIntPointResponse) Reset

func (x *UpdateIntPointResponse) Reset()

func (*UpdateIntPointResponse) String

func (x *UpdateIntPointResponse) String() string

type UpdateSetIntPointRequest

type UpdateSetIntPointRequest struct {
	Objects []*IntPoint             `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	Masks   []*field_mask.FieldMask `protobuf:"bytes,2,rep,name=masks,proto3" json:"masks,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSetIntPointRequest) Descriptor deprecated

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

Deprecated: Use UpdateSetIntPointRequest.ProtoReflect.Descriptor instead.

func (*UpdateSetIntPointRequest) GetMasks

func (*UpdateSetIntPointRequest) GetObjects

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

func (*UpdateSetIntPointRequest) ProtoMessage

func (*UpdateSetIntPointRequest) ProtoMessage()

func (*UpdateSetIntPointRequest) ProtoReflect

func (x *UpdateSetIntPointRequest) ProtoReflect() protoreflect.Message

func (*UpdateSetIntPointRequest) Reset

func (x *UpdateSetIntPointRequest) Reset()

func (*UpdateSetIntPointRequest) String

func (x *UpdateSetIntPointRequest) String() string

type UpdateSetIntPointResponse

type UpdateSetIntPointResponse struct {
	Results []*IntPoint `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSetIntPointResponse) Descriptor deprecated

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

Deprecated: Use UpdateSetIntPointResponse.ProtoReflect.Descriptor instead.

func (*UpdateSetIntPointResponse) GetResults

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

func (*UpdateSetIntPointResponse) ProtoMessage

func (*UpdateSetIntPointResponse) ProtoMessage()

func (*UpdateSetIntPointResponse) ProtoReflect

func (*UpdateSetIntPointResponse) Reset

func (x *UpdateSetIntPointResponse) Reset()

func (*UpdateSetIntPointResponse) String

func (x *UpdateSetIntPointResponse) String() string

Jump to

Keyboard shortcuts

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