Class HttpJsonPacketMirroringsStub (1.27.0)

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.

Inheritance

java.lang.Object > PacketMirroringsStub > HttpJsonPacketMirroringsStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonPacketMirroringsStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonPacketMirroringsStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonPacketMirroringsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonPacketMirroringsStub
Exceptions
TypeDescription
IOException

create(PacketMirroringsStubSettings settings)

public static final HttpJsonPacketMirroringsStub create(PacketMirroringsStubSettings settings)
Parameter
NameDescription
settingsPacketMirroringsStubSettings
Returns
TypeDescription
HttpJsonPacketMirroringsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

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
NameDescription
settingsPacketMirroringsStubSettings
clientContextClientContext

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
NameDescription
settingsPacketMirroringsStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

aggregatedListCallable()

public UnaryCallable<AggregatedListPacketMirroringsRequest,PacketMirroringAggregatedList> aggregatedListCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListPacketMirroringsRequest,PacketMirroringAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListPacketMirroringsRequest,PacketMirroringsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListPacketMirroringsRequest,AggregatedListPagedResponse>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeletePacketMirroringRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeletePacketMirroringRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeletePacketMirroringRequest,Operation,Operation> deleteOperationCallable()
Returns
TypeDescription
OperationCallable<DeletePacketMirroringRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetPacketMirroringRequest,PacketMirroring> getCallable()
Returns
TypeDescription
UnaryCallable<GetPacketMirroringRequest,PacketMirroring>
Overrides

insertCallable()

public UnaryCallable<InsertPacketMirroringRequest,Operation> insertCallable()
Returns
TypeDescription
UnaryCallable<InsertPacketMirroringRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertPacketMirroringRequest,Operation,Operation> insertOperationCallable()
Returns
TypeDescription
OperationCallable<InsertPacketMirroringRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListPacketMirroringsRequest,PacketMirroringList> listCallable()
Returns
TypeDescription
UnaryCallable<ListPacketMirroringsRequest,PacketMirroringList>
Overrides

listPagedCallable()

public UnaryCallable<ListPacketMirroringsRequest,PacketMirroringsClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListPacketMirroringsRequest,ListPagedResponse>
Overrides

patchCallable()

public UnaryCallable<PatchPacketMirroringRequest,Operation> patchCallable()
Returns
TypeDescription
UnaryCallable<PatchPacketMirroringRequest,Operation>
Overrides

patchOperationCallable()

public OperationCallable<PatchPacketMirroringRequest,Operation,Operation> patchOperationCallable()
Returns
TypeDescription
OperationCallable<PatchPacketMirroringRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsPacketMirroringRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<TestIamPermissionsPacketMirroringRequest,TestPermissionsResponse>
Overrides