Class RouteInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkmanagement.v1beta1.RouteInfo
- All Implemented Interfaces:
RouteInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class RouteInfo
extends com.google.protobuf.GeneratedMessage
implements RouteInfoOrBuilder
For display only. Metadata associated with a Compute Engine route.Protobuf type
google.cloud.networkmanagement.v1beta1.RouteInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFor display only.static enumType of next hop:static enumIndicates where routes are applicable.static enumType of route:Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.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 RouteInfostatic final com.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.com.google.protobuf.Parser<RouteInfo>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.intSource 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.inthashCode()booleanURI of the NCC Hub the route is advertised by.booleanURI of the destination NCC Spoke.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic RouteInfo.Builderstatic RouteInfo.BuildernewBuilder(RouteInfo prototype) protected RouteInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RouteInfoparseDelimitedFrom(InputStream input) static RouteInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouteInfoparseFrom(byte[] data) static RouteInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouteInfoparseFrom(com.google.protobuf.ByteString data) static RouteInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouteInfoparseFrom(com.google.protobuf.CodedInputStream input) static RouteInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouteInfoparseFrom(InputStream input) static RouteInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouteInfoparseFrom(ByteBuffer data) static RouteInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RouteInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ROUTE_TYPE_FIELD_NUMBER
public static final int ROUTE_TYPE_FIELD_NUMBER- See Also:
-
NEXT_HOP_TYPE_FIELD_NUMBER
public static final int NEXT_HOP_TYPE_FIELD_NUMBER- See Also:
-
ROUTE_SCOPE_FIELD_NUMBER
public static final int ROUTE_SCOPE_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER- See Also:
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER- See Also:
-
DEST_IP_RANGE_FIELD_NUMBER
public static final int DEST_IP_RANGE_FIELD_NUMBER- See Also:
-
NEXT_HOP_FIELD_NUMBER
public static final int NEXT_HOP_FIELD_NUMBER- See Also:
-
NETWORK_URI_FIELD_NUMBER
public static final int NETWORK_URI_FIELD_NUMBER- See Also:
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER- See Also:
-
INSTANCE_TAGS_FIELD_NUMBER
public static final int INSTANCE_TAGS_FIELD_NUMBER- See Also:
-
SRC_IP_RANGE_FIELD_NUMBER
public static final int SRC_IP_RANGE_FIELD_NUMBER- See Also:
-
DEST_PORT_RANGES_FIELD_NUMBER
public static final int DEST_PORT_RANGES_FIELD_NUMBER- See Also:
-
SRC_PORT_RANGES_FIELD_NUMBER
public static final int SRC_PORT_RANGES_FIELD_NUMBER- See Also:
-
PROTOCOLS_FIELD_NUMBER
public static final int PROTOCOLS_FIELD_NUMBER- See Also:
-
NCC_HUB_URI_FIELD_NUMBER
public static final int NCC_HUB_URI_FIELD_NUMBER- See Also:
-
NCC_SPOKE_URI_FIELD_NUMBER
public static final int NCC_SPOKE_URI_FIELD_NUMBER- See Also:
-
ADVERTISED_ROUTE_SOURCE_ROUTER_URI_FIELD_NUMBER
public static final int ADVERTISED_ROUTE_SOURCE_ROUTER_URI_FIELD_NUMBER- See Also:
-
ADVERTISED_ROUTE_NEXT_HOP_URI_FIELD_NUMBER
public static final int ADVERTISED_ROUTE_NEXT_HOP_URI_FIELD_NUMBER- See Also:
-
NEXT_HOP_URI_FIELD_NUMBER
public static final int NEXT_HOP_URI_FIELD_NUMBER- See Also:
-
NEXT_HOP_NETWORK_URI_FIELD_NUMBER
public static final int NEXT_HOP_NETWORK_URI_FIELD_NUMBER- See Also:
-
ORIGINATING_ROUTE_URI_FIELD_NUMBER
public static final int ORIGINATING_ROUTE_URI_FIELD_NUMBER- See Also:
-
ORIGINATING_ROUTE_DISPLAY_NAME_FIELD_NUMBER
public static final int ORIGINATING_ROUTE_DISPLAY_NAME_FIELD_NUMBER- See Also:
-
NCC_HUB_ROUTE_URI_FIELD_NUMBER
public static final int NCC_HUB_ROUTE_URI_FIELD_NUMBER- See Also:
-
-
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
-
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.
-
getRouteType
Type of route.
.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8;- Specified by:
getRouteTypein interfaceRouteInfoOrBuilder- Returns:
- The routeType.
-
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.
-
getNextHopType
Type of next hop.
.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9;- Specified by:
getNextHopTypein interfaceRouteInfoOrBuilder- Returns:
- The nextHopType.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getPriority
public int getPriority()Priority of the route.
int32 priority = 6;- Specified by:
getPriorityin interfaceRouteInfoOrBuilder- Returns:
- The priority.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RouteInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RouteInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RouteInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RouteInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RouteInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-