Class HttpJsonPacketMirroringsStub (1.59.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
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonPacketMirroringsStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonPacketMirroringsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonPacketMirroringsStub
Exceptions
Type Description
IOException

create(PacketMirroringsStubSettings settings)

public static final HttpJsonPacketMirroringsStub create(PacketMirroringsStubSettings settings)
Parameter
Name Description
settings PacketMirroringsStubSettings
Returns
Type Description
HttpJsonPacketMirroringsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
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
Name Description
settings PacketMirroringsStubSettings
clientContext ClientContext

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
Name Description
settings PacketMirroringsStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

aggregatedListCallable()

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

aggregatedListPagedCallable()

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

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

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

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

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