Class HttpJsonRegionBackendServicesStub (1.54.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()
Returns
Type Description
UnaryCallable<DeleteRegionBackendServiceRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteRegionBackendServiceRequest,Operation,Operation> deleteOperationCallable()
Returns
Type Description
OperationCallable<DeleteRegionBackendServiceRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetRegionBackendServiceRequest,BackendService> getCallable()
Returns
Type Description
UnaryCallable<GetRegionBackendServiceRequest,BackendService>
Overrides

getHealthCallable()

public UnaryCallable<GetHealthRegionBackendServiceRequest,BackendServiceGroupHealth> getHealthCallable()
Returns
Type Description
UnaryCallable<GetHealthRegionBackendServiceRequest,BackendServiceGroupHealth>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRegionBackendServiceRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<GetIamPolicyRegionBackendServiceRequest,Policy>
Overrides

insertCallable()

public UnaryCallable<InsertRegionBackendServiceRequest,Operation> insertCallable()
Returns
Type Description
UnaryCallable<InsertRegionBackendServiceRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertRegionBackendServiceRequest,Operation,Operation> insertOperationCallable()
Returns
Type Description
OperationCallable<InsertRegionBackendServiceRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListRegionBackendServicesRequest,BackendServiceList> listCallable()
Returns
Type Description
UnaryCallable<ListRegionBackendServicesRequest,BackendServiceList>
Overrides

listPagedCallable()

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

listUsableCallable()

public UnaryCallable<ListUsableRegionBackendServicesRequest,BackendServiceListUsable> listUsableCallable()
Returns
Type Description
UnaryCallable<ListUsableRegionBackendServicesRequest,BackendServiceListUsable>
Overrides

listUsablePagedCallable()

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

patchCallable()

public UnaryCallable<PatchRegionBackendServiceRequest,Operation> patchCallable()
Returns
Type Description
UnaryCallable<PatchRegionBackendServiceRequest,Operation>
Overrides

patchOperationCallable()

public OperationCallable<PatchRegionBackendServiceRequest,Operation,Operation> patchOperationCallable()
Returns
Type Description
OperationCallable<PatchRegionBackendServiceRequest,Operation,Operation>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRegionBackendServiceRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<SetIamPolicyRegionBackendServiceRequest,Policy>
Overrides

setSecurityPolicyCallable()

public UnaryCallable<SetSecurityPolicyRegionBackendServiceRequest,Operation> setSecurityPolicyCallable()
Returns
Type Description
UnaryCallable<SetSecurityPolicyRegionBackendServiceRequest,Operation>
Overrides

setSecurityPolicyOperationCallable()

public OperationCallable<SetSecurityPolicyRegionBackendServiceRequest,Operation,Operation> setSecurityPolicyOperationCallable()
Returns
Type Description
OperationCallable<SetSecurityPolicyRegionBackendServiceRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRegionBackendServiceRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<TestIamPermissionsRegionBackendServiceRequest,TestPermissionsResponse>
Overrides

updateCallable()

public UnaryCallable<UpdateRegionBackendServiceRequest,Operation> updateCallable()
Returns
Type Description
UnaryCallable<UpdateRegionBackendServiceRequest,Operation>
Overrides

updateOperationCallable()

public OperationCallable<UpdateRegionBackendServiceRequest,Operation,Operation> updateOperationCallable()
Returns
Type Description
OperationCallable<UpdateRegionBackendServiceRequest,Operation,Operation>
Overrides