Class ProxyConnectionInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkmanagement.v1beta1.ProxyConnectionInfo
All Implemented Interfaces:
ProxyConnectionInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ProxyConnectionInfo extends com.google.protobuf.GeneratedMessage implements ProxyConnectionInfoOrBuilder
 For display only. Metadata associated with ProxyConnection.
 
Protobuf type google.cloud.networkmanagement.v1beta1.ProxyConnectionInfo
See Also:
  • Field Details

    • PROTOCOL_FIELD_NUMBER

      public static final int PROTOCOL_FIELD_NUMBER
      See Also:
    • OLD_SOURCE_IP_FIELD_NUMBER

      public static final int OLD_SOURCE_IP_FIELD_NUMBER
      See Also:
    • NEW_SOURCE_IP_FIELD_NUMBER

      public static final int NEW_SOURCE_IP_FIELD_NUMBER
      See Also:
    • OLD_DESTINATION_IP_FIELD_NUMBER

      public static final int OLD_DESTINATION_IP_FIELD_NUMBER
      See Also:
    • NEW_DESTINATION_IP_FIELD_NUMBER

      public static final int NEW_DESTINATION_IP_FIELD_NUMBER
      See Also:
    • OLD_SOURCE_PORT_FIELD_NUMBER

      public static final int OLD_SOURCE_PORT_FIELD_NUMBER
      See Also:
    • NEW_SOURCE_PORT_FIELD_NUMBER

      public static final int NEW_SOURCE_PORT_FIELD_NUMBER
      See Also:
    • OLD_DESTINATION_PORT_FIELD_NUMBER

      public static final int OLD_DESTINATION_PORT_FIELD_NUMBER
      See Also:
    • NEW_DESTINATION_PORT_FIELD_NUMBER

      public static final int NEW_DESTINATION_PORT_FIELD_NUMBER
      See Also:
    • SUBNET_URI_FIELD_NUMBER

      public static final int SUBNET_URI_FIELD_NUMBER
      See Also:
    • NETWORK_URI_FIELD_NUMBER

      public static final int NETWORK_URI_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()
       IP protocol in string format, for example: "TCP", "UDP", "ICMP".
       
      string protocol = 1;
      Specified by:
      getProtocol in interface ProxyConnectionInfoOrBuilder
      Returns:
      The protocol.
    • getProtocolBytes

      public com.google.protobuf.ByteString getProtocolBytes()
       IP protocol in string format, for example: "TCP", "UDP", "ICMP".
       
      string protocol = 1;
      Specified by:
      getProtocolBytes in interface ProxyConnectionInfoOrBuilder
      Returns:
      The bytes for protocol.
    • getOldSourceIp

      public String getOldSourceIp()
       Source IP address of an original connection.
       
      string old_source_ip = 2;
      Specified by:
      getOldSourceIp in interface ProxyConnectionInfoOrBuilder
      Returns:
      The oldSourceIp.
    • getOldSourceIpBytes

      public com.google.protobuf.ByteString getOldSourceIpBytes()
       Source IP address of an original connection.
       
      string old_source_ip = 2;
      Specified by:
      getOldSourceIpBytes in interface ProxyConnectionInfoOrBuilder
      Returns:
      The bytes for oldSourceIp.
    • getNewSourceIp

      public String getNewSourceIp()
       Source IP address of a new connection.
       
      string new_source_ip = 3;
      Specified by:
      getNewSourceIp in interface ProxyConnectionInfoOrBuilder
      Returns:
      The newSourceIp.
    • getNewSourceIpBytes

      public com.google.protobuf.ByteString getNewSourceIpBytes()
       Source IP address of a new connection.
       
      string new_source_ip = 3;
      Specified by:
      getNewSourceIpBytes in interface ProxyConnectionInfoOrBuilder
      Returns:
      The bytes for newSourceIp.
    • getOldDestinationIp

      public String getOldDestinationIp()
       Destination IP address of an original connection
       
      string old_destination_ip = 4;
      Specified by:
      getOldDestinationIp in interface ProxyConnectionInfoOrBuilder
      Returns:
      The oldDestinationIp.
    • getOldDestinationIpBytes

      public com.google.protobuf.ByteString getOldDestinationIpBytes()
       Destination IP address of an original connection
       
      string old_destination_ip = 4;
      Specified by:
      getOldDestinationIpBytes in interface ProxyConnectionInfoOrBuilder
      Returns:
      The bytes for oldDestinationIp.
    • getNewDestinationIp

      public String getNewDestinationIp()
       Destination IP address of a new connection.
       
      string new_destination_ip = 5;
      Specified by:
      getNewDestinationIp in interface ProxyConnectionInfoOrBuilder
      Returns:
      The newDestinationIp.
    • getNewDestinationIpBytes

      public com.google.protobuf.ByteString getNewDestinationIpBytes()
       Destination IP address of a new connection.
       
      string new_destination_ip = 5;
      Specified by:
      getNewDestinationIpBytes in interface ProxyConnectionInfoOrBuilder
      Returns:
      The bytes for newDestinationIp.
    • getOldSourcePort

      public int getOldSourcePort()
       Source port of an original connection. Only valid when protocol is TCP or
       UDP.
       
      int32 old_source_port = 6;
      Specified by:
      getOldSourcePort in interface ProxyConnectionInfoOrBuilder
      Returns:
      The oldSourcePort.
    • getNewSourcePort

      public int getNewSourcePort()
       Source port of a new connection. Only valid when protocol is TCP or UDP.
       
      int32 new_source_port = 7;
      Specified by:
      getNewSourcePort in interface ProxyConnectionInfoOrBuilder
      Returns:
      The newSourcePort.
    • getOldDestinationPort

      public int getOldDestinationPort()
       Destination port of an original connection. Only valid when protocol is TCP
       or UDP.
       
      int32 old_destination_port = 8;
      Specified by:
      getOldDestinationPort in interface ProxyConnectionInfoOrBuilder
      Returns:
      The oldDestinationPort.
    • getNewDestinationPort

      public int getNewDestinationPort()
       Destination port of a new connection. Only valid when protocol is TCP or
       UDP.
       
      int32 new_destination_port = 9;
      Specified by:
      getNewDestinationPort in interface ProxyConnectionInfoOrBuilder
      Returns:
      The newDestinationPort.
    • getSubnetUri

      public String getSubnetUri()
       Uri of proxy subnet.
       
      string subnet_uri = 10;
      Specified by:
      getSubnetUri in interface ProxyConnectionInfoOrBuilder
      Returns:
      The subnetUri.
    • getSubnetUriBytes

      public com.google.protobuf.ByteString getSubnetUriBytes()
       Uri of proxy subnet.
       
      string subnet_uri = 10;
      Specified by:
      getSubnetUriBytes in interface ProxyConnectionInfoOrBuilder
      Returns:
      The bytes for subnetUri.
    • getNetworkUri

      public String getNetworkUri()
       URI of the network where connection is proxied.
       
      string network_uri = 11;
      Specified by:
      getNetworkUri in interface ProxyConnectionInfoOrBuilder
      Returns:
      The networkUri.
    • getNetworkUriBytes

      public com.google.protobuf.ByteString getNetworkUriBytes()
       URI of the network where connection is proxied.
       
      string network_uri = 11;
      Specified by:
      getNetworkUriBytes in interface ProxyConnectionInfoOrBuilder
      Returns:
      The bytes for networkUri.
    • 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 ProxyConnectionInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProxyConnectionInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProxyConnectionInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProxyConnectionInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProxyConnectionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProxyConnectionInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProxyConnectionInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProxyConnectionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ProxyConnectionInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ProxyConnectionInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProxyConnectionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProxyConnectionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ProxyConnectionInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ProxyConnectionInfo.Builder newBuilder()
    • newBuilder

      public static ProxyConnectionInfo.Builder newBuilder(ProxyConnectionInfo prototype)
    • toBuilder

      public ProxyConnectionInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ProxyConnectionInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ProxyConnectionInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ProxyConnectionInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<ProxyConnectionInfo> 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 ProxyConnectionInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder