Interface BgpRouteAsPathOrBuilder

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

@Generated public interface BgpRouteAsPathOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getAsns(int index)
    Output only.
    int
    getAsns32(int index)
    Output only.
    int
    Output only.
    Output only.
    int
    Output only.
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    boolean
    Output only.

    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 Details

    • getAsnsList

      List<Integer> getAsnsList()
       Output only. [Output only] ASNs in the path segment. When type is SEQUENCE, these are
       ordered.
       
      repeated int32 asns = 3003767;
      Returns:
      A list containing the asns.
    • getAsnsCount

      int getAsnsCount()
       Output only. [Output only] ASNs in the path segment. When type is SEQUENCE, these are
       ordered.
       
      repeated int32 asns = 3003767;
      Returns:
      The count of asns.
    • getAsns

      int getAsns(int index)
       Output only. [Output only] ASNs in the path segment. When type is SEQUENCE, these are
       ordered.
       
      repeated int32 asns = 3003767;
      Parameters:
      index - The index of the element to return.
      Returns:
      The asns at the given index.
    • getAsns32List

      List<Integer> getAsns32List()
       Output only. [Output only] ASNs in the path segment. This field is for better
       support of 32 bit ASNs as the other asns field suffers from overflow when
       the ASN is larger. When type is SEQUENCE, these are ordered.
       
      repeated uint32 asns32 = 202267158;
      Returns:
      A list containing the asns32.
    • getAsns32Count

      int getAsns32Count()
       Output only. [Output only] ASNs in the path segment. This field is for better
       support of 32 bit ASNs as the other asns field suffers from overflow when
       the ASN is larger. When type is SEQUENCE, these are ordered.
       
      repeated uint32 asns32 = 202267158;
      Returns:
      The count of asns32.
    • getAsns32

      int getAsns32(int index)
       Output only. [Output only] ASNs in the path segment. This field is for better
       support of 32 bit ASNs as the other asns field suffers from overflow when
       the ASN is larger. When type is SEQUENCE, these are ordered.
       
      repeated uint32 asns32 = 202267158;
      Parameters:
      index - The index of the element to return.
      Returns:
      The asns32 at the given index.
    • hasType

      boolean hasType()
       Output only. [Output only] Type of AS-PATH segment (SEQUENCE or SET)
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Returns:
      Whether the type field is set.
    • getType

      String getType()
       Output only. [Output only] Type of AS-PATH segment (SEQUENCE or SET)
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Returns:
      The type.
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
       Output only. [Output only] Type of AS-PATH segment (SEQUENCE or SET)
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Returns:
      The bytes for type.