Class HttpJsonBackendServicesStub (1.68.0)

public class HttpJsonBackendServicesStub extends BackendServicesStub

REST stub implementation for the BackendServices service API.

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

Inheritance

java.lang.Object > BackendServicesStub > HttpJsonBackendServicesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(BackendServicesStubSettings settings)

public static final HttpJsonBackendServicesStub create(BackendServicesStubSettings settings)
Parameter
Name Description
settings BackendServicesStubSettings
Returns
Type Description
HttpJsonBackendServicesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

Constructors

HttpJsonBackendServicesStub(BackendServicesStubSettings settings, ClientContext clientContext)

protected HttpJsonBackendServicesStub(BackendServicesStubSettings settings, ClientContext clientContext)

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

HttpJsonBackendServicesStub(BackendServicesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonBackendServicesStub(BackendServicesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

Methods

addSignedUrlKeyCallable()

public UnaryCallable<AddSignedUrlKeyBackendServiceRequest,Operation> addSignedUrlKeyCallable()
Overrides

addSignedUrlKeyOperationCallable()

public OperationCallable<AddSignedUrlKeyBackendServiceRequest,Operation,Operation> addSignedUrlKeyOperationCallable()
Overrides

aggregatedListCallable()

public UnaryCallable<AggregatedListBackendServicesRequest,BackendServiceAggregatedList> aggregatedListCallable()
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListBackendServicesRequest,BackendServicesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides

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<DeleteBackendServiceRequest,Operation> deleteCallable()
Overrides

deleteOperationCallable()

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

deleteSignedUrlKeyCallable()

public UnaryCallable<DeleteSignedUrlKeyBackendServiceRequest,Operation> deleteSignedUrlKeyCallable()
Overrides

deleteSignedUrlKeyOperationCallable()

public OperationCallable<DeleteSignedUrlKeyBackendServiceRequest,Operation,Operation> deleteSignedUrlKeyOperationCallable()
Overrides

getCallable()

public UnaryCallable<GetBackendServiceRequest,BackendService> getCallable()
Overrides

getHealthCallable()

public UnaryCallable<GetHealthBackendServiceRequest,BackendServiceGroupHealth> getHealthCallable()
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyBackendServiceRequest,Policy> getIamPolicyCallable()
Overrides

insertCallable()

public UnaryCallable<InsertBackendServiceRequest,Operation> insertCallable()
Overrides

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListBackendServicesRequest,BackendServiceList> listCallable()
Overrides

listPagedCallable()

public UnaryCallable<ListBackendServicesRequest,BackendServicesClient.ListPagedResponse> listPagedCallable()
Overrides

listUsableCallable()

public UnaryCallable<ListUsableBackendServicesRequest,BackendServiceListUsable> listUsableCallable()
Overrides

listUsablePagedCallable()

public UnaryCallable<ListUsableBackendServicesRequest,BackendServicesClient.ListUsablePagedResponse> listUsablePagedCallable()
Overrides

patchCallable()

public UnaryCallable<PatchBackendServiceRequest,Operation> patchCallable()
Overrides

patchOperationCallable()

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

setEdgeSecurityPolicyCallable()

public UnaryCallable<SetEdgeSecurityPolicyBackendServiceRequest,Operation> setEdgeSecurityPolicyCallable()
Overrides

setEdgeSecurityPolicyOperationCallable()

public OperationCallable<SetEdgeSecurityPolicyBackendServiceRequest,Operation,Operation> setEdgeSecurityPolicyOperationCallable()
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyBackendServiceRequest,Policy> setIamPolicyCallable()
Overrides

setSecurityPolicyCallable()

public UnaryCallable<SetSecurityPolicyBackendServiceRequest,Operation> setSecurityPolicyCallable()
Overrides

setSecurityPolicyOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsBackendServiceRequest,TestPermissionsResponse> testIamPermissionsCallable()
Overrides

updateCallable()

public UnaryCallable<UpdateBackendServiceRequest,Operation> updateCallable()
Overrides

updateOperationCallable()

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