Class RouteInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RouteInfo.Builder>
com.google.cloud.networkmanagement.v1beta1.RouteInfo.Builder
- All Implemented Interfaces:
RouteInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RouteInfo
public static final class RouteInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RouteInfo.Builder>
implements RouteInfoOrBuilder
For display only. Metadata associated with a Compute Engine route.Protobuf type
google.cloud.networkmanagement.v1beta1.RouteInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllDestPortRanges(Iterable<String> values) Destination port ranges of the route.addAllInstanceTags(Iterable<String> values) Instance tags of the route.addAllProtocols(Iterable<String> values) Protocols of the route.addAllSrcPortRanges(Iterable<String> values) Source port ranges of the route.addDestPortRanges(String value) Destination port ranges of the route.addDestPortRangesBytes(com.google.protobuf.ByteString value) Destination port ranges of the route.addInstanceTags(String value) Instance tags of the route.addInstanceTagsBytes(com.google.protobuf.ByteString value) Instance tags of the route.addProtocols(String value) Protocols of the route.addProtocolsBytes(com.google.protobuf.ByteString value) Protocols of the route.addSrcPortRanges(String value) Source port ranges of the route.addSrcPortRangesBytes(com.google.protobuf.ByteString value) Source port ranges of the route.build()clear()Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.advertised_route_next_hop_uri is deprecated.For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.Destination IP range of the route.Destination port ranges of the route.Name of a route.Instance tags of the route.For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.URI of the NCC Hub the route is advertised by.URI of the destination NCC Spoke.URI of a VPC network where route is located.Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.next_hop is deprecated.URI of a VPC network where the next hop resource is located.Type of next hop.URI of the next hop resource.For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.Priority of the route.Protocols of the route.Region of the route.Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.route_scope is deprecated.Type of route.Source IP address range of the route.Source port ranges of the route.clearUri()URI of a route.Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.advertised_route_next_hop_uri is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.advertised_route_next_hop_uri is deprecated.For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.com.google.protobuf.ByteStringFor ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDestination IP range of the route.com.google.protobuf.ByteStringDestination IP range of the route.getDestPortRanges(int index) Destination port ranges of the route.com.google.protobuf.ByteStringgetDestPortRangesBytes(int index) Destination port ranges of the route.intDestination port ranges of the route.com.google.protobuf.ProtocolStringListDestination port ranges of the route.Name of a route.com.google.protobuf.ByteStringName of a route.getInstanceTags(int index) Instance tags of the route.com.google.protobuf.ByteStringgetInstanceTagsBytes(int index) Instance tags of the route.intInstance tags of the route.com.google.protobuf.ProtocolStringListInstance tags of the route.For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.com.google.protobuf.ByteStringFor PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.URI of the NCC Hub the route is advertised by.com.google.protobuf.ByteStringURI of the NCC Hub the route is advertised by.URI of the destination NCC Spoke.com.google.protobuf.ByteStringURI of the destination NCC Spoke.URI of a VPC network where route is located.com.google.protobuf.ByteStringURI of a VPC network where route is located.Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.next_hop is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.next_hop is deprecated.URI of a VPC network where the next hop resource is located.com.google.protobuf.ByteStringURI of a VPC network where the next hop resource is located.Type of next hop.intType of next hop.URI of the next hop resource.com.google.protobuf.ByteStringURI of the next hop resource.For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.com.google.protobuf.ByteStringFor PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.com.google.protobuf.ByteStringFor PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.intPriority of the route.getProtocols(int index) Protocols of the route.com.google.protobuf.ByteStringgetProtocolsBytes(int index) Protocols of the route.intProtocols of the route.com.google.protobuf.ProtocolStringListProtocols of the route.Region of the route.com.google.protobuf.ByteStringRegion of the route.Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.route_scope is deprecated.intDeprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.route_scope is deprecated.Type of route.intType of route.Source IP address range of the route.com.google.protobuf.ByteStringSource IP address range of the route.getSrcPortRanges(int index) Source port ranges of the route.com.google.protobuf.ByteStringgetSrcPortRangesBytes(int index) Source port ranges of the route.intSource port ranges of the route.com.google.protobuf.ProtocolStringListSource port ranges of the route.getUri()URI of a route.com.google.protobuf.ByteStringURI of a route.booleanDeprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.advertised_route_next_hop_uri is deprecated.booleanFor ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.booleanURI of the NCC Hub the route is advertised by.booleanURI of the destination NCC Spoke.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.advertised_route_next_hop_uri is deprecated.setAdvertisedRouteNextHopUriBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.advertised_route_next_hop_uri is deprecated.For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.setAdvertisedRouteSourceRouterUriBytes(com.google.protobuf.ByteString value) For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.setDestIpRange(String value) Destination IP range of the route.setDestIpRangeBytes(com.google.protobuf.ByteString value) Destination IP range of the route.setDestPortRanges(int index, String value) Destination port ranges of the route.setDisplayName(String value) Name of a route.setDisplayNameBytes(com.google.protobuf.ByteString value) Name of a route.setInstanceTags(int index, String value) Instance tags of the route.setNccHubRouteUri(String value) For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.setNccHubRouteUriBytes(com.google.protobuf.ByteString value) For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.setNccHubUri(String value) URI of the NCC Hub the route is advertised by.setNccHubUriBytes(com.google.protobuf.ByteString value) URI of the NCC Hub the route is advertised by.setNccSpokeUri(String value) URI of the destination NCC Spoke.setNccSpokeUriBytes(com.google.protobuf.ByteString value) URI of the destination NCC Spoke.setNetworkUri(String value) URI of a VPC network where route is located.setNetworkUriBytes(com.google.protobuf.ByteString value) URI of a VPC network where route is located.setNextHop(String value) Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.next_hop is deprecated.setNextHopBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.next_hop is deprecated.setNextHopNetworkUri(String value) URI of a VPC network where the next hop resource is located.setNextHopNetworkUriBytes(com.google.protobuf.ByteString value) URI of a VPC network where the next hop resource is located.Type of next hop.setNextHopTypeValue(int value) Type of next hop.setNextHopUri(String value) URI of the next hop resource.setNextHopUriBytes(com.google.protobuf.ByteString value) URI of the next hop resource.For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.setOriginatingRouteDisplayNameBytes(com.google.protobuf.ByteString value) For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.setOriginatingRouteUri(String value) For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.setOriginatingRouteUriBytes(com.google.protobuf.ByteString value) For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.setPriority(int value) Priority of the route.setProtocols(int index, String value) Protocols of the route.Region of the route.setRegionBytes(com.google.protobuf.ByteString value) Region of the route.Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.route_scope is deprecated.setRouteScopeValue(int value) Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.route_scope is deprecated.setRouteType(RouteInfo.RouteType value) Type of route.setRouteTypeValue(int value) Type of route.setSrcIpRange(String value) Source IP address range of the route.setSrcIpRangeBytes(com.google.protobuf.ByteString value) Source IP address range of the route.setSrcPortRanges(int index, String value) Source port ranges of the route.URI of a route.setUriBytes(com.google.protobuf.ByteString value) URI of a route.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<RouteInfo.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<RouteInfo.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<RouteInfo.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<RouteInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RouteInfo.Builder>
-
mergeFrom
public RouteInfo.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<RouteInfo.Builder>- Throws:
IOException
-
getRouteTypeValue
public int getRouteTypeValue()Type of route.
.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8;- Specified by:
getRouteTypeValuein interfaceRouteInfoOrBuilder- Returns:
- The enum numeric value on the wire for routeType.
-
setRouteTypeValue
Type of route.
.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8;- Parameters:
value- The enum numeric value on the wire for routeType to set.- Returns:
- This builder for chaining.
-
getRouteType
Type of route.
.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8;- Specified by:
getRouteTypein interfaceRouteInfoOrBuilder- Returns:
- The routeType.
-
setRouteType
Type of route.
.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8;- Parameters:
value- The routeType to set.- Returns:
- This builder for chaining.
-
clearRouteType
Type of route.
.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8;- Returns:
- This builder for chaining.
-
getNextHopTypeValue
public int getNextHopTypeValue()Type of next hop.
.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9;- Specified by:
getNextHopTypeValuein interfaceRouteInfoOrBuilder- Returns:
- The enum numeric value on the wire for nextHopType.
-
setNextHopTypeValue
Type of next hop.
.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9;- Parameters:
value- The enum numeric value on the wire for nextHopType to set.- Returns:
- This builder for chaining.
-
getNextHopType
Type of next hop.
.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9;- Specified by:
getNextHopTypein interfaceRouteInfoOrBuilder- Returns:
- The nextHopType.
-
setNextHopType
Type of next hop.
.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9;- Parameters:
value- The nextHopType to set.- Returns:
- This builder for chaining.
-
clearNextHopType
Type of next hop.
.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9;- Returns:
- This builder for chaining.
-
getRouteScopeValue
Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.route_scope is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=677Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.
.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteScope route_scope = 14 [deprecated = true];- Specified by:
getRouteScopeValuein interfaceRouteInfoOrBuilder- Returns:
- The enum numeric value on the wire for routeScope.
-
setRouteScopeValue
Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.route_scope is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=677Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.
.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteScope route_scope = 14 [deprecated = true];- Parameters:
value- The enum numeric value on the wire for routeScope to set.- Returns:
- This builder for chaining.
-
getRouteScope
Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.route_scope is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=677Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.
.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteScope route_scope = 14 [deprecated = true];- Specified by:
getRouteScopein interfaceRouteInfoOrBuilder- Returns:
- The routeScope.
-
setRouteScope
Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.route_scope is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=677Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.
.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteScope route_scope = 14 [deprecated = true];- Parameters:
value- The routeScope to set.- Returns:
- This builder for chaining.
-
clearRouteScope
Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.route_scope is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=677Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.
.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteScope route_scope = 14 [deprecated = true];- Returns:
- This builder for chaining.
-
getDisplayName
Name of a route.
string display_name = 1;- Specified by:
getDisplayNamein interfaceRouteInfoOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Name of a route.
string display_name = 1;- Specified by:
getDisplayNameBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Name of a route.
string display_name = 1;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Name of a route.
string display_name = 1;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Name of a route.
string display_name = 1;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getUri
URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.
string uri = 2;- Specified by:
getUriin interfaceRouteInfoOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.
string uri = 2;- Specified by:
getUriBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for uri.
-
setUri
URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.
string uri = 2;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.
string uri = 2;- Returns:
- This builder for chaining.
-
setUriBytes
URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.
string uri = 2;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getRegion
Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to. If set to "all" for POLICY_BASED route, the route applies to VLAN attachments of Cloud Interconnect in all regions.
string region = 19;- Specified by:
getRegionin interfaceRouteInfoOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to. If set to "all" for POLICY_BASED route, the route applies to VLAN attachments of Cloud Interconnect in all regions.
string region = 19;- Specified by:
getRegionBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for region.
-
setRegion
Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to. If set to "all" for POLICY_BASED route, the route applies to VLAN attachments of Cloud Interconnect in all regions.
string region = 19;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to. If set to "all" for POLICY_BASED route, the route applies to VLAN attachments of Cloud Interconnect in all regions.
string region = 19;- Returns:
- This builder for chaining.
-
setRegionBytes
Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to. If set to "all" for POLICY_BASED route, the route applies to VLAN attachments of Cloud Interconnect in all regions.
string region = 19;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
getDestIpRange
Destination IP range of the route.
string dest_ip_range = 3;- Specified by:
getDestIpRangein interfaceRouteInfoOrBuilder- Returns:
- The destIpRange.
-
getDestIpRangeBytes
public com.google.protobuf.ByteString getDestIpRangeBytes()Destination IP range of the route.
string dest_ip_range = 3;- Specified by:
getDestIpRangeBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for destIpRange.
-
setDestIpRange
Destination IP range of the route.
string dest_ip_range = 3;- Parameters:
value- The destIpRange to set.- Returns:
- This builder for chaining.
-
clearDestIpRange
Destination IP range of the route.
string dest_ip_range = 3;- Returns:
- This builder for chaining.
-
setDestIpRangeBytes
Destination IP range of the route.
string dest_ip_range = 3;- Parameters:
value- The bytes for destIpRange to set.- Returns:
- This builder for chaining.
-
getNextHop
Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.next_hop is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=699String type of the next hop of the route (for example, "VPN tunnel"). Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests.
string next_hop = 4 [deprecated = true];- Specified by:
getNextHopin interfaceRouteInfoOrBuilder- Returns:
- The nextHop.
-
getNextHopBytes
Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.next_hop is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=699String type of the next hop of the route (for example, "VPN tunnel"). Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests.
string next_hop = 4 [deprecated = true];- Specified by:
getNextHopBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for nextHop.
-
setNextHop
Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.next_hop is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=699String type of the next hop of the route (for example, "VPN tunnel"). Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests.
string next_hop = 4 [deprecated = true];- Parameters:
value- The nextHop to set.- Returns:
- This builder for chaining.
-
clearNextHop
Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.next_hop is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=699String type of the next hop of the route (for example, "VPN tunnel"). Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests.
string next_hop = 4 [deprecated = true];- Returns:
- This builder for chaining.
-
setNextHopBytes
Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.next_hop is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=699String type of the next hop of the route (for example, "VPN tunnel"). Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests.
string next_hop = 4 [deprecated = true];- Parameters:
value- The bytes for nextHop to set.- Returns:
- This builder for chaining.
-
getNetworkUri
URI of a VPC network where route is located.
string network_uri = 5;- Specified by:
getNetworkUriin interfaceRouteInfoOrBuilder- Returns:
- The networkUri.
-
getNetworkUriBytes
public com.google.protobuf.ByteString getNetworkUriBytes()URI of a VPC network where route is located.
string network_uri = 5;- Specified by:
getNetworkUriBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for networkUri.
-
setNetworkUri
URI of a VPC network where route is located.
string network_uri = 5;- Parameters:
value- The networkUri to set.- Returns:
- This builder for chaining.
-
clearNetworkUri
URI of a VPC network where route is located.
string network_uri = 5;- Returns:
- This builder for chaining.
-
setNetworkUriBytes
URI of a VPC network where route is located.
string network_uri = 5;- Parameters:
value- The bytes for networkUri to set.- Returns:
- This builder for chaining.
-
getPriority
public int getPriority()Priority of the route.
int32 priority = 6;- Specified by:
getPriorityin interfaceRouteInfoOrBuilder- Returns:
- The priority.
-
setPriority
Priority of the route.
int32 priority = 6;- Parameters:
value- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
Priority of the route.
int32 priority = 6;- Returns:
- This builder for chaining.
-
getInstanceTagsList
public com.google.protobuf.ProtocolStringList getInstanceTagsList()Instance tags of the route.
repeated string instance_tags = 7;- Specified by:
getInstanceTagsListin interfaceRouteInfoOrBuilder- Returns:
- A list containing the instanceTags.
-
getInstanceTagsCount
public int getInstanceTagsCount()Instance tags of the route.
repeated string instance_tags = 7;- Specified by:
getInstanceTagsCountin interfaceRouteInfoOrBuilder- Returns:
- The count of instanceTags.
-
getInstanceTags
Instance tags of the route.
repeated string instance_tags = 7;- Specified by:
getInstanceTagsin interfaceRouteInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The instanceTags at the given index.
-
getInstanceTagsBytes
public com.google.protobuf.ByteString getInstanceTagsBytes(int index) Instance tags of the route.
repeated string instance_tags = 7;- Specified by:
getInstanceTagsBytesin interfaceRouteInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the instanceTags at the given index.
-
setInstanceTags
Instance tags of the route.
repeated string instance_tags = 7;- Parameters:
index- The index to set the value at.value- The instanceTags to set.- Returns:
- This builder for chaining.
-
addInstanceTags
Instance tags of the route.
repeated string instance_tags = 7;- Parameters:
value- The instanceTags to add.- Returns:
- This builder for chaining.
-
addAllInstanceTags
Instance tags of the route.
repeated string instance_tags = 7;- Parameters:
values- The instanceTags to add.- Returns:
- This builder for chaining.
-
clearInstanceTags
Instance tags of the route.
repeated string instance_tags = 7;- Returns:
- This builder for chaining.
-
addInstanceTagsBytes
Instance tags of the route.
repeated string instance_tags = 7;- Parameters:
value- The bytes of the instanceTags to add.- Returns:
- This builder for chaining.
-
getSrcIpRange
Source IP address range of the route. POLICY_BASED routes only.
string src_ip_range = 10;- Specified by:
getSrcIpRangein interfaceRouteInfoOrBuilder- Returns:
- The srcIpRange.
-
getSrcIpRangeBytes
public com.google.protobuf.ByteString getSrcIpRangeBytes()Source IP address range of the route. POLICY_BASED routes only.
string src_ip_range = 10;- Specified by:
getSrcIpRangeBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for srcIpRange.
-
setSrcIpRange
Source IP address range of the route. POLICY_BASED routes only.
string src_ip_range = 10;- Parameters:
value- The srcIpRange to set.- Returns:
- This builder for chaining.
-
clearSrcIpRange
Source IP address range of the route. POLICY_BASED routes only.
string src_ip_range = 10;- Returns:
- This builder for chaining.
-
setSrcIpRangeBytes
Source IP address range of the route. POLICY_BASED routes only.
string src_ip_range = 10;- Parameters:
value- The bytes for srcIpRange to set.- Returns:
- This builder for chaining.
-
getDestPortRangesList
public com.google.protobuf.ProtocolStringList getDestPortRangesList()Destination port ranges of the route. POLICY_BASED routes only.
repeated string dest_port_ranges = 11;- Specified by:
getDestPortRangesListin interfaceRouteInfoOrBuilder- Returns:
- A list containing the destPortRanges.
-
getDestPortRangesCount
public int getDestPortRangesCount()Destination port ranges of the route. POLICY_BASED routes only.
repeated string dest_port_ranges = 11;- Specified by:
getDestPortRangesCountin interfaceRouteInfoOrBuilder- Returns:
- The count of destPortRanges.
-
getDestPortRanges
Destination port ranges of the route. POLICY_BASED routes only.
repeated string dest_port_ranges = 11;- Specified by:
getDestPortRangesin interfaceRouteInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The destPortRanges at the given index.
-
getDestPortRangesBytes
public com.google.protobuf.ByteString getDestPortRangesBytes(int index) Destination port ranges of the route. POLICY_BASED routes only.
repeated string dest_port_ranges = 11;- Specified by:
getDestPortRangesBytesin interfaceRouteInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the destPortRanges at the given index.
-
setDestPortRanges
Destination port ranges of the route. POLICY_BASED routes only.
repeated string dest_port_ranges = 11;- Parameters:
index- The index to set the value at.value- The destPortRanges to set.- Returns:
- This builder for chaining.
-
addDestPortRanges
Destination port ranges of the route. POLICY_BASED routes only.
repeated string dest_port_ranges = 11;- Parameters:
value- The destPortRanges to add.- Returns:
- This builder for chaining.
-
addAllDestPortRanges
Destination port ranges of the route. POLICY_BASED routes only.
repeated string dest_port_ranges = 11;- Parameters:
values- The destPortRanges to add.- Returns:
- This builder for chaining.
-
clearDestPortRanges
Destination port ranges of the route. POLICY_BASED routes only.
repeated string dest_port_ranges = 11;- Returns:
- This builder for chaining.
-
addDestPortRangesBytes
Destination port ranges of the route. POLICY_BASED routes only.
repeated string dest_port_ranges = 11;- Parameters:
value- The bytes of the destPortRanges to add.- Returns:
- This builder for chaining.
-
getSrcPortRangesList
public com.google.protobuf.ProtocolStringList getSrcPortRangesList()Source port ranges of the route. POLICY_BASED routes only.
repeated string src_port_ranges = 12;- Specified by:
getSrcPortRangesListin interfaceRouteInfoOrBuilder- Returns:
- A list containing the srcPortRanges.
-
getSrcPortRangesCount
public int getSrcPortRangesCount()Source port ranges of the route. POLICY_BASED routes only.
repeated string src_port_ranges = 12;- Specified by:
getSrcPortRangesCountin interfaceRouteInfoOrBuilder- Returns:
- The count of srcPortRanges.
-
getSrcPortRanges
Source port ranges of the route. POLICY_BASED routes only.
repeated string src_port_ranges = 12;- Specified by:
getSrcPortRangesin interfaceRouteInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The srcPortRanges at the given index.
-
getSrcPortRangesBytes
public com.google.protobuf.ByteString getSrcPortRangesBytes(int index) Source port ranges of the route. POLICY_BASED routes only.
repeated string src_port_ranges = 12;- Specified by:
getSrcPortRangesBytesin interfaceRouteInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the srcPortRanges at the given index.
-
setSrcPortRanges
Source port ranges of the route. POLICY_BASED routes only.
repeated string src_port_ranges = 12;- Parameters:
index- The index to set the value at.value- The srcPortRanges to set.- Returns:
- This builder for chaining.
-
addSrcPortRanges
Source port ranges of the route. POLICY_BASED routes only.
repeated string src_port_ranges = 12;- Parameters:
value- The srcPortRanges to add.- Returns:
- This builder for chaining.
-
addAllSrcPortRanges
Source port ranges of the route. POLICY_BASED routes only.
repeated string src_port_ranges = 12;- Parameters:
values- The srcPortRanges to add.- Returns:
- This builder for chaining.
-
clearSrcPortRanges
Source port ranges of the route. POLICY_BASED routes only.
repeated string src_port_ranges = 12;- Returns:
- This builder for chaining.
-
addSrcPortRangesBytes
Source port ranges of the route. POLICY_BASED routes only.
repeated string src_port_ranges = 12;- Parameters:
value- The bytes of the srcPortRanges to add.- Returns:
- This builder for chaining.
-
getProtocolsList
public com.google.protobuf.ProtocolStringList getProtocolsList()Protocols of the route. POLICY_BASED routes only.
repeated string protocols = 13;- Specified by:
getProtocolsListin interfaceRouteInfoOrBuilder- Returns:
- A list containing the protocols.
-
getProtocolsCount
public int getProtocolsCount()Protocols of the route. POLICY_BASED routes only.
repeated string protocols = 13;- Specified by:
getProtocolsCountin interfaceRouteInfoOrBuilder- Returns:
- The count of protocols.
-
getProtocols
Protocols of the route. POLICY_BASED routes only.
repeated string protocols = 13;- Specified by:
getProtocolsin interfaceRouteInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The protocols at the given index.
-
getProtocolsBytes
public com.google.protobuf.ByteString getProtocolsBytes(int index) Protocols of the route. POLICY_BASED routes only.
repeated string protocols = 13;- Specified by:
getProtocolsBytesin interfaceRouteInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the protocols at the given index.
-
setProtocols
Protocols of the route. POLICY_BASED routes only.
repeated string protocols = 13;- Parameters:
index- The index to set the value at.value- The protocols to set.- Returns:
- This builder for chaining.
-
addProtocols
Protocols of the route. POLICY_BASED routes only.
repeated string protocols = 13;- Parameters:
value- The protocols to add.- Returns:
- This builder for chaining.
-
addAllProtocols
Protocols of the route. POLICY_BASED routes only.
repeated string protocols = 13;- Parameters:
values- The protocols to add.- Returns:
- This builder for chaining.
-
clearProtocols
Protocols of the route. POLICY_BASED routes only.
repeated string protocols = 13;- Returns:
- This builder for chaining.
-
addProtocolsBytes
Protocols of the route. POLICY_BASED routes only.
repeated string protocols = 13;- Parameters:
value- The bytes of the protocols to add.- Returns:
- This builder for chaining.
-
hasNccHubUri
public boolean hasNccHubUri()URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
optional string ncc_hub_uri = 15;- Specified by:
hasNccHubUriin interfaceRouteInfoOrBuilder- Returns:
- Whether the nccHubUri field is set.
-
getNccHubUri
URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
optional string ncc_hub_uri = 15;- Specified by:
getNccHubUriin interfaceRouteInfoOrBuilder- Returns:
- The nccHubUri.
-
getNccHubUriBytes
public com.google.protobuf.ByteString getNccHubUriBytes()URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
optional string ncc_hub_uri = 15;- Specified by:
getNccHubUriBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for nccHubUri.
-
setNccHubUri
URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
optional string ncc_hub_uri = 15;- Parameters:
value- The nccHubUri to set.- Returns:
- This builder for chaining.
-
clearNccHubUri
URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
optional string ncc_hub_uri = 15;- Returns:
- This builder for chaining.
-
setNccHubUriBytes
URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
optional string ncc_hub_uri = 15;- Parameters:
value- The bytes for nccHubUri to set.- Returns:
- This builder for chaining.
-
hasNccSpokeUri
public boolean hasNccSpokeUri()URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
optional string ncc_spoke_uri = 16;- Specified by:
hasNccSpokeUriin interfaceRouteInfoOrBuilder- Returns:
- Whether the nccSpokeUri field is set.
-
getNccSpokeUri
URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
optional string ncc_spoke_uri = 16;- Specified by:
getNccSpokeUriin interfaceRouteInfoOrBuilder- Returns:
- The nccSpokeUri.
-
getNccSpokeUriBytes
public com.google.protobuf.ByteString getNccSpokeUriBytes()URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
optional string ncc_spoke_uri = 16;- Specified by:
getNccSpokeUriBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for nccSpokeUri.
-
setNccSpokeUri
URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
optional string ncc_spoke_uri = 16;- Parameters:
value- The nccSpokeUri to set.- Returns:
- This builder for chaining.
-
clearNccSpokeUri
URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
optional string ncc_spoke_uri = 16;- Returns:
- This builder for chaining.
-
setNccSpokeUriBytes
URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
optional string ncc_spoke_uri = 16;- Parameters:
value- The bytes for nccSpokeUri to set.- Returns:
- This builder for chaining.
-
hasAdvertisedRouteSourceRouterUri
public boolean hasAdvertisedRouteSourceRouterUri()For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
optional string advertised_route_source_router_uri = 17;- Specified by:
hasAdvertisedRouteSourceRouterUriin interfaceRouteInfoOrBuilder- Returns:
- Whether the advertisedRouteSourceRouterUri field is set.
-
getAdvertisedRouteSourceRouterUri
For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
optional string advertised_route_source_router_uri = 17;- Specified by:
getAdvertisedRouteSourceRouterUriin interfaceRouteInfoOrBuilder- Returns:
- The advertisedRouteSourceRouterUri.
-
getAdvertisedRouteSourceRouterUriBytes
public com.google.protobuf.ByteString getAdvertisedRouteSourceRouterUriBytes()For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
optional string advertised_route_source_router_uri = 17;- Specified by:
getAdvertisedRouteSourceRouterUriBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for advertisedRouteSourceRouterUri.
-
setAdvertisedRouteSourceRouterUri
For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
optional string advertised_route_source_router_uri = 17;- Parameters:
value- The advertisedRouteSourceRouterUri to set.- Returns:
- This builder for chaining.
-
clearAdvertisedRouteSourceRouterUri
For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
optional string advertised_route_source_router_uri = 17;- Returns:
- This builder for chaining.
-
setAdvertisedRouteSourceRouterUriBytes
public RouteInfo.Builder setAdvertisedRouteSourceRouterUriBytes(com.google.protobuf.ByteString value) For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
optional string advertised_route_source_router_uri = 17;- Parameters:
value- The bytes for advertisedRouteSourceRouterUri to set.- Returns:
- This builder for chaining.
-
hasAdvertisedRouteNextHopUri
Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.advertised_route_next_hop_uri is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=739For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network. Deprecated in favor of the next_hop_uri field, not used in new tests.
optional string advertised_route_next_hop_uri = 18 [deprecated = true];- Specified by:
hasAdvertisedRouteNextHopUriin interfaceRouteInfoOrBuilder- Returns:
- Whether the advertisedRouteNextHopUri field is set.
-
getAdvertisedRouteNextHopUri
Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.advertised_route_next_hop_uri is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=739For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network. Deprecated in favor of the next_hop_uri field, not used in new tests.
optional string advertised_route_next_hop_uri = 18 [deprecated = true];- Specified by:
getAdvertisedRouteNextHopUriin interfaceRouteInfoOrBuilder- Returns:
- The advertisedRouteNextHopUri.
-
getAdvertisedRouteNextHopUriBytes
Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.advertised_route_next_hop_uri is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=739For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network. Deprecated in favor of the next_hop_uri field, not used in new tests.
optional string advertised_route_next_hop_uri = 18 [deprecated = true];- Specified by:
getAdvertisedRouteNextHopUriBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for advertisedRouteNextHopUri.
-
setAdvertisedRouteNextHopUri
Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.advertised_route_next_hop_uri is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=739For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network. Deprecated in favor of the next_hop_uri field, not used in new tests.
optional string advertised_route_next_hop_uri = 18 [deprecated = true];- Parameters:
value- The advertisedRouteNextHopUri to set.- Returns:
- This builder for chaining.
-
clearAdvertisedRouteNextHopUri
Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.advertised_route_next_hop_uri is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=739For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network. Deprecated in favor of the next_hop_uri field, not used in new tests.
optional string advertised_route_next_hop_uri = 18 [deprecated = true];- Returns:
- This builder for chaining.
-
setAdvertisedRouteNextHopUriBytes
@Deprecated public RouteInfo.Builder setAdvertisedRouteNextHopUriBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.networkmanagement.v1beta1.RouteInfo.advertised_route_next_hop_uri is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=739For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network. Deprecated in favor of the next_hop_uri field, not used in new tests.
optional string advertised_route_next_hop_uri = 18 [deprecated = true];- Parameters:
value- The bytes for advertisedRouteNextHopUri to set.- Returns:
- This builder for chaining.
-
getNextHopUri
URI of the next hop resource.
string next_hop_uri = 20;- Specified by:
getNextHopUriin interfaceRouteInfoOrBuilder- Returns:
- The nextHopUri.
-
getNextHopUriBytes
public com.google.protobuf.ByteString getNextHopUriBytes()URI of the next hop resource.
string next_hop_uri = 20;- Specified by:
getNextHopUriBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for nextHopUri.
-
setNextHopUri
URI of the next hop resource.
string next_hop_uri = 20;- Parameters:
value- The nextHopUri to set.- Returns:
- This builder for chaining.
-
clearNextHopUri
URI of the next hop resource.
string next_hop_uri = 20;- Returns:
- This builder for chaining.
-
setNextHopUriBytes
URI of the next hop resource.
string next_hop_uri = 20;- Parameters:
value- The bytes for nextHopUri to set.- Returns:
- This builder for chaining.
-
getNextHopNetworkUri
URI of a VPC network where the next hop resource is located.
string next_hop_network_uri = 21;- Specified by:
getNextHopNetworkUriin interfaceRouteInfoOrBuilder- Returns:
- The nextHopNetworkUri.
-
getNextHopNetworkUriBytes
public com.google.protobuf.ByteString getNextHopNetworkUriBytes()URI of a VPC network where the next hop resource is located.
string next_hop_network_uri = 21;- Specified by:
getNextHopNetworkUriBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for nextHopNetworkUri.
-
setNextHopNetworkUri
URI of a VPC network where the next hop resource is located.
string next_hop_network_uri = 21;- Parameters:
value- The nextHopNetworkUri to set.- Returns:
- This builder for chaining.
-
clearNextHopNetworkUri
URI of a VPC network where the next hop resource is located.
string next_hop_network_uri = 21;- Returns:
- This builder for chaining.
-
setNextHopNetworkUriBytes
URI of a VPC network where the next hop resource is located.
string next_hop_network_uri = 21;- Parameters:
value- The bytes for nextHopNetworkUri to set.- Returns:
- This builder for chaining.
-
getOriginatingRouteUri
For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.
string originating_route_uri = 22;- Specified by:
getOriginatingRouteUriin interfaceRouteInfoOrBuilder- Returns:
- The originatingRouteUri.
-
getOriginatingRouteUriBytes
public com.google.protobuf.ByteString getOriginatingRouteUriBytes()For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.
string originating_route_uri = 22;- Specified by:
getOriginatingRouteUriBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for originatingRouteUri.
-
setOriginatingRouteUri
For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.
string originating_route_uri = 22;- Parameters:
value- The originatingRouteUri to set.- Returns:
- This builder for chaining.
-
clearOriginatingRouteUri
For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.
string originating_route_uri = 22;- Returns:
- This builder for chaining.
-
setOriginatingRouteUriBytes
For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.
string originating_route_uri = 22;- Parameters:
value- The bytes for originatingRouteUri to set.- Returns:
- This builder for chaining.
-
getOriginatingRouteDisplayName
For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.
string originating_route_display_name = 23;- Specified by:
getOriginatingRouteDisplayNamein interfaceRouteInfoOrBuilder- Returns:
- The originatingRouteDisplayName.
-
getOriginatingRouteDisplayNameBytes
public com.google.protobuf.ByteString getOriginatingRouteDisplayNameBytes()For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.
string originating_route_display_name = 23;- Specified by:
getOriginatingRouteDisplayNameBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for originatingRouteDisplayName.
-
setOriginatingRouteDisplayName
For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.
string originating_route_display_name = 23;- Parameters:
value- The originatingRouteDisplayName to set.- Returns:
- This builder for chaining.
-
clearOriginatingRouteDisplayName
For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.
string originating_route_display_name = 23;- Returns:
- This builder for chaining.
-
setOriginatingRouteDisplayNameBytes
For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.
string originating_route_display_name = 23;- Parameters:
value- The bytes for originatingRouteDisplayName to set.- Returns:
- This builder for chaining.
-
getNccHubRouteUri
For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.
string ncc_hub_route_uri = 24;- Specified by:
getNccHubRouteUriin interfaceRouteInfoOrBuilder- Returns:
- The nccHubRouteUri.
-
getNccHubRouteUriBytes
public com.google.protobuf.ByteString getNccHubRouteUriBytes()For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.
string ncc_hub_route_uri = 24;- Specified by:
getNccHubRouteUriBytesin interfaceRouteInfoOrBuilder- Returns:
- The bytes for nccHubRouteUri.
-
setNccHubRouteUri
For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.
string ncc_hub_route_uri = 24;- Parameters:
value- The nccHubRouteUri to set.- Returns:
- This builder for chaining.
-
clearNccHubRouteUri
For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.
string ncc_hub_route_uri = 24;- Returns:
- This builder for chaining.
-
setNccHubRouteUriBytes
For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.
string ncc_hub_route_uri = 24;- Parameters:
value- The bytes for nccHubRouteUri to set.- Returns:
- This builder for chaining.
-