Class HttpJsonBackendServicesStub (1.62.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()
Returns
Type Description
UnaryCallable<AddSignedUrlKeyBackendServiceRequest,Operation>
Overrides

addSignedUrlKeyOperationCallable()

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

aggregatedListCallable()

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

aggregatedListPagedCallable()

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

deleteOperationCallable()

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

deleteSignedUrlKeyCallable()

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

deleteSignedUrlKeyOperationCallable()

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

getCallable()

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

getHealthCallable()

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

getIamPolicyCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

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

listPagedCallable()

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

listUsableCallable()

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

listUsablePagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

setEdgeSecurityPolicyCallable()

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

setEdgeSecurityPolicyOperationCallable()

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

setIamPolicyCallable()

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

setSecurityPolicyCallable()

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

setSecurityPolicyOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

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

updateCallable()

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

updateOperationCallable()

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