Interface PeeringRouteOrBuilder

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

@Generated public interface PeeringRouteOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getDestRange

      String getDestRange()
       Output only. Destination range of the peering route in CIDR notation.
       
      string dest_range = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The destRange.
    • getDestRangeBytes

      com.google.protobuf.ByteString getDestRangeBytes()
       Output only. Destination range of the peering route in CIDR notation.
       
      string dest_range = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for destRange.
    • getTypeValue

      int getTypeValue()
       Output only. Type of the route in the peer VPC network.
       
      .google.cloud.vmwareengine.v1.PeeringRoute.Type type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Output only. Type of the route in the peer VPC network.
       
      .google.cloud.vmwareengine.v1.PeeringRoute.Type type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The type.
    • getNextHopRegion

      String getNextHopRegion()
       Output only. Region containing the next hop of the peering route. This
       field only applies to dynamic routes in the peer VPC network.
       
      string next_hop_region = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The nextHopRegion.
    • getNextHopRegionBytes

      com.google.protobuf.ByteString getNextHopRegionBytes()
       Output only. Region containing the next hop of the peering route. This
       field only applies to dynamic routes in the peer VPC network.
       
      string next_hop_region = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for nextHopRegion.
    • getPriority

      long getPriority()
       Output only. The priority of the peering route.
       
      int64 priority = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The priority.
    • getImported

      boolean getImported()
       Output only. True if the peering route has been imported from a peered
       VPC network; false otherwise. The import happens if the field
       `NetworkPeering.importCustomRoutes` is true for this network,
       `NetworkPeering.exportCustomRoutes` is true for the peer VPC network, and
       the import does not result in a route conflict.
       
      bool imported = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The imported.
    • getDirectionValue

      int getDirectionValue()
       Output only. Direction of the routes exchanged with the peer network, from
       the VMware Engine network perspective:
      
       * Routes of direction `INCOMING` are imported from the peer network.
       * Routes of direction `OUTGOING` are exported from the intranet VPC network
       of the VMware Engine network.
       
      .google.cloud.vmwareengine.v1.PeeringRoute.Direction direction = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for direction.
    • getDirection

      PeeringRoute.Direction getDirection()
       Output only. Direction of the routes exchanged with the peer network, from
       the VMware Engine network perspective:
      
       * Routes of direction `INCOMING` are imported from the peer network.
       * Routes of direction `OUTGOING` are exported from the intranet VPC network
       of the VMware Engine network.
       
      .google.cloud.vmwareengine.v1.PeeringRoute.Direction direction = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The direction.