Interface NetworkConnectionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkConnection,NetworkConnection.Builder
public interface NetworkConnectionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetLocalIpAddress()Local IP address.com.google.protobuf.ByteStringgetLocalIpAddressBytes()Local IP address.intgetLocalPort()Local port.longgetPid()Process ID.StringgetProcessName()Process or service name.com.google.protobuf.ByteStringgetProcessNameBytes()Process or service name.StringgetProtocol()Connection protocol (e.g.com.google.protobuf.ByteStringgetProtocolBytes()Connection protocol (e.g.StringgetRemoteIpAddress()Remote IP address.com.google.protobuf.ByteStringgetRemoteIpAddressBytes()Remote IP address.intgetRemotePort()Remote port.NetworkConnection.StategetState()Network connection state.intgetStateValue()Network connection state.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getProtocol
String getProtocol()
Connection protocol (e.g. TCP/UDP).
string protocol = 1;- Returns:
- The protocol.
-
getProtocolBytes
com.google.protobuf.ByteString getProtocolBytes()
Connection protocol (e.g. TCP/UDP).
string protocol = 1;- Returns:
- The bytes for protocol.
-
getLocalIpAddress
String getLocalIpAddress()
Local IP address.
string local_ip_address = 2;- Returns:
- The localIpAddress.
-
getLocalIpAddressBytes
com.google.protobuf.ByteString getLocalIpAddressBytes()
Local IP address.
string local_ip_address = 2;- Returns:
- The bytes for localIpAddress.
-
getLocalPort
int getLocalPort()
Local port.
int32 local_port = 3;- Returns:
- The localPort.
-
getRemoteIpAddress
String getRemoteIpAddress()
Remote IP address.
string remote_ip_address = 4;- Returns:
- The remoteIpAddress.
-
getRemoteIpAddressBytes
com.google.protobuf.ByteString getRemoteIpAddressBytes()
Remote IP address.
string remote_ip_address = 4;- Returns:
- The bytes for remoteIpAddress.
-
getRemotePort
int getRemotePort()
Remote port.
int32 remote_port = 5;- Returns:
- The remotePort.
-
getStateValue
int getStateValue()
Network connection state.
.google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;- Returns:
- The enum numeric value on the wire for state.
-
getState
NetworkConnection.State getState()
Network connection state.
.google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;- Returns:
- The state.
-
getPid
long getPid()
Process ID.
int64 pid = 7;- Returns:
- The pid.
-
getProcessName
String getProcessName()
Process or service name.
string process_name = 8;- Returns:
- The processName.
-
getProcessNameBytes
com.google.protobuf.ByteString getProcessNameBytes()
Process or service name.
string process_name = 8;- Returns:
- The bytes for processName.
-
-