Interface ConditionContext.PeerOrBuilder (1.43.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
Type Description
String

The ip.

getIpBytes()

public abstract ByteString getIpBytes()

The IPv4 or IPv6 address of the peer.

string ip = 1;

Returns
Type Description
ByteString

The bytes for ip.

getPort()

public abstract long getPort()

The network port of the peer.

int64 port = 2;

Returns
Type Description
long

The port.