entpb

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 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

func RegisterMultiWordSchemaServiceServer(s grpc.ServiceRegistrar, srv MultiWordSchemaServiceServer)

func RegisterNilExampleServiceServer

func RegisterNilExampleServiceServer(s grpc.ServiceRegistrar, srv NilExampleServiceServer)

func RegisterNoopServiceServer

func RegisterNoopServiceServer(s grpc.ServiceRegistrar, srv NoopServiceServer)

func RegisterPetServiceServer

func RegisterPetServiceServer(s grpc.ServiceRegistrar, srv PetServiceServer)

func RegisterPonyServiceServer

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

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

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

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

func (*BatchCreateAttachmentsRequest) Descriptor deprecated

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

Deprecated: Use BatchCreateAttachmentsRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateAttachmentsRequest) GetRequests

func (*BatchCreateAttachmentsRequest) ProtoMessage

func (*BatchCreateAttachmentsRequest) ProtoMessage()

func (*BatchCreateAttachmentsRequest) ProtoReflect

func (*BatchCreateAttachmentsRequest) Reset

func (x *BatchCreateAttachmentsRequest) Reset()

func (*BatchCreateAttachmentsRequest) String

type BatchCreateAttachmentsResponse

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

func (*BatchCreateAttachmentsResponse) Descriptor deprecated

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

Deprecated: Use BatchCreateAttachmentsResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateAttachmentsResponse) GetAttachments

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

func (*BatchCreateAttachmentsResponse) ProtoMessage

func (*BatchCreateAttachmentsResponse) ProtoMessage()

func (*BatchCreateAttachmentsResponse) ProtoReflect

func (*BatchCreateAttachmentsResponse) Reset

func (x *BatchCreateAttachmentsResponse) Reset()

func (*BatchCreateAttachmentsResponse) String

type BatchCreateMultiWordSchemasRequest

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

func (*BatchCreateMultiWordSchemasRequest) Descriptor deprecated

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

Deprecated: Use BatchCreateMultiWordSchemasRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateMultiWordSchemasRequest) GetRequests

func (*BatchCreateMultiWordSchemasRequest) ProtoMessage

func (*BatchCreateMultiWordSchemasRequest) ProtoMessage()

func (*BatchCreateMultiWordSchemasRequest) ProtoReflect

func (*BatchCreateMultiWordSchemasRequest) Reset

func (*BatchCreateMultiWordSchemasRequest) String

type BatchCreateMultiWordSchemasResponse

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

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

Deprecated: Use BatchCreateMultiWordSchemasResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateMultiWordSchemasResponse) GetMultiWordSchemas

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

func (*BatchCreateMultiWordSchemasResponse) ProtoMessage

func (*BatchCreateMultiWordSchemasResponse) ProtoMessage()

func (*BatchCreateMultiWordSchemasResponse) ProtoReflect

func (*BatchCreateMultiWordSchemasResponse) Reset

func (*BatchCreateMultiWordSchemasResponse) String

type BatchCreateNilExamplesRequest

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

func (*BatchCreateNilExamplesRequest) Descriptor deprecated

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

Deprecated: Use BatchCreateNilExamplesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateNilExamplesRequest) GetRequests

func (*BatchCreateNilExamplesRequest) ProtoMessage

func (*BatchCreateNilExamplesRequest) ProtoMessage()

func (*BatchCreateNilExamplesRequest) ProtoReflect

func (*BatchCreateNilExamplesRequest) Reset

func (x *BatchCreateNilExamplesRequest) Reset()

func (*BatchCreateNilExamplesRequest) String

type BatchCreateNilExamplesResponse

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

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

Deprecated: Use BatchCreateNilExamplesResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateNilExamplesResponse) GetNilExamples

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

func (*BatchCreateNilExamplesResponse) ProtoMessage

func (*BatchCreateNilExamplesResponse) ProtoMessage()

func (*BatchCreateNilExamplesResponse) ProtoReflect

func (*BatchCreateNilExamplesResponse) Reset

func (x *BatchCreateNilExamplesResponse) Reset()

func (*BatchCreateNilExamplesResponse) String

type BatchCreatePetsRequest

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

func (*BatchCreatePetsRequest) Descriptor deprecated

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

Deprecated: Use BatchCreatePetsRequest.ProtoReflect.Descriptor instead.

func (*BatchCreatePetsRequest) GetRequests

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

func (*BatchCreatePetsRequest) ProtoMessage

func (*BatchCreatePetsRequest) ProtoMessage()

