agenttraining

package
v1.7.28 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentTrainingService_CreateLearningOpportunity_FullMethodName = "/api.v1alpha1.agenttraining.AgentTrainingService/CreateLearningOpportunity"
	AgentTrainingService_ListLearningOpportunities_FullMethodName = "/api.v1alpha1.agenttraining.AgentTrainingService/ListLearningOpportunities"
)

Variables

View Source
var AgentTrainingService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v1alpha1.agenttraining.AgentTrainingService",
	HandlerType: (*AgentTrainingServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateLearningOpportunity",
			Handler:    _AgentTrainingService_CreateLearningOpportunity_Handler,
		},
		{
			MethodName: "ListLearningOpportunities",
			Handler:    _AgentTrainingService_ListLearningOpportunities_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1alpha1/agenttraining/service.proto",
}

AgentTrainingService_ServiceDesc is the grpc.ServiceDesc for AgentTrainingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_api_v1alpha1_agenttraining_learning_opportunity_proto protoreflect.FileDescriptor
View Source
var File_api_v1alpha1_agenttraining_service_proto protoreflect.FileDescriptor

Functions

func RegisterAgentTrainingServiceServer

func RegisterAgentTrainingServiceServer(s grpc.ServiceRegistrar, srv AgentTrainingServiceServer)

Types

type AgentTrainingServiceClient

type AgentTrainingServiceClient interface {
	// CreateLearningOpportunity creates a new learning opportunity.
	CreateLearningOpportunity(ctx context.Context, in *CreateLearningOpportunityRequest, opts ...grpc.CallOption) (*CreateLearningOpportunityResponse, error)
	// ListLearningOpportunities lists learning opportunities.
	ListLearningOpportunities(ctx context.Context, in *ListLearningOpportunitiesRequest, opts ...grpc.CallOption) (*ListLearningOpportunitiesResponse, error)
}

AgentTrainingServiceClient is the client API for AgentTrainingService 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.

type AgentTrainingServiceServer

type AgentTrainingServiceServer interface {
	// CreateLearningOpportunity creates a new learning opportunity.
	CreateLearningOpportunity(context.Context, *CreateLearningOpportunityRequest) (*CreateLearningOpportunityResponse, error)
	// ListLearningOpportunities lists learning opportunities.
	ListLearningOpportunities(context.Context, *ListLearningOpportunitiesRequest) (*ListLearningOpportunitiesResponse, error)
	// contains filtered or unexported methods
}

AgentTrainingServiceServer is the server API for AgentTrainingService service. All implementations must embed UnimplementedAgentTrainingServiceServer for forward compatibility

type CreateLearningOpportunityRequest

type CreateLearningOpportunityRequest struct {
	LearningOpportunity *commons.LearningOpportunity `protobuf:"bytes,1,opt,name=learning_opportunity,json=learningOpportunity,proto3" json:"learning_opportunity,omitempty"`
	// contains filtered or unexported fields
}

CreateLearningOpportunityRequest represents a request to create a new learning opportunity.

func (*CreateLearningOpportunityRequest) Descriptor deprecated

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

Deprecated: Use CreateLearningOpportunityRequest.ProtoReflect.Descriptor instead.

func (*CreateLearningOpportunityRequest) GetLearningOpportunity

func (x *CreateLearningOpportunityRequest) GetLearningOpportunity() *commons.LearningOpportunity

func (*CreateLearningOpportunityRequest) ProtoMessage

func (*CreateLearningOpportunityRequest) ProtoMessage()

func (*CreateLearningOpportunityRequest) ProtoReflect

func (*CreateLearningOpportunityRequest) Reset

func (*CreateLearningOpportunityRequest) String

type CreateLearningOpportunityResponse

type CreateLearningOpportunityResponse struct {
	LearningOpportunity *commons.LearningOpportunity `protobuf:"bytes,1,opt,name=learning_opportunity,json=learningOpportunity,proto3" json:"learning_opportunity,omitempty"`
	// contains filtered or unexported fields
}

CreateLearningOpportunityResponse represents the created learning opportunity.

func (*CreateLearningOpportunityResponse) Descriptor deprecated

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

Deprecated: Use CreateLearningOpportunityResponse.ProtoReflect.Descriptor instead.

func (*CreateLearningOpportunityResponse) GetLearningOpportunity

func (x *CreateLearningOpportunityResponse) GetLearningOpportunity() *commons.LearningOpportunity

func (*CreateLearningOpportunityResponse) ProtoMessage

func (*CreateLearningOpportunityResponse) ProtoMessage()

func (*CreateLearningOpportunityResponse) ProtoReflect

func (*CreateLearningOpportunityResponse) Reset

func (*CreateLearningOpportunityResponse) String

type ListLearningOpportunitiesRequest

type ListLearningOpportunitiesRequest struct {
	// contains filtered or unexported fields
}

ListLearningOpportunitiesRequest represents a request to list learning opportunities.

func (*ListLearningOpportunitiesRequest) Descriptor deprecated

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

Deprecated: Use ListLearningOpportunitiesRequest.ProtoReflect.Descriptor instead.

func (*ListLearningOpportunitiesRequest) ProtoMessage

func (*ListLearningOpportunitiesRequest) ProtoMessage()

func (*ListLearningOpportunitiesRequest) ProtoReflect

func (*ListLearningOpportunitiesRequest) Reset

func (*ListLearningOpportunitiesRequest) String

type ListLearningOpportunitiesResponse

type ListLearningOpportunitiesResponse struct {
	LearningOpportunities []*commons.LearningOpportunity `protobuf:"bytes,1,rep,name=learning_opportunities,json=learningOpportunities,proto3" json:"learning_opportunities,omitempty"`
	// contains filtered or unexported fields
}

ListLearningOpportunitiesResponse represents the listed learning opportunities.

func (*ListLearningOpportunitiesResponse) Descriptor deprecated

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

Deprecated: Use ListLearningOpportunitiesResponse.ProtoReflect.Descriptor instead.

func (*ListLearningOpportunitiesResponse) GetLearningOpportunities

func (x *ListLearningOpportunitiesResponse) GetLearningOpportunities() []*commons.LearningOpportunity

func (*ListLearningOpportunitiesResponse) ProtoMessage

func (*ListLearningOpportunitiesResponse) ProtoMessage()

func (*ListLearningOpportunitiesResponse) ProtoReflect

func (*ListLearningOpportunitiesResponse) Reset

func (*ListLearningOpportunitiesResponse) String

type UnimplementedAgentTrainingServiceServer

type UnimplementedAgentTrainingServiceServer struct {
}

UnimplementedAgentTrainingServiceServer must be embedded to have forward compatible implementations.

type UnsafeAgentTrainingServiceServer

type UnsafeAgentTrainingServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAgentTrainingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentTrainingServiceServer will result in compilation errors.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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