Versions in this module Expand all Collapse all v1 v1.0.1 Apr 15, 2024 Changes in this version + var Corpus_name = map[int32]string + var Corpus_value = map[string]int32 + var EchoService_ServiceDesc = grpc.ServiceDesc + var File_echo_service_proto protoreflect.FileDescriptor + var File_stream_proto protoreflect.FileDescriptor + var StreamService_ServiceDesc = grpc.ServiceDesc + func RegisterEchoServiceHTTPServer(s *http.Server, srv EchoServiceHTTPServer) + func RegisterEchoServiceServer(s grpc.ServiceRegistrar, srv EchoServiceServer) + func RegisterStreamServiceServer(s grpc.ServiceRegistrar, srv StreamServiceServer) + type Corpus int32 + const Corpus_IMAGES + const Corpus_LOCAL + const Corpus_NEWS + const Corpus_PRODUCTS + const Corpus_UNIVERSAL + const Corpus_VIDEO + const Corpus_WEB + func (Corpus) Descriptor() protoreflect.EnumDescriptor + func (Corpus) EnumDescriptor() ([]byte, []int) + func (Corpus) Type() protoreflect.EnumType + func (x Corpus) Enum() *Corpus + func (x Corpus) Number() protoreflect.EnumNumber + func (x Corpus) String() string + type DynamicMessage struct + StructField *structpb.Struct + ValueField *structpb.Value + func (*DynamicMessage) Descriptor() ([]byte, []int) + func (*DynamicMessage) ProtoMessage() + func (x *DynamicMessage) GetStructField() *structpb.Struct + func (x *DynamicMessage) GetValueField() *structpb.Value + func (x *DynamicMessage) ProtoReflect() protoreflect.Message + func (x *DynamicMessage) Reset() + func (x *DynamicMessage) String() string + type DynamicMessageUpdate struct + Body *DynamicMessage + UpdateMask *fieldmaskpb.FieldMask + func (*DynamicMessageUpdate) Descriptor() ([]byte, []int) + func (*DynamicMessageUpdate) ProtoMessage() + func (x *DynamicMessageUpdate) GetBody() *DynamicMessage + func (x *DynamicMessageUpdate) GetUpdateMask() *fieldmaskpb.FieldMask + func (x *DynamicMessageUpdate) ProtoReflect() protoreflect.Message + func (x *DynamicMessageUpdate) Reset() + func (x *DynamicMessageUpdate) String() string + type EchoServiceClient interface + Echo func(ctx context.Context, in *SimpleMessage, opts ...grpc.CallOption) (*SimpleMessage, error) + EchoBody func(ctx context.Context, in *SimpleMessage, opts ...grpc.CallOption) (*SimpleMessage, error) + EchoDelete func(ctx context.Context, in *SimpleMessage, opts ...grpc.CallOption) (*SimpleMessage, error) + EchoPatch func(ctx context.Context, in *DynamicMessageUpdate, opts ...grpc.CallOption) (*DynamicMessageUpdate, error) + EchoResponseBody func(ctx context.Context, in *DynamicMessageUpdate, opts ...grpc.CallOption) (*DynamicMessageUpdate, error) + func NewEchoServiceClient(cc grpc.ClientConnInterface) EchoServiceClient + type EchoServiceHTTPClient interface + Echo func(ctx context.Context, req *SimpleMessage, opts ...http.CallOption) (rsp *SimpleMessage, err error) + EchoBody func(ctx context.Context, req *SimpleMessage, opts ...http.CallOption) (rsp *SimpleMessage, err error) + EchoDelete func(ctx context.Context, req *SimpleMessage, opts ...http.CallOption) (rsp *SimpleMessage, err error) + EchoPatch func(ctx context.Context, req *DynamicMessageUpdate, opts ...http.CallOption) (rsp *DynamicMessageUpdate, err error) + EchoResponseBody func(ctx context.Context, req *DynamicMessageUpdate, opts ...http.CallOption) (rsp *DynamicMessageUpdate, err error) + func NewEchoServiceHTTPClient(client *http.Client) EchoServiceHTTPClient + type EchoServiceHTTPClientImpl struct + func (c *EchoServiceHTTPClientImpl) Echo(ctx context.Context, in *SimpleMessage, opts ...http.CallOption) (*SimpleMessage, error) + func (c *EchoServiceHTTPClientImpl) EchoBody(ctx context.Context, in *SimpleMessage, opts ...http.CallOption) (*SimpleMessage, error) + func (c *EchoServiceHTTPClientImpl) EchoDelete(ctx context.Context, in *SimpleMessage, opts ...http.CallOption) (*SimpleMessage, error) + func (c *EchoServiceHTTPClientImpl) EchoPatch(ctx context.Context, in *DynamicMessageUpdate, opts ...http.CallOption) (*DynamicMessageUpdate, error) + func (c *EchoServiceHTTPClientImpl) EchoResponseBody(ctx context.Context, in *DynamicMessageUpdate, opts ...http.CallOption) (*DynamicMessageUpdate, error) + type EchoServiceHTTPServer interface + Echo func(context.Context, *SimpleMessage) (*SimpleMessage, error) + EchoBody func(context.Context, *SimpleMessage) (*SimpleMessage, error) + EchoDelete func(context.Context, *SimpleMessage) (*SimpleMessage, error) + EchoPatch func(context.Context, *DynamicMessageUpdate) (*DynamicMessageUpdate, error) + EchoResponseBody func(context.Context, *DynamicMessageUpdate) (*DynamicMessageUpdate, error) + type EchoServiceServer interface + Echo func(context.Context, *SimpleMessage) (*SimpleMessage, error) + EchoBody func(context.Context, *SimpleMessage) (*SimpleMessage, error) + EchoDelete func(context.Context, *SimpleMessage) (*SimpleMessage, error) + EchoPatch func(context.Context, *DynamicMessageUpdate) (*DynamicMessageUpdate, error) + EchoResponseBody func(context.Context, *DynamicMessageUpdate) (*DynamicMessageUpdate, error) + type Embedded struct + Mark isEmbedded_Mark + func (*Embedded) Descriptor() ([]byte, []int) + func (*Embedded) ProtoMessage() + func (m *Embedded) GetMark() isEmbedded_Mark + func (x *Embedded) GetNote() string + func (x *Embedded) GetProgress() int64 + func (x *Embedded) ProtoReflect() protoreflect.Message + func (x *Embedded) Reset() + func (x *Embedded) String() string + type Embedded_Note struct + Note string + type Embedded_Progress struct + Progress int64 + type SimpleMessage struct + Code isSimpleMessage_Code + Corpus Corpus + Ext isSimpleMessage_Ext + Id string + Num int64 + Status *Embedded + func (*SimpleMessage) Descriptor() ([]byte, []int) + func (*SimpleMessage) ProtoMessage() + func (m *SimpleMessage) GetCode() isSimpleMessage_Code + func (m *SimpleMessage) GetExt() isSimpleMessage_Ext + func (x *SimpleMessage) GetCorpus() Corpus + func (x *SimpleMessage) GetEn() int64 + func (x *SimpleMessage) GetId() string + func (x *SimpleMessage) GetLang() string + func (x *SimpleMessage) GetLineNum() int64 + func (x *SimpleMessage) GetNo() *Embedded + func (x *SimpleMessage) GetNum() int64 + func (x *SimpleMessage) GetStatus() *Embedded + func (x *SimpleMessage) ProtoReflect() protoreflect.Message + func (x *SimpleMessage) Reset() + func (x *SimpleMessage) String() string + type SimpleMessage_En struct + En int64 + type SimpleMessage_Lang struct + Lang string + type SimpleMessage_LineNum struct + LineNum int64 + type SimpleMessage_No struct + No *Embedded + type StreamServiceClient interface + Download func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (StreamService_DownloadClient, error) + func NewStreamServiceClient(cc grpc.ClientConnInterface) StreamServiceClient + type StreamServiceServer interface + Download func(*emptypb.Empty, StreamService_DownloadServer) error + type StreamService_DownloadClient interface + Recv func() (*httpbody.HttpBody, error) + type StreamService_DownloadServer interface + Send func(*httpbody.HttpBody) error + type UnimplementedEchoServiceServer struct + func (UnimplementedEchoServiceServer) Echo(context.Context, *SimpleMessage) (*SimpleMessage, error) + func (UnimplementedEchoServiceServer) EchoBody(context.Context, *SimpleMessage) (*SimpleMessage, error) + func (UnimplementedEchoServiceServer) EchoDelete(context.Context, *SimpleMessage) (*SimpleMessage, error) + func (UnimplementedEchoServiceServer) EchoPatch(context.Context, *DynamicMessageUpdate) (*DynamicMessageUpdate, error) + func (UnimplementedEchoServiceServer) EchoResponseBody(context.Context, *DynamicMessageUpdate) (*DynamicMessageUpdate, error) + type UnimplementedStreamServiceServer struct + func (UnimplementedStreamServiceServer) Download(*emptypb.Empty, StreamService_DownloadServer) error + type UnsafeEchoServiceServer interface + type UnsafeStreamServiceServer interface