Class NetworkConnection
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.migrationcenter.v1.NetworkConnection
-
- All Implemented Interfaces:
NetworkConnectionOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class NetworkConnection extends com.google.protobuf.GeneratedMessageV3 implements NetworkConnectionOrBuilder
Protobuf typegoogle.cloud.migrationcenter.v1.NetworkConnection
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NetworkConnection.Builder
Protobuf typegoogle.cloud.migrationcenter.v1.NetworkConnection
static class
NetworkConnection.State
Network connection state.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
LOCAL_IP_ADDRESS_FIELD_NUMBER
static int
LOCAL_PORT_FIELD_NUMBER
static int
PID_FIELD_NUMBER
static int
PROCESS_NAME_FIELD_NUMBER
static int
PROTOCOL_FIELD_NUMBER
static int
REMOTE_IP_ADDRESS_FIELD_NUMBER
static int
REMOTE_PORT_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static NetworkConnection
getDefaultInstance()
NetworkConnection
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getLocalIpAddress()
Local IP address.com.google.protobuf.ByteString
getLocalIpAddressBytes()
Local IP address.int
getLocalPort()
Local port.com.google.protobuf.Parser<NetworkConnection>
getParserForType()
long
getPid()
Process ID.String
getProcessName()
Process or service name.com.google.protobuf.ByteString
getProcessNameBytes()
Process or service name.String
getProtocol()
Connection protocol (e.g.com.google.protobuf.ByteString
getProtocolBytes()
Connection protocol (e.g.String
getRemoteIpAddress()
Remote IP address.com.google.protobuf.ByteString
getRemoteIpAddressBytes()
Remote IP address.int
getRemotePort()
Remote port.int
getSerializedSize()
NetworkConnection.State
getState()
Network connection state.int
getStateValue()
Network connection state.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static NetworkConnection.Builder
newBuilder()
static NetworkConnection.Builder
newBuilder(NetworkConnection prototype)
NetworkConnection.Builder
newBuilderForType()
protected NetworkConnection.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static NetworkConnection
parseDelimitedFrom(InputStream input)
static NetworkConnection
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NetworkConnection
parseFrom(byte[] data)
static NetworkConnection
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NetworkConnection
parseFrom(com.google.protobuf.ByteString data)
static NetworkConnection
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NetworkConnection
parseFrom(com.google.protobuf.CodedInputStream input)
static NetworkConnection
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NetworkConnection
parseFrom(InputStream input)
static NetworkConnection
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NetworkConnection
parseFrom(ByteBuffer data)
static NetworkConnection
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<NetworkConnection>
parser()
NetworkConnection.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCAL_IP_ADDRESS_FIELD_NUMBER
public static final int LOCAL_IP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCAL_PORT_FIELD_NUMBER
public static final int LOCAL_PORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMOTE_IP_ADDRESS_FIELD_NUMBER
public static final int REMOTE_IP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMOTE_PORT_FIELD_NUMBER
public static final int REMOTE_PORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PID_FIELD_NUMBER
public static final int PID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROCESS_NAME_FIELD_NUMBER
public static final int PROCESS_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getProtocol
public String getProtocol()
Connection protocol (e.g. TCP/UDP).
string protocol = 1;
- Specified by:
getProtocol
in interfaceNetworkConnectionOrBuilder
- Returns:
- The protocol.
-
getProtocolBytes
public com.google.protobuf.ByteString getProtocolBytes()
Connection protocol (e.g. TCP/UDP).
string protocol = 1;
- Specified by:
getProtocolBytes
in interfaceNetworkConnectionOrBuilder
- Returns:
- The bytes for protocol.
-
getLocalIpAddress
public String getLocalIpAddress()
Local IP address.
string local_ip_address = 2;
- Specified by:
getLocalIpAddress
in interfaceNetworkConnectionOrBuilder
- Returns:
- The localIpAddress.
-
getLocalIpAddressBytes
public com.google.protobuf.ByteString getLocalIpAddressBytes()
Local IP address.
string local_ip_address = 2;
- Specified by:
getLocalIpAddressBytes
in interfaceNetworkConnectionOrBuilder
- Returns:
- The bytes for localIpAddress.
-
getLocalPort
public int getLocalPort()
Local port.
int32 local_port = 3;
- Specified by:
getLocalPort
in interfaceNetworkConnectionOrBuilder
- Returns:
- The localPort.
-
getRemoteIpAddress
public String getRemoteIpAddress()
Remote IP address.
string remote_ip_address = 4;
- Specified by:
getRemoteIpAddress
in interfaceNetworkConnectionOrBuilder
- Returns:
- The remoteIpAddress.
-
getRemoteIpAddressBytes
public com.google.protobuf.ByteString getRemoteIpAddressBytes()
Remote IP address.
string remote_ip_address = 4;
- Specified by:
getRemoteIpAddressBytes
in interfaceNetworkConnectionOrBuilder
- Returns:
- The bytes for remoteIpAddress.
-
getRemotePort
public int getRemotePort()
Remote port.
int32 remote_port = 5;
- Specified by:
getRemotePort
in interfaceNetworkConnectionOrBuilder
- Returns:
- The remotePort.
-
getStateValue
public int getStateValue()
Network connection state.
.google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;
- Specified by:
getStateValue
in interfaceNetworkConnectionOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public NetworkConnection.State getState()
Network connection state.
.google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;
- Specified by:
getState
in interfaceNetworkConnectionOrBuilder
- Returns:
- The state.
-
getPid
public long getPid()
Process ID.
int64 pid = 7;
- Specified by:
getPid
in interfaceNetworkConnectionOrBuilder
- Returns:
- The pid.
-
getProcessName
public String getProcessName()
Process or service name.
string process_name = 8;
- Specified by:
getProcessName
in interfaceNetworkConnectionOrBuilder
- Returns:
- The processName.
-
getProcessNameBytes
public com.google.protobuf.ByteString getProcessNameBytes()
Process or service name.
string process_name = 8;
- Specified by:
getProcessNameBytes
in interfaceNetworkConnectionOrBuilder
- Returns:
- The bytes for processName.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NetworkConnection parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkConnection parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkConnection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkConnection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkConnection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkConnection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkConnection parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NetworkConnection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NetworkConnection parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NetworkConnection parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static NetworkConnection parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NetworkConnection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public NetworkConnection.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NetworkConnection.Builder newBuilder()
-
newBuilder
public static NetworkConnection.Builder newBuilder(NetworkConnection prototype)
-
toBuilder
public NetworkConnection.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NetworkConnection.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static NetworkConnection getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NetworkConnection> parser()
-
getParserForType
public com.google.protobuf.Parser<NetworkConnection> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NetworkConnection getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-