Class HttpJsonImagesStub (1.57.0)

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.

Inheritance

java.lang.Object > ImagesStub > HttpJsonImagesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonImagesStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonImagesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(ImagesStubSettings settings)

public static final HttpJsonImagesStub create(ImagesStubSettings settings)
Parameter
Name Description
settings ImagesStubSettings
Returns
Type Description
HttpJsonImagesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

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
Name Description
settings ImagesStubSettings
clientContext ClientContext

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

Methods

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<DeleteImageRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteImageRequest,Operation>
Overrides

deleteOperationCallable()

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

deprecateCallable()

public UnaryCallable<DeprecateImageRequest,Operation> deprecateCallable()
Returns
Type Description
UnaryCallable<DeprecateImageRequest,Operation>
Overrides

deprecateOperationCallable()

public OperationCallable<DeprecateImageRequest,Operation,Operation> deprecateOperationCallable()
Returns
Type Description
OperationCallable<DeprecateImageRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetImageRequest,Image> getCallable()
Returns
Type Description
UnaryCallable<GetImageRequest,Image>
Overrides

getFromFamilyCallable()

public UnaryCallable<GetFromFamilyImageRequest,Image> getFromFamilyCallable()
Returns
Type Description
UnaryCallable<GetFromFamilyImageRequest,Image>
Overrides

getIamPolicyCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListImagesRequest,ImageList> listCallable()
Returns
Type Description
UnaryCallable<ListImagesRequest,ImageList>
Overrides

listPagedCallable()

public UnaryCallable<ListImagesRequest,ImagesClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListImagesRequest,ListPagedResponse>
Overrides

patchCallable()

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

patchOperationCallable()

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

setIamPolicyCallable()

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

setLabelsCallable()

public UnaryCallable<SetLabelsImageRequest,Operation> setLabelsCallable()
Returns
Type Description
UnaryCallable<SetLabelsImageRequest,Operation>
Overrides

setLabelsOperationCallable()

public OperationCallable<SetLabelsImageRequest,Operation,Operation> setLabelsOperationCallable()
Returns
Type Description
OperationCallable<SetLabelsImageRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

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