Class ProjectsGrpc.ProjectsFutureStub

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

public static final class ProjectsGrpc.ProjectsFutureStub extends io.grpc.stub.AbstractFutureStub<ProjectsGrpc.ProjectsFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Projects.
 Defines the API surface for the Buildless Projects service.
 
  • Method Details

    • build

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

      public com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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.