Documentation
¶
Index ¶
- Variables
- func RegisterJourneysDataServiceServer(s grpc.ServiceRegistrar, srv JourneysDataServiceServer)
- type GetJourneysNlqRequest
- func (*GetJourneysNlqRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetJourneysNlqRequest) GetPrompt() string
- func (*GetJourneysNlqRequest) ProtoMessage()
- func (x *GetJourneysNlqRequest) ProtoReflect() protoreflect.Message
- func (x *GetJourneysNlqRequest) Reset()
- func (x *GetJourneysNlqRequest) String() string
- type GetJourneysNlqResponse
- func (*GetJourneysNlqResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetJourneysNlqResponse) GetResult() string
- func (x *GetJourneysNlqResponse) GetResultFormat() ResultFormat
- func (x *GetJourneysNlqResponse) GetResultType() ResultType
- func (*GetJourneysNlqResponse) ProtoMessage()
- func (x *GetJourneysNlqResponse) ProtoReflect() protoreflect.Message
- func (x *GetJourneysNlqResponse) Reset()
- func (x *GetJourneysNlqResponse) String() string
- type JourneysDataServiceClient
- type JourneysDataServiceServer
- type ResultFormat
- func (ResultFormat) Descriptor() protoreflect.EnumDescriptor
- func (x ResultFormat) Enum() *ResultFormat
- func (ResultFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResultFormat) Number() protoreflect.EnumNumber
- func (x ResultFormat) String() string
- func (ResultFormat) Type() protoreflect.EnumType
- type ResultType
- type UnimplementedJourneysDataServiceServer
- type UnsafeJourneysDataServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( ResultType_name = map[int32]string{ 0: "RESULT_TYPE_UNSPECIFIED", 1: "RESULT_TYPE_ERROR", 2: "RESULT_TYPE_DE_QUERY_OBJECT", 3: "RESULT_TYPE_ME_QUERY_OBJECT", 4: "RESULT_TYPE_KNOWLEDGE_BASE", 5: "RESULT_TYPE_DDOS_ALERTS", } ResultType_value = map[string]int32{ "RESULT_TYPE_UNSPECIFIED": 0, "RESULT_TYPE_ERROR": 1, "RESULT_TYPE_DE_QUERY_OBJECT": 2, "RESULT_TYPE_ME_QUERY_OBJECT": 3, "RESULT_TYPE_KNOWLEDGE_BASE": 4, "RESULT_TYPE_DDOS_ALERTS": 5, } )
Enum value maps for ResultType.
var ( ResultFormat_name = map[int32]string{ 0: "RESULT_FORMAT_UNSPECIFIED", 1: "RESULT_FORMAT_JSON", 2: "RESULT_FORMAT_MARKDOWN", 3: "RESULT_FORMAT_PLAIN_TEXT", } ResultFormat_value = map[string]int32{ "RESULT_FORMAT_UNSPECIFIED": 0, "RESULT_FORMAT_JSON": 1, "RESULT_FORMAT_MARKDOWN": 2, "RESULT_FORMAT_PLAIN_TEXT": 3, } )
Enum value maps for ResultFormat.
var File_kentik_journeys_v202406_journeys_proto protoreflect.FileDescriptor
var JourneysDataService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kentik.journeys.v202406.JourneysDataService", HandlerType: (*JourneysDataServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetJourneysNlq", Handler: _JourneysDataService_GetJourneysNlq_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "kentik/journeys/v202406/journeys.proto", }
JourneysDataService_ServiceDesc is the grpc.ServiceDesc for JourneysDataService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterJourneysDataServiceServer ¶
func RegisterJourneysDataServiceServer(s grpc.ServiceRegistrar, srv JourneysDataServiceServer)
Types ¶
type GetJourneysNlqRequest ¶
type GetJourneysNlqRequest struct { Prompt string `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"` // contains filtered or unexported fields }
{{.Name}}
func (*GetJourneysNlqRequest) Descriptor
deprecated
func (*GetJourneysNlqRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetJourneysNlqRequest.ProtoReflect.Descriptor instead.
func (*GetJourneysNlqRequest) GetPrompt ¶
func (x *GetJourneysNlqRequest) GetPrompt() string
func (*GetJourneysNlqRequest) ProtoMessage ¶
func (*GetJourneysNlqRequest) ProtoMessage()
func (*GetJourneysNlqRequest) ProtoReflect ¶
func (x *GetJourneysNlqRequest) ProtoReflect() protoreflect.Message
func (*GetJourneysNlqRequest) Reset ¶
func (x *GetJourneysNlqRequest) Reset()
func (*GetJourneysNlqRequest) String ¶
func (x *GetJourneysNlqRequest) String() string
type GetJourneysNlqResponse ¶
type GetJourneysNlqResponse struct { Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` ResultType ResultType `` /* 132-byte string literal not displayed */ ResultFormat ResultFormat `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
{{.Name}}
func (*GetJourneysNlqResponse) Descriptor
deprecated
func (*GetJourneysNlqResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetJourneysNlqResponse.ProtoReflect.Descriptor instead.
func (*GetJourneysNlqResponse) GetResult ¶
func (x *GetJourneysNlqResponse) GetResult() string
func (*GetJourneysNlqResponse) GetResultFormat ¶
func (x *GetJourneysNlqResponse) GetResultFormat() ResultFormat
func (*GetJourneysNlqResponse) GetResultType ¶
func (x *GetJourneysNlqResponse) GetResultType() ResultType
func (*GetJourneysNlqResponse) ProtoMessage ¶
func (*GetJourneysNlqResponse) ProtoMessage()
func (*GetJourneysNlqResponse) ProtoReflect ¶
func (x *GetJourneysNlqResponse) ProtoReflect() protoreflect.Message
func (*GetJourneysNlqResponse) Reset ¶
func (x *GetJourneysNlqResponse) Reset()
func (*GetJourneysNlqResponse) String ¶
func (x *GetJourneysNlqResponse) String() string
type JourneysDataServiceClient ¶
type JourneysDataServiceClient interface {
GetJourneysNlq(ctx context.Context, in *GetJourneysNlqRequest, opts ...grpc.CallOption) (*GetJourneysNlqResponse, error)
}
JourneysDataServiceClient is the client API for JourneysDataService 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 NewJourneysDataServiceClient ¶
func NewJourneysDataServiceClient(cc grpc.ClientConnInterface) JourneysDataServiceClient
type JourneysDataServiceServer ¶
type JourneysDataServiceServer interface {
GetJourneysNlq(context.Context, *GetJourneysNlqRequest) (*GetJourneysNlqResponse, error)
}
JourneysDataServiceServer is the server API for JourneysDataService service. All implementations should embed UnimplementedJourneysDataServiceServer for forward compatibility
type ResultFormat ¶
type ResultFormat int32
const ( ResultFormat_RESULT_FORMAT_UNSPECIFIED ResultFormat = 0 ResultFormat_RESULT_FORMAT_JSON ResultFormat = 1 ResultFormat_RESULT_FORMAT_MARKDOWN ResultFormat = 2 ResultFormat_RESULT_FORMAT_PLAIN_TEXT ResultFormat = 3 )
func (ResultFormat) Descriptor ¶
func (ResultFormat) Descriptor() protoreflect.EnumDescriptor
func (ResultFormat) Enum ¶
func (x ResultFormat) Enum() *ResultFormat
func (ResultFormat) EnumDescriptor
deprecated
func (ResultFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResultFormat.Descriptor instead.
func (ResultFormat) Number ¶
func (x ResultFormat) Number() protoreflect.EnumNumber
func (ResultFormat) String ¶
func (x ResultFormat) String() string
func (ResultFormat) Type ¶
func (ResultFormat) Type() protoreflect.EnumType
type ResultType ¶
type ResultType int32
const ( ResultType_RESULT_TYPE_UNSPECIFIED ResultType = 0 ResultType_RESULT_TYPE_ERROR ResultType = 1 ResultType_RESULT_TYPE_DE_QUERY_OBJECT ResultType = 2 ResultType_RESULT_TYPE_ME_QUERY_OBJECT ResultType = 3 ResultType_RESULT_TYPE_KNOWLEDGE_BASE ResultType = 4 ResultType_RESULT_TYPE_DDOS_ALERTS ResultType = 5 )
func (ResultType) Descriptor ¶
func (ResultType) Descriptor() protoreflect.EnumDescriptor
func (ResultType) Enum ¶
func (x ResultType) Enum() *ResultType
func (ResultType) EnumDescriptor
deprecated
func (ResultType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResultType.Descriptor instead.
func (ResultType) Number ¶
func (x ResultType) Number() protoreflect.EnumNumber
func (ResultType) String ¶
func (x ResultType) String() string
func (ResultType) Type ¶
func (ResultType) Type() protoreflect.EnumType
type UnimplementedJourneysDataServiceServer ¶
type UnimplementedJourneysDataServiceServer struct { }
UnimplementedJourneysDataServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedJourneysDataServiceServer) GetJourneysNlq ¶
func (UnimplementedJourneysDataServiceServer) GetJourneysNlq(context.Context, *GetJourneysNlqRequest) (*GetJourneysNlqResponse, error)
type UnsafeJourneysDataServiceServer ¶
type UnsafeJourneysDataServiceServer interface {
// contains filtered or unexported methods
}
UnsafeJourneysDataServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to JourneysDataServiceServer will result in compilation errors.