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.
Static Methods
create(ClientContext clientContext)
public static final GrpcOsConfigZonalServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcOsConfigZonalServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(OsConfigZonalServiceStubSettings settings)
public static final GrpcOsConfigZonalServiceStub create(OsConfigZonalServiceStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext)
protected GrpcOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext)
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.
Parameters
GrpcOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcOsConfigZonalServiceStub(OsConfigZonalServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createOSPolicyAssignmentCallable()
public UnaryCallable<CreateOSPolicyAssignmentRequest,Operation> createOSPolicyAssignmentCallable()
Returns
Overrides
createOSPolicyAssignmentOperationCallable()
public OperationCallable<CreateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationCallable()
Returns
Overrides
deleteOSPolicyAssignmentCallable()
public UnaryCallable<DeleteOSPolicyAssignmentRequest,Operation> deleteOSPolicyAssignmentCallable()
Returns
Overrides
deleteOSPolicyAssignmentOperationCallable()
public OperationCallable<DeleteOSPolicyAssignmentRequest,Empty,OSPolicyAssignmentOperationMetadata> deleteOSPolicyAssignmentOperationCallable()
Returns
Overrides
getInstanceOSPoliciesComplianceCallable()
public UnaryCallable<GetInstanceOSPoliciesComplianceRequest,InstanceOSPoliciesCompliance> getInstanceOSPoliciesComplianceCallable()
Returns
Overrides
getInventoryCallable()
public UnaryCallable<GetInventoryRequest,Inventory> getInventoryCallable()
Returns
Overrides
getOSPolicyAssignmentCallable()
public UnaryCallable<GetOSPolicyAssignmentRequest,OSPolicyAssignment> getOSPolicyAssignmentCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
getVulnerabilityReportCallable()
public UnaryCallable<GetVulnerabilityReportRequest,VulnerabilityReport> getVulnerabilityReportCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listInstanceOSPoliciesCompliancesCallable()
public UnaryCallable<ListInstanceOSPoliciesCompliancesRequest,ListInstanceOSPoliciesCompliancesResponse> listInstanceOSPoliciesCompliancesCallable()
Returns
Overrides
listInstanceOSPoliciesCompliancesPagedCallable()
public UnaryCallable<ListInstanceOSPoliciesCompliancesRequest,OsConfigZonalServiceClient.ListInstanceOSPoliciesCompliancesPagedResponse> listInstanceOSPoliciesCompliancesPagedCallable()
Returns
Overrides
listInventoriesCallable()
public UnaryCallable<ListInventoriesRequest,ListInventoriesResponse> listInventoriesCallable()
Returns
Overrides
listInventoriesPagedCallable()
public UnaryCallable<ListInventoriesRequest,OsConfigZonalServiceClient.ListInventoriesPagedResponse> listInventoriesPagedCallable()
Returns
Overrides
listOSPolicyAssignmentRevisionsCallable()
public UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,ListOSPolicyAssignmentRevisionsResponse> listOSPolicyAssignmentRevisionsCallable()
Returns
Overrides
listOSPolicyAssignmentRevisionsPagedCallable()
public UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsPagedCallable()
Returns
Overrides
listOSPolicyAssignmentsCallable()
public UnaryCallable<ListOSPolicyAssignmentsRequest,ListOSPolicyAssignmentsResponse> listOSPolicyAssignmentsCallable()
Returns
Overrides
listOSPolicyAssignmentsPagedCallable()
public UnaryCallable<ListOSPolicyAssignmentsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsPagedCallable()
Returns
Overrides
listVulnerabilityReportsCallable()
public UnaryCallable<ListVulnerabilityReportsRequest,ListVulnerabilityReportsResponse> listVulnerabilityReportsCallable()
Returns
Overrides
listVulnerabilityReportsPagedCallable()
public UnaryCallable<ListVulnerabilityReportsRequest,OsConfigZonalServiceClient.ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateOSPolicyAssignmentCallable()
public UnaryCallable<UpdateOSPolicyAssignmentRequest,Operation> updateOSPolicyAssignmentCallable()
Returns
Overrides
updateOSPolicyAssignmentOperationCallable()
public OperationCallable<UpdateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationCallable()
Returns
Overrides