Interface RouteInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RouteInfo, RouteInfo.Builder

@Generated public interface RouteInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getRouteTypeValue

      int getRouteTypeValue()
       Type of route.
       
      .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8;
      Returns:
      The enum numeric value on the wire for routeType.
    • getRouteType

      RouteInfo.RouteType getRouteType()
       Type of route.
       
      .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8;
      Returns:
      The routeType.
    • getNextHopTypeValue

      int getNextHopTypeValue()
       Type of next hop.
       
      .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9;
      Returns:
      The enum numeric value on the wire for nextHopType.
    • getNextHopType

      RouteInfo.NextHopType getNextHopType()
       Type of next hop.
       
      .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9;
      Returns:
      The nextHopType.
    • getRouteScopeValue

      @Deprecated int getRouteScopeValue()
      Deprecated.
      google.cloud.networkmanagement.v1beta1.RouteInfo.route_scope is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=677
       Indicates 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:
      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=677
       Indicates 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:
      The routeScope.
    • getDisplayName

      String getDisplayName()
       Name of a route.
       
      string display_name = 1;
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Name of a route.
       
      string display_name = 1;
      Returns:
      The bytes for displayName.
    • getUri

      String getUri()
       URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network)
       and POLICY_BASED routes only.
       
      string uri = 2;
      Returns:
      The uri.
    • getUriBytes

      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;
      Returns:
      The bytes for uri.
    • getRegion

      String 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;
      Returns:
      The region.
    • getRegionBytes

      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;
      Returns:
      The bytes for region.
    • getDestIpRange

      String getDestIpRange()
       Destination IP range of the route.
       
      string dest_ip_range = 3;
      Returns:
      The destIpRange.
    • getDestIpRangeBytes

      com.google.protobuf.ByteString getDestIpRangeBytes()
       Destination IP range of the route.
       
      string dest_ip_range = 3;
      Returns:
      The bytes for destIpRange.
    • getNextHop

      @Deprecated String getNextHop()
      Deprecated.
      google.cloud.networkmanagement.v1beta1.RouteInfo.next_hop is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=699
       String 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:
      The nextHop.
    • getNextHopBytes

      @Deprecated com.google.protobuf.ByteString getNextHopBytes()
      Deprecated.
      google.cloud.networkmanagement.v1beta1.RouteInfo.next_hop is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=699
       String 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:
      The bytes for nextHop.
    • getNetworkUri

      String getNetworkUri()
       URI of a VPC network where route is located.
       
      string network_uri = 5;
      Returns:
      The networkUri.
    • getNetworkUriBytes

      com.google.protobuf.ByteString getNetworkUriBytes()
       URI of a VPC network where route is located.
       
      string network_uri = 5;
      Returns:
      The bytes for networkUri.
    • getPriority

      int getPriority()
       Priority of the route.
       
      int32 priority = 6;
      Returns:
      The priority.
    • getInstanceTagsList

      List<String> getInstanceTagsList()
       Instance tags of the route.
       
      repeated string instance_tags = 7;
      Returns:
      A list containing the instanceTags.
    • getInstanceTagsCount

      int getInstanceTagsCount()
       Instance tags of the route.
       
      repeated string instance_tags = 7;
      Returns:
      The count of instanceTags.
    • getInstanceTags

      String getInstanceTags(int index)
       Instance tags of the route.
       
      repeated string instance_tags = 7;
      Parameters:
      index - The index of the element to return.
      Returns:
      The instanceTags at the given index.
    • getInstanceTagsBytes

      com.google.protobuf.ByteString getInstanceTagsBytes(int index)
       Instance tags of the route.
       
      repeated string instance_tags = 7;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the instanceTags at the given index.
    • getSrcIpRange

      String getSrcIpRange()
       Source IP address range of the route. POLICY_BASED routes only.
       
      string src_ip_range = 10;
      Returns:
      The srcIpRange.
    • getSrcIpRangeBytes

      com.google.protobuf.ByteString getSrcIpRangeBytes()
       Source IP address range of the route. POLICY_BASED routes only.
       
      string src_ip_range = 10;
      Returns:
      The bytes for srcIpRange.
    • getDestPortRangesList

      List<String> getDestPortRangesList()
       Destination port ranges of the route. POLICY_BASED routes only.
       
      repeated string dest_port_ranges = 11;
      Returns:
      A list containing the destPortRanges.
    • getDestPortRangesCount

      int getDestPortRangesCount()
       Destination port ranges of the route. POLICY_BASED routes only.
       
      repeated string dest_port_ranges = 11;
      Returns:
      The count of destPortRanges.
    • getDestPortRanges

      String getDestPortRanges(int index)
       Destination port ranges of the route. POLICY_BASED routes only.
       
      repeated string dest_port_ranges = 11;
      Parameters:
      index - The index of the element to return.
      Returns:
      The destPortRanges at the given index.
    • getDestPortRangesBytes

      com.google.protobuf.ByteString getDestPortRangesBytes(int index)
       Destination port ranges of the route. POLICY_BASED routes only.
       
      repeated string dest_port_ranges = 11;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the destPortRanges at the given index.
    • getSrcPortRangesList

      List<String> getSrcPortRangesList()
       Source port ranges of the route. POLICY_BASED routes only.
       
      repeated string src_port_ranges = 12;
      Returns:
      A list containing the srcPortRanges.
    • getSrcPortRangesCount

      int getSrcPortRangesCount()
       Source port ranges of the route. POLICY_BASED routes only.
       
      repeated string src_port_ranges = 12;
      Returns:
      The count of srcPortRanges.
    • getSrcPortRanges

      String getSrcPortRanges(int index)
       Source port ranges of the route. POLICY_BASED routes only.
       
      repeated string src_port_ranges = 12;
      Parameters:
      index - The index of the element to return.
      Returns:
      The srcPortRanges at the given index.
    • getSrcPortRangesBytes

      com.google.protobuf.ByteString getSrcPortRangesBytes(int index)
       Source port ranges of the route. POLICY_BASED routes only.
       
      repeated string src_port_ranges = 12;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the srcPortRanges at the given index.
    • getProtocolsList

      List<String> getProtocolsList()
       Protocols of the route. POLICY_BASED routes only.
       
      repeated string protocols = 13;
      Returns:
      A list containing the protocols.
    • getProtocolsCount

      int getProtocolsCount()
       Protocols of the route. POLICY_BASED routes only.
       
      repeated string protocols = 13;
      Returns:
      The count of protocols.
    • getProtocols

      String getProtocols(int index)
       Protocols of the route. POLICY_BASED routes only.
       
      repeated string protocols = 13;
      Parameters:
      index - The index of the element to return.
      Returns:
      The protocols at the given index.
    • getProtocolsBytes

      com.google.protobuf.ByteString getProtocolsBytes(int index)
       Protocols of the route. POLICY_BASED routes only.
       
      repeated string protocols = 13;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the protocols at the given index.
    • hasNccHubUri

      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;
      Returns:
      Whether the nccHubUri field is set.
    • getNccHubUri

      String 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;
      Returns:
      The nccHubUri.
    • getNccHubUriBytes

      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;
      Returns:
      The bytes for nccHubUri.
    • hasNccSpokeUri

      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;
      Returns:
      Whether the nccSpokeUri field is set.
    • getNccSpokeUri

      String 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;
      Returns:
      The nccSpokeUri.
    • getNccSpokeUriBytes

      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;
      Returns:
      The bytes for nccSpokeUri.
    • hasAdvertisedRouteSourceRouterUri

      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;
      Returns:
      Whether the advertisedRouteSourceRouterUri field is set.
    • getAdvertisedRouteSourceRouterUri

      String 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;
      Returns:
      The advertisedRouteSourceRouterUri.
    • getAdvertisedRouteSourceRouterUriBytes

      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;
      Returns:
      The bytes for advertisedRouteSourceRouterUri.
    • hasAdvertisedRouteNextHopUri

      @Deprecated boolean hasAdvertisedRouteNextHopUri()
      Deprecated.
      google.cloud.networkmanagement.v1beta1.RouteInfo.advertised_route_next_hop_uri is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=739
       For 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:
      Whether the advertisedRouteNextHopUri field is set.
    • getAdvertisedRouteNextHopUri

      @Deprecated String getAdvertisedRouteNextHopUri()
      Deprecated.
      google.cloud.networkmanagement.v1beta1.RouteInfo.advertised_route_next_hop_uri is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=739
       For 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:
      The advertisedRouteNextHopUri.
    • getAdvertisedRouteNextHopUriBytes

      @Deprecated com.google.protobuf.ByteString getAdvertisedRouteNextHopUriBytes()
      Deprecated.
      google.cloud.networkmanagement.v1beta1.RouteInfo.advertised_route_next_hop_uri is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=739
       For 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:
      The bytes for advertisedRouteNextHopUri.
    • getNextHopUri

      String getNextHopUri()
       URI of the next hop resource.
       
      string next_hop_uri = 20;
      Returns:
      The nextHopUri.
    • getNextHopUriBytes

      com.google.protobuf.ByteString getNextHopUriBytes()
       URI of the next hop resource.
       
      string next_hop_uri = 20;
      Returns:
      The bytes for nextHopUri.
    • getNextHopNetworkUri

      String getNextHopNetworkUri()
       URI of a VPC network where the next hop resource is located.
       
      string next_hop_network_uri = 21;
      Returns:
      The nextHopNetworkUri.
    • getNextHopNetworkUriBytes

      com.google.protobuf.ByteString getNextHopNetworkUriBytes()
       URI of a VPC network where the next hop resource is located.
       
      string next_hop_network_uri = 21;
      Returns:
      The bytes for nextHopNetworkUri.
    • getOriginatingRouteUri

      String getOriginatingRouteUri()
       For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating
       SUBNET/STATIC route.
       
      string originating_route_uri = 22;
      Returns:
      The originatingRouteUri.
    • getOriginatingRouteUriBytes

      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;
      Returns:
      The bytes for originatingRouteUri.
    • getOriginatingRouteDisplayName

      String 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;
      Returns:
      The originatingRouteDisplayName.
    • getOriginatingRouteDisplayNameBytes

      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;
      Returns:
      The bytes for originatingRouteDisplayName.
    • getNccHubRouteUri

      String 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;
      Returns:
      The nccHubRouteUri.
    • getNccHubRouteUriBytes

      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;
      Returns:
      The bytes for nccHubRouteUri.