dynamic_service

package
v0.0.0-...-cbfa0ec Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EntityService_Create_FullMethodName      = "/dynamic_service.EntityService/Create"
	EntityService_Update_FullMethodName      = "/dynamic_service.EntityService/Update"
	EntityService_UpdatePatch_FullMethodName = "/dynamic_service.EntityService/UpdatePatch"
	EntityService_Delete_FullMethodName      = "/dynamic_service.EntityService/Delete"
	EntityService_GetAll_FullMethodName      = "/dynamic_service.EntityService/GetAll"
	EntityService_GetById_FullMethodName     = "/dynamic_service.EntityService/GetById"
	EntityService_GetJoin_FullMethodName     = "/dynamic_service.EntityService/GetJoin"
)
View Source
const (
	DynamicService_CreateGroup_FullMethodName  = "/dynamic_service.DynamicService/CreateGroup"
	DynamicService_UpdateGroup_FullMethodName  = "/dynamic_service.DynamicService/UpdateGroup"
	DynamicService_DeleteGroup_FullMethodName  = "/dynamic_service.DynamicService/DeleteGroup"
	DynamicService_GetGroupById_FullMethodName = "/dynamic_service.DynamicService/GetGroupById"
	DynamicService_GetAllGroup_FullMethodName  = "/dynamic_service.DynamicService/GetAllGroup"
	DynamicService_CreateField_FullMethodName  = "/dynamic_service.DynamicService/CreateField"
	DynamicService_UpdateField_FullMethodName  = "/dynamic_service.DynamicService/UpdateField"
	DynamicService_DeleteField_FullMethodName  = "/dynamic_service.DynamicService/DeleteField"
	DynamicService_GetFieldById_FullMethodName = "/dynamic_service.DynamicService/GetFieldById"
	DynamicService_GetAllField_FullMethodName  = "/dynamic_service.DynamicService/GetAllField"
	DynamicService_GetFullGroup_FullMethodName = "/dynamic_service.DynamicService/GetFullGroup"
)

Variables

View Source
var DynamicService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dynamic_service.DynamicService",
	HandlerType: (*DynamicServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateGroup",
			Handler:    _DynamicService_CreateGroup_Handler,
		},
		{
			MethodName: "UpdateGroup",
			Handler:    _DynamicService_UpdateGroup_Handler,
		},
		{
			MethodName: "DeleteGroup",
			Handler:    _DynamicService_DeleteGroup_Handler,
		},
		{
			MethodName: "GetGroupById",
			Handler:    _DynamicService_GetGroupById_Handler,
		},
		{
			MethodName: "GetAllGroup",
			Handler:    _DynamicService_GetAllGroup_Handler,
		},
		{
			MethodName: "CreateField",
			Handler:    _DynamicService_CreateField_Handler,
		},
		{
			MethodName: "UpdateField",
			Handler:    _DynamicService_UpdateField_Handler,
		},
		{
			MethodName: "DeleteField",
			Handler:    _DynamicService_DeleteField_Handler,
		},
		{
			MethodName: "GetFieldById",
			Handler:    _DynamicService_GetFieldById_Handler,
		},
		{
			MethodName: "GetAllField",
			Handler:    _DynamicService_GetAllField_Handler,
		},
		{
			MethodName: "GetFullGroup",
			Handler:    _DynamicService_GetFullGroup_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "group.proto",
}

DynamicService_ServiceDesc is the grpc.ServiceDesc for DynamicService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var EntityService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dynamic_service.EntityService",
	HandlerType: (*EntityServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _EntityService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _EntityService_Update_Handler,
		},
		{
			MethodName: "UpdatePatch",
			Handler:    _EntityService_UpdatePatch_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _EntityService_Delete_Handler,
		},
		{
			MethodName: "GetAll",
			Handler:    _EntityService_GetAll_Handler,
		},
		{
			MethodName: "GetById",
			Handler:    _EntityService_GetById_Handler,
		},
		{
			MethodName: "GetJoin",
			Handler:    _EntityService_GetJoin_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "entity.proto",
}

EntityService_ServiceDesc is the grpc.ServiceDesc for EntityService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_entity_proto protoreflect.FileDescriptor
View Source
var File_group_proto protoreflect.FileDescriptor

Functions

func RegisterDynamicServiceServer

func RegisterDynamicServiceServer(s grpc.ServiceRegistrar, srv DynamicServiceServer)

func RegisterEntityServiceServer

func RegisterEntityServiceServer(s grpc.ServiceRegistrar, srv EntityServiceServer)

Types

type DynamicServiceClient

type DynamicServiceClient interface {
	CreateGroup(ctx context.Context, in *Group, opts ...grpc.CallOption) (*Group, error)
	UpdateGroup(ctx context.Context, in *Group, opts ...grpc.CallOption) (*Group, error)
	DeleteGroup(ctx context.Context, in *GetByIdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetGroupById(ctx context.Context, in *GetByIdRequest, opts ...grpc.CallOption) (*Group, error)
	GetAllGroup(ctx context.Context, in *GetAllGroupRequest, opts ...grpc.CallOption) (*GetAllGroupResponse, error)
	CreateField(ctx context.Context, in *Field, opts ...grpc.CallOption) (*Field, error)
	UpdateField(ctx context.Context, in *Field, opts ...grpc.CallOption) (*Field, error)
	DeleteField(ctx context.Context, in *GetByIdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetFieldById(ctx context.Context, in *GetByIdRequest, opts ...grpc.CallOption) (*Field, error)
	GetAllField(ctx context.Context, in *GetAllFieldRequest, opts ...grpc.CallOption) (*GetAllFieldResponse, error)
	GetFullGroup(ctx context.Context, in *GetByIdRequest, opts ...grpc.CallOption) (*Group, error)
}

DynamicServiceClient is the client API for DynamicService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type DynamicServiceServer

type DynamicServiceServer interface {
	CreateGroup(context.Context, *Group) (*Group, error)
	UpdateGroup(context.Context, *Group) (*Group, error)
	DeleteGroup(context.Context, *GetByIdRequest) (*emptypb.Empty, error)
	GetGroupById(context.Context, *GetByIdRequest) (*Group, error)
	GetAllGroup(context.Context, *GetAllGroupRequest) (*GetAllGroupResponse, error)
	CreateField(context.Context, *Field) (*Field, error)
	UpdateField(context.Context, *Field) (*Field, error)
	DeleteField(context.Context, *GetByIdRequest) (*emptypb.Empty, error)
	GetFieldById(context.Context, *GetByIdRequest) (*Field, error)
	GetAllField(context.Context, *GetAllFieldRequest) (*GetAllFieldResponse, error)
	GetFullGroup(context.Context, *GetByIdRequest) (*Group, error)
	// contains filtered or unexported methods
}

DynamicServiceServer is the server API for DynamicService service. All implementations must embed UnimplementedDynamicServiceServer for forward compatibility

type Entity

type Entity struct {
	XId      string           `protobuf:"bytes,1,opt,name=_id,json=Id,proto3" json:"_id" bson:"_id"`
	Slug     string           `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug" bson:"slug"`
	Data     *structpb.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data" bson:"data"`
	Location string           `protobuf:"bytes,4,opt,name=location,proto3" json:"location" bson:"location"`
	// contains filtered or unexported fields
}

func (*Entity) Descriptor deprecated

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

Deprecated: Use Entity.ProtoReflect.Descriptor instead.

func (*Entity) GetData

func (x *Entity) GetData() *structpb.Struct

func (*Entity) GetLocation

func (x *Entity) GetLocation() string

func (*Entity) GetSlug

func (x *Entity) GetSlug() string

func (*Entity) GetXId

func (x *Entity) GetXId() string

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) ProtoReflect

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

func (*Entity) Reset

func (x *Entity) Reset()

func (*Entity) String

func (x *Entity) String() string

type EntityServiceClient

type EntityServiceClient interface {
	Create(ctx context.Context, in *Entity, opts ...grpc.CallOption) (*Entity, error)
	Update(ctx context.Context, in *Entity, opts ...grpc.CallOption) (*Entity, error)
	UpdatePatch(ctx context.Context, in *Entity, opts ...grpc.CallOption) (*Entity, error)
	Delete(ctx context.Context, in *Entity, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetAll(ctx context.Context, in *GetAllRequest, opts ...grpc.CallOption) (*GetAllResponse, error)
	GetById(ctx context.Context, in *GetByPk, opts ...grpc.CallOption) (*Entity, error)
	GetJoin(ctx context.Context, in *GetJoinRequest, opts ...grpc.CallOption) (*GetAllResponse, error)
}

EntityServiceClient is the client API for EntityService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type EntityServiceServer

type EntityServiceServer interface {
	Create(context.Context, *Entity) (*Entity, error)
	Update(context.Context, *Entity) (*Entity, error)
	UpdatePatch(context.Context, *Entity) (*Entity, error)
	Delete(context.Context, *Entity) (*emptypb.Empty, error)
	GetAll(context.Context, *GetAllRequest) (*GetAllResponse, error)
	GetById(context.Context, *GetByPk) (*Entity, error)
	GetJoin(context.Context, *GetJoinRequest) (*GetAllResponse, error)
	// contains filtered or unexported methods
}

EntityServiceServer is the server API for EntityService service. All implementations must embed UnimplementedEntityServiceServer for forward compatibility

type Field

type Field struct {
	XId             string        `protobuf:"bytes,1,opt,name=_id,json=Id,proto3" json:"_id" bson:"_id"`
	Name            string        `protobuf:"bytes,2,opt,name=name,proto3" json:"name" bson:"name"`
	Description     string        `protobuf:"bytes,3,opt,name=description,proto3" json:"description" bson:"description"`
	Slug            string        `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug" bson:"slug"`
	OrderNumber     int32         `protobuf:"varint,5,opt,name=order_number,json=orderNumber,proto3" json:"order_number" bson:"order_number"`
	Status          int32         `protobuf:"varint,6,opt,name=status,proto3" json:"status" bson:"status"`
	CreatedAt       string        `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at" bson:"created_at"`
	IsRequired      bool          `protobuf:"varint,8,opt,name=is_required,json=isRequired,proto3" json:"is_required" bson:"is_required"`
	Placeholder     string        `protobuf:"bytes,9,opt,name=placeholder,proto3" json:"placeholder" bson:"placeholder"`
	FieldType       string        `protobuf:"bytes,10,opt,name=field_type,json=fieldType,proto3" json:"field_type" bson:"field_type"`
	SelectType      []*SelectType `protobuf:"bytes,11,rep,name=select_type,json=selectType,proto3" json:"select_type" bson:"select_type"`
	ValidationRegex string        `protobuf:"bytes,12,opt,name=validation_regex,json=validationRegex,proto3" json:"validation_regex" bson:"validation_regex"`
	ValidationFunc  string        `protobuf:"bytes,13,opt,name=validation_func,json=validationFunc,proto3" json:"validation_func" bson:"validation_func"`
	GroupId         string        `protobuf:"bytes,14,opt,name=group_id,json=groupId,proto3" json:"group_id" bson:"group_id"`
	UpdatedAt       string        `protobuf:"bytes,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at" bson:"updated_at"`
	Min             int32         `protobuf:"varint,16,opt,name=min,proto3" json:"min" bson:"min"`
	Max             int32         `protobuf:"varint,17,opt,name=max,proto3" json:"max" bson:"max"`
	DefaultValue    string        `protobuf:"bytes,18,opt,name=default_value,json=defaultValue,proto3" json:"default_value" bson:"default_value"`
	IsSearchable    int32         `protobuf:"varint,19,opt,name=is_searchable,json=isSearchable,proto3" json:"is_searchable" bson:"is_searchable"`
	// contains filtered or unexported fields
}

func (*Field) Descriptor deprecated

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

Deprecated: Use Field.ProtoReflect.Descriptor instead.

func (*Field) GetCreatedAt

func (x *Field) GetCreatedAt() string

func (*Field) GetDefaultValue

func (x *Field) GetDefaultValue() string

func (*Field) GetDescription

func (x *Field) GetDescription() string

func (*Field) GetFieldType

func (x *Field) GetFieldType() string

func (*Field) GetGroupId

func (x *Field) GetGroupId() string

func (*Field) GetIsRequired

func (x *Field) GetIsRequired() bool

func (*Field) GetIsSearchable

func (x *Field) GetIsSearchable() int32

func (*Field) GetMax

func (x *Field) GetMax() int32

func (*Field) GetMin

func (x *Field) GetMin() int32

func (*Field) GetName

func (x *Field) GetName() string

func (*Field) GetOrderNumber

func (x *Field) GetOrderNumber() int32

func (*Field) GetPlaceholder

func (x *Field) GetPlaceholder() string

func (*Field) GetSelectType

func (x *Field) GetSelectType() []*SelectType

func (*Field) GetSlug

func (x *Field) GetSlug() string

func (*Field) GetStatus

func (x *Field) GetStatus() int32

func (*Field) GetUpdatedAt

func (x *Field) GetUpdatedAt() string

func (*Field) GetValidationFunc

func (x *Field) GetValidationFunc() string

func (*Field) GetValidationRegex

func (x *Field) GetValidationRegex() string

func (*Field) GetXId

func (x *Field) GetXId() string

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) ProtoReflect

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

func (*Field) Reset

func (x *Field) Reset()

func (*Field) String

func (x *Field) String() string

type GetAllFieldRequest

type GetAllFieldRequest struct {
	Offset    int32  `protobuf:"varint,1,opt,name=offset,proto3" json:"offset" bson:"offset"`
	Limit     int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit" bson:"limit"`
	Sort      string `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort" bson:"sort"`
	Order     string `protobuf:"bytes,4,opt,name=order,proto3" json:"order" bson:"order"`
	Search    string `protobuf:"bytes,5,opt,name=search,proto3" json:"search" bson:"search"`
	GroupId   string `protobuf:"bytes,6,opt,name=group_id,json=groupId,proto3" json:"group_id" bson:"group_id"`
	FieldType string `protobuf:"bytes,7,opt,name=field_type,json=fieldType,proto3" json:"field_type" bson:"field_type"`
	Slug      string `protobuf:"bytes,8,opt,name=slug,proto3" json:"slug" bson:"slug"`
	// contains filtered or unexported fields
}

func (*GetAllFieldRequest) Descriptor deprecated

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

Deprecated: Use GetAllFieldRequest.ProtoReflect.Descriptor instead.

func (*GetAllFieldRequest) GetFieldType

func (x *GetAllFieldRequest) GetFieldType() string

func (*GetAllFieldRequest) GetGroupId

func (x *GetAllFieldRequest) GetGroupId() string

func (*GetAllFieldRequest) GetLimit

func (x *GetAllFieldRequest) GetLimit() int32

func (*GetAllFieldRequest) GetOffset

func (x *GetAllFieldRequest) GetOffset() int32

func (*GetAllFieldRequest) GetOrder

func (x *GetAllFieldRequest) GetOrder() string

func (*GetAllFieldRequest) GetSearch

func (x *GetAllFieldRequest) GetSearch() string

func (*GetAllFieldRequest) GetSlug

func (x *GetAllFieldRequest) GetSlug() string

func (*GetAllFieldRequest) GetSort

func (x *GetAllFieldRequest) GetSort() string

func (*GetAllFieldRequest) ProtoMessage

func (*GetAllFieldRequest) ProtoMessage()

func (*GetAllFieldRequest) ProtoReflect

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

func (*GetAllFieldRequest) Reset

func (x *GetAllFieldRequest) Reset()

func (*GetAllFieldRequest) String

func (x *GetAllFieldRequest) String() string

type GetAllFieldResponse

type GetAllFieldResponse struct {
	Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields" bson:"fields"`
	Count  int32    `protobuf:"varint,2,opt,name=count,proto3" json:"count" bson:"count"`
	// contains filtered or unexported fields
}

func (*GetAllFieldResponse) Descriptor deprecated

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

Deprecated: Use GetAllFieldResponse.ProtoReflect.Descriptor instead.

func (*GetAllFieldResponse) GetCount

func (x *GetAllFieldResponse) GetCount() int32

func (*GetAllFieldResponse) GetFields

func (x *GetAllFieldResponse) GetFields() []*Field

func (*GetAllFieldResponse) ProtoMessage

func (*GetAllFieldResponse) ProtoMessage()

func (*GetAllFieldResponse) ProtoReflect

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

func (*GetAllFieldResponse) Reset

func (x *GetAllFieldResponse) Reset()

func (*GetAllFieldResponse) String

func (x *GetAllFieldResponse) String() string

type GetAllGroupRequest

type GetAllGroupRequest struct {
	Offset    int32  `protobuf:"varint,1,opt,name=offset,proto3" json:"offset" bson:"offset"`
	Limit     int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit" bson:"limit"`
	Sort      string `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort" bson:"sort"`
	Order     string `protobuf:"bytes,4,opt,name=order,proto3" json:"order" bson:"order"`
	Search    string `protobuf:"bytes,5,opt,name=search,proto3" json:"search" bson:"search"`
	ParentId  string `protobuf:"bytes,6,opt,name=parent_id,json=parentId,proto3" json:"parent_id" bson:"parent_id"`
	GroupType int32  `protobuf:"varint,7,opt,name=group_type,json=groupType,proto3" json:"group_type" bson:"group_type"`
	Slug      string `protobuf:"bytes,8,opt,name=slug,proto3" json:"slug" bson:"slug"`
	// contains filtered or unexported fields
}

func (*GetAllGroupRequest) Descriptor deprecated

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

Deprecated: Use GetAllGroupRequest.ProtoReflect.Descriptor instead.

func (*GetAllGroupRequest) GetGroupType

func (x *GetAllGroupRequest) GetGroupType() int32

func (*GetAllGroupRequest) GetLimit

func (x *GetAllGroupRequest) GetLimit() int32

func (*GetAllGroupRequest) GetOffset

func (x *GetAllGroupRequest) GetOffset() int32

func (*GetAllGroupRequest) GetOrder

func (x *GetAllGroupRequest) GetOrder() string

func (*GetAllGroupRequest) GetParentId

func (x *GetAllGroupRequest) GetParentId() string

func (*GetAllGroupRequest) GetSearch

func (x *GetAllGroupRequest) GetSearch() string

func (*GetAllGroupRequest) GetSlug

func (x *GetAllGroupRequest) GetSlug() string

func (*GetAllGroupRequest) GetSort

func (x *GetAllGroupRequest) GetSort() string

func (*GetAllGroupRequest) ProtoMessage

func (*GetAllGroupRequest) ProtoMessage()

func (*GetAllGroupRequest) ProtoReflect

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

func (*GetAllGroupRequest) Reset

func (x *GetAllGroupRequest) Reset()

func (*GetAllGroupRequest) String

func (x *GetAllGroupRequest) String() string

type GetAllGroupResponse

type GetAllGroupResponse struct {
	Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups" bson:"groups"`
	Count  int32    `protobuf:"varint,2,opt,name=count,proto3" json:"count" bson:"count"`
	// contains filtered or unexported fields
}

func (*GetAllGroupResponse) Descriptor deprecated

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

Deprecated: Use GetAllGroupResponse.ProtoReflect.Descriptor instead.

func (*GetAllGroupResponse) GetCount

func (x *GetAllGroupResponse) GetCount() int32

func (*GetAllGroupResponse) GetGroups

func (x *GetAllGroupResponse) GetGroups() []*Group

func (*GetAllGroupResponse) ProtoMessage

func (*GetAllGroupResponse) ProtoMessage()

func (*GetAllGroupResponse) ProtoReflect

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

func (*GetAllGroupResponse) Reset

func (x *GetAllGroupResponse) Reset()

func (*GetAllGroupResponse) String

func (x *GetAllGroupResponse) String() string

type GetAllRequest

type GetAllRequest struct {
	Slug     string           `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug" bson:"slug"`
	Limit    int32            `protobuf:"varint,2,opt,name=limit,proto3" json:"limit" bson:"limit"`
	Offset   int32            `protobuf:"varint,3,opt,name=offset,proto3" json:"offset" bson:"offset"`
	Sort     string           `protobuf:"bytes,4,opt,name=sort,proto3" json:"sort" bson:"sort"`
	Order    string           `protobuf:"bytes,5,opt,name=order,proto3" json:"order" bson:"order"`
	Search   string           `protobuf:"bytes,6,opt,name=search,proto3" json:"search" bson:"search"`
	Data     *structpb.Struct `protobuf:"bytes,7,opt,name=data,proto3" json:"data" bson:"data"`
	Location string           `protobuf:"bytes,8,opt,name=location,proto3" json:"location" bson:"location"`
	// contains filtered or unexported fields
}

func (*GetAllRequest) Descriptor deprecated

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

Deprecated: Use GetAllRequest.ProtoReflect.Descriptor instead.

func (*GetAllRequest) GetData

func (x *GetAllRequest) GetData() *structpb.Struct

func (*GetAllRequest) GetLimit

func (x *GetAllRequest) GetLimit() int32

func (*GetAllRequest) GetLocation

func (x *GetAllRequest) GetLocation() string

func (*GetAllRequest) GetOffset

func (x *GetAllRequest) GetOffset() int32

func (*GetAllRequest) GetOrder

func (x *GetAllRequest) GetOrder() string

func (*GetAllRequest) GetSearch

func (x *GetAllRequest) GetSearch() string

func (*GetAllRequest) GetSlug

func (x *GetAllRequest) GetSlug() string

func (*GetAllRequest) GetSort

func (x *GetAllRequest) GetSort() string

func (*GetAllRequest) ProtoMessage

func (*GetAllRequest) ProtoMessage()

func (*GetAllRequest) ProtoReflect

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

func (*GetAllRequest) Reset

func (x *GetAllRequest) Reset()

func (*GetAllRequest) String

func (x *GetAllRequest) String() string

type GetAllResponse

type GetAllResponse struct {
	Slug     string             `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug" bson:"slug"`
	Entities []*structpb.Struct `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities" bson:"entities"`
	Count    int32              `protobuf:"varint,3,opt,name=count,proto3" json:"count" bson:"count"`
	// contains filtered or unexported fields
}

func (*GetAllResponse) Descriptor deprecated

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

Deprecated: Use GetAllResponse.ProtoReflect.Descriptor instead.

func (*GetAllResponse) GetCount

func (x *GetAllResponse) GetCount() int32

func (*GetAllResponse) GetEntities

func (x *GetAllResponse) GetEntities() []*structpb.Struct

func (*GetAllResponse) GetSlug

func (x *GetAllResponse) GetSlug() string

func (*GetAllResponse) ProtoMessage

func (*GetAllResponse) ProtoMessage()

func (*GetAllResponse) ProtoReflect

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

func (*GetAllResponse) Reset

func (x *GetAllResponse) Reset()

func (*GetAllResponse) String

func (x *GetAllResponse) String() string

type GetByIdRequest

type GetByIdRequest struct {
	XId string `protobuf:"bytes,1,opt,name=_id,json=Id,proto3" json:"_id" bson:"_id"`
	// contains filtered or unexported fields
}

func (*GetByIdRequest) Descriptor deprecated

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

Deprecated: Use GetByIdRequest.ProtoReflect.Descriptor instead.

func (*GetByIdRequest) GetXId

func (x *GetByIdRequest) GetXId() string

func (*GetByIdRequest) ProtoMessage

func (*GetByIdRequest) ProtoMessage()

func (*GetByIdRequest) ProtoReflect

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

func (*GetByIdRequest) Reset

func (x *GetByIdRequest) Reset()

func (*GetByIdRequest) String

func (x *GetByIdRequest) String() string

type GetByPk

type GetByPk struct {
	XId      string `protobuf:"bytes,1,opt,name=_id,json=Id,proto3" json:"_id" bson:"_id"`
	Slug     string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug" bson:"slug"`
	Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location" bson:"location"`
	// contains filtered or unexported fields
}

func (*GetByPk) Descriptor deprecated

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

Deprecated: Use GetByPk.ProtoReflect.Descriptor instead.

func (*GetByPk) GetLocation

func (x *GetByPk) GetLocation() string

func (*GetByPk) GetSlug

func (x *GetByPk) GetSlug() string

func (*GetByPk) GetXId

func (x *GetByPk) GetXId() string

func (*GetByPk) ProtoMessage

func (*GetByPk) ProtoMessage()

func (*GetByPk) ProtoReflect

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

func (*GetByPk) Reset

func (x *GetByPk) Reset()

func (*GetByPk) String

func (x *GetByPk) String() string

type GetBySlug

type GetBySlug struct {
	Slug     string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug" bson:"slug"`
	Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location" bson:"location"`
	// contains filtered or unexported fields
}

func (*GetBySlug) Descriptor deprecated

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

Deprecated: Use GetBySlug.ProtoReflect.Descriptor instead.

func (*GetBySlug) GetLocation

func (x *GetBySlug) GetLocation() string

func (*GetBySlug) GetSlug

func (x *GetBySlug) GetSlug() string

func (*GetBySlug) ProtoMessage

func (*GetBySlug) ProtoMessage()

func (*GetBySlug) ProtoReflect

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

func (*GetBySlug) Reset

func (x *GetBySlug) Reset()

func (*GetBySlug) String

func (x *GetBySlug) String() string

type GetJoinRequest

type GetJoinRequest struct {
	Slug     string           `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug" bson:"slug"`
	Limit    int32            `protobuf:"varint,2,opt,name=limit,proto3" json:"limit" bson:"limit"`
	Offset   int32            `protobuf:"varint,3,opt,name=offset,proto3" json:"offset" bson:"offset"`
	Sort     string           `protobuf:"bytes,4,opt,name=sort,proto3" json:"sort" bson:"sort"`
	Order    string           `protobuf:"bytes,5,opt,name=order,proto3" json:"order" bson:"order"`
	Search   string           `protobuf:"bytes,6,opt,name=search,proto3" json:"search" bson:"search"`
	Data     *structpb.Struct `protobuf:"bytes,7,opt,name=data,proto3" json:"data" bson:"data"`
	Location string           `protobuf:"bytes,8,opt,name=location,proto3" json:"location" bson:"location"`
	Lookups  []*LookUps       `protobuf:"bytes,9,rep,name=lookups,proto3" json:"lookups" bson:"lookups"`
	// contains filtered or unexported fields
}

func (*GetJoinRequest) Descriptor deprecated

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

Deprecated: Use GetJoinRequest.ProtoReflect.Descriptor instead.

func (*GetJoinRequest) GetData

func (x *GetJoinRequest) GetData() *structpb.Struct

func (*GetJoinRequest) GetLimit

func (x *GetJoinRequest) GetLimit() int32

func (*GetJoinRequest) GetLocation

func (x *GetJoinRequest) GetLocation() string

func (*GetJoinRequest) GetLookups

func (x *GetJoinRequest) GetLookups() []*LookUps

func (*GetJoinRequest) GetOffset

func (x *GetJoinRequest) GetOffset() int32

func (*GetJoinRequest) GetOrder

func (x *GetJoinRequest) GetOrder() string

func (*GetJoinRequest) GetSearch

func (x *GetJoinRequest) GetSearch() string

func (*GetJoinRequest) GetSlug

func (x *GetJoinRequest) GetSlug() string

func (*GetJoinRequest) GetSort

func (x *GetJoinRequest) GetSort() string

func (*GetJoinRequest) ProtoMessage

func (*GetJoinRequest) ProtoMessage()

func (*GetJoinRequest) ProtoReflect

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

func (*GetJoinRequest) Reset

func (x *GetJoinRequest) Reset()

func (*GetJoinRequest) String

func (x *GetJoinRequest) String() string

type Group

type Group struct {
	XId         string                  `protobuf:"bytes,1,opt,name=_id,json=Id,proto3" json:"_id" bson:"_id"`
	Name        string                  `protobuf:"bytes,2,opt,name=name,proto3" json:"name" bson:"name"`
	Description string                  `protobuf:"bytes,3,opt,name=description,proto3" json:"description" bson:"description"`
	Slug        string                  `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug" bson:"slug"`
	Status      int32                   `protobuf:"varint,5,opt,name=status,proto3" json:"status" bson:"status"`
	CreatedAt   string                  `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at" bson:"created_at"`
	OrderNumber int32                   `protobuf:"varint,7,opt,name=order_number,json=orderNumber,proto3" json:"order_number" bson:"order_number"`
	ParentId    *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=parent_id,json=parentId,proto3" json:"parent_id" bson:"parent_id"`
	Children    []*Group                `protobuf:"bytes,9,rep,name=children,proto3" json:"children" bson:"children"`
	Fields      []*Field                `protobuf:"bytes,10,rep,name=fields,proto3" json:"fields" bson:"fields"`
	UpdatedAt   string                  `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at" bson:"updated_at"`
	GroupType   int32                   `protobuf:"varint,12,opt,name=group_type,json=groupType,proto3" json:"group_type" bson:"group_type"`
	// contains filtered or unexported fields
}

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetChildren

func (x *Group) GetChildren() []*Group

func (*Group) GetCreatedAt

func (x *Group) GetCreatedAt() string

func (*Group) GetDescription

func (x *Group) GetDescription() string

func (*Group) GetFields

func (x *Group) GetFields() []*Field

func (*Group) GetGroupType

func (x *Group) GetGroupType() int32

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetOrderNumber

func (x *Group) GetOrderNumber() int32

func (*Group) GetParentId

func (x *Group) GetParentId() *wrapperspb.StringValue

func (*Group) GetSlug

func (x *Group) GetSlug() string

func (*Group) GetStatus

func (x *Group) GetStatus() int32

func (*Group) GetUpdatedAt

func (x *Group) GetUpdatedAt() string

func (*Group) GetXId

func (x *Group) GetXId() string

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

type LookUps

type LookUps struct {
	From         string `protobuf:"bytes,1,opt,name=from,proto3" json:"from" bson:"from"`
	LocalField   string `protobuf:"bytes,2,opt,name=localField,proto3" json:"localField" bson:"localField"`
	ForeignField string `protobuf:"bytes,3,opt,name=foreignField,proto3" json:"foreignField" bson:"foreignField"`
	As           string `protobuf:"bytes,4,opt,name=as,proto3" json:"as" bson:"as"`
	// contains filtered or unexported fields
}

func (*LookUps) Descriptor deprecated

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

Deprecated: Use LookUps.ProtoReflect.Descriptor instead.

func (*LookUps) GetAs

func (x *LookUps) GetAs() string

func (*LookUps) GetForeignField

func (x *LookUps) GetForeignField() string

func (*LookUps) GetFrom

func (x *LookUps) GetFrom() string

func (*LookUps) GetLocalField

func (x *LookUps) GetLocalField() string

func (*LookUps) ProtoMessage

func (*LookUps) ProtoMessage()

func (*LookUps) ProtoReflect

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

func (*LookUps) Reset

func (x *LookUps) Reset()

func (*LookUps) String

func (x *LookUps) String() string

type SelectType

type SelectType struct {
	XId         string `protobuf:"bytes,1,opt,name=_id,json=Id,proto3" json:"_id" bson:"_id"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" bson:"name"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description" bson:"description"`
	Value       string `protobuf:"bytes,4,opt,name=value,proto3" json:"value" bson:"value"`
	// contains filtered or unexported fields
}

func (*SelectType) Descriptor deprecated

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

Deprecated: Use SelectType.ProtoReflect.Descriptor instead.

func (*SelectType) GetDescription

func (x *SelectType) GetDescription() string

func (*SelectType) GetName

func (x *SelectType) GetName() string

func (*SelectType) GetValue

func (x *SelectType) GetValue() string

func (*SelectType) GetXId

func (x *SelectType) GetXId() string

func (*SelectType) ProtoMessage

func (*SelectType) ProtoMessage()

func (*SelectType) ProtoReflect

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

func (*SelectType) Reset

func (x *SelectType) Reset()

func (*SelectType) String

func (x *SelectType) String() string

type UnimplementedDynamicServiceServer

type UnimplementedDynamicServiceServer struct {
}

UnimplementedDynamicServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDynamicServiceServer) CreateField

