Class HttpJsonBackendBucketsStub (1.11.0)

public class HttpJsonBackendBucketsStub extends BackendBucketsStub

REST stub implementation for the BackendBuckets service API.

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

Inheritance

java.lang.Object > BackendBucketsStub > HttpJsonBackendBucketsStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonBackendBucketsStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonBackendBucketsStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(BackendBucketsStubSettings settings)

public static final HttpJsonBackendBucketsStub create(BackendBucketsStubSettings settings)
Parameter
NameDescription
settingsBackendBucketsStubSettings
Returns
TypeDescription
HttpJsonBackendBucketsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonBackendBucketsStub(BackendBucketsStubSettings settings, ClientContext clientContext)

protected HttpJsonBackendBucketsStub(BackendBucketsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonBackendBucketsStub, 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
settingsBackendBucketsStubSettings
clientContextClientContext

HttpJsonBackendBucketsStub(BackendBucketsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonBackendBucketsStub(BackendBucketsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonBackendBucketsStub, 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
settingsBackendBucketsStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

addSignedUrlKeyCallable()

public UnaryCallable<AddSignedUrlKeyBackendBucketRequest,Operation> addSignedUrlKeyCallable()
Returns
TypeDescription
UnaryCallable<AddSignedUrlKeyBackendBucketRequest,Operation>
Overrides

addSignedUrlKeyOperationCallable()

public OperationCallable<AddSignedUrlKeyBackendBucketRequest,Operation,Operation> addSignedUrlKeyOperationCallable()
Returns
TypeDescription
OperationCallable<AddSignedUrlKeyBackendBucketRequest,Operation,Operation>
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<DeleteBackendBucketRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteBackendBucketRequest,Operation>
Overrides

deleteOperationCallable()

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

deleteSignedUrlKeyCallable()

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

deleteSignedUrlKeyOperationCallable()

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

getCallable()

public UnaryCallable<GetBackendBucketRequest,BackendBucket> getCallable()
Returns
TypeDescription
UnaryCallable<GetBackendBucketRequest,BackendBucket>
Overrides

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListBackendBucketsRequest,BackendBucketList> listCallable()
Returns
TypeDescription
UnaryCallable<ListBackendBucketsRequest,BackendBucketList>
Overrides

listPagedCallable()

public UnaryCallable<ListBackendBucketsRequest,BackendBucketsClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListBackendBucketsRequest,ListPagedResponse>
Overrides

patchCallable()

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

patchOperationCallable()

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

setEdgeSecurityPolicyCallable()

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

setEdgeSecurityPolicyOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCallable()

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

updateOperationCallable()

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