pb

package
v0.0.0-...-a9c0f88 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_normalization_proto protoreflect.FileDescriptor

Functions

func RegisterNormalizationServiceServer

func RegisterNormalizationServiceServer(s *grpc.Server, srv NormalizationServiceServer)

Types

type NormalizationRequest

type NormalizationRequest struct {
	Input string `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	// contains filtered or unexported fields
}

func (*NormalizationRequest) Descriptor deprecated

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

Deprecated: Use NormalizationRequest.ProtoReflect.Descriptor instead.

func (*NormalizationRequest) GetInput

func (x *NormalizationRequest) GetInput() string

func (*NormalizationRequest) ProtoMessage

func (*NormalizationRequest) ProtoMessage()

func (*NormalizationRequest) ProtoReflect

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

func (*NormalizationRequest) Reset

func (x *NormalizationRequest) Reset()

func (*NormalizationRequest) String

func (x *NormalizationRequest) String() string

type NormalizationResponse

type NormalizationResponse struct {
	NormalizedInput string `protobuf:"bytes,1,opt,name=normalized_input,json=normalizedInput,proto3" json:"normalized_input,omitempty"`
	Error           string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*NormalizationResponse) Descriptor deprecated

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

Deprecated: Use NormalizationResponse.ProtoReflect.Descriptor instead.

func (*NormalizationResponse) GetError

func (x *NormalizationResponse) GetError() string

func (*NormalizationResponse) GetNormalizedInput

func (x *NormalizationResponse) GetNormalizedInput() string

func (*NormalizationResponse) ProtoMessage

func (*NormalizationResponse) ProtoMessage()

func (*NormalizationResponse) ProtoReflect

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

func (*NormalizationResponse) Reset

func (x *NormalizationResponse) Reset()

func (*NormalizationResponse) String

func (x *NormalizationResponse) String() string

type NormalizationServiceClient

type NormalizationServiceClient interface {
	Normalize(ctx context.Context, in *NormalizationRequest, opts ...grpc.CallOption) (*NormalizationResponse, error)
}

NormalizationServiceClient is the client API for NormalizationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type NormalizationServiceServer

type NormalizationServiceServer interface {
	Normalize(context.Context, *NormalizationRequest) (*NormalizationResponse, error)
}

NormalizationServiceServer is the server API for NormalizationService service.

type UnimplementedNormalizationServiceServer

type UnimplementedNormalizationServiceServer struct {
}

UnimplementedNormalizationServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedNormalizationServiceServer) Normalize

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL