Package com.google.cloud.compute.v1
Class Route.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Route.Builder>
com.google.cloud.compute.v1.Route.Builder
- All Implemented Interfaces:
RouteOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Route
public static final class Route.Builder
extends com.google.protobuf.GeneratedMessage.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 theRoutes overview.Protobuf type
google.cloud.compute.v1.Route-
Method Summary
Modifier and TypeMethodDescriptionaddAllAsPaths(Iterable<? extends RouteAsPath> values) Output only.addAllTags(Iterable<String> values) A list of instance tags to which this route applies.addAllWarnings(Iterable<? extends Warnings> values) Output only.addAsPaths(int index, RouteAsPath value) Output only.addAsPaths(int index, RouteAsPath.Builder builderForValue) Output only.addAsPaths(RouteAsPath value) Output only.addAsPaths(RouteAsPath.Builder builderForValue) Output only.Output only.addAsPathsBuilder(int index) Output only.A list of instance tags to which this route applies.addTagsBytes(com.google.protobuf.ByteString value) A list of instance tags to which this route applies.addWarnings(int index, Warnings value) Output only.addWarnings(int index, Warnings.Builder builderForValue) Output only.addWarnings(Warnings value) Output only.addWarnings(Warnings.Builder builderForValue) Output only.Output only.addWarningsBuilder(int index) Output only.build()clear()Output only.Output only.An optional description of this resource.The destination range of outgoing packets that this route applies to.clearId()Output only.Output only.Name of the resource.Fully-qualified URL of the network that this route applies to.The URL to a gateway that should handle matching packets.Output only.The URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule.The URL to an instance that should handle matching packets.Output only.Output only.The network IP address of an instance that should handle matching packets.Output only.The URL of the local network if it should handle matching packets.Output only.Output only.The URL to a VpnTunnel that should handle matching packets.Input only.The priority of this route.[Output only] The status of the route.Output only.[Output Only] Server-defined fully-qualified URL for this resource.A list of instance tags to which this route applies.Output only.getAsPaths(int index) Output only.getAsPathsBuilder(int index) Output only.Output only.intOutput only.Output only.getAsPathsOrBuilder(int index) Output only.List<? extends RouteAsPathOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe destination range of outgoing packets that this route applies to.com.google.protobuf.ByteStringThe destination range of outgoing packets that this route applies to.longgetId()Output only.getKind()Output only.com.google.protobuf.ByteStringOutput only.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.Fully-qualified URL of the network that this route applies to.com.google.protobuf.ByteStringFully-qualified URL of the network that this route applies to.The URL to a gateway that should handle matching packets.com.google.protobuf.ByteStringThe URL to a gateway that should handle matching packets.Output only.com.google.protobuf.ByteStringOutput only.The URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule.com.google.protobuf.ByteStringThe URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule.The URL to an instance that should handle matching packets.com.google.protobuf.ByteStringThe URL to an instance that should handle matching packets.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.The network IP address of an instance that should handle matching packets.com.google.protobuf.ByteStringThe network IP address of an instance that should handle matching packets.intOutput only.The URL of the local network if it should handle matching packets.com.google.protobuf.ByteStringThe URL of the local network if it should handle matching packets.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.The URL to a VpnTunnel that should handle matching packets.com.google.protobuf.ByteStringThe URL to a VpnTunnel that should handle matching packets.Input only.Input only.Input only.intThe priority of this route.[Output only] The status of the route.com.google.protobuf.ByteString[Output only] The status of the route.Output only.com.google.protobuf.ByteStringOutput only.[Output Only] Server-defined fully-qualified URL for this resource.com.google.protobuf.ByteString[Output Only] Server-defined fully-qualified URL for this resource.getTags(int index) A list of instance tags to which this route applies.com.google.protobuf.ByteStringgetTagsBytes(int index) A list of instance tags to which this route applies.intA list of instance tags to which this route applies.com.google.protobuf.ProtocolStringListA list of instance tags to which this route applies.getWarnings(int index) Output only.getWarningsBuilder(int index) Output only.Output only.intOutput only.Output only.getWarningsOrBuilder(int index) Output only.List<? extends WarningsOrBuilder>Output only.booleanOutput only.booleanAn optional description of this resource.booleanThe destination range of outgoing packets that this route applies to.booleanhasId()Output only.booleanhasKind()Output only.booleanhasName()Name of the resource.booleanFully-qualified URL of the network that this route applies to.booleanThe URL to a gateway that should handle matching packets.booleanOutput only.booleanThe URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule.booleanThe URL to an instance that should handle matching packets.booleanOutput only.booleanOutput only.booleanThe network IP address of an instance that should handle matching packets.booleanOutput only.booleanThe URL of the local network if it should handle matching packets.booleanOutput only.booleanOutput only.booleanThe URL to a VpnTunnel that should handle matching packets.booleanInput only.booleanThe priority of this route.boolean[Output only] The status of the route.booleanOutput only.boolean[Output Only] Server-defined fully-qualified URL for this resource.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeParams(RouteParams value) Input only.removeAsPaths(int index) Output only.removeWarnings(int index) Output only.setAsPaths(int index, RouteAsPath value) Output only.setAsPaths(int index, RouteAsPath.Builder builderForValue) Output only.setCreationTimestamp(String value) Output only.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.setDestRange(String value) The destination range of outgoing packets that this route applies to.setDestRangeBytes(com.google.protobuf.ByteString value) The destination range of outgoing packets that this route applies to.setId(long value) Output only.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.Name of the resource.setNameBytes(com.google.protobuf.ByteString value) Name of the resource.setNetwork(String value) Fully-qualified URL of the network that this route applies to.setNetworkBytes(com.google.protobuf.ByteString value) Fully-qualified URL of the network that this route applies to.setNextHopGateway(String value) The URL to a gateway that should handle matching packets.setNextHopGatewayBytes(com.google.protobuf.ByteString value) The URL to a gateway that should handle matching packets.setNextHopHub(String value) Output only.setNextHopHubBytes(com.google.protobuf.ByteString value) Output only.setNextHopIlb(String value) The URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule.setNextHopIlbBytes(com.google.protobuf.ByteString value) The URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule.setNextHopInstance(String value) The URL to an instance that should handle matching packets.setNextHopInstanceBytes(com.google.protobuf.ByteString value) The URL to an instance that should handle matching packets.Output only.setNextHopInterconnectAttachmentBytes(com.google.protobuf.ByteString value) Output only.setNextHopInterRegionCost(int value) Output only.setNextHopIp(String value) The network IP address of an instance that should handle matching packets.setNextHopIpBytes(com.google.protobuf.ByteString value) The network IP address of an instance that should handle matching packets.setNextHopMed(int value) Output only.setNextHopNetwork(String value) The URL of the local network if it should handle matching packets.setNextHopNetworkBytes(com.google.protobuf.ByteString value) The URL of the local network if it should handle matching packets.setNextHopOrigin(String value) Output only.setNextHopOriginBytes(com.google.protobuf.ByteString value) Output only.setNextHopPeering(String value) Output only.setNextHopPeeringBytes(com.google.protobuf.ByteString value) Output only.setNextHopVpnTunnel(String value) The URL to a VpnTunnel that should handle matching packets.setNextHopVpnTunnelBytes(com.google.protobuf.ByteString value) The URL to a VpnTunnel that should handle matching packets.setParams(RouteParams value) Input only.setParams(RouteParams.Builder builderForValue) Input only.setPriority(int value) The priority of this route.setRouteStatus(String value) [Output only] The status of the route.setRouteStatusBytes(com.google.protobuf.ByteString value) [Output only] The status of the route.setRouteType(String value) Output only.setRouteTypeBytes(com.google.protobuf.ByteString value) Output only.setSelfLink(String value) [Output Only] Server-defined fully-qualified URL for this resource.setSelfLinkBytes(com.google.protobuf.ByteString value) [Output Only] Server-defined fully-qualified URL for this resource.A list of instance tags to which this route applies.setWarnings(int index, Warnings value) Output only.setWarnings(int index, Warnings.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Route.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Route.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Route.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Route.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Route.Builder>
-
mergeFrom
public Route.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Route.Builder>- Throws:
IOException
-
getAsPathsList
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;- Specified by:
getAsPathsListin interfaceRouteOrBuilder
-
getAsPathsCount
public int getAsPathsCount()Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;- Specified by:
getAsPathsCountin interfaceRouteOrBuilder
-
getAsPaths
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;- Specified by:
getAsPathsin interfaceRouteOrBuilder
-
setAsPaths
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; -
setAsPaths
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; -
addAsPaths
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; -
addAsPaths
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; -
addAsPaths
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; -
addAsPaths
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; -
addAllAsPaths
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; -
clearAsPaths
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; -
removeAsPaths
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; -
getAsPathsBuilder
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; -
getAsPathsOrBuilder
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;- Specified by:
getAsPathsOrBuilderin interfaceRouteOrBuilder
-
getAsPathsOrBuilderList
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929;- Specified by:
getAsPathsOrBuilderListin interfaceRouteOrBuilder
-
addAsPathsBuilder
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; -
addAsPathsBuilder
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; -
getAsPathsBuilderList
Output only. [Output Only] AS path.
repeated .google.cloud.compute.v1.RouteAsPath as_paths = 137568929; -
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceRouteOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceRouteOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceRouteOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceRouteOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceRouteOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceRouteOrBuilder- Returns:
- The bytes for description.
-
setDescription
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
An optional description of this resource. Provide this field when you create the resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasDestRange
public boolean hasDestRange()The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
optional string dest_range = 381327712;- Specified by:
hasDestRangein interfaceRouteOrBuilder- Returns:
- Whether the destRange field is set.
-
getDestRange
The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
optional string dest_range = 381327712;- Specified by:
getDestRangein interfaceRouteOrBuilder- Returns:
- The destRange.
-
getDestRangeBytes
public com.google.protobuf.ByteString getDestRangeBytes()The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
optional string dest_range = 381327712;- Specified by:
getDestRangeBytesin interfaceRouteOrBuilder- Returns:
- The bytes for destRange.
-
setDestRange
The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
optional string dest_range = 381327712;- Parameters:
value- The destRange to set.- Returns:
- This builder for chaining.
-
clearDestRange
The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
optional string dest_range = 381327712;- Returns:
- This builder for chaining.
-
setDestRangeBytes
The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
optional string dest_range = 381327712;- Parameters:
value- The bytes for destRange to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceRouteOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceRouteOrBuilder- Returns:
- The id.
-
setId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of this resource. Always compute#routes for Route resources.
optional string kind = 3292052;- Specified by:
hasKindin interfaceRouteOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of this resource. Always compute#routes for Route resources.
optional string kind = 3292052;- Specified by:
getKindin interfaceRouteOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of this resource. Always compute#routes for Route resources.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceRouteOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of this resource. Always compute#routes for Route resources.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of this resource. Always compute#routes for Route resources.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of this resource. Always compute#routes for Route resources.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasName
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 withRFC1035. 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;- Specified by:
hasNamein interfaceRouteOrBuilder- Returns:
- Whether the name field is set.
-
getName
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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;- Specified by:
getNamein interfaceRouteOrBuilder- Returns:
- The name.
-
getNameBytes
public 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 withRFC1035. 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;- Specified by:
getNameBytesin interfaceRouteOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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;- Returns:
- This builder for chaining.
-
setNameBytes
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasNetwork
public boolean hasNetwork()Fully-qualified URL of the network that this route applies to.
optional string network = 232872494;- Specified by:
hasNetworkin interfaceRouteOrBuilder- Returns:
- Whether the network field is set.
-
getNetwork
Fully-qualified URL of the network that this route applies to.
optional string network = 232872494;- Specified by:
getNetworkin interfaceRouteOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()Fully-qualified URL of the network that this route applies to.
optional string network = 232872494;- Specified by:
getNetworkBytesin interfaceRouteOrBuilder- Returns:
- The bytes for network.
-
setNetwork
Fully-qualified URL of the network that this route applies to.
optional string network = 232872494;- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
Fully-qualified URL of the network that this route applies to.
optional string network = 232872494;- Returns:
- This builder for chaining.
-
setNetworkBytes
Fully-qualified URL of the network that this route applies to.
optional string network = 232872494;- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
hasNextHopGateway
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;- Specified by:
hasNextHopGatewayin interfaceRouteOrBuilder- Returns:
- Whether the nextHopGateway field is set.
-
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;- Specified by:
getNextHopGatewayin interfaceRouteOrBuilder- Returns:
- The nextHopGateway.
-
getNextHopGatewayBytes
public 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;- Specified by:
getNextHopGatewayBytesin interfaceRouteOrBuilder- Returns:
- The bytes for nextHopGateway.
-
setNextHopGateway
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;- Parameters:
value- The nextHopGateway to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setNextHopGatewayBytes
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;- Parameters:
value- The bytes for nextHopGateway to set.- Returns:
- This builder for chaining.
-
hasNextHopHub
public boolean hasNextHopHub()Output only. [Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets.
optional string next_hop_hub = 198679219;- Specified by:
hasNextHopHubin interfaceRouteOrBuilder- Returns:
- Whether the nextHopHub field is set.
-
getNextHopHub
Output only. [Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets.
optional string next_hop_hub = 198679219;- Specified by:
getNextHopHubin interfaceRouteOrBuilder- Returns:
- The nextHopHub.
-
getNextHopHubBytes
public com.google.protobuf.ByteString getNextHopHubBytes()Output only. [Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets.
optional string next_hop_hub = 198679219;- Specified by:
getNextHopHubBytesin interfaceRouteOrBuilder- Returns:
- The bytes for nextHopHub.
-
setNextHopHub
Output only. [Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets.
optional string next_hop_hub = 198679219;- Parameters:
value- The nextHopHub to set.- Returns:
- This builder for chaining.
-
clearNextHopHub
Output only. [Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets.
optional string next_hop_hub = 198679219;- Returns:
- This builder for chaining.
-
setNextHopHubBytes
Output only. [Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets.
optional string next_hop_hub = 198679219;- Parameters:
value- The bytes for nextHopHub to set.- Returns:
- This builder for chaining.
-
hasNextHopIlb
public boolean hasNextHopIlb()The URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule If an IP address is provided, must specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291 format. For example, the following are all valid IP addresses: - 10.128.0.56 - 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
optional string next_hop_ilb = 198679901;- Specified by:
hasNextHopIlbin interfaceRouteOrBuilder- Returns:
- Whether the nextHopIlb field is set.
-
getNextHopIlb
The URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule If an IP address is provided, must specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291 format. For example, the following are all valid IP addresses: - 10.128.0.56 - 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
optional string next_hop_ilb = 198679901;- Specified by:
getNextHopIlbin interfaceRouteOrBuilder- Returns:
- The nextHopIlb.
-
getNextHopIlbBytes
public com.google.protobuf.ByteString getNextHopIlbBytes()The URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule If an IP address is provided, must specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291 format. For example, the following are all valid IP addresses: - 10.128.0.56 - 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
optional string next_hop_ilb = 198679901;- Specified by:
getNextHopIlbBytesin interfaceRouteOrBuilder- Returns:
- The bytes for nextHopIlb.
-
setNextHopIlb
The URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule If an IP address is provided, must specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291 format. For example, the following are all valid IP addresses: - 10.128.0.56 - 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
optional string next_hop_ilb = 198679901;- Parameters:
value- The nextHopIlb to set.- Returns:
- This builder for chaining.
-
clearNextHopIlb
The URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule If an IP address is provided, must specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291 format. For example, the following are all valid IP addresses: - 10.128.0.56 - 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
optional string next_hop_ilb = 198679901;- Returns:
- This builder for chaining.
-
setNextHopIlbBytes
The URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule If an IP address is provided, must specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291 format. For example, the following are all valid IP addresses: - 10.128.0.56 - 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
optional string next_hop_ilb = 198679901;- Parameters:
value- The bytes for nextHopIlb to set.- Returns:
- This builder for chaining.
-
hasNextHopInstance
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;- Specified by:
hasNextHopInstancein interfaceRouteOrBuilder- Returns:
- Whether the nextHopInstance field is set.
-
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;- Specified by:
getNextHopInstancein interfaceRouteOrBuilder- Returns:
- The nextHopInstance.
-
getNextHopInstanceBytes
public 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;- Specified by:
getNextHopInstanceBytesin interfaceRouteOrBuilder- Returns:
- The bytes for nextHopInstance.
-
setNextHopInstance
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;- Parameters:
value- The nextHopInstance to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setNextHopInstanceBytes
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;- Parameters:
value- The bytes for nextHopInstance to set.- Returns:
- This builder for chaining.
-
hasNextHopInterRegionCost
public boolean hasNextHopInterRegionCost()Output only. [Output only] Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
optional uint32 next_hop_inter_region_cost = 24442003;- Specified by:
hasNextHopInterRegionCostin interfaceRouteOrBuilder- Returns:
- Whether the nextHopInterRegionCost field is set.
-
getNextHopInterRegionCost
public int getNextHopInterRegionCost()Output only. [Output only] Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
optional uint32 next_hop_inter_region_cost = 24442003;- Specified by:
getNextHopInterRegionCostin interfaceRouteOrBuilder- Returns:
- The nextHopInterRegionCost.
-
setNextHopInterRegionCost
Output only. [Output only] Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
optional uint32 next_hop_inter_region_cost = 24442003;- Parameters:
value- The nextHopInterRegionCost to set.- Returns:
- This builder for chaining.
-
clearNextHopInterRegionCost
Output only. [Output only] Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
optional uint32 next_hop_inter_region_cost = 24442003;- Returns:
- This builder for chaining.
-
hasNextHopInterconnectAttachment
public boolean hasNextHopInterconnectAttachment()Output only. [Output Only] The URL to an InterconnectAttachment which is the next hop for the route. This field will only be populated for dynamic routes generated by Cloud Router with a linked interconnectAttachment or the static route generated by each L2 Interconnect Attachment.
optional string next_hop_interconnect_attachment = 226852914;- Specified by:
hasNextHopInterconnectAttachmentin interfaceRouteOrBuilder- Returns:
- Whether the nextHopInterconnectAttachment field is set.
-
getNextHopInterconnectAttachment
Output only. [Output Only] The URL to an InterconnectAttachment which is the next hop for the route. This field will only be populated for dynamic routes generated by Cloud Router with a linked interconnectAttachment or the static route generated by each L2 Interconnect Attachment.
optional string next_hop_interconnect_attachment = 226852914;- Specified by:
getNextHopInterconnectAttachmentin interfaceRouteOrBuilder- Returns:
- The nextHopInterconnectAttachment.
-
getNextHopInterconnectAttachmentBytes
public com.google.protobuf.ByteString getNextHopInterconnectAttachmentBytes()Output only. [Output Only] The URL to an InterconnectAttachment which is the next hop for the route. This field will only be populated for dynamic routes generated by Cloud Router with a linked interconnectAttachment or the static route generated by each L2 Interconnect Attachment.
optional string next_hop_interconnect_attachment = 226852914;- Specified by:
getNextHopInterconnectAttachmentBytesin interfaceRouteOrBuilder- Returns:
- The bytes for nextHopInterconnectAttachment.
-
setNextHopInterconnectAttachment
Output only. [Output Only] The URL to an InterconnectAttachment which is the next hop for the route. This field will only be populated for dynamic routes generated by Cloud Router with a linked interconnectAttachment or the static route generated by each L2 Interconnect Attachment.
optional string next_hop_interconnect_attachment = 226852914;- Parameters:
value- The nextHopInterconnectAttachment to set.- Returns:
- This builder for chaining.
-
clearNextHopInterconnectAttachment
Output only. [Output Only] The URL to an InterconnectAttachment which is the next hop for the route. This field will only be populated for dynamic routes generated by Cloud Router with a linked interconnectAttachment or the static route generated by each L2 Interconnect Attachment.
optional string next_hop_interconnect_attachment = 226852914;- Returns:
- This builder for chaining.
-
setNextHopInterconnectAttachmentBytes
Output only. [Output Only] The URL to an InterconnectAttachment which is the next hop for the route. This field will only be populated for dynamic routes generated by Cloud Router with a linked interconnectAttachment or the static route generated by each L2 Interconnect Attachment.
optional string next_hop_interconnect_attachment = 226852914;- Parameters:
value- The bytes for nextHopInterconnectAttachment to set.- Returns:
- This builder for chaining.
-
hasNextHopIp
public boolean hasNextHopIp()The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
optional string next_hop_ip = 110319529;- Specified by:
hasNextHopIpin interfaceRouteOrBuilder- Returns:
- Whether the nextHopIp field is set.
-
getNextHopIp
The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
optional string next_hop_ip = 110319529;- Specified by:
getNextHopIpin interfaceRouteOrBuilder- Returns:
- The nextHopIp.
-
getNextHopIpBytes
public com.google.protobuf.ByteString getNextHopIpBytes()The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
optional string next_hop_ip = 110319529;- Specified by:
getNextHopIpBytesin interfaceRouteOrBuilder- Returns:
- The bytes for nextHopIp.
-
setNextHopIp
The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
optional string next_hop_ip = 110319529;- Parameters:
value- The nextHopIp to set.- Returns:
- This builder for chaining.
-
clearNextHopIp
The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
optional string next_hop_ip = 110319529;- Returns:
- This builder for chaining.
-
setNextHopIpBytes
The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
optional string next_hop_ip = 110319529;- Parameters:
value- The bytes for nextHopIp to set.- Returns:
- This builder for chaining.
-
hasNextHopMed
public boolean hasNextHopMed()Output only. [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
optional uint32 next_hop_med = 198683530;- Specified by:
hasNextHopMedin interfaceRouteOrBuilder- Returns:
- Whether the nextHopMed field is set.
-
getNextHopMed
public int getNextHopMed()Output only. [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
optional uint32 next_hop_med = 198683530;- Specified by:
getNextHopMedin interfaceRouteOrBuilder- Returns:
- The nextHopMed.
-
setNextHopMed
Output only. [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
optional uint32 next_hop_med = 198683530;- Parameters:
value- The nextHopMed to set.- Returns:
- This builder for chaining.
-
clearNextHopMed
Output only. [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
optional uint32 next_hop_med = 198683530;- Returns:
- This builder for chaining.
-
hasNextHopNetwork
public boolean hasNextHopNetwork()The URL of the local network if it should handle matching packets.
optional string next_hop_network = 262295788;- Specified by:
hasNextHopNetworkin interfaceRouteOrBuilder- Returns:
- Whether the nextHopNetwork field is set.
-
getNextHopNetwork
The URL of the local network if it should handle matching packets.
optional string next_hop_network = 262295788;- Specified by:
getNextHopNetworkin interfaceRouteOrBuilder- Returns:
- The nextHopNetwork.
-
getNextHopNetworkBytes
public com.google.protobuf.ByteString getNextHopNetworkBytes()The URL of the local network if it should handle matching packets.
optional string next_hop_network = 262295788;- Specified by:
getNextHopNetworkBytesin interfaceRouteOrBuilder- Returns:
- The bytes for nextHopNetwork.
-
setNextHopNetwork
The URL of the local network if it should handle matching packets.
optional string next_hop_network = 262295788;- Parameters:
value- The nextHopNetwork to set.- Returns:
- This builder for chaining.
-
clearNextHopNetwork
The URL of the local network if it should handle matching packets.
optional string next_hop_network = 262295788;- Returns:
- This builder for chaining.
-
setNextHopNetworkBytes
The URL of the local network if it should handle matching packets.
optional string next_hop_network = 262295788;- Parameters:
value- The bytes for nextHopNetwork to set.- Returns:
- This builder for chaining.
-
hasNextHopOrigin
public boolean hasNextHopOrigin()Output only. [Output Only] Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE. Check the NextHopOrigin enum for the list of possible values.
optional string next_hop_origin = 48752808;- Specified by:
hasNextHopOriginin interfaceRouteOrBuilder- Returns:
- Whether the nextHopOrigin field is set.
-
getNextHopOrigin
Output only. [Output Only] Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE. Check the NextHopOrigin enum for the list of possible values.
optional string next_hop_origin = 48752808;- Specified by:
getNextHopOriginin interfaceRouteOrBuilder- Returns:
- The nextHopOrigin.
-
getNextHopOriginBytes
public com.google.protobuf.ByteString getNextHopOriginBytes()Output only. [Output Only] Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE. Check the NextHopOrigin enum for the list of possible values.
optional string next_hop_origin = 48752808;- Specified by:
getNextHopOriginBytesin interfaceRouteOrBuilder- Returns:
- The bytes for nextHopOrigin.
-
setNextHopOrigin
Output only. [Output Only] Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE. Check the NextHopOrigin enum for the list of possible values.
optional string next_hop_origin = 48752808;- Parameters:
value- The nextHopOrigin to set.- Returns:
- This builder for chaining.
-
clearNextHopOrigin
Output only. [Output Only] Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE. Check the NextHopOrigin enum for the list of possible values.
optional string next_hop_origin = 48752808;- Returns:
- This builder for chaining.
-
setNextHopOriginBytes
Output only. [Output Only] Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE. Check the NextHopOrigin enum for the list of possible values.
optional string next_hop_origin = 48752808;- Parameters:
value- The bytes for nextHopOrigin to set.- Returns:
- This builder for chaining.
-
hasNextHopPeering
public boolean hasNextHopPeering()Output only. [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
optional string next_hop_peering = 412682750;- Specified by:
hasNextHopPeeringin interfaceRouteOrBuilder- Returns:
- Whether the nextHopPeering field is set.
-
getNextHopPeering
Output only. [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
optional string next_hop_peering = 412682750;- Specified by:
getNextHopPeeringin interfaceRouteOrBuilder- Returns:
- The nextHopPeering.
-
getNextHopPeeringBytes
public com.google.protobuf.ByteString getNextHopPeeringBytes()Output only. [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
optional string next_hop_peering = 412682750;- Specified by:
getNextHopPeeringBytesin interfaceRouteOrBuilder- Returns:
- The bytes for nextHopPeering.
-
setNextHopPeering
Output only. [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
optional string next_hop_peering = 412682750;- Parameters:
value- The nextHopPeering to set.- Returns:
- This builder for chaining.
-
clearNextHopPeering
Output only. [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
optional string next_hop_peering = 412682750;- Returns:
- This builder for chaining.
-
setNextHopPeeringBytes
Output only. [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
optional string next_hop_peering = 412682750;- Parameters:
value- The bytes for nextHopPeering to set.- Returns:
- This builder for chaining.
-
hasNextHopVpnTunnel
public boolean hasNextHopVpnTunnel()The URL to a VpnTunnel that should handle matching packets.
optional string next_hop_vpn_tunnel = 519844501;- Specified by:
hasNextHopVpnTunnelin interfaceRouteOrBuilder- Returns:
- Whether the nextHopVpnTunnel field is set.
-
getNextHopVpnTunnel
The URL to a VpnTunnel that should handle matching packets.
optional string next_hop_vpn_tunnel = 519844501;- Specified by:
getNextHopVpnTunnelin interfaceRouteOrBuilder- Returns:
- The nextHopVpnTunnel.
-
getNextHopVpnTunnelBytes
public com.google.protobuf.ByteString getNextHopVpnTunnelBytes()The URL to a VpnTunnel that should handle matching packets.
optional string next_hop_vpn_tunnel = 519844501;- Specified by:
getNextHopVpnTunnelBytesin interfaceRouteOrBuilder- Returns:
- The bytes for nextHopVpnTunnel.
-
setNextHopVpnTunnel
The URL to a VpnTunnel that should handle matching packets.
optional string next_hop_vpn_tunnel = 519844501;- Parameters:
value- The nextHopVpnTunnel to set.- Returns:
- This builder for chaining.
-
clearNextHopVpnTunnel
The URL to a VpnTunnel that should handle matching packets.
optional string next_hop_vpn_tunnel = 519844501;- Returns:
- This builder for chaining.
-
setNextHopVpnTunnelBytes
The URL to a VpnTunnel that should handle matching packets.
optional string next_hop_vpn_tunnel = 519844501;- Parameters:
value- The bytes for nextHopVpnTunnel to set.- Returns:
- This builder for chaining.
-
hasParams
public boolean hasParams()Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouteParams params = 78313862;- Specified by:
hasParamsin interfaceRouteOrBuilder- Returns:
- Whether the params field is set.
-
getParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouteParams params = 78313862;- Specified by:
getParamsin interfaceRouteOrBuilder- Returns:
- The params.
-
setParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouteParams params = 78313862; -
setParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouteParams params = 78313862; -
mergeParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouteParams params = 78313862; -
clearParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouteParams params = 78313862; -
getParamsBuilder
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouteParams params = 78313862; -
getParamsOrBuilder
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouteParams params = 78313862;- Specified by:
getParamsOrBuilderin interfaceRouteOrBuilder
-
hasPriority
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;- Specified by:
hasPriorityin interfaceRouteOrBuilder- Returns:
- Whether the priority field is set.
-
getPriority
public 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;- Specified by:
getPriorityin interfaceRouteOrBuilder- Returns:
- The priority.
-
setPriority
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;- Parameters:
value- The priority to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
hasRouteStatus
public boolean hasRouteStatus()[Output only] The status of the route. This status applies to dynamic routes learned by Cloud Routers. It is also applicable to routes undergoing migration. Check the RouteStatus enum for the list of possible values.
optional string route_status = 418162344;- Specified by:
hasRouteStatusin interfaceRouteOrBuilder- Returns:
- Whether the routeStatus field is set.
-
getRouteStatus
[Output only] The status of the route. This status applies to dynamic routes learned by Cloud Routers. It is also applicable to routes undergoing migration. Check the RouteStatus enum for the list of possible values.
optional string route_status = 418162344;- Specified by:
getRouteStatusin interfaceRouteOrBuilder- Returns:
- The routeStatus.
-
getRouteStatusBytes
public com.google.protobuf.ByteString getRouteStatusBytes()[Output only] The status of the route. This status applies to dynamic routes learned by Cloud Routers. It is also applicable to routes undergoing migration. Check the RouteStatus enum for the list of possible values.
optional string route_status = 418162344;- Specified by:
getRouteStatusBytesin interfaceRouteOrBuilder- Returns:
- The bytes for routeStatus.
-
setRouteStatus
[Output only] The status of the route. This status applies to dynamic routes learned by Cloud Routers. It is also applicable to routes undergoing migration. Check the RouteStatus enum for the list of possible values.
optional string route_status = 418162344;- Parameters:
value- The routeStatus to set.- Returns:
- This builder for chaining.
-
clearRouteStatus
[Output only] The status of the route. This status applies to dynamic routes learned by Cloud Routers. It is also applicable to routes undergoing migration. Check the RouteStatus enum for the list of possible values.
optional string route_status = 418162344;- Returns:
- This builder for chaining.
-
setRouteStatusBytes
[Output only] The status of the route. This status applies to dynamic routes learned by Cloud Routers. It is also applicable to routes undergoing migration. Check the RouteStatus enum for the list of possible values.
optional string route_status = 418162344;- Parameters:
value- The bytes for routeStatus to set.- Returns:
- This builder for chaining.
-
hasRouteType
public boolean hasRouteType()Output only. [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;- Specified by:
hasRouteTypein interfaceRouteOrBuilder- Returns:
- Whether the routeType field is set.
-
getRouteType
Output only. [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;- Specified by:
getRouteTypein interfaceRouteOrBuilder- Returns:
- The routeType.
-
getRouteTypeBytes
public com.google.protobuf.ByteString getRouteTypeBytes()Output only. [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;- Specified by:
getRouteTypeBytesin interfaceRouteOrBuilder- Returns:
- The bytes for routeType.
-
setRouteType
Output only. [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;- Parameters:
value- The routeType to set.- Returns:
- This builder for chaining.
-
clearRouteType
Output only. [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;- Returns:
- This builder for chaining.
-
setRouteTypeBytes
Output only. [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;- Parameters:
value- The bytes for routeType to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceRouteOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceRouteOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceRouteOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()A list of instance tags to which this route applies.
repeated string tags = 3552281;- Specified by:
getTagsListin interfaceRouteOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()A list of instance tags to which this route applies.
repeated string tags = 3552281;- Specified by:
getTagsCountin interfaceRouteOrBuilder- Returns:
- The count of tags.
-
getTags
A list of instance tags to which this route applies.
repeated string tags = 3552281;- Specified by:
getTagsin interfaceRouteOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) A list of instance tags to which this route applies.
repeated string tags = 3552281;- Specified by:
getTagsBytesin interfaceRouteOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
A list of instance tags to which this route applies.
repeated string tags = 3552281;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
A list of instance tags to which this route applies.
repeated string tags = 3552281;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
A list of instance tags to which this route applies.
repeated string tags = 3552281;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
A list of instance tags to which this route applies.
repeated string tags = 3552281;- Returns:
- This builder for chaining.
-
addTagsBytes
A list of instance tags to which this route applies.
repeated string tags = 3552281;- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
getWarningsList
Output only. [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;- Specified by:
getWarningsListin interfaceRouteOrBuilder
-
getWarningsCount
public int getWarningsCount()Output only. [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;- Specified by:
getWarningsCountin interfaceRouteOrBuilder
-
getWarnings
Output only. [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;- Specified by:
getWarningsin interfaceRouteOrBuilder
-
setWarnings
Output only. [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; -
setWarnings
Output only. [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; -
addWarnings
Output only. [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; -
addWarnings
Output only. [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; -
addWarnings
Output only. [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; -
addWarnings
Output only. [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; -
addAllWarnings
Output only. [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; -
clearWarnings
Output only. [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; -
removeWarnings
Output only. [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; -
getWarningsBuilder
Output only. [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
Output only. [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;- Specified by:
getWarningsOrBuilderin interfaceRouteOrBuilder
-
getWarningsOrBuilderList
Output only. [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;- Specified by:
getWarningsOrBuilderListin interfaceRouteOrBuilder
-
addWarningsBuilder
Output only. [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; -
addWarningsBuilder
Output only. [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; -
getWarningsBuilderList
Output only. [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;
-