public final class Route extends com.google.protobuf.GeneratedMessageV3 implements RouteOrBuilder
Represents a Route resource. A route defines a path from VM instances in the VPC network to a specific destination. This destination can be inside or outside the VPC network. For more information, read the Routes overview.Protobuf type
google.cloud.compute.v1.Route| Modifier and Type | Class and Description |
|---|---|
static class |
Route.Builder
Represents a Route resource.
|
static class |
Route.RouteStatus
[Output only] The status of the route.
|
static class |
Route.RouteType
[Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AS_PATHS_FIELD_NUMBER |
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DEST_RANGE_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NETWORK_FIELD_NUMBER |
static int |
NEXT_HOP_GATEWAY_FIELD_NUMBER |
static int |
NEXT_HOP_ILB_FIELD_NUMBER |
static int |
NEXT_HOP_INSTANCE_FIELD_NUMBER |
static int |
NEXT_HOP_IP_FIELD_NUMBER |
static int |
NEXT_HOP_NETWORK_FIELD_NUMBER |
static int |
NEXT_HOP_PEERING_FIELD_NUMBER |
static int |
NEXT_HOP_VPN_TUNNEL_FIELD_NUMBER |
static int |
PRIORITY_FIELD_NUMBER |
static int |
ROUTE_STATUS_FIELD_NUMBER |
static int |
ROUTE_TYPE_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
static int |
WARNINGS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
RouteAsPath |
getAsPaths(int index)
[Output Only] AS path.
|
int |
getAsPathsCount()
[Output Only] AS path.
|
List<RouteAsPath> |
getAsPathsList()
[Output Only] AS path.
|
RouteAsPathOrBuilder |
getAsPathsOrBuilder(int index)
[Output Only] AS path.
|
List<? extends RouteAsPathOrBuilder> |
getAsPathsOrBuilderList()
[Output Only] AS path.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
static Route |
getDefaultInstance() |
Route |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDestRange()
The destination range of outgoing packets that this route applies to.
|
com.google.protobuf.ByteString |
getDestRangeBytes()
The destination range of outgoing packets that this route applies to.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of this resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of this resource.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
String |
getNetwork()
Fully-qualified URL of the network that this route applies to.
|
com.google.protobuf.ByteString |
getNetworkBytes()
Fully-qualified URL of the network that this route applies to.
|
String |
getNextHopGateway()
The URL to a gateway that should handle matching packets.
|
com.google.protobuf.ByteString |
getNextHopGatewayBytes()
The URL to a gateway that should handle matching packets.
|
String |
getNextHopIlb()
The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule.
|
com.google.protobuf.ByteString |
getNextHopIlbBytes()
The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule.
|
String |
getNextHopInstance()
The URL to an instance that should handle matching packets.
|
com.google.protobuf.ByteString |
getNextHopInstanceBytes()
The URL to an instance that should handle matching packets.
|
String |
getNextHopIp()
The network IP address of an instance that should handle matching packets.
|
com.google.protobuf.ByteString |
getNextHopIpBytes()
The network IP address of an instance that should handle matching packets.
|
String |
getNextHopNetwork()
The URL of the local network if it should handle matching packets.
|
com.google.protobuf.ByteString |
getNextHopNetworkBytes()
The URL of the local network if it should handle matching packets.
|
String |
getNextHopPeering()
[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
|
com.google.protobuf.ByteString |
getNextHopPeeringBytes()
[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
|
String |
getNextHopVpnTunnel()
The URL to a VpnTunnel that should handle matching packets.
|
com.google.protobuf.ByteString |
getNextHopVpnTunnelBytes()
The URL to a VpnTunnel that should handle matching packets.
|
com.google.protobuf.Parser<Route> |
getParserForType() |
int |
getPriority()
The priority of this route.
|
String |
getRouteStatus()
[Output only] The status of the route.
|
com.google.protobuf.ByteString |
getRouteStatusBytes()
[Output only] The status of the route.
|
String |
getRouteType()
[Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route
Check the RouteType enum for the list of possible values.
|
com.google.protobuf.ByteString |
getRouteTypeBytes()
[Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route
Check the RouteType enum for the list of possible values.
|
String |
getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined fully-qualified URL for this resource.
|
int |
getSerializedSize() |
String |
getTags(int index)
A list of instance tags to which this route applies.
|
com.google.protobuf.ByteString |
getTagsBytes(int index)
A list of instance tags to which this route applies.
|
int |
getTagsCount()
A list of instance tags to which this route applies.
|
com.google.protobuf.ProtocolStringList |
getTagsList()
A list of instance tags to which this route applies.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Warnings |
getWarnings(int index)
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
int |
getWarningsCount()
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
List<Warnings> |
getWarningsList()
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
WarningsOrBuilder |
getWarningsOrBuilder(int index)
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
List<? extends WarningsOrBuilder> |
getWarningsOrBuilderList()
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasDestRange()
The destination range of outgoing packets that this route applies to.
|
int |
hashCode() |
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output Only] Type of this resource.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasNetwork()
Fully-qualified URL of the network that this route applies to.
|
boolean |
hasNextHopGateway()
The URL to a gateway that should handle matching packets.
|
boolean |
hasNextHopIlb()
The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule.
|
boolean |
hasNextHopInstance()
The URL to an instance that should handle matching packets.
|
boolean |
hasNextHopIp()
The network IP address of an instance that should handle matching packets.
|
boolean |
hasNextHopNetwork()
The URL of the local network if it should handle matching packets.
|
boolean |
hasNextHopPeering()
[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
|
boolean |
hasNextHopVpnTunnel()
The URL to a VpnTunnel that should handle matching packets.
|
boolean |
hasPriority()
The priority of this route.
|
boolean |
hasRouteStatus()
[Output only] The status of the route.
|
boolean |
hasRouteType()
[Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route
Check the RouteType enum for the list of possible values.
|
boolean |
hasSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Route.Builder |
newBuilder() |
static Route.Builder |
newBuilder(Route prototype) |
Route.Builder |
newBuilderForType() |
protected Route.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Route |
parseDelimitedFrom(InputStream input) |
static Route |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Route |
parseFrom(byte[] data) |
static Route |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Route |
parseFrom(ByteBuffer data) |
static Route |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Route |
parseFrom(com.google.protobuf.ByteString data) |
static Route |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Route |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Route |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Route |
parseFrom(InputStream input) |
static Route |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Route> |
parser() |
Route.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int AS_PATHS_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int DEST_RANGE_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
public static final int NEXT_HOP_GATEWAY_FIELD_NUMBER
public static final int NEXT_HOP_ILB_FIELD_NUMBER
public static final int NEXT_HOP_INSTANCE_FIELD_NUMBER
public static final int NEXT_HOP_IP_FIELD_NUMBER
public static final int NEXT_HOP_NETWORK_FIELD_NUMBER
public static final int NEXT_HOP_PEERING_FIELD_NUMBER
public static final int NEXT_HOP_VPN_TUNNEL_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
public static final int ROUTE_STATUS_FIELD_NUMBER
public static final int ROUTE_TYPE_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
public static final int WARNINGS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<RouteAsPath> getAsPathsList()
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;getAsPathsList in interface RouteOrBuilderpublic List<? extends RouteAsPathOrBuilder> getAsPathsOrBuilderList()
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;getAsPathsOrBuilderList in interface RouteOrBuilderpublic int getAsPathsCount()
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;getAsPathsCount in interface RouteOrBuilderpublic RouteAsPath getAsPaths(int index)
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;getAsPaths in interface RouteOrBuilderpublic RouteAsPathOrBuilder getAsPathsOrBuilder(int index)
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;getAsPathsOrBuilder in interface RouteOrBuilderpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface RouteOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface RouteOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface RouteOrBuilderpublic boolean hasDescription()
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;hasDescription in interface RouteOrBuilderpublic String getDescription()
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;getDescription in interface RouteOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface RouteOrBuilderpublic boolean hasDestRange()
The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported.
optional string dest_range = 381327712;hasDestRange in interface RouteOrBuilderpublic String getDestRange()
The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported.
optional string dest_range = 381327712;getDestRange in interface RouteOrBuilderpublic com.google.protobuf.ByteString getDestRangeBytes()
The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported.
optional string dest_range = 381327712;getDestRangeBytes in interface RouteOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface RouteOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface RouteOrBuilderpublic boolean hasKind()
[Output Only] Type of this resource. Always compute#routes for Route resources.
optional string kind = 3292052;hasKind in interface RouteOrBuilderpublic String getKind()
[Output Only] Type of this resource. Always compute#routes for Route resources.
optional string kind = 3292052;getKind in interface RouteOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of this resource. Always compute#routes for Route resources.
optional string kind = 3292052;getKindBytes in interface RouteOrBuilderpublic boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
optional string name = 3373707;hasName in interface RouteOrBuilderpublic String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
optional string name = 3373707;getName in interface RouteOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
optional string name = 3373707;getNameBytes in interface RouteOrBuilderpublic boolean hasNetwork()
Fully-qualified URL of the network that this route applies to.
optional string network = 232872494;hasNetwork in interface RouteOrBuilderpublic String getNetwork()
Fully-qualified URL of the network that this route applies to.
optional string network = 232872494;getNetwork in interface RouteOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
Fully-qualified URL of the network that this route applies to.
optional string network = 232872494;getNetworkBytes in interface RouteOrBuilderpublic boolean hasNextHopGateway()
The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway
optional string next_hop_gateway = 377175298;hasNextHopGateway in interface RouteOrBuilderpublic String getNextHopGateway()
The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway
optional string next_hop_gateway = 377175298;getNextHopGateway in interface RouteOrBuilderpublic com.google.protobuf.ByteString getNextHopGatewayBytes()
The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway
optional string next_hop_gateway = 377175298;getNextHopGatewayBytes in interface RouteOrBuilderpublic boolean hasNextHopIlb()
The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule
optional string next_hop_ilb = 198679901;hasNextHopIlb in interface RouteOrBuilderpublic String getNextHopIlb()
The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule
optional string next_hop_ilb = 198679901;getNextHopIlb in interface RouteOrBuilderpublic com.google.protobuf.ByteString getNextHopIlbBytes()
The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule
optional string next_hop_ilb = 198679901;getNextHopIlbBytes in interface RouteOrBuilderpublic boolean hasNextHopInstance()
The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
optional string next_hop_instance = 393508247;hasNextHopInstance in interface RouteOrBuilderpublic String getNextHopInstance()
The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
optional string next_hop_instance = 393508247;getNextHopInstance in interface RouteOrBuilderpublic com.google.protobuf.ByteString getNextHopInstanceBytes()
The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
optional string next_hop_instance = 393508247;getNextHopInstanceBytes in interface RouteOrBuilderpublic boolean hasNextHopIp()
The network IP address of an instance that should handle matching packets. Only IPv4 is supported.
optional string next_hop_ip = 110319529;hasNextHopIp in interface RouteOrBuilderpublic String getNextHopIp()
The network IP address of an instance that should handle matching packets. Only IPv4 is supported.
optional string next_hop_ip = 110319529;getNextHopIp in interface RouteOrBuilderpublic com.google.protobuf.ByteString getNextHopIpBytes()
The network IP address of an instance that should handle matching packets. Only IPv4 is supported.
optional string next_hop_ip = 110319529;getNextHopIpBytes in interface RouteOrBuilderpublic boolean hasNextHopNetwork()
The URL of the local network if it should handle matching packets.
optional string next_hop_network = 262295788;hasNextHopNetwork in interface RouteOrBuilderpublic String getNextHopNetwork()
The URL of the local network if it should handle matching packets.
optional string next_hop_network = 262295788;getNextHopNetwork in interface RouteOrBuilderpublic com.google.protobuf.ByteString getNextHopNetworkBytes()
The URL of the local network if it should handle matching packets.
optional string next_hop_network = 262295788;getNextHopNetworkBytes in interface RouteOrBuilderpublic boolean hasNextHopPeering()
[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
optional string next_hop_peering = 412682750;hasNextHopPeering in interface RouteOrBuilderpublic String getNextHopPeering()
[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
optional string next_hop_peering = 412682750;getNextHopPeering in interface RouteOrBuilderpublic com.google.protobuf.ByteString getNextHopPeeringBytes()
[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
optional string next_hop_peering = 412682750;getNextHopPeeringBytes in interface RouteOrBuilderpublic boolean hasNextHopVpnTunnel()
The URL to a VpnTunnel that should handle matching packets.
optional string next_hop_vpn_tunnel = 519844501;hasNextHopVpnTunnel in interface RouteOrBuilderpublic String getNextHopVpnTunnel()
The URL to a VpnTunnel that should handle matching packets.
optional string next_hop_vpn_tunnel = 519844501;getNextHopVpnTunnel in interface RouteOrBuilderpublic com.google.protobuf.ByteString getNextHopVpnTunnelBytes()
The URL to a VpnTunnel that should handle matching packets.
optional string next_hop_vpn_tunnel = 519844501;getNextHopVpnTunnelBytes in interface RouteOrBuilderpublic boolean hasPriority()
The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is `1000`. The priority value must be from `0` to `65535`, inclusive.
optional uint32 priority = 445151652;hasPriority in interface RouteOrBuilderpublic int getPriority()
The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is `1000`. The priority value must be from `0` to `65535`, inclusive.
optional uint32 priority = 445151652;getPriority in interface RouteOrBuilderpublic boolean hasRouteStatus()
[Output only] The status of the route. Check the RouteStatus enum for the list of possible values.
optional string route_status = 418162344;hasRouteStatus in interface RouteOrBuilderpublic String getRouteStatus()
[Output only] The status of the route. Check the RouteStatus enum for the list of possible values.
optional string route_status = 418162344;getRouteStatus in interface RouteOrBuilderpublic com.google.protobuf.ByteString getRouteStatusBytes()
[Output only] The status of the route. Check the RouteStatus enum for the list of possible values.
optional string route_status = 418162344;getRouteStatusBytes in interface RouteOrBuilderpublic boolean hasRouteType()
[Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route Check the RouteType enum for the list of possible values.
optional string route_type = 375888752;hasRouteType in interface RouteOrBuilderpublic String getRouteType()
[Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route Check the RouteType enum for the list of possible values.
optional string route_type = 375888752;getRouteType in interface RouteOrBuilderpublic com.google.protobuf.ByteString getRouteTypeBytes()
[Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route Check the RouteType enum for the list of possible values.
optional string route_type = 375888752;getRouteTypeBytes in interface RouteOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;hasSelfLink in interface RouteOrBuilderpublic String getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;getSelfLink in interface RouteOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;getSelfLinkBytes in interface RouteOrBuilderpublic com.google.protobuf.ProtocolStringList getTagsList()
A list of instance tags to which this route applies.
repeated string tags = 3552281;getTagsList in interface RouteOrBuilderpublic int getTagsCount()
A list of instance tags to which this route applies.
repeated string tags = 3552281;getTagsCount in interface RouteOrBuilderpublic String getTags(int index)
A list of instance tags to which this route applies.
repeated string tags = 3552281;getTags in interface RouteOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTagsBytes(int index)
A list of instance tags to which this route applies.
repeated string tags = 3552281;getTagsBytes in interface RouteOrBuilderindex - The index of the value to return.public List<Warnings> getWarningsList()
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;getWarningsList in interface RouteOrBuilderpublic List<? extends WarningsOrBuilder> getWarningsOrBuilderList()
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;getWarningsOrBuilderList in interface RouteOrBuilderpublic int getWarningsCount()
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;getWarningsCount in interface RouteOrBuilderpublic Warnings getWarnings(int index)
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;getWarnings in interface RouteOrBuilderpublic WarningsOrBuilder getWarningsOrBuilder(int index)
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;getWarningsOrBuilder in interface RouteOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Route parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(InputStream input) throws IOException
IOExceptionpublic static Route parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Route parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Route parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Route parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Route parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Route.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Route.Builder newBuilder()
public static Route.Builder newBuilder(Route prototype)
public Route.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Route.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Route getDefaultInstance()
public static com.google.protobuf.Parser<Route> parser()
public com.google.protobuf.Parser<Route> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Route getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.