Class GrpcOsConfigZonalServiceStub (2.36.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcOsConfigZonalServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcOsConfigZonalServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcOsConfigZonalServiceStub
Exceptions
TypeDescription
IOException

create(OsConfigZonalServiceStubSettings settings)

public static final GrpcOsConfigZonalServiceStub create(OsConfigZonalServiceStubSettings settings)
Parameter
NameDescription
settingsOsConfigZonalServiceStubSettings
Returns
TypeDescription
GrpcOsConfigZonalServiceStub
Exceptions
TypeDescription
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
NameDescription
settingsOsConfigZonalServiceStubSettings
clientContextClientContext

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
NameDescription
settingsOsConfigZonalServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createOSPolicyAssignmentCallable()

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

createOSPolicyAssignmentOperationCallable()

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

deleteOSPolicyAssignmentCallable()

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

deleteOSPolicyAssignmentOperationCallable()

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

getInstanceOSPoliciesComplianceCallable()

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

getInventoryCallable()

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

getOSPolicyAssignmentCallable()

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

getOSPolicyAssignmentReportCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getVulnerabilityReportCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listInstanceOSPoliciesCompliancesCallable()

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

listInstanceOSPoliciesCompliancesPagedCallable()

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

listInventoriesCallable()

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

listInventoriesPagedCallable()

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

listOSPolicyAssignmentReportsCallable()

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

listOSPolicyAssignmentReportsPagedCallable()

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

listOSPolicyAssignmentRevisionsCallable()

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

listOSPolicyAssignmentRevisionsPagedCallable()

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

listOSPolicyAssignmentsCallable()

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

listOSPolicyAssignmentsPagedCallable()

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

listVulnerabilityReportsCallable()

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

listVulnerabilityReportsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateOSPolicyAssignmentCallable()

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

updateOSPolicyAssignmentOperationCallable()

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