Documentation ¶
Index ¶
- Variables
- func RegisterProjectsServiceServer(s grpc.ServiceRegistrar, srv ProjectsServiceServer)
- type CreateProjectRequest
- func (*CreateProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectRequest) GetProject() *v1.Project
- func (*CreateProjectRequest) ProtoMessage()
- func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProjectRequest) Reset()
- func (x *CreateProjectRequest) String() string
- type CreateProjectResponse
- func (*CreateProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectResponse) GetProject() *v1.Project
- func (*CreateProjectResponse) ProtoMessage()
- func (x *CreateProjectResponse) ProtoReflect() protoreflect.Message
- func (x *CreateProjectResponse) Reset()
- func (x *CreateProjectResponse) String() string
- type DeleteProjectRequest
- func (*DeleteProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProjectRequest) GetProjectId() string
- func (*DeleteProjectRequest) ProtoMessage()
- func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProjectRequest) Reset()
- func (x *DeleteProjectRequest) String() string
- type DeleteProjectResponse
- type GetProjectRequest
- type GetProjectResponse
- func (*GetProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectResponse) GetProject() *v1.Project
- func (*GetProjectResponse) ProtoMessage()
- func (x *GetProjectResponse) ProtoReflect() protoreflect.Message
- func (x *GetProjectResponse) Reset()
- func (x *GetProjectResponse) String() string
- type ListProjectsRequest
- type ListProjectsResponse
- func (*ListProjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectsResponse) GetProjects() []*v1.Project
- func (*ListProjectsResponse) ProtoMessage()
- func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListProjectsResponse) Reset()
- func (x *ListProjectsResponse) String() string
- type ProjectsServiceClient
- type ProjectsServiceServer
- type UnimplementedProjectsServiceServer
- func (UnimplementedProjectsServiceServer) CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error)
- func (UnimplementedProjectsServiceServer) DeleteProject(context.Context, *DeleteProjectRequest) (*DeleteProjectResponse, error)
- func (UnimplementedProjectsServiceServer) GetProject(context.Context, *GetProjectRequest) (*GetProjectResponse, error)
- func (UnimplementedProjectsServiceServer) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
- type UnsafeProjectsServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_strmprivacy_api_projects_v1_projects_v1_proto protoreflect.FileDescriptor
var ProjectsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "strmprivacy.api.projects.v1.ProjectsService", HandlerType: (*ProjectsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListProjects", Handler: _ProjectsService_ListProjects_Handler, }, { MethodName: "CreateProject", Handler: _ProjectsService_CreateProject_Handler, }, { MethodName: "DeleteProject", Handler: _ProjectsService_DeleteProject_Handler, }, { MethodName: "GetProject", Handler: _ProjectsService_GetProject_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "strmprivacy/api/projects/v1/projects_v1.proto", }
ProjectsService_ServiceDesc is the grpc.ServiceDesc for ProjectsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProjectsServiceServer ¶
func RegisterProjectsServiceServer(s grpc.ServiceRegistrar, srv ProjectsServiceServer)
Types ¶
type CreateProjectRequest ¶
type CreateProjectRequest struct { Project *v1.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
(-- api-linter: core::0133::request-resource-field=disabled
aip.dev/not-precedent: As we do not know anything about the project to create yet, create message is empty. --)
func (*CreateProjectRequest) Descriptor
deprecated
func (*CreateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.
func (*CreateProjectRequest) GetProject ¶ added in v2.38.0
func (x *CreateProjectRequest) GetProject() *v1.Project
func (*CreateProjectRequest) ProtoMessage ¶
func (*CreateProjectRequest) ProtoMessage()
func (*CreateProjectRequest) ProtoReflect ¶
func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
func (*CreateProjectRequest) Reset ¶
func (x *CreateProjectRequest) Reset()
func (*CreateProjectRequest) String ¶
func (x *CreateProjectRequest) String() string
type CreateProjectResponse ¶
type CreateProjectResponse struct { Project *v1.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectResponse) Descriptor
deprecated
func (*CreateProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectResponse.ProtoReflect.Descriptor instead.
func (*CreateProjectResponse) GetProject ¶
func (x *CreateProjectResponse) GetProject() *v1.Project
func (*CreateProjectResponse) ProtoMessage ¶
func (*CreateProjectResponse) ProtoMessage()
func (*CreateProjectResponse) ProtoReflect ¶
func (x *CreateProjectResponse) ProtoReflect() protoreflect.Message
func (*CreateProjectResponse) Reset ¶
func (x *CreateProjectResponse) Reset()
func (*CreateProjectResponse) String ¶
func (x *CreateProjectResponse) String() string
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteProjectRequest) Descriptor
deprecated
func (*DeleteProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.
func (*DeleteProjectRequest) GetProjectId ¶
func (x *DeleteProjectRequest) GetProjectId() string
func (*DeleteProjectRequest) ProtoMessage ¶
func (*DeleteProjectRequest) ProtoMessage()
func (*DeleteProjectRequest) ProtoReflect ¶
func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message
func (*DeleteProjectRequest) Reset ¶
func (x *DeleteProjectRequest) Reset()
func (*DeleteProjectRequest) String ¶
func (x *DeleteProjectRequest) String() string
type DeleteProjectResponse ¶
type DeleteProjectResponse struct {
// contains filtered or unexported fields
}
func (*DeleteProjectResponse) Descriptor
deprecated
func (*DeleteProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectResponse.ProtoReflect.Descriptor instead.
func (*DeleteProjectResponse) ProtoMessage ¶
func (*DeleteProjectResponse) ProtoMessage()
func (*DeleteProjectResponse) ProtoReflect ¶
func (x *DeleteProjectResponse) ProtoReflect() protoreflect.Message
func (*DeleteProjectResponse) Reset ¶
func (x *DeleteProjectResponse) Reset()
func (*DeleteProjectResponse) String ¶
func (x *DeleteProjectResponse) String() string
type GetProjectRequest ¶ added in v2.44.0
type GetProjectRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*GetProjectRequest) Descriptor
deprecated
added in
v2.44.0
func (*GetProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead.
func (*GetProjectRequest) GetProjectId ¶ added in v2.44.0
func (x *GetProjectRequest) GetProjectId() string
func (*GetProjectRequest) ProtoMessage ¶ added in v2.44.0
func (*GetProjectRequest) ProtoMessage()
func (*GetProjectRequest) ProtoReflect ¶ added in v2.44.0
func (x *GetProjectRequest) ProtoReflect() protoreflect.Message
func (*GetProjectRequest) Reset ¶ added in v2.44.0
func (x *GetProjectRequest) Reset()
func (*GetProjectRequest) String ¶ added in v2.44.0
func (x *GetProjectRequest) String() string
type GetProjectResponse ¶ added in v2.44.0
type GetProjectResponse struct { Project *v1.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*GetProjectResponse) Descriptor
deprecated
added in
v2.44.0
func (*GetProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectResponse.ProtoReflect.Descriptor instead.
func (*GetProjectResponse) GetProject ¶ added in v2.44.0
func (x *GetProjectResponse) GetProject() *v1.Project
func (*GetProjectResponse) ProtoMessage ¶ added in v2.44.0
func (*GetProjectResponse) ProtoMessage()
func (*GetProjectResponse) ProtoReflect ¶ added in v2.44.0
func (x *GetProjectResponse) ProtoReflect() protoreflect.Message
func (*GetProjectResponse) Reset ¶ added in v2.44.0
func (x *GetProjectResponse) Reset()
func (*GetProjectResponse) String ¶ added in v2.44.0
func (x *GetProjectResponse) String() string
type ListProjectsRequest ¶
type ListProjectsRequest struct {
// contains filtered or unexported fields
}
func (*ListProjectsRequest) Descriptor
deprecated
func (*ListProjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.
func (*ListProjectsRequest) ProtoMessage ¶
func (*ListProjectsRequest) ProtoMessage()
func (*ListProjectsRequest) ProtoReflect ¶
func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message
func (*ListProjectsRequest) Reset ¶
func (x *ListProjectsRequest) Reset()
func (*ListProjectsRequest) String ¶
func (x *ListProjectsRequest) String() string
type ListProjectsResponse ¶
type ListProjectsResponse struct { Projects []*v1.Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // contains filtered or unexported fields }
func (*ListProjectsResponse) Descriptor
deprecated
func (*ListProjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.
func (*ListProjectsResponse) GetProjects ¶
func (x *ListProjectsResponse) GetProjects() []*v1.Project
func (*ListProjectsResponse) ProtoMessage ¶
func (*ListProjectsResponse) ProtoMessage()
func (*ListProjectsResponse) ProtoReflect ¶
func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message
func (*ListProjectsResponse) Reset ¶
func (x *ListProjectsResponse) Reset()
func (*ListProjectsResponse) String ¶
func (x *ListProjectsResponse) String() string
type ProjectsServiceClient ¶
type ProjectsServiceClient interface { ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error) CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*CreateProjectResponse, error) DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*DeleteProjectResponse, error) GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*GetProjectResponse, error) }
ProjectsServiceClient is the client API for ProjectsService 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 NewProjectsServiceClient ¶
func NewProjectsServiceClient(cc grpc.ClientConnInterface) ProjectsServiceClient
type ProjectsServiceServer ¶
type ProjectsServiceServer interface { ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error) CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error) DeleteProject(context.Context, *DeleteProjectRequest) (*DeleteProjectResponse, error) GetProject(context.Context, *GetProjectRequest) (*GetProjectResponse, error) // contains filtered or unexported methods }
ProjectsServiceServer is the server API for ProjectsService service. All implementations must embed UnimplementedProjectsServiceServer for forward compatibility
type UnimplementedProjectsServiceServer ¶
type UnimplementedProjectsServiceServer struct { }
UnimplementedProjectsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedProjectsServiceServer) CreateProject ¶
func (UnimplementedProjectsServiceServer) CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error)
func (UnimplementedProjectsServiceServer) DeleteProject ¶
func (UnimplementedProjectsServiceServer) DeleteProject(context.Context, *DeleteProjectRequest) (*DeleteProjectResponse, error)
func (UnimplementedProjectsServiceServer) GetProject ¶ added in v2.44.0
func (UnimplementedProjectsServiceServer) GetProject(context.Context, *GetProjectRequest) (*GetProjectResponse, error)
func (UnimplementedProjectsServiceServer) ListProjects ¶
func (UnimplementedProjectsServiceServer) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
type UnsafeProjectsServiceServer ¶
type UnsafeProjectsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProjectsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectsServiceServer will result in compilation errors.