func (UnimplementedDynamicServiceServer) CreateGroup

func (UnimplementedDynamicServiceServer) DeleteField

func (UnimplementedDynamicServiceServer) DeleteGroup

func (UnimplementedDynamicServiceServer) GetAllField

func (UnimplementedDynamicServiceServer) GetAllGroup

func (UnimplementedDynamicServiceServer) GetFieldById

func (UnimplementedDynamicServiceServer) GetFullGroup

func (UnimplementedDynamicServiceServer) GetGroupById

func (UnimplementedDynamicServiceServer) UpdateField

func (UnimplementedDynamicServiceServer) UpdateGroup

type UnimplementedEntityServiceServer

type UnimplementedEntityServiceServer struct {
}

UnimplementedEntityServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedEntityServiceServer) Create

func (UnimplementedEntityServiceServer) Delete

func (UnimplementedEntityServiceServer) GetAll

func (UnimplementedEntityServiceServer) GetById

func (UnimplementedEntityServiceServer) GetJoin

func (UnimplementedEntityServiceServer) Update

func (UnimplementedEntityServiceServer) UpdatePatch

type UnsafeDynamicServiceServer

type UnsafeDynamicServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDynamicServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DynamicServiceServer will result in compilation errors.

type UnsafeEntityServiceServer

type UnsafeEntityServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeEntityServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EntityServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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