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 protected
HttpJsonPacketMirroringsStub(PacketMirroringsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonPacketMirroringsStub, using the given settings.protected
HttpJsonPacketMirroringsStub(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:
aggregatedListCallable
in classPacketMirroringsStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListPacketMirroringsRequest,PacketMirroringsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallable
in classPacketMirroringsStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeletePacketMirroringRequest,Operation> deleteCallable()
- Overrides:
deleteCallable
in classPacketMirroringsStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeletePacketMirroringRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallable
in classPacketMirroringsStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetPacketMirroringRequest,PacketMirroring> getCallable()
- Overrides:
getCallable
in classPacketMirroringsStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertPacketMirroringRequest,Operation> insertCallable()
- Overrides:
insertCallable
in classPacketMirroringsStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertPacketMirroringRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallable
in classPacketMirroringsStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListPacketMirroringsRequest,PacketMirroringList> listCallable()
- Overrides:
listCallable
in classPacketMirroringsStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListPacketMirroringsRequest,PacketMirroringsClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallable
in classPacketMirroringsStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchPacketMirroringRequest,Operation> patchCallable()
- Overrides:
patchCallable
in classPacketMirroringsStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchPacketMirroringRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallable
in classPacketMirroringsStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<TestIamPermissionsPacketMirroringRequest,TestPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classPacketMirroringsStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-