Interface ConnectionOrBuilder (2.37.0)

public interface ConnectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestinationIp()

public abstract String getDestinationIp()

Destination IP address. Not present for sockets that are listening and not connected.

string destination_ip = 1;

Returns
TypeDescription
String

The destinationIp.

getDestinationIpBytes()

public abstract ByteString getDestinationIpBytes()

Destination IP address. Not present for sockets that are listening and not connected.

string destination_ip = 1;

Returns
TypeDescription
ByteString

The bytes for destinationIp.

getDestinationPort()

public abstract int getDestinationPort()

Destination port. Not present for sockets that are listening and not connected.

int32 destination_port = 2;

Returns
TypeDescription
int

The destinationPort.

getProtocol()

public abstract Connection.Protocol getProtocol()

IANA Internet Protocol Number such as TCP(6) and UDP(17).

.google.cloud.securitycenter.v1.Connection.Protocol protocol = 5;

Returns
TypeDescription
Connection.Protocol

The protocol.

getProtocolValue()

public abstract int getProtocolValue()

IANA Internet Protocol Number such as TCP(6) and UDP(17).

.google.cloud.securitycenter.v1.Connection.Protocol protocol = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for protocol.

getSourceIp()

public abstract String getSourceIp()

Source IP address.

string source_ip = 3;

Returns
TypeDescription
String

The sourceIp.

getSourceIpBytes()

public abstract ByteString getSourceIpBytes()

Source IP address.

string source_ip = 3;

Returns
TypeDescription
ByteString

The bytes for sourceIp.

getSourcePort()

public abstract int getSourcePort()

Source port.

int32 source_port = 4;

Returns
TypeDescription
int

The sourcePort.