@Generated(value="by gapic-generator-java") public class GrpcProjectsStub extends ProjectsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcProjectsStub(ProjectsStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcProjectsStub, using the given settings.
|
protected |
GrpcProjectsStub(ProjectsStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcProjectsStub, using the given settings.
|
getHttpJsonOperationsStub
protected GrpcProjectsStub(ProjectsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcProjectsStub(ProjectsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcProjectsStub create(ProjectsStubSettings settings) throws IOException
IOException
public static final GrpcProjectsStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcProjectsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class ProjectsStub
public UnaryCallable<GetProjectRequest,Project> getProjectCallable()
getProjectCallable
in class ProjectsStub
public UnaryCallable<ListProjectsRequest,ListProjectsResponse> listProjectsCallable()
listProjectsCallable
in class ProjectsStub
public UnaryCallable<ListProjectsRequest,ProjectsClient.ListProjectsPagedResponse> listProjectsPagedCallable()
listProjectsPagedCallable
in class ProjectsStub
public UnaryCallable<SearchProjectsRequest,SearchProjectsResponse> searchProjectsCallable()
searchProjectsCallable
in class ProjectsStub
public UnaryCallable<SearchProjectsRequest,ProjectsClient.SearchProjectsPagedResponse> searchProjectsPagedCallable()
searchProjectsPagedCallable
in class ProjectsStub
public UnaryCallable<CreateProjectRequest,Operation> createProjectCallable()
createProjectCallable
in class ProjectsStub
public OperationCallable<CreateProjectRequest,Project,CreateProjectMetadata> createProjectOperationCallable()
createProjectOperationCallable
in class ProjectsStub
public UnaryCallable<UpdateProjectRequest,Operation> updateProjectCallable()
updateProjectCallable
in class ProjectsStub
public OperationCallable<UpdateProjectRequest,Project,UpdateProjectMetadata> updateProjectOperationCallable()
updateProjectOperationCallable
in class ProjectsStub
public UnaryCallable<MoveProjectRequest,Operation> moveProjectCallable()
moveProjectCallable
in class ProjectsStub
public OperationCallable<MoveProjectRequest,Project,MoveProjectMetadata> moveProjectOperationCallable()
moveProjectOperationCallable
in class ProjectsStub
public UnaryCallable<DeleteProjectRequest,Operation> deleteProjectCallable()
deleteProjectCallable
in class ProjectsStub
public OperationCallable<DeleteProjectRequest,Project,DeleteProjectMetadata> deleteProjectOperationCallable()
deleteProjectOperationCallable
in class ProjectsStub
public UnaryCallable<UndeleteProjectRequest,Operation> undeleteProjectCallable()
undeleteProjectCallable
in class ProjectsStub
public OperationCallable<UndeleteProjectRequest,Project,UndeleteProjectMetadata> undeleteProjectOperationCallable()
undeleteProjectOperationCallable
in class ProjectsStub
public UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable
in class ProjectsStub
public UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable
in class ProjectsStub
public UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable
in class ProjectsStub
public final void close()
close
in interface AutoCloseable
close
in class ProjectsStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.