Class GrpcSecurityPostureStub
java.lang.Object
com.google.cloud.securityposture.v1.stub.SecurityPostureStub
com.google.cloud.securityposture.v1.stub.GrpcSecurityPostureStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcSecurityPostureStub
extends SecurityPostureStub
gRPC stub implementation for the SecurityPosture service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcSecurityPostureStub(SecurityPostureStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcSecurityPostureStub, using the given settings.protectedGrpcSecurityPostureStub(SecurityPostureStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcSecurityPostureStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcSecurityPostureStubcreate(ClientContext clientContext) static final GrpcSecurityPostureStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcSecurityPostureStubcreate(SecurityPostureStubSettings settings) OperationCallable<DeletePostureDeploymentRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeletePostureRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanUnaryCallable<ListPostureDeploymentsRequest,SecurityPostureClient.ListPostureDeploymentsPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.securityposture.v1.stub.SecurityPostureStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcSecurityPostureStub
protected GrpcSecurityPostureStub(SecurityPostureStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcSecurityPostureStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcSecurityPostureStub
protected GrpcSecurityPostureStub(SecurityPostureStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcSecurityPostureStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcSecurityPostureStub create(SecurityPostureStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcSecurityPostureStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classSecurityPostureStub
-
listPosturesCallable
- Overrides:
listPosturesCallablein classSecurityPostureStub
-
listPosturesPagedCallable
public UnaryCallable<ListPosturesRequest,SecurityPostureClient.ListPosturesPagedResponse> listPosturesPagedCallable()- Overrides:
listPosturesPagedCallablein classSecurityPostureStub
-
listPostureRevisionsCallable
public UnaryCallable<ListPostureRevisionsRequest,ListPostureRevisionsResponse> listPostureRevisionsCallable()- Overrides:
listPostureRevisionsCallablein classSecurityPostureStub
-
listPostureRevisionsPagedCallable
public UnaryCallable<ListPostureRevisionsRequest,SecurityPostureClient.ListPostureRevisionsPagedResponse> listPostureRevisionsPagedCallable()- Overrides:
listPostureRevisionsPagedCallablein classSecurityPostureStub
-
getPostureCallable
- Overrides:
getPostureCallablein classSecurityPostureStub
-
createPostureCallable
- Overrides:
createPostureCallablein classSecurityPostureStub
-
createPostureOperationCallable
public OperationCallable<CreatePostureRequest,Posture, createPostureOperationCallable()OperationMetadata> - Overrides:
createPostureOperationCallablein classSecurityPostureStub
-
updatePostureCallable
- Overrides:
updatePostureCallablein classSecurityPostureStub
-
updatePostureOperationCallable
public OperationCallable<UpdatePostureRequest,Posture, updatePostureOperationCallable()OperationMetadata> - Overrides:
updatePostureOperationCallablein classSecurityPostureStub
-
deletePostureCallable
- Overrides:
deletePostureCallablein classSecurityPostureStub
-
deletePostureOperationCallable
public OperationCallable<DeletePostureRequest,com.google.protobuf.Empty, deletePostureOperationCallable()OperationMetadata> - Overrides:
deletePostureOperationCallablein classSecurityPostureStub
-
extractPostureCallable
- Overrides:
extractPostureCallablein classSecurityPostureStub
-
extractPostureOperationCallable
public OperationCallable<ExtractPostureRequest,Posture, extractPostureOperationCallable()OperationMetadata> - Overrides:
extractPostureOperationCallablein classSecurityPostureStub
-
listPostureDeploymentsCallable
public UnaryCallable<ListPostureDeploymentsRequest,ListPostureDeploymentsResponse> listPostureDeploymentsCallable()- Overrides:
listPostureDeploymentsCallablein classSecurityPostureStub
-
listPostureDeploymentsPagedCallable
public UnaryCallable<ListPostureDeploymentsRequest,SecurityPostureClient.ListPostureDeploymentsPagedResponse> listPostureDeploymentsPagedCallable()- Overrides:
listPostureDeploymentsPagedCallablein classSecurityPostureStub
-
getPostureDeploymentCallable
- Overrides:
getPostureDeploymentCallablein classSecurityPostureStub
-
createPostureDeploymentCallable
- Overrides:
createPostureDeploymentCallablein classSecurityPostureStub
-
createPostureDeploymentOperationCallable
public OperationCallable<CreatePostureDeploymentRequest,PostureDeployment, createPostureDeploymentOperationCallable()OperationMetadata> - Overrides:
createPostureDeploymentOperationCallablein classSecurityPostureStub
-
updatePostureDeploymentCallable
- Overrides:
updatePostureDeploymentCallablein classSecurityPostureStub
-
updatePostureDeploymentOperationCallable
public OperationCallable<UpdatePostureDeploymentRequest,PostureDeployment, updatePostureDeploymentOperationCallable()OperationMetadata> - Overrides:
updatePostureDeploymentOperationCallablein classSecurityPostureStub
-
deletePostureDeploymentCallable
- Overrides:
deletePostureDeploymentCallablein classSecurityPostureStub
-
deletePostureDeploymentOperationCallable
public OperationCallable<DeletePostureDeploymentRequest,com.google.protobuf.Empty, deletePostureDeploymentOperationCallable()OperationMetadata> - Overrides:
deletePostureDeploymentOperationCallablein classSecurityPostureStub
-
listPostureTemplatesCallable
public UnaryCallable<ListPostureTemplatesRequest,ListPostureTemplatesResponse> listPostureTemplatesCallable()- Overrides:
listPostureTemplatesCallablein classSecurityPostureStub
-
listPostureTemplatesPagedCallable
public UnaryCallable<ListPostureTemplatesRequest,SecurityPostureClient.ListPostureTemplatesPagedResponse> listPostureTemplatesPagedCallable()- Overrides:
listPostureTemplatesPagedCallablein classSecurityPostureStub
-
getPostureTemplateCallable
- Overrides:
getPostureTemplateCallablein classSecurityPostureStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classSecurityPostureStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,SecurityPostureClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classSecurityPostureStub
-
getLocationCallable
- Overrides:
getLocationCallablein classSecurityPostureStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classSecurityPostureStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-