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 classNetworkConnection.BuilderProtobuf typegoogle.cloud.migrationcenter.v1.NetworkConnectionstatic classNetworkConnection.StateNetwork 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 intLOCAL_IP_ADDRESS_FIELD_NUMBERstatic intLOCAL_PORT_FIELD_NUMBERstatic intPID_FIELD_NUMBERstatic intPROCESS_NAME_FIELD_NUMBERstatic intPROTOCOL_FIELD_NUMBERstatic intREMOTE_IP_ADDRESS_FIELD_NUMBERstatic intREMOTE_PORT_FIELD_NUMBERstatic intSTATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static NetworkConnectiongetDefaultInstance()NetworkConnectiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetLocalIpAddress()Local IP address.com.google.protobuf.ByteStringgetLocalIpAddressBytes()Local IP address.intgetLocalPort()Local port.com.google.protobuf.Parser<NetworkConnection>getParserForType()longgetPid()Process ID.StringgetProcessName()Process or service name.com.google.protobuf.ByteStringgetProcessNameBytes()Process or service name.StringgetProtocol()Connection protocol (e.g.com.google.protobuf.ByteStringgetProtocolBytes()Connection protocol (e.g.StringgetRemoteIpAddress()Remote IP address.com.google.protobuf.ByteStringgetRemoteIpAddressBytes()Remote IP address.intgetRemotePort()Remote port.intgetSerializedSize()NetworkConnection.StategetState()Network connection state.intgetStateValue()Network connection state.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static NetworkConnection.BuildernewBuilder()static NetworkConnection.BuildernewBuilder(NetworkConnection prototype)NetworkConnection.BuildernewBuilderForType()protected NetworkConnection.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NetworkConnectionparseDelimitedFrom(InputStream input)static NetworkConnectionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkConnectionparseFrom(byte[] data)static NetworkConnectionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkConnectionparseFrom(com.google.protobuf.ByteString data)static NetworkConnectionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkConnectionparseFrom(com.google.protobuf.CodedInputStream input)static NetworkConnectionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkConnectionparseFrom(InputStream input)static NetworkConnectionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkConnectionparseFrom(ByteBuffer data)static NetworkConnectionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<NetworkConnection>parser()NetworkConnection.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getProtocol
public String getProtocol()
Connection protocol (e.g. TCP/UDP).
string protocol = 1;- Specified by:
getProtocolin interfaceNetworkConnectionOrBuilder- Returns:
- The protocol.
-
getProtocolBytes
public com.google.protobuf.ByteString getProtocolBytes()
Connection protocol (e.g. TCP/UDP).
string protocol = 1;- Specified by:
getProtocolBytesin interfaceNetworkConnectionOrBuilder- Returns:
- The bytes for protocol.
-
getLocalIpAddress
public String getLocalIpAddress()
Local IP address.
string local_ip_address = 2;- Specified by:
getLocalIpAddressin interfaceNetworkConnectionOrBuilder- Returns:
- The localIpAddress.
-
getLocalIpAddressBytes
public com.google.protobuf.ByteString getLocalIpAddressBytes()
Local IP address.
string local_ip_address = 2;- Specified by:
getLocalIpAddressBytesin interfaceNetworkConnectionOrBuilder- Returns:
- The bytes for localIpAddress.
-
getLocalPort
public int getLocalPort()
Local port.
int32 local_port = 3;- Specified by:
getLocalPortin interfaceNetworkConnectionOrBuilder- Returns:
- The localPort.
-
getRemoteIpAddress
public String getRemoteIpAddress()
Remote IP address.
string remote_ip_address = 4;- Specified by:
getRemoteIpAddressin interfaceNetworkConnectionOrBuilder- Returns:
- The remoteIpAddress.
-
getRemoteIpAddressBytes
public com.google.protobuf.ByteString getRemoteIpAddressBytes()
Remote IP address.
string remote_ip_address = 4;- Specified by:
getRemoteIpAddressBytesin interfaceNetworkConnectionOrBuilder- Returns:
- The bytes for remoteIpAddress.
-
getRemotePort
public int getRemotePort()
Remote port.
int32 remote_port = 5;- Specified by:
getRemotePortin interfaceNetworkConnectionOrBuilder- Returns:
- The remotePort.
-
getStateValue
public int getStateValue()
Network connection state.
.google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;- Specified by:
getStateValuein 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:
getStatein interfaceNetworkConnectionOrBuilder- Returns:
- The state.
-
getPid
public long getPid()
Process ID.
int64 pid = 7;- Specified by:
getPidin interfaceNetworkConnectionOrBuilder- Returns:
- The pid.
-
getProcessName
public String getProcessName()
Process or service name.
string process_name = 8;- Specified by:
getProcessNamein interfaceNetworkConnectionOrBuilder- Returns:
- The processName.
-
getProcessNameBytes
public com.google.protobuf.ByteString getProcessNameBytes()
Process or service name.
string process_name = 8;- Specified by:
getProcessNameBytesin interfaceNetworkConnectionOrBuilder- Returns:
- The bytes for processName.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NetworkConnection.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NetworkConnection getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-