Class TetherGrpc (2.46.0)

public final class TetherGrpc

Tether provides a way for the control plane to send HTTP API requests to services in data planes that runs in a remote datacenter without requiring customers to open firewalls on their runtime plane.

Inheritance

java.lang.Object > TetherGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(TetherGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(TetherGrpc.AsyncService service)
Parameter
Name Description
service TetherGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getEgressMethod()

public static MethodDescriptor<EgressResponse,EgressRequest> getEgressMethod()
Returns
Type Description
io.grpc.MethodDescriptor<EgressResponse,EgressRequest>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static TetherGrpc.TetherBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
TetherGrpc.TetherBlockingStub

newFutureStub(Channel channel)

public static TetherGrpc.TetherFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
TetherGrpc.TetherFutureStub

newStub(Channel channel)

public static TetherGrpc.TetherStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
TetherGrpc.TetherStub