Class HttpJsonSystemPolicyV1Beta1Stub (1.7.0)

publicclass HttpJsonSystemPolicyV1Beta1StubextendsSystemPolicyV1Beta1Stub

REST stub implementation for the SystemPolicyV1Beta1 service API.

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

Inheritance

java.lang.Object > SystemPolicyV1Beta1Stub > HttpJsonSystemPolicyV1Beta1Stub

Static Methods

create(ClientContext clientContext)

publicstaticfinalHttpJsonSystemPolicyV1Beta1Stubcreate(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
Exceptions
Type Description

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

publicstaticfinalHttpJsonSystemPolicyV1Beta1Stubcreate(ClientContextclientContext,HttpJsonStubCallableFactorycallableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
Exceptions
Type Description

create(SystemPolicyV1Beta1StubSettings settings)

publicstaticfinalHttpJsonSystemPolicyV1Beta1Stubcreate(SystemPolicyV1Beta1StubSettingssettings)
Parameter
Name Description
Returns
Type Description
Exceptions
Type Description

getMethodDescriptors()

publicstaticList<ApiMethodDescriptor>getMethodDescriptors()
Returns
Type Description

Constructors

HttpJsonSystemPolicyV1Beta1Stub(SystemPolicyV1Beta1StubSettings settings, ClientContext clientContext)

protectedHttpJsonSystemPolicyV1Beta1Stub(SystemPolicyV1Beta1StubSettingssettings,ClientContextclientContext)

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

HttpJsonSystemPolicyV1Beta1Stub(SystemPolicyV1Beta1StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protectedHttpJsonSystemPolicyV1Beta1Stub(SystemPolicyV1Beta1StubSettingssettings,ClientContextclientContext,HttpJsonStubCallableFactorycallableFactory)

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

Methods

awaitTermination(long duration, TimeUnit unit)

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

close()

publicfinalvoidclose()
Overrides

getSystemPolicyCallable()

publicUnaryCallable<GetSystemPolicyRequest,Policy>getSystemPolicyCallable()
Returns
Type Description
Overrides

isShutdown()

publicbooleanisShutdown()
Returns
Type Description

isTerminated()

publicbooleanisTerminated()
Returns
Type Description

shutdown()

publicvoidshutdown()

shutdownNow()

publicvoidshutdownNow()

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.