job_role_grpc_service

package
v0.0.0-...-e437075 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 9 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_job_role_proto protoreflect.FileDescriptor
View Source
var JobRoleGrpcService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "jobRoleGrpcService",
	HandlerType: (*JobRoleGrpcServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateJobRole",
			Handler:    _JobRoleGrpcService_CreateJobRole_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "job_role.proto",
}

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

Functions

func RegisterJobRoleGrpcServiceServer

func RegisterJobRoleGrpcServiceServer(s grpc.ServiceRegistrar, srv JobRoleGrpcServiceServer)

Types

type CreateJobRoleGrpcRequest

type CreateJobRoleGrpcRequest struct {
	Tenant        string                 `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	JobTitle      string                 `protobuf:"bytes,2,opt,name=jobTitle,proto3" json:"jobTitle,omitempty"`
	Description   *string                `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Primary       *bool                  `protobuf:"varint,4,opt,name=primary,proto3,oneof" json:"primary,omitempty"`
	StartedAt     *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=startedAt,proto3,oneof" json:"startedAt,omitempty"`
	EndedAt       *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=endedAt,proto3,oneof" json:"endedAt,omitempty"`
	AppSource     string                 `protobuf:"bytes,7,opt,name=appSource,proto3" json:"appSource,omitempty"`
	Source        string                 `protobuf:"bytes,8,opt,name=source,proto3" json:"source,omitempty"`
	SourceOfTruth string                 `protobuf:"bytes,9,opt,name=sourceOfTruth,proto3" json:"sourceOfTruth,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateJobRoleGrpcRequest) Descriptor deprecated

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

Deprecated: Use CreateJobRoleGrpcRequest.ProtoReflect.Descriptor instead.

func (*CreateJobRoleGrpcRequest) GetAppSource

func (x *CreateJobRoleGrpcRequest) GetAppSource() string

func (*CreateJobRoleGrpcRequest) GetCreatedAt

func (x *CreateJobRoleGrpcRequest) GetCreatedAt() *timestamppb.Timestamp

func (*CreateJobRoleGrpcRequest) GetDescription

func (x *CreateJobRoleGrpcRequest) GetDescription() string

func (*CreateJobRoleGrpcRequest) GetEndedAt

func (*CreateJobRoleGrpcRequest) GetJobTitle

func (x *CreateJobRoleGrpcRequest) GetJobTitle() string

func (*CreateJobRoleGrpcRequest) GetPrimary

func (x *CreateJobRoleGrpcRequest) GetPrimary() bool

func (*CreateJobRoleGrpcRequest) GetSource

func (x *CreateJobRoleGrpcRequest) GetSource() string

func (*CreateJobRoleGrpcRequest) GetSourceOfTruth

func (x *CreateJobRoleGrpcRequest) GetSourceOfTruth() string

func (*CreateJobRoleGrpcRequest) GetStartedAt

func (x *CreateJobRoleGrpcRequest) GetStartedAt() *timestamppb.Timestamp

func (*CreateJobRoleGrpcRequest) GetTenant

func (x *CreateJobRoleGrpcRequest) GetTenant() string

func (*CreateJobRoleGrpcRequest) ProtoMessage

func (*CreateJobRoleGrpcRequest) ProtoMessage()

func (*CreateJobRoleGrpcRequest) ProtoReflect

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

func (*CreateJobRoleGrpcRequest) Reset

func (x *CreateJobRoleGrpcRequest) Reset()

func (*CreateJobRoleGrpcRequest) String

func (x *CreateJobRoleGrpcRequest) String() string

type JobRoleGrpcServiceClient

type JobRoleGrpcServiceClient interface {
	CreateJobRole(ctx context.Context, in *CreateJobRoleGrpcRequest, opts ...grpc.CallOption) (*JobRoleIdGrpcResponse, error)
}

JobRoleGrpcServiceClient is the client API for JobRoleGrpcService 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 JobRoleGrpcServiceServer

type JobRoleGrpcServiceServer interface {
	CreateJobRole(context.Context, *CreateJobRoleGrpcRequest) (*JobRoleIdGrpcResponse, error)
}

JobRoleGrpcServiceServer is the server API for JobRoleGrpcService service. All implementations should embed UnimplementedJobRoleGrpcServiceServer for forward compatibility

type JobRoleIdGrpcResponse

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

func (*JobRoleIdGrpcResponse) Descriptor deprecated

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

Deprecated: Use JobRoleIdGrpcResponse.ProtoReflect.Descriptor instead.

func (*JobRoleIdGrpcResponse) GetId

func (x *JobRoleIdGrpcResponse) GetId() string

func (*JobRoleIdGrpcResponse) ProtoMessage

func (*JobRoleIdGrpcResponse) ProtoMessage()

func (*JobRoleIdGrpcResponse) ProtoReflect

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

func (*JobRoleIdGrpcResponse) Reset

func (x *JobRoleIdGrpcResponse) Reset()

func (*JobRoleIdGrpcResponse) String

func (x *JobRoleIdGrpcResponse) String() string

type UnimplementedJobRoleGrpcServiceServer

type UnimplementedJobRoleGrpcServiceServer struct {
}

UnimplementedJobRoleGrpcServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedJobRoleGrpcServiceServer) CreateJobRole

type UnsafeJobRoleGrpcServiceServer

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

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

Jump to

Keyboard shortcuts

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