public class HttpJsonImagesStub extends ImagesStub
REST stub implementation for the Images service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonImagesStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonImagesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ImagesStubSettings settings)
public static final HttpJsonImagesStub create(ImagesStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonImagesStub(ImagesStubSettings settings, ClientContext clientContext)
protected HttpJsonImagesStub(ImagesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonImagesStub, 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
HttpJsonImagesStub(ImagesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonImagesStub(ImagesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonImagesStub, 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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteImageRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteImageRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
deprecateCallable()
public UnaryCallable<DeprecateImageRequest,Operation> deprecateCallable()
Returns
Overrides
deprecateOperationCallable()
public OperationCallable<DeprecateImageRequest,Operation,Operation> deprecateOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetImageRequest,Image> getCallable()
Returns
Overrides
getFromFamilyCallable()
public UnaryCallable<GetFromFamilyImageRequest,Image> getFromFamilyCallable()
Returns
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyImageRequest,Policy> getIamPolicyCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertImageRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertImageRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListImagesRequest,ImageList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListImagesRequest,ImagesClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
patchCallable()
public UnaryCallable<PatchImageRequest,Operation> patchCallable()
Returns
Overrides
patchOperationCallable()
public OperationCallable<PatchImageRequest,Operation,Operation> patchOperationCallable()
Returns
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyImageRequest,Policy> setIamPolicyCallable()
Returns
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsImageRequest,Operation> setLabelsCallable()
Returns
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsImageRequest,Operation,Operation> setLabelsOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsImageRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
Overrides