@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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonImageStub, using the given settings.
|
protected |
HttpJsonImageStub(ImageStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonImageStub, using the given settings.
|
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteImageHttpRequest,Operation> deleteImageMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<DeprecateImageHttpRequest,Operation> deprecateImageMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetImageHttpRequest,Image> getImageMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetFromFamilyImageHttpRequest,Image> getFromFamilyImageMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetIamPolicyImageHttpRequest,Policy> getIamPolicyImageMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<InsertImageHttpRequest,Operation> insertImageMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListImagesHttpRequest,ImageList> listImagesMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetIamPolicyImageHttpRequest,Policy> setIamPolicyImageMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetLabelsImageHttpRequest,Operation> setLabelsImageMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<TestIamPermissionsImageHttpRequest,TestPermissionsResponse> testIamPermissionsImageMethodDescriptor
protected HttpJsonImageStub(ImageStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonImageStub(ImageStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonImageStub create(ImageStubSettings settings) throws IOException
IOException
public static final HttpJsonImageStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonImageStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public com.google.api.gax.rpc.UnaryCallable<DeleteImageHttpRequest,Operation> deleteImageCallable()
deleteImageCallable
in class ImageStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<DeprecateImageHttpRequest,Operation> deprecateImageCallable()
deprecateImageCallable
in class ImageStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetImageHttpRequest,Image> getImageCallable()
getImageCallable
in class ImageStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetFromFamilyImageHttpRequest,Image> getFromFamilyImageCallable()
getFromFamilyImageCallable
in class ImageStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetIamPolicyImageHttpRequest,Policy> getIamPolicyImageCallable()
getIamPolicyImageCallable
in class ImageStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<InsertImageHttpRequest,Operation> insertImageCallable()
insertImageCallable
in class ImageStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListImagesHttpRequest,ImageClient.ListImagesPagedResponse> listImagesPagedCallable()
listImagesPagedCallable
in class ImageStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListImagesHttpRequest,ImageList> listImagesCallable()
listImagesCallable
in class ImageStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetIamPolicyImageHttpRequest,Policy> setIamPolicyImageCallable()
setIamPolicyImageCallable
in class ImageStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetLabelsImageHttpRequest,Operation> setLabelsImageCallable()
setLabelsImageCallable
in class ImageStub
@BetaApi public com.google.api.gax.rpc.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.