func (*BatchCreatePetsRequest) ProtoReflect

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

func (*BatchCreatePetsRequest) Reset

func (x *BatchCreatePetsRequest) Reset()

func (*BatchCreatePetsRequest) String

func (x *BatchCreatePetsRequest) String() string

type BatchCreatePetsResponse

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

func (*BatchCreatePetsResponse) Descriptor deprecated

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

Deprecated: Use BatchCreatePetsResponse.ProtoReflect.Descriptor instead.

func (*BatchCreatePetsResponse) GetPets

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

func (*BatchCreatePetsResponse) ProtoMessage

func (*BatchCreatePetsResponse) ProtoMessage()

func (*BatchCreatePetsResponse) ProtoReflect

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

func (*BatchCreatePetsResponse) Reset

func (x *BatchCreatePetsResponse) Reset()

func (*BatchCreatePetsResponse) String

func (x *BatchCreatePetsResponse) String() string

type BatchCreatePoniesRequest

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

func (*BatchCreatePoniesRequest) Descriptor deprecated

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

Deprecated: Use BatchCreatePoniesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreatePoniesRequest) GetRequests

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

func (*BatchCreatePoniesRequest) ProtoMessage

func (*BatchCreatePoniesRequest) ProtoMessage()

func (*BatchCreatePoniesRequest) ProtoReflect

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

func (*BatchCreatePoniesRequest) Reset

func (x *BatchCreatePoniesRequest) Reset()

func (*BatchCreatePoniesRequest) String

func (x *BatchCreatePoniesRequest) String() string

type BatchCreatePoniesResponse

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

func (*BatchCreatePoniesResponse) Descriptor deprecated

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

Deprecated: Use BatchCreatePoniesResponse.ProtoReflect.Descriptor instead.

func (*BatchCreatePoniesResponse) GetPonies

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

func (*BatchCreatePoniesResponse) ProtoMessage

func (*BatchCreatePoniesResponse) ProtoMessage()

func (*BatchCreatePoniesResponse) ProtoReflect

func (*BatchCreatePoniesResponse) Reset

func (x *BatchCreatePoniesResponse) Reset()

func (*BatchCreatePoniesResponse) String

func (x *BatchCreatePoniesResponse) String() string

type BatchCreateUsersRequest

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

func (*BatchCreateUsersRequest) Descriptor deprecated

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

Deprecated: Use BatchCreateUsersRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateUsersRequest) GetRequests

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

func (*BatchCreateUsersRequest) ProtoMessage

func (*BatchCreateUsersRequest) ProtoMessage()

func (*BatchCreateUsersRequest) ProtoReflect

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

func (*BatchCreateUsersRequest) Reset

func (x *BatchCreateUsersRequest) Reset()

func (*BatchCreateUsersRequest) String

func (x *BatchCreateUsersRequest) String() string

type BatchCreateUsersResponse

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

func (*BatchCreateUsersResponse) Descriptor deprecated

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

Deprecated: Use BatchCreateUsersResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateUsersResponse) GetUsers

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

func (*BatchCreateUsersResponse) ProtoMessage

func (*BatchCreateUsersResponse) ProtoMessage()

func (*BatchCreateUsersResponse) ProtoReflect

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

func (*BatchCreateUsersResponse) Reset

func (x *BatchCreateUsersResponse) Reset()

func (*BatchCreateUsersResponse) String

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

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

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

Deprecated: Use CreateMultiWordSchemaRequest.ProtoReflect.Descriptor instead.

func (*CreateMultiWordSchemaRequest) GetMultiWordSchema

func (x *CreateMultiWordSchemaRequest) GetMultiWordSchema() *MultiWordSchema

func (*CreateMultiWordSchemaRequest) ProtoMessage

func (*CreateMultiWordSchemaRequest) ProtoMessage()

func (*CreateMultiWordSchemaRequest) ProtoReflect

func (*CreateMultiWordSchemaRequest) Reset

func (x *CreateMultiWordSchemaRequest) Reset()

func (*CreateMultiWordSchemaRequest) String

type CreateNilExampleRequest

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

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

Deprecated: Use CreateNilExampleRequest.ProtoReflect.Descriptor instead.

func (*CreateNilExampleRequest) GetNilExample

func (x *CreateNilExampleRequest) GetNilExample() *NilExample

func (*CreateNilExampleRequest) ProtoMessage

func (*CreateNilExampleRequest) ProtoMessage()

func (*CreateNilExampleRequest) ProtoReflect

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

