@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonProjectsStub extends ProjectsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonProjectsStub(ProjectsStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonProjectsStub, using the given settings.
|
protected |
HttpJsonProjectsStub(ProjectsStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonProjectsStub, using the given settings.
|
getOperationsStub
protected HttpJsonProjectsStub(ProjectsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonProjectsStub(ProjectsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonProjectsStub create(ProjectsStubSettings settings) throws IOException
IOException
public static final HttpJsonProjectsStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonProjectsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub
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.