Interface ConnectionOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Connection, Connection.Builder

    public interface ConnectionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getDestinationIp()
      Destination IP address.
      com.google.protobuf.ByteString getDestinationIpBytes()
      Destination IP address.
      int getDestinationPort()
      Destination port.
      Connection.Protocol getProtocol()
      IANA Internet Protocol Number such as TCP(6) and UDP(17).
      int getProtocolValue()
      IANA Internet Protocol Number such as TCP(6) and UDP(17).
      String getSourceIp()
      Source IP address.
      com.google.protobuf.ByteString getSourceIpBytes()
      Source IP address.
      int getSourcePort()
      Source port.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getDestinationIp

        String getDestinationIp()
         Destination IP address. Not present for sockets that are listening and not
         connected.
         
        string destination_ip = 1;
        Returns:
        The destinationIp.
      • getDestinationIpBytes

        com.google.protobuf.ByteString getDestinationIpBytes()
         Destination IP address. Not present for sockets that are listening and not
         connected.
         
        string destination_ip = 1;
        Returns:
        The bytes for destinationIp.
      • getDestinationPort

        int getDestinationPort()
         Destination port. Not present for sockets that are listening and not
         connected.
         
        int32 destination_port = 2;
        Returns:
        The destinationPort.
      • getSourceIp

        String getSourceIp()
         Source IP address.
         
        string source_ip = 3;
        Returns:
        The sourceIp.
      • getSourceIpBytes

        com.google.protobuf.ByteString getSourceIpBytes()
         Source IP address.
         
        string source_ip = 3;
        Returns:
        The bytes for sourceIp.
      • getSourcePort

        int getSourcePort()
         Source port.
         
        int32 source_port = 4;
        Returns:
        The sourcePort.
      • getProtocolValue

        int getProtocolValue()
         IANA Internet Protocol Number such as TCP(6) and UDP(17).
         
        .google.cloud.securitycenter.v1.Connection.Protocol protocol = 5;
        Returns:
        The enum numeric value on the wire for protocol.
      • getProtocol

        Connection.Protocol getProtocol()
         IANA Internet Protocol Number such as TCP(6) and UDP(17).
         
        .google.cloud.securitycenter.v1.Connection.Protocol protocol = 5;
        Returns:
        The protocol.