func (*CreateNilExampleRequest) Reset

func (x *CreateNilExampleRequest) Reset()

func (*CreateNilExampleRequest) String

func (x *CreateNilExampleRequest) String() string

type CreatePetRequest

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

func (*CreatePetRequest) Descriptor deprecated

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

Deprecated: Use CreatePetRequest.ProtoReflect.Descriptor instead.

func (*CreatePetRequest) GetPet

func (x *CreatePetRequest) GetPet() *Pet

func (*CreatePetRequest) ProtoMessage

func (*CreatePetRequest) ProtoMessage()

func (*CreatePetRequest) ProtoReflect

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

func (*CreatePetRequest) Reset

func (x *CreatePetRequest) Reset()

func (*CreatePetRequest) String

func (x *CreatePetRequest) String() string

type CreatePonyRequest

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

func (*CreatePonyRequest) Descriptor deprecated

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

Deprecated: Use CreatePonyRequest.ProtoReflect.Descriptor instead.

func (*CreatePonyRequest) GetPony

func (x *CreatePonyRequest) GetPony() *Pony

func (*CreatePonyRequest) ProtoMessage

func (*CreatePonyRequest) ProtoMessage()

func (*CreatePonyRequest) ProtoReflect

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

func (*CreatePonyRequest) Reset

func (x *CreatePonyRequest) Reset()

func (*CreatePonyRequest) String

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

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

func (*DeleteMultiWordSchemaRequest) Descriptor deprecated

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

Deprecated: Use DeleteMultiWordSchemaRequest.ProtoReflect.Descriptor instead.

func (*DeleteMultiWordSchemaRequest) GetId

func (*DeleteMultiWordSchemaRequest) ProtoMessage

func (*DeleteMultiWordSchemaRequest) ProtoMessage()

func (*DeleteMultiWordSchemaRequest) ProtoReflect

func (*DeleteMultiWordSchemaRequest) Reset

func (x *DeleteMultiWordSchemaRequest) Reset()

func (*DeleteMultiWordSchemaRequest) String

type DeleteNilExampleRequest

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

func (*DeleteNilExampleRequest) Descriptor deprecated

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

Deprecated: Use DeleteNilExampleRequest.ProtoReflect.Descriptor instead.

func (*DeleteNilExampleRequest) GetId

func (x *DeleteNilExampleRequest) GetId() int64

func (*DeleteNilExampleRequest) ProtoMessage

func (*DeleteNilExampleRequest) ProtoMessage()

func (*DeleteNilExampleRequest) ProtoReflect

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

func (*DeleteNilExampleRequest) Reset

func (x *DeleteNilExampleRequest) Reset()

func (*DeleteNilExampleRequest) String

func (x *DeleteNilExampleRequest) String() string

type DeletePetRequest

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

func (*DeletePetRequest) Descriptor deprecated

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

Deprecated: Use DeletePetRequest.ProtoReflect.Descriptor instead.

func (*DeletePetRequest) GetId

func (x *DeletePetRequest) GetId() int64

func (*DeletePetRequest) ProtoMessage

func (*DeletePetRequest) ProtoMessage()

func (*DeletePetRequest) ProtoReflect

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

func (*DeletePetRequest) Reset

func (x *DeletePetRequest) Reset()

func (*DeletePetRequest) String

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

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

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

Deprecated: Use GetMultiWordSchemaRequest.ProtoReflect.Descriptor instead.

func (*GetMultiWordSchemaRequest) GetId

func (x *GetMultiWordSchemaRequest) GetId() int64

func (*GetMultiWordSchemaRequest) GetView

func (*GetMultiWordSchemaRequest) ProtoMessage

func (*GetMultiWordSchemaRequest) ProtoMessage()

func (*GetMultiWordSchemaRequest) ProtoReflect

func (*GetMultiWordSchemaRequest) Reset

func (x *GetMultiWordSchemaRequest) Reset()

func (*GetMultiWordSchemaRequest) String

func (x *GetMultiWordSchemaRequest) String() string

type GetMultiWordSchemaRequest_View

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

func (GetMultiWordSchemaRequest_View) Enum

func (GetMultiWordSchemaRequest_View) EnumDescriptor deprecated

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

Deprecated: Use GetMultiWordSchemaRequest_View.Descriptor instead.

func (GetMultiWordSchemaRequest_View) Number

func (GetMultiWordSchemaRequest_View) String

func (GetMultiWordSchemaRequest_View) Type

type GetNilExampleRequest

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

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

Deprecated: Use GetNilExampleRequest.ProtoReflect.Descriptor instead.

func (*GetNilExampleRequest) GetId

func (x *GetNilExampleRequest) GetId() int64

func (*GetNilExampleRequest) GetView

func (*GetNilExampleRequest) ProtoMessage

func (*GetNilExampleRequest) ProtoMessage()

func (*GetNilExampleRequest) ProtoReflect

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

func (*GetNilExampleRequest) Reset

func (x *GetNilExampleRequest) Reset()

func (*GetNilExampleRequest) String

func (x *GetNilExampleRequest) String() string

type GetNilExampleRequest_View

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

func (GetNilExampleRequest_View) Enum

func (GetNilExampleRequest_View) EnumDescriptor deprecated

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

Deprecated: Use GetNilExampleRequest_View.Descriptor instead.

func (GetNilExampleRequest_View) Number

func (GetNilExampleRequest_View) String

func (x GetNilExampleRequest_View) String() string

func (GetNilExampleRequest_View) Type

type GetPetRequest

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

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

Deprecated: Use GetPetRequest.ProtoReflect.Descriptor instead.

func (*GetPetRequest) GetId

func (x *GetPetRequest) GetId() int64

func (*GetPetRequest) GetView

func (x *GetPetRequest) GetView() GetPetRequest_View

func (*GetPetRequest) ProtoMessage

func (*GetPetRequest) ProtoMessage()

func (*GetPetRequest) ProtoReflect

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

func (*GetPetRequest) Reset

func (x *GetPetRequest) Reset()

func (*GetPetRequest) String

func (x *GetPetRequest) String() string

type GetPetRequest_View

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

func (GetPetRequest_View) Enum

func (GetPetRequest_View) EnumDescriptor deprecated

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

Deprecated: Use GetPetRequest_View.Descriptor instead.

func (GetPetRequest_View) Number

func (GetPetRequest_View) String

func (x GetPetRequest_View) String() string

func (GetPetRequest_View) Type

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

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

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

Deprecated: Use ListAttachmentRequest.ProtoReflect.Descriptor instead.

func (*ListAttachmentRequest) GetPageSize

func (x *ListAttachmentRequest) GetPageSize() int32

func (*ListAttachmentRequest) GetPageToken

func (x *ListAttachmentRequest) GetPageToken() string

func (*ListAttachmentRequest) GetView

func (*ListAttachmentRequest) ProtoMessage

func (*ListAttachmentRequest) ProtoMessage()

func (*ListAttachmentRequest) ProtoReflect

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

func (*ListAttachmentRequest) Reset

func (x *ListAttachmentRequest) Reset()

func (*ListAttachmentRequest) String

func (x *ListAttachmentRequest) String() string

type ListAttachmentRequest_View

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

func (ListAttachmentRequest_View) Enum

func (ListAttachmentRequest_View) EnumDescriptor deprecated

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

Deprecated: Use ListAttachmentRequest_View.Descriptor instead.

func (ListAttachmentRequest_View) Number

func (ListAttachmentRequest_View) String

func (ListAttachmentRequest_View) Type

type ListAttachmentResponse

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

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

Deprecated: Use ListAttachmentResponse.ProtoReflect.Descriptor instead.

func (*ListAttachmentResponse) GetAttachmentList

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

func (*ListAttachmentResponse) GetNextPageToken

func (x *ListAttachmentResponse) GetNextPageToken() string

func (*ListAttachmentResponse) ProtoMessage

func (*ListAttachmentResponse) ProtoMessage()

func (*ListAttachmentResponse) ProtoReflect

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

func (*ListAttachmentResponse) Reset

func (x *ListAttachmentResponse) Reset()

func (*ListAttachmentResponse) String

func (x *ListAttachmentResponse) String() string

type ListMultiWordSchemaRequest

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

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

Deprecated: Use ListMultiWordSchemaRequest.ProtoReflect.Descriptor instead.

func (*ListMultiWordSchemaRequest) GetPageSize

func (x *ListMultiWordSchemaRequest) GetPageSize() int32

func (*ListMultiWordSchemaRequest) GetPageToken

func (x *ListMultiWordSchemaRequest) GetPageToken() string

func (*ListMultiWordSchemaRequest) GetView

func (*ListMultiWordSchemaRequest) ProtoMessage

func (*ListMultiWordSchemaRequest) ProtoMessage()

func (*ListMultiWordSchemaRequest) ProtoReflect

