Interface ConditionContext.PeerOrBuilder (1.30.0)

public static interface ConditionContext.PeerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIp()

public abstract String getIp()

The IPv4 or IPv6 address of the peer.

string ip = 1;

Returns
TypeDescription
String

The ip.

getIpBytes()

public abstract ByteString getIpBytes()

The IPv4 or IPv6 address of the peer.

string ip = 1;

Returns
TypeDescription
ByteString

The bytes for ip.

getPort()

public abstract long getPort()

The network port of the peer.

int64 port = 2;

Returns
TypeDescription
long

The port.