@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonImageStub extends ImageStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonImageStub(ImageStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonImageStub, using the given settings.
|
protected |
HttpJsonImageStub(ImageStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonImageStub, using the given settings.
|
@InternalApi public static final ApiMethodDescriptor<DeleteImageHttpRequest,Operation> deleteImageMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<DeprecateImageHttpRequest,Operation> deprecateImageMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetImageHttpRequest,Image> getImageMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetFromFamilyImageHttpRequest,Image> getFromFamilyImageMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetIamPolicyImageHttpRequest,Policy> getIamPolicyImageMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<InsertImageHttpRequest,Operation> insertImageMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ListImagesHttpRequest,ImageList> listImagesMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<SetIamPolicyImageHttpRequest,Policy> setIamPolicyImageMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<SetLabelsImageHttpRequest,Operation> setLabelsImageMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<TestIamPermissionsImageHttpRequest,TestPermissionsResponse> testIamPermissionsImageMethodDescriptor
protected HttpJsonImageStub(ImageStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonImageStub(ImageStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonImageStub create(ImageStubSettings settings) throws IOException
IOException
public static final HttpJsonImageStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonImageStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public UnaryCallable<DeleteImageHttpRequest,Operation> deleteImageCallable()
deleteImageCallable
in class ImageStub
@BetaApi public UnaryCallable<DeprecateImageHttpRequest,Operation> deprecateImageCallable()
deprecateImageCallable
in class ImageStub
@BetaApi public UnaryCallable<GetImageHttpRequest,Image> getImageCallable()
getImageCallable
in class ImageStub
@BetaApi public UnaryCallable<GetFromFamilyImageHttpRequest,Image> getFromFamilyImageCallable()
getFromFamilyImageCallable
in class ImageStub
@BetaApi public UnaryCallable<GetIamPolicyImageHttpRequest,Policy> getIamPolicyImageCallable()
getIamPolicyImageCallable
in class ImageStub
@BetaApi public UnaryCallable<InsertImageHttpRequest,Operation> insertImageCallable()
insertImageCallable
in class ImageStub
@BetaApi public UnaryCallable<ListImagesHttpRequest,ImageClient.ListImagesPagedResponse> listImagesPagedCallable()
listImagesPagedCallable
in class ImageStub
@BetaApi public UnaryCallable<ListImagesHttpRequest,ImageList> listImagesCallable()
listImagesCallable
in class ImageStub
@BetaApi public UnaryCallable<SetIamPolicyImageHttpRequest,Policy> setIamPolicyImageCallable()
setIamPolicyImageCallable
in class ImageStub
@BetaApi public UnaryCallable<SetLabelsImageHttpRequest,Operation> setLabelsImageCallable()
setLabelsImageCallable
in class ImageStub
@BetaApi public UnaryCallable<TestIamPermissionsImageHttpRequest,TestPermissionsResponse> testIamPermissionsImageCallable()
testIamPermissionsImageCallable
in class ImageStub
public final void close()
close
in interface AutoCloseable
close
in class ImageStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.