Interface RouteAsPathOrBuilder

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

    public interface RouteAsPathOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getAsLists​(int index)
      [Output Only] The AS numbers of the AS Path.
      int getAsListsCount()
      [Output Only] The AS numbers of the AS Path.
      List<Integer> getAsListsList()
      [Output Only] The AS numbers of the AS Path.
      String getPathSegmentType()
      [Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed Check the PathSegmentType enum for the list of possible values.
      com.google.protobuf.ByteString getPathSegmentTypeBytes()
      [Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed Check the PathSegmentType enum for the list of possible values.
      boolean hasPathSegmentType()
      [Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed Check the PathSegmentType enum for the list of possible values.
      • 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 Detail

      • getAsListsList

        List<Integer> getAsListsList()
         [Output Only] The AS numbers of the AS Path.
         
        repeated uint32 as_lists = 134112584;
        Returns:
        A list containing the asLists.
      • getAsListsCount

        int getAsListsCount()
         [Output Only] The AS numbers of the AS Path.
         
        repeated uint32 as_lists = 134112584;
        Returns:
        The count of asLists.
      • getAsLists

        int getAsLists​(int index)
         [Output Only] The AS numbers of the AS Path.
         
        repeated uint32 as_lists = 134112584;
        Parameters:
        index - The index of the element to return.
        Returns:
        The asLists at the given index.
      • hasPathSegmentType

        boolean hasPathSegmentType()
         [Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed
         Check the PathSegmentType enum for the list of possible values.
         
        optional string path_segment_type = 513464992;
        Returns:
        Whether the pathSegmentType field is set.
      • getPathSegmentType

        String getPathSegmentType()
         [Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed
         Check the PathSegmentType enum for the list of possible values.
         
        optional string path_segment_type = 513464992;
        Returns:
        The pathSegmentType.
      • getPathSegmentTypeBytes

        com.google.protobuf.ByteString getPathSegmentTypeBytes()
         [Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed
         Check the PathSegmentType enum for the list of possible values.
         
        optional string path_segment_type = 513464992;
        Returns:
        The bytes for pathSegmentType.