Class HttpJsonRegionBackendServicesStub (1.68.0)

public class HttpJsonRegionBackendServicesStub extends RegionBackendServicesStub

REST stub implementation for the RegionBackendServices service API.

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

Inheritance

java.lang.Object > RegionBackendServicesStub > HttpJsonRegionBackendServicesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionBackendServicesStubSettings settings)

public static final HttpJsonRegionBackendServicesStub create(RegionBackendServicesStubSettings settings)
Parameter
Name Description
settings RegionBackendServicesStubSettings
Returns
Type Description
HttpJsonRegionBackendServicesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonRegionBackendServicesStub(RegionBackendServicesStubSettings settings, ClientContext clientContext)

protected HttpJsonRegionBackendServicesStub(RegionBackendServicesStubSettings settings, ClientContext clientContext)

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

HttpJsonRegionBackendServicesStub(RegionBackendServicesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonRegionBackendServicesStub(RegionBackendServicesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

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

deleteCallable()

public UnaryCallable<DeleteRegionBackendServiceRequest,Operation> deleteCallable()
Overrides

deleteOperationCallable()

public OperationCallable<DeleteRegionBackendServiceRequest,Operation,Operation> deleteOperationCallable()
Overrides

getCallable()

public UnaryCallable<GetRegionBackendServiceRequest,BackendService> getCallable()
Overrides

getHealthCallable()

public UnaryCallable<GetHealthRegionBackendServiceRequest,BackendServiceGroupHealth> getHealthCallable()
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRegionBackendServiceRequest,Policy> getIamPolicyCallable()
Overrides

insertCallable()

public UnaryCallable<InsertRegionBackendServiceRequest,Operation> insertCallable()
Overrides

insertOperationCallable()

public OperationCallable<InsertRegionBackendServiceRequest,Operation,Operation> insertOperationCallable()
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListRegionBackendServicesRequest,BackendServiceList> listCallable()
Overrides

listPagedCallable()

public UnaryCallable<ListRegionBackendServicesRequest,RegionBackendServicesClient.ListPagedResponse> listPagedCallable()
Overrides

listUsableCallable()

public UnaryCallable<ListUsableRegionBackendServicesRequest,BackendServiceListUsable> listUsableCallable()
Overrides

listUsablePagedCallable()

public UnaryCallable<ListUsableRegionBackendServicesRequest,RegionBackendServicesClient.ListUsablePagedResponse> listUsablePagedCallable()
Overrides

patchCallable()

public UnaryCallable<PatchRegionBackendServiceRequest,Operation> patchCallable()
Overrides

patchOperationCallable()

public OperationCallable<PatchRegionBackendServiceRequest,Operation,Operation> patchOperationCallable()
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRegionBackendServiceRequest,Policy> setIamPolicyCallable()
Overrides

setSecurityPolicyCallable()

public UnaryCallable<SetSecurityPolicyRegionBackendServiceRequest,Operation> setSecurityPolicyCallable()
Overrides

setSecurityPolicyOperationCallable()

public OperationCallable<SetSecurityPolicyRegionBackendServiceRequest,Operation,Operation> setSecurityPolicyOperationCallable()
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRegionBackendServiceRequest,TestPermissionsResponse> testIamPermissionsCallable()
Overrides

updateCallable()

public UnaryCallable<UpdateRegionBackendServiceRequest,Operation> updateCallable()
Overrides

updateOperationCallable()

public OperationCallable<UpdateRegionBackendServiceRequest,Operation,Operation> updateOperationCallable()
Overrides