public final class Route
extends com.google.api.client.json.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
Modifier and Type | Class and Description |
---|---|
static class |
Route.Warnings
Model definition for RouteWarnings.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Route() |
Modifier and Type | Method and Description |
---|---|
Route |
clone() |
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.String |
getDescription()
An optional description of this resource.
|
java.lang.String |
getDestRange()
The destination range of outgoing packets that this route applies to.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getKind()
[Output Only] Type of this resource.
|
java.lang.String |
getName()
Name of the resource.
|
java.lang.String |
getNetwork()
Fully-qualified URL of the network that this route applies to.
|
java.lang.String |
getNextHopGateway()
The URL to a gateway that should handle matching packets.
|
java.lang.String |
getNextHopIlb()
The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching
packets.
|
java.lang.String |
getNextHopInstance()
The URL to an instance that should handle matching packets.
|
java.lang.String |
getNextHopIp()
The network IP address of an instance that should handle matching packets.
|
java.lang.String |
getNextHopNetwork()
The URL of the local network if it should handle matching packets.
|
java.lang.String |
getNextHopPeering()
[Output Only] The network peering name that should handle matching packets, which should
conform to RFC1035.
|
java.lang.String |
getNextHopVpnTunnel()
The URL to a VpnTunnel that should handle matching packets.
|
java.lang.Long |
getPriority()
The priority of this route.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
java.util.List<java.lang.String> |
getTags()
A list of instance tags to which this route applies.
|
java.util.List<Route.Warnings> |
getWarnings()
[Output Only] If potential misconfigurations are detected for this route, this field will be
populated with warning messages.
|
Route |
set(java.lang.String fieldName,
java.lang.Object value) |
Route |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Route |
setDescription(java.lang.String description)
An optional description of this resource.
|
Route |
setDestRange(java.lang.String destRange)
The destination range of outgoing packets that this route applies to.
|
Route |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
Route |
setKind(java.lang.String kind)
[Output Only] Type of this resource.
|
Route |
setName(java.lang.String name)
Name of the resource.
|
Route |
setNetwork(java.lang.String network)
Fully-qualified URL of the network that this route applies to.
|
Route |
setNextHopGateway(java.lang.String nextHopGateway)
The URL to a gateway that should handle matching packets.
|
Route |
setNextHopIlb(java.lang.String nextHopIlb)
The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching
packets.
|
Route |
setNextHopInstance(java.lang.String nextHopInstance)
The URL to an instance that should handle matching packets.
|
Route |
setNextHopIp(java.lang.String nextHopIp)
The network IP address of an instance that should handle matching packets.
|
Route |
setNextHopNetwork(java.lang.String nextHopNetwork)
The URL of the local network if it should handle matching packets.
|
Route |
setNextHopPeering(java.lang.String nextHopPeering)
[Output Only] The network peering name that should handle matching packets, which should
conform to RFC1035.
|
Route |
setNextHopVpnTunnel(java.lang.String nextHopVpnTunnel)
The URL to a VpnTunnel that should handle matching packets.
|
Route |
setPriority(java.lang.Long priority)
The priority of this route.
|
Route |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined fully-qualified URL for this resource.
|
Route |
setTags(java.util.List<java.lang.String> tags)
A list of instance tags to which this route applies.
|
Route |
setWarnings(java.util.List<Route.Warnings> warnings)
[Output Only] If potential misconfigurations are detected for this route, this field will be
populated with warning messages.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getCreationTimestamp()
null
for nonepublic Route setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic java.lang.String getDescription()
null
for nonepublic Route setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getDestRange()
null
for nonepublic Route setDestRange(java.lang.String destRange)
destRange
- destRange or null
for nonepublic java.math.BigInteger getId()
null
for nonepublic Route setId(java.math.BigInteger id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic Route setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getName()
null
for nonepublic Route setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getNetwork()
null
for nonepublic Route setNetwork(java.lang.String network)
network
- network or null
for nonepublic java.lang.String getNextHopGateway()
null
for nonepublic Route setNextHopGateway(java.lang.String nextHopGateway)
nextHopGateway
- nextHopGateway or null
for nonepublic java.lang.String getNextHopIlb()
null
for nonepublic Route setNextHopIlb(java.lang.String nextHopIlb)
nextHopIlb
- nextHopIlb or null
for nonepublic java.lang.String getNextHopInstance()
null
for nonepublic Route setNextHopInstance(java.lang.String nextHopInstance)
nextHopInstance
- nextHopInstance or null
for nonepublic java.lang.String getNextHopIp()
null
for nonepublic Route setNextHopIp(java.lang.String nextHopIp)
nextHopIp
- nextHopIp or null
for nonepublic java.lang.String getNextHopNetwork()
null
for nonepublic Route setNextHopNetwork(java.lang.String nextHopNetwork)
nextHopNetwork
- nextHopNetwork or null
for nonepublic java.lang.String getNextHopPeering()
null
for nonepublic Route setNextHopPeering(java.lang.String nextHopPeering)
nextHopPeering
- nextHopPeering or null
for nonepublic java.lang.String getNextHopVpnTunnel()
null
for nonepublic Route setNextHopVpnTunnel(java.lang.String nextHopVpnTunnel)
nextHopVpnTunnel
- nextHopVpnTunnel or null
for nonepublic java.lang.Long getPriority()
null
for nonepublic Route setPriority(java.lang.Long priority)
priority
- priority or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic Route setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic java.util.List<java.lang.String> getTags()
null
for nonepublic Route setTags(java.util.List<java.lang.String> tags)
tags
- tags or null
for nonepublic java.util.List<Route.Warnings> getWarnings()
null
for nonepublic Route setWarnings(java.util.List<Route.Warnings> warnings)
warnings
- warnings or null
for nonepublic Route set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Route clone()
clone
in class com.google.api.client.json.GenericJson