Package com.google.cloud.compute.v1.stub
Class HttpJsonInterconnectAttachmentsStub
- java.lang.Object
-
- com.google.cloud.compute.v1.stub.InterconnectAttachmentsStub
-
- com.google.cloud.compute.v1.stub.HttpJsonInterconnectAttachmentsStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonInterconnectAttachmentsStub extends InterconnectAttachmentsStub
REST stub implementation for the InterconnectAttachments service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonInterconnectAttachmentsStub(InterconnectAttachmentsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonInterconnectAttachmentsStub, using the given settings.protectedHttpJsonInterconnectAttachmentsStub(InterconnectAttachmentsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonInterconnectAttachmentsStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonInterconnectAttachmentsStub
protected HttpJsonInterconnectAttachmentsStub(InterconnectAttachmentsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonInterconnectAttachmentsStub, 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
-
HttpJsonInterconnectAttachmentsStub
protected HttpJsonInterconnectAttachmentsStub(InterconnectAttachmentsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonInterconnectAttachmentsStub, 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 Detail
-
create
public static final HttpJsonInterconnectAttachmentsStub create(InterconnectAttachmentsStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonInterconnectAttachmentsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonInterconnectAttachmentsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
aggregatedListCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListInterconnectAttachmentsRequest,InterconnectAttachmentAggregatedList> aggregatedListCallable()
- Overrides:
aggregatedListCallablein classInterconnectAttachmentsStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListInterconnectAttachmentsRequest,InterconnectAttachmentsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallablein classInterconnectAttachmentsStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteInterconnectAttachmentRequest,Operation> deleteCallable()
- Overrides:
deleteCallablein classInterconnectAttachmentsStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteInterconnectAttachmentRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallablein classInterconnectAttachmentsStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetInterconnectAttachmentRequest,InterconnectAttachment> getCallable()
- Overrides:
getCallablein classInterconnectAttachmentsStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertInterconnectAttachmentRequest,Operation> insertCallable()
- Overrides:
insertCallablein classInterconnectAttachmentsStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertInterconnectAttachmentRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallablein classInterconnectAttachmentsStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListInterconnectAttachmentsRequest,InterconnectAttachmentList> listCallable()
- Overrides:
listCallablein classInterconnectAttachmentsStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListInterconnectAttachmentsRequest,InterconnectAttachmentsClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallablein classInterconnectAttachmentsStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchInterconnectAttachmentRequest,Operation> patchCallable()
- Overrides:
patchCallablein classInterconnectAttachmentsStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchInterconnectAttachmentRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallablein classInterconnectAttachmentsStub
-
setLabelsCallable
public com.google.api.gax.rpc.UnaryCallable<SetLabelsInterconnectAttachmentRequest,Operation> setLabelsCallable()
- Overrides:
setLabelsCallablein classInterconnectAttachmentsStub
-
setLabelsOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetLabelsInterconnectAttachmentRequest,Operation,Operation> setLabelsOperationCallable()
- Overrides:
setLabelsOperationCallablein classInterconnectAttachmentsStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classInterconnectAttachmentsStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-