Class HttpJsonBackendServicesStub (1.12.1)

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
NameDescription
clientContextClientContext
Returns Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonBackendServicesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns Exceptions
TypeDescription
IOException

create(BackendServicesStubSettings settings)

public static final HttpJsonBackendServicesStub create(BackendServicesStubSettings settings)
Parameter
NameDescription
settingsBackendServicesStubSettings
Returns Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsBackendServicesStubSettings
clientContextClientContext

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
NameDescription
settingsBackendServicesStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

addSignedUrlKeyCallable()

public UnaryCallable<AddSignedUrlKeyBackendServiceRequest,Operation> addSignedUrlKeyCallable()
Returns Overrides

addSignedUrlKeyOperationCallable()

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

aggregatedListCallable()

public UnaryCallable<AggregatedListBackendServicesRequest,BackendServiceAggregatedList> aggregatedListCallable()
Returns Overrides

aggregatedListPagedCallable()

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

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeleteBackendServiceRequest,Operation> deleteCallable()
Returns Overrides

deleteOperationCallable()

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

deleteSignedUrlKeyCallable()

public UnaryCallable<DeleteSignedUrlKeyBackendServiceRequest,Operation> deleteSignedUrlKeyCallable()
Returns Overrides

deleteSignedUrlKeyOperationCallable()

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

getCallable()

public UnaryCallable<GetBackendServiceRequest,BackendService> getCallable()
Returns Overrides

getHealthCallable()

public UnaryCallable<GetHealthBackendServiceRequest,BackendServiceGroupHealth> getHealthCallable()
Returns Overrides

insertCallable()

public UnaryCallable<InsertBackendServiceRequest,Operation> insertCallable()
Returns Overrides

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListBackendServicesRequest,BackendServiceList> listCallable()
Returns Overrides

listPagedCallable()

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

patchCallable()

public UnaryCallable<PatchBackendServiceRequest,Operation> patchCallable()
Returns Overrides

patchOperationCallable()

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

setEdgeSecurityPolicyCallable()

public UnaryCallable<SetEdgeSecurityPolicyBackendServiceRequest,Operation> setEdgeSecurityPolicyCallable()
Returns Overrides

setEdgeSecurityPolicyOperationCallable()

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

setSecurityPolicyCallable()

public UnaryCallable<SetSecurityPolicyBackendServiceRequest,Operation> setSecurityPolicyCallable()
Returns Overrides

setSecurityPolicyOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCallable()

public UnaryCallable<UpdateBackendServiceRequest,Operation> updateCallable()
Returns Overrides

updateOperationCallable()

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