project_plans

package
v3.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_strmprivacy_api_project_plans_v1_project_plans_v1_proto protoreflect.FileDescriptor
View Source
var ProjectPlansService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "strmprivacy.api.project_plans.v1.ProjectPlansService",
	HandlerType: (*ProjectPlansServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetProjectPlan",
			Handler:    _ProjectPlansService_GetProjectPlan_Handler,
		},
		{
			MethodName: "UpsertProjectPlan",
			Handler:    _ProjectPlansService_UpsertProjectPlan_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "strmprivacy/api/project_plans/v1/project_plans_v1.proto",
}

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

Functions

func RegisterProjectPlansServiceServer

func RegisterProjectPlansServiceServer(s grpc.ServiceRegistrar, srv ProjectPlansServiceServer)

Types

type GetProjectPlanRequest

type GetProjectPlanRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProjectPlanRequest) Descriptor deprecated

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

Deprecated: Use GetProjectPlanRequest.ProtoReflect.Descriptor instead.

func (*GetProjectPlanRequest) GetProjectId

func (x *GetProjectPlanRequest) GetProjectId() string

func (*GetProjectPlanRequest) ProtoMessage

func (*GetProjectPlanRequest) ProtoMessage()

func (*GetProjectPlanRequest) ProtoReflect

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

func (*GetProjectPlanRequest) Reset

func (x *GetProjectPlanRequest) Reset()

func (*GetProjectPlanRequest) String

func (x *GetProjectPlanRequest) String() string

type GetProjectPlanResponse

type GetProjectPlanResponse struct {
	ProjectPlan *v1.ProjectPlan `protobuf:"bytes,1,opt,name=project_plan,json=projectPlan,proto3" json:"project_plan,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProjectPlanResponse) Descriptor deprecated

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

Deprecated: Use GetProjectPlanResponse.ProtoReflect.Descriptor instead.

func (*GetProjectPlanResponse) GetProjectPlan

func (x *GetProjectPlanResponse) GetProjectPlan() *v1.ProjectPlan

func (*GetProjectPlanResponse) ProtoMessage

func (*GetProjectPlanResponse) ProtoMessage()

func (*GetProjectPlanResponse) ProtoReflect

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

func (*GetProjectPlanResponse) Reset

func (x *GetProjectPlanResponse) Reset()

func (*GetProjectPlanResponse) String

func (x *GetProjectPlanResponse) String() string

type ProjectPlansServiceClient

type ProjectPlansServiceClient interface {
	GetProjectPlan(ctx context.Context, in *GetProjectPlanRequest, opts ...grpc.CallOption) (*GetProjectPlanResponse, error)
	UpsertProjectPlan(ctx context.Context, in *UpsertProjectPlanRequest, opts ...grpc.CallOption) (*UpsertProjectPlanResponse, error)
}

ProjectPlansServiceClient is the client API for ProjectPlansService 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 ProjectPlansServiceServer

type ProjectPlansServiceServer interface {
	GetProjectPlan(context.Context, *GetProjectPlanRequest) (*GetProjectPlanResponse, error)
	UpsertProjectPlan(context.Context, *UpsertProjectPlanRequest) (*UpsertProjectPlanResponse, error)
}

ProjectPlansServiceServer is the server API for ProjectPlansService service. All implementations should embed UnimplementedProjectPlansServiceServer for forward compatibility

type UnimplementedProjectPlansServiceServer

type UnimplementedProjectPlansServiceServer struct {
}

UnimplementedProjectPlansServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedProjectPlansServiceServer) GetProjectPlan

func (UnimplementedProjectPlansServiceServer) UpsertProjectPlan

type UnsafeProjectPlansServiceServer

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

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

type UpsertProjectPlanRequest

type UpsertProjectPlanRequest struct {
	ProjectPlan *v1.ProjectPlan `protobuf:"bytes,1,opt,name=project_plan,json=projectPlan,proto3" json:"project_plan,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertProjectPlanRequest) Descriptor deprecated

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

Deprecated: Use UpsertProjectPlanRequest.ProtoReflect.Descriptor instead.

func (*UpsertProjectPlanRequest) GetProjectPlan

func (x *UpsertProjectPlanRequest) GetProjectPlan() *v1.ProjectPlan

func (*UpsertProjectPlanRequest) ProtoMessage

func (*UpsertProjectPlanRequest) ProtoMessage()

func (*UpsertProjectPlanRequest) ProtoReflect

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

func (*UpsertProjectPlanRequest) Reset

func (x *UpsertProjectPlanRequest) Reset()

func (*UpsertProjectPlanRequest) String

func (x *UpsertProjectPlanRequest) String() string

type UpsertProjectPlanResponse

type UpsertProjectPlanResponse struct {
	ProjectPlan *v1.ProjectPlan `protobuf:"bytes,1,opt,name=project_plan,json=projectPlan,proto3" json:"project_plan,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertProjectPlanResponse) Descriptor deprecated

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

Deprecated: Use UpsertProjectPlanResponse.ProtoReflect.Descriptor instead.

func (*UpsertProjectPlanResponse) GetProjectPlan

func (x *UpsertProjectPlanResponse) GetProjectPlan() *v1.ProjectPlan

func (*UpsertProjectPlanResponse) ProtoMessage

func (*UpsertProjectPlanResponse) ProtoMessage()

func (*UpsertProjectPlanResponse) ProtoReflect

func (*UpsertProjectPlanResponse) Reset

func (x *UpsertProjectPlanResponse) Reset()

func (*UpsertProjectPlanResponse) String

func (x *UpsertProjectPlanResponse) String() string

Jump to

Keyboard shortcuts

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