/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/securitycenter/v1/connection.proto

package com.google.cloud.securitycenter.v1;

public interface ConnectionOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Connection)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Destination IP address. Not present for sockets that are listening and not
   * connected.
   * </pre>
   *
   * <code>string destination_ip = 1;</code>
   *
   * @return The destinationIp.
   */
  java.lang.String getDestinationIp();
  /**
   *
   *
   * <pre>
   * Destination IP address. Not present for sockets that are listening and not
   * connected.
   * </pre>
   *
   * <code>string destination_ip = 1;</code>
   *
   * @return The bytes for destinationIp.
   */
  com.google.protobuf.ByteString getDestinationIpBytes();

  /**
   *
   *
   * <pre>
   * Destination port. Not present for sockets that are listening and not
   * connected.
   * </pre>
   *
   * <code>int32 destination_port = 2;</code>
   *
   * @return The destinationPort.
   */
  int getDestinationPort();

  /**
   *
   *
   * <pre>
   * Source IP address.
   * </pre>
   *
   * <code>string source_ip = 3;</code>
   *
   * @return The sourceIp.
   */
  java.lang.String getSourceIp();
  /**
   *
   *
   * <pre>
   * Source IP address.
   * </pre>
   *
   * <code>string source_ip = 3;</code>
   *
   * @return The bytes for sourceIp.
   */
  com.google.protobuf.ByteString getSourceIpBytes();

  /**
   *
   *
   * <pre>
   * Source port.
   * </pre>
   *
   * <code>int32 source_port = 4;</code>
   *
   * @return The sourcePort.
   */
  int getSourcePort();

  /**
   *
   *
   * <pre>
   * IANA Internet Protocol Number such as TCP(6) and UDP(17).
   * </pre>
   *
   * <code>.google.cloud.securitycenter.v1.Connection.Protocol protocol = 5;</code>
   *
   * @return The enum numeric value on the wire for protocol.
   */
  int getProtocolValue();
  /**
   *
   *
   * <pre>
   * IANA Internet Protocol Number such as TCP(6) and UDP(17).
   * </pre>
   *
   * <code>.google.cloud.securitycenter.v1.Connection.Protocol protocol = 5;</code>
   *
   * @return The protocol.
   */
  com.google.cloud.securitycenter.v1.Connection.Protocol getProtocol();
}
