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 ¶
- Variables
- func RegisterAttachmentServiceServer(s grpc.ServiceRegistrar, srv AttachmentServiceServer)
- func RegisterMultiWordSchemaServiceServer(s grpc.ServiceRegistrar, srv MultiWordSchemaServiceServer)
- func RegisterNilExampleServiceServer(s grpc.ServiceRegistrar, srv NilExampleServiceServer)
- func RegisterNoopServiceServer(s grpc.ServiceRegistrar, srv NoopServiceServer)
- func RegisterPetServiceServer(s grpc.ServiceRegistrar, srv PetServiceServer)
- func RegisterPonyServiceServer(s grpc.ServiceRegistrar, srv PonyServiceServer)
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type Attachment
- func (*Attachment) Descriptor() ([]byte, []int)deprecated
- func (x *Attachment) GetId() []byte
- func (x *Attachment) GetRecipients() []*User
- func (x *Attachment) GetUser() *User
- func (*Attachment) ProtoMessage()
- func (x *Attachment) ProtoReflect() protoreflect.Message
- func (x *Attachment) Reset()
- func (x *Attachment) String() string
- type AttachmentService
- func (svc *AttachmentService) BatchCreate(ctx context.Context, req *BatchCreateAttachmentsRequest) (*BatchCreateAttachmentsResponse, error)
- func (svc *AttachmentService) Create(ctx context.Context, req *CreateAttachmentRequest) (*Attachment, error)
- func (svc *AttachmentService) Delete(ctx context.Context, req *DeleteAttachmentRequest) (*emptypb.Empty, error)
- func (svc *AttachmentService) Get(ctx context.Context, req *GetAttachmentRequest) (*Attachment, error)
- func (svc *AttachmentService) List(ctx context.Context, req *ListAttachmentRequest) (*ListAttachmentResponse, error)
- func (svc *AttachmentService) Update(ctx context.Context, req *UpdateAttachmentRequest) (*Attachment, error)
- type AttachmentServiceClient
- type AttachmentServiceServer
- type BatchCreateAttachmentsRequest
- func (*BatchCreateAttachmentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateAttachmentsRequest) GetRequests() []*CreateAttachmentRequest
- func (*BatchCreateAttachmentsRequest) ProtoMessage()
- func (x *BatchCreateAttachmentsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCreateAttachmentsRequest) Reset()
- func (x *BatchCreateAttachmentsRequest) String() string
- type BatchCreateAttachmentsResponse
- func (*BatchCreateAttachmentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateAttachmentsResponse) GetAttachments() []*Attachment
- func (*BatchCreateAttachmentsResponse) ProtoMessage()
- func (x *BatchCreateAttachmentsResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreateAttachmentsResponse) Reset()
- func (x *BatchCreateAttachmentsResponse) String() string
- type BatchCreateMultiWordSchemasRequest
- func (*BatchCreateMultiWordSchemasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateMultiWordSchemasRequest) GetRequests() []*CreateMultiWordSchemaRequest
- func (*BatchCreateMultiWordSchemasRequest) ProtoMessage()
- func (x *BatchCreateMultiWordSchemasRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCreateMultiWordSchemasRequest) Reset()
- func (x *BatchCreateMultiWordSchemasRequest) String() string
- type BatchCreateMultiWordSchemasResponse
- func (*BatchCreateMultiWordSchemasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateMultiWordSchemasResponse) GetMultiWordSchemas() []*MultiWordSchema
- func (*BatchCreateMultiWordSchemasResponse) ProtoMessage()
- func (x *BatchCreateMultiWordSchemasResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreateMultiWordSchemasResponse) Reset()
- func (x *BatchCreateMultiWordSchemasResponse) String() string
- type BatchCreateNilExamplesRequest
- func (*BatchCreateNilExamplesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateNilExamplesRequest) GetRequests() []*CreateNilExampleRequest
- func (*BatchCreateNilExamplesRequest) ProtoMessage()
- func (x *BatchCreateNilExamplesRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCreateNilExamplesRequest) Reset()
- func (x *BatchCreateNilExamplesRequest) String() string
- type BatchCreateNilExamplesResponse
- func (*BatchCreateNilExamplesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateNilExamplesResponse) GetNilExamples() []*NilExample
- func (*BatchCreateNilExamplesResponse) ProtoMessage()
- func (x *BatchCreateNilExamplesResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreateNilExamplesResponse) Reset()
- func (x *BatchCreateNilExamplesResponse) String() string
- type BatchCreatePetsRequest
- func (*BatchCreatePetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreatePetsRequest) GetRequests() []*CreatePetRequest
- func (*BatchCreatePetsRequest) ProtoMessage()
- func (x *BatchCreatePetsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCreatePetsRequest) Reset()
- func (x *BatchCreatePetsRequest) String() string
- type BatchCreatePetsResponse
- func (*BatchCreatePetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreatePetsResponse) GetPets() []*Pet
- func (*BatchCreatePetsResponse) ProtoMessage()
- func (x *BatchCreatePetsResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreatePetsResponse) Reset()
- func (x *BatchCreatePetsResponse) String() string
- type BatchCreatePoniesRequest
- func (*BatchCreatePoniesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreatePoniesRequest) GetRequests() []*CreatePonyRequest
- func (*BatchCreatePoniesRequest) ProtoMessage()
- func (x *BatchCreatePoniesRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCreatePoniesRequest) Reset()
- func (x *BatchCreatePoniesRequest) String() string
- type BatchCreatePoniesResponse
- func (*BatchCreatePoniesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreatePoniesResponse) GetPonies() []*Pony
- func (*BatchCreatePoniesResponse) ProtoMessage()
- func (x *BatchCreatePoniesResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreatePoniesResponse) Reset()
- func (x *BatchCreatePoniesResponse) String() string
- type BatchCreateUsersRequest
- func (*BatchCreateUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateUsersRequest) GetRequests() []*CreateUserRequest
- func (*BatchCreateUsersRequest) ProtoMessage()
- func (x *BatchCreateUsersRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCreateUsersRequest) Reset()
- func (x *BatchCreateUsersRequest) String() string
- type BatchCreateUsersResponse
- func (*BatchCreateUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateUsersResponse) GetUsers() []*User
- func (*BatchCreateUsersResponse) ProtoMessage()
- func (x *BatchCreateUsersResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreateUsersResponse) Reset()
- func (x *BatchCreateUsersResponse) String() string
- type CreateAttachmentRequest
- func (*CreateAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAttachmentRequest) GetAttachment() *Attachment
- func (*CreateAttachmentRequest) ProtoMessage()
- func (x *CreateAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAttachmentRequest) Reset()
- func (x *CreateAttachmentRequest) String() string
- type CreateMultiWordSchemaRequest
- func (*CreateMultiWordSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMultiWordSchemaRequest) GetMultiWordSchema() *MultiWordSchema
- func (*CreateMultiWordSchemaRequest) ProtoMessage()
- func (x *CreateMultiWordSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMultiWordSchemaRequest) Reset()
- func (x *CreateMultiWordSchemaRequest) String() string
- type CreateNilExampleRequest
- func (*CreateNilExampleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNilExampleRequest) GetNilExample() *NilExample
- func (*CreateNilExampleRequest) ProtoMessage()
- func (x *CreateNilExampleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNilExampleRequest) Reset()
- func (x *CreateNilExampleRequest) String() string
- type CreatePetRequest
- type CreatePonyRequest
- type CreateUserRequest
- type DeleteAttachmentRequest
- func (*DeleteAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAttachmentRequest) GetId() []byte
- func (*DeleteAttachmentRequest) ProtoMessage()
- func (x *DeleteAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAttachmentRequest) Reset()
- func (x *DeleteAttachmentRequest) String() string
- type DeleteMultiWordSchemaRequest
- func (*DeleteMultiWordSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMultiWordSchemaRequest) GetId() int64
- func (*DeleteMultiWordSchemaRequest) ProtoMessage()
- func (x *DeleteMultiWordSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMultiWordSchemaRequest) Reset()
- func (x *DeleteMultiWordSchemaRequest) String() string
- type DeleteNilExampleRequest
- func (*DeleteNilExampleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNilExampleRequest) GetId() int64
- func (*DeleteNilExampleRequest) ProtoMessage()
- func (x *DeleteNilExampleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNilExampleRequest) Reset()
- func (x *DeleteNilExampleRequest) String() string
- type DeletePetRequest
- type DeleteUserRequest
- type GetAttachmentRequest
- func (*GetAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttachmentRequest) GetId() []byte
- func (x *GetAttachmentRequest) GetView() GetAttachmentRequest_View
- func (*GetAttachmentRequest) ProtoMessage()
- func (x *GetAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *GetAttachmentRequest) Reset()
- func (x *GetAttachmentRequest) String() string
- type GetAttachmentRequest_View
- func (GetAttachmentRequest_View) Descriptor() protoreflect.EnumDescriptor
- func (x GetAttachmentRequest_View) Enum() *GetAttachmentRequest_View
- func (GetAttachmentRequest_View) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetAttachmentRequest_View) Number() protoreflect.EnumNumber
- func (x GetAttachmentRequest_View) String() string
- func (GetAttachmentRequest_View) Type() protoreflect.EnumType
- type GetMultiWordSchemaRequest
- func (*GetMultiWordSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMultiWordSchemaRequest) GetId() int64
- func (x *GetMultiWordSchemaRequest) GetView() GetMultiWordSchemaRequest_View
- func (*GetMultiWordSchemaRequest) ProtoMessage()
- func (x *GetMultiWordSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *GetMultiWordSchemaRequest) Reset()
- func (x *GetMultiWordSchemaRequest) String() string
- type GetMultiWordSchemaRequest_View
- func (GetMultiWordSchemaRequest_View) Descriptor() protoreflect.EnumDescriptor
- func (x GetMultiWordSchemaRequest_View) Enum() *GetMultiWordSchemaRequest_View
- func (GetMultiWordSchemaRequest_View) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetMultiWordSchemaRequest_View) Number() protoreflect.EnumNumber
- func (x GetMultiWordSchemaRequest_View) String() string
- func (GetMultiWordSchemaRequest_View) Type() protoreflect.EnumType
- type GetNilExampleRequest
- func (*GetNilExampleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNilExampleRequest) GetId() int64
- func (x *GetNilExampleRequest) GetView() GetNilExampleRequest_View
- func (*GetNilExampleRequest) ProtoMessage()
- func (x *GetNilExampleRequest) ProtoReflect() protoreflect.Message
- func (x *GetNilExampleRequest) Reset()
- func (x *GetNilExampleRequest) String() string
- type GetNilExampleRequest_View
- func (GetNilExampleRequest_View) Descriptor() protoreflect.EnumDescriptor
- func (x GetNilExampleRequest_View) Enum() *GetNilExampleRequest_View
- func (GetNilExampleRequest_View) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetNilExampleRequest_View) Number() protoreflect.EnumNumber
- func (x GetNilExampleRequest_View) String() string
- func (GetNilExampleRequest_View) Type() protoreflect.EnumType
- type GetPetRequest
- func (*GetPetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPetRequest) GetId() int64
- func (x *GetPetRequest) GetView() GetPetRequest_View
- func (*GetPetRequest) ProtoMessage()
- func (x *GetPetRequest) ProtoReflect() protoreflect.Message
- func (x *GetPetRequest) Reset()
- func (x *GetPetRequest) String() string
- type GetPetRequest_View
- func (GetPetRequest_View) Descriptor() protoreflect.EnumDescriptor
- func (x GetPetRequest_View) Enum() *GetPetRequest_View
- func (GetPetRequest_View) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetPetRequest_View) Number() protoreflect.EnumNumber
- func (x GetPetRequest_View) String() string
- func (GetPetRequest_View) Type() protoreflect.EnumType
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetId() uint32
- func (x *GetUserRequest) GetView() GetUserRequest_View
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- type GetUserRequest_View
- func (GetUserRequest_View) Descriptor() protoreflect.EnumDescriptor
- func (x GetUserRequest_View) Enum() *GetUserRequest_View
- func (GetUserRequest_View) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetUserRequest_View) Number() protoreflect.EnumNumber
- func (x GetUserRequest_View) String() string
- func (GetUserRequest_View) Type() protoreflect.EnumType
- type Group
- type ListAttachmentRequest
- func (*ListAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAttachmentRequest) GetPageSize() int32
- func (x *ListAttachmentRequest) GetPageToken() string
- func (x *ListAttachmentRequest) GetView() ListAttachmentRequest_View
- func (*ListAttachmentRequest) ProtoMessage()
- func (x *ListAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *ListAttachmentRequest) Reset()
- func (x *ListAttachmentRequest) String() string
- type ListAttachmentRequest_View
- func (ListAttachmentRequest_View) Descriptor() protoreflect.EnumDescriptor
- func (x ListAttachmentRequest_View) Enum() *ListAttachmentRequest_View
- func (ListAttachmentRequest_View) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListAttachmentRequest_View) Number() protoreflect.EnumNumber
- func (x ListAttachmentRequest_View) String() string
- func (ListAttachmentRequest_View) Type() protoreflect.EnumType
- type ListAttachmentResponse
- func (*ListAttachmentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAttachmentResponse) GetAttachmentList() []*Attachment
- func (x *ListAttachmentResponse) GetNextPageToken() string
- func (*ListAttachmentResponse) ProtoMessage()
- func (x *ListAttachmentResponse) ProtoReflect() protoreflect.Message
- func (x *ListAttachmentResponse) Reset()
- func (x *ListAttachmentResponse) String() string
- type ListMultiWordSchemaRequest
- func (*ListMultiWordSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMultiWordSchemaRequest) GetPageSize() int32
- func (x *ListMultiWordSchemaRequest) GetPageToken() string
- func (x *ListMultiWordSchemaRequest) GetView() ListMultiWordSchemaRequest_View
- func (*ListMultiWordSchemaRequest) ProtoMessage()
- func (x *ListMultiWordSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *ListMultiWordSchemaRequest) Reset()
- func (x *ListMultiWordSchemaRequest) String() string
- type ListMultiWordSchemaRequest_View
- func (ListMultiWordSchemaRequest_View) Descriptor() protoreflect.EnumDescriptor
- func (x ListMultiWordSchemaRequest_View) Enum() *ListMultiWordSchemaRequest_View
- func (ListMultiWordSchemaRequest_View) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListMultiWordSchemaRequest_View) Number() protoreflect.EnumNumber
- func (x ListMultiWordSchemaRequest_View) String() string
- func (ListMultiWordSchemaRequest_View) Type() protoreflect.EnumType
- type ListMultiWordSchemaResponse
- func (*ListMultiWordSchemaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMultiWordSchemaResponse) GetMultiWordSchemaList() []*MultiWordSchema
- func (x *ListMultiWordSchemaResponse) GetNextPageToken() string
- func (*ListMultiWordSchemaResponse) ProtoMessage()
- func (x *ListMultiWordSchemaResponse) ProtoReflect() protoreflect.Message
- func (x *ListMultiWordSchemaResponse) Reset()
- func (x *ListMultiWordSchemaResponse) String() string
- type ListNilExampleRequest
- func (*ListNilExampleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNilExampleRequest) GetPageSize() int32
- func (x *ListNilExampleRequest) GetPageToken() string
- func (x *ListNilExampleRequest) GetView() ListNilExampleRequest_View
- func (*ListNilExampleRequest) ProtoMessage()
- func (x *ListNilExampleRequest) ProtoReflect() protoreflect.Message
- func (x *ListNilExampleRequest) Reset()
- func (x *ListNilExampleRequest) String() string
- type ListNilExampleRequest_View
- func (ListNilExampleRequest_View) Descriptor() protoreflect.EnumDescriptor
- func (x ListNilExampleRequest_View) Enum() *ListNilExampleRequest_View
- func (ListNilExampleRequest_View) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListNilExampleRequest_View) Number() protoreflect.EnumNumber
- func (x ListNilExampleRequest_View) String() string
- func (ListNilExampleRequest_View) Type() protoreflect.EnumType
- type ListNilExampleResponse
- func (*ListNilExampleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNilExampleResponse) GetNextPageToken() string
- func (x *ListNilExampleResponse) GetNilExampleList() []*NilExample
- func (*ListNilExampleResponse) ProtoMessage()
- func (x *ListNilExampleResponse) ProtoReflect() protoreflect.Message
- func (x *ListNilExampleResponse) Reset()
- func (x *ListNilExampleResponse) String() string
- type ListPetRequest
- func (*ListPetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPetRequest) GetPageSize() int32
- func (x *ListPetRequest) GetPageToken() string
- func (x *ListPetRequest) GetView() ListPetRequest_View
- func (*ListPetRequest) ProtoMessage()
- func (x *ListPetRequest) ProtoReflect() protoreflect.Message
- func (x *ListPetRequest) Reset()
- func (x *ListPetRequest) String() string
- type ListPetRequest_View
- func (ListPetRequest_View) Descriptor() protoreflect.EnumDescriptor
- func (x ListPetRequest_View) Enum() *ListPetRequest_View
- func (ListPetRequest_View) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListPetRequest_View) Number() protoreflect.EnumNumber
- func (x ListPetRequest_View) String() string
- func (ListPetRequest_View) Type() protoreflect.EnumType
- type ListPetResponse
- func (*ListPetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPetResponse) GetNextPageToken() string
- func (x *ListPetResponse) GetPetList() []*Pet
- func (*ListPetResponse) ProtoMessage()
- func (x *ListPetResponse) ProtoReflect() protoreflect.Message
- func (x *ListPetResponse) Reset()
- func (x *ListPetResponse) String() string
- type ListUserRequest
- func (*ListUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRequest) GetPageSize() int32
- func (x *ListUserRequest) GetPageToken() string
- func (x *ListUserRequest) GetView() ListUserRequest_View
- func (*ListUserRequest) ProtoMessage()
- func (x *ListUserRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserRequest) Reset()
- func (x *ListUserRequest) String() string
- type ListUserRequest_View
- func (ListUserRequest_View) Descriptor() protoreflect.EnumDescriptor
- func (x ListUserRequest_View) Enum() *ListUserRequest_View
- func (ListUserRequest_View) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListUserRequest_View) Number() protoreflect.EnumNumber
- func (x ListUserRequest_View) String() string
- func (ListUserRequest_View) Type() protoreflect.EnumType
- type ListUserResponse
- func (*ListUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserResponse) GetNextPageToken() string
- func (x *ListUserResponse) GetUserList() []*User
- func (*ListUserResponse) ProtoMessage()
- func (x *ListUserResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserResponse) Reset()
- func (x *ListUserResponse) String() string
- type MultiWordSchema
- func (*MultiWordSchema) Descriptor() ([]byte, []int)deprecated
- func (x *MultiWordSchema) GetId() int64
- func (x *MultiWordSchema) GetUnit() MultiWordSchema_Unit
- func (*MultiWordSchema) ProtoMessage()
- func (x *MultiWordSchema) ProtoReflect() protoreflect.Message
- func (x *MultiWordSchema) Reset()
- func (x *MultiWordSchema) String() string
- type MultiWordSchemaService
- func (svc *MultiWordSchemaService) BatchCreate(ctx context.Context, req *BatchCreateMultiWordSchemasRequest) (*BatchCreateMultiWordSchemasResponse, error)
- func (svc *MultiWordSchemaService) Create(ctx context.Context, req *CreateMultiWordSchemaRequest) (*MultiWordSchema, error)
- func (svc *MultiWordSchemaService) Delete(ctx context.Context, req *DeleteMultiWordSchemaRequest) (*emptypb.Empty, error)
- func (svc *MultiWordSchemaService) Get(ctx context.Context, req *GetMultiWordSchemaRequest) (*MultiWordSchema, error)
- func (svc *MultiWordSchemaService) List(ctx context.Context, req *ListMultiWordSchemaRequest) (*ListMultiWordSchemaResponse, error)
- func (svc *MultiWordSchemaService) Update(ctx context.Context, req *UpdateMultiWordSchemaRequest) (*MultiWordSchema, error)
- type MultiWordSchemaServiceClient
- type MultiWordSchemaServiceServer
- type MultiWordSchema_Unit
- func (MultiWordSchema_Unit) Descriptor() protoreflect.EnumDescriptor
- func (x MultiWordSchema_Unit) Enum() *MultiWordSchema_Unit
- func (MultiWordSchema_Unit) EnumDescriptor() ([]byte, []int)deprecated
- func (x MultiWordSchema_Unit) Number() protoreflect.EnumNumber
- func (x MultiWordSchema_Unit) String() string
- func (MultiWordSchema_Unit) Type() protoreflect.EnumType
- type NilExample
- func (*NilExample) Descriptor() ([]byte, []int)deprecated
- func (x *NilExample) GetId() int64
- func (x *NilExample) GetStrNil() *wrapperspb.StringValue
- func (x *NilExample) GetTimeNil() *timestamppb.Timestamp
- func (*NilExample) ProtoMessage()
- func (x *NilExample) ProtoReflect() protoreflect.Message
- func (x *NilExample) Reset()
- func (x *NilExample) String() string
- type NilExampleService
- func (svc *NilExampleService) BatchCreate(ctx context.Context, req *BatchCreateNilExamplesRequest) (*BatchCreateNilExamplesResponse, error)
- func (svc *NilExampleService) Create(ctx context.Context, req *CreateNilExampleRequest) (*NilExample, error)
- func (svc *NilExampleService) Delete(ctx context.Context, req *DeleteNilExampleRequest) (*emptypb.Empty, error)
- func (svc *NilExampleService) Get(ctx context.Context, req *GetNilExampleRequest) (*NilExample, error)
- func (svc *NilExampleService) List(ctx context.Context, req *ListNilExampleRequest) (*ListNilExampleResponse, error)
- func (svc *NilExampleService) Update(ctx context.Context, req *UpdateNilExampleRequest) (*NilExample, error)
- type NilExampleServiceClient
- type NilExampleServiceServer
- type NoopServiceClient
- type NoopServiceServer
- type Pet
- type PetService
- func (svc *PetService) BatchCreate(ctx context.Context, req *BatchCreatePetsRequest) (*BatchCreatePetsResponse, error)
- func (svc *PetService) Create(ctx context.Context, req *CreatePetRequest) (*Pet, error)
- func (svc *PetService) Delete(ctx context.Context, req *DeletePetRequest) (*emptypb.Empty, error)
- func (svc *PetService) Get(ctx context.Context, req *GetPetRequest) (*Pet, error)
- func (svc *PetService) List(ctx context.Context, req *ListPetRequest) (*ListPetResponse, error)
- func (svc *PetService) Update(ctx context.Context, req *UpdatePetRequest) (*Pet, error)
- type PetServiceClient
- type PetServiceServer
- type Pony
- type PonyService
- type PonyServiceClient
- type PonyServiceServer
- type Todo
- func (*Todo) Descriptor() ([]byte, []int)deprecated
- func (x *Todo) GetId() int64
- func (x *Todo) GetStatus() Todo_Status
- func (x *Todo) GetTask() string
- func (x *Todo) GetUser() *User
- func (*Todo) ProtoMessage()
- func (x *Todo) ProtoReflect() protoreflect.Message
- func (x *Todo) Reset()
- func (x *Todo) String() string
- type Todo_Status
- func (Todo_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Todo_Status) Enum() *Todo_Status
- func (Todo_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Todo_Status) Number() protoreflect.EnumNumber
- func (x Todo_Status) String() string
- func (Todo_Status) Type() protoreflect.EnumType
- type UnimplementedAttachmentServiceServer
- func (UnimplementedAttachmentServiceServer) BatchCreate(context.Context, *BatchCreateAttachmentsRequest) (*BatchCreateAttachmentsResponse, error)
- func (UnimplementedAttachmentServiceServer) Create(context.Context, *CreateAttachmentRequest) (*Attachment, error)
- func (UnimplementedAttachmentServiceServer) Delete(context.Context, *DeleteAttachmentRequest) (*emptypb.Empty, error)
- func (UnimplementedAttachmentServiceServer) Get(context.Context, *GetAttachmentRequest) (*Attachment, error)
- func (UnimplementedAttachmentServiceServer) List(context.Context, *ListAttachmentRequest) (*ListAttachmentResponse, error)
- func (UnimplementedAttachmentServiceServer) Update(context.Context, *UpdateAttachmentRequest) (*Attachment, error)
- type UnimplementedMultiWordSchemaServiceServer
- func (UnimplementedMultiWordSchemaServiceServer) BatchCreate(context.Context, *BatchCreateMultiWordSchemasRequest) (*BatchCreateMultiWordSchemasResponse, error)
- func (UnimplementedMultiWordSchemaServiceServer) Create(context.Context, *CreateMultiWordSchemaRequest) (*MultiWordSchema, error)
- func (UnimplementedMultiWordSchemaServiceServer) Delete(context.Context, *DeleteMultiWordSchemaRequest) (*emptypb.Empty, error)
- func (UnimplementedMultiWordSchemaServiceServer) Get(context.Context, *GetMultiWordSchemaRequest) (*MultiWordSchema, error)
- func (UnimplementedMultiWordSchemaServiceServer) List(context.Context, *ListMultiWordSchemaRequest) (*ListMultiWordSchemaResponse, error)
- func (UnimplementedMultiWordSchemaServiceServer) Update(context.Context, *UpdateMultiWordSchemaRequest) (*MultiWordSchema, error)
- type UnimplementedNilExampleServiceServer
- func (UnimplementedNilExampleServiceServer) BatchCreate(context.Context, *BatchCreateNilExamplesRequest) (*BatchCreateNilExamplesResponse, error)
- func (UnimplementedNilExampleServiceServer) Create(context.Context, *CreateNilExampleRequest) (*NilExample, error)
- func (UnimplementedNilExampleServiceServer) Delete(context.Context, *DeleteNilExampleRequest) (*emptypb.Empty, error)
- func (UnimplementedNilExampleServiceServer) Get(context.Context, *GetNilExampleRequest) (*NilExample, error)
- func (UnimplementedNilExampleServiceServer) List(context.Context, *ListNilExampleRequest) (*ListNilExampleResponse, error)
- func (UnimplementedNilExampleServiceServer) Update(context.Context, *UpdateNilExampleRequest) (*NilExample, error)
- type UnimplementedNoopServiceServer
- type UnimplementedPetServiceServer
- func (UnimplementedPetServiceServer) BatchCreate(context.Context, *BatchCreatePetsRequest) (*BatchCreatePetsResponse, error)
- func (UnimplementedPetServiceServer) Create(context.Context, *CreatePetRequest) (*Pet, error)
- func (UnimplementedPetServiceServer) Delete(context.Context, *DeletePetRequest) (*emptypb.Empty, error)
- func (UnimplementedPetServiceServer) Get(context.Context, *GetPetRequest) (*Pet, error)
- func (UnimplementedPetServiceServer) List(context.Context, *ListPetRequest) (*ListPetResponse, error)
- func (UnimplementedPetServiceServer) Update(context.Context, *UpdatePetRequest) (*Pet, error)
- type UnimplementedPonyServiceServer
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) BatchCreate(context.Context, *BatchCreateUsersRequest) (*BatchCreateUsersResponse, error)
- func (UnimplementedUserServiceServer) Create(context.Context, *CreateUserRequest) (*User, error)
- func (UnimplementedUserServiceServer) Delete(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
- func (UnimplementedUserServiceServer) Get(context.Context, *GetUserRequest) (*User, error)
- func (UnimplementedUserServiceServer) List(context.Context, *ListUserRequest) (*ListUserResponse, error)
- func (UnimplementedUserServiceServer) Update(context.Context, *UpdateUserRequest) (*User, error)
- type UnsafeAttachmentServiceServer
- type UnsafeMultiWordSchemaServiceServer
- type UnsafeNilExampleServiceServer
- type UnsafeNoopServiceServer
- type UnsafePetServiceServer
- type UnsafePonyServiceServer
- type UnsafeUserServiceServer
- type UpdateAttachmentRequest
- func (*UpdateAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAttachmentRequest) GetAttachment() *Attachment
- func (*UpdateAttachmentRequest) ProtoMessage()
- func (x *UpdateAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAttachmentRequest) Reset()
- func (x *UpdateAttachmentRequest) String() string
- type UpdateMultiWordSchemaRequest
- func (*UpdateMultiWordSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMultiWordSchemaRequest) GetMultiWordSchema() *MultiWordSchema
- func (*UpdateMultiWordSchemaRequest) ProtoMessage()
- func (x *UpdateMultiWordSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMultiWordSchemaRequest) Reset()
- func (x *UpdateMultiWordSchemaRequest) String() string
- type UpdateNilExampleRequest
- func (*UpdateNilExampleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNilExampleRequest) GetNilExample() *NilExample
- func (*UpdateNilExampleRequest) ProtoMessage()
- func (x *UpdateNilExampleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNilExampleRequest) Reset()
- func (x *UpdateNilExampleRequest) String() string
- type UpdatePetRequest
- type UpdateUserRequest
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAccountBalance() float64
- func (x *User) GetAttachment() *Attachment
- func (x *User) GetBUser_1() *wrapperspb.Int64Value
- func (x *User) GetBanned() bool
- func (x *User) GetBigInt() *wrapperspb.StringValue
- func (x *User) GetCrmId() []byte
- func (x *User) GetCustomPb() uint64
- func (x *User) GetDeviceType() User_DeviceType
- func (x *User) GetExp() uint64
- func (x *User) GetExternalId() int64
- func (x *User) GetGroup() *Group
- func (x *User) GetHeightInCm() float32
- func (x *User) GetId() uint32
- func (x *User) GetInt32S() []int32
- func (x *User) GetInt64S() []int64
- func (x *User) GetJoined() *timestamppb.Timestamp
- func (x *User) GetLabels() []string
- func (x *User) GetMimeType() User_MimeType
- func (x *User) GetOmitPrefix() User_OmitPrefix
- func (x *User) GetOptBool() *wrapperspb.BoolValue
- func (x *User) GetOptNum() *wrapperspb.Int64Value
- func (x *User) GetOptStr() *wrapperspb.StringValue
- func (x *User) GetPet() *Pet
- func (x *User) GetPoints() uint32
- func (x *User) GetReceived_1() []*Attachment
- func (x *User) GetStatus() User_Status
- func (x *User) GetType() *wrapperspb.StringValue
- func (x *User) GetUint32S() []uint32
- func (x *User) GetUint64S() []uint64
- func (x *User) GetUserName() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserService
- func (svc *UserService) BatchCreate(ctx context.Context, req *BatchCreateUsersRequest) (*BatchCreateUsersResponse, error)
- func (svc *UserService) Create(ctx context.Context, req *CreateUserRequest) (*User, error)
- func (svc *UserService) Delete(ctx context.Context, req *DeleteUserRequest) (*emptypb.Empty, error)
- func (svc *UserService) Get(ctx context.Context, req *GetUserRequest) (*User, error)
- func (svc *UserService) List(ctx context.Context, req *ListUserRequest) (*ListUserResponse, error)
- func (svc *UserService) Update(ctx context.Context, req *UpdateUserRequest) (*User, error)
- type UserServiceClient
- type UserServiceServer
- type User_DeviceType
- func (User_DeviceType) Descriptor() protoreflect.EnumDescriptor
- func (x User_DeviceType) Enum() *User_DeviceType
- func (User_DeviceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x User_DeviceType) Number() protoreflect.EnumNumber
- func (x User_DeviceType) String() string
- func (User_DeviceType) Type() protoreflect.EnumType
- type User_MimeType
- func (User_MimeType) Descriptor() protoreflect.EnumDescriptor
- func (x User_MimeType) Enum() *User_MimeType
- func (User_MimeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x User_MimeType) Number() protoreflect.EnumNumber
- func (x User_MimeType) String() string
- func (User_MimeType) Type() protoreflect.EnumType
- type User_OmitPrefix
- func (User_OmitPrefix) Descriptor() protoreflect.EnumDescriptor
- func (x User_OmitPrefix) Enum() *User_OmitPrefix
- func (User_OmitPrefix) EnumDescriptor() ([]byte, []int)deprecated
- func (x User_OmitPrefix) Number() protoreflect.EnumNumber
- func (x User_OmitPrefix) String() string
- func (User_OmitPrefix) Type() protoreflect.EnumType
- type User_Status
- func (User_Status) Descriptor() protoreflect.EnumDescriptor
- func (x User_Status) Enum() *User_Status
- func (User_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x User_Status) Number() protoreflect.EnumNumber
- func (x User_Status) String() string
- func (User_Status) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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)
var File_entpb_entpb_proto protoreflect.FileDescriptor
var File_entpb_ext_proto protoreflect.FileDescriptor
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)
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)
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)
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)
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)
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
func (svc *AttachmentService) BatchCreate(ctx context.Context, req *BatchCreateAttachmentsRequest) (*BatchCreateAttachmentsResponse, error)
BatchCreate implements AttachmentServiceServer.BatchCreate
func (*AttachmentService) Create ¶
func (svc *AttachmentService) Create(ctx context.Context, req *CreateAttachmentRequest) (*Attachment, error)
Create implements AttachmentServiceServer.Create
func (*AttachmentService) Delete ¶
func (svc *AttachmentService) Delete(ctx context.Context, req *DeleteAttachmentRequest) (*emptypb.Empty, error)
Delete implements AttachmentServiceServer.Delete
func (*AttachmentService) Get ¶
func (svc *AttachmentService) Get(ctx context.Context, req *GetAttachmentRequest) (*Attachment, error)
Get implements AttachmentServiceServer.Get
func (*AttachmentService) List ¶ added in v0.2.0
func (svc *AttachmentService) List(ctx context.Context, req *ListAttachmentRequest) (*ListAttachmentResponse, error)
List implements AttachmentServiceServer.List
func (*AttachmentService) Update ¶
func (svc *AttachmentService) Update(ctx context.Context, req *UpdateAttachmentRequest) (*Attachment, error)
Update implements AttachmentServiceServer.Update
type AttachmentServiceClient ¶
type AttachmentServiceClient interface { Create(ctx context.Context, in *CreateAttachmentRequest, opts ...grpc.CallOption) (*Attachment, error) Get(ctx context.Context, in *GetAttachmentRequest, opts ...grpc.CallOption) (*Attachment, error) Update(ctx context.Context, in *UpdateAttachmentRequest, opts ...grpc.CallOption) (*Attachment, error) Delete(ctx context.Context, in *DeleteAttachmentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) List(ctx context.Context, in *ListAttachmentRequest, opts ...grpc.CallOption) (*ListAttachmentResponse, error) BatchCreate(ctx context.Context, in *BatchCreateAttachmentsRequest, opts ...grpc.CallOption) (*BatchCreateAttachmentsResponse, error) }
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.
func NewAttachmentServiceClient ¶
func NewAttachmentServiceClient(cc grpc.ClientConnInterface) AttachmentServiceClient
type AttachmentServiceServer ¶
type AttachmentServiceServer interface { Create(context.Context, *CreateAttachmentRequest) (*Attachment, error) Get(context.Context, *GetAttachmentRequest) (*Attachment, error) Update(context.Context, *UpdateAttachmentRequest) (*Attachment, error) Delete(context.Context, *DeleteAttachmentRequest) (*emptypb.Empty, error) List(context.Context, *ListAttachmentRequest) (*ListAttachmentResponse, error) BatchCreate(context.Context, *BatchCreateAttachmentsRequest) (*BatchCreateAttachmentsResponse, error) // contains filtered or unexported methods }
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 (x *BatchCreateAttachmentsRequest) GetRequests() []*CreateAttachmentRequest
func (*BatchCreateAttachmentsRequest) ProtoMessage ¶ added in v0.3.0
func (*BatchCreateAttachmentsRequest) ProtoMessage()
func (*BatchCreateAttachmentsRequest) ProtoReflect ¶ added in v0.3.0
func (x *BatchCreateAttachmentsRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateAttachmentsRequest) Reset ¶ added in v0.3.0
func (x *BatchCreateAttachmentsRequest) Reset()
func (*BatchCreateAttachmentsRequest) String ¶ added in v0.3.0
func (x *BatchCreateAttachmentsRequest) String() string
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 (x *BatchCreateAttachmentsResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateAttachmentsResponse) Reset ¶ added in v0.3.0
func (x *BatchCreateAttachmentsResponse) Reset()
func (*BatchCreateAttachmentsResponse) String ¶ added in v0.3.0
func (x *BatchCreateAttachmentsResponse) String() string
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 (x *BatchCreateMultiWordSchemasRequest) GetRequests() []*CreateMultiWordSchemaRequest
func (*BatchCreateMultiWordSchemasRequest) ProtoMessage ¶ added in v0.3.0
func (*BatchCreateMultiWordSchemasRequest) ProtoMessage()
func (*BatchCreateMultiWordSchemasRequest) ProtoReflect ¶ added in v0.3.0
func (x *BatchCreateMultiWordSchemasRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateMultiWordSchemasRequest) Reset ¶ added in v0.3.0
func (x *BatchCreateMultiWordSchemasRequest) Reset()
func (*BatchCreateMultiWordSchemasRequest) String ¶ added in v0.3.0
func (x *BatchCreateMultiWordSchemasRequest) String() string
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 (x *BatchCreateMultiWordSchemasResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateMultiWordSchemasResponse) Reset ¶ added in v0.3.0
func (x *BatchCreateMultiWordSchemasResponse) Reset()
func (*BatchCreateMultiWordSchemasResponse) String ¶ added in v0.3.0
func (x *BatchCreateMultiWordSchemasResponse) String() string
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 (x *BatchCreateNilExamplesRequest) GetRequests() []*CreateNilExampleRequest
func (*BatchCreateNilExamplesRequest) ProtoMessage ¶ added in v0.3.0
func (*BatchCreateNilExamplesRequest) ProtoMessage()
func (*BatchCreateNilExamplesRequest) ProtoReflect ¶ added in v0.3.0
func (x *BatchCreateNilExamplesRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateNilExamplesRequest) Reset ¶ added in v0.3.0
func (x *BatchCreateNilExamplesRequest) Reset()
func (*BatchCreateNilExamplesRequest) String ¶ added in v0.3.0
func (x *BatchCreateNilExamplesRequest) String() string
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 (x *BatchCreateNilExamplesResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateNilExamplesResponse) Reset ¶ added in v0.3.0
func (x *BatchCreateNilExamplesResponse) Reset()
func (*BatchCreateNilExamplesResponse) String ¶ added in v0.3.0
func (x *BatchCreateNilExamplesResponse) String() string
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 (x *BatchCreatePoniesResponse) ProtoReflect() protoreflect.Message
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 (x *CreateMultiWordSchemaRequest) ProtoReflect() protoreflect.Message
func (*CreateMultiWordSchemaRequest) Reset ¶ added in v0.2.0
func (x *CreateMultiWordSchemaRequest) Reset()
func (*CreateMultiWordSchemaRequest) String ¶ added in v0.2.0
func (x *CreateMultiWordSchemaRequest) String() string
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 (x *DeleteMultiWordSchemaRequest) GetId() int64
func (*DeleteMultiWordSchemaRequest) ProtoMessage ¶ added in v0.2.0
func (*DeleteMultiWordSchemaRequest) ProtoMessage()
func (*DeleteMultiWordSchemaRequest) ProtoReflect ¶ added in v0.2.0
func (x *DeleteMultiWordSchemaRequest) ProtoReflect() protoreflect.Message
func (*DeleteMultiWordSchemaRequest) Reset ¶ added in v0.2.0
func (x *DeleteMultiWordSchemaRequest) Reset()
func (*DeleteMultiWordSchemaRequest) String ¶ added in v0.2.0
func (x *DeleteMultiWordSchemaRequest) String() string
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 (x *GetAttachmentRequest) GetView() GetAttachmentRequest_View
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) Descriptor() protoreflect.EnumDescriptor
func (GetAttachmentRequest_View) Enum ¶
func (x GetAttachmentRequest_View) Enum() *GetAttachmentRequest_View
func (GetAttachmentRequest_View) EnumDescriptor
deprecated
func (GetAttachmentRequest_View) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetAttachmentRequest_View.Descriptor instead.
func (GetAttachmentRequest_View) Number ¶
func (x GetAttachmentRequest_View) Number() protoreflect.EnumNumber
func (GetAttachmentRequest_View) String ¶
func (x GetAttachmentRequest_View) String() string
func (GetAttachmentRequest_View) Type ¶
func (GetAttachmentRequest_View) Type() protoreflect.EnumType
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 (x *GetMultiWordSchemaRequest) GetView() GetMultiWordSchemaRequest_View
func (*GetMultiWordSchemaRequest) ProtoMessage ¶ added in v0.2.0
func (*GetMultiWordSchemaRequest) ProtoMessage()
func (*GetMultiWordSchemaRequest) ProtoReflect ¶ added in v0.2.0
func (x *GetMultiWordSchemaRequest) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (GetMultiWordSchemaRequest_View) Enum ¶ added in v0.2.0
func (x GetMultiWordSchemaRequest_View) Enum() *GetMultiWordSchemaRequest_View
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 (x GetMultiWordSchemaRequest_View) Number() protoreflect.EnumNumber
func (GetMultiWordSchemaRequest_View) String ¶ added in v0.2.0
func (x GetMultiWordSchemaRequest_View) String() string
func (GetMultiWordSchemaRequest_View) Type ¶ added in v0.2.0
func (GetMultiWordSchemaRequest_View) Type() protoreflect.EnumType
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 (x *GetNilExampleRequest) GetView() GetNilExampleRequest_View
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) Descriptor() protoreflect.EnumDescriptor
func (GetNilExampleRequest_View) Enum ¶ added in v0.2.0
func (x GetNilExampleRequest_View) Enum() *GetNilExampleRequest_View
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 (x GetNilExampleRequest_View) Number() protoreflect.EnumNumber
func (GetNilExampleRequest_View) String ¶ added in v0.2.0
func (x GetNilExampleRequest_View) String() string
func (GetNilExampleRequest_View) Type ¶ added in v0.2.0
func (GetNilExampleRequest_View) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (GetPetRequest_View) Enum ¶ added in v0.3.0
func (x GetPetRequest_View) Enum() *GetPetRequest_View
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 (x GetPetRequest_View) Number() protoreflect.EnumNumber
func (GetPetRequest_View) String ¶ added in v0.3.0
func (x GetPetRequest_View) String() string
func (GetPetRequest_View) Type ¶ added in v0.3.0
func (GetPetRequest_View) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (GetUserRequest_View) Enum ¶
func (x GetUserRequest_View) Enum() *GetUserRequest_View
func (GetUserRequest_View) EnumDescriptor
deprecated
func (GetUserRequest_View) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetUserRequest_View.Descriptor instead.
func (GetUserRequest_View) Number ¶
func (x GetUserRequest_View) Number() protoreflect.EnumNumber
func (GetUserRequest_View) String ¶
func (x GetUserRequest_View) String() string
func (GetUserRequest_View) Type ¶
func (GetUserRequest_View) Type() protoreflect.EnumType
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) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
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 (x *ListAttachmentRequest) GetView() ListAttachmentRequest_View
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) Descriptor() protoreflect.EnumDescriptor
func (ListAttachmentRequest_View) Enum ¶ added in v0.2.0
func (x ListAttachmentRequest_View) Enum() *ListAttachmentRequest_View
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 (x ListAttachmentRequest_View) Number() protoreflect.EnumNumber
func (ListAttachmentRequest_View) String ¶ added in v0.2.0
func (x ListAttachmentRequest_View) String() string
func (ListAttachmentRequest_View) Type ¶ added in v0.2.0
func (ListAttachmentRequest_View) Type() protoreflect.EnumType
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 (x *ListMultiWordSchemaRequest) GetView() ListMultiWordSchemaRequest_View
func (*ListMultiWordSchemaRequest) ProtoMessage ¶ added in v0.2.0
func (*ListMultiWordSchemaRequest) ProtoMessage()
func (*ListMultiWordSchemaRequest) ProtoReflect ¶ added in v0.2.0
func (x *ListMultiWordSchemaRequest) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (ListMultiWordSchemaRequest_View) Enum ¶ added in v0.2.0
func (x ListMultiWordSchemaRequest_View) Enum() *ListMultiWordSchemaRequest_View
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 (x ListMultiWordSchemaRequest_View) Number() protoreflect.EnumNumber
func (ListMultiWordSchemaRequest_View) String ¶ added in v0.2.0
func (x ListMultiWordSchemaRequest_View) String() string
func (ListMultiWordSchemaRequest_View) Type ¶ added in v0.2.0
func (ListMultiWordSchemaRequest_View) Type() protoreflect.EnumType
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 (x *ListMultiWordSchemaResponse) ProtoReflect() protoreflect.Message
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 (x *ListNilExampleRequest) GetView() ListNilExampleRequest_View
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) Descriptor() protoreflect.EnumDescriptor
func (ListNilExampleRequest_View) Enum ¶ added in v0.2.0
func (x ListNilExampleRequest_View) Enum() *ListNilExampleRequest_View
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 (x ListNilExampleRequest_View) Number() protoreflect.EnumNumber
func (ListNilExampleRequest_View) String ¶ added in v0.2.0
func (x ListNilExampleRequest_View) String() string
func (ListNilExampleRequest_View) Type ¶ added in v0.2.0
func (ListNilExampleRequest_View) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (ListPetRequest_View) Enum ¶ added in v0.3.0
func (x ListPetRequest_View) Enum() *ListPetRequest_View
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 (x ListPetRequest_View) Number() protoreflect.EnumNumber
func (ListPetRequest_View) String ¶ added in v0.3.0
func (x ListPetRequest_View) String() string
func (ListPetRequest_View) Type ¶ added in v0.3.0
func (ListPetRequest_View) Type() protoreflect.EnumType
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 (x *ListUserRequest) GetView() ListUserRequest_View
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) Descriptor() protoreflect.EnumDescriptor
func (ListUserRequest_View) Enum ¶ added in v0.2.0
func (x ListUserRequest_View) Enum() *ListUserRequest_View
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 (x ListUserRequest_View) Number() protoreflect.EnumNumber
func (ListUserRequest_View) String ¶ added in v0.2.0
func (x ListUserRequest_View) String() string
func (ListUserRequest_View) Type ¶ added in v0.2.0
func (ListUserRequest_View) Type() protoreflect.EnumType
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 (x *MultiWordSchema) GetUnit() MultiWordSchema_Unit
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
func (svc *MultiWordSchemaService) BatchCreate(ctx context.Context, req *BatchCreateMultiWordSchemasRequest) (*BatchCreateMultiWordSchemasResponse, error)
BatchCreate implements MultiWordSchemaServiceServer.BatchCreate
func (*MultiWordSchemaService) Create ¶ added in v0.2.0
func (svc *MultiWordSchemaService) Create(ctx context.Context, req *CreateMultiWordSchemaRequest) (*MultiWordSchema, error)
Create implements MultiWordSchemaServiceServer.Create
func (*MultiWordSchemaService) Delete ¶ added in v0.2.0
func (svc *MultiWordSchemaService) Delete(ctx context.Context, req *DeleteMultiWordSchemaRequest) (*emptypb.Empty, error)
Delete implements MultiWordSchemaServiceServer.Delete
func (*MultiWordSchemaService) Get ¶ added in v0.2.0
func (svc *MultiWordSchemaService) Get(ctx context.Context, req *GetMultiWordSchemaRequest) (*MultiWordSchema, error)
Get implements MultiWordSchemaServiceServer.Get
func (*MultiWordSchemaService) List ¶ added in v0.2.0
func (svc *MultiWordSchemaService) List(ctx context.Context, req *ListMultiWordSchemaRequest) (*ListMultiWordSchemaResponse, error)
List implements MultiWordSchemaServiceServer.List
func (*MultiWordSchemaService) Update ¶ added in v0.2.0
func (svc *MultiWordSchemaService) Update(ctx context.Context, req *UpdateMultiWordSchemaRequest) (*MultiWordSchema, error)
Update implements MultiWordSchemaServiceServer.Update
type MultiWordSchemaServiceClient ¶ added in v0.2.0
type MultiWordSchemaServiceClient interface { Create(ctx context.Context, in *CreateMultiWordSchemaRequest, opts ...grpc.CallOption) (*MultiWordSchema, error) Get(ctx context.Context, in *GetMultiWordSchemaRequest, opts ...grpc.CallOption) (*MultiWordSchema, error) Update(ctx context.Context, in *UpdateMultiWordSchemaRequest, opts ...grpc.CallOption) (*MultiWordSchema, error) Delete(ctx context.Context, in *DeleteMultiWordSchemaRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) List(ctx context.Context, in *ListMultiWordSchemaRequest, opts ...grpc.CallOption) (*ListMultiWordSchemaResponse, error) BatchCreate(ctx context.Context, in *BatchCreateMultiWordSchemasRequest, opts ...grpc.CallOption) (*BatchCreateMultiWordSchemasResponse, error) }
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
type MultiWordSchemaServiceServer interface { Create(context.Context, *CreateMultiWordSchemaRequest) (*MultiWordSchema, error) Get(context.Context, *GetMultiWordSchemaRequest) (*MultiWordSchema, error) Update(context.Context, *UpdateMultiWordSchemaRequest) (*MultiWordSchema, error) Delete(context.Context, *DeleteMultiWordSchemaRequest) (*emptypb.Empty, error) List(context.Context, *ListMultiWordSchemaRequest) (*ListMultiWordSchemaResponse, error) BatchCreate(context.Context, *BatchCreateMultiWordSchemasRequest) (*BatchCreateMultiWordSchemasResponse, error) // contains filtered or unexported methods }
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) Descriptor() protoreflect.EnumDescriptor
func (MultiWordSchema_Unit) Enum ¶ added in v0.2.0
func (x MultiWordSchema_Unit) Enum() *MultiWordSchema_Unit
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 (x MultiWordSchema_Unit) Number() protoreflect.EnumNumber
func (MultiWordSchema_Unit) String ¶ added in v0.2.0
func (x MultiWordSchema_Unit) String() string
func (MultiWordSchema_Unit) Type ¶ added in v0.2.0
func (MultiWordSchema_Unit) Type() protoreflect.EnumType
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
func (svc *NilExampleService) BatchCreate(ctx context.Context, req *BatchCreateNilExamplesRequest) (*BatchCreateNilExamplesResponse, error)
BatchCreate implements NilExampleServiceServer.BatchCreate
func (*NilExampleService) Create ¶ added in v0.2.0
func (svc *NilExampleService) Create(ctx context.Context, req *CreateNilExampleRequest) (*NilExample, error)
Create implements NilExampleServiceServer.Create
func (*NilExampleService) Delete ¶ added in v0.2.0
func (svc *NilExampleService) Delete(ctx context.Context, req *DeleteNilExampleRequest) (*emptypb.Empty, error)
Delete implements NilExampleServiceServer.Delete
func (*NilExampleService) Get ¶ added in v0.2.0
func (svc *NilExampleService) Get(ctx context.Context, req *GetNilExampleRequest) (*NilExample, error)
Get implements NilExampleServiceServer.Get
func (*NilExampleService) List ¶ added in v0.2.0
func (svc *NilExampleService) List(ctx context.Context, req *ListNilExampleRequest) (*ListNilExampleResponse, error)
List implements NilExampleServiceServer.List
func (*NilExampleService) Update ¶ added in v0.2.0
func (svc *NilExampleService) Update(ctx context.Context, req *UpdateNilExampleRequest) (*NilExample, error)
Update implements NilExampleServiceServer.Update
type NilExampleServiceClient ¶ added in v0.2.0
type NilExampleServiceClient interface { Create(ctx context.Context, in *CreateNilExampleRequest, opts ...grpc.CallOption) (*NilExample, error) Get(ctx context.Context, in *GetNilExampleRequest, opts ...grpc.CallOption) (*NilExample, error) Update(ctx context.Context, in *UpdateNilExampleRequest, opts ...grpc.CallOption) (*NilExample, error) Delete(ctx context.Context, in *DeleteNilExampleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) List(ctx context.Context, in *ListNilExampleRequest, opts ...grpc.CallOption) (*ListNilExampleResponse, error) BatchCreate(ctx context.Context, in *BatchCreateNilExamplesRequest, opts ...grpc.CallOption) (*BatchCreateNilExamplesResponse, error) }
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
type NilExampleServiceServer interface { Create(context.Context, *CreateNilExampleRequest) (*NilExample, error) Get(context.Context, *GetNilExampleRequest) (*NilExample, error) Update(context.Context, *UpdateNilExampleRequest) (*NilExample, error) Delete(context.Context, *DeleteNilExampleRequest) (*emptypb.Empty, error) List(context.Context, *ListNilExampleRequest) (*ListNilExampleResponse, error) BatchCreate(context.Context, *BatchCreateNilExamplesRequest) (*BatchCreateNilExamplesResponse, error) // contains filtered or unexported methods }
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) GetAttachment ¶ added in v0.3.0
func (x *Pet) GetAttachment() []*Attachment
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
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
func (svc *PetService) BatchCreate(ctx context.Context, req *BatchCreatePetsRequest) (*BatchCreatePetsResponse, error)
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) ProtoMessage ¶ added in v0.3.0
func (*Pony) ProtoMessage()
func (*Pony) ProtoReflect ¶ added in v0.3.0
func (x *Pony) ProtoReflect() protoreflect.Message
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
func (svc *PonyService) BatchCreate(ctx context.Context, req *BatchCreatePoniesRequest) (*BatchCreatePoniesResponse, error)
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) GetStatus ¶
func (x *Todo) GetStatus() Todo_Status
func (*Todo) ProtoMessage ¶
func (*Todo) ProtoMessage()
func (*Todo) ProtoReflect ¶
func (x *Todo) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (Todo_Status) Type() protoreflect.EnumType
type UnimplementedAttachmentServiceServer ¶
type UnimplementedAttachmentServiceServer struct { }
UnimplementedAttachmentServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAttachmentServiceServer) BatchCreate ¶ added in v0.3.0
func (UnimplementedAttachmentServiceServer) BatchCreate(context.Context, *BatchCreateAttachmentsRequest) (*BatchCreateAttachmentsResponse, error)
func (UnimplementedAttachmentServiceServer) Create ¶
func (UnimplementedAttachmentServiceServer) Create(context.Context, *CreateAttachmentRequest) (*Attachment, error)
func (UnimplementedAttachmentServiceServer) Delete ¶
func (UnimplementedAttachmentServiceServer) Delete(context.Context, *DeleteAttachmentRequest) (*emptypb.Empty, error)
func (UnimplementedAttachmentServiceServer) Get ¶
func (UnimplementedAttachmentServiceServer) Get(context.Context, *GetAttachmentRequest) (*Attachment, error)
func (UnimplementedAttachmentServiceServer) Update ¶
func (UnimplementedAttachmentServiceServer) Update(context.Context, *UpdateAttachmentRequest) (*Attachment, error)
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) Create(context.Context, *CreateMultiWordSchemaRequest) (*MultiWordSchema, error)
func (UnimplementedMultiWordSchemaServiceServer) Delete ¶ added in v0.2.0
func (UnimplementedMultiWordSchemaServiceServer) Delete(context.Context, *DeleteMultiWordSchemaRequest) (*emptypb.Empty, error)
func (UnimplementedMultiWordSchemaServiceServer) Update ¶ added in v0.2.0
func (UnimplementedMultiWordSchemaServiceServer) Update(context.Context, *UpdateMultiWordSchemaRequest) (*MultiWordSchema, error)
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) BatchCreate(context.Context, *BatchCreateNilExamplesRequest) (*BatchCreateNilExamplesResponse, error)
func (UnimplementedNilExampleServiceServer) Create ¶ added in v0.2.0
func (UnimplementedNilExampleServiceServer) Create(context.Context, *CreateNilExampleRequest) (*NilExample, error)
func (UnimplementedNilExampleServiceServer) Delete ¶ added in v0.2.0
func (UnimplementedNilExampleServiceServer) Delete(context.Context, *DeleteNilExampleRequest) (*emptypb.Empty, error)
func (UnimplementedNilExampleServiceServer) Get ¶ added in v0.2.0
func (UnimplementedNilExampleServiceServer) Get(context.Context, *GetNilExampleRequest) (*NilExample, error)
func (UnimplementedNilExampleServiceServer) Update ¶ added in v0.2.0
func (UnimplementedNilExampleServiceServer) Update(context.Context, *UpdateNilExampleRequest) (*NilExample, error)
type UnimplementedNoopServiceServer ¶ added in v0.4.0
type UnimplementedNoopServiceServer struct { }
UnimplementedNoopServiceServer must be embedded to have forward compatible implementations.
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) BatchCreate(context.Context, *BatchCreatePetsRequest) (*BatchCreatePetsResponse, error)
func (UnimplementedPetServiceServer) Create ¶ added in v0.3.0
func (UnimplementedPetServiceServer) Create(context.Context, *CreatePetRequest) (*Pet, error)
func (UnimplementedPetServiceServer) Delete ¶ added in v0.3.0
func (UnimplementedPetServiceServer) Delete(context.Context, *DeletePetRequest) (*emptypb.Empty, error)
func (UnimplementedPetServiceServer) Get ¶ added in v0.3.0
func (UnimplementedPetServiceServer) Get(context.Context, *GetPetRequest) (*Pet, error)
func (UnimplementedPetServiceServer) List ¶ added in v0.3.0
func (UnimplementedPetServiceServer) List(context.Context, *ListPetRequest) (*ListPetResponse, error)
func (UnimplementedPetServiceServer) Update ¶ added in v0.3.0
func (UnimplementedPetServiceServer) Update(context.Context, *UpdatePetRequest) (*Pet, error)
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
func (UnimplementedPonyServiceServer) BatchCreate(context.Context, *BatchCreatePoniesRequest) (*BatchCreatePoniesResponse, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) BatchCreate ¶ added in v0.3.0
func (UnimplementedUserServiceServer) BatchCreate(context.Context, *BatchCreateUsersRequest) (*BatchCreateUsersResponse, error)
func (UnimplementedUserServiceServer) Create ¶
func (UnimplementedUserServiceServer) Create(context.Context, *CreateUserRequest) (*User, error)
func (UnimplementedUserServiceServer) Delete ¶
func (UnimplementedUserServiceServer) Delete(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
func (UnimplementedUserServiceServer) Get ¶
func (UnimplementedUserServiceServer) Get(context.Context, *GetUserRequest) (*User, error)
func (UnimplementedUserServiceServer) List ¶ added in v0.2.0
func (UnimplementedUserServiceServer) List(context.Context, *ListUserRequest) (*ListUserResponse, error)
func (UnimplementedUserServiceServer) Update ¶
func (UnimplementedUserServiceServer) Update(context.Context, *UpdateUserRequest) (*User, error)
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 (x *UpdateMultiWordSchemaRequest) ProtoReflect() protoreflect.Message
func (*UpdateMultiWordSchemaRequest) Reset ¶ added in v0.2.0
func (x *UpdateMultiWordSchemaRequest) Reset()
func (*UpdateMultiWordSchemaRequest) String ¶ added in v0.2.0
func (x *UpdateMultiWordSchemaRequest) String() string
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) GetAccountBalance ¶ added in v0.2.0
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) GetBigInt ¶
func (x *User) GetBigInt() *wrapperspb.StringValue
func (*User) GetCustomPb ¶
func (*User) GetDeviceType ¶ added in v0.3.0
func (x *User) GetDeviceType() User_DeviceType
func (*User) GetExternalId ¶
func (*User) GetHeightInCm ¶ added in v0.2.0
func (*User) GetJoined ¶
func (x *User) GetJoined() *timestamppb.Timestamp
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) 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 (*User) GetUint64S ¶ added in v0.5.0
func (*User) GetUserName ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
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
func (svc *UserService) BatchCreate(ctx context.Context, req *BatchCreateUsersRequest) (*BatchCreateUsersResponse, error)
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
func (svc *UserService) List(ctx context.Context, req *ListUserRequest) (*ListUserResponse, error)
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.
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
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) Descriptor() protoreflect.EnumDescriptor
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 (x User_DeviceType) Number() protoreflect.EnumNumber
func (User_DeviceType) String ¶ added in v0.3.0
func (x User_DeviceType) String() string
func (User_DeviceType) Type ¶ added in v0.3.0
func (User_DeviceType) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x User_MimeType) Number() protoreflect.EnumNumber
func (User_MimeType) String ¶ added in v0.5.0
func (x User_MimeType) String() string
func (User_MimeType) Type ¶ added in v0.5.0
func (User_MimeType) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x User_OmitPrefix) Number() protoreflect.EnumNumber
func (User_OmitPrefix) String ¶ added in v0.3.5
func (x User_OmitPrefix) String() string
func (User_OmitPrefix) Type ¶ added in v0.3.5
func (User_OmitPrefix) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (User_Status) Type() protoreflect.EnumType