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 protected
HttpJsonInterconnectAttachmentsStub(InterconnectAttachmentsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonInterconnectAttachmentsStub, using the given settings.protected
HttpJsonInterconnectAttachmentsStub(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:
aggregatedListCallable
in classInterconnectAttachmentsStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListInterconnectAttachmentsRequest,InterconnectAttachmentsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallable
in classInterconnectAttachmentsStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteInterconnectAttachmentRequest,Operation> deleteCallable()
- Overrides:
deleteCallable
in classInterconnectAttachmentsStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteInterconnectAttachmentRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallable
in classInterconnectAttachmentsStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetInterconnectAttachmentRequest,InterconnectAttachment> getCallable()
- Overrides:
getCallable
in classInterconnectAttachmentsStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertInterconnectAttachmentRequest,Operation> insertCallable()
- Overrides:
insertCallable
in classInterconnectAttachmentsStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertInterconnectAttachmentRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallable
in classInterconnectAttachmentsStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListInterconnectAttachmentsRequest,InterconnectAttachmentList> listCallable()
- Overrides:
listCallable
in classInterconnectAttachmentsStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListInterconnectAttachmentsRequest,InterconnectAttachmentsClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallable
in classInterconnectAttachmentsStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchInterconnectAttachmentRequest,Operation> patchCallable()
- Overrides:
patchCallable
in classInterconnectAttachmentsStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchInterconnectAttachmentRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallable
in classInterconnectAttachmentsStub
-
setLabelsCallable
public com.google.api.gax.rpc.UnaryCallable<SetLabelsInterconnectAttachmentRequest,Operation> setLabelsCallable()
- Overrides:
setLabelsCallable
in classInterconnectAttachmentsStub
-
setLabelsOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetLabelsInterconnectAttachmentRequest,Operation,Operation> setLabelsOperationCallable()
- Overrides:
setLabelsOperationCallable
in classInterconnectAttachmentsStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-