projects

package
v3.12.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_strmprivacy_api_projects_v1_projects_v1_proto protoreflect.FileDescriptor
View Source
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: "ArchiveProject",
			Handler:    _ProjectsService_ArchiveProject_Handler,
		},
		{
			MethodName: "GetProject",
			Handler:    _ProjectsService_GetProject_Handler,
		},
		{
			MethodName: "AddProjectMembers",
			Handler:    _ProjectsService_AddProjectMembers_Handler,
		},
		{
			MethodName: "RemoveProjectMembers",
			Handler:    _ProjectsService_RemoveProjectMembers_Handler,
		},
		{
			MethodName: "ListProjectMembers",
			Handler:    _ProjectsService_ListProjectMembers_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 AddProjectMembersRequest

type AddProjectMembersRequest struct {
	Emails    []string `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"`
	ProjectId string   `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddProjectMembersRequest) Descriptor deprecated

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

Deprecated: Use AddProjectMembersRequest.ProtoReflect.Descriptor instead.

func (*AddProjectMembersRequest) GetEmails

func (x *AddProjectMembersRequest) GetEmails() []string

func (*AddProjectMembersRequest) GetProjectId

func (x *AddProjectMembersRequest) GetProjectId() string

func (*AddProjectMembersRequest) ProtoMessage

func (*AddProjectMembersRequest) ProtoMessage()

func (*AddProjectMembersRequest) ProtoReflect

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

func (*AddProjectMembersRequest) Reset

func (x *AddProjectMembersRequest) Reset()

func (*AddProjectMembersRequest) String

func (x *AddProjectMembersRequest) String() string

type AddProjectMembersResponse

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

func (*AddProjectMembersResponse) Descriptor deprecated

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

Deprecated: Use AddProjectMembersResponse.ProtoReflect.Descriptor instead.

func (*AddProjectMembersResponse) ProtoMessage

func (*AddProjectMembersResponse) ProtoMessage()

func (*AddProjectMembersResponse) ProtoReflect

func (*AddProjectMembersResponse) Reset

func (x *AddProjectMembersResponse) Reset()

func (*AddProjectMembersResponse) String

func (x *AddProjectMembersResponse) String() string

type ArchiveProjectRequest added in v3.11.0

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

func (*ArchiveProjectRequest) Descriptor deprecated added in v3.11.0

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

Deprecated: Use ArchiveProjectRequest.ProtoReflect.Descriptor instead.

func (*ArchiveProjectRequest) GetProjectId added in v3.11.0

func (x *ArchiveProjectRequest) GetProjectId() string

func (*ArchiveProjectRequest) ProtoMessage added in v3.11.0

func (*ArchiveProjectRequest) ProtoMessage()

func (*ArchiveProjectRequest) ProtoReflect added in v3.11.0

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

func (*ArchiveProjectRequest) Reset added in v3.11.0

func (x *ArchiveProjectRequest) Reset()

func (*ArchiveProjectRequest) String added in v3.11.0

func (x *ArchiveProjectRequest) String() string

type ArchiveProjectResponse added in v3.11.0

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

func (*ArchiveProjectResponse) Descriptor deprecated added in v3.11.0

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

Deprecated: Use ArchiveProjectResponse.ProtoReflect.Descriptor instead.

func (*ArchiveProjectResponse) ProtoMessage added in v3.11.0

func (*ArchiveProjectResponse) ProtoMessage()

func (*ArchiveProjectResponse) ProtoReflect added in v3.11.0

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

func (*ArchiveProjectResponse) Reset added in v3.11.0

func (x *ArchiveProjectResponse) Reset()

func (*ArchiveProjectResponse) String added in v3.11.0

func (x *ArchiveProjectResponse) String() string

type CreateProjectRequest

type CreateProjectRequest struct {
	Project *v1.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjectRequest) Descriptor deprecated

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

Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.

func (*CreateProjectRequest) GetProject

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

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

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

Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead.

func (*GetProjectRequest) GetProjectId

func (x *GetProjectRequest) GetProjectId() string

func (*GetProjectRequest) ProtoMessage

func (*GetProjectRequest) ProtoMessage()

func (*GetProjectRequest) ProtoReflect

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

func (*GetProjectRequest) Reset

func (x *GetProjectRequest) Reset()

func (*GetProjectRequest) String

func (x *GetProjectRequest) String() string

type GetProjectResponse

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

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

Deprecated: Use GetProjectResponse.ProtoReflect.Descriptor instead.

func (*GetProjectResponse) GetProject

func (x *GetProjectResponse) GetProject() *v1.Project

func (*GetProjectResponse) ProtoMessage

func (*GetProjectResponse) ProtoMessage()

func (*GetProjectResponse) ProtoReflect

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

func (*GetProjectResponse) Reset

func (x *GetProjectResponse) Reset()

func (*GetProjectResponse) String

func (x *GetProjectResponse) String() string

type ListProjectMembersRequest

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

func (*ListProjectMembersRequest) Descriptor deprecated

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

Deprecated: Use ListProjectMembersRequest.ProtoReflect.Descriptor instead.

func (*ListProjectMembersRequest) GetProjectId

func (x *ListProjectMembersRequest) GetProjectId() string

func (*ListProjectMembersRequest) ProtoMessage

func (*ListProjectMembersRequest) ProtoMessage()

func (*ListProjectMembersRequest) ProtoReflect

func (*ListProjectMembersRequest) Reset

func (x *ListProjectMembersRequest) Reset()

func (*ListProjectMembersRequest) String

func (x *ListProjectMembersRequest) String() string

type ListProjectMembersResponse

type ListProjectMembersResponse struct {
	ProjectMembers []*v1.User `protobuf:"bytes,1,rep,name=project_members,json=projectMembers,proto3" json:"project_members,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectMembersResponse) Descriptor deprecated

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

Deprecated: Use ListProjectMembersResponse.ProtoReflect.Descriptor instead.

func (*ListProjectMembersResponse) GetProjectMembers

func (x *ListProjectMembersResponse) GetProjectMembers() []*v1.User

func (*ListProjectMembersResponse) ProtoMessage

func (*ListProjectMembersResponse) ProtoMessage()

func (*ListProjectMembersResponse) ProtoReflect

func (*ListProjectMembersResponse) Reset

func (x *ListProjectMembersResponse) Reset()

func (*ListProjectMembersResponse) String

func (x *ListProjectMembersResponse) 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

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.

type ProjectsServiceServer

ProjectsServiceServer is the server API for ProjectsService service. All implementations should embed UnimplementedProjectsServiceServer for forward compatibility

type RemoveProjectMembersRequest

type RemoveProjectMembersRequest struct {
	Emails    []string `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"`
	ProjectId string   `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveProjectMembersRequest) Descriptor deprecated

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

Deprecated: Use RemoveProjectMembersRequest.ProtoReflect.Descriptor instead.

func (*RemoveProjectMembersRequest) GetEmails

func (x *RemoveProjectMembersRequest) GetEmails() []string

func (*RemoveProjectMembersRequest) GetProjectId

func (x *RemoveProjectMembersRequest) GetProjectId() string

func (*RemoveProjectMembersRequest) ProtoMessage

func (*RemoveProjectMembersRequest) ProtoMessage()

func (*RemoveProjectMembersRequest) ProtoReflect

func (*RemoveProjectMembersRequest) Reset

func (x *RemoveProjectMembersRequest) Reset()

func (*RemoveProjectMembersRequest) String

func (x *RemoveProjectMembersRequest) String() string

type RemoveProjectMembersResponse

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

func (*RemoveProjectMembersResponse) Descriptor deprecated

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

Deprecated: Use RemoveProjectMembersResponse.ProtoReflect.Descriptor instead.

func (*RemoveProjectMembersResponse) ProtoMessage

func (*RemoveProjectMembersResponse) ProtoMessage()

func (*RemoveProjectMembersResponse) ProtoReflect

func (*RemoveProjectMembersResponse) Reset

func (x *RemoveProjectMembersResponse) Reset()

func (*RemoveProjectMembersResponse) String

type UnimplementedProjectsServiceServer

type UnimplementedProjectsServiceServer struct {
}

UnimplementedProjectsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedProjectsServiceServer) AddProjectMembers

func (UnimplementedProjectsServiceServer) ArchiveProject added in v3.11.0

func (UnimplementedProjectsServiceServer) CreateProject

func (UnimplementedProjectsServiceServer) DeleteProject

func (UnimplementedProjectsServiceServer) GetProject

func (UnimplementedProjectsServiceServer) ListProjectMembers

func (UnimplementedProjectsServiceServer) ListProjects

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.

Jump to

Keyboard shortcuts

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