Interface NetworkConnectionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkConnection,NetworkConnection.Builder
@Generated
public interface NetworkConnectionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionLocal IP address.com.google.protobuf.ByteStringLocal IP address.intLocal port.longgetPid()Process ID.Process or service name.com.google.protobuf.ByteStringProcess or service name.Connection protocol (e.g.com.google.protobuf.ByteStringConnection protocol (e.g.Remote IP address.com.google.protobuf.ByteStringRemote IP address.intRemote port.getState()Network connection state.intNetwork connection state.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-