Class NetworkConnection (0.24.0)

public final class NetworkConnection extends GeneratedMessageV3 implements NetworkConnectionOrBuilder

Protobuf type google.cloud.migrationcenter.v1.NetworkConnection

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()
Returns
Type Description
NetworkConnection

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NetworkConnection.Builder newBuilder()
Returns
Type Description
NetworkConnection.Builder

newBuilder(NetworkConnection prototype)

public static NetworkConnection.Builder newBuilder(NetworkConnection prototype)
Parameter
Name Description
prototype NetworkConnection
Returns
Type Description
NetworkConnection.Builder

parseDelimitedFrom(InputStream input)

public static NetworkConnection parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkConnection
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkConnection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConnection
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NetworkConnection parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NetworkConnection
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NetworkConnection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConnection
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NetworkConnection parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NetworkConnection
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NetworkConnection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConnection
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NetworkConnection parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NetworkConnection
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkConnection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConnection
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NetworkConnection parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkConnection
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkConnection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConnection
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NetworkConnection parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NetworkConnection
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NetworkConnection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConnection
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NetworkConnection> parser()
Returns
Type Description
Parser<NetworkConnection>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public NetworkConnection getDefaultInstanceForType()
Returns
Type Description
NetworkConnection

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()
Returns
Type Description
Parser<NetworkConnection>
Overrides

getPid()

public long 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;

Returns
Type Description
NetworkConnection.State

The state.

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NetworkConnection.Builder newBuilderForType()
Returns
Type Description
NetworkConnection.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NetworkConnection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NetworkConnection.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NetworkConnection.Builder toBuilder()
Returns
Type Description
NetworkConnection.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException