Class HttpJsonBackendBucketsStub (1.57.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
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonBackendBucketsStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(BackendBucketsStubSettings settings)

public static final HttpJsonBackendBucketsStub create(BackendBucketsStubSettings settings)
Parameter
Name Description
settings BackendBucketsStubSettings
Returns
Type Description
HttpJsonBackendBucketsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
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
Name Description
settings BackendBucketsStubSettings
clientContext ClientContext

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
Name Description
settings BackendBucketsStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

addSignedUrlKeyCallable()

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

addSignedUrlKeyOperationCallable()

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

deleteOperationCallable()

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

deleteSignedUrlKeyCallable()

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

deleteSignedUrlKeyOperationCallable()

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

getCallable()

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

getIamPolicyCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

setEdgeSecurityPolicyCallable()

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

setEdgeSecurityPolicyOperationCallable()

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

setIamPolicyCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

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

updateCallable()

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

updateOperationCallable()

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