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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getProtocol

      public String getProtocol()
       Connection protocol (e.g. TCP/UDP).
       
      string protocol = 1;
      Specified by:
      getProtocol in interface NetworkConnectionOrBuilder
      Returns:
      The protocol.
    • getProtocolBytes

      public com.google.protobuf.ByteString getProtocolBytes()
       Connection protocol (e.g. TCP/UDP).
       
      string protocol = 1;
      Specified by:
      getProtocolBytes in interface NetworkConnectionOrBuilder
      Returns:
      The bytes for protocol.
    • getLocalIpAddress

      public String getLocalIpAddress()
       Local IP address.
       
      string local_ip_address = 2;
      Specified by:
      getLocalIpAddress in interface NetworkConnectionOrBuilder
      Returns:
      The localIpAddress.
    • getLocalIpAddressBytes

      public com.google.protobuf.ByteString getLocalIpAddressBytes()
       Local IP address.
       
      string local_ip_address = 2;
      Specified by:
      getLocalIpAddressBytes in interface NetworkConnectionOrBuilder
      Returns:
      The bytes for localIpAddress.
    • getLocalPort

      public int getLocalPort()
       Local port.
       
      int32 local_port = 3;
      Specified by:
      getLocalPort in interface NetworkConnectionOrBuilder
      Returns:
      The localPort.
    • getRemoteIpAddress

      public String getRemoteIpAddress()
       Remote IP address.
       
      string remote_ip_address = 4;
      Specified by:
      getRemoteIpAddress in interface NetworkConnectionOrBuilder
      Returns:
      The remoteIpAddress.
    • getRemoteIpAddressBytes

      public com.google.protobuf.ByteString getRemoteIpAddressBytes()
       Remote IP address.
       
      string remote_ip_address = 4;
      Specified by:
      getRemoteIpAddressBytes in interface NetworkConnectionOrBuilder
      Returns:
      The bytes for remoteIpAddress.
    • getRemotePort

      public int getRemotePort()
       Remote port.
       
      int32 remote_port = 5;
      Specified by:
      getRemotePort in interface NetworkConnectionOrBuilder
      Returns:
      The remotePort.
    • getStateValue

      public int getStateValue()
       Network connection state.
       
      .google.cloud.migrationcenter.v1.NetworkConnection.State state = 6;
      Specified by:
      getStateValue in interface NetworkConnectionOrBuilder
      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 interface NetworkConnectionOrBuilder
      Returns:
      The state.
    • getPid

      public long getPid()
       Process ID.
       
      int64 pid = 7;
      Specified by:
      getPid in interface NetworkConnectionOrBuilder
      Returns:
      The pid.
    • getProcessName

      public String getProcessName()
       Process or service name.
       
      string process_name = 8;
      Specified by:
      getProcessName in interface NetworkConnectionOrBuilder
      Returns:
      The processName.
    • getProcessNameBytes

      public com.google.protobuf.ByteString getProcessNameBytes()
       Process or service name.
       
      string process_name = 8;
      Specified by:
      getProcessNameBytes in interface NetworkConnectionOrBuilder
      Returns:
      The bytes for processName.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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 interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.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 interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected NetworkConnection.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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 interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public NetworkConnection getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder