Class GrpcOsConfigZonalServiceStub (2.56.0)

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.

Inheritance

java.lang.Object > OsConfigZonalServiceStub > GrpcOsConfigZonalServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcOsConfigZonalServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcOsConfigZonalServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcOsConfigZonalServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcOsConfigZonalServiceStub
Exceptions
Type Description
IOException

create(OsConfigZonalServiceStubSettings settings)

public static final GrpcOsConfigZonalServiceStub create(OsConfigZonalServiceStubSettings settings)
Parameter
Name Description
settings OsConfigZonalServiceStubSettings
Returns
Type Description
GrpcOsConfigZonalServiceStub
Exceptions
Type Description
IOException

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
Name Description
settings OsConfigZonalServiceStubSettings
clientContext ClientContext

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
Name Description
settings OsConfigZonalServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createOSPolicyAssignmentCallable()

public UnaryCallable<CreateOSPolicyAssignmentRequest,Operation> createOSPolicyAssignmentCallable()
Returns
Type Description
UnaryCallable<CreateOSPolicyAssignmentRequest,Operation>
Overrides

createOSPolicyAssignmentOperationCallable()

public OperationCallable<CreateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata> createOSPolicyAssignmentOperationCallable()
Returns
Type Description
OperationCallable<CreateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata>
Overrides

deleteOSPolicyAssignmentCallable()

public UnaryCallable<DeleteOSPolicyAssignmentRequest,Operation> deleteOSPolicyAssignmentCallable()
Returns
Type Description
UnaryCallable<DeleteOSPolicyAssignmentRequest,Operation>
Overrides

deleteOSPolicyAssignmentOperationCallable()

public OperationCallable<DeleteOSPolicyAssignmentRequest,Empty,OSPolicyAssignmentOperationMetadata> deleteOSPolicyAssignmentOperationCallable()
Returns
Type Description
OperationCallable<DeleteOSPolicyAssignmentRequest,Empty,OSPolicyAssignmentOperationMetadata>
Overrides

getInstanceOSPoliciesComplianceCallable()

public UnaryCallable<GetInstanceOSPoliciesComplianceRequest,InstanceOSPoliciesCompliance> getInstanceOSPoliciesComplianceCallable()
Returns
Type Description
UnaryCallable<GetInstanceOSPoliciesComplianceRequest,InstanceOSPoliciesCompliance>
Overrides

getInventoryCallable()

public UnaryCallable<GetInventoryRequest,Inventory> getInventoryCallable()
Returns
Type Description
UnaryCallable<GetInventoryRequest,Inventory>
Overrides

getOSPolicyAssignmentCallable()

public UnaryCallable<GetOSPolicyAssignmentRequest,OSPolicyAssignment> getOSPolicyAssignmentCallable()
Returns
Type Description
UnaryCallable<GetOSPolicyAssignmentRequest,OSPolicyAssignment>
Overrides

getOSPolicyAssignmentReportCallable()

public UnaryCallable<GetOSPolicyAssignmentReportRequest,OSPolicyAssignmentReport> getOSPolicyAssignmentReportCallable()
Returns
Type Description
UnaryCallable<GetOSPolicyAssignmentReportRequest,OSPolicyAssignmentReport>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getVulnerabilityReportCallable()

public UnaryCallable<GetVulnerabilityReportRequest,VulnerabilityReport> getVulnerabilityReportCallable()
Returns
Type Description
UnaryCallable<GetVulnerabilityReportRequest,VulnerabilityReport>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listInstanceOSPoliciesCompliancesCallable()

public UnaryCallable<ListInstanceOSPoliciesCompliancesRequest,ListInstanceOSPoliciesCompliancesResponse> listInstanceOSPoliciesCompliancesCallable()
Returns
Type Description
UnaryCallable<ListInstanceOSPoliciesCompliancesRequest,ListInstanceOSPoliciesCompliancesResponse>
Overrides

listInstanceOSPoliciesCompliancesPagedCallable()

public UnaryCallable<ListInstanceOSPoliciesCompliancesRequest,OsConfigZonalServiceClient.ListInstanceOSPoliciesCompliancesPagedResponse> listInstanceOSPoliciesCompliancesPagedCallable()
Returns
Type Description
UnaryCallable<ListInstanceOSPoliciesCompliancesRequest,ListInstanceOSPoliciesCompliancesPagedResponse>
Overrides

listInventoriesCallable()

public UnaryCallable<ListInventoriesRequest,ListInventoriesResponse> listInventoriesCallable()
Returns
Type Description
UnaryCallable<ListInventoriesRequest,ListInventoriesResponse>
Overrides

listInventoriesPagedCallable()

public UnaryCallable<ListInventoriesRequest,OsConfigZonalServiceClient.ListInventoriesPagedResponse> listInventoriesPagedCallable()
Returns
Type Description
UnaryCallable<ListInventoriesRequest,ListInventoriesPagedResponse>
Overrides

listOSPolicyAssignmentReportsCallable()

public UnaryCallable<ListOSPolicyAssignmentReportsRequest,ListOSPolicyAssignmentReportsResponse> listOSPolicyAssignmentReportsCallable()
Returns
Type Description
UnaryCallable<ListOSPolicyAssignmentReportsRequest,ListOSPolicyAssignmentReportsResponse>
Overrides

listOSPolicyAssignmentReportsPagedCallable()

public UnaryCallable<ListOSPolicyAssignmentReportsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentReportsPagedResponse> listOSPolicyAssignmentReportsPagedCallable()
Returns
Type Description
UnaryCallable<ListOSPolicyAssignmentReportsRequest,ListOSPolicyAssignmentReportsPagedResponse>
Overrides

listOSPolicyAssignmentRevisionsCallable()

public UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,ListOSPolicyAssignmentRevisionsResponse> listOSPolicyAssignmentRevisionsCallable()
Returns
Type Description
UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,ListOSPolicyAssignmentRevisionsResponse>
Overrides

listOSPolicyAssignmentRevisionsPagedCallable()

public UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisionsPagedResponse> listOSPolicyAssignmentRevisionsPagedCallable()
Returns
Type Description
UnaryCallable<ListOSPolicyAssignmentRevisionsRequest,ListOSPolicyAssignmentRevisionsPagedResponse>
Overrides

listOSPolicyAssignmentsCallable()

public UnaryCallable<ListOSPolicyAssignmentsRequest,ListOSPolicyAssignmentsResponse> listOSPolicyAssignmentsCallable()
Returns
Type Description
UnaryCallable<ListOSPolicyAssignmentsRequest,ListOSPolicyAssignmentsResponse>
Overrides

listOSPolicyAssignmentsPagedCallable()

public UnaryCallable<ListOSPolicyAssignmentsRequest,OsConfigZonalServiceClient.ListOSPolicyAssignmentsPagedResponse> listOSPolicyAssignmentsPagedCallable()
Returns
Type Description
UnaryCallable<ListOSPolicyAssignmentsRequest,ListOSPolicyAssignmentsPagedResponse>
Overrides

listVulnerabilityReportsCallable()

public UnaryCallable<ListVulnerabilityReportsRequest,ListVulnerabilityReportsResponse> listVulnerabilityReportsCallable()
Returns
Type Description
UnaryCallable<ListVulnerabilityReportsRequest,ListVulnerabilityReportsResponse>
Overrides

listVulnerabilityReportsPagedCallable()

public UnaryCallable<ListVulnerabilityReportsRequest,OsConfigZonalServiceClient.ListVulnerabilityReportsPagedResponse> listVulnerabilityReportsPagedCallable()
Returns
Type Description
UnaryCallable<ListVulnerabilityReportsRequest,ListVulnerabilityReportsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateOSPolicyAssignmentCallable()

public UnaryCallable<UpdateOSPolicyAssignmentRequest,Operation> updateOSPolicyAssignmentCallable()
Returns
Type Description
UnaryCallable<UpdateOSPolicyAssignmentRequest,Operation>
Overrides

updateOSPolicyAssignmentOperationCallable()

public OperationCallable<UpdateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata> updateOSPolicyAssignmentOperationCallable()
Returns
Type Description
OperationCallable<UpdateOSPolicyAssignmentRequest,OSPolicyAssignment,OSPolicyAssignmentOperationMetadata>
Overrides