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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonImagesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(ImagesStubSettings settings)
public static final HttpJsonImagesStub create(ImagesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteImageRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteImageRequest,Operation,Operation> deleteOperationCallable()
Overrides
deprecateCallable()
public UnaryCallable<DeprecateImageRequest,Operation> deprecateCallable()
Overrides
deprecateOperationCallable()
public OperationCallable<DeprecateImageRequest,Operation,Operation> deprecateOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetImageRequest,Image> getCallable()
Overrides
getFromFamilyCallable()
public UnaryCallable<GetFromFamilyImageRequest,Image> getFromFamilyCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyImageRequest,Policy> getIamPolicyCallable()
Overrides
insertCallable()
public UnaryCallable<InsertImageRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertImageRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListImagesRequest,ImageList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListImagesRequest,ImagesClient.ListPagedResponse> listPagedCallable()
Overrides
patchCallable()
public UnaryCallable<PatchImageRequest,Operation> patchCallable()
Overrides
patchOperationCallable()
public OperationCallable<PatchImageRequest,Operation,Operation> patchOperationCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyImageRequest,Policy> setIamPolicyCallable()
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsImageRequest,Operation> setLabelsCallable()
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsImageRequest,Operation,Operation> setLabelsOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsImageRequest,TestPermissionsResponse> testIamPermissionsCallable()
Overrides