Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterPpsMoParserServiceServer(s grpc.ServiceRegistrar, srv PpsMoParserServiceServer)
- type ParseMoTextRequest
- func (*ParseMoTextRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ParseMoTextRequest) GetArg0() string
- func (*ParseMoTextRequest) ProtoMessage()
- func (x *ParseMoTextRequest) ProtoReflect() protoreflect.Message
- func (x *ParseMoTextRequest) Reset()
- func (x *ParseMoTextRequest) String() string
- type ParseMoTextResponse
- func (*ParseMoTextResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ParseMoTextResponse) GetResult() int64
- func (*ParseMoTextResponse) ProtoMessage()
- func (x *ParseMoTextResponse) ProtoReflect() protoreflect.Message
- func (x *ParseMoTextResponse) Reset()
- func (x *ParseMoTextResponse) String() string
- type PpsMoParserServiceClient
- type PpsMoParserServiceServer
- type UnimplementedPpsMoParserServiceServer
- type UnsafePpsMoParserServiceServer
Constants ¶
const (
PpsMoParserService_ParseMoText_FullMethodName = "/omadm.PpsMoParserService/ParseMoText"
)
Variables ¶
var File_proto_omadm_omadm_proto protoreflect.FileDescriptor
var PpsMoParserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "omadm.PpsMoParserService", HandlerType: (*PpsMoParserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ParseMoText", Handler: _PpsMoParserService_ParseMoText_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/omadm/omadm.proto", }
PpsMoParserService_ServiceDesc is the grpc.ServiceDesc for PpsMoParserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPpsMoParserServiceServer ¶
func RegisterPpsMoParserServiceServer(s grpc.ServiceRegistrar, srv PpsMoParserServiceServer)
Types ¶
type ParseMoTextRequest ¶
type ParseMoTextRequest struct {
Arg0 string `protobuf:"bytes,1,opt,name=arg0,proto3" json:"arg0,omitempty"`
// contains filtered or unexported fields
}
func (*ParseMoTextRequest) Descriptor
deprecated
func (*ParseMoTextRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParseMoTextRequest.ProtoReflect.Descriptor instead.
func (*ParseMoTextRequest) GetArg0 ¶
func (x *ParseMoTextRequest) GetArg0() string
func (*ParseMoTextRequest) ProtoMessage ¶
func (*ParseMoTextRequest) ProtoMessage()
func (*ParseMoTextRequest) ProtoReflect ¶
func (x *ParseMoTextRequest) ProtoReflect() protoreflect.Message
func (*ParseMoTextRequest) Reset ¶
func (x *ParseMoTextRequest) Reset()
func (*ParseMoTextRequest) String ¶
func (x *ParseMoTextRequest) String() string
type ParseMoTextResponse ¶
type ParseMoTextResponse struct {
Result int64 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}
func (*ParseMoTextResponse) Descriptor
deprecated
func (*ParseMoTextResponse) Descriptor() ([]byte, []int)
Deprecated: Use ParseMoTextResponse.ProtoReflect.Descriptor instead.
func (*ParseMoTextResponse) GetResult ¶
func (x *ParseMoTextResponse) GetResult() int64
func (*ParseMoTextResponse) ProtoMessage ¶
func (*ParseMoTextResponse) ProtoMessage()
func (*ParseMoTextResponse) ProtoReflect ¶
func (x *ParseMoTextResponse) ProtoReflect() protoreflect.Message
func (*ParseMoTextResponse) Reset ¶
func (x *ParseMoTextResponse) Reset()
func (*ParseMoTextResponse) String ¶
func (x *ParseMoTextResponse) String() string
type PpsMoParserServiceClient ¶
type PpsMoParserServiceClient interface {
ParseMoText(ctx context.Context, in *ParseMoTextRequest, opts ...grpc.CallOption) (*ParseMoTextResponse, error)
}
PpsMoParserServiceClient is the client API for PpsMoParserService 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 NewPpsMoParserServiceClient ¶
func NewPpsMoParserServiceClient(cc grpc.ClientConnInterface) PpsMoParserServiceClient
type PpsMoParserServiceServer ¶
type PpsMoParserServiceServer interface {
ParseMoText(context.Context, *ParseMoTextRequest) (*ParseMoTextResponse, error)
// contains filtered or unexported methods
}
PpsMoParserServiceServer is the server API for PpsMoParserService service. All implementations must embed UnimplementedPpsMoParserServiceServer for forward compatibility.
type UnimplementedPpsMoParserServiceServer ¶
type UnimplementedPpsMoParserServiceServer struct{}
UnimplementedPpsMoParserServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPpsMoParserServiceServer) ParseMoText ¶
func (UnimplementedPpsMoParserServiceServer) ParseMoText(context.Context, *ParseMoTextRequest) (*ParseMoTextResponse, error)
type UnsafePpsMoParserServiceServer ¶
type UnsafePpsMoParserServiceServer interface {
// contains filtered or unexported methods
}
UnsafePpsMoParserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PpsMoParserServiceServer will result in compilation errors.