Package com.google.cloud.compute.v1.stub
Class HttpJsonPacketMirroringsStub
- java.lang.Object
-
- com.google.cloud.compute.v1.stub.PacketMirroringsStub
-
- com.google.cloud.compute.v1.stub.HttpJsonPacketMirroringsStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonPacketMirroringsStub extends PacketMirroringsStub
REST stub implementation for the PacketMirrorings service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonPacketMirroringsStub(PacketMirroringsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonPacketMirroringsStub, using the given settings.protectedHttpJsonPacketMirroringsStub(PacketMirroringsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonPacketMirroringsStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonPacketMirroringsStub
protected HttpJsonPacketMirroringsStub(PacketMirroringsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonPacketMirroringsStub, 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
-
HttpJsonPacketMirroringsStub
protected HttpJsonPacketMirroringsStub(PacketMirroringsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonPacketMirroringsStub, 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 HttpJsonPacketMirroringsStub create(PacketMirroringsStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonPacketMirroringsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonPacketMirroringsStub 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<AggregatedListPacketMirroringsRequest,PacketMirroringAggregatedList> aggregatedListCallable()
- Overrides:
aggregatedListCallablein classPacketMirroringsStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListPacketMirroringsRequest,PacketMirroringsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallablein classPacketMirroringsStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeletePacketMirroringRequest,Operation> deleteCallable()
- Overrides:
deleteCallablein classPacketMirroringsStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeletePacketMirroringRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallablein classPacketMirroringsStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetPacketMirroringRequest,PacketMirroring> getCallable()
- Overrides:
getCallablein classPacketMirroringsStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertPacketMirroringRequest,Operation> insertCallable()
- Overrides:
insertCallablein classPacketMirroringsStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertPacketMirroringRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallablein classPacketMirroringsStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListPacketMirroringsRequest,PacketMirroringList> listCallable()
- Overrides:
listCallablein classPacketMirroringsStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListPacketMirroringsRequest,PacketMirroringsClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallablein classPacketMirroringsStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchPacketMirroringRequest,Operation> patchCallable()
- Overrides:
patchCallablein classPacketMirroringsStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchPacketMirroringRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallablein classPacketMirroringsStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<TestIamPermissionsPacketMirroringRequest,TestPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallablein classPacketMirroringsStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classPacketMirroringsStub
-
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
-
-