Class NetworkConnection (0.13.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
TypeDescription
int

LOCAL_PORT_FIELD_NUMBER

public static final int LOCAL_PORT_FIELD_NUMBER
Field Value
TypeDescription
int

PID_FIELD_NUMBER

public static final int PID_FIELD_NUMBER
Field Value
TypeDescription
int

PROCESS_NAME_FIELD_NUMBER

public static final int PROCESS_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PROTOCOL_FIELD_NUMBER

public static final int PROTOCOL_FIELD_NUMBER
Field Value
TypeDescription
int

REMOTE_IP_ADDRESS_FIELD_NUMBER

public static final int REMOTE_IP_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

REMOTE_PORT_FIELD_NUMBER

public static final int REMOTE_PORT_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NetworkConnection getDefaultInstance()
Returns
TypeDescription
NetworkConnection

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NetworkConnection.Builder newBuilder()
Returns
TypeDescription
NetworkConnection.Builder

newBuilder(NetworkConnection prototype)

public static NetworkConnection.Builder newBuilder(NetworkConnection prototype)
Parameter
NameDescription
prototypeNetworkConnection
Returns
TypeDescription
NetworkConnection.Builder

parseDelimitedFrom(InputStream input)

public static NetworkConnection parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkConnection
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkConnection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkConnection
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NetworkConnection parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NetworkConnection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NetworkConnection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkConnection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NetworkConnection parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NetworkConnection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NetworkConnection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkConnection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NetworkConnection parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NetworkConnection
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkConnection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkConnection
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NetworkConnection parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkConnection
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkConnection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkConnection
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NetworkConnection parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NetworkConnection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NetworkConnection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkConnection
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NetworkConnection> parser()
Returns
TypeDescription
Parser<NetworkConnection>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public NetworkConnection getDefaultInstanceForType()
Returns
TypeDescription
NetworkConnection

getLocalIpAddress()

public String getLocalIpAddress()

Local IP address.

string local_ip_address = 2;

Returns
TypeDescription
String

The localIpAddress.

getLocalIpAddressBytes()

public ByteString getLocalIpAddressBytes()

Local IP address.

string local_ip_address = 2;

Returns
TypeDescription
ByteString

The bytes for localIpAddress.

getLocalPort()

public int getLocalPort()

Local port.

int32 local_port = 3;

Returns
TypeDescription
int

The localPort.

getParserForType()

public Parser<NetworkConnection> getParserForType()
Returns
TypeDescription
Parser<NetworkConnection>
Overrides

getPid()

public long getPid()

Process ID.

int64 pid = 7;

Returns
TypeDescription
long

The pid.

getProcessName()

public String getProcessName()

Process or service name.

string process_name = 8;

Returns
TypeDescription
String

The processName.

getProcessNameBytes()

public ByteString getProcessNameBytes()

Process or service name.

string process_name = 8;

Returns
TypeDescription
ByteString

The bytes for processName.

getProtocol()

public String getProtocol()

Connection protocol (e.g. TCP/UDP).

string protocol = 1;

Returns
TypeDescription
String

The protocol.

getProtocolBytes()

public ByteString getProtocolBytes()

Connection protocol (e.g. TCP/UDP).

string protocol = 1;

Returns
TypeDescription
ByteString

The bytes for protocol.

getRemoteIpAddress()

public String getRemoteIpAddress()

Remote IP address.

string remote_ip_address = 4;

Returns
TypeDescription
String

The remoteIpAddress.

getRemoteIpAddressBytes()

public ByteString getRemoteIpAddressBytes()

Remote IP address.

string remote_ip_address = 4;

Returns
TypeDescription
ByteString

The bytes for remoteIpAddress.

getRemotePort()

public int getRemotePort()

Remote port.

int32 remote_port = 5;

Returns
TypeDescription
int

The remotePort.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public NetworkConnection.State getState()

Network connection state.

.google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;

Returns
TypeDescription
NetworkConnection.State

The state.

getStateValue()

public int getStateValue()

Network connection state.

.google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NetworkConnection.Builder newBuilderForType()
Returns
TypeDescription
NetworkConnection.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NetworkConnection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NetworkConnection.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NetworkConnection.Builder toBuilder()
Returns
TypeDescription
NetworkConnection.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException