Class ProjectsGrpc.ProjectsBlockingStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ProjectsGrpc.ProjectsBlockingStub>
com.buildless.service.v1.ProjectsGrpc.ProjectsBlockingStub
Enclosing class:
ProjectsGrpc

public static final class ProjectsGrpc.ProjectsBlockingStub extends io.grpc.stub.AbstractBlockingStub<ProjectsGrpc.ProjectsBlockingStub>
A stub to allow clients to do synchronous rpc calls to service Projects.
 Defines the API surface for the Buildless Projects service.
 
  • Method Details

    • build

      protected ProjectsGrpc.ProjectsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ProjectsGrpc.ProjectsBlockingStub>
    • listProjects

      public ListProjectsResponse listProjects(ListProjectsRequest request)
       ## 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 ProjectFetchResponse fetchProject(ProjectFetchRequest request)
       ## 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 ProjectCheckNameResponse newProjectNameCheck(ProjectCheckNameRequest request)
       ## 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 ProjectGenerateNameResponse newProjectNameGenerate(ProjectGenerateNameRequest request)
       ## 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 ProjectCreateAdviceResponse newProjectAdvice(ProjectCreateAdviceRequest request)
       ## 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 CreateProjectResponse createProject(CreateProjectRequest request)
       ## 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 UpdateProjectSettingsResponse updateProjectSettings(UpdateProjectSettingsRequest request)
       ## 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 ProjectArchiveResponse projectArchive(ProjectArchiveRequest request)
       ## Archive Project
       Archive a project, which will prevent it from being used for new data, but will not delete the underlying data.
       
    • projectDelete

      public ProjectDeleteResponse projectDelete(ProjectDeleteRequest request)
       ## Delete Project
       Marks a project for soft-deletion. To be eligible for deletion, a project must already be in an archived state.