func (*ListMultiWordSchemaRequest) Reset

func (x *ListMultiWordSchemaRequest) Reset()

func (*ListMultiWordSchemaRequest) String

func (x *ListMultiWordSchemaRequest) String() string

type ListMultiWordSchemaRequest_View

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

func (ListMultiWordSchemaRequest_View) Enum

func (ListMultiWordSchemaRequest_View) EnumDescriptor deprecated

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

Deprecated: Use ListMultiWordSchemaRequest_View.Descriptor instead.

func (ListMultiWordSchemaRequest_View) Number

func (ListMultiWordSchemaRequest_View) String

func (ListMultiWordSchemaRequest_View) Type

type ListMultiWordSchemaResponse

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

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

Deprecated: Use ListMultiWordSchemaResponse.ProtoReflect.Descriptor instead.

func (*ListMultiWordSchemaResponse) GetMultiWordSchemaList

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

func (*ListMultiWordSchemaResponse) GetNextPageToken

func (x *ListMultiWordSchemaResponse) GetNextPageToken() string

func (*ListMultiWordSchemaResponse) ProtoMessage

func (*ListMultiWordSchemaResponse) ProtoMessage()

func (*ListMultiWordSchemaResponse) ProtoReflect

func (*ListMultiWordSchemaResponse) Reset

func (x *ListMultiWordSchemaResponse) Reset()

func (*ListMultiWordSchemaResponse) String

func (x *ListMultiWordSchemaResponse) String() string

type ListNilExampleRequest

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

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

Deprecated: Use ListNilExampleRequest.ProtoReflect.Descriptor instead.

func (*ListNilExampleRequest) GetPageSize

func (x *ListNilExampleRequest) GetPageSize() int32

func (*ListNilExampleRequest) GetPageToken

func (x *ListNilExampleRequest) GetPageToken() string

func (*ListNilExampleRequest) GetView

func (*ListNilExampleRequest) ProtoMessage

func (*ListNilExampleRequest) ProtoMessage()

func (*ListNilExampleRequest) ProtoReflect

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

func (*ListNilExampleRequest) Reset

func (x *ListNilExampleRequest) Reset()

func (*ListNilExampleRequest) String

func (x *ListNilExampleRequest) String() string

type ListNilExampleRequest_View

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

func (ListNilExampleRequest_View) Enum

func (ListNilExampleRequest_View) EnumDescriptor deprecated

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

Deprecated: Use ListNilExampleRequest_View.Descriptor instead.

func (ListNilExampleRequest_View) Number

func (ListNilExampleRequest_View) String

func (ListNilExampleRequest_View) Type

type ListNilExampleResponse

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

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

Deprecated: Use ListNilExampleResponse.ProtoReflect.Descriptor instead.

func (*ListNilExampleResponse) GetNextPageToken

func (x *ListNilExampleResponse) GetNextPageToken() string

func (*ListNilExampleResponse) GetNilExampleList

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

func (*ListNilExampleResponse) ProtoMessage

func (*ListNilExampleResponse) ProtoMessage()

func (*ListNilExampleResponse) ProtoReflect

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

func (*ListNilExampleResponse) Reset

func (x *ListNilExampleResponse) Reset()

func (*ListNilExampleResponse) String

func (x *ListNilExampleResponse) String() string

type ListPetRequest

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

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

Deprecated: Use ListPetRequest.ProtoReflect.Descriptor instead.

func (*ListPetRequest) GetPageSize

func (x *ListPetRequest) GetPageSize() int32

func (*ListPetRequest) GetPageToken

func (x *ListPetRequest) GetPageToken() string

func (*ListPetRequest) GetView

func (x *ListPetRequest) GetView() ListPetRequest_View

func (*ListPetRequest) ProtoMessage

func (*ListPetRequest) ProtoMessage()

func (*ListPetRequest) ProtoReflect

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

func (*ListPetRequest) Reset

func (x *ListPetRequest) Reset()

func (*ListPetRequest) String

func (x *ListPetRequest) String() string

type ListPetRequest_View

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

func (ListPetRequest_View) Enum

func (ListPetRequest_View) EnumDescriptor deprecated

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

Deprecated: Use ListPetRequest_View.Descriptor instead.

func (ListPetRequest_View) Number

func (ListPetRequest_View) String

func (x ListPetRequest_View) String() string

func (ListPetRequest_View) Type

type ListPetResponse

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

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

Deprecated: Use ListPetResponse.ProtoReflect.Descriptor instead.

func (*ListPetResponse) GetNextPageToken

func (x *ListPetResponse) GetNextPageToken() string

func (*ListPetResponse) GetPetList

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

func (*ListPetResponse) ProtoMessage

func (*ListPetResponse) ProtoMessage()

func (*ListPetResponse) ProtoReflect

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

func (*ListPetResponse) Reset

func (x *ListPetResponse) Reset()

func (*ListPetResponse) String

func (x *ListPetResponse) String() string

type ListUserRequest

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

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

Deprecated: Use ListUserRequest.ProtoReflect.Descriptor instead.

func (*ListUserRequest) GetPageSize

func (x *ListUserRequest) GetPageSize() int32

func (*ListUserRequest) GetPageToken

func (x *ListUserRequest) GetPageToken() string

func (*ListUserRequest) GetView

func (*ListUserRequest) ProtoMessage

func (*ListUserRequest) ProtoMessage()

func (*ListUserRequest) ProtoReflect

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

func (*ListUserRequest) Reset

func (x *ListUserRequest) Reset()

func (*ListUserRequest) String

func (x *ListUserRequest) String() string

type ListUserRequest_View

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

func (ListUserRequest_View) Enum

func (ListUserRequest_View) EnumDescriptor deprecated

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

Deprecated: Use ListUserRequest_View.Descriptor instead.

func (ListUserRequest_View) Number

func (ListUserRequest_View) String

func (x ListUserRequest_View) String() string

func (ListUserRequest_View) Type

type ListUserResponse

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

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

Deprecated: Use ListUserResponse.ProtoReflect.Descriptor instead.

func (*ListUserResponse) GetNextPageToken

func (x *ListUserResponse) GetNextPageToken() string

func (*ListUserResponse) GetUserList

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

func (*ListUserResponse) ProtoMessage

func (*ListUserResponse) ProtoMessage()

func (*ListUserResponse) ProtoReflect

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

func (*ListUserResponse) Reset

func (x *ListUserResponse) Reset()

func (*ListUserResponse) String

func (x *ListUserResponse) String() string

type MultiWordSchema

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

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

Deprecated: Use MultiWordSchema.ProtoReflect.Descriptor instead.

func (*MultiWordSchema) GetId

func (x *MultiWordSchema) GetId() int64

func (*MultiWordSchema) GetUnit

func (*MultiWordSchema) ProtoMessage

func (*MultiWordSchema) ProtoMessage()

func (*MultiWordSchema) ProtoReflect

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

func (*MultiWordSchema) Reset

func (x *MultiWordSchema) Reset()

func (*MultiWordSchema) String

func (x *MultiWordSchema) String() string

type MultiWordSchemaService

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

MultiWordSchemaService implements MultiWordSchemaServiceServer

func NewMultiWordSchemaService

func NewMultiWordSchemaService(client *ent.Client) *MultiWordSchemaService

NewMultiWordSchemaService returns a new MultiWordSchemaService

func (*MultiWordSchemaService) BatchCreate

BatchCreate implements MultiWordSchemaServiceServer.BatchCreate

func (*MultiWordSchemaService) Create

Create implements MultiWordSchemaServiceServer.Create

func (*MultiWordSchemaService) Delete

Delete implements MultiWordSchemaServiceServer.Delete

func (*MultiWordSchemaService) Get

Get implements MultiWordSchemaServiceServer.Get

func (*MultiWordSchemaService) List

List implements MultiWordSchemaServiceServer.List

func (*MultiWordSchemaService) Update

Update implements MultiWordSchemaServiceServer.Update

type MultiWordSchemaServiceClient

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.

type MultiWordSchemaServiceServer

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

type MultiWordSchema_Unit

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

func (MultiWordSchema_Unit) Descriptor

func (MultiWordSchema_Unit) Enum

func (MultiWordSchema_Unit) EnumDescriptor deprecated

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

Deprecated: Use MultiWordSchema_Unit.Descriptor instead.

func (MultiWordSchema_Unit) Number

func (MultiWordSchema_Unit) String

func (x MultiWordSchema_Unit) String() string

func (MultiWordSchema_Unit) Type

type NilExample

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

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

Deprecated: Use NilExample.ProtoReflect.Descriptor instead.

func (*NilExample) GetId

func (x *NilExample) GetId() int64

func (*NilExample) GetStrNil

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

func (*NilExample) GetTimeNil

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

func (*NilExample) ProtoMessage

func (*NilExample) ProtoMessage()

func (*NilExample) ProtoReflect

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

func (*NilExample) Reset

func (x *NilExample) Reset()

func (*NilExample) String

func (x *NilExample) String() string

type NilExampleService

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

NilExampleService implements NilExampleServiceServer

func NewNilExampleService

func NewNilExampleService(client *ent.Client) *NilExampleService

NewNilExampleService returns a new NilExampleService

func (*NilExampleService) BatchCreate

BatchCreate implements NilExampleServiceServer.BatchCreate

func (*NilExampleService) Create

Create implements NilExampleServiceServer.Create

func (*NilExampleService) Delete

Delete implements NilExampleServiceServer.Delete

func (*NilExampleService) Get

Get implements NilExampleServiceServer.Get

func (*NilExampleService) List

List implements NilExampleServiceServer.List

func (*NilExampleService) Update

Update implements NilExampleServiceServer.Update

type NilExampleServiceClient

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.

type NilExampleServiceServer

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

type NoopServiceClient

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.

type NoopServiceServer

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

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

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

Deprecated: Use Pet.ProtoReflect.Descriptor instead.

func (*Pet) GetAttachment

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

func (*Pet) GetId

func (x *Pet) GetId() int64

func (*Pet) GetOwner

func (x *Pet) GetOwner() *User

func (*Pet) ProtoMessage

func (*Pet) ProtoMessage()

func (*Pet) ProtoReflect

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

func (*Pet) Reset

func (x *Pet) Reset()

func (*Pet) String

func (x *Pet) String() string

type PetService

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

PetService implements PetServiceServer

func NewPetService

func NewPetService(client *ent.Client) *PetService

NewPetService returns a new PetService

func (*PetService) BatchCreate

BatchCreate implements PetServiceServer.BatchCreate

func (*PetService) Create

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

Create implements PetServiceServer.Create

func (*PetService) Delete

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

Delete implements PetServiceServer.Delete

func (*PetService) Get

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

Get implements PetServiceServer.Get

func (*PetService) List

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

List implements PetServiceServer.List

func (*PetService) Update

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

Update implements PetServiceServer.Update

type PetServiceClient

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

func NewPetServiceClient(cc grpc.ClientConnInterface) PetServiceClient

type PetServiceServer

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

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

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

Deprecated: Use Pony.ProtoReflect.Descriptor instead.

func (*Pony) GetId

func (x *Pony) GetId() int64

func (*Pony) GetName

func (x *Pony) GetName() string

func (*Pony) ProtoMessage

func (*Pony) ProtoMessage()

func (*Pony) ProtoReflect

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

func (*Pony) Reset

func (x *Pony) Reset()

func (*Pony) String

func (x *Pony) String() string

type PonyService

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

PonyService implements PonyServiceServer

func NewPonyService

func NewPonyService(client *ent.Client) *PonyService

NewPonyService returns a new PonyService

func (*PonyService) BatchCreate

BatchCreate implements PonyServiceServer.BatchCreate

type PonyServiceClient

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.

type PonyServiceServer

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

func (UnimplementedAttachmentServiceServer) Delete

func (UnimplementedAttachmentServiceServer) Get

func (UnimplementedAttachmentServiceServer) List

func (UnimplementedAttachmentServiceServer) Update

type UnimplementedMultiWordSchemaServiceServer

type UnimplementedMultiWordSchemaServiceServer struct {
}

UnimplementedMultiWordSchemaServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMultiWordSchemaServiceServer) Create

func (UnimplementedMultiWordSchemaServiceServer) Delete

func (UnimplementedMultiWordSchemaServiceServer) Get

func (UnimplementedMultiWordSchemaServiceServer) Update

type UnimplementedNilExampleServiceServer

type UnimplementedNilExampleServiceServer struct {
}

UnimplementedNilExampleServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedNilExampleServiceServer) Create

func (UnimplementedNilExampleServiceServer) Delete

func (UnimplementedNilExampleServiceServer) Get

func (UnimplementedNilExampleServiceServer) List

func (UnimplementedNilExampleServiceServer) Update

type UnimplementedNoopServiceServer

type UnimplementedNoopServiceServer struct {
}

UnimplementedNoopServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedNoopServiceServer) Crickets

type UnimplementedPetServiceServer

type UnimplementedPetServiceServer struct {
}

UnimplementedPetServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPetServiceServer) BatchCreate

func (UnimplementedPetServiceServer) Create

func (UnimplementedPetServiceServer) Delete

func (UnimplementedPetServiceServer) Get

func (UnimplementedPetServiceServer) List

func (UnimplementedPetServiceServer) Update

type UnimplementedPonyServiceServer

type UnimplementedPonyServiceServer struct {
}

UnimplementedPonyServiceServer must be embedded to have forward compatible implementations.

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) BatchCreate

func (UnimplementedUserServiceServer) Create

func (UnimplementedUserServiceServer) Delete

func (UnimplementedUserServiceServer) Get

func (UnimplementedUserServiceServer) List

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

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

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

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

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

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

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

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

Deprecated: Use UpdateMultiWordSchemaRequest.ProtoReflect.Descriptor instead.

func (*UpdateMultiWordSchemaRequest) GetMultiWordSchema

func (x *UpdateMultiWordSchemaRequest) GetMultiWordSchema() *MultiWordSchema

func (*UpdateMultiWordSchemaRequest) ProtoMessage

func (*UpdateMultiWordSchemaRequest) ProtoMessage()

func (*UpdateMultiWordSchemaRequest) ProtoReflect

func (*UpdateMultiWordSchemaRequest) Reset

func (x *UpdateMultiWordSchemaRequest) Reset()

func (*UpdateMultiWordSchemaRequest) String

type UpdateNilExampleRequest

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

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

Deprecated: Use UpdateNilExampleRequest.ProtoReflect.Descriptor instead.

func (*UpdateNilExampleRequest) GetNilExample

func (x *UpdateNilExampleRequest) GetNilExample() *NilExample

func (*UpdateNilExampleRequest) ProtoMessage

func (*UpdateNilExampleRequest) ProtoMessage()

func (*UpdateNilExampleRequest) ProtoReflect

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

func (*UpdateNilExampleRequest) Reset

func (x *UpdateNilExampleRequest) Reset()

func (*UpdateNilExampleRequest) String

func (x *UpdateNilExampleRequest) String() string

type UpdatePetRequest

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

func (*UpdatePetRequest) Descriptor deprecated

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

Deprecated: Use UpdatePetRequest.ProtoReflect.Descriptor instead.

func (*UpdatePetRequest) GetPet

func (x *UpdatePetRequest) GetPet() *Pet

func (*UpdatePetRequest) ProtoMessage

func (*UpdatePetRequest) ProtoMessage()

func (*UpdatePetRequest) ProtoReflect

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

func (*UpdatePetRequest) Reset

func (x *UpdatePetRequest) Reset()

func (*UpdatePetRequest) String

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

func (x *User) GetAccountBalance() float64

func (*User) GetAttachment

func (x *User) GetAttachment() *Attachment

func (*User) GetBUser_1

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

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

func (x *User) GetHeightInCm() float32

func (*User) GetId

func (x *User) GetId() uint32

func (*User) GetInt32S

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

func (*User) GetInt64S

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

func (*User) GetJoined

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

func (*User) GetLabels

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

func (*User) GetMimeType

func (x *User) GetMimeType() User_MimeType

func (*User) GetOmitPrefix

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

func (x *User) GetPet() *Pet

func (*User) GetPoints

func (x *User) GetPoints() uint32

func (*User) GetReceived_1

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

func (*User) GetStatus

func (x *User) GetStatus() User_Status

func (*User) GetType

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

func (*User) GetUint32S

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

func (*User) GetUint64S

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

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

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

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

func (User_DeviceType) Descriptor

func (User_DeviceType) Enum

func (x User_DeviceType) Enum() *User_DeviceType

func (User_DeviceType) EnumDescriptor deprecated

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

Deprecated: Use User_DeviceType.Descriptor instead.

func (User_DeviceType) Number

func (User_DeviceType) String

func (x User_DeviceType) String() string

func (User_DeviceType) Type

type User_MimeType

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

func (User_MimeType) Enum

func (x User_MimeType) Enum() *User_MimeType

func (User_MimeType) EnumDescriptor deprecated

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

Deprecated: Use User_MimeType.Descriptor instead.

func (User_MimeType) Number

func (User_MimeType) String

func (x User_MimeType) String() string

func (User_MimeType) Type

type User_OmitPrefix

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

func (User_OmitPrefix) Enum

func (x User_OmitPrefix) Enum() *User_OmitPrefix

func (User_OmitPrefix) EnumDescriptor deprecated

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

Deprecated: Use User_OmitPrefix.Descriptor instead.

func (User_OmitPrefix) Number

func (User_OmitPrefix) String

func (x User_OmitPrefix) String() string

func (User_OmitPrefix) Type

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