Package com.buildless.service.v1
Class ProjectsGrpc.ProjectsStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ProjectsGrpc.ProjectsStub>
com.buildless.service.v1.ProjectsGrpc.ProjectsStub
- Enclosing class:
ProjectsGrpc
public static final class ProjectsGrpc.ProjectsStub
extends io.grpc.stub.AbstractAsyncStub<ProjectsGrpc.ProjectsStub>
A stub to allow clients to do asynchronous rpc calls to service Projects.
Defines the API surface for the Buildless Projects service.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected ProjectsGrpc.ProjectsStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateProject(CreateProjectRequest request, io.grpc.stub.StreamObserver<CreateProjectResponse> responseObserver) ## Create Project Create a new Buildless cache project from scratch.voidfetchProject(ProjectFetchRequest request, io.grpc.stub.StreamObserver<ProjectFetchResponse> responseObserver) ## Fetch Project Retrieve a project by its assigned name or key; if the project cannot be found, return a `NOT_FOUND` error instead.voidlistProjects(ListProjectsRequest request, io.grpc.stub.StreamObserver<ListProjectsResponse> responseObserver) ## List Projects Retrieve a list of projects accessible to the authenticated user; this endpoint will list projects based on the current account scope and effective set of applicable policies or permissions.voidnewProjectAdvice(ProjectCreateAdviceRequest request, io.grpc.stub.StreamObserver<ProjectCreateAdviceResponse> responseObserver) ## Create Project: Advice Obtain server-provided advice during a project creation workflow; this includes the scopes to which the user has access to create projects, their quota status, and other information which can be used to inform the user during scope selection and project setup.voidnewProjectNameCheck(ProjectCheckNameRequest request, io.grpc.stub.StreamObserver<ProjectCheckNameResponse> responseObserver) ## Create Project: Check Name Check uniqueness of a name nominated for use with a new project.voidnewProjectNameGenerate(ProjectGenerateNameRequest request, io.grpc.stub.StreamObserver<ProjectGenerateNameResponse> responseObserver) ## Create Project: Generate Name Generate another name for use with a new Buildless project.voidprojectArchive(ProjectArchiveRequest request, io.grpc.stub.StreamObserver<ProjectArchiveResponse> responseObserver) ## Archive Project Archive a project, which will prevent it from being used for new data, but will not delete the underlying data.voidprojectDelete(ProjectDeleteRequest request, io.grpc.stub.StreamObserver<ProjectDeleteResponse> responseObserver) ## Delete Project Marks a project for soft-deletion.voidupdateProjectSettings(UpdateProjectSettingsRequest request, io.grpc.stub.StreamObserver<UpdateProjectSettingsResponse> responseObserver) ## Update Project Settings Update the settings for a project, including, potentially, its visibility mode, isolation mode, and other metadata.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
buildin classio.grpc.stub.AbstractStub<ProjectsGrpc.ProjectsStub>
-
listProjects
public void listProjects(ListProjectsRequest request, io.grpc.stub.StreamObserver<ListProjectsResponse> responseObserver) ## List Projects Retrieve a list of projects accessible to the authenticated user; this endpoint will list projects based on the current account scope and effective set of applicable policies or permissions.
-
fetchProject
public void fetchProject(ProjectFetchRequest request, io.grpc.stub.StreamObserver<ProjectFetchResponse> responseObserver) ## Fetch Project Retrieve a project by its assigned name or key; if the project cannot be found, return a `NOT_FOUND` error instead. This endpoint returns the full suite of information available for a project.
-
newProjectNameCheck
public void newProjectNameCheck(ProjectCheckNameRequest request, io.grpc.stub.StreamObserver<ProjectCheckNameResponse> responseObserver) ## Create Project: Check Name Check uniqueness of a name nominated for use with a new project. This endpoint returns a `CONFLICT` error if the name is already in use. Names obtained via the name generator can be used without additional checks.
-
newProjectNameGenerate
public void newProjectNameGenerate(ProjectGenerateNameRequest request, io.grpc.stub.StreamObserver<ProjectGenerateNameResponse> responseObserver) ## Create Project: Generate Name Generate another name for use with a new Buildless project. This method is only employed if the first name provided by creation advice is rejected by the user.
-
newProjectAdvice
public void newProjectAdvice(ProjectCreateAdviceRequest request, io.grpc.stub.StreamObserver<ProjectCreateAdviceResponse> responseObserver) ## Create Project: Advice Obtain server-provided advice during a project creation workflow; this includes the scopes to which the user has access to create projects, their quota status, and other information which can be used to inform the user during scope selection and project setup.
-
createProject
public void createProject(CreateProjectRequest request, io.grpc.stub.StreamObserver<CreateProjectResponse> responseObserver) ## Create Project Create a new Buildless cache project from scratch. The `dry` flag can be provided to execute a verification run instead of actually creating the underlying record. Once created, a finished record is returned, with an assigned key and other metadata.
-
updateProjectSettings
public void updateProjectSettings(UpdateProjectSettingsRequest request, io.grpc.stub.StreamObserver<UpdateProjectSettingsResponse> responseObserver) ## Update Project Settings Update the settings for a project, including, potentially, its visibility mode, isolation mode, and other metadata. This endpoint expects either delta record which only contains the updates to apply; before applying such updates, the project settings are fetched in a transaction.
-
projectArchive
public void projectArchive(ProjectArchiveRequest request, io.grpc.stub.StreamObserver<ProjectArchiveResponse> responseObserver) ## Archive Project Archive a project, which will prevent it from being used for new data, but will not delete the underlying data.
-
projectDelete
public void projectDelete(ProjectDeleteRequest request, io.grpc.stub.StreamObserver<ProjectDeleteResponse> responseObserver) ## Delete Project Marks a project for soft-deletion. To be eligible for deletion, a project must already be in an archived state.
-