public final class NetworkConnection extends GeneratedMessageV3 implements NetworkConnectionOrBuilder
Protobuf type google.cloud.migrationcenter.v1.NetworkConnection
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
LOCAL_IP_ADDRESS_FIELD_NUMBER
public static final int LOCAL_IP_ADDRESS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LOCAL_PORT_FIELD_NUMBER
public static final int LOCAL_PORT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PID_FIELD_NUMBER
public static final int PID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROCESS_NAME_FIELD_NUMBER
public static final int PROCESS_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REMOTE_IP_ADDRESS_FIELD_NUMBER
public static final int REMOTE_IP_ADDRESS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REMOTE_PORT_FIELD_NUMBER
public static final int REMOTE_PORT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static NetworkConnection getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NetworkConnection.Builder newBuilder()
newBuilder(NetworkConnection prototype)
public static NetworkConnection.Builder newBuilder(NetworkConnection prototype)
public static NetworkConnection parseDelimitedFrom(InputStream input)
public static NetworkConnection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NetworkConnection parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NetworkConnection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NetworkConnection parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkConnection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkConnection parseFrom(CodedInputStream input)
public static NetworkConnection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NetworkConnection parseFrom(InputStream input)
public static NetworkConnection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NetworkConnection parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NetworkConnection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NetworkConnection> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public NetworkConnection getDefaultInstanceForType()
getLocalIpAddress()
public String getLocalIpAddress()
Local IP address.
string local_ip_address = 2;
Returns |
Type |
Description |
String |
The localIpAddress.
|
getLocalIpAddressBytes()
public ByteString getLocalIpAddressBytes()
Local IP address.
string local_ip_address = 2;
Returns |
Type |
Description |
ByteString |
The bytes for localIpAddress.
|
getLocalPort()
public int getLocalPort()
Local port.
int32 local_port = 3;
Returns |
Type |
Description |
int |
The localPort.
|
getParserForType()
public Parser<NetworkConnection> getParserForType()
Overrides
getPid()
Process ID.
int64 pid = 7;
Returns |
Type |
Description |
long |
The pid.
|
getProcessName()
public String getProcessName()
Process or service name.
string process_name = 8;
Returns |
Type |
Description |
String |
The processName.
|
getProcessNameBytes()
public ByteString getProcessNameBytes()
Process or service name.
string process_name = 8;
Returns |
Type |
Description |
ByteString |
The bytes for processName.
|
getProtocol()
public String getProtocol()
Connection protocol (e.g. TCP/UDP).
string protocol = 1;
Returns |
Type |
Description |
String |
The protocol.
|
getProtocolBytes()
public ByteString getProtocolBytes()
Connection protocol (e.g. TCP/UDP).
string protocol = 1;
Returns |
Type |
Description |
ByteString |
The bytes for protocol.
|
getRemoteIpAddress()
public String getRemoteIpAddress()
Remote IP address.
string remote_ip_address = 4;
Returns |
Type |
Description |
String |
The remoteIpAddress.
|
getRemoteIpAddressBytes()
public ByteString getRemoteIpAddressBytes()
Remote IP address.
string remote_ip_address = 4;
Returns |
Type |
Description |
ByteString |
The bytes for remoteIpAddress.
|
getRemotePort()
public int getRemotePort()
Remote port.
int32 remote_port = 5;
Returns |
Type |
Description |
int |
The remotePort.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getState()
public NetworkConnection.State getState()
Network connection state.
.google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;
getStateValue()
public int getStateValue()
Network connection state.
.google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public NetworkConnection.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NetworkConnection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public NetworkConnection.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides