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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonPacketMirroringsStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonPacketMirroringsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(PacketMirroringsStubSettings settings)
public static final HttpJsonPacketMirroringsStub create(PacketMirroringsStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonPacketMirroringsStub(PacketMirroringsStubSettings settings, ClientContext clientContext)
protected HttpJsonPacketMirroringsStub(PacketMirroringsStubSettings settings, ClientContext clientContext)
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.
Parameters
HttpJsonPacketMirroringsStub(PacketMirroringsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonPacketMirroringsStub(PacketMirroringsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
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.
Parameters
Methods
aggregatedListCallable()
public UnaryCallable<AggregatedListPacketMirroringsRequest,PacketMirroringAggregatedList> aggregatedListCallable()
Returns
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListPacketMirroringsRequest,PacketMirroringsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeletePacketMirroringRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeletePacketMirroringRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetPacketMirroringRequest,PacketMirroring> getCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertPacketMirroringRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertPacketMirroringRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListPacketMirroringsRequest,PacketMirroringList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListPacketMirroringsRequest,PacketMirroringsClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
patchCallable()
public UnaryCallable<PatchPacketMirroringRequest,Operation> patchCallable()
Returns
Overrides
patchOperationCallable()
public OperationCallable<PatchPacketMirroringRequest,Operation,Operation> patchOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsPacketMirroringRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
Overrides