/*
 * Copyright 2023 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/compute/v1/compute.proto

package com.google.cloud.compute.v1;

public interface ExchangedPeeringRouteOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ExchangedPeeringRoute)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The destination range of the route.
   * </pre>
   *
   * <code>optional string dest_range = 381327712;</code>
   *
   * @return Whether the destRange field is set.
   */
  boolean hasDestRange();
  /**
   *
   *
   * <pre>
   * The destination range of the route.
   * </pre>
   *
   * <code>optional string dest_range = 381327712;</code>
   *
   * @return The destRange.
   */
  java.lang.String getDestRange();
  /**
   *
   *
   * <pre>
   * The destination range of the route.
   * </pre>
   *
   * <code>optional string dest_range = 381327712;</code>
   *
   * @return The bytes for destRange.
   */
  com.google.protobuf.ByteString getDestRangeBytes();

  /**
   *
   *
   * <pre>
   * True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict.
   * </pre>
   *
   * <code>optional bool imported = 114502404;</code>
   *
   * @return Whether the imported field is set.
   */
  boolean hasImported();
  /**
   *
   *
   * <pre>
   * True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict.
   * </pre>
   *
   * <code>optional bool imported = 114502404;</code>
   *
   * @return The imported.
   */
  boolean getImported();

  /**
   *
   *
   * <pre>
   * The region of peering route next hop, only applies to dynamic routes.
   * </pre>
   *
   * <code>optional string next_hop_region = 122577014;</code>
   *
   * @return Whether the nextHopRegion field is set.
   */
  boolean hasNextHopRegion();
  /**
   *
   *
   * <pre>
   * The region of peering route next hop, only applies to dynamic routes.
   * </pre>
   *
   * <code>optional string next_hop_region = 122577014;</code>
   *
   * @return The nextHopRegion.
   */
  java.lang.String getNextHopRegion();
  /**
   *
   *
   * <pre>
   * The region of peering route next hop, only applies to dynamic routes.
   * </pre>
   *
   * <code>optional string next_hop_region = 122577014;</code>
   *
   * @return The bytes for nextHopRegion.
   */
  com.google.protobuf.ByteString getNextHopRegionBytes();

  /**
   *
   *
   * <pre>
   * The priority of the peering route.
   * </pre>
   *
   * <code>optional uint32 priority = 445151652;</code>
   *
   * @return Whether the priority field is set.
   */
  boolean hasPriority();
  /**
   *
   *
   * <pre>
   * The priority of the peering route.
   * </pre>
   *
   * <code>optional uint32 priority = 445151652;</code>
   *
   * @return The priority.
   */
  int getPriority();

  /**
   *
   *
   * <pre>
   * The type of the peering route.
   * Check the Type enum for the list of possible values.
   * </pre>
   *
   * <code>optional string type = 3575610;</code>
   *
   * @return Whether the type field is set.
   */
  boolean hasType();
  /**
   *
   *
   * <pre>
   * The type of the peering route.
   * Check the Type enum for the list of possible values.
   * </pre>
   *
   * <code>optional string type = 3575610;</code>
   *
   * @return The type.
   */
  java.lang.String getType();
  /**
   *
   *
   * <pre>
   * The type of the peering route.
   * Check the Type enum for the list of possible values.
   * </pre>
   *
   * <code>optional string type = 3575610;</code>
   *
   * @return The bytes for type.
   */
  com.google.protobuf.ByteString getTypeBytes();
}
