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
TypeDescription
HttpJsonBackendServicesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(BackendServicesStubSettings settings)

public static final HttpJsonBackendServicesStub create(BackendServicesStubSettings settings)
Parameter
NameDescription
settingsBackendServicesStubSettings
Returns
TypeDescription
HttpJsonBackendServicesStub
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
TypeDescription
UnaryCallable<AddSignedUrlKeyBackendServiceRequest,Operation>
Overrides

addSignedUrlKeyOperationCallable()

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

aggregatedListCallable()

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

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListBackendServicesRequest,BackendServicesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListBackendServicesRequest,AggregatedListPagedResponse>
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
TypeDescription
UnaryCallable<DeleteBackendServiceRequest,Operation>
Overrides

deleteOperationCallable()

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

deleteSignedUrlKeyCallable()

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

deleteSignedUrlKeyOperationCallable()

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

getCallable()

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

getHealthCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

setEdgeSecurityPolicyCallable()

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

setEdgeSecurityPolicyOperationCallable()

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

setSecurityPolicyCallable()

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

setSecurityPolicyOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCallable()

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

updateOperationCallable()

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