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 ¶
func RegisterMultiWordSchemaServiceServer(s grpc.ServiceRegistrar, srv MultiWordSchemaServiceServer)
func RegisterNilExampleServiceServer ¶
func RegisterNilExampleServiceServer(s grpc.ServiceRegistrar, srv NilExampleServiceServer)
func RegisterNoopServiceServer ¶
func RegisterNoopServiceServer(s grpc.ServiceRegistrar, srv NoopServiceServer)
func RegisterPetServiceServer ¶
func RegisterPetServiceServer(s grpc.ServiceRegistrar, srv PetServiceServer)
func RegisterPonyServiceServer ¶
func RegisterPonyServiceServer(s grpc.ServiceRegistrar, srv PonyServiceServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type Attachment ¶
type Attachment struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` Recipients []*User `protobuf:"bytes,3,rep,name=recipients,proto3" json:"recipients,omitempty"` // contains filtered or unexported fields }
func (*Attachment) Descriptor
deprecated
func (*Attachment) Descriptor() ([]byte, []int)
Deprecated: Use Attachment.ProtoReflect.Descriptor instead.
func (*Attachment) GetId ¶
func (x *Attachment) GetId() []byte
func (*Attachment) GetRecipients ¶
func (x *Attachment) GetRecipients() []*User
func (*Attachment) GetUser ¶
func (x *Attachment) GetUser() *User
func (*Attachment) ProtoMessage ¶
func (*Attachment) ProtoMessage()
func (*Attachment) ProtoReflect ¶
func (x *Attachment) ProtoReflect() protoreflect.Message
func (*Attachment) Reset ¶
func (x *Attachment) Reset()
func (*Attachment) String ¶
func (x *Attachment) String() string
type AttachmentService ¶
type AttachmentService struct { UnimplementedAttachmentServiceServer // contains filtered or unexported fields }
AttachmentService implements AttachmentServiceServer
func NewAttachmentService ¶
func NewAttachmentService(client *ent.Client) *AttachmentService
NewAttachmentService returns a new AttachmentService
func (*AttachmentService) BatchCreate ¶
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 ¶
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 ¶
type BatchCreateAttachmentsRequest struct { Requests []*CreateAttachmentRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateAttachmentsRequest) Descriptor
deprecated
func (*BatchCreateAttachmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateAttachmentsRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateAttachmentsRequest) GetRequests ¶
func (x *BatchCreateAttachmentsRequest) GetRequests() []*CreateAttachmentRequest
func (*BatchCreateAttachmentsRequest) ProtoMessage ¶
func (*BatchCreateAttachmentsRequest) ProtoMessage()
func (*BatchCreateAttachmentsRequest) ProtoReflect ¶
func (x *BatchCreateAttachmentsRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateAttachmentsRequest) Reset ¶
func (x *BatchCreateAttachmentsRequest) Reset()
func (*BatchCreateAttachmentsRequest) String ¶
func (x *BatchCreateAttachmentsRequest) String() string
type BatchCreateAttachmentsResponse ¶
type BatchCreateAttachmentsResponse struct { Attachments []*Attachment `protobuf:"bytes,1,rep,name=attachments,proto3" json:"attachments,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateAttachmentsResponse) Descriptor
deprecated
func (*BatchCreateAttachmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateAttachmentsResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateAttachmentsResponse) GetAttachments ¶
func (x *BatchCreateAttachmentsResponse) GetAttachments() []*Attachment
func (*BatchCreateAttachmentsResponse) ProtoMessage ¶
func (*BatchCreateAttachmentsResponse) ProtoMessage()
func (*BatchCreateAttachmentsResponse) ProtoReflect ¶
func (x *BatchCreateAttachmentsResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateAttachmentsResponse) Reset ¶
func (x *BatchCreateAttachmentsResponse) Reset()
func (*BatchCreateAttachmentsResponse) String ¶
func (x *BatchCreateAttachmentsResponse) String() string
type BatchCreateMultiWordSchemasRequest ¶
type BatchCreateMultiWordSchemasRequest struct { Requests []*CreateMultiWordSchemaRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateMultiWordSchemasRequest) Descriptor
deprecated
func (*BatchCreateMultiWordSchemasRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateMultiWordSchemasRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateMultiWordSchemasRequest) GetRequests ¶
func (x *BatchCreateMultiWordSchemasRequest) GetRequests() []*CreateMultiWordSchemaRequest
func (*BatchCreateMultiWordSchemasRequest) ProtoMessage ¶
func (*BatchCreateMultiWordSchemasRequest) ProtoMessage()
func (*BatchCreateMultiWordSchemasRequest) ProtoReflect ¶
func (x *BatchCreateMultiWordSchemasRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateMultiWordSchemasRequest) Reset ¶
func (x *BatchCreateMultiWordSchemasRequest) Reset()
func (*BatchCreateMultiWordSchemasRequest) String ¶
func (x *BatchCreateMultiWordSchemasRequest) String() string
type BatchCreateMultiWordSchemasResponse ¶
type BatchCreateMultiWordSchemasResponse struct { MultiWordSchemas []*MultiWordSchema `protobuf:"bytes,1,rep,name=multi_word_schemas,json=multiWordSchemas,proto3" json:"multi_word_schemas,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateMultiWordSchemasResponse) Descriptor
deprecated
func (*BatchCreateMultiWordSchemasResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateMultiWordSchemasResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateMultiWordSchemasResponse) GetMultiWordSchemas ¶
func (x *BatchCreateMultiWordSchemasResponse) GetMultiWordSchemas() []*MultiWordSchema
func (*BatchCreateMultiWordSchemasResponse) ProtoMessage ¶
func (*BatchCreateMultiWordSchemasResponse) ProtoMessage()
func (*BatchCreateMultiWordSchemasResponse) ProtoReflect ¶
func (x *BatchCreateMultiWordSchemasResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateMultiWordSchemasResponse) Reset ¶
func (x *BatchCreateMultiWordSchemasResponse) Reset()
func (*BatchCreateMultiWordSchemasResponse) String ¶
func (x *BatchCreateMultiWordSchemasResponse) String() string
type BatchCreateNilExamplesRequest ¶
type BatchCreateNilExamplesRequest struct { Requests []*CreateNilExampleRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateNilExamplesRequest) Descriptor
deprecated
func (*BatchCreateNilExamplesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateNilExamplesRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateNilExamplesRequest) GetRequests ¶
func (x *BatchCreateNilExamplesRequest) GetRequests() []*CreateNilExampleRequest
func (*BatchCreateNilExamplesRequest) ProtoMessage ¶
func (*BatchCreateNilExamplesRequest) ProtoMessage()
func (*BatchCreateNilExamplesRequest) ProtoReflect ¶
func (x *BatchCreateNilExamplesRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateNilExamplesRequest) Reset ¶
func (x *BatchCreateNilExamplesRequest) Reset()
func (*BatchCreateNilExamplesRequest) String ¶
func (x *BatchCreateNilExamplesRequest) String() string
type BatchCreateNilExamplesResponse ¶
type BatchCreateNilExamplesResponse struct { NilExamples []*NilExample `protobuf:"bytes,1,rep,name=nil_examples,json=nilExamples,proto3" json:"nil_examples,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateNilExamplesResponse) Descriptor
deprecated
func (*BatchCreateNilExamplesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateNilExamplesResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateNilExamplesResponse) GetNilExamples ¶
func (x *BatchCreateNilExamplesResponse) GetNilExamples() []*NilExample
func (*BatchCreateNilExamplesResponse) ProtoMessage ¶
func (*BatchCreateNilExamplesResponse) ProtoMessage()
func (*BatchCreateNilExamplesResponse) ProtoReflect ¶
func (x *BatchCreateNilExamplesResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateNilExamplesResponse) Reset ¶
func (x *BatchCreateNilExamplesResponse) Reset()
func (*BatchCreateNilExamplesResponse) String ¶
func (x *BatchCreateNilExamplesResponse) String() string
type BatchCreatePetsRequest ¶
type BatchCreatePetsRequest struct { Requests []*CreatePetRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*BatchCreatePetsRequest) Descriptor
deprecated
func (*BatchCreatePetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreatePetsRequest.ProtoReflect.Descriptor instead.
func (*BatchCreatePetsRequest) GetRequests ¶
func (x *BatchCreatePetsRequest) GetRequests() []*CreatePetRequest
func (*BatchCreatePetsRequest) ProtoMessage ¶
func (*BatchCreatePetsRequest) ProtoMessage()
func (*BatchCreatePetsRequest) ProtoReflect ¶
func (x *BatchCreatePetsRequest) ProtoReflect() protoreflect.Message
func (*BatchCreatePetsRequest) Reset ¶
func (x *BatchCreatePetsRequest) Reset()
func (*BatchCreatePetsRequest) String ¶
func (x *BatchCreatePetsRequest) String() string
type BatchCreatePetsResponse ¶
type BatchCreatePetsResponse struct { Pets []*Pet `protobuf:"bytes,1,rep,name=pets,proto3" json:"pets,omitempty"` // contains filtered or unexported fields }
func (*BatchCreatePetsResponse) Descriptor
deprecated
func (*BatchCreatePetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreatePetsResponse.ProtoReflect.Descriptor instead.
func (*BatchCreatePetsResponse) GetPets ¶
func (x *BatchCreatePetsResponse) GetPets() []*Pet
func (*BatchCreatePetsResponse) ProtoMessage ¶
func (*BatchCreatePetsResponse) ProtoMessage()
func (*BatchCreatePetsResponse) ProtoReflect ¶
func (x *BatchCreatePetsResponse) ProtoReflect() protoreflect.Message
func (*BatchCreatePetsResponse) Reset ¶
func (x *BatchCreatePetsResponse) Reset()
func (*BatchCreatePetsResponse) String ¶
func (x *BatchCreatePetsResponse) String() string
type BatchCreatePoniesRequest ¶
type BatchCreatePoniesRequest struct { Requests []*CreatePonyRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*BatchCreatePoniesRequest) Descriptor
deprecated
func (*BatchCreatePoniesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreatePoniesRequest.ProtoReflect.Descriptor instead.
func (*BatchCreatePoniesRequest) GetRequests ¶
func (x *BatchCreatePoniesRequest) GetRequests() []*CreatePonyRequest
func (*BatchCreatePoniesRequest) ProtoMessage ¶
func (*BatchCreatePoniesRequest) ProtoMessage()
func (*BatchCreatePoniesRequest) ProtoReflect ¶
func (x *BatchCreatePoniesRequest) ProtoReflect() protoreflect.Message
func (*BatchCreatePoniesRequest) Reset ¶
func (x *BatchCreatePoniesRequest) Reset()
func (*BatchCreatePoniesRequest) String ¶
func (x *BatchCreatePoniesRequest) String() string
type BatchCreatePoniesResponse ¶
type BatchCreatePoniesResponse struct { Ponies []*Pony `protobuf:"bytes,1,rep,name=ponies,proto3" json:"ponies,omitempty"` // contains filtered or unexported fields }
func (*BatchCreatePoniesResponse) Descriptor
deprecated
func (*BatchCreatePoniesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreatePoniesResponse.ProtoReflect.Descriptor instead.
func (*BatchCreatePoniesResponse) GetPonies ¶
func (x *BatchCreatePoniesResponse) GetPonies() []*Pony
func (*BatchCreatePoniesResponse) ProtoMessage ¶
func (*BatchCreatePoniesResponse) ProtoMessage()
func (*BatchCreatePoniesResponse) ProtoReflect ¶
func (x *BatchCreatePoniesResponse) ProtoReflect() protoreflect.Message
func (*BatchCreatePoniesResponse) Reset ¶
func (x *BatchCreatePoniesResponse) Reset()
func (*BatchCreatePoniesResponse) String ¶
func (x *BatchCreatePoniesResponse) String() string
type BatchCreateUsersRequest ¶
type BatchCreateUsersRequest struct { Requests []*CreateUserRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateUsersRequest) Descriptor
deprecated
func (*BatchCreateUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateUsersRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateUsersRequest) GetRequests ¶
func (x *BatchCreateUsersRequest) GetRequests() []*CreateUserRequest
func (*BatchCreateUsersRequest) ProtoMessage ¶
func (*BatchCreateUsersRequest) ProtoMessage()
func (*BatchCreateUsersRequest) ProtoReflect ¶
func (x *BatchCreateUsersRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateUsersRequest) Reset ¶
func (x *BatchCreateUsersRequest) Reset()
func (*BatchCreateUsersRequest) String ¶
func (x *BatchCreateUsersRequest) String() string
type BatchCreateUsersResponse ¶
type BatchCreateUsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateUsersResponse) Descriptor
deprecated
func (*BatchCreateUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateUsersResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateUsersResponse) GetUsers ¶
func (x *BatchCreateUsersResponse) GetUsers() []*User
func (*BatchCreateUsersResponse) ProtoMessage ¶
func (*BatchCreateUsersResponse) ProtoMessage()
func (*BatchCreateUsersResponse) ProtoReflect ¶
func (x *BatchCreateUsersResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateUsersResponse) Reset ¶
func (x *BatchCreateUsersResponse) Reset()
func (*BatchCreateUsersResponse) String ¶
func (x *BatchCreateUsersResponse) String() string
type CreateAttachmentRequest ¶
type CreateAttachmentRequest struct { Attachment *Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,omitempty"` // contains filtered or unexported fields }
func (*CreateAttachmentRequest) Descriptor
deprecated
func (*CreateAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAttachmentRequest.ProtoReflect.Descriptor instead.
func (*CreateAttachmentRequest) GetAttachment ¶
func (x *CreateAttachmentRequest) GetAttachment() *Attachment
func (*CreateAttachmentRequest) ProtoMessage ¶
func (*CreateAttachmentRequest) ProtoMessage()
func (*CreateAttachmentRequest) ProtoReflect ¶
func (x *CreateAttachmentRequest) ProtoReflect() protoreflect.Message
func (*CreateAttachmentRequest) Reset ¶
func (x *CreateAttachmentRequest) Reset()
func (*CreateAttachmentRequest) String ¶
func (x *CreateAttachmentRequest) String() string
type CreateMultiWordSchemaRequest ¶
type CreateMultiWordSchemaRequest struct { MultiWordSchema *MultiWordSchema `protobuf:"bytes,1,opt,name=multi_word_schema,json=multiWordSchema,proto3" json:"multi_word_schema,omitempty"` // contains filtered or unexported fields }
func (*CreateMultiWordSchemaRequest) Descriptor
deprecated
func (*CreateMultiWordSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMultiWordSchemaRequest.ProtoReflect.Descriptor instead.
func (*CreateMultiWordSchemaRequest) GetMultiWordSchema ¶
func (x *CreateMultiWordSchemaRequest) GetMultiWordSchema() *MultiWordSchema
func (*CreateMultiWordSchemaRequest) ProtoMessage ¶
func (*CreateMultiWordSchemaRequest) ProtoMessage()
func (*CreateMultiWordSchemaRequest) ProtoReflect ¶
func (x *CreateMultiWordSchemaRequest) ProtoReflect() protoreflect.Message
func (*CreateMultiWordSchemaRequest) Reset ¶
func (x *CreateMultiWordSchemaRequest) Reset()
func (*CreateMultiWordSchemaRequest) String ¶
func (x *CreateMultiWordSchemaRequest) String() string
type CreateNilExampleRequest ¶
type CreateNilExampleRequest struct { NilExample *NilExample `protobuf:"bytes,1,opt,name=nil_example,json=nilExample,proto3" json:"nil_example,omitempty"` // contains filtered or unexported fields }
func (*CreateNilExampleRequest) Descriptor
deprecated
func (*CreateNilExampleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNilExampleRequest.ProtoReflect.Descriptor instead.
func (*CreateNilExampleRequest) GetNilExample ¶
func (x *CreateNilExampleRequest) GetNilExample() *NilExample
func (*CreateNilExampleRequest) ProtoMessage ¶
func (*CreateNilExampleRequest) ProtoMessage()
func (*CreateNilExampleRequest) ProtoReflect ¶
func (x *CreateNilExampleRequest) ProtoReflect() protoreflect.Message
func (*CreateNilExampleRequest) Reset ¶
func (x *CreateNilExampleRequest) Reset()
func (*CreateNilExampleRequest) String ¶
func (x *CreateNilExampleRequest) String() string
type CreatePetRequest ¶
type CreatePetRequest struct { Pet *Pet `protobuf:"bytes,1,opt,name=pet,proto3" json:"pet,omitempty"` // contains filtered or unexported fields }
func (*CreatePetRequest) Descriptor
deprecated
func (*CreatePetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePetRequest.ProtoReflect.Descriptor instead.
func (*CreatePetRequest) GetPet ¶
func (x *CreatePetRequest) GetPet() *Pet
func (*CreatePetRequest) ProtoMessage ¶
func (*CreatePetRequest) ProtoMessage()
func (*CreatePetRequest) ProtoReflect ¶
func (x *CreatePetRequest) ProtoReflect() protoreflect.Message
func (*CreatePetRequest) Reset ¶
func (x *CreatePetRequest) Reset()
func (*CreatePetRequest) String ¶
func (x *CreatePetRequest) String() string
type CreatePonyRequest ¶
type CreatePonyRequest struct { Pony *Pony `protobuf:"bytes,1,opt,name=pony,proto3" json:"pony,omitempty"` // contains filtered or unexported fields }
func (*CreatePonyRequest) Descriptor
deprecated
func (*CreatePonyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePonyRequest.ProtoReflect.Descriptor instead.
func (*CreatePonyRequest) GetPony ¶
func (x *CreatePonyRequest) GetPony() *Pony
func (*CreatePonyRequest) ProtoMessage ¶
func (*CreatePonyRequest) ProtoMessage()
func (*CreatePonyRequest) ProtoReflect ¶
func (x *CreatePonyRequest) ProtoReflect() protoreflect.Message
func (*CreatePonyRequest) Reset ¶
func (x *CreatePonyRequest) Reset()
func (*CreatePonyRequest) String ¶
func (x *CreatePonyRequest) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetUser ¶
func (x *CreateUserRequest) GetUser() *User
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type DeleteAttachmentRequest ¶
type DeleteAttachmentRequest struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAttachmentRequest) Descriptor
deprecated
func (*DeleteAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAttachmentRequest.ProtoReflect.Descriptor instead.
func (*DeleteAttachmentRequest) GetId ¶
func (x *DeleteAttachmentRequest) GetId() []byte
func (*DeleteAttachmentRequest) ProtoMessage ¶
func (*DeleteAttachmentRequest) ProtoMessage()
func (*DeleteAttachmentRequest) ProtoReflect ¶
func (x *DeleteAttachmentRequest) ProtoReflect() protoreflect.Message
func (*DeleteAttachmentRequest) Reset ¶
func (x *DeleteAttachmentRequest) Reset()
func (*DeleteAttachmentRequest) String ¶
func (x *DeleteAttachmentRequest) String() string
type DeleteMultiWordSchemaRequest ¶
type DeleteMultiWordSchemaRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteMultiWordSchemaRequest) Descriptor
deprecated
func (*DeleteMultiWordSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMultiWordSchemaRequest.ProtoReflect.Descriptor instead.
func (*DeleteMultiWordSchemaRequest) GetId ¶
func (x *DeleteMultiWordSchemaRequest) GetId() int64
func (*DeleteMultiWordSchemaRequest) ProtoMessage ¶
func (*DeleteMultiWordSchemaRequest) ProtoMessage()
func (*DeleteMultiWordSchemaRequest) ProtoReflect ¶
func (x *DeleteMultiWordSchemaRequest) ProtoReflect() protoreflect.Message
func (*DeleteMultiWordSchemaRequest) Reset ¶
func (x *DeleteMultiWordSchemaRequest) Reset()
func (*DeleteMultiWordSchemaRequest) String ¶
func (x *DeleteMultiWordSchemaRequest) String() string
type DeleteNilExampleRequest ¶
type DeleteNilExampleRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteNilExampleRequest) Descriptor
deprecated
func (*DeleteNilExampleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNilExampleRequest.ProtoReflect.Descriptor instead.
func (*DeleteNilExampleRequest) GetId ¶
func (x *DeleteNilExampleRequest) GetId() int64
func (*DeleteNilExampleRequest) ProtoMessage ¶
func (*DeleteNilExampleRequest) ProtoMessage()
func (*DeleteNilExampleRequest) ProtoReflect ¶
func (x *DeleteNilExampleRequest) ProtoReflect() protoreflect.Message
func (*DeleteNilExampleRequest) Reset ¶
func (x *DeleteNilExampleRequest) Reset()
func (*DeleteNilExampleRequest) String ¶
func (x *DeleteNilExampleRequest) String() string
type DeletePetRequest ¶
type DeletePetRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeletePetRequest) Descriptor
deprecated
func (*DeletePetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePetRequest.ProtoReflect.Descriptor instead.
func (*DeletePetRequest) GetId ¶
func (x *DeletePetRequest) GetId() int64
func (*DeletePetRequest) ProtoMessage ¶
func (*DeletePetRequest) ProtoMessage()
func (*DeletePetRequest) ProtoReflect ¶
func (x *DeletePetRequest) ProtoReflect() protoreflect.Message
func (*DeletePetRequest) Reset ¶
func (x *DeletePetRequest) Reset()
func (*DeletePetRequest) String ¶
func (x *DeletePetRequest) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetId ¶
func (x *DeleteUserRequest) GetId() uint32
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type GetAttachmentRequest ¶
type GetAttachmentRequest struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` View GetAttachmentRequest_View `protobuf:"varint,2,opt,name=view,proto3,enum=entpb.GetAttachmentRequest_View" json:"view,omitempty"` // contains filtered or unexported fields }
func (*GetAttachmentRequest) Descriptor
deprecated
func (*GetAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAttachmentRequest.ProtoReflect.Descriptor instead.
func (*GetAttachmentRequest) GetId ¶
func (x *GetAttachmentRequest) GetId() []byte
func (*GetAttachmentRequest) GetView ¶
func (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 ¶
type GetMultiWordSchemaRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` View GetMultiWordSchemaRequest_View `protobuf:"varint,2,opt,name=view,proto3,enum=entpb.GetMultiWordSchemaRequest_View" json:"view,omitempty"` // contains filtered or unexported fields }
func (*GetMultiWordSchemaRequest) Descriptor
deprecated
func (*GetMultiWordSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMultiWordSchemaRequest.ProtoReflect.Descriptor instead.
func (*GetMultiWordSchemaRequest) GetId ¶
func (x *GetMultiWordSchemaRequest) GetId() int64
func (*GetMultiWordSchemaRequest) GetView ¶
func (x *GetMultiWordSchemaRequest) GetView() GetMultiWordSchemaRequest_View
func (*GetMultiWordSchemaRequest) ProtoMessage ¶
func (*GetMultiWordSchemaRequest) ProtoMessage()
func (*GetMultiWordSchemaRequest) ProtoReflect ¶
func (x *GetMultiWordSchemaRequest) ProtoReflect() protoreflect.Message
func (*GetMultiWordSchemaRequest) Reset ¶
func (x *GetMultiWordSchemaRequest) Reset()
func (*GetMultiWordSchemaRequest) String ¶
func (x *GetMultiWordSchemaRequest) String() string
type GetMultiWordSchemaRequest_View ¶
type GetMultiWordSchemaRequest_View int32
const ( GetMultiWordSchemaRequest_VIEW_UNSPECIFIED GetMultiWordSchemaRequest_View = 0 GetMultiWordSchemaRequest_BASIC GetMultiWordSchemaRequest_View = 1 GetMultiWordSchemaRequest_WITH_EDGE_IDS GetMultiWordSchemaRequest_View = 2 )
func (GetMultiWordSchemaRequest_View) Descriptor ¶
func (GetMultiWordSchemaRequest_View) Descriptor() protoreflect.EnumDescriptor
func (GetMultiWordSchemaRequest_View) Enum ¶
func (x GetMultiWordSchemaRequest_View) Enum() *GetMultiWordSchemaRequest_View
func (GetMultiWordSchemaRequest_View) EnumDescriptor
deprecated
func (GetMultiWordSchemaRequest_View) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetMultiWordSchemaRequest_View.Descriptor instead.
func (GetMultiWordSchemaRequest_View) Number ¶
func (x GetMultiWordSchemaRequest_View) Number() protoreflect.EnumNumber
func (GetMultiWordSchemaRequest_View) String ¶
func (x GetMultiWordSchemaRequest_View) String() string
func (GetMultiWordSchemaRequest_View) Type ¶
func (GetMultiWordSchemaRequest_View) Type() protoreflect.EnumType
type GetNilExampleRequest ¶
type GetNilExampleRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` View GetNilExampleRequest_View `protobuf:"varint,2,opt,name=view,proto3,enum=entpb.GetNilExampleRequest_View" json:"view,omitempty"` // contains filtered or unexported fields }
func (*GetNilExampleRequest) Descriptor
deprecated
func (*GetNilExampleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNilExampleRequest.ProtoReflect.Descriptor instead.
func (*GetNilExampleRequest) GetId ¶
func (x *GetNilExampleRequest) GetId() int64
func (*GetNilExampleRequest) GetView ¶
func (x *GetNilExampleRequest) GetView() GetNilExampleRequest_View
func (*GetNilExampleRequest) ProtoMessage ¶
func (*GetNilExampleRequest) ProtoMessage()
func (*GetNilExampleRequest) ProtoReflect ¶
func (x *GetNilExampleRequest) ProtoReflect() protoreflect.Message
func (*GetNilExampleRequest) Reset ¶
func (x *GetNilExampleRequest) Reset()
func (*GetNilExampleRequest) String ¶
func (x *GetNilExampleRequest) String() string
type GetNilExampleRequest_View ¶
type GetNilExampleRequest_View int32
const ( GetNilExampleRequest_VIEW_UNSPECIFIED GetNilExampleRequest_View = 0 GetNilExampleRequest_BASIC GetNilExampleRequest_View = 1 GetNilExampleRequest_WITH_EDGE_IDS GetNilExampleRequest_View = 2 )
func (GetNilExampleRequest_View) Descriptor ¶
func (GetNilExampleRequest_View) Descriptor() protoreflect.EnumDescriptor
func (GetNilExampleRequest_View) Enum ¶
func (x GetNilExampleRequest_View) Enum() *GetNilExampleRequest_View
func (GetNilExampleRequest_View) EnumDescriptor
deprecated
func (GetNilExampleRequest_View) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetNilExampleRequest_View.Descriptor instead.
func (GetNilExampleRequest_View) Number ¶
func (x GetNilExampleRequest_View) Number() protoreflect.EnumNumber
func (GetNilExampleRequest_View) String ¶
func (x GetNilExampleRequest_View) String() string
func (GetNilExampleRequest_View) Type ¶
func (GetNilExampleRequest_View) Type() protoreflect.EnumType
type GetPetRequest ¶
type GetPetRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` View GetPetRequest_View `protobuf:"varint,2,opt,name=view,proto3,enum=entpb.GetPetRequest_View" json:"view,omitempty"` // contains filtered or unexported fields }
func (*GetPetRequest) Descriptor
deprecated
func (*GetPetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPetRequest.ProtoReflect.Descriptor instead.
func (*GetPetRequest) GetId ¶
func (x *GetPetRequest) GetId() int64
func (*GetPetRequest) GetView ¶
func (x *GetPetRequest) GetView() GetPetRequest_View
func (*GetPetRequest) ProtoMessage ¶
func (*GetPetRequest) ProtoMessage()
func (*GetPetRequest) ProtoReflect ¶
func (x *GetPetRequest) ProtoReflect() protoreflect.Message
func (*GetPetRequest) Reset ¶
func (x *GetPetRequest) Reset()
func (*GetPetRequest) String ¶
func (x *GetPetRequest) String() string
type GetPetRequest_View ¶
type GetPetRequest_View int32
const ( GetPetRequest_VIEW_UNSPECIFIED GetPetRequest_View = 0 GetPetRequest_BASIC GetPetRequest_View = 1 GetPetRequest_WITH_EDGE_IDS GetPetRequest_View = 2 )
func (GetPetRequest_View) Descriptor ¶
func (GetPetRequest_View) Descriptor() protoreflect.EnumDescriptor
func (GetPetRequest_View) Enum ¶
func (x GetPetRequest_View) Enum() *GetPetRequest_View
func (GetPetRequest_View) EnumDescriptor
deprecated
func (GetPetRequest_View) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetPetRequest_View.Descriptor instead.
func (GetPetRequest_View) Number ¶
func (x GetPetRequest_View) Number() protoreflect.EnumNumber
func (GetPetRequest_View) String ¶
func (x GetPetRequest_View) String() string
func (GetPetRequest_View) Type ¶
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 ¶
type ListAttachmentRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` View ListAttachmentRequest_View `protobuf:"varint,3,opt,name=view,proto3,enum=entpb.ListAttachmentRequest_View" json:"view,omitempty"` // contains filtered or unexported fields }
func (*ListAttachmentRequest) Descriptor
deprecated
func (*ListAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAttachmentRequest.ProtoReflect.Descriptor instead.
func (*ListAttachmentRequest) GetPageSize ¶
func (x *ListAttachmentRequest) GetPageSize() int32
func (*ListAttachmentRequest) GetPageToken ¶
func (x *ListAttachmentRequest) GetPageToken() string
func (*ListAttachmentRequest) GetView ¶
func (x *ListAttachmentRequest) GetView() ListAttachmentRequest_View
func (*ListAttachmentRequest) ProtoMessage ¶
func (*ListAttachmentRequest) ProtoMessage()
func (*ListAttachmentRequest) ProtoReflect ¶
func (x *ListAttachmentRequest) ProtoReflect() protoreflect.Message
func (*ListAttachmentRequest) Reset ¶
func (x *ListAttachmentRequest) Reset()
func (*ListAttachmentRequest) String ¶
func (x *ListAttachmentRequest) String() string
type ListAttachmentRequest_View ¶
type ListAttachmentRequest_View int32
const ( ListAttachmentRequest_VIEW_UNSPECIFIED ListAttachmentRequest_View = 0 ListAttachmentRequest_BASIC ListAttachmentRequest_View = 1 ListAttachmentRequest_WITH_EDGE_IDS ListAttachmentRequest_View = 2 )
func (ListAttachmentRequest_View) Descriptor ¶
func (ListAttachmentRequest_View) Descriptor() protoreflect.EnumDescriptor
func (ListAttachmentRequest_View) Enum ¶
func (x ListAttachmentRequest_View) Enum() *ListAttachmentRequest_View
func (ListAttachmentRequest_View) EnumDescriptor
deprecated
func (ListAttachmentRequest_View) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListAttachmentRequest_View.Descriptor instead.
func (ListAttachmentRequest_View) Number ¶
func (x ListAttachmentRequest_View) Number() protoreflect.EnumNumber
func (ListAttachmentRequest_View) String ¶
func (x ListAttachmentRequest_View) String() string
func (ListAttachmentRequest_View) Type ¶
func (ListAttachmentRequest_View) Type() protoreflect.EnumType
type ListAttachmentResponse ¶
type ListAttachmentResponse struct { AttachmentList []*Attachment `protobuf:"bytes,1,rep,name=attachment_list,json=attachmentList,proto3" json:"attachment_list,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAttachmentResponse) Descriptor
deprecated
func (*ListAttachmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAttachmentResponse.ProtoReflect.Descriptor instead.
func (*ListAttachmentResponse) GetAttachmentList ¶
func (x *ListAttachmentResponse) GetAttachmentList() []*Attachment
func (*ListAttachmentResponse) GetNextPageToken ¶
func (x *ListAttachmentResponse) GetNextPageToken() string
func (*ListAttachmentResponse) ProtoMessage ¶
func (*ListAttachmentResponse) ProtoMessage()
func (*ListAttachmentResponse) ProtoReflect ¶
func (x *ListAttachmentResponse) ProtoReflect() protoreflect.Message
func (*ListAttachmentResponse) Reset ¶
func (x *ListAttachmentResponse) Reset()
func (*ListAttachmentResponse) String ¶
func (x *ListAttachmentResponse) String() string
type ListMultiWordSchemaRequest ¶
type ListMultiWordSchemaRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` View ListMultiWordSchemaRequest_View `protobuf:"varint,3,opt,name=view,proto3,enum=entpb.ListMultiWordSchemaRequest_View" json:"view,omitempty"` // contains filtered or unexported fields }
func (*ListMultiWordSchemaRequest) Descriptor
deprecated
func (*ListMultiWordSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMultiWordSchemaRequest.ProtoReflect.Descriptor instead.
func (*ListMultiWordSchemaRequest) GetPageSize ¶
func (x *ListMultiWordSchemaRequest) GetPageSize() int32
func (*ListMultiWordSchemaRequest) GetPageToken ¶
func (x *ListMultiWordSchemaRequest) GetPageToken() string
func (*ListMultiWordSchemaRequest) GetView ¶
func (x *ListMultiWordSchemaRequest) GetView() ListMultiWordSchemaRequest_View
func (*ListMultiWordSchemaRequest) ProtoMessage ¶
func (*ListMultiWordSchemaRequest) ProtoMessage()
func (*ListMultiWordSchemaRequest) ProtoReflect ¶
func (x *ListMultiWordSchemaRequest) ProtoReflect() protoreflect.Message
func (*ListMultiWordSchemaRequest) Reset ¶
func (x *ListMultiWordSchemaRequest) Reset()
func (*ListMultiWordSchemaRequest) String ¶
func (x *ListMultiWordSchemaRequest) String() string
type ListMultiWordSchemaRequest_View ¶
type ListMultiWordSchemaRequest_View int32
const ( ListMultiWordSchemaRequest_VIEW_UNSPECIFIED ListMultiWordSchemaRequest_View = 0 ListMultiWordSchemaRequest_BASIC ListMultiWordSchemaRequest_View = 1 ListMultiWordSchemaRequest_WITH_EDGE_IDS ListMultiWordSchemaRequest_View = 2 )
func (ListMultiWordSchemaRequest_View) Descriptor ¶
func (ListMultiWordSchemaRequest_View) Descriptor() protoreflect.EnumDescriptor
func (ListMultiWordSchemaRequest_View) Enum ¶
func (x ListMultiWordSchemaRequest_View) Enum() *ListMultiWordSchemaRequest_View
func (ListMultiWordSchemaRequest_View) EnumDescriptor
deprecated
func (ListMultiWordSchemaRequest_View) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListMultiWordSchemaRequest_View.Descriptor instead.
func (ListMultiWordSchemaRequest_View) Number ¶
func (x ListMultiWordSchemaRequest_View) Number() protoreflect.EnumNumber
func (ListMultiWordSchemaRequest_View) String ¶
func (x ListMultiWordSchemaRequest_View) String() string
func (ListMultiWordSchemaRequest_View) Type ¶
func (ListMultiWordSchemaRequest_View) Type() protoreflect.EnumType
type ListMultiWordSchemaResponse ¶
type ListMultiWordSchemaResponse struct { MultiWordSchemaList []*MultiWordSchema `protobuf:"bytes,1,rep,name=multi_word_schema_list,json=multiWordSchemaList,proto3" json:"multi_word_schema_list,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListMultiWordSchemaResponse) Descriptor
deprecated
func (*ListMultiWordSchemaResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMultiWordSchemaResponse.ProtoReflect.Descriptor instead.
func (*ListMultiWordSchemaResponse) GetMultiWordSchemaList ¶
func (x *ListMultiWordSchemaResponse) GetMultiWordSchemaList() []*MultiWordSchema
func (*ListMultiWordSchemaResponse) GetNextPageToken ¶
func (x *ListMultiWordSchemaResponse) GetNextPageToken() string
func (*ListMultiWordSchemaResponse) ProtoMessage ¶
func (*ListMultiWordSchemaResponse) ProtoMessage()
func (*ListMultiWordSchemaResponse) ProtoReflect ¶
func (x *ListMultiWordSchemaResponse) ProtoReflect() protoreflect.Message
func (*ListMultiWordSchemaResponse) Reset ¶
func (x *ListMultiWordSchemaResponse) Reset()
func (*ListMultiWordSchemaResponse) String ¶
func (x *ListMultiWordSchemaResponse) String() string
type ListNilExampleRequest ¶
type ListNilExampleRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` View ListNilExampleRequest_View `protobuf:"varint,3,opt,name=view,proto3,enum=entpb.ListNilExampleRequest_View" json:"view,omitempty"` // contains filtered or unexported fields }
func (*ListNilExampleRequest) Descriptor
deprecated
func (*ListNilExampleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNilExampleRequest.ProtoReflect.Descriptor instead.
func (*ListNilExampleRequest) GetPageSize ¶
func (x *ListNilExampleRequest) GetPageSize() int32
func (*ListNilExampleRequest) GetPageToken ¶
func (x *ListNilExampleRequest) GetPageToken() string
func (*ListNilExampleRequest) GetView ¶
func (x *ListNilExampleRequest) GetView() ListNilExampleRequest_View
func (*ListNilExampleRequest) ProtoMessage ¶
func (*ListNilExampleRequest) ProtoMessage()
func (*ListNilExampleRequest) ProtoReflect ¶
func (x *ListNilExampleRequest) ProtoReflect() protoreflect.Message
func (*ListNilExampleRequest) Reset ¶
func (x *ListNilExampleRequest) Reset()
func (*ListNilExampleRequest) String ¶
func (x *ListNilExampleRequest) String() string
type ListNilExampleRequest_View ¶
type ListNilExampleRequest_View int32
const ( ListNilExampleRequest_VIEW_UNSPECIFIED ListNilExampleRequest_View = 0 ListNilExampleRequest_BASIC ListNilExampleRequest_View = 1 ListNilExampleRequest_WITH_EDGE_IDS ListNilExampleRequest_View = 2 )
func (ListNilExampleRequest_View) Descriptor ¶
func (ListNilExampleRequest_View) Descriptor() protoreflect.EnumDescriptor
func (ListNilExampleRequest_View) Enum ¶
func (x ListNilExampleRequest_View) Enum() *ListNilExampleRequest_View
func (ListNilExampleRequest_View) EnumDescriptor
deprecated
func (ListNilExampleRequest_View) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListNilExampleRequest_View.Descriptor instead.
func (ListNilExampleRequest_View) Number ¶
func (x ListNilExampleRequest_View) Number() protoreflect.EnumNumber
func (ListNilExampleRequest_View) String ¶
func (x ListNilExampleRequest_View) String() string
func (ListNilExampleRequest_View) Type ¶
func (ListNilExampleRequest_View) Type() protoreflect.EnumType
type ListNilExampleResponse ¶
type ListNilExampleResponse struct { NilExampleList []*NilExample `protobuf:"bytes,1,rep,name=nil_example_list,json=nilExampleList,proto3" json:"nil_example_list,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListNilExampleResponse) Descriptor
deprecated
func (*ListNilExampleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNilExampleResponse.ProtoReflect.Descriptor instead.
func (*ListNilExampleResponse) GetNextPageToken ¶
func (x *ListNilExampleResponse) GetNextPageToken() string
func (*ListNilExampleResponse) GetNilExampleList ¶
func (x *ListNilExampleResponse) GetNilExampleList() []*NilExample
func (*ListNilExampleResponse) ProtoMessage ¶
func (*ListNilExampleResponse) ProtoMessage()
func (*ListNilExampleResponse) ProtoReflect ¶
func (x *ListNilExampleResponse) ProtoReflect() protoreflect.Message
func (*ListNilExampleResponse) Reset ¶
func (x *ListNilExampleResponse) Reset()
func (*ListNilExampleResponse) String ¶
func (x *ListNilExampleResponse) String() string
type ListPetRequest ¶
type ListPetRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` View ListPetRequest_View `protobuf:"varint,3,opt,name=view,proto3,enum=entpb.ListPetRequest_View" json:"view,omitempty"` // contains filtered or unexported fields }
func (*ListPetRequest) Descriptor
deprecated
func (*ListPetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPetRequest.ProtoReflect.Descriptor instead.
func (*ListPetRequest) GetPageSize ¶
func (x *ListPetRequest) GetPageSize() int32
func (*ListPetRequest) GetPageToken ¶
func (x *ListPetRequest) GetPageToken() string
func (*ListPetRequest) GetView ¶
func (x *ListPetRequest) GetView() ListPetRequest_View
func (*ListPetRequest) ProtoMessage ¶
func (*ListPetRequest) ProtoMessage()
func (*ListPetRequest) ProtoReflect ¶
func (x *ListPetRequest) ProtoReflect() protoreflect.Message
func (*ListPetRequest) Reset ¶
func (x *ListPetRequest) Reset()
func (*ListPetRequest) String ¶
func (x *ListPetRequest) String() string
type ListPetRequest_View ¶
type ListPetRequest_View int32
const ( ListPetRequest_VIEW_UNSPECIFIED ListPetRequest_View = 0 ListPetRequest_BASIC ListPetRequest_View = 1 ListPetRequest_WITH_EDGE_IDS ListPetRequest_View = 2 )
func (ListPetRequest_View) Descriptor ¶
func (ListPetRequest_View) Descriptor() protoreflect.EnumDescriptor
func (ListPetRequest_View) Enum ¶
func (x ListPetRequest_View) Enum() *ListPetRequest_View
func (ListPetRequest_View) EnumDescriptor
deprecated
func (ListPetRequest_View) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListPetRequest_View.Descriptor instead.
func (ListPetRequest_View) Number ¶
func (x ListPetRequest_View) Number() protoreflect.EnumNumber
func (ListPetRequest_View) String ¶
func (x ListPetRequest_View) String() string
func (ListPetRequest_View) Type ¶
func (ListPetRequest_View) Type() protoreflect.EnumType
type ListPetResponse ¶
type ListPetResponse struct { PetList []*Pet `protobuf:"bytes,1,rep,name=pet_list,json=petList,proto3" json:"pet_list,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListPetResponse) Descriptor
deprecated
func (*ListPetResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPetResponse.ProtoReflect.Descriptor instead.
func (*ListPetResponse) GetNextPageToken ¶
func (x *ListPetResponse) GetNextPageToken() string
func (*ListPetResponse) GetPetList ¶
func (x *ListPetResponse) GetPetList() []*Pet
func (*ListPetResponse) ProtoMessage ¶
func (*ListPetResponse) ProtoMessage()
func (*ListPetResponse) ProtoReflect ¶
func (x *ListPetResponse) ProtoReflect() protoreflect.Message
func (*ListPetResponse) Reset ¶
func (x *ListPetResponse) Reset()
func (*ListPetResponse) String ¶
func (x *ListPetResponse) String() string
type ListUserRequest ¶
type ListUserRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` View ListUserRequest_View `protobuf:"varint,3,opt,name=view,proto3,enum=entpb.ListUserRequest_View" json:"view,omitempty"` // contains filtered or unexported fields }
func (*ListUserRequest) Descriptor
deprecated
func (*ListUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserRequest.ProtoReflect.Descriptor instead.
func (*ListUserRequest) GetPageSize ¶
func (x *ListUserRequest) GetPageSize() int32
func (*ListUserRequest) GetPageToken ¶
func (x *ListUserRequest) GetPageToken() string
func (*ListUserRequest) GetView ¶
func (x *ListUserRequest) GetView() ListUserRequest_View
func (*ListUserRequest) ProtoMessage ¶
func (*ListUserRequest) ProtoMessage()
func (*ListUserRequest) ProtoReflect ¶
func (x *ListUserRequest) ProtoReflect() protoreflect.Message
func (*ListUserRequest) Reset ¶
func (x *ListUserRequest) Reset()
func (*ListUserRequest) String ¶
func (x *ListUserRequest) String() string
type ListUserRequest_View ¶
type ListUserRequest_View int32
const ( ListUserRequest_VIEW_UNSPECIFIED ListUserRequest_View = 0 ListUserRequest_BASIC ListUserRequest_View = 1 ListUserRequest_WITH_EDGE_IDS ListUserRequest_View = 2 )
func (ListUserRequest_View) Descriptor ¶
func (ListUserRequest_View) Descriptor() protoreflect.EnumDescriptor
func (ListUserRequest_View) Enum ¶
func (x ListUserRequest_View) Enum() *ListUserRequest_View
func (ListUserRequest_View) EnumDescriptor
deprecated
func (ListUserRequest_View) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListUserRequest_View.Descriptor instead.
func (ListUserRequest_View) Number ¶
func (x ListUserRequest_View) Number() protoreflect.EnumNumber
func (ListUserRequest_View) String ¶
func (x ListUserRequest_View) String() string
func (ListUserRequest_View) Type ¶
func (ListUserRequest_View) Type() protoreflect.EnumType
type ListUserResponse ¶
type ListUserResponse struct { UserList []*User `protobuf:"bytes,1,rep,name=user_list,json=userList,proto3" json:"user_list,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListUserResponse) Descriptor
deprecated
func (*ListUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserResponse.ProtoReflect.Descriptor instead.
func (*ListUserResponse) GetNextPageToken ¶
func (x *ListUserResponse) GetNextPageToken() string
func (*ListUserResponse) GetUserList ¶
func (x *ListUserResponse) GetUserList() []*User
func (*ListUserResponse) ProtoMessage ¶
func (*ListUserResponse) ProtoMessage()
func (*ListUserResponse) ProtoReflect ¶
func (x *ListUserResponse) ProtoReflect() protoreflect.Message
func (*ListUserResponse) Reset ¶
func (x *ListUserResponse) Reset()
func (*ListUserResponse) String ¶
func (x *ListUserResponse) String() string
type MultiWordSchema ¶
type MultiWordSchema struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Unit MultiWordSchema_Unit `protobuf:"varint,2,opt,name=unit,proto3,enum=entpb.MultiWordSchema_Unit" json:"unit,omitempty"` // contains filtered or unexported fields }
func (*MultiWordSchema) Descriptor
deprecated
func (*MultiWordSchema) Descriptor() ([]byte, []int)
Deprecated: Use MultiWordSchema.ProtoReflect.Descriptor instead.
func (*MultiWordSchema) GetId ¶
func (x *MultiWordSchema) GetId() int64
func (*MultiWordSchema) GetUnit ¶
func (x *MultiWordSchema) GetUnit() MultiWordSchema_Unit
func (*MultiWordSchema) ProtoMessage ¶
func (*MultiWordSchema) ProtoMessage()
func (*MultiWordSchema) ProtoReflect ¶
func (x *MultiWordSchema) ProtoReflect() protoreflect.Message
func (*MultiWordSchema) Reset ¶
func (x *MultiWordSchema) Reset()
func (*MultiWordSchema) String ¶
func (x *MultiWordSchema) String() string
type MultiWordSchemaService ¶
type MultiWordSchemaService struct { UnimplementedMultiWordSchemaServiceServer // contains filtered or unexported fields }
MultiWordSchemaService implements MultiWordSchemaServiceServer
func NewMultiWordSchemaService ¶
func NewMultiWordSchemaService(client *ent.Client) *MultiWordSchemaService
NewMultiWordSchemaService returns a new MultiWordSchemaService
func (*MultiWordSchemaService) BatchCreate ¶
func (svc *MultiWordSchemaService) BatchCreate(ctx context.Context, req *BatchCreateMultiWordSchemasRequest) (*BatchCreateMultiWordSchemasResponse, error)
BatchCreate implements MultiWordSchemaServiceServer.BatchCreate
func (*MultiWordSchemaService) Create ¶
func (svc *MultiWordSchemaService) Create(ctx context.Context, req *CreateMultiWordSchemaRequest) (*MultiWordSchema, error)
Create implements MultiWordSchemaServiceServer.Create
func (*MultiWordSchemaService) Delete ¶
func (svc *MultiWordSchemaService) Delete(ctx context.Context, req *DeleteMultiWordSchemaRequest) (*emptypb.Empty, error)
Delete implements MultiWordSchemaServiceServer.Delete
func (*MultiWordSchemaService) Get ¶
func (svc *MultiWordSchemaService) Get(ctx context.Context, req *GetMultiWordSchemaRequest) (*MultiWordSchema, error)
Get implements MultiWordSchemaServiceServer.Get
func (*MultiWordSchemaService) List ¶
func (svc *MultiWordSchemaService) List(ctx context.Context, req *ListMultiWordSchemaRequest) (*ListMultiWordSchemaResponse, error)
List implements MultiWordSchemaServiceServer.List
func (*MultiWordSchemaService) Update ¶
func (svc *MultiWordSchemaService) Update(ctx context.Context, req *UpdateMultiWordSchemaRequest) (*MultiWordSchema, error)
Update implements MultiWordSchemaServiceServer.Update
type MultiWordSchemaServiceClient ¶
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 ¶
func NewMultiWordSchemaServiceClient(cc grpc.ClientConnInterface) MultiWordSchemaServiceClient
type MultiWordSchemaServiceServer ¶
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 ¶
type MultiWordSchema_Unit int32
const ( MultiWordSchema_UNIT_M MultiWordSchema_Unit = 0 MultiWordSchema_UNIT_FT MultiWordSchema_Unit = 1 )
func (MultiWordSchema_Unit) Descriptor ¶
func (MultiWordSchema_Unit) Descriptor() protoreflect.EnumDescriptor
func (MultiWordSchema_Unit) Enum ¶
func (x MultiWordSchema_Unit) Enum() *MultiWordSchema_Unit
func (MultiWordSchema_Unit) EnumDescriptor
deprecated
func (MultiWordSchema_Unit) EnumDescriptor() ([]byte, []int)
Deprecated: Use MultiWordSchema_Unit.Descriptor instead.
func (MultiWordSchema_Unit) Number ¶
func (x MultiWordSchema_Unit) Number() protoreflect.EnumNumber
func (MultiWordSchema_Unit) String ¶
func (x MultiWordSchema_Unit) String() string
func (MultiWordSchema_Unit) Type ¶
func (MultiWordSchema_Unit) Type() protoreflect.EnumType
type NilExample ¶
type NilExample struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` StrNil *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=str_nil,json=strNil,proto3" json:"str_nil,omitempty"` TimeNil *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time_nil,json=timeNil,proto3" json:"time_nil,omitempty"` // contains filtered or unexported fields }
func (*NilExample) Descriptor
deprecated
func (*NilExample) Descriptor() ([]byte, []int)
Deprecated: Use NilExample.ProtoReflect.Descriptor instead.
func (*NilExample) GetId ¶
func (x *NilExample) GetId() int64
func (*NilExample) GetStrNil ¶
func (x *NilExample) GetStrNil() *wrapperspb.StringValue
func (*NilExample) GetTimeNil ¶
func (x *NilExample) GetTimeNil() *timestamppb.Timestamp
func (*NilExample) ProtoMessage ¶
func (*NilExample) ProtoMessage()
func (*NilExample) ProtoReflect ¶
func (x *NilExample) ProtoReflect() protoreflect.Message
func (*NilExample) Reset ¶
func (x *NilExample) Reset()
func (*NilExample) String ¶
func (x *NilExample) String() string
type NilExampleService ¶
type NilExampleService struct { UnimplementedNilExampleServiceServer // contains filtered or unexported fields }
NilExampleService implements NilExampleServiceServer
func NewNilExampleService ¶
func NewNilExampleService(client *ent.Client) *NilExampleService
NewNilExampleService returns a new NilExampleService
func (*NilExampleService) BatchCreate ¶
func (svc *NilExampleService) BatchCreate(ctx context.Context, req *BatchCreateNilExamplesRequest) (*BatchCreateNilExamplesResponse, error)
BatchCreate implements NilExampleServiceServer.BatchCreate
func (*NilExampleService) Create ¶
func (svc *NilExampleService) Create(ctx context.Context, req *CreateNilExampleRequest) (*NilExample, error)
Create implements NilExampleServiceServer.Create
func (*NilExampleService) Delete ¶
func (svc *NilExampleService) Delete(ctx context.Context, req *DeleteNilExampleRequest) (*emptypb.Empty, error)
Delete implements NilExampleServiceServer.Delete
func (*NilExampleService) Get ¶
func (svc *NilExampleService) Get(ctx context.Context, req *GetNilExampleRequest) (*NilExample, error)
Get implements NilExampleServiceServer.Get
func (*NilExampleService) List ¶
func (svc *NilExampleService) List(ctx context.Context, req *ListNilExampleRequest) (*ListNilExampleResponse, error)
List implements NilExampleServiceServer.List
func (*NilExampleService) Update ¶
func (svc *NilExampleService) Update(ctx context.Context, req *UpdateNilExampleRequest) (*NilExample, error)
Update implements NilExampleServiceServer.Update
type NilExampleServiceClient ¶
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 ¶
func NewNilExampleServiceClient(cc grpc.ClientConnInterface) NilExampleServiceClient
type NilExampleServiceServer ¶
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 ¶
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 ¶
func NewNoopServiceClient(cc grpc.ClientConnInterface) NoopServiceClient
type NoopServiceServer ¶
type NoopServiceServer interface { Crickets(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // contains filtered or unexported methods }
NoopServiceServer is the server API for NoopService service. All implementations must embed UnimplementedNoopServiceServer for forward compatibility
type Pet ¶
type Pet struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Owner *User `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Attachment []*Attachment `protobuf:"bytes,3,rep,name=attachment,proto3" json:"attachment,omitempty"` // contains filtered or unexported fields }
func (*Pet) Descriptor
deprecated
func (*Pet) GetAttachment ¶
func (x *Pet) GetAttachment() []*Attachment
func (*Pet) ProtoMessage ¶
func (*Pet) ProtoMessage()
func (*Pet) ProtoReflect ¶
func (x *Pet) ProtoReflect() protoreflect.Message
type PetService ¶
type PetService struct { UnimplementedPetServiceServer // contains filtered or unexported fields }
PetService implements PetServiceServer
func NewPetService ¶
func NewPetService(client *ent.Client) *PetService
NewPetService returns a new PetService
func (*PetService) BatchCreate ¶
func (svc *PetService) BatchCreate(ctx context.Context, req *BatchCreatePetsRequest) (*BatchCreatePetsResponse, error)
BatchCreate implements PetServiceServer.BatchCreate
func (*PetService) Create ¶
func (svc *PetService) Create(ctx context.Context, req *CreatePetRequest) (*Pet, error)
Create implements PetServiceServer.Create
func (*PetService) Delete ¶
func (svc *PetService) Delete(ctx context.Context, req *DeletePetRequest) (*emptypb.Empty, error)
Delete implements PetServiceServer.Delete
func (*PetService) Get ¶
func (svc *PetService) Get(ctx context.Context, req *GetPetRequest) (*Pet, error)
Get implements PetServiceServer.Get
func (*PetService) List ¶
func (svc *PetService) List(ctx context.Context, req *ListPetRequest) (*ListPetResponse, error)
List implements PetServiceServer.List
func (*PetService) Update ¶
func (svc *PetService) Update(ctx context.Context, req *UpdatePetRequest) (*Pet, error)
Update implements PetServiceServer.Update
type PetServiceClient ¶
type PetServiceClient interface { Create(ctx context.Context, in *CreatePetRequest, opts ...grpc.CallOption) (*Pet, error) Get(ctx context.Context, in *GetPetRequest, opts ...grpc.CallOption) (*Pet, error) Update(ctx context.Context, in *UpdatePetRequest, opts ...grpc.CallOption) (*Pet, error) Delete(ctx context.Context, in *DeletePetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) List(ctx context.Context, in *ListPetRequest, opts ...grpc.CallOption) (*ListPetResponse, error) BatchCreate(ctx context.Context, in *BatchCreatePetsRequest, opts ...grpc.CallOption) (*BatchCreatePetsResponse, error) }
PetServiceClient is the client API for PetService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPetServiceClient ¶
func NewPetServiceClient(cc grpc.ClientConnInterface) PetServiceClient
type PetServiceServer ¶
type PetServiceServer interface { Create(context.Context, *CreatePetRequest) (*Pet, error) Get(context.Context, *GetPetRequest) (*Pet, error) Update(context.Context, *UpdatePetRequest) (*Pet, error) Delete(context.Context, *DeletePetRequest) (*emptypb.Empty, error) List(context.Context, *ListPetRequest) (*ListPetResponse, error) BatchCreate(context.Context, *BatchCreatePetsRequest) (*BatchCreatePetsResponse, error) // contains filtered or unexported methods }
PetServiceServer is the server API for PetService service. All implementations must embed UnimplementedPetServiceServer for forward compatibility
type Pony ¶
type Pony struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Pony) Descriptor
deprecated
func (*Pony) ProtoMessage ¶
func (*Pony) ProtoMessage()
func (*Pony) ProtoReflect ¶
func (x *Pony) ProtoReflect() protoreflect.Message
type PonyService ¶
type PonyService struct { UnimplementedPonyServiceServer // contains filtered or unexported fields }
PonyService implements PonyServiceServer
func NewPonyService ¶
func NewPonyService(client *ent.Client) *PonyService
NewPonyService returns a new PonyService
func (*PonyService) BatchCreate ¶
func (svc *PonyService) BatchCreate(ctx context.Context, req *BatchCreatePoniesRequest) (*BatchCreatePoniesResponse, error)
BatchCreate implements PonyServiceServer.BatchCreate
type PonyServiceClient ¶
type PonyServiceClient interface {
BatchCreate(ctx context.Context, in *BatchCreatePoniesRequest, opts ...grpc.CallOption) (*BatchCreatePoniesResponse, error)
}
PonyServiceClient is the client API for PonyService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPonyServiceClient ¶
func NewPonyServiceClient(cc grpc.ClientConnInterface) PonyServiceClient
type PonyServiceServer ¶
type PonyServiceServer interface { BatchCreate(context.Context, *BatchCreatePoniesRequest) (*BatchCreatePoniesResponse, error) // contains filtered or unexported methods }
PonyServiceServer is the server API for PonyService service. All implementations must embed UnimplementedPonyServiceServer for forward compatibility
type Todo ¶
type Todo struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Task string `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"` Status Todo_Status `protobuf:"varint,3,opt,name=status,proto3,enum=entpb.Todo_Status" json:"status,omitempty"` User *User `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*Todo) Descriptor
deprecated
func (*Todo) 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 ¶
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 ¶
type UnimplementedMultiWordSchemaServiceServer struct { }
UnimplementedMultiWordSchemaServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMultiWordSchemaServiceServer) BatchCreate ¶
func (UnimplementedMultiWordSchemaServiceServer) Create ¶
func (UnimplementedMultiWordSchemaServiceServer) Create(context.Context, *CreateMultiWordSchemaRequest) (*MultiWordSchema, error)
func (UnimplementedMultiWordSchemaServiceServer) Delete ¶
func (UnimplementedMultiWordSchemaServiceServer) Delete(context.Context, *DeleteMultiWordSchemaRequest) (*emptypb.Empty, error)
func (UnimplementedMultiWordSchemaServiceServer) Update ¶
func (UnimplementedMultiWordSchemaServiceServer) Update(context.Context, *UpdateMultiWordSchemaRequest) (*MultiWordSchema, error)
type UnimplementedNilExampleServiceServer ¶
type UnimplementedNilExampleServiceServer struct { }
UnimplementedNilExampleServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedNilExampleServiceServer) BatchCreate ¶
func (UnimplementedNilExampleServiceServer) BatchCreate(context.Context, *BatchCreateNilExamplesRequest) (*BatchCreateNilExamplesResponse, error)
func (UnimplementedNilExampleServiceServer) Create ¶
func (UnimplementedNilExampleServiceServer) Create(context.Context, *CreateNilExampleRequest) (*NilExample, error)
func (UnimplementedNilExampleServiceServer) Delete ¶
func (UnimplementedNilExampleServiceServer) Delete(context.Context, *DeleteNilExampleRequest) (*emptypb.Empty, error)
func (UnimplementedNilExampleServiceServer) Get ¶
func (UnimplementedNilExampleServiceServer) Get(context.Context, *GetNilExampleRequest) (*NilExample, error)
func (UnimplementedNilExampleServiceServer) Update ¶
func (UnimplementedNilExampleServiceServer) Update(context.Context, *UpdateNilExampleRequest) (*NilExample, error)
type UnimplementedNoopServiceServer ¶
type UnimplementedNoopServiceServer struct { }
UnimplementedNoopServiceServer must be embedded to have forward compatible implementations.
type UnimplementedPetServiceServer ¶
type UnimplementedPetServiceServer struct { }
UnimplementedPetServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPetServiceServer) BatchCreate ¶
func (UnimplementedPetServiceServer) BatchCreate(context.Context, *BatchCreatePetsRequest) (*BatchCreatePetsResponse, error)
func (UnimplementedPetServiceServer) Create ¶
func (UnimplementedPetServiceServer) Create(context.Context, *CreatePetRequest) (*Pet, error)
func (UnimplementedPetServiceServer) Delete ¶
func (UnimplementedPetServiceServer) Delete(context.Context, *DeletePetRequest) (*emptypb.Empty, error)
func (UnimplementedPetServiceServer) Get ¶
func (UnimplementedPetServiceServer) Get(context.Context, *GetPetRequest) (*Pet, error)
func (UnimplementedPetServiceServer) List ¶
func (UnimplementedPetServiceServer) List(context.Context, *ListPetRequest) (*ListPetResponse, error)
func (UnimplementedPetServiceServer) Update ¶
func (UnimplementedPetServiceServer) Update(context.Context, *UpdatePetRequest) (*Pet, error)
type UnimplementedPonyServiceServer ¶
type UnimplementedPonyServiceServer struct { }
UnimplementedPonyServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPonyServiceServer) BatchCreate ¶
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 ¶
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 ¶
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 ¶
type UnsafeMultiWordSchemaServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMultiWordSchemaServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MultiWordSchemaServiceServer will result in compilation errors.
type UnsafeNilExampleServiceServer ¶
type UnsafeNilExampleServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNilExampleServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NilExampleServiceServer will result in compilation errors.
type UnsafeNoopServiceServer ¶
type UnsafeNoopServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNoopServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NoopServiceServer will result in compilation errors.
type UnsafePetServiceServer ¶
type UnsafePetServiceServer interface {
// contains filtered or unexported methods
}
UnsafePetServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PetServiceServer will result in compilation errors.
type UnsafePonyServiceServer ¶
type UnsafePonyServiceServer interface {
// contains filtered or unexported methods
}
UnsafePonyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PonyServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UpdateAttachmentRequest ¶
type UpdateAttachmentRequest struct { Attachment *Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,omitempty"` // contains filtered or unexported fields }
func (*UpdateAttachmentRequest) Descriptor
deprecated
func (*UpdateAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAttachmentRequest.ProtoReflect.Descriptor instead.
func (*UpdateAttachmentRequest) GetAttachment ¶
func (x *UpdateAttachmentRequest) GetAttachment() *Attachment
func (*UpdateAttachmentRequest) ProtoMessage ¶
func (*UpdateAttachmentRequest) ProtoMessage()
func (*UpdateAttachmentRequest) ProtoReflect ¶
func (x *UpdateAttachmentRequest) ProtoReflect() protoreflect.Message
func (*UpdateAttachmentRequest) Reset ¶
func (x *UpdateAttachmentRequest) Reset()
func (*UpdateAttachmentRequest) String ¶
func (x *UpdateAttachmentRequest) String() string
type UpdateMultiWordSchemaRequest ¶
type UpdateMultiWordSchemaRequest struct { MultiWordSchema *MultiWordSchema `protobuf:"bytes,1,opt,name=multi_word_schema,json=multiWordSchema,proto3" json:"multi_word_schema,omitempty"` // contains filtered or unexported fields }
func (*UpdateMultiWordSchemaRequest) Descriptor
deprecated
func (*UpdateMultiWordSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMultiWordSchemaRequest.ProtoReflect.Descriptor instead.
func (*UpdateMultiWordSchemaRequest) GetMultiWordSchema ¶
func (x *UpdateMultiWordSchemaRequest) GetMultiWordSchema() *MultiWordSchema
func (*UpdateMultiWordSchemaRequest) ProtoMessage ¶
func (*UpdateMultiWordSchemaRequest) ProtoMessage()
func (*UpdateMultiWordSchemaRequest) ProtoReflect ¶
func (x *UpdateMultiWordSchemaRequest) ProtoReflect() protoreflect.Message
func (*UpdateMultiWordSchemaRequest) Reset ¶
func (x *UpdateMultiWordSchemaRequest) Reset()
func (*UpdateMultiWordSchemaRequest) String ¶
func (x *UpdateMultiWordSchemaRequest) String() string
type UpdateNilExampleRequest ¶
type UpdateNilExampleRequest struct { NilExample *NilExample `protobuf:"bytes,1,opt,name=nil_example,json=nilExample,proto3" json:"nil_example,omitempty"` // contains filtered or unexported fields }
func (*UpdateNilExampleRequest) Descriptor
deprecated
func (*UpdateNilExampleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNilExampleRequest.ProtoReflect.Descriptor instead.
func (*UpdateNilExampleRequest) GetNilExample ¶
func (x *UpdateNilExampleRequest) GetNilExample() *NilExample
func (*UpdateNilExampleRequest) ProtoMessage ¶
func (*UpdateNilExampleRequest) ProtoMessage()
func (*UpdateNilExampleRequest) ProtoReflect ¶
func (x *UpdateNilExampleRequest) ProtoReflect() protoreflect.Message
func (*UpdateNilExampleRequest) Reset ¶
func (x *UpdateNilExampleRequest) Reset()
func (*UpdateNilExampleRequest) String ¶
func (x *UpdateNilExampleRequest) String() string
type UpdatePetRequest ¶
type UpdatePetRequest struct { Pet *Pet `protobuf:"bytes,1,opt,name=pet,proto3" json:"pet,omitempty"` // contains filtered or unexported fields }
func (*UpdatePetRequest) Descriptor
deprecated
func (*UpdatePetRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePetRequest.ProtoReflect.Descriptor instead.
func (*UpdatePetRequest) GetPet ¶
func (x *UpdatePetRequest) GetPet() *Pet
func (*UpdatePetRequest) ProtoMessage ¶
func (*UpdatePetRequest) ProtoMessage()
func (*UpdatePetRequest) ProtoReflect ¶
func (x *UpdatePetRequest) ProtoReflect() protoreflect.Message
func (*UpdatePetRequest) Reset ¶
func (x *UpdatePetRequest) Reset()
func (*UpdatePetRequest) String ¶
func (x *UpdatePetRequest) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetUser ¶
func (x *UpdateUserRequest) GetUser() *User
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type User ¶
type User struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` Joined *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=joined,proto3" json:"joined,omitempty"` Points uint32 `protobuf:"varint,4,opt,name=points,proto3" json:"points,omitempty"` Exp uint64 `protobuf:"varint,5,opt,name=exp,proto3" json:"exp,omitempty"` Status User_Status `protobuf:"varint,6,opt,name=status,proto3,enum=entpb.User_Status" json:"status,omitempty"` ExternalId int64 `protobuf:"varint,8,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` CrmId []byte `protobuf:"bytes,9,opt,name=crm_id,json=crmId,proto3" json:"crm_id,omitempty"` Banned bool `protobuf:"varint,10,opt,name=banned,proto3" json:"banned,omitempty"` CustomPb uint64 `protobuf:"varint,12,opt,name=custom_pb,json=customPb,proto3" json:"custom_pb,omitempty"` OptNum *wrapperspb.Int64Value `protobuf:"bytes,13,opt,name=opt_num,json=optNum,proto3" json:"opt_num,omitempty"` OptStr *wrapperspb.StringValue `protobuf:"bytes,14,opt,name=opt_str,json=optStr,proto3" json:"opt_str,omitempty"` OptBool *wrapperspb.BoolValue `protobuf:"bytes,15,opt,name=opt_bool,json=optBool,proto3" json:"opt_bool,omitempty"` BigInt *wrapperspb.StringValue `protobuf:"bytes,17,opt,name=big_int,json=bigInt,proto3" json:"big_int,omitempty"` BUser_1 *wrapperspb.Int64Value `protobuf:"bytes,18,opt,name=b_user_1,json=bUser1,proto3" json:"b_user_1,omitempty"` HeightInCm float32 `protobuf:"fixed32,19,opt,name=height_in_cm,json=heightInCm,proto3" json:"height_in_cm,omitempty"` AccountBalance float64 `protobuf:"fixed64,20,opt,name=account_balance,json=accountBalance,proto3" json:"account_balance,omitempty"` Type *wrapperspb.StringValue `protobuf:"bytes,23,opt,name=type,proto3" json:"type,omitempty"` Labels []string `protobuf:"bytes,24,rep,name=labels,proto3" json:"labels,omitempty"` Int32S []int32 `protobuf:"varint,25,rep,packed,name=int32s,proto3" json:"int32s,omitempty"` Int64S []int64 `protobuf:"varint,26,rep,packed,name=int64s,proto3" json:"int64s,omitempty"` Uint32S []uint32 `protobuf:"varint,27,rep,packed,name=uint32s,proto3" json:"uint32s,omitempty"` Uint64S []uint64 `protobuf:"varint,28,rep,packed,name=uint64s,proto3" json:"uint64s,omitempty"` DeviceType User_DeviceType `protobuf:"varint,100,opt,name=device_type,json=deviceType,proto3,enum=entpb.User_DeviceType" json:"device_type,omitempty"` OmitPrefix User_OmitPrefix `protobuf:"varint,103,opt,name=omit_prefix,json=omitPrefix,proto3,enum=entpb.User_OmitPrefix" json:"omit_prefix,omitempty"` MimeType User_MimeType `protobuf:"varint,104,opt,name=mime_type,json=mimeType,proto3,enum=entpb.User_MimeType" json:"mime_type,omitempty"` Group *Group `protobuf:"bytes,7,opt,name=group,proto3" json:"group,omitempty"` Attachment *Attachment `protobuf:"bytes,11,opt,name=attachment,proto3" json:"attachment,omitempty"` Received_1 []*Attachment `protobuf:"bytes,16,rep,name=received_1,json=received1,proto3" json:"received_1,omitempty"` Pet *Pet `protobuf:"bytes,21,opt,name=pet,proto3" json:"pet,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetAccountBalance ¶
func (*User) GetAttachment ¶
func (x *User) GetAttachment() *Attachment
func (*User) GetBUser_1 ¶
func (x *User) GetBUser_1() *wrapperspb.Int64Value
func (*User) GetBigInt ¶
func (x *User) GetBigInt() *wrapperspb.StringValue
func (*User) GetCustomPb ¶
func (*User) GetDeviceType ¶
func (x *User) GetDeviceType() User_DeviceType
func (*User) GetExternalId ¶
func (*User) GetHeightInCm ¶
func (*User) GetJoined ¶
func (x *User) GetJoined() *timestamppb.Timestamp
func (*User) GetMimeType ¶
func (x *User) GetMimeType() User_MimeType
func (*User) GetOmitPrefix ¶
func (x *User) GetOmitPrefix() User_OmitPrefix
func (*User) GetOptBool ¶
func (x *User) GetOptBool() *wrapperspb.BoolValue
func (*User) GetOptNum ¶
func (x *User) GetOptNum() *wrapperspb.Int64Value
func (*User) GetOptStr ¶
func (x *User) GetOptStr() *wrapperspb.StringValue
func (*User) GetReceived_1 ¶
func (x *User) GetReceived_1() []*Attachment
func (*User) GetStatus ¶
func (x *User) GetStatus() User_Status
func (*User) GetType ¶
func (x *User) GetType() *wrapperspb.StringValue
func (*User) GetUint32S ¶
func (*User) GetUint64S ¶
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 ¶
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 ¶
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 ¶
type User_DeviceType int32
const ( User_DEVICE_TYPE_GLOWY9000 User_DeviceType = 0 User_DEVICE_TYPE_SPEEDY300 User_DeviceType = 1 )
func (User_DeviceType) Descriptor ¶
func (User_DeviceType) Descriptor() protoreflect.EnumDescriptor
func (User_DeviceType) Enum ¶
func (x User_DeviceType) Enum() *User_DeviceType
func (User_DeviceType) EnumDescriptor
deprecated
func (User_DeviceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use User_DeviceType.Descriptor instead.
func (User_DeviceType) Number ¶
func (x User_DeviceType) Number() protoreflect.EnumNumber
func (User_DeviceType) String ¶
func (x User_DeviceType) String() string
func (User_DeviceType) Type ¶
func (User_DeviceType) Type() protoreflect.EnumType
type User_MimeType ¶
type User_MimeType int32
const ( User_MIME_TYPE_UNSPECIFIED User_MimeType = 0 User_MIME_TYPE_IMAGE_PNG User_MimeType = 1 User_MIME_TYPE_IMAGE_XML_SVG User_MimeType = 2 )
func (User_MimeType) Descriptor ¶
func (User_MimeType) Descriptor() protoreflect.EnumDescriptor
func (User_MimeType) Enum ¶
func (x User_MimeType) Enum() *User_MimeType
func (User_MimeType) EnumDescriptor
deprecated
func (User_MimeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use User_MimeType.Descriptor instead.
func (User_MimeType) Number ¶
func (x User_MimeType) Number() protoreflect.EnumNumber
func (User_MimeType) String ¶
func (x User_MimeType) String() string
func (User_MimeType) Type ¶
func (User_MimeType) Type() protoreflect.EnumType
type User_OmitPrefix ¶
type User_OmitPrefix int32
const ( User_OMIT_PREFIX_UNSPECIFIED User_OmitPrefix = 0 User_FOO User_OmitPrefix = 1 User_BAR User_OmitPrefix = 2 )
func (User_OmitPrefix) Descriptor ¶
func (User_OmitPrefix) Descriptor() protoreflect.EnumDescriptor
func (User_OmitPrefix) Enum ¶
func (x User_OmitPrefix) Enum() *User_OmitPrefix
func (User_OmitPrefix) EnumDescriptor
deprecated
func (User_OmitPrefix) EnumDescriptor() ([]byte, []int)
Deprecated: Use User_OmitPrefix.Descriptor instead.
func (User_OmitPrefix) Number ¶
func (x User_OmitPrefix) Number() protoreflect.EnumNumber
func (User_OmitPrefix) String ¶
func (x User_OmitPrefix) String() string
func (User_OmitPrefix) Type ¶
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