public interface ConnectionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDestinationIp()
public abstract String getDestinationIp()
Destination IP address. Not present for sockets that are listening and not connected.
string destination_ip = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int |
The destinationPort. |
getProtocol()
public abstract Connection.Protocol getProtocol()
IANA Internet Protocol Number such as TCP(6) and UDP(17).
.google.cloud.securitycenter.v2.Connection.Protocol protocol = 5;
Returns | |
---|---|
Type | Description |
Connection.Protocol |
The protocol. |
getProtocolValue()
public abstract int getProtocolValue()
IANA Internet Protocol Number such as TCP(6) and UDP(17).
.google.cloud.securitycenter.v2.Connection.Protocol protocol = 5;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for protocol. |
getSourceIp()
public abstract String getSourceIp()
Source IP address.
string source_ip = 3;
Returns | |
---|---|
Type | Description |
String |
The sourceIp. |
getSourceIpBytes()
public abstract ByteString getSourceIpBytes()
Source IP address.
string source_ip = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for sourceIp. |
getSourcePort()
public abstract int getSourcePort()
Source port.
int32 source_port = 4;
Returns | |
---|---|
Type | Description |
int |
The sourcePort. |