entpb

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-entgrpc. DO NOT EDIT.

Code generated by protoc-gen-entgrpc. DO NOT EDIT.

Code generated by protoc-gen-entgrpc. DO NOT EDIT.

Code generated by protoc-gen-entgrpc. DO NOT EDIT.

Code generated by protoc-gen-entgrpc. DO NOT EDIT.

Code generated by protoc-gen-entgrpc. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	GetAttachmentRequest_View_name = map[int32]string{
		0: "VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "WITH_EDGE_IDS",
	}
	GetAttachmentRequest_View_value = map[string]int32{
		"VIEW_UNSPECIFIED": 0,
		"BASIC":            1,
		"WITH_EDGE_IDS":    2,
	}
)

Enum value maps for GetAttachmentRequest_View.

View Source
var (
	ListAttachmentRequest_View_name = map[int32]string{
		0: "VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "WITH_EDGE_IDS",
	}
	ListAttachmentRequest_View_value = map[string]int32{
		"VIEW_UNSPECIFIED": 0,
		"BASIC":            1,
		"WITH_EDGE_IDS":    2,
	}
)

Enum value maps for ListAttachmentRequest_View.

View Source
var (
	MultiWordSchema_Unit_name = map[int32]string{
		0: "UNIT_M",
		1: "UNIT_FT",
	}
	MultiWordSchema_Unit_value = map[string]int32{
		"UNIT_M":  0,
		"UNIT_FT": 1,
	}
)

Enum value maps for MultiWordSchema_Unit.

View Source
var (
	GetMultiWordSchemaRequest_View_name = map[int32]string{
		0: "VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "WITH_EDGE_IDS",
	}
	GetMultiWordSchemaRequest_View_value = map[string]int32{
		"VIEW_UNSPECIFIED": 0,
		"BASIC":            1,
		"WITH_EDGE_IDS":    2,
	}
)

Enum value maps for GetMultiWordSchemaRequest_View.

View Source
var (
	ListMultiWordSchemaRequest_View_name = map[int32]string{
		0: "VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "WITH_EDGE_IDS",
	}
	ListMultiWordSchemaRequest_View_value = map[string]int32{
		"VIEW_UNSPECIFIED": 0,
		"BASIC":            1,
		"WITH_EDGE_IDS":    2,
	}
)

Enum value maps for ListMultiWordSchemaRequest_View.

View Source
var (
	GetNilExampleRequest_View_name = map[int32]string{
		0: "VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "WITH_EDGE_IDS",
	}
	GetNilExampleRequest_View_value = map[string]int32{
		"VIEW_UNSPECIFIED": 0,
		"BASIC":            1,
		"WITH_EDGE_IDS":    2,
	}
)

Enum value maps for GetNilExampleRequest_View.

View Source
var (
	ListNilExampleRequest_View_name = map[int32]string{
		0: "VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "WITH_EDGE_IDS",
	}
	ListNilExampleRequest_View_value = map[string]int32{
		"VIEW_UNSPECIFIED": 0,
		"BASIC":            1,
		"WITH_EDGE_IDS":    2,
	}
)

Enum value maps for ListNilExampleRequest_View.

View Source
var (
	GetPetRequest_View_name = map[int32]string{
		0: "VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "WITH_EDGE_IDS",
	}
	GetPetRequest_View_value = map[string]int32{
		"VIEW_UNSPECIFIED": 0,
		"BASIC":            1,
		"WITH_EDGE_IDS":    2,
	}
)

Enum value maps for GetPetRequest_View.

View Source
var (
	ListPetRequest_View_name = map[int32]string{
		0: "VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "WITH_EDGE_IDS",
	}
	ListPetRequest_View_value = map[string]int32{
		"VIEW_UNSPECIFIED": 0,
		"BASIC":            1,
		"WITH_EDGE_IDS":    2,
	}
)

Enum value maps for ListPetRequest_View.

View Source
var (
	Todo_Status_name = map[int32]string{
		0: "STATUS_PENDING",
		1: "STATUS_IN_PROGRESS",
		2: "STATUS_DONE",
	}
	Todo_Status_value = map[string]int32{
		"STATUS_PENDING":     0,
		"STATUS_IN_PROGRESS": 1,
		"STATUS_DONE":        2,
	}
)

Enum value maps for Todo_Status.

View Source
var (
	User_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_PENDING",
		2: "STATUS_ACTIVE",
	}
	User_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"STATUS_PENDING":     1,
		"STATUS_ACTIVE":      2,
	}
)

Enum value maps for User_Status.

View Source
var (
	User_DeviceType_name = map[int32]string{
		0: "DEVICE_TYPE_GLOWY9000",
		1: "DEVICE_TYPE_SPEEDY300",
	}
	User_DeviceType_value = map[string]int32{
		"DEVICE_TYPE_GLOWY9000": 0,
		"DEVICE_TYPE_SPEEDY300": 1,
	}
)

Enum value maps for User_DeviceType.

View Source
var (
	User_OmitPrefix_name = map[int32]string{
		0: "OMIT_PREFIX_UNSPECIFIED",
		1: "FOO",
		2: "BAR",
	}
	User_OmitPrefix_value = map[string]int32{
		"OMIT_PREFIX_UNSPECIFIED": 0,
		"FOO":                     1,
		"BAR":                     2,
	}
)

Enum value maps for User_OmitPrefix.

View Source
var (
	User_MimeType_name = map[int32]string{
		0: "MIME_TYPE_UNSPECIFIED",
		1: "MIME_TYPE_IMAGE_PNG",
		2: "MIME_TYPE_IMAGE_XML_SVG",
	}
	User_MimeType_value = map[string]int32{
		"MIME_TYPE_UNSPECIFIED":   0,
		"MIME_TYPE_IMAGE_PNG":     1,
		"MIME_TYPE_IMAGE_XML_SVG": 2,
	}
)

Enum value maps for User_MimeType.

View Source
var (
	GetUserRequest_View_name = map[int32]string{
		0: "VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "WITH_EDGE_IDS",
	}
	GetUserRequest_View_value = map[string]int32{
		"VIEW_UNSPECIFIED": 0,
		"BASIC":            1,
		"WITH_EDGE_IDS":    2,
	}
)

Enum value maps for GetUserRequest_View.

View Source
var (
	ListUserRequest_View_name = map[int32]string{
		0: "VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "WITH_EDGE_IDS",
	}
	ListUserRequest_View_value = map[string]int32{
		"VIEW_UNSPECIFIED": 0,
		"BASIC":            1,
		"WITH_EDGE_IDS":    2,
	}
)

Enum value maps for ListUserRequest_View.

View Source
var AttachmentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "entpb.AttachmentService",
	HandlerType: (*AttachmentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _AttachmentService_Create_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _AttachmentService_Get_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _AttachmentService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _AttachmentService_Delete_Handler,
		},
		{
			MethodName: "List",
			Handler:    _AttachmentService_List_Handler,
		},
		{
			MethodName: "BatchCreate",
			Handler:    _AttachmentService_BatchCreate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "entpb/entpb.proto",
}

AttachmentService_ServiceDesc is the grpc.ServiceDesc for AttachmentService 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_entpb_entpb_proto protoreflect.FileDescriptor
View Source
var File_entpb_ext_proto protoreflect.FileDescriptor
View Source
var MultiWordSchemaService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "entpb.MultiWordSchemaService",
	HandlerType: (*MultiWordSchemaServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _MultiWordSchemaService_Create_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _MultiWordSchemaService_Get_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _MultiWordSchemaService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _MultiWordSchemaService_Delete_Handler,
		},
		{
			MethodName: "List",
			Handler:    _MultiWordSchemaService_List_Handler,
		},
		{
			MethodName: "BatchCreate",
			Handler:    _MultiWordSchemaService_BatchCreate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "entpb/entpb.proto",
}

MultiWordSchemaService_ServiceDesc is the grpc.ServiceDesc for MultiWordSchemaService 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 NilExampleService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "entpb.NilExampleService",
	HandlerType: (*NilExampleServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _NilExampleService_Create_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _NilExampleService_Get_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _NilExampleService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _NilExampleService_Delete_Handler,
		},
		{
			MethodName: "List",
			Handler:    _NilExampleService_List_Handler,
		},
		{
			MethodName: "BatchCreate",
			Handler:    _NilExampleService_BatchCreate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "entpb/entpb.proto",
}

NilExampleService_ServiceDesc is the grpc.ServiceDesc for NilExampleService 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 NoopService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "entpb.NoopService",
	HandlerType: (*NoopServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Crickets",
			Handler:    _NoopService_Crickets_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "entpb/ext.proto",
}

NoopService_ServiceDesc is the grpc.ServiceDesc for NoopService 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 PetService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "entpb.PetService",
	HandlerType: (*PetServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _PetService_Create_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _PetService_Get_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _PetService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _PetService_Delete_Handler,
		},
		{
			MethodName: "List",
			Handler:    _PetService_List_Handler,
		},
		{
			MethodName: "BatchCreate",
			Handler:    _PetService_BatchCreate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "entpb/entpb.proto",
}

PetService_ServiceDesc is the grpc.ServiceDesc for PetService 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 PonyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "entpb.PonyService",
	HandlerType: (*PonyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "BatchCreate",
			Handler:    _PonyService_BatchCreate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "entpb/entpb.proto",
}

PonyService_ServiceDesc is the grpc.ServiceDesc for PonyService 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 UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "entpb.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _UserService_Create_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _UserService_Get_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _UserService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _UserService_Delete_Handler,
		},
		{
			MethodName: "List",
			Handler:    _UserService_List_Handler,
		},
		{
			MethodName: "BatchCreate",
			Handler:    _UserService_BatchCreate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "entpb/entpb.proto",
}

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

Functions

func RegisterAttachmentServiceServer

func RegisterAttachmentServiceServer(s grpc.ServiceRegistrar, srv AttachmentServiceServer)

func RegisterMultiWordSchemaServiceServer added in v0.2.0

func RegisterMultiWordSchemaServiceServer(s grpc.ServiceRegistrar, srv MultiWordSchemaServiceServer)

func RegisterNilExampleServiceServer added in v0.2.0

func RegisterNilExampleServiceServer(s grpc.ServiceRegistrar, srv NilExampleServiceServer)

func RegisterNoopServiceServer added in v0.4.0

func RegisterNoopServiceServer(s grpc.ServiceRegistrar, srv NoopServiceServer)

func RegisterPetServiceServer added in v0.3.0

func RegisterPetServiceServer(s grpc.ServiceRegistrar, srv PetServiceServer)

func RegisterPonyServiceServer added in v0.3.0

func RegisterPonyServiceServer(s grpc.ServiceRegistrar, srv PonyServiceServer)

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

Types

type Attachment

type Attachment struct {
	Id         []byte  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	User       *User   `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	Recipients []*User `protobuf:"bytes,3,rep,name=recipients,proto3" json:"recipients,omitempty"`
	// contains filtered or unexported fields
}

func (*Attachment) Descriptor deprecated

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

Deprecated: Use Attachment.ProtoReflect.Descriptor instead.

func (*Attachment) GetId

func (x *Attachment) GetId() []byte

func (*Attachment) GetRecipients

func (x *Attachment) GetRecipients() []*User

func (*Attachment) GetUser

func (x *Attachment) GetUser() *User

func (*Attachment) ProtoMessage

func (*Attachment) ProtoMessage()

func (*Attachment) ProtoReflect

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

func (*Attachment) Reset

func (x *Attachment) Reset()

func (*Attachment) String

func (x *Attachment) String() string

type AttachmentService

type AttachmentService struct {
	UnimplementedAttachmentServiceServer
	// contains filtered or unexported fields
}

AttachmentService implements AttachmentServiceServer

func NewAttachmentService

func NewAttachmentService(client *ent.Client) *AttachmentService

NewAttachmentService returns a new AttachmentService

func (*AttachmentService) BatchCreate added in v0.3.0

BatchCreate implements AttachmentServiceServer.BatchCreate

func (*AttachmentService) Create

Create implements AttachmentServiceServer.Create

func (*AttachmentService) Delete

Delete implements AttachmentServiceServer.Delete

func (*AttachmentService) Get

Get implements AttachmentServiceServer.Get

func (*AttachmentService) List added in v0.2.0

List implements AttachmentServiceServer.List

func (*AttachmentService) Update

Update implements AttachmentServiceServer.Update

type AttachmentServiceClient

AttachmentServiceClient is the client API for AttachmentService 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 AttachmentServiceServer

AttachmentServiceServer is the server API for AttachmentService service. All implementations must embed UnimplementedAttachmentServiceServer for forward compatibility

type BatchCreateAttachmentsRequest added in v0.3.0

type BatchCreateAttachmentsRequest struct {
	Requests []*CreateAttachmentRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreateAttachmentsRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BatchCreateAttachmentsRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateAttachmentsRequest) GetRequests added in v0.3.0

func (*BatchCreateAttachmentsRequest) ProtoMessage added in v0.3.0

func (*BatchCreateAttachmentsRequest) ProtoMessage()

func (*BatchCreateAttachmentsRequest) ProtoReflect added in v0.3.0

func (*BatchCreateAttachmentsRequest) Reset added in v0.3.0

func (x *BatchCreateAttachmentsRequest) Reset()

func (*BatchCreateAttachmentsRequest) String added in v0.3.0

type BatchCreateAttachmentsResponse added in v0.3.0

type BatchCreateAttachmentsResponse struct {
	Attachments []*Attachment `protobuf:"bytes,1,rep,name=attachments,proto3" json:"attachments,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreateAttachmentsResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BatchCreateAttachmentsResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateAttachmentsResponse) GetAttachments added in v0.3.0

func (x *BatchCreateAttachmentsResponse) GetAttachments() []*Attachment

func (*BatchCreateAttachmentsResponse) ProtoMessage added in v0.3.0

func (*BatchCreateAttachmentsResponse) ProtoMessage()

func (*BatchCreateAttachmentsResponse) ProtoReflect added in v0.3.0

func (*BatchCreateAttachmentsResponse) Reset added in v0.3.0

func (x *BatchCreateAttachmentsResponse) Reset()

func (*BatchCreateAttachmentsResponse) String added in v0.3.0

type BatchCreateMultiWordSchemasRequest added in v0.3.0

type BatchCreateMultiWordSchemasRequest struct {
	Requests []*CreateMultiWordSchemaRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreateMultiWordSchemasRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BatchCreateMultiWordSchemasRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateMultiWordSchemasRequest) GetRequests added in v0.3.0

func (*BatchCreateMultiWordSchemasRequest) ProtoMessage added in v0.3.0

func (*BatchCreateMultiWordSchemasRequest) ProtoMessage()

func (*BatchCreateMultiWordSchemasRequest) ProtoReflect added in v0.3.0

func (*BatchCreateMultiWordSchemasRequest) Reset added in v0.3.0

func (*BatchCreateMultiWordSchemasRequest) String added in v0.3.0

type BatchCreateMultiWordSchemasResponse added in v0.3.0

type BatchCreateMultiWordSchemasResponse struct {
	MultiWordSchemas []*MultiWordSchema `protobuf:"bytes,1,rep,name=multi_word_schemas,json=multiWordSchemas,proto3" json:"multi_word_schemas,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreateMultiWordSchemasResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BatchCreateMultiWordSchemasResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateMultiWordSchemasResponse) GetMultiWordSchemas added in v0.3.0

func (x *BatchCreateMultiWordSchemasResponse) GetMultiWordSchemas() []*MultiWordSchema

func (*BatchCreateMultiWordSchemasResponse) ProtoMessage added in v0.3.0

func (*BatchCreateMultiWordSchemasResponse) ProtoMessage()

func (*BatchCreateMultiWordSchemasResponse) ProtoReflect added in v0.3.0

func (*BatchCreateMultiWordSchemasResponse) Reset added in v0.3.0

func (*BatchCreateMultiWordSchemasResponse) String added in v0.3.0

type BatchCreateNilExamplesRequest added in v0.3.0

type BatchCreateNilExamplesRequest struct {
	Requests []*CreateNilExampleRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreateNilExamplesRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BatchCreateNilExamplesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateNilExamplesRequest) GetRequests added in v0.3.0

func (*BatchCreateNilExamplesRequest) ProtoMessage added in v0.3.0

func (*BatchCreateNilExamplesRequest) ProtoMessage()

func (*BatchCreateNilExamplesRequest) ProtoReflect added in v0.3.0

func (*BatchCreateNilExamplesRequest) Reset added in v0.3.0

func (x *BatchCreateNilExamplesRequest) Reset()

func (*BatchCreateNilExamplesRequest) String added in v0.3.0

type BatchCreateNilExamplesResponse added in v0.3.0

type BatchCreateNilExamplesResponse struct {
	NilExamples []*NilExample `protobuf:"bytes,1,rep,name=nil_examples,json=nilExamples,proto3" json:"nil_examples,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreateNilExamplesResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BatchCreateNilExamplesResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateNilExamplesResponse) GetNilExamples added in v0.3.0

func (x *BatchCreateNilExamplesResponse) GetNilExamples() []*NilExample

func (*BatchCreateNilExamplesResponse) ProtoMessage added in v0.3.0

func (*BatchCreateNilExamplesResponse) ProtoMessage()

func (*BatchCreateNilExamplesResponse) ProtoReflect added in v0.3.0

func (*BatchCreateNilExamplesResponse) Reset added in v0.3.0

func (x *BatchCreateNilExamplesResponse) Reset()

func (*BatchCreateNilExamplesResponse) String added in v0.3.0

type BatchCreatePetsRequest added in v0.3.0

type BatchCreatePetsRequest struct {
	Requests []*CreatePetRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreatePetsRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BatchCreatePetsRequest.ProtoReflect.Descriptor instead.

func (*BatchCreatePetsRequest) GetRequests added in v0.3.0

func (x *BatchCreatePetsRequest) GetRequests() []*CreatePetRequest

func (*BatchCreatePetsRequest) ProtoMessage added in v0.3.0

func (*BatchCreatePetsRequest) ProtoMessage()

func (*BatchCreatePetsRequest) ProtoReflect added in v0.3.0

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

func (*BatchCreatePetsRequest) Reset added in v0.3.0

func (x *BatchCreatePetsRequest) Reset()

func (*BatchCreatePetsRequest) String added in v0.3.0

func (x *BatchCreatePetsRequest) String() string

type BatchCreatePetsResponse added in v0.3.0

type BatchCreatePetsResponse struct {
	Pets []*Pet `protobuf:"bytes,1,rep,name=pets,proto3" json:"pets,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreatePetsResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BatchCreatePetsResponse.ProtoReflect.Descriptor instead.

func (*BatchCreatePetsResponse) GetPets added in v0.3.0

func (x *BatchCreatePetsResponse) GetPets() []*Pet

func (*BatchCreatePetsResponse) ProtoMessage added in v0.3.0

func (*BatchCreatePetsResponse) ProtoMessage()

func (*BatchCreatePetsResponse) ProtoReflect added in v0.3.0

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

func (*BatchCreatePetsResponse) Reset added in v0.3.0

func (x *BatchCreatePetsResponse) Reset()

func (*BatchCreatePetsResponse) String added in v0.3.0

func (x *BatchCreatePetsResponse) String() string

type BatchCreatePoniesRequest added in v0.3.0

type BatchCreatePoniesRequest struct {
	Requests []*CreatePonyRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreatePoniesRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BatchCreatePoniesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreatePoniesRequest) GetRequests added in v0.3.0

func (x *BatchCreatePoniesRequest) GetRequests() []*CreatePonyRequest

func (*BatchCreatePoniesRequest) ProtoMessage added in v0.3.0

func (*BatchCreatePoniesRequest) ProtoMessage()

func (*BatchCreatePoniesRequest) ProtoReflect added in v0.3.0

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

func (*BatchCreatePoniesRequest) Reset added in v0.3.0

func (x *BatchCreatePoniesRequest) Reset()

func (*BatchCreatePoniesRequest) String added in v0.3.0

func (x *BatchCreatePoniesRequest) String() string

type BatchCreatePoniesResponse added in v0.3.0

type BatchCreatePoniesResponse struct {
	Ponies []*Pony `protobuf:"bytes,1,rep,name=ponies,proto3" json:"ponies,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreatePoniesResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BatchCreatePoniesResponse.ProtoReflect.Descriptor instead.

func (*BatchCreatePoniesResponse) GetPonies added in v0.3.0

func (x *BatchCreatePoniesResponse) GetPonies() []*Pony

func (*BatchCreatePoniesResponse) ProtoMessage added in v0.3.0

func (*BatchCreatePoniesResponse) ProtoMessage()

func (*BatchCreatePoniesResponse) ProtoReflect added in v0.3.0

func (*BatchCreatePoniesResponse) Reset added in v0.3.0

func (x *BatchCreatePoniesResponse) Reset()

func (*BatchCreatePoniesResponse) String added in v0.3.0

func (x *BatchCreatePoniesResponse) String() string

type BatchCreateUsersRequest added in v0.3.0

type BatchCreateUsersRequest struct {
	Requests []*CreateUserRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreateUsersRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BatchCreateUsersRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateUsersRequest) GetRequests added in v0.3.0

func (x *BatchCreateUsersRequest) GetRequests() []*CreateUserRequest

func (*BatchCreateUsersRequest) ProtoMessage added in v0.3.0

func (*BatchCreateUsersRequest) ProtoMessage()

func (*BatchCreateUsersRequest) ProtoReflect added in v0.3.0

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

func (*BatchCreateUsersRequest) Reset added in v0.3.0

func (x *BatchCreateUsersRequest) Reset()

func (*BatchCreateUsersRequest) String added in v0.3.0

func (x *BatchCreateUsersRequest) String() string

type BatchCreateUsersResponse added in v0.3.0

type BatchCreateUsersResponse struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchCreateUsersResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BatchCreateUsersResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateUsersResponse) GetUsers added in v0.3.0

func (x *BatchCreateUsersResponse) GetUsers() []*User

func (*BatchCreateUsersResponse) ProtoMessage added in v0.3.0

func (*BatchCreateUsersResponse) ProtoMessage()

func (*BatchCreateUsersResponse) ProtoReflect added in v0.3.0

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

func (*BatchCreateUsersResponse) Reset added in v0.3.0

func (x *BatchCreateUsersResponse) Reset()

func (*BatchCreateUsersResponse) String added in v0.3.0

func (x *BatchCreateUsersResponse) String() string

type CreateAttachmentRequest

type CreateAttachmentRequest struct {
	Attachment *Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAttachmentRequest) Descriptor deprecated

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

Deprecated: Use CreateAttachmentRequest.ProtoReflect.Descriptor instead.

func (*CreateAttachmentRequest) GetAttachment

func (x *CreateAttachmentRequest) GetAttachment() *Attachment

func (*CreateAttachmentRequest) ProtoMessage

func (*CreateAttachmentRequest) ProtoMessage()

func (*CreateAttachmentRequest) ProtoReflect

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

func (*CreateAttachmentRequest) Reset

func (x *CreateAttachmentRequest) Reset()

func (*CreateAttachmentRequest) String

func (x *CreateAttachmentRequest) String() string

type CreateMultiWordSchemaRequest added in v0.2.0

type CreateMultiWordSchemaRequest struct {
	MultiWordSchema *MultiWordSchema `protobuf:"bytes,1,opt,name=multi_word_schema,json=multiWordSchema,proto3" json:"multi_word_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMultiWordSchemaRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use CreateMultiWordSchemaRequest.ProtoReflect.Descriptor instead.

func (*CreateMultiWordSchemaRequest) GetMultiWordSchema added in v0.2.0

func (x *CreateMultiWordSchemaRequest) GetMultiWordSchema() *MultiWordSchema

func (*CreateMultiWordSchemaRequest) ProtoMessage added in v0.2.0

func (*CreateMultiWordSchemaRequest) ProtoMessage()

func (*CreateMultiWordSchemaRequest) ProtoReflect added in v0.2.0

func (*CreateMultiWordSchemaRequest) Reset added in v0.2.0

func (x *CreateMultiWordSchemaRequest) Reset()

func (*CreateMultiWordSchemaRequest) String added in v0.2.0

type CreateNilExampleRequest added in v0.2.0

type CreateNilExampleRequest struct {
	NilExample *NilExample `protobuf:"bytes,1,opt,name=nil_example,json=nilExample,proto3" json:"nil_example,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNilExampleRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use CreateNilExampleRequest.ProtoReflect.Descriptor instead.

func (*CreateNilExampleRequest) GetNilExample added in v0.2.0

func (x *CreateNilExampleRequest) GetNilExample() *NilExample

func (*CreateNilExampleRequest) ProtoMessage added in v0.2.0

func (*CreateNilExampleRequest) ProtoMessage()

func (*CreateNilExampleRequest) ProtoReflect added in v0.2.0

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

func (*CreateNilExampleRequest) Reset added in v0.2.0

func (x *CreateNilExampleRequest) Reset()

func (*CreateNilExampleRequest) String added in v0.2.0

func (x *CreateNilExampleRequest) String() string

type CreatePetRequest added in v0.3.0

type CreatePetRequest struct {
	Pet *Pet `protobuf:"bytes,1,opt,name=pet,proto3" json:"pet,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePetRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use CreatePetRequest.ProtoReflect.Descriptor instead.

func (*CreatePetRequest) GetPet added in v0.3.0

func (x *CreatePetRequest) GetPet() *Pet

func (*CreatePetRequest) ProtoMessage added in v0.3.0

func (*CreatePetRequest) ProtoMessage()

func (*CreatePetRequest) ProtoReflect added in v0.3.0

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

func (*CreatePetRequest) Reset added in v0.3.0

func (x *CreatePetRequest) Reset()

func (*CreatePetRequest) String added in v0.3.0

func (x *CreatePetRequest) String() string

type CreatePonyRequest added in v0.3.0

type CreatePonyRequest struct {
	Pony *Pony `protobuf:"bytes,1,opt,name=pony,proto3" json:"pony,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePonyRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use CreatePonyRequest.ProtoReflect.Descriptor instead.

func (*CreatePonyRequest) GetPony added in v0.3.0

func (x *CreatePonyRequest) GetPony() *Pony

func (*CreatePonyRequest) ProtoMessage added in v0.3.0

func (*CreatePonyRequest) ProtoMessage()

func (*CreatePonyRequest) ProtoReflect added in v0.3.0

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

func (*CreatePonyRequest) Reset added in v0.3.0

func (x *CreatePonyRequest) Reset()

func (*CreatePonyRequest) String added in v0.3.0

func (x *CreatePonyRequest) String() string

type CreateUserRequest

type CreateUserRequest struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetUser

func (x *CreateUserRequest) GetUser() *User

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type DeleteAttachmentRequest

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

func (*DeleteAttachmentRequest) Descriptor deprecated

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

Deprecated: Use DeleteAttachmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteAttachmentRequest) GetId

func (x *DeleteAttachmentRequest) GetId() []byte

func (*DeleteAttachmentRequest) ProtoMessage

func (*DeleteAttachmentRequest) ProtoMessage()

func (*DeleteAttachmentRequest) ProtoReflect

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

func (*DeleteAttachmentRequest) Reset

func (x *DeleteAttachmentRequest) Reset()

func (*DeleteAttachmentRequest) String

func (x *DeleteAttachmentRequest) String() string

type DeleteMultiWordSchemaRequest added in v0.2.0

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

func (*DeleteMultiWordSchemaRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DeleteMultiWordSchemaRequest.ProtoReflect.Descriptor instead.

func (*DeleteMultiWordSchemaRequest) GetId added in v0.2.0

func (*DeleteMultiWordSchemaRequest) ProtoMessage added in v0.2.0

func (*DeleteMultiWordSchemaRequest) ProtoMessage()

func (*DeleteMultiWordSchemaRequest) ProtoReflect added in v0.2.0

func (*DeleteMultiWordSchemaRequest) Reset added in v0.2.0

func (x *DeleteMultiWordSchemaRequest) Reset()

func (*DeleteMultiWordSchemaRequest) String added in v0.2.0

type DeleteNilExampleRequest added in v0.2.0

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

func (*DeleteNilExampleRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DeleteNilExampleRequest.ProtoReflect.Descriptor instead.

func (*DeleteNilExampleRequest) GetId added in v0.2.0

func (x *DeleteNilExampleRequest) GetId() int64

func (*DeleteNilExampleRequest) ProtoMessage added in v0.2.0

func (*DeleteNilExampleRequest) ProtoMessage()

func (*DeleteNilExampleRequest) ProtoReflect added in v0.2.0

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

func (*DeleteNilExampleRequest) Reset added in v0.2.0

func (x *DeleteNilExampleRequest) Reset()

func (*DeleteNilExampleRequest) String added in v0.2.0

func (x *DeleteNilExampleRequest) String() string

type DeletePetRequest added in v0.3.0

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

func (*DeletePetRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use DeletePetRequest.ProtoReflect.Descriptor instead.

func (*DeletePetRequest) GetId added in v0.3.0

func (x *DeletePetRequest) GetId() int64

func (*DeletePetRequest) ProtoMessage added in v0.3.0

func (*DeletePetRequest) ProtoMessage()

func (*DeletePetRequest) ProtoReflect added in v0.3.0

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

func (*DeletePetRequest) Reset added in v0.3.0

func (x *DeletePetRequest) Reset()

func (*DeletePetRequest) String added in v0.3.0

func (x *DeletePetRequest) String() string

type DeleteUserRequest

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

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetId

func (x *DeleteUserRequest) GetId() uint32

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

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

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type GetAttachmentRequest

type GetAttachmentRequest struct {
	Id   []byte                    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	View GetAttachmentRequest_View `protobuf:"varint,2,opt,name=view,proto3,enum=entpb.GetAttachmentRequest_View" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAttachmentRequest) Descriptor deprecated

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

Deprecated: Use GetAttachmentRequest.ProtoReflect.Descriptor instead.

func (*GetAttachmentRequest) GetId

func (x *GetAttachmentRequest) GetId() []byte

func (*GetAttachmentRequest) GetView

func (*GetAttachmentRequest) ProtoMessage

func (*GetAttachmentRequest) ProtoMessage()

func (*GetAttachmentRequest) ProtoReflect

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

func (*GetAttachmentRequest) Reset

func (x *GetAttachmentRequest) Reset()

func (*GetAttachmentRequest) String

func (x *GetAttachmentRequest) String() string

type GetAttachmentRequest_View

type GetAttachmentRequest_View int32
const (
	GetAttachmentRequest_VIEW_UNSPECIFIED GetAttachmentRequest_View = 0
	GetAttachmentRequest_BASIC            GetAttachmentRequest_View = 1
	GetAttachmentRequest_WITH_EDGE_IDS    GetAttachmentRequest_View = 2
)

func (GetAttachmentRequest_View) Descriptor

func (GetAttachmentRequest_View) Enum

func (GetAttachmentRequest_View) EnumDescriptor deprecated

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

Deprecated: Use GetAttachmentRequest_View.Descriptor instead.

func (GetAttachmentRequest_View) Number

func (GetAttachmentRequest_View) String

func (x GetAttachmentRequest_View) String() string

func (GetAttachmentRequest_View) Type

type GetMultiWordSchemaRequest added in v0.2.0

type GetMultiWordSchemaRequest struct {
	Id   int64                          `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	View GetMultiWordSchemaRequest_View `protobuf:"varint,2,opt,name=view,proto3,enum=entpb.GetMultiWordSchemaRequest_View" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMultiWordSchemaRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use GetMultiWordSchemaRequest.ProtoReflect.Descriptor instead.

func (*GetMultiWordSchemaRequest) GetId added in v0.2.0

func (x *GetMultiWordSchemaRequest) GetId() int64

func (*GetMultiWordSchemaRequest) GetView added in v0.2.0

func (*GetMultiWordSchemaRequest) ProtoMessage added in v0.2.0

func (*GetMultiWordSchemaRequest) ProtoMessage()

func (*GetMultiWordSchemaRequest) ProtoReflect added in v0.2.0

func (*GetMultiWordSchemaRequest) Reset added in v0.2.0

func (x *GetMultiWordSchemaRequest) Reset()

func (*GetMultiWordSchemaRequest) String added in v0.2.0

func (x *GetMultiWordSchemaRequest) String() string

type GetMultiWordSchemaRequest_View added in v0.2.0

type GetMultiWordSchemaRequest_View int32
const (
	GetMultiWordSchemaRequest_VIEW_UNSPECIFIED GetMultiWordSchemaRequest_View = 0
	GetMultiWordSchemaRequest_BASIC            GetMultiWordSchemaRequest_View = 1
	GetMultiWordSchemaRequest_WITH_EDGE_IDS    GetMultiWordSchemaRequest_View = 2
)

func (GetMultiWordSchemaRequest_View) Descriptor added in v0.2.0

func (GetMultiWordSchemaRequest_View) Enum added in v0.2.0

func (GetMultiWordSchemaRequest_View) EnumDescriptor deprecated added in v0.2.0

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

Deprecated: Use GetMultiWordSchemaRequest_View.Descriptor instead.

func (GetMultiWordSchemaRequest_View) Number added in v0.2.0

func (GetMultiWordSchemaRequest_View) String added in v0.2.0

func (GetMultiWordSchemaRequest_View) Type added in v0.2.0

type GetNilExampleRequest added in v0.2.0

type GetNilExampleRequest struct {
	Id   int64                     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	View GetNilExampleRequest_View `protobuf:"varint,2,opt,name=view,proto3,enum=entpb.GetNilExampleRequest_View" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNilExampleRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use GetNilExampleRequest.ProtoReflect.Descriptor instead.

func (*GetNilExampleRequest) GetId added in v0.2.0

func (x *GetNilExampleRequest) GetId() int64

func (*GetNilExampleRequest) GetView added in v0.2.0

func (*GetNilExampleRequest) ProtoMessage added in v0.2.0

func (*GetNilExampleRequest) ProtoMessage()

func (*GetNilExampleRequest) ProtoReflect added in v0.2.0

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

func (*GetNilExampleRequest) Reset added in v0.2.0

func (x *GetNilExampleRequest) Reset()

func (*GetNilExampleRequest) String added in v0.2.0

func (x *GetNilExampleRequest) String() string

type GetNilExampleRequest_View added in v0.2.0

type GetNilExampleRequest_View int32
const (
	GetNilExampleRequest_VIEW_UNSPECIFIED GetNilExampleRequest_View = 0
	GetNilExampleRequest_BASIC            GetNilExampleRequest_View = 1
	GetNilExampleRequest_WITH_EDGE_IDS    GetNilExampleRequest_View = 2
)

func (GetNilExampleRequest_View) Descriptor added in v0.2.0

func (GetNilExampleRequest_View) Enum added in v0.2.0

func (GetNilExampleRequest_View) EnumDescriptor deprecated added in v0.2.0

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

Deprecated: Use GetNilExampleRequest_View.Descriptor instead.

func (GetNilExampleRequest_View) Number added in v0.2.0

func (GetNilExampleRequest_View) String added in v0.2.0

func (x GetNilExampleRequest_View) String() string

func (GetNilExampleRequest_View) Type added in v0.2.0

type GetPetRequest added in v0.3.0

type GetPetRequest struct {
	Id   int64              `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	View GetPetRequest_View `protobuf:"varint,2,opt,name=view,proto3,enum=entpb.GetPetRequest_View" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPetRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use GetPetRequest.ProtoReflect.Descriptor instead.

func (*GetPetRequest) GetId added in v0.3.0

func (x *GetPetRequest) GetId() int64

func (*GetPetRequest) GetView added in v0.3.0

func (x *GetPetRequest) GetView() GetPetRequest_View

func (*GetPetRequest) ProtoMessage added in v0.3.0

func (*GetPetRequest) ProtoMessage()

func (*GetPetRequest) ProtoReflect added in v0.3.0

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

func (*GetPetRequest) Reset added in v0.3.0

func (x *GetPetRequest) Reset()

func (*GetPetRequest) String added in v0.3.0

func (x *GetPetRequest) String() string

type GetPetRequest_View added in v0.3.0

type GetPetRequest_View int32
const (
	GetPetRequest_VIEW_UNSPECIFIED GetPetRequest_View = 0
	GetPetRequest_BASIC            GetPetRequest_View = 1
	GetPetRequest_WITH_EDGE_IDS    GetPetRequest_View = 2
)

func (GetPetRequest_View) Descriptor added in v0.3.0

func (GetPetRequest_View) Enum added in v0.3.0

func (GetPetRequest_View) EnumDescriptor deprecated added in v0.3.0

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

Deprecated: Use GetPetRequest_View.Descriptor instead.

func (GetPetRequest_View) Number added in v0.3.0

func (GetPetRequest_View) String added in v0.3.0

func (x GetPetRequest_View) String() string

func (GetPetRequest_View) Type added in v0.3.0

type GetUserRequest

type GetUserRequest struct {
	Id   uint32              `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	View GetUserRequest_View `protobuf:"varint,2,opt,name=view,proto3,enum=entpb.GetUserRequest_View" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetId

func (x *GetUserRequest) GetId() uint32

func (*GetUserRequest) GetView

func (x *GetUserRequest) GetView() GetUserRequest_View

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

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

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type GetUserRequest_View

type GetUserRequest_View int32
const (
	GetUserRequest_VIEW_UNSPECIFIED GetUserRequest_View = 0
	GetUserRequest_BASIC            GetUserRequest_View = 1
	GetUserRequest_WITH_EDGE_IDS    GetUserRequest_View = 2
)

func (GetUserRequest_View) Descriptor

func (GetUserRequest_View) Enum

func (GetUserRequest_View) EnumDescriptor deprecated

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

Deprecated: Use GetUserRequest_View.Descriptor instead.

func (GetUserRequest_View) Number

func (GetUserRequest_View) String

func (x GetUserRequest_View) String() string

func (GetUserRequest_View) Type

type Group

type Group struct {
	Id    int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name  string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Users []*User `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetId

func (x *Group) GetId() int64

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetUsers

func (x *Group) GetUsers() []*User

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

type ListAttachmentRequest struct {
	PageSize  int32                      `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string                     `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	View      ListAttachmentRequest_View `protobuf:"varint,3,opt,name=view,proto3,enum=entpb.ListAttachmentRequest_View" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAttachmentRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ListAttachmentRequest.ProtoReflect.Descriptor instead.

func (*ListAttachmentRequest) GetPageSize added in v0.2.0

func (x *ListAttachmentRequest) GetPageSize() int32

func (*ListAttachmentRequest) GetPageToken added in v0.2.0

func (x *ListAttachmentRequest) GetPageToken() string

func (*ListAttachmentRequest) GetView added in v0.2.0

func (*ListAttachmentRequest) ProtoMessage added in v0.2.0

func (*ListAttachmentRequest) ProtoMessage()

func (*ListAttachmentRequest) ProtoReflect added in v0.2.0

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

func (*ListAttachmentRequest) Reset added in v0.2.0

func (x *ListAttachmentRequest) Reset()

func (*ListAttachmentRequest) String added in v0.2.0

func (x *ListAttachmentRequest) String() string

type ListAttachmentRequest_View added in v0.2.0

type ListAttachmentRequest_View int32
const (
	ListAttachmentRequest_VIEW_UNSPECIFIED ListAttachmentRequest_View = 0
	ListAttachmentRequest_BASIC            ListAttachmentRequest_View = 1
	ListAttachmentRequest_WITH_EDGE_IDS    ListAttachmentRequest_View = 2
)

func (ListAttachmentRequest_View) Descriptor added in v0.2.0

func (ListAttachmentRequest_View) Enum added in v0.2.0

func (ListAttachmentRequest_View) EnumDescriptor deprecated added in v0.2.0

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

Deprecated: Use ListAttachmentRequest_View.Descriptor instead.

func (ListAttachmentRequest_View) Number added in v0.2.0

func (ListAttachmentRequest_View) String added in v0.2.0

func (ListAttachmentRequest_View) Type added in v0.2.0

type ListAttachmentResponse added in v0.2.0

type ListAttachmentResponse struct {
	AttachmentList []*Attachment `protobuf:"bytes,1,rep,name=attachment_list,json=attachmentList,proto3" json:"attachment_list,omitempty"`
	NextPageToken  string        `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAttachmentResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ListAttachmentResponse.ProtoReflect.Descriptor instead.

func (*ListAttachmentResponse) GetAttachmentList added in v0.2.0

func (x *ListAttachmentResponse) GetAttachmentList() []*Attachment

func (*ListAttachmentResponse) GetNextPageToken added in v0.2.0

func (x *ListAttachmentResponse) GetNextPageToken() string

func (*ListAttachmentResponse) ProtoMessage added in v0.2.0

func (*ListAttachmentResponse) ProtoMessage()

func (*ListAttachmentResponse) ProtoReflect added in v0.2.0

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

func (*ListAttachmentResponse) Reset added in v0.2.0

func (x *ListAttachmentResponse) Reset()

func (*ListAttachmentResponse) String added in v0.2.0

func (x *ListAttachmentResponse) String() string

type ListMultiWordSchemaRequest added in v0.2.0

type ListMultiWordSchemaRequest struct {
	PageSize  int32                           `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string                          `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	View      ListMultiWordSchemaRequest_View `protobuf:"varint,3,opt,name=view,proto3,enum=entpb.ListMultiWordSchemaRequest_View" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMultiWordSchemaRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ListMultiWordSchemaRequest.ProtoReflect.Descriptor instead.

func (*ListMultiWordSchemaRequest) GetPageSize added in v0.2.0

func (x *ListMultiWordSchemaRequest) GetPageSize() int32

func (*ListMultiWordSchemaRequest) GetPageToken added in v0.2.0

func (x *ListMultiWordSchemaRequest) GetPageToken() string

func (*ListMultiWordSchemaRequest) GetView added in v0.2.0

func (*ListMultiWordSchemaRequest) ProtoMessage added in v0.2.0

func (*ListMultiWordSchemaRequest) ProtoMessage()

func (*ListMultiWordSchemaRequest) ProtoReflect added in v0.2.0

func (*ListMultiWordSchemaRequest) Reset added in v0.2.0

func (x *ListMultiWordSchemaRequest) Reset()

func (*ListMultiWordSchemaRequest) String added in v0.2.0

func (x *ListMultiWordSchemaRequest) String() string

type ListMultiWordSchemaRequest_View added in v0.2.0

type ListMultiWordSchemaRequest_View int32
const (
	ListMultiWordSchemaRequest_VIEW_UNSPECIFIED ListMultiWordSchemaRequest_View = 0
	ListMultiWordSchemaRequest_BASIC            ListMultiWordSchemaRequest_View = 1
	ListMultiWordSchemaRequest_WITH_EDGE_IDS    ListMultiWordSchemaRequest_View = 2
)

func (ListMultiWordSchemaRequest_View) Descriptor added in v0.2.0

func (ListMultiWordSchemaRequest_View) Enum added in v0.2.0

func (ListMultiWordSchemaRequest_View) EnumDescriptor deprecated added in v0.2.0

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

Deprecated: Use ListMultiWordSchemaRequest_View.Descriptor instead.

func (ListMultiWordSchemaRequest_View) Number added in v0.2.0

func (ListMultiWordSchemaRequest_View) String added in v0.2.0

func (ListMultiWordSchemaRequest_View) Type added in v0.2.0

type ListMultiWordSchemaResponse added in v0.2.0

type ListMultiWordSchemaResponse struct {
	MultiWordSchemaList []*MultiWordSchema `protobuf:"bytes,1,rep,name=multi_word_schema_list,json=multiWordSchemaList,proto3" json:"multi_word_schema_list,omitempty"`
	NextPageToken       string             `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMultiWordSchemaResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ListMultiWordSchemaResponse.ProtoReflect.Descriptor instead.

func (*ListMultiWordSchemaResponse) GetMultiWordSchemaList added in v0.2.0

func (x *ListMultiWordSchemaResponse) GetMultiWordSchemaList() []*MultiWordSchema

func (*ListMultiWordSchemaResponse) GetNextPageToken added in v0.2.0

func (x *ListMultiWordSchemaResponse) GetNextPageToken() string

func (*ListMultiWordSchemaResponse) ProtoMessage added in v0.2.0

func (*ListMultiWordSchemaResponse) ProtoMessage()

func (*ListMultiWordSchemaResponse) ProtoReflect added in v0.2.0

func (*ListMultiWordSchemaResponse) Reset added in v0.2.0

func (x *ListMultiWordSchemaResponse) Reset()

func (*ListMultiWordSchemaResponse) String added in v0.2.0

func (x *ListMultiWordSchemaResponse) String() string

type ListNilExampleRequest added in v0.2.0

type ListNilExampleRequest struct {
	PageSize  int32                      `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string                     `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	View      ListNilExampleRequest_View `protobuf:"varint,3,opt,name=view,proto3,enum=entpb.ListNilExampleRequest_View" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNilExampleRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ListNilExampleRequest.ProtoReflect.Descriptor instead.

func (*ListNilExampleRequest) GetPageSize added in v0.2.0

func (x *ListNilExampleRequest) GetPageSize() int32

func (*ListNilExampleRequest) GetPageToken added in v0.2.0

func (x *ListNilExampleRequest) GetPageToken() string

func (*ListNilExampleRequest) GetView added in v0.2.0

func (*ListNilExampleRequest) ProtoMessage added in v0.2.0

func (*ListNilExampleRequest) ProtoMessage()

func (*ListNilExampleRequest) ProtoReflect added in v0.2.0

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

func (*ListNilExampleRequest) Reset added in v0.2.0

func (x *ListNilExampleRequest) Reset()

func (*ListNilExampleRequest) String added in v0.2.0

func (x *ListNilExampleRequest) String() string

type ListNilExampleRequest_View added in v0.2.0

type ListNilExampleRequest_View int32
const (
	ListNilExampleRequest_VIEW_UNSPECIFIED ListNilExampleRequest_View = 0
	ListNilExampleRequest_BASIC            ListNilExampleRequest_View = 1
	ListNilExampleRequest_WITH_EDGE_IDS    ListNilExampleRequest_View = 2
)

func (ListNilExampleRequest_View) Descriptor added in v0.2.0

func (ListNilExampleRequest_View) Enum added in v0.2.0

func (ListNilExampleRequest_View) EnumDescriptor deprecated added in v0.2.0

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

Deprecated: Use ListNilExampleRequest_View.Descriptor instead.

func (ListNilExampleRequest_View) Number added in v0.2.0

func (ListNilExampleRequest_View) String added in v0.2.0

func (ListNilExampleRequest_View) Type added in v0.2.0

type ListNilExampleResponse added in v0.2.0

type ListNilExampleResponse struct {
	NilExampleList []*NilExample `protobuf:"bytes,1,rep,name=nil_example_list,json=nilExampleList,proto3" json:"nil_example_list,omitempty"`
	NextPageToken  string        `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNilExampleResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ListNilExampleResponse.ProtoReflect.Descriptor instead.

func (*ListNilExampleResponse) GetNextPageToken added in v0.2.0

func (x *ListNilExampleResponse) GetNextPageToken() string

func (*ListNilExampleResponse) GetNilExampleList added in v0.2.0

func (x *ListNilExampleResponse) GetNilExampleList() []*NilExample

func (*ListNilExampleResponse) ProtoMessage added in v0.2.0

func (*ListNilExampleResponse) ProtoMessage()

func (*ListNilExampleResponse) ProtoReflect added in v0.2.0

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

func (*ListNilExampleResponse) Reset added in v0.2.0

func (x *ListNilExampleResponse) Reset()

func (*ListNilExampleResponse) String added in v0.2.0

func (x *ListNilExampleResponse) String() string

type ListPetRequest added in v0.3.0

type ListPetRequest struct {
	PageSize  int32               `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string              `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	View      ListPetRequest_View `protobuf:"varint,3,opt,name=view,proto3,enum=entpb.ListPetRequest_View" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPetRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use ListPetRequest.ProtoReflect.Descriptor instead.

func (*ListPetRequest) GetPageSize added in v0.3.0

func (x *ListPetRequest) GetPageSize() int32

func (*ListPetRequest) GetPageToken added in v0.3.0

func (x *ListPetRequest) GetPageToken() string

func (*ListPetRequest) GetView added in v0.3.0

func (x *ListPetRequest) GetView() ListPetRequest_View

func (*ListPetRequest) ProtoMessage added in v0.3.0

func (*ListPetRequest) ProtoMessage()

func (*ListPetRequest) ProtoReflect added in v0.3.0

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

func (*ListPetRequest) Reset added in v0.3.0

func (x *ListPetRequest) Reset()

func (*ListPetRequest) String added in v0.3.0

func (x *ListPetRequest) String() string

type ListPetRequest_View added in v0.3.0

type ListPetRequest_View int32
const (
	ListPetRequest_VIEW_UNSPECIFIED ListPetRequest_View = 0
	ListPetRequest_BASIC            ListPetRequest_View = 1
	ListPetRequest_WITH_EDGE_IDS    ListPetRequest_View = 2
)

func (ListPetRequest_View) Descriptor added in v0.3.0

func (ListPetRequest_View) Enum added in v0.3.0

func (ListPetRequest_View) EnumDescriptor deprecated added in v0.3.0

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

Deprecated: Use ListPetRequest_View.Descriptor instead.

func (ListPetRequest_View) Number added in v0.3.0

func (ListPetRequest_View) String added in v0.3.0

func (x ListPetRequest_View) String() string

func (ListPetRequest_View) Type added in v0.3.0

type ListPetResponse added in v0.3.0

type ListPetResponse struct {
	PetList       []*Pet `protobuf:"bytes,1,rep,name=pet_list,json=petList,proto3" json:"pet_list,omitempty"`
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPetResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use ListPetResponse.ProtoReflect.Descriptor instead.

func (*ListPetResponse) GetNextPageToken added in v0.3.0

func (x *ListPetResponse) GetNextPageToken() string

func (*ListPetResponse) GetPetList added in v0.3.0

func (x *ListPetResponse) GetPetList() []*Pet

func (*ListPetResponse) ProtoMessage added in v0.3.0

func (*ListPetResponse) ProtoMessage()

func (*ListPetResponse) ProtoReflect added in v0.3.0

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

func (*ListPetResponse) Reset added in v0.3.0

func (x *ListPetResponse) Reset()

func (*ListPetResponse) String added in v0.3.0

func (x *ListPetResponse) String() string

type ListUserRequest added in v0.2.0

type ListUserRequest struct {
	PageSize  int32                `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string               `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	View      ListUserRequest_View `protobuf:"varint,3,opt,name=view,proto3,enum=entpb.ListUserRequest_View" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ListUserRequest.ProtoReflect.Descriptor instead.

func (*ListUserRequest) GetPageSize added in v0.2.0

func (x *ListUserRequest) GetPageSize() int32

func (*ListUserRequest) GetPageToken added in v0.2.0

func (x *ListUserRequest) GetPageToken() string

func (*ListUserRequest) GetView added in v0.2.0

func (*ListUserRequest) ProtoMessage added in v0.2.0

func (*ListUserRequest) ProtoMessage()

func (*ListUserRequest) ProtoReflect added in v0.2.0

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

func (*ListUserRequest) Reset added in v0.2.0

func (x *ListUserRequest) Reset()

func (*ListUserRequest) String added in v0.2.0

func (x *ListUserRequest) String() string

type ListUserRequest_View added in v0.2.0

type ListUserRequest_View int32
const (
	ListUserRequest_VIEW_UNSPECIFIED ListUserRequest_View = 0
	ListUserRequest_BASIC            ListUserRequest_View = 1
	ListUserRequest_WITH_EDGE_IDS    ListUserRequest_View = 2
)

func (ListUserRequest_View) Descriptor added in v0.2.0

func (ListUserRequest_View) Enum added in v0.2.0

func (ListUserRequest_View) EnumDescriptor deprecated added in v0.2.0

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

Deprecated: Use ListUserRequest_View.Descriptor instead.

func (ListUserRequest_View) Number added in v0.2.0

func (ListUserRequest_View) String added in v0.2.0

func (x ListUserRequest_View) String() string

func (ListUserRequest_View) Type added in v0.2.0

type ListUserResponse added in v0.2.0

type ListUserResponse struct {
	UserList      []*User `protobuf:"bytes,1,rep,name=user_list,json=userList,proto3" json:"user_list,omitempty"`
	NextPageToken string  `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ListUserResponse.ProtoReflect.Descriptor instead.

func (*ListUserResponse) GetNextPageToken added in v0.2.0

func (x *ListUserResponse) GetNextPageToken() string

func (*ListUserResponse) GetUserList added in v0.2.0

func (x *ListUserResponse) GetUserList() []*User

func (*ListUserResponse) ProtoMessage added in v0.2.0

func (*ListUserResponse) ProtoMessage()

func (*ListUserResponse) ProtoReflect added in v0.2.0

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

func (*ListUserResponse) Reset added in v0.2.0

func (x *ListUserResponse) Reset()

func (*ListUserResponse) String added in v0.2.0

func (x *ListUserResponse) String() string

type MultiWordSchema added in v0.2.0

type MultiWordSchema struct {
	Id   int64                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Unit MultiWordSchema_Unit `protobuf:"varint,2,opt,name=unit,proto3,enum=entpb.MultiWordSchema_Unit" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

func (*MultiWordSchema) Descriptor deprecated added in v0.2.0

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

Deprecated: Use MultiWordSchema.ProtoReflect.Descriptor instead.

func (*MultiWordSchema) GetId added in v0.2.0

func (x *MultiWordSchema) GetId() int64

func (*MultiWordSchema) GetUnit added in v0.2.0

func (*MultiWordSchema) ProtoMessage added in v0.2.0

func (*MultiWordSchema) ProtoMessage()

func (*MultiWordSchema) ProtoReflect added in v0.2.0

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

func (*MultiWordSchema) Reset added in v0.2.0

func (x *MultiWordSchema) Reset()

func (*MultiWordSchema) String added in v0.2.0

func (x *MultiWordSchema) String() string

type MultiWordSchemaService added in v0.2.0

type MultiWordSchemaService struct {
	UnimplementedMultiWordSchemaServiceServer
	// contains filtered or unexported fields
}

MultiWordSchemaService implements MultiWordSchemaServiceServer

func NewMultiWordSchemaService added in v0.2.0

func NewMultiWordSchemaService(client *ent.Client) *MultiWordSchemaService

NewMultiWordSchemaService returns a new MultiWordSchemaService

func (*MultiWordSchemaService) BatchCreate added in v0.3.0

BatchCreate implements MultiWordSchemaServiceServer.BatchCreate

func (*MultiWordSchemaService) Create added in v0.2.0

Create implements MultiWordSchemaServiceServer.Create

func (*MultiWordSchemaService) Delete added in v0.2.0

Delete implements MultiWordSchemaServiceServer.Delete

func (*MultiWordSchemaService) Get added in v0.2.0

Get implements MultiWordSchemaServiceServer.Get

func (*MultiWordSchemaService) List added in v0.2.0

List implements MultiWordSchemaServiceServer.List

func (*MultiWordSchemaService) Update added in v0.2.0

Update implements MultiWordSchemaServiceServer.Update

type MultiWordSchemaServiceClient added in v0.2.0

MultiWordSchemaServiceClient is the client API for MultiWordSchemaService 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.

func NewMultiWordSchemaServiceClient added in v0.2.0

func NewMultiWordSchemaServiceClient(cc grpc.ClientConnInterface) MultiWordSchemaServiceClient

type MultiWordSchemaServiceServer added in v0.2.0

MultiWordSchemaServiceServer is the server API for MultiWordSchemaService service. All implementations must embed UnimplementedMultiWordSchemaServiceServer for forward compatibility

type MultiWordSchema_Unit added in v0.2.0

type MultiWordSchema_Unit int32
const (
	MultiWordSchema_UNIT_M  MultiWordSchema_Unit = 0
	MultiWordSchema_UNIT_FT MultiWordSchema_Unit = 1
)

func (MultiWordSchema_Unit) Descriptor added in v0.2.0

func (MultiWordSchema_Unit) Enum added in v0.2.0

func (MultiWordSchema_Unit) EnumDescriptor deprecated added in v0.2.0

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

Deprecated: Use MultiWordSchema_Unit.Descriptor instead.

func (MultiWordSchema_Unit) Number added in v0.2.0

func (MultiWordSchema_Unit) String added in v0.2.0

func (x MultiWordSchema_Unit) String() string

func (MultiWordSchema_Unit) Type added in v0.2.0

type NilExample added in v0.2.0

type NilExample struct {
	Id      int64                   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	StrNil  *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=str_nil,json=strNil,proto3" json:"str_nil,omitempty"`
	TimeNil *timestamppb.Timestamp  `protobuf:"bytes,3,opt,name=time_nil,json=timeNil,proto3" json:"time_nil,omitempty"`
	// contains filtered or unexported fields
}

func (*NilExample) Descriptor deprecated added in v0.2.0

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

Deprecated: Use NilExample.ProtoReflect.Descriptor instead.

func (*NilExample) GetId added in v0.2.0

func (x *NilExample) GetId() int64

func (*NilExample) GetStrNil added in v0.2.0

func (x *NilExample) GetStrNil() *wrapperspb.StringValue

func (*NilExample) GetTimeNil added in v0.2.0

func (x *NilExample) GetTimeNil() *timestamppb.Timestamp

func (*NilExample) ProtoMessage added in v0.2.0

func (*NilExample) ProtoMessage()

func (*NilExample) ProtoReflect added in v0.2.0

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

func (*NilExample) Reset added in v0.2.0

func (x *NilExample) Reset()

func (*NilExample) String added in v0.2.0

func (x *NilExample) String() string

type NilExampleService added in v0.2.0

type NilExampleService struct {
	UnimplementedNilExampleServiceServer
	// contains filtered or unexported fields
}

NilExampleService implements NilExampleServiceServer

func NewNilExampleService added in v0.2.0

func NewNilExampleService(client *ent.Client) *NilExampleService

NewNilExampleService returns a new NilExampleService

func (*NilExampleService) BatchCreate added in v0.3.0

BatchCreate implements NilExampleServiceServer.BatchCreate

func (*NilExampleService) Create added in v0.2.0

Create implements NilExampleServiceServer.Create

func (*NilExampleService) Delete added in v0.2.0

Delete implements NilExampleServiceServer.Delete

func (*NilExampleService) Get added in v0.2.0

Get implements NilExampleServiceServer.Get

func (*NilExampleService) List added in v0.2.0

List implements NilExampleServiceServer.List

func (*NilExampleService) Update added in v0.2.0

Update implements NilExampleServiceServer.Update

type NilExampleServiceClient added in v0.2.0

NilExampleServiceClient is the client API for NilExampleService 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.

func NewNilExampleServiceClient added in v0.2.0

func NewNilExampleServiceClient(cc grpc.ClientConnInterface) NilExampleServiceClient

type NilExampleServiceServer added in v0.2.0

NilExampleServiceServer is the server API for NilExampleService service. All implementations must embed UnimplementedNilExampleServiceServer for forward compatibility

type NoopServiceClient added in v0.4.0

type NoopServiceClient interface {
	Crickets(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

NoopServiceClient is the client API for NoopService 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.

func NewNoopServiceClient added in v0.4.0

func NewNoopServiceClient(cc grpc.ClientConnInterface) NoopServiceClient

type NoopServiceServer added in v0.4.0

type NoopServiceServer interface {
	Crickets(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

NoopServiceServer is the server API for NoopService service. All implementations must embed UnimplementedNoopServiceServer for forward compatibility

type Pet added in v0.3.0

type Pet struct {
	Id         int64         `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Owner      *User         `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Attachment []*Attachment `protobuf:"bytes,3,rep,name=attachment,proto3" json:"attachment,omitempty"`
	// contains filtered or unexported fields
}

func (*Pet) Descriptor deprecated added in v0.3.0

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

Deprecated: Use Pet.ProtoReflect.Descriptor instead.

func (*Pet) GetAttachment added in v0.3.0

func (x *Pet) GetAttachment() []*Attachment

func (*Pet) GetId added in v0.3.0

func (x *Pet) GetId() int64

func (*Pet) GetOwner added in v0.3.0

func (x *Pet) GetOwner() *User

func (*Pet) ProtoMessage added in v0.3.0

func (*Pet) ProtoMessage()

func (*Pet) ProtoReflect added in v0.3.0

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

func (*Pet) Reset added in v0.3.0

func (x *Pet) Reset()

func (*Pet) String added in v0.3.0

func (x *Pet) String() string

type PetService added in v0.3.0

type PetService struct {
	UnimplementedPetServiceServer
	// contains filtered or unexported fields
}

PetService implements PetServiceServer

func NewPetService added in v0.3.0

func NewPetService(client *ent.Client) *PetService

NewPetService returns a new PetService

func (*PetService) BatchCreate added in v0.3.0

BatchCreate implements PetServiceServer.BatchCreate

func (*PetService) Create added in v0.3.0

func (svc *PetService) Create(ctx context.Context, req *CreatePetRequest) (*Pet, error)

Create implements PetServiceServer.Create

func (*PetService) Delete added in v0.3.0

func (svc *PetService) Delete(ctx context.Context, req *DeletePetRequest) (*emptypb.Empty, error)

Delete implements PetServiceServer.Delete

func (*PetService) Get added in v0.3.0

func (svc *PetService) Get(ctx context.Context, req *GetPetRequest) (*Pet, error)

Get implements PetServiceServer.Get

func (*PetService) List added in v0.3.0

func (svc *PetService) List(ctx context.Context, req *ListPetRequest) (*ListPetResponse, error)

List implements PetServiceServer.List

func (*PetService) Update added in v0.3.0

func (svc *PetService) Update(ctx context.Context, req *UpdatePetRequest) (*Pet, error)

Update implements PetServiceServer.Update

type PetServiceClient added in v0.3.0

type PetServiceClient interface {
	Create(ctx context.Context, in *CreatePetRequest, opts ...grpc.CallOption) (*Pet, error)
	Get(ctx context.Context, in *GetPetRequest, opts ...grpc.CallOption) (*Pet, error)
	Update(ctx context.Context, in *UpdatePetRequest, opts ...grpc.CallOption) (*Pet, error)
	Delete(ctx context.Context, in *DeletePetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	List(ctx context.Context, in *ListPetRequest, opts ...grpc.CallOption) (*ListPetResponse, error)
	BatchCreate(ctx context.Context, in *BatchCreatePetsRequest, opts ...grpc.CallOption) (*BatchCreatePetsResponse, error)
}

PetServiceClient is the client API for PetService 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.

func NewPetServiceClient added in v0.3.0

func NewPetServiceClient(cc grpc.ClientConnInterface) PetServiceClient

type PetServiceServer added in v0.3.0

type PetServiceServer interface {
	Create(context.Context, *CreatePetRequest) (*Pet, error)
	Get(context.Context, *GetPetRequest) (*Pet, error)
	Update(context.Context, *UpdatePetRequest) (*Pet, error)
	Delete(context.Context, *DeletePetRequest) (*emptypb.Empty, error)
	List(context.Context, *ListPetRequest) (*ListPetResponse, error)
	BatchCreate(context.Context, *BatchCreatePetsRequest) (*BatchCreatePetsResponse, error)
	// contains filtered or unexported methods
}

PetServiceServer is the server API for PetService service. All implementations must embed UnimplementedPetServiceServer for forward compatibility

type Pony added in v0.3.0

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

func (*Pony) Descriptor deprecated added in v0.3.0

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

Deprecated: Use Pony.ProtoReflect.Descriptor instead.

func (*Pony) GetId added in v0.3.0

func (x *Pony) GetId() int64

func (*Pony) GetName added in v0.3.0

func (x *Pony) GetName() string

func (*Pony) ProtoMessage added in v0.3.0

func (*Pony) ProtoMessage()

func (*Pony) ProtoReflect added in v0.3.0

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

func (*Pony) Reset added in v0.3.0

func (x *Pony) Reset()

func (*Pony) String added in v0.3.0

func (x *Pony) String() string

type PonyService added in v0.3.0

type PonyService struct {
	UnimplementedPonyServiceServer
	// contains filtered or unexported fields
}

PonyService implements PonyServiceServer

func NewPonyService added in v0.3.0

func NewPonyService(client *ent.Client) *PonyService

NewPonyService returns a new PonyService

func (*PonyService) BatchCreate added in v0.3.0

BatchCreate implements PonyServiceServer.BatchCreate

type PonyServiceClient added in v0.3.0

type PonyServiceClient interface {
	BatchCreate(ctx context.Context, in *BatchCreatePoniesRequest, opts ...grpc.CallOption) (*BatchCreatePoniesResponse, error)
}

PonyServiceClient is the client API for PonyService 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.

func NewPonyServiceClient added in v0.3.0

func NewPonyServiceClient(cc grpc.ClientConnInterface) PonyServiceClient

type PonyServiceServer added in v0.3.0

type PonyServiceServer interface {
	BatchCreate(context.Context, *BatchCreatePoniesRequest) (*BatchCreatePoniesResponse, error)
	// contains filtered or unexported methods
}

PonyServiceServer is the server API for PonyService service. All implementations must embed UnimplementedPonyServiceServer for forward compatibility

type Todo

type Todo struct {
	Id     int64       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Task   string      `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"`
	Status Todo_Status `protobuf:"varint,3,opt,name=status,proto3,enum=entpb.Todo_Status" json:"status,omitempty"`
	User   *User       `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*Todo) Descriptor deprecated

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

Deprecated: Use Todo.ProtoReflect.Descriptor instead.

func (*Todo) GetId

func (x *Todo) GetId() int64

func (*Todo) GetStatus

func (x *Todo) GetStatus() Todo_Status

func (*Todo) GetTask

func (x *Todo) GetTask() string

func (*Todo) GetUser

func (x *Todo) GetUser() *User

func (*Todo) ProtoMessage

func (*Todo) ProtoMessage()

func (*Todo) ProtoReflect

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

func (*Todo) Reset

func (x *Todo) Reset()

func (*Todo) String

func (x *Todo) String() string

type Todo_Status

type Todo_Status int32
const (
	Todo_STATUS_PENDING     Todo_Status = 0
	Todo_STATUS_IN_PROGRESS Todo_Status = 1
	Todo_STATUS_DONE        Todo_Status = 2
)

func (Todo_Status) Descriptor

func (Todo_Status) Enum

func (x Todo_Status) Enum() *Todo_Status

func (Todo_Status) EnumDescriptor deprecated

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

Deprecated: Use Todo_Status.Descriptor instead.

func (Todo_Status) Number

func (x Todo_Status) Number() protoreflect.EnumNumber

func (Todo_Status) String

func (x Todo_Status) String() string

func (Todo_Status) Type

type UnimplementedAttachmentServiceServer

type UnimplementedAttachmentServiceServer struct {
}

UnimplementedAttachmentServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAttachmentServiceServer) BatchCreate added in v0.3.0

func (UnimplementedAttachmentServiceServer) Create

func (UnimplementedAttachmentServiceServer) Delete

func (UnimplementedAttachmentServiceServer) Get

func (UnimplementedAttachmentServiceServer) List added in v0.2.0

func (UnimplementedAttachmentServiceServer) Update

type UnimplementedMultiWordSchemaServiceServer added in v0.2.0

type UnimplementedMultiWordSchemaServiceServer struct {
}

UnimplementedMultiWordSchemaServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMultiWordSchemaServiceServer) BatchCreate added in v0.3.0

func (UnimplementedMultiWordSchemaServiceServer) Create added in v0.2.0

func (UnimplementedMultiWordSchemaServiceServer) Delete added in v0.2.0

func (UnimplementedMultiWordSchemaServiceServer) Get added in v0.2.0

func (UnimplementedMultiWordSchemaServiceServer) List added in v0.2.0

func (UnimplementedMultiWordSchemaServiceServer) Update added in v0.2.0

type UnimplementedNilExampleServiceServer added in v0.2.0

type UnimplementedNilExampleServiceServer struct {
}

UnimplementedNilExampleServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedNilExampleServiceServer) BatchCreate added in v0.3.0

func (UnimplementedNilExampleServiceServer) Create added in v0.2.0

func (UnimplementedNilExampleServiceServer) Delete added in v0.2.0

func (UnimplementedNilExampleServiceServer) Get added in v0.2.0

func (UnimplementedNilExampleServiceServer) List added in v0.2.0

func (UnimplementedNilExampleServiceServer) Update added in v0.2.0

type UnimplementedNoopServiceServer added in v0.4.0

type UnimplementedNoopServiceServer struct {
}

UnimplementedNoopServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedNoopServiceServer) Crickets added in v0.4.0

type UnimplementedPetServiceServer added in v0.3.0

type UnimplementedPetServiceServer struct {
}

UnimplementedPetServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPetServiceServer) BatchCreate added in v0.3.0

func (UnimplementedPetServiceServer) Create added in v0.3.0

func (UnimplementedPetServiceServer) Delete added in v0.3.0

func (UnimplementedPetServiceServer) Get added in v0.3.0

func (UnimplementedPetServiceServer) List added in v0.3.0

func (UnimplementedPetServiceServer) Update added in v0.3.0

type UnimplementedPonyServiceServer added in v0.3.0

type UnimplementedPonyServiceServer struct {
}

UnimplementedPonyServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPonyServiceServer) BatchCreate added in v0.3.0

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) BatchCreate added in v0.3.0

func (UnimplementedUserServiceServer) Create

func (UnimplementedUserServiceServer) Delete

func (UnimplementedUserServiceServer) Get

func (UnimplementedUserServiceServer) List added in v0.2.0

func (UnimplementedUserServiceServer) Update

type UnsafeAttachmentServiceServer

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

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

type UnsafeMultiWordSchemaServiceServer added in v0.2.0

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

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

type UnsafeNilExampleServiceServer added in v0.2.0

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

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

type UnsafeNoopServiceServer added in v0.4.0

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

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

type UnsafePetServiceServer added in v0.3.0

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

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

type UnsafePonyServiceServer added in v0.3.0

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

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

type UnsafeUserServiceServer

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

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

type UpdateAttachmentRequest

type UpdateAttachmentRequest struct {
	Attachment *Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAttachmentRequest) Descriptor deprecated

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

Deprecated: Use UpdateAttachmentRequest.ProtoReflect.Descriptor instead.

func (*UpdateAttachmentRequest) GetAttachment

func (x *UpdateAttachmentRequest) GetAttachment() *Attachment

func (*UpdateAttachmentRequest) ProtoMessage

func (*UpdateAttachmentRequest) ProtoMessage()

func (*UpdateAttachmentRequest) ProtoReflect

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

func (*UpdateAttachmentRequest) Reset

func (x *UpdateAttachmentRequest) Reset()

func (*UpdateAttachmentRequest) String

func (x *UpdateAttachmentRequest) String() string

type UpdateMultiWordSchemaRequest added in v0.2.0

type UpdateMultiWordSchemaRequest struct {
	MultiWordSchema *MultiWordSchema `protobuf:"bytes,1,opt,name=multi_word_schema,json=multiWordSchema,proto3" json:"multi_word_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMultiWordSchemaRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use UpdateMultiWordSchemaRequest.ProtoReflect.Descriptor instead.

func (*UpdateMultiWordSchemaRequest) GetMultiWordSchema added in v0.2.0

func (x *UpdateMultiWordSchemaRequest) GetMultiWordSchema() *MultiWordSchema

func (*UpdateMultiWordSchemaRequest) ProtoMessage added in v0.2.0

func (*UpdateMultiWordSchemaRequest) ProtoMessage()

func (*UpdateMultiWordSchemaRequest) ProtoReflect added in v0.2.0

func (*UpdateMultiWordSchemaRequest) Reset added in v0.2.0

func (x *UpdateMultiWordSchemaRequest) Reset()

func (*UpdateMultiWordSchemaRequest) String added in v0.2.0

type UpdateNilExampleRequest added in v0.2.0

type UpdateNilExampleRequest struct {
	NilExample *NilExample `protobuf:"bytes,1,opt,name=nil_example,json=nilExample,proto3" json:"nil_example,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNilExampleRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use UpdateNilExampleRequest.ProtoReflect.Descriptor instead.

func (*UpdateNilExampleRequest) GetNilExample added in v0.2.0

func (x *UpdateNilExampleRequest) GetNilExample() *NilExample

func (*UpdateNilExampleRequest) ProtoMessage added in v0.2.0

func (*UpdateNilExampleRequest) ProtoMessage()

func (*UpdateNilExampleRequest) ProtoReflect added in v0.2.0

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

func (*UpdateNilExampleRequest) Reset added in v0.2.0

func (x *UpdateNilExampleRequest) Reset()

func (*UpdateNilExampleRequest) String added in v0.2.0

func (x *UpdateNilExampleRequest) String() string

type UpdatePetRequest added in v0.3.0

type UpdatePetRequest struct {
	Pet *Pet `protobuf:"bytes,1,opt,name=pet,proto3" json:"pet,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePetRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use UpdatePetRequest.ProtoReflect.Descriptor instead.

func (*UpdatePetRequest) GetPet added in v0.3.0

func (x *UpdatePetRequest) GetPet() *Pet

func (*UpdatePetRequest) ProtoMessage added in v0.3.0

func (*UpdatePetRequest) ProtoMessage()

func (*UpdatePetRequest) ProtoReflect added in v0.3.0

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

func (*UpdatePetRequest) Reset added in v0.3.0

func (x *UpdatePetRequest) Reset()

func (*UpdatePetRequest) String added in v0.3.0

func (x *UpdatePetRequest) String() string

type UpdateUserRequest

type UpdateUserRequest struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetUser

func (x *UpdateUserRequest) GetUser() *User

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

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

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

type User

type User struct {
	Id             uint32                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserName       string                  `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	Joined         *timestamppb.Timestamp  `protobuf:"bytes,3,opt,name=joined,proto3" json:"joined,omitempty"`
	Points         uint32                  `protobuf:"varint,4,opt,name=points,proto3" json:"points,omitempty"`
	Exp            uint64                  `protobuf:"varint,5,opt,name=exp,proto3" json:"exp,omitempty"`
	Status         User_Status             `protobuf:"varint,6,opt,name=status,proto3,enum=entpb.User_Status" json:"status,omitempty"`
	ExternalId     int64                   `protobuf:"varint,8,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	CrmId          []byte                  `protobuf:"bytes,9,opt,name=crm_id,json=crmId,proto3" json:"crm_id,omitempty"`
	Banned         bool                    `protobuf:"varint,10,opt,name=banned,proto3" json:"banned,omitempty"`
	CustomPb       uint64                  `protobuf:"varint,12,opt,name=custom_pb,json=customPb,proto3" json:"custom_pb,omitempty"`
	OptNum         *wrapperspb.Int64Value  `protobuf:"bytes,13,opt,name=opt_num,json=optNum,proto3" json:"opt_num,omitempty"`
	OptStr         *wrapperspb.StringValue `protobuf:"bytes,14,opt,name=opt_str,json=optStr,proto3" json:"opt_str,omitempty"`
	OptBool        *wrapperspb.BoolValue   `protobuf:"bytes,15,opt,name=opt_bool,json=optBool,proto3" json:"opt_bool,omitempty"`
	BigInt         *wrapperspb.StringValue `protobuf:"bytes,17,opt,name=big_int,json=bigInt,proto3" json:"big_int,omitempty"`
	BUser_1        *wrapperspb.Int64Value  `protobuf:"bytes,18,opt,name=b_user_1,json=bUser1,proto3" json:"b_user_1,omitempty"`
	HeightInCm     float32                 `protobuf:"fixed32,19,opt,name=height_in_cm,json=heightInCm,proto3" json:"height_in_cm,omitempty"`
	AccountBalance float64                 `protobuf:"fixed64,20,opt,name=account_balance,json=accountBalance,proto3" json:"account_balance,omitempty"`
	Type           *wrapperspb.StringValue `protobuf:"bytes,23,opt,name=type,proto3" json:"type,omitempty"`
	Labels         []string                `protobuf:"bytes,24,rep,name=labels,proto3" json:"labels,omitempty"`
	Int32S         []int32                 `protobuf:"varint,25,rep,packed,name=int32s,proto3" json:"int32s,omitempty"`
	Int64S         []int64                 `protobuf:"varint,26,rep,packed,name=int64s,proto3" json:"int64s,omitempty"`
	Uint32S        []uint32                `protobuf:"varint,27,rep,packed,name=uint32s,proto3" json:"uint32s,omitempty"`
	Uint64S        []uint64                `protobuf:"varint,28,rep,packed,name=uint64s,proto3" json:"uint64s,omitempty"`
	DeviceType     User_DeviceType         `protobuf:"varint,100,opt,name=device_type,json=deviceType,proto3,enum=entpb.User_DeviceType" json:"device_type,omitempty"`
	OmitPrefix     User_OmitPrefix         `protobuf:"varint,103,opt,name=omit_prefix,json=omitPrefix,proto3,enum=entpb.User_OmitPrefix" json:"omit_prefix,omitempty"`
	MimeType       User_MimeType           `protobuf:"varint,104,opt,name=mime_type,json=mimeType,proto3,enum=entpb.User_MimeType" json:"mime_type,omitempty"`
	Group          *Group                  `protobuf:"bytes,7,opt,name=group,proto3" json:"group,omitempty"`
	Attachment     *Attachment             `protobuf:"bytes,11,opt,name=attachment,proto3" json:"attachment,omitempty"`
	Received_1     []*Attachment           `protobuf:"bytes,16,rep,name=received_1,json=received1,proto3" json:"received_1,omitempty"`
	Pet            *Pet                    `protobuf:"bytes,21,opt,name=pet,proto3" json:"pet,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAccountBalance added in v0.2.0

func (x *User) GetAccountBalance() float64

func (*User) GetAttachment

func (x *User) GetAttachment() *Attachment

func (*User) GetBUser_1 added in v0.2.0

func (x *User) GetBUser_1() *wrapperspb.Int64Value

func (*User) GetBanned

func (x *User) GetBanned() bool

func (*User) GetBigInt

func (x *User) GetBigInt() *wrapperspb.StringValue

func (*User) GetCrmId

func (x *User) GetCrmId() []byte

func (*User) GetCustomPb

func (x *User) GetCustomPb() uint64

func (*User) GetDeviceType added in v0.3.0

func (x *User) GetDeviceType() User_DeviceType

func (*User) GetExp

func (x *User) GetExp() uint64

func (*User) GetExternalId

func (x *User) GetExternalId() int64

func (*User) GetGroup

func (x *User) GetGroup() *Group

func (*User) GetHeightInCm added in v0.2.0

func (x *User) GetHeightInCm() float32

func (*User) GetId

func (x *User) GetId() uint32

func (*User) GetInt32S added in v0.5.0

func (x *User) GetInt32S() []int32

func (*User) GetInt64S added in v0.5.0

func (x *User) GetInt64S() []int64

func (*User) GetJoined

func (x *User) GetJoined() *timestamppb.Timestamp

func (*User) GetLabels added in v0.3.0

func (x *User) GetLabels() []string

func (*User) GetMimeType added in v0.5.0

func (x *User) GetMimeType() User_MimeType

func (*User) GetOmitPrefix added in v0.3.5

func (x *User) GetOmitPrefix() User_OmitPrefix

func (*User) GetOptBool

func (x *User) GetOptBool() *wrapperspb.BoolValue

func (*User) GetOptNum

func (x *User) GetOptNum() *wrapperspb.Int64Value

func (*User) GetOptStr

func (x *User) GetOptStr() *wrapperspb.StringValue

func (*User) GetPet added in v0.3.0

func (x *User) GetPet() *Pet

func (*User) GetPoints

func (x *User) GetPoints() uint32

func (*User) GetReceived_1 added in v0.2.0

func (x *User) GetReceived_1() []*Attachment

func (*User) GetStatus

func (x *User) GetStatus() User_Status

func (*User) GetType added in v0.3.0

func (x *User) GetType() *wrapperspb.StringValue

func (*User) GetUint32S added in v0.5.0

func (x *User) GetUint32S() []uint32

func (*User) GetUint64S added in v0.5.0

func (x *User) GetUint64S() []uint64

func (*User) GetUserName

func (x *User) GetUserName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserService

type UserService struct {
	UnimplementedUserServiceServer
	// contains filtered or unexported fields
}

UserService implements UserServiceServer

func NewUserService

func NewUserService(client *ent.Client) *UserService

NewUserService returns a new UserService

func (*UserService) BatchCreate added in v0.3.0

BatchCreate implements UserServiceServer.BatchCreate

func (*UserService) Create

func (svc *UserService) Create(ctx context.Context, req *CreateUserRequest) (*User, error)

Create implements UserServiceServer.Create

func (*UserService) Delete

func (svc *UserService) Delete(ctx context.Context, req *DeleteUserRequest) (*emptypb.Empty, error)

Delete implements UserServiceServer.Delete

func (*UserService) Get

func (svc *UserService) Get(ctx context.Context, req *GetUserRequest) (*User, error)

Get implements UserServiceServer.Get

func (*UserService) List added in v0.2.0

List implements UserServiceServer.List

func (*UserService) Update

func (svc *UserService) Update(ctx context.Context, req *UpdateUserRequest) (*User, error)

Update implements UserServiceServer.Update

type UserServiceClient

type UserServiceClient interface {
	Create(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*User, error)
	Get(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error)
	Update(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*User, error)
	Delete(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	List(ctx context.Context, in *ListUserRequest, opts ...grpc.CallOption) (*ListUserResponse, error)
	BatchCreate(ctx context.Context, in *BatchCreateUsersRequest, opts ...grpc.CallOption) (*BatchCreateUsersResponse, error)
}

UserServiceClient is the client API for UserService 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 UserServiceServer

type UserServiceServer interface {
	Create(context.Context, *CreateUserRequest) (*User, error)
	Get(context.Context, *GetUserRequest) (*User, error)
	Update(context.Context, *UpdateUserRequest) (*User, error)
	Delete(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
	List(context.Context, *ListUserRequest) (*ListUserResponse, error)
	BatchCreate(context.Context, *BatchCreateUsersRequest) (*BatchCreateUsersResponse, error)
	// contains filtered or unexported methods
}

UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility

type User_DeviceType added in v0.3.0

type User_DeviceType int32
const (
	User_DEVICE_TYPE_GLOWY9000 User_DeviceType = 0
	User_DEVICE_TYPE_SPEEDY300 User_DeviceType = 1
)

func (User_DeviceType) Descriptor added in v0.3.0

func (User_DeviceType) Enum added in v0.3.0

func (x User_DeviceType) Enum() *User_DeviceType

func (User_DeviceType) EnumDescriptor deprecated added in v0.3.0

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

Deprecated: Use User_DeviceType.Descriptor instead.

func (User_DeviceType) Number added in v0.3.0

func (User_DeviceType) String added in v0.3.0

func (x User_DeviceType) String() string

func (User_DeviceType) Type added in v0.3.0

type User_MimeType added in v0.5.0

type User_MimeType int32
const (
	User_MIME_TYPE_UNSPECIFIED   User_MimeType = 0
	User_MIME_TYPE_IMAGE_PNG     User_MimeType = 1
	User_MIME_TYPE_IMAGE_XML_SVG User_MimeType = 2
)

func (User_MimeType) Descriptor added in v0.5.0

func (User_MimeType) Enum added in v0.5.0

func (x User_MimeType) Enum() *User_MimeType

func (User_MimeType) EnumDescriptor deprecated added in v0.5.0

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

Deprecated: Use User_MimeType.Descriptor instead.

func (User_MimeType) Number added in v0.5.0

func (User_MimeType) String added in v0.5.0

func (x User_MimeType) String() string

func (User_MimeType) Type added in v0.5.0

type User_OmitPrefix added in v0.3.5

type User_OmitPrefix int32
const (
	User_OMIT_PREFIX_UNSPECIFIED User_OmitPrefix = 0
	User_FOO                     User_OmitPrefix = 1
	User_BAR                     User_OmitPrefix = 2
)

func (User_OmitPrefix) Descriptor added in v0.3.5

func (User_OmitPrefix) Enum added in v0.3.5

func (x User_OmitPrefix) Enum() *User_OmitPrefix

func (User_OmitPrefix) EnumDescriptor deprecated added in v0.3.5

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

Deprecated: Use User_OmitPrefix.Descriptor instead.

func (User_OmitPrefix) Number added in v0.3.5

func (User_OmitPrefix) String added in v0.3.5

func (x User_OmitPrefix) String() string

func (User_OmitPrefix) Type added in v0.3.5

type User_Status

type User_Status int32
const (
	User_STATUS_UNSPECIFIED User_Status = 0
	User_STATUS_PENDING     User_Status = 1
	User_STATUS_ACTIVE      User_Status = 2
)

func (User_Status) Descriptor

func (User_Status) Enum

func (x User_Status) Enum() *User_Status

func (User_Status) EnumDescriptor deprecated

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

Deprecated: Use User_Status.Descriptor instead.

func (User_Status) Number

func (x User_Status) Number() protoreflect.EnumNumber

func (User_Status) String

func (x User_Status) String() string

func (User_Status) Type

Jump to

Keyboard shortcuts

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