Interface BgpRouteOrBuilder

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

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

    • getAsPathsList

      List<BgpRouteAsPath> getAsPathsList()
       Output only. [Output only] AS-PATH for the route
       
      repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
    • getAsPaths

      BgpRouteAsPath getAsPaths(int index)
       Output only. [Output only] AS-PATH for the route
       
      repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
    • getAsPathsCount

      int getAsPathsCount()
       Output only. [Output only] AS-PATH for the route
       
      repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
    • getAsPathsOrBuilderList

      List<? extends BgpRouteAsPathOrBuilder> getAsPathsOrBuilderList()
       Output only. [Output only] AS-PATH for the route
       
      repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
    • getAsPathsOrBuilder

      BgpRouteAsPathOrBuilder getAsPathsOrBuilder(int index)
       Output only. [Output only] AS-PATH for the route
       
      repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;
    • getCommunitiesList

      List<String> getCommunitiesList()
       Output only. [Output only] BGP communities in human-readable A:B format.
       
      repeated string communities = 188262983;
      Returns:
      A list containing the communities.
    • getCommunitiesCount

      int getCommunitiesCount()
       Output only. [Output only] BGP communities in human-readable A:B format.
       
      repeated string communities = 188262983;
      Returns:
      The count of communities.
    • getCommunities

      String getCommunities(int index)
       Output only. [Output only] BGP communities in human-readable A:B format.
       
      repeated string communities = 188262983;
      Parameters:
      index - The index of the element to return.
      Returns:
      The communities at the given index.
    • getCommunitiesBytes

      com.google.protobuf.ByteString getCommunitiesBytes(int index)
       Output only. [Output only] BGP communities in human-readable A:B format.
       
      repeated string communities = 188262983;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the communities at the given index.
    • hasDestination

      boolean hasDestination()
       Output only. [Output only] Destination IP range for the route, in human-readable CIDR
       format
       
      optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
      Returns:
      Whether the destination field is set.
    • getDestination

       Output only. [Output only] Destination IP range for the route, in human-readable CIDR
       format
       
      optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
      Returns:
      The destination.
    • getDestinationOrBuilder

       Output only. [Output only] Destination IP range for the route, in human-readable CIDR
       format
       
      optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
    • hasMed

      boolean hasMed()
       Output only. [Output only] BGP multi-exit discriminator
       
      optional uint32 med = 107980;
      Returns:
      Whether the med field is set.
    • getMed

      int getMed()
       Output only. [Output only] BGP multi-exit discriminator
       
      optional uint32 med = 107980;
      Returns:
      The med.
    • hasOrigin

      boolean hasOrigin()
       Output only. [Output only] BGP origin (EGP, IGP or INCOMPLETE)
       Check the Origin enum for the list of possible values.
       
      optional string origin = 65122086;
      Returns:
      Whether the origin field is set.
    • getOrigin

      String getOrigin()
       Output only. [Output only] BGP origin (EGP, IGP or INCOMPLETE)
       Check the Origin enum for the list of possible values.
       
      optional string origin = 65122086;
      Returns:
      The origin.
    • getOriginBytes

      com.google.protobuf.ByteString getOriginBytes()
       Output only. [Output only] BGP origin (EGP, IGP or INCOMPLETE)
       Check the Origin enum for the list of possible values.
       
      optional string origin = 65122086;
      Returns:
      The bytes for origin.