public static final class Route.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder> 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 | Method and Description |
|---|---|
Route.Builder |
addAllAsPaths(Iterable<? extends RouteAsPath> values)
[Output Only] AS path.
|
Route.Builder |
addAllTags(Iterable<String> values)
A list of instance tags to which this route applies.
|
Route.Builder |
addAllWarnings(Iterable<? extends Warnings> values)
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
Route.Builder |
addAsPaths(int index,
RouteAsPath.Builder builderForValue)
[Output Only] AS path.
|
Route.Builder |
addAsPaths(int index,
RouteAsPath value)
[Output Only] AS path.
|
Route.Builder |
addAsPaths(RouteAsPath.Builder builderForValue)
[Output Only] AS path.
|
Route.Builder |
addAsPaths(RouteAsPath value)
[Output Only] AS path.
|
RouteAsPath.Builder |
addAsPathsBuilder()
[Output Only] AS path.
|
RouteAsPath.Builder |
addAsPathsBuilder(int index)
[Output Only] AS path.
|
Route.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Route.Builder |
addTags(String value)
A list of instance tags to which this route applies.
|
Route.Builder |
addTagsBytes(com.google.protobuf.ByteString value)
A list of instance tags to which this route applies.
|
Route.Builder |
addWarnings(int index,
Warnings.Builder builderForValue)
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
Route.Builder |
addWarnings(int index,
Warnings value)
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
Route.Builder |
addWarnings(Warnings.Builder builderForValue)
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
Route.Builder |
addWarnings(Warnings value)
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
Warnings.Builder |
addWarningsBuilder()
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
Warnings.Builder |
addWarningsBuilder(int index)
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
Route |
build() |
Route |
buildPartial() |
Route.Builder |
clear() |
Route.Builder |
clearAsPaths()
[Output Only] AS path.
|
Route.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
Route.Builder |
clearDescription()
An optional description of this resource.
|
Route.Builder |
clearDestRange()
The destination range of outgoing packets that this route applies to.
|
Route.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Route.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
Route.Builder |
clearKind()
[Output Only] Type of this resource.
|
Route.Builder |
clearName()
Name of the resource.
|
Route.Builder |
clearNetwork()
Fully-qualified URL of the network that this route applies to.
|
Route.Builder |
clearNextHopGateway()
The URL to a gateway that should handle matching packets.
|
Route.Builder |
clearNextHopIlb()
The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule.
|
Route.Builder |
clearNextHopInstance()
The URL to an instance that should handle matching packets.
|
Route.Builder |
clearNextHopIp()
The network IP address of an instance that should handle matching packets.
|
Route.Builder |
clearNextHopNetwork()
The URL of the local network if it should handle matching packets.
|
Route.Builder |
clearNextHopPeering()
[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
|
Route.Builder |
clearNextHopVpnTunnel()
The URL to a VpnTunnel that should handle matching packets.
|
Route.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Route.Builder |
clearPriority()
The priority of this route.
|
Route.Builder |
clearRouteStatus()
[Output only] The status of the route.
|
Route.Builder |
clearRouteType()
[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.
|
Route.Builder |
clearSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
Route.Builder |
clearTags()
A list of instance tags to which this route applies.
|
Route.Builder |
clearWarnings()
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
Route.Builder |
clone() |
RouteAsPath |
getAsPaths(int index)
[Output Only] AS path.
|
RouteAsPath.Builder |
getAsPathsBuilder(int index)
[Output Only] AS path.
|
List<RouteAsPath.Builder> |
getAsPathsBuilderList()
[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.
|
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() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
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.
|
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.
|
Warnings |
getWarnings(int index)
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
Warnings.Builder |
getWarningsBuilder(int index)
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
List<Warnings.Builder> |
getWarningsBuilderList()
[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.
|
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() |
Route.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Route.Builder |
mergeFrom(com.google.protobuf.Message other) |
Route.Builder |
mergeFrom(Route other) |
Route.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Route.Builder |
removeAsPaths(int index)
[Output Only] AS path.
|
Route.Builder |
removeWarnings(int index)
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
Route.Builder |
setAsPaths(int index,
RouteAsPath.Builder builderForValue)
[Output Only] AS path.
|
Route.Builder |
setAsPaths(int index,
RouteAsPath value)
[Output Only] AS path.
|
Route.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
Route.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
Route.Builder |
setDescription(String value)
An optional description of this resource.
|
Route.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
Route.Builder |
setDestRange(String value)
The destination range of outgoing packets that this route applies to.
|
Route.Builder |
setDestRangeBytes(com.google.protobuf.ByteString value)
The destination range of outgoing packets that this route applies to.
|
Route.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Route.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
Route.Builder |
setKind(String value)
[Output Only] Type of this resource.
|
Route.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of this resource.
|
Route.Builder |
setName(String value)
Name of the resource.
|
Route.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.
|
Route.Builder |
setNetwork(String value)
Fully-qualified URL of the network that this route applies to.
|
Route.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
Fully-qualified URL of the network that this route applies to.
|
Route.Builder |
setNextHopGateway(String value)
The URL to a gateway that should handle matching packets.
|
Route.Builder |
setNextHopGatewayBytes(com.google.protobuf.ByteString value)
The URL to a gateway that should handle matching packets.
|
Route.Builder |
setNextHopIlb(String value)
The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule.
|
Route.Builder |
setNextHopIlbBytes(com.google.protobuf.ByteString value)
The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule.
|
Route.Builder |
setNextHopInstance(String value)
The URL to an instance that should handle matching packets.
|
Route.Builder |
setNextHopInstanceBytes(com.google.protobuf.ByteString value)
The URL to an instance that should handle matching packets.
|
Route.Builder |
setNextHopIp(String value)
The network IP address of an instance that should handle matching packets.
|
Route.Builder |
setNextHopIpBytes(com.google.protobuf.ByteString value)
The network IP address of an instance that should handle matching packets.
|
Route.Builder |
setNextHopNetwork(String value)
The URL of the local network if it should handle matching packets.
|
Route.Builder |
setNextHopNetworkBytes(com.google.protobuf.ByteString value)
The URL of the local network if it should handle matching packets.
|
Route.Builder |
setNextHopPeering(String value)
[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
|
Route.Builder |
setNextHopPeeringBytes(com.google.protobuf.ByteString value)
[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
|
Route.Builder |
setNextHopVpnTunnel(String value)
The URL to a VpnTunnel that should handle matching packets.
|
Route.Builder |
setNextHopVpnTunnelBytes(com.google.protobuf.ByteString value)
The URL to a VpnTunnel that should handle matching packets.
|
Route.Builder |
setPriority(int value)
The priority of this route.
|
Route.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Route.Builder |
setRouteStatus(String value)
[Output only] The status of the route.
|
Route.Builder |
setRouteStatusBytes(com.google.protobuf.ByteString value)
[Output only] The status of the route.
|
Route.Builder |
setRouteType(String value)
[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.
|
Route.Builder |
setRouteTypeBytes(com.google.protobuf.ByteString value)
[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.
|
Route.Builder |
setSelfLink(String value)
[Output Only] Server-defined fully-qualified URL for this resource.
|
Route.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined fully-qualified URL for this resource.
|
Route.Builder |
setTags(int index,
String value)
A list of instance tags to which this route applies.
|
Route.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Route.Builder |
setWarnings(int index,
Warnings.Builder builderForValue)
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
Route.Builder |
setWarnings(int index,
Warnings value)
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Route build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Route buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Route.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Route.Builder>public Route.Builder mergeFrom(Route other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Route.Builder>IOExceptionpublic List<RouteAsPath> getAsPathsList()
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;getAsPathsList 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 Route.Builder setAsPaths(int index, RouteAsPath value)
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;public Route.Builder setAsPaths(int index, RouteAsPath.Builder builderForValue)
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;public Route.Builder addAsPaths(RouteAsPath value)
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;public Route.Builder addAsPaths(int index, RouteAsPath value)
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;public Route.Builder addAsPaths(RouteAsPath.Builder builderForValue)
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;public Route.Builder addAsPaths(int index, RouteAsPath.Builder builderForValue)
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;public Route.Builder addAllAsPaths(Iterable<? extends RouteAsPath> values)
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;public Route.Builder clearAsPaths()
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;public Route.Builder removeAsPaths(int index)
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;public RouteAsPath.Builder getAsPathsBuilder(int index)
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;public RouteAsPathOrBuilder getAsPathsOrBuilder(int index)
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;getAsPathsOrBuilder in interface RouteOrBuilderpublic List<? extends RouteAsPathOrBuilder> getAsPathsOrBuilderList()
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;getAsPathsOrBuilderList in interface RouteOrBuilderpublic RouteAsPath.Builder addAsPathsBuilder()
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;public RouteAsPath.Builder addAsPathsBuilder(int index)
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;public List<RouteAsPath.Builder> getAsPathsBuilderList()
[Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;public 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 Route.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public Route.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public Route.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public 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 Route.Builder setDescription(String value)
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;value - The description to set.public Route.Builder clearDescription()
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;public Route.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;value - The bytes for description to set.public 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 Route.Builder setDestRange(String value)
The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported.
optional string dest_range = 381327712;value - The destRange to set.public Route.Builder clearDestRange()
The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported.
optional string dest_range = 381327712;public Route.Builder setDestRangeBytes(com.google.protobuf.ByteString value)
The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported.
optional string dest_range = 381327712;value - The bytes for destRange to set.public 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 Route.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public Route.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public 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 Route.Builder setKind(String value)
[Output Only] Type of this resource. Always compute#routes for Route resources.
optional string kind = 3292052;value - The kind to set.public Route.Builder clearKind()
[Output Only] Type of this resource. Always compute#routes for Route resources.
optional string kind = 3292052;public Route.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of this resource. Always compute#routes for Route resources.
optional string kind = 3292052;value - The bytes for kind to set.public 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 Route.Builder setName(String value)
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;value - The name to set.public Route.Builder clearName()
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;public Route.Builder setNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for name to set.public 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 Route.Builder setNetwork(String value)
Fully-qualified URL of the network that this route applies to.
optional string network = 232872494;value - The network to set.public Route.Builder clearNetwork()
Fully-qualified URL of the network that this route applies to.
optional string network = 232872494;public Route.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Fully-qualified URL of the network that this route applies to.
optional string network = 232872494;value - The bytes for network to set.public 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 Route.Builder setNextHopGateway(String value)
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;value - The nextHopGateway to set.public Route.Builder clearNextHopGateway()
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;public Route.Builder setNextHopGatewayBytes(com.google.protobuf.ByteString value)
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;value - The bytes for nextHopGateway to set.public 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 Route.Builder setNextHopIlb(String value)
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;value - The nextHopIlb to set.public Route.Builder clearNextHopIlb()
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;public Route.Builder setNextHopIlbBytes(com.google.protobuf.ByteString value)
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;value - The bytes for nextHopIlb to set.public 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 Route.Builder setNextHopInstance(String value)
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;value - The nextHopInstance to set.public Route.Builder clearNextHopInstance()
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;public Route.Builder setNextHopInstanceBytes(com.google.protobuf.ByteString value)
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;value - The bytes for nextHopInstance to set.public 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 Route.Builder setNextHopIp(String value)
The network IP address of an instance that should handle matching packets. Only IPv4 is supported.
optional string next_hop_ip = 110319529;value - The nextHopIp to set.public Route.Builder clearNextHopIp()
The network IP address of an instance that should handle matching packets. Only IPv4 is supported.
optional string next_hop_ip = 110319529;public Route.Builder setNextHopIpBytes(com.google.protobuf.ByteString value)
The network IP address of an instance that should handle matching packets. Only IPv4 is supported.
optional string next_hop_ip = 110319529;value - The bytes for nextHopIp to set.public 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 Route.Builder setNextHopNetwork(String value)
The URL of the local network if it should handle matching packets.
optional string next_hop_network = 262295788;value - The nextHopNetwork to set.public Route.Builder clearNextHopNetwork()
The URL of the local network if it should handle matching packets.
optional string next_hop_network = 262295788;public Route.Builder setNextHopNetworkBytes(com.google.protobuf.ByteString value)
The URL of the local network if it should handle matching packets.
optional string next_hop_network = 262295788;value - The bytes for nextHopNetwork to set.public 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 Route.Builder setNextHopPeering(String value)
[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
optional string next_hop_peering = 412682750;value - The nextHopPeering to set.public Route.Builder clearNextHopPeering()
[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
optional string next_hop_peering = 412682750;public Route.Builder setNextHopPeeringBytes(com.google.protobuf.ByteString value)
[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
optional string next_hop_peering = 412682750;value - The bytes for nextHopPeering to set.public 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 Route.Builder setNextHopVpnTunnel(String value)
The URL to a VpnTunnel that should handle matching packets.
optional string next_hop_vpn_tunnel = 519844501;value - The nextHopVpnTunnel to set.public Route.Builder clearNextHopVpnTunnel()
The URL to a VpnTunnel that should handle matching packets.
optional string next_hop_vpn_tunnel = 519844501;public Route.Builder setNextHopVpnTunnelBytes(com.google.protobuf.ByteString value)
The URL to a VpnTunnel that should handle matching packets.
optional string next_hop_vpn_tunnel = 519844501;value - The bytes for nextHopVpnTunnel to set.public 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 Route.Builder setPriority(int value)
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;value - The priority to set.public Route.Builder clearPriority()
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;public 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 Route.Builder setRouteStatus(String value)
[Output only] The status of the route. Check the RouteStatus enum for the list of possible values.
optional string route_status = 418162344;value - The routeStatus to set.public Route.Builder clearRouteStatus()
[Output only] The status of the route. Check the RouteStatus enum for the list of possible values.
optional string route_status = 418162344;public Route.Builder setRouteStatusBytes(com.google.protobuf.ByteString value)
[Output only] The status of the route. Check the RouteStatus enum for the list of possible values.
optional string route_status = 418162344;value - The bytes for routeStatus to set.public 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 Route.Builder setRouteType(String value)
[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;value - The routeType to set.public Route.Builder clearRouteType()
[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;public Route.Builder setRouteTypeBytes(com.google.protobuf.ByteString value)
[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;value - The bytes for routeType to set.public 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 Route.Builder setSelfLink(String value)
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;value - The selfLink to set.public Route.Builder clearSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;public Route.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public 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 Route.Builder setTags(int index, String value)
A list of instance tags to which this route applies.
repeated string tags = 3552281;index - The index to set the value at.value - The tags to set.public Route.Builder addTags(String value)
A list of instance tags to which this route applies.
repeated string tags = 3552281;value - The tags to add.public Route.Builder addAllTags(Iterable<String> values)
A list of instance tags to which this route applies.
repeated string tags = 3552281;values - The tags to add.public Route.Builder clearTags()
A list of instance tags to which this route applies.
repeated string tags = 3552281;public Route.Builder addTagsBytes(com.google.protobuf.ByteString value)
A list of instance tags to which this route applies.
repeated string tags = 3552281;value - The bytes of the tags to add.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 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 Route.Builder setWarnings(int index, Warnings value)
[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;public Route.Builder setWarnings(int index, Warnings.Builder builderForValue)
[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;public Route.Builder addWarnings(Warnings value)
[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;public Route.Builder addWarnings(int index, Warnings value)
[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;public Route.Builder addWarnings(Warnings.Builder builderForValue)
[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;public Route.Builder addWarnings(int index, Warnings.Builder builderForValue)
[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;public Route.Builder addAllWarnings(Iterable<? extends Warnings> values)
[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;public Route.Builder clearWarnings()
[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;public Route.Builder removeWarnings(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;public Warnings.Builder getWarningsBuilder(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;public 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 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 Warnings.Builder addWarningsBuilder()
[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;public Warnings.Builder addWarningsBuilder(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;public List<Warnings.Builder> getWarningsBuilderList()
[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;public final Route.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public final Route.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>Copyright © 2023 Google LLC. All rights reserved.