Class GrpcOsConfigZonalServiceStub
java.lang.Object
com.google.cloud.osconfig.v1.stub.OsConfigZonalServiceStub
com.google.cloud.osconfig.v1.stub.GrpcOsConfigZonalServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcOsConfigZonalServiceStub
extends OsConfigZonalServiceStub
gRPC stub implementation for the OsConfigZonalService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcOsConfigZonalServiceStub, using the given settings.protectedGrpcOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcOsConfigZonalServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcOsConfigZonalServiceStubcreate(ClientContext clientContext) static final GrpcOsConfigZonalServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcOsConfigZonalServiceStubcreate(OsConfigZonalServiceStubSettings settings) OperationCallable<CreateOSPolicyAssignmentRequest,OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> OperationCallable<DeleteOSPolicyAssignmentRequest,com.google.protobuf.Empty, OSPolicyAssignmentOperationMetadata> booleanbooleanUnaryCallable<ListOSPolicyAssignmentReportsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentReportsPagedResponse> UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisionsPagedResponse> UnaryCallable<ListOSPolicyAssignmentsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentsPagedResponse> UnaryCallable<ListVulnerabilityReportsRequest,OsConfigZonalServiceClient.ListVulnerabilityReportsPagedResponse> voidshutdown()voidOperationCallable<UpdateOSPolicyAssignmentRequest,OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> Methods inherited from class com.google.cloud.osconfig.v1.stub.OsConfigZonalServiceStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcOsConfigZonalServiceStub
protected GrpcOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcOsConfigZonalServiceStub, 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
-
GrpcOsConfigZonalServiceStub
protected GrpcOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcOsConfigZonalServiceStub, 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 GrpcOsConfigZonalServiceStub create(OsConfigZonalServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcOsConfigZonalServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcOsConfigZonalServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classOsConfigZonalServiceStub
-
createOSPolicyAssignmentCallable
- Overrides:
createOSPolicyAssignmentCallablein classOsConfigZonalServiceStub
-
createOSPolicyAssignmentOperationCallable
public OperationCallable<CreateOSPolicyAssignmentRequest,OSPolicyAssignment, createOSPolicyAssignmentOperationCallable()OSPolicyAssignmentOperationMetadata> - Overrides:
createOSPolicyAssignmentOperationCallablein classOsConfigZonalServiceStub
-
updateOSPolicyAssignmentCallable
- Overrides:
updateOSPolicyAssignmentCallablein classOsConfigZonalServiceStub
-
updateOSPolicyAssignmentOperationCallable
public OperationCallable<UpdateOSPolicyAssignmentRequest,OSPolicyAssignment, updateOSPolicyAssignmentOperationCallable()OSPolicyAssignmentOperationMetadata> - Overrides:
updateOSPolicyAssignmentOperationCallablein classOsConfigZonalServiceStub
-
getOSPolicyAssignmentCallable
public UnaryCallable<GetOSPolicyAssignmentRequest,OSPolicyAssignment> getOSPolicyAssignmentCallable()- Overrides:
getOSPolicyAssignmentCallablein classOsConfigZonalServiceStub
-
listOSPolicyAssignmentsCallable
public UnaryCallable<ListOSPolicyAssignmentsRequest,ListOSPolicyAssignmentsResponse> listOSPolicyAssignmentsCallable()- Overrides:
listOSPolicyAssignmentsCallablein classOsConfigZonalServiceStub
-
listOSPolicyAssignmentsPagedCallable
public UnaryCallable<ListOSPolicyAssignmentsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsPagedCallable()- Overrides:
listOSPolicyAssignmentsPagedCallablein classOsConfigZonalServiceStub
-
listOSPolicyAssignmentRevisionsCallable
public UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,ListOSPolicyAssignmentRevisionsResponse> listOSPolicyAssignmentRevisionsCallable()- Overrides:
listOSPolicyAssignmentRevisionsCallablein classOsConfigZonalServiceStub
-
listOSPolicyAssignmentRevisionsPagedCallable
public UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsPagedCallable()- Overrides:
listOSPolicyAssignmentRevisionsPagedCallablein classOsConfigZonalServiceStub
-
deleteOSPolicyAssignmentCallable
- Overrides:
deleteOSPolicyAssignmentCallablein classOsConfigZonalServiceStub
-
deleteOSPolicyAssignmentOperationCallable
public OperationCallable<DeleteOSPolicyAssignmentRequest,com.google.protobuf.Empty, deleteOSPolicyAssignmentOperationCallable()OSPolicyAssignmentOperationMetadata> - Overrides:
deleteOSPolicyAssignmentOperationCallablein classOsConfigZonalServiceStub
-
getOSPolicyAssignmentReportCallable
public UnaryCallable<GetOSPolicyAssignmentReportRequest,OSPolicyAssignmentReport> getOSPolicyAssignmentReportCallable()- Overrides:
getOSPolicyAssignmentReportCallablein classOsConfigZonalServiceStub
-
listOSPolicyAssignmentReportsCallable
public UnaryCallable<ListOSPolicyAssignmentReportsRequest,ListOSPolicyAssignmentReportsResponse> listOSPolicyAssignmentReportsCallable()- Overrides:
listOSPolicyAssignmentReportsCallablein classOsConfigZonalServiceStub
-
listOSPolicyAssignmentReportsPagedCallable
public UnaryCallable<ListOSPolicyAssignmentReportsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsPagedCallable()- Overrides:
listOSPolicyAssignmentReportsPagedCallablein classOsConfigZonalServiceStub
-
getInventoryCallable
- Overrides:
getInventoryCallablein classOsConfigZonalServiceStub
-
listInventoriesCallable
- Overrides:
listInventoriesCallablein classOsConfigZonalServiceStub
-
listInventoriesPagedCallable
public UnaryCallable<ListInventoriesRequest,OsConfigZonalServiceClient.ListInventoriesPagedResponse> listInventoriesPagedCallable()- Overrides:
listInventoriesPagedCallablein classOsConfigZonalServiceStub
-
getVulnerabilityReportCallable
public UnaryCallable<GetVulnerabilityReportRequest,VulnerabilityReport> getVulnerabilityReportCallable()- Overrides:
getVulnerabilityReportCallablein classOsConfigZonalServiceStub
-
listVulnerabilityReportsCallable
public UnaryCallable<ListVulnerabilityReportsRequest,ListVulnerabilityReportsResponse> listVulnerabilityReportsCallable()- Overrides:
listVulnerabilityReportsCallablein classOsConfigZonalServiceStub
-
listVulnerabilityReportsPagedCallable
public UnaryCallable<ListVulnerabilityReportsRequest,OsConfigZonalServiceClient.ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsPagedCallable()- Overrides:
listVulnerabilityReportsPagedCallablein classOsConfigZonalServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classOsConfigZonalServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-