Package com.google.cloud.apihub.v1.stub
Class HttpJsonRuntimeProjectAttachmentServiceStub
java.lang.Object
com.google.cloud.apihub.v1.stub.RuntimeProjectAttachmentServiceStub
com.google.cloud.apihub.v1.stub.HttpJsonRuntimeProjectAttachmentServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonRuntimeProjectAttachmentServiceStub
extends RuntimeProjectAttachmentServiceStub
REST stub implementation for the RuntimeProjectAttachmentService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonRuntimeProjectAttachmentServiceStub(RuntimeProjectAttachmentServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonRuntimeProjectAttachmentServiceStub, using the given settings.protectedHttpJsonRuntimeProjectAttachmentServiceStub(RuntimeProjectAttachmentServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonRuntimeProjectAttachmentServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonRuntimeProjectAttachmentServiceStubcreate(ClientContext clientContext) static final HttpJsonRuntimeProjectAttachmentServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonRuntimeProjectAttachmentServiceStubUnaryCallable<DeleteRuntimeProjectAttachmentRequest,com.google.protobuf.Empty> static List<ApiMethodDescriptor>booleanbooleanUnaryCallable<ListLocationsRequest,RuntimeProjectAttachmentServiceClient.ListLocationsPagedResponse> UnaryCallable<ListRuntimeProjectAttachmentsRequest,RuntimeProjectAttachmentServiceClient.ListRuntimeProjectAttachmentsPagedResponse> voidshutdown()void
-
Constructor Details
-
HttpJsonRuntimeProjectAttachmentServiceStub
protected HttpJsonRuntimeProjectAttachmentServiceStub(RuntimeProjectAttachmentServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonRuntimeProjectAttachmentServiceStub, 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.- Throws:
IOException
-
HttpJsonRuntimeProjectAttachmentServiceStub
protected HttpJsonRuntimeProjectAttachmentServiceStub(RuntimeProjectAttachmentServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonRuntimeProjectAttachmentServiceStub, 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonRuntimeProjectAttachmentServiceStub create(RuntimeProjectAttachmentServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonRuntimeProjectAttachmentServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonRuntimeProjectAttachmentServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
createRuntimeProjectAttachmentCallable
public UnaryCallable<CreateRuntimeProjectAttachmentRequest,RuntimeProjectAttachment> createRuntimeProjectAttachmentCallable()- Overrides:
createRuntimeProjectAttachmentCallablein classRuntimeProjectAttachmentServiceStub
-
getRuntimeProjectAttachmentCallable
public UnaryCallable<GetRuntimeProjectAttachmentRequest,RuntimeProjectAttachment> getRuntimeProjectAttachmentCallable()- Overrides:
getRuntimeProjectAttachmentCallablein classRuntimeProjectAttachmentServiceStub
-
listRuntimeProjectAttachmentsCallable
public UnaryCallable<ListRuntimeProjectAttachmentsRequest,ListRuntimeProjectAttachmentsResponse> listRuntimeProjectAttachmentsCallable()- Overrides:
listRuntimeProjectAttachmentsCallablein classRuntimeProjectAttachmentServiceStub
-
listRuntimeProjectAttachmentsPagedCallable
public UnaryCallable<ListRuntimeProjectAttachmentsRequest,RuntimeProjectAttachmentServiceClient.ListRuntimeProjectAttachmentsPagedResponse> listRuntimeProjectAttachmentsPagedCallable()- Overrides:
listRuntimeProjectAttachmentsPagedCallablein classRuntimeProjectAttachmentServiceStub
-
deleteRuntimeProjectAttachmentCallable
public UnaryCallable<DeleteRuntimeProjectAttachmentRequest,com.google.protobuf.Empty> deleteRuntimeProjectAttachmentCallable()- Overrides:
deleteRuntimeProjectAttachmentCallablein classRuntimeProjectAttachmentServiceStub
-
lookupRuntimeProjectAttachmentCallable
public UnaryCallable<LookupRuntimeProjectAttachmentRequest,LookupRuntimeProjectAttachmentResponse> lookupRuntimeProjectAttachmentCallable()- Overrides:
lookupRuntimeProjectAttachmentCallablein classRuntimeProjectAttachmentServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classRuntimeProjectAttachmentServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,RuntimeProjectAttachmentServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classRuntimeProjectAttachmentServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classRuntimeProjectAttachmentServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classRuntimeProjectAttachmentServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-