public final class RouteAsPath extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
RouteAsPath() |
Modifier and Type | Method and Description |
---|---|
RouteAsPath |
clone() |
List<Long> |
getAsLists()
[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
|
RouteAsPath |
set(String fieldName,
Object value) |
RouteAsPath |
setAsLists(List<Long> asLists)
[Output Only] The AS numbers of the AS Path.
|
RouteAsPath |
setPathSegmentType(String pathSegmentType)
[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
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<Long> getAsLists()
null
for nonepublic RouteAsPath setAsLists(List<Long> asLists)
asLists
- asLists or null
for nonepublic String getPathSegmentType()
null
for nonepublic RouteAsPath setPathSegmentType(String pathSegmentType)
pathSegmentType
- pathSegmentType or null
for nonepublic RouteAsPath set(String fieldName, Object value)
set
in class GenericJson
public RouteAsPath clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.