Class HttpJsonContainerAnalysisV1Beta1Stub (2.69.0)

publicclass HttpJsonContainerAnalysisV1Beta1StubextendsContainerAnalysisV1Beta1Stub

REST stub implementation for the ContainerAnalysisV1Beta1 service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > ContainerAnalysisV1Beta1Stub > HttpJsonContainerAnalysisV1Beta1Stub

Static Methods

create(ClientContext clientContext)

publicstaticfinalHttpJsonContainerAnalysisV1Beta1Stubcreate(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonContainerAnalysisV1Beta1Stub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

publicstaticfinalHttpJsonContainerAnalysisV1Beta1Stubcreate(ClientContextclientContext,HttpJsonStubCallableFactorycallableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonContainerAnalysisV1Beta1Stub
Exceptions
Type Description
IOException

create(ContainerAnalysisV1Beta1StubSettings settings)

publicstaticfinalHttpJsonContainerAnalysisV1Beta1Stubcreate(ContainerAnalysisV1Beta1StubSettingssettings)
Parameter
Name Description
settings ContainerAnalysisV1Beta1StubSettings
Returns
Type Description
HttpJsonContainerAnalysisV1Beta1Stub
Exceptions
Type Description
IOException

getMethodDescriptors()

publicstaticList<ApiMethodDescriptor>getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonContainerAnalysisV1Beta1Stub(ContainerAnalysisV1Beta1StubSettings settings, ClientContext clientContext)

protectedHttpJsonContainerAnalysisV1Beta1Stub(ContainerAnalysisV1Beta1StubSettingssettings,ClientContextclientContext)

Constructs an instance of HttpJsonContainerAnalysisV1Beta1Stub, 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 ContainerAnalysisV1Beta1StubSettings
clientContext ClientContext

HttpJsonContainerAnalysisV1Beta1Stub(ContainerAnalysisV1Beta1StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protectedHttpJsonContainerAnalysisV1Beta1Stub(ContainerAnalysisV1Beta1StubSettingssettings,ClientContextclientContext,HttpJsonStubCallableFactorycallableFactory)

Constructs an instance of HttpJsonContainerAnalysisV1Beta1Stub, 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 ContainerAnalysisV1Beta1StubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

publicbooleanawaitTermination(longduration,TimeUnitunit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

publicfinalvoidclose()
Overrides

exportSBOMCallable()

publicUnaryCallable<ExportSBOMRequest,ExportSBOMResponse>exportSBOMCallable()
Returns
Type Description
UnaryCallable<ExportSBOMRequest,ExportSBOMResponse>
Overrides

generatePackagesSummaryCallable()

publicUnaryCallable<GeneratePackagesSummaryRequest,PackagesSummaryResponse>generatePackagesSummaryCallable()
Returns
Type Description
UnaryCallable<GeneratePackagesSummaryRequest,PackagesSummaryResponse>
Overrides

getIamPolicyCallable()

publicUnaryCallable<GetIamPolicyRequest,Policy>getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

isShutdown()

publicbooleanisShutdown()
Returns
Type Description
boolean

isTerminated()

publicbooleanisTerminated()
Returns
Type Description
boolean

setIamPolicyCallable()

publicUnaryCallable<SetIamPolicyRequest,Policy>setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

publicvoidshutdown()

shutdownNow()

publicvoidshutdownNow()

testIamPermissionsCallable()

publicUnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse>testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.