Class NetworkConnection
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class NetworkConnection
extends com.google.protobuf.GeneratedMessage
implements NetworkConnectionOrBuilder
Protobuf type
google.cloud.migrationcenter.v1.NetworkConnection- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typegoogle.cloud.migrationcenter.v1.NetworkConnectionstatic enumNetwork connection state.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic NetworkConnectionstatic final com.google.protobuf.Descriptors.DescriptorLocal IP address.com.google.protobuf.ByteStringLocal IP address.intLocal port.com.google.protobuf.Parser<NetworkConnection>longgetPid()Process ID.Process or service name.com.google.protobuf.ByteStringProcess or service name.Connection protocol (e.g.com.google.protobuf.ByteStringConnection protocol (e.g.Remote IP address.com.google.protobuf.ByteStringRemote IP address.intRemote port.intgetState()Network connection state.intNetwork connection state.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic NetworkConnection.Builderstatic NetworkConnection.BuildernewBuilder(NetworkConnection prototype) protected NetworkConnection.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER- See Also:
-
LOCAL_IP_ADDRESS_FIELD_NUMBER
public static final int LOCAL_IP_ADDRESS_FIELD_NUMBER- See Also:
-
LOCAL_PORT_FIELD_NUMBER
public static final int LOCAL_PORT_FIELD_NUMBER- See Also:
-
REMOTE_IP_ADDRESS_FIELD_NUMBER
public static final int REMOTE_IP_ADDRESS_FIELD_NUMBER- See Also:
-
REMOTE_PORT_FIELD_NUMBER
public static final int REMOTE_PORT_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
PID_FIELD_NUMBER
public static final int PID_FIELD_NUMBER- See Also:
-
PROCESS_NAME_FIELD_NUMBER
public static final int PROCESS_NAME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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
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
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
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
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static NetworkConnection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NetworkConnection.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-