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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RouteInfo.Builder>
    • clear

      public RouteInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RouteInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RouteInfo.Builder>
    • getDefaultInstanceForType

      public RouteInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RouteInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RouteInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RouteInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteInfo.Builder>
    • mergeFrom

      public RouteInfo.Builder mergeFrom(RouteInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getRouteTypeValue in interface RouteInfoOrBuilder
      Returns:
      The enum numeric value on the wire for routeType.
    • setRouteTypeValue

      public RouteInfo.Builder setRouteTypeValue(int value)
       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

      public RouteInfo.RouteType getRouteType()
       Type of route.
       
      .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8;
      Specified by:
      getRouteType in interface RouteInfoOrBuilder
      Returns:
      The routeType.
    • setRouteType

      public RouteInfo.Builder setRouteType(RouteInfo.RouteType value)
       Type of route.
       
      .google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType route_type = 8;
      Parameters:
      value - The routeType to set.
      Returns:
      This builder for chaining.
    • clearRouteType

      public RouteInfo.Builder 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:
      getNextHopTypeValue in interface RouteInfoOrBuilder
      Returns:
      The enum numeric value on the wire for nextHopType.
    • setNextHopTypeValue

      public RouteInfo.Builder setNextHopTypeValue(int value)
       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

      public RouteInfo.NextHopType getNextHopType()
       Type of next hop.
       
      .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9;
      Specified by:
      getNextHopType in interface RouteInfoOrBuilder
      Returns:
      The nextHopType.
    • setNextHopType

      public RouteInfo.Builder setNextHopType(RouteInfo.NextHopType value)
       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

      public RouteInfo.Builder clearNextHopType()
       Type of next hop.
       
      .google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType next_hop_type = 9;
      Returns:
      This builder for chaining.
    • getRouteScopeValue

      @Deprecated public 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];
      Specified by:
      getRouteScopeValue in interface RouteInfoOrBuilder
      Returns:
      The enum numeric value on the wire for routeScope.
    • setRouteScopeValue

      @Deprecated public RouteInfo.Builder setRouteScopeValue(int value)
      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];
      Parameters:
      value - The enum numeric value on the wire for routeScope to set.
      Returns:
      This builder for chaining.
    • getRouteScope

      @Deprecated public RouteInfo.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];
      Specified by:
      getRouteScope in interface RouteInfoOrBuilder
      Returns:
      The routeScope.
    • setRouteScope

      @Deprecated public RouteInfo.Builder setRouteScope(RouteInfo.RouteScope value)
      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];
      Parameters:
      value - The routeScope to set.
      Returns:
      This builder for chaining.
    • clearRouteScope

      @Deprecated public RouteInfo.Builder clearRouteScope()
      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:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Name of a route.
       
      string display_name = 1;
      Specified by:
      getDisplayName in interface RouteInfoOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Name of a route.
       
      string display_name = 1;
      Specified by:
      getDisplayNameBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public RouteInfo.Builder setDisplayName(String value)
       Name of a route.
       
      string display_name = 1;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public RouteInfo.Builder clearDisplayName()
       Name of a route.
       
      string display_name = 1;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public RouteInfo.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Name of a route.
       
      string display_name = 1;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getUri

      public String getUri()
       URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network)
       and POLICY_BASED routes only.
       
      string uri = 2;
      Specified by:
      getUri in interface RouteInfoOrBuilder
      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:
      getUriBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for uri.
    • setUri

      public RouteInfo.Builder setUri(String value)
       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

      public RouteInfo.Builder 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

      public RouteInfo.Builder setUriBytes(com.google.protobuf.ByteString value)
       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

      public 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;
      Specified by:
      getRegion in interface RouteInfoOrBuilder
      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:
      getRegionBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for region.
    • setRegion

      public RouteInfo.Builder setRegion(String value)
       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

      public RouteInfo.Builder 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

      public RouteInfo.Builder setRegionBytes(com.google.protobuf.ByteString value)
       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

      public String getDestIpRange()
       Destination IP range of the route.
       
      string dest_ip_range = 3;
      Specified by:
      getDestIpRange in interface RouteInfoOrBuilder
      Returns:
      The destIpRange.
    • getDestIpRangeBytes

      public com.google.protobuf.ByteString getDestIpRangeBytes()
       Destination IP range of the route.
       
      string dest_ip_range = 3;
      Specified by:
      getDestIpRangeBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for destIpRange.
    • setDestIpRange

      public RouteInfo.Builder setDestIpRange(String value)
       Destination IP range of the route.
       
      string dest_ip_range = 3;
      Parameters:
      value - The destIpRange to set.
      Returns:
      This builder for chaining.
    • clearDestIpRange

      public RouteInfo.Builder clearDestIpRange()
       Destination IP range of the route.
       
      string dest_ip_range = 3;
      Returns:
      This builder for chaining.
    • setDestIpRangeBytes

      public RouteInfo.Builder setDestIpRangeBytes(com.google.protobuf.ByteString value)
       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 public 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];
      Specified by:
      getNextHop in interface RouteInfoOrBuilder
      Returns:
      The nextHop.
    • getNextHopBytes

      @Deprecated public 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];
      Specified by:
      getNextHopBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for nextHop.
    • setNextHop

      @Deprecated public RouteInfo.Builder setNextHop(String value)
      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];
      Parameters:
      value - The nextHop to set.
      Returns:
      This builder for chaining.
    • clearNextHop

      @Deprecated public RouteInfo.Builder clearNextHop()
      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:
      This builder for chaining.
    • setNextHopBytes

      @Deprecated public RouteInfo.Builder setNextHopBytes(com.google.protobuf.ByteString value)
      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];
      Parameters:
      value - The bytes for nextHop to set.
      Returns:
      This builder for chaining.
    • getNetworkUri

      public String getNetworkUri()
       URI of a VPC network where route is located.
       
      string network_uri = 5;
      Specified by:
      getNetworkUri in interface RouteInfoOrBuilder
      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:
      getNetworkUriBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for networkUri.
    • setNetworkUri

      public RouteInfo.Builder setNetworkUri(String value)
       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

      public RouteInfo.Builder clearNetworkUri()
       URI of a VPC network where route is located.
       
      string network_uri = 5;
      Returns:
      This builder for chaining.
    • setNetworkUriBytes

      public RouteInfo.Builder setNetworkUriBytes(com.google.protobuf.ByteString value)
       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:
      getPriority in interface RouteInfoOrBuilder
      Returns:
      The priority.
    • setPriority

      public RouteInfo.Builder setPriority(int value)
       Priority of the route.
       
      int32 priority = 6;
      Parameters:
      value - The priority to set.
      Returns:
      This builder for chaining.
    • clearPriority

      public RouteInfo.Builder 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:
      getInstanceTagsList in interface RouteInfoOrBuilder
      Returns:
      A list containing the instanceTags.
    • getInstanceTagsCount

      public int getInstanceTagsCount()
       Instance tags of the route.
       
      repeated string instance_tags = 7;
      Specified by:
      getInstanceTagsCount in interface RouteInfoOrBuilder
      Returns:
      The count of instanceTags.
    • getInstanceTags

      public String getInstanceTags(int index)
       Instance tags of the route.
       
      repeated string instance_tags = 7;
      Specified by:
      getInstanceTags in interface RouteInfoOrBuilder
      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:
      getInstanceTagsBytes in interface RouteInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the instanceTags at the given index.
    • setInstanceTags

      public RouteInfo.Builder setInstanceTags(int index, String value)
       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

      public RouteInfo.Builder addInstanceTags(String value)
       Instance tags of the route.
       
      repeated string instance_tags = 7;
      Parameters:
      value - The instanceTags to add.
      Returns:
      This builder for chaining.
    • addAllInstanceTags

      public RouteInfo.Builder addAllInstanceTags(Iterable<String> values)
       Instance tags of the route.
       
      repeated string instance_tags = 7;
      Parameters:
      values - The instanceTags to add.
      Returns:
      This builder for chaining.
    • clearInstanceTags

      public RouteInfo.Builder clearInstanceTags()
       Instance tags of the route.
       
      repeated string instance_tags = 7;
      Returns:
      This builder for chaining.
    • addInstanceTagsBytes

      public RouteInfo.Builder addInstanceTagsBytes(com.google.protobuf.ByteString value)
       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

      public String getSrcIpRange()
       Source IP address range of the route. POLICY_BASED routes only.
       
      string src_ip_range = 10;
      Specified by:
      getSrcIpRange in interface RouteInfoOrBuilder
      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:
      getSrcIpRangeBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for srcIpRange.
    • setSrcIpRange

      public RouteInfo.Builder setSrcIpRange(String value)
       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

      public RouteInfo.Builder clearSrcIpRange()
       Source IP address range of the route. POLICY_BASED routes only.
       
      string src_ip_range = 10;
      Returns:
      This builder for chaining.
    • setSrcIpRangeBytes

      public RouteInfo.Builder setSrcIpRangeBytes(com.google.protobuf.ByteString value)
       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:
      getDestPortRangesList in interface RouteInfoOrBuilder
      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:
      getDestPortRangesCount in interface RouteInfoOrBuilder
      Returns:
      The count of destPortRanges.
    • getDestPortRanges

      public String getDestPortRanges(int index)
       Destination port ranges of the route. POLICY_BASED routes only.
       
      repeated string dest_port_ranges = 11;
      Specified by:
      getDestPortRanges in interface RouteInfoOrBuilder
      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:
      getDestPortRangesBytes in interface RouteInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the destPortRanges at the given index.
    • setDestPortRanges

      public RouteInfo.Builder setDestPortRanges(int index, String value)
       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

      public RouteInfo.Builder addDestPortRanges(String value)
       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

      public RouteInfo.Builder addAllDestPortRanges(Iterable<String> values)
       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

      public RouteInfo.Builder clearDestPortRanges()
       Destination port ranges of the route. POLICY_BASED routes only.
       
      repeated string dest_port_ranges = 11;
      Returns:
      This builder for chaining.
    • addDestPortRangesBytes

      public RouteInfo.Builder addDestPortRangesBytes(com.google.protobuf.ByteString value)
       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:
      getSrcPortRangesList in interface RouteInfoOrBuilder
      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:
      getSrcPortRangesCount in interface RouteInfoOrBuilder
      Returns:
      The count of srcPortRanges.
    • getSrcPortRanges

      public String getSrcPortRanges(int index)
       Source port ranges of the route. POLICY_BASED routes only.
       
      repeated string src_port_ranges = 12;
      Specified by:
      getSrcPortRanges in interface RouteInfoOrBuilder
      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:
      getSrcPortRangesBytes in interface RouteInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the srcPortRanges at the given index.
    • setSrcPortRanges

      public RouteInfo.Builder setSrcPortRanges(int index, String value)
       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

      public RouteInfo.Builder addSrcPortRanges(String value)
       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

      public RouteInfo.Builder addAllSrcPortRanges(Iterable<String> values)
       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

      public RouteInfo.Builder clearSrcPortRanges()
       Source port ranges of the route. POLICY_BASED routes only.
       
      repeated string src_port_ranges = 12;
      Returns:
      This builder for chaining.
    • addSrcPortRangesBytes

      public RouteInfo.Builder addSrcPortRangesBytes(com.google.protobuf.ByteString value)
       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:
      getProtocolsList in interface RouteInfoOrBuilder
      Returns:
      A list containing the protocols.
    • getProtocolsCount

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

      public String getProtocols(int index)
       Protocols of the route. POLICY_BASED routes only.
       
      repeated string protocols = 13;
      Specified by:
      getProtocols in interface RouteInfoOrBuilder
      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:
      getProtocolsBytes in interface RouteInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the protocols at the given index.
    • setProtocols

      public RouteInfo.Builder setProtocols(int index, String value)
       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

      public RouteInfo.Builder addProtocols(String value)
       Protocols of the route. POLICY_BASED routes only.
       
      repeated string protocols = 13;
      Parameters:
      value - The protocols to add.
      Returns:
      This builder for chaining.
    • addAllProtocols

      public RouteInfo.Builder addAllProtocols(Iterable<String> values)
       Protocols of the route. POLICY_BASED routes only.
       
      repeated string protocols = 13;
      Parameters:
      values - The protocols to add.
      Returns:
      This builder for chaining.
    • clearProtocols

      public RouteInfo.Builder clearProtocols()
       Protocols of the route. POLICY_BASED routes only.
       
      repeated string protocols = 13;
      Returns:
      This builder for chaining.
    • addProtocolsBytes

      public RouteInfo.Builder addProtocolsBytes(com.google.protobuf.ByteString value)
       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:
      hasNccHubUri in interface RouteInfoOrBuilder
      Returns:
      Whether the nccHubUri field is set.
    • getNccHubUri

      public 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;
      Specified by:
      getNccHubUri in interface RouteInfoOrBuilder
      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:
      getNccHubUriBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for nccHubUri.
    • setNccHubUri

      public RouteInfo.Builder setNccHubUri(String value)
       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

      public RouteInfo.Builder 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

      public RouteInfo.Builder setNccHubUriBytes(com.google.protobuf.ByteString value)
       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:
      hasNccSpokeUri in interface RouteInfoOrBuilder
      Returns:
      Whether the nccSpokeUri field is set.
    • getNccSpokeUri

      public 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;
      Specified by:
      getNccSpokeUri in interface RouteInfoOrBuilder
      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:
      getNccSpokeUriBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for nccSpokeUri.
    • setNccSpokeUri

      public RouteInfo.Builder setNccSpokeUri(String value)
       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

      public RouteInfo.Builder 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

      public RouteInfo.Builder setNccSpokeUriBytes(com.google.protobuf.ByteString value)
       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:
      hasAdvertisedRouteSourceRouterUri in interface RouteInfoOrBuilder
      Returns:
      Whether the advertisedRouteSourceRouterUri field is set.
    • getAdvertisedRouteSourceRouterUri

      public 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;
      Specified by:
      getAdvertisedRouteSourceRouterUri in interface RouteInfoOrBuilder
      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:
      getAdvertisedRouteSourceRouterUriBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for advertisedRouteSourceRouterUri.
    • setAdvertisedRouteSourceRouterUri

      public RouteInfo.Builder setAdvertisedRouteSourceRouterUri(String 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 advertisedRouteSourceRouterUri to set.
      Returns:
      This builder for chaining.
    • clearAdvertisedRouteSourceRouterUri

      public RouteInfo.Builder 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 public 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];
      Specified by:
      hasAdvertisedRouteNextHopUri in interface RouteInfoOrBuilder
      Returns:
      Whether the advertisedRouteNextHopUri field is set.
    • getAdvertisedRouteNextHopUri

      @Deprecated public 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];
      Specified by:
      getAdvertisedRouteNextHopUri in interface RouteInfoOrBuilder
      Returns:
      The advertisedRouteNextHopUri.
    • getAdvertisedRouteNextHopUriBytes

      @Deprecated public 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];
      Specified by:
      getAdvertisedRouteNextHopUriBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for advertisedRouteNextHopUri.
    • setAdvertisedRouteNextHopUri

      @Deprecated public RouteInfo.Builder setAdvertisedRouteNextHopUri(String value)
      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];
      Parameters:
      value - The advertisedRouteNextHopUri to set.
      Returns:
      This builder for chaining.
    • clearAdvertisedRouteNextHopUri

      @Deprecated public RouteInfo.Builder clearAdvertisedRouteNextHopUri()
      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:
      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=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];
      Parameters:
      value - The bytes for advertisedRouteNextHopUri to set.
      Returns:
      This builder for chaining.
    • getNextHopUri

      public String getNextHopUri()
       URI of the next hop resource.
       
      string next_hop_uri = 20;
      Specified by:
      getNextHopUri in interface RouteInfoOrBuilder
      Returns:
      The nextHopUri.
    • getNextHopUriBytes

      public com.google.protobuf.ByteString getNextHopUriBytes()
       URI of the next hop resource.
       
      string next_hop_uri = 20;
      Specified by:
      getNextHopUriBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for nextHopUri.
    • setNextHopUri

      public RouteInfo.Builder setNextHopUri(String value)
       URI of the next hop resource.
       
      string next_hop_uri = 20;
      Parameters:
      value - The nextHopUri to set.
      Returns:
      This builder for chaining.
    • clearNextHopUri

      public RouteInfo.Builder clearNextHopUri()
       URI of the next hop resource.
       
      string next_hop_uri = 20;
      Returns:
      This builder for chaining.
    • setNextHopUriBytes

      public RouteInfo.Builder setNextHopUriBytes(com.google.protobuf.ByteString value)
       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

      public String getNextHopNetworkUri()
       URI of a VPC network where the next hop resource is located.
       
      string next_hop_network_uri = 21;
      Specified by:
      getNextHopNetworkUri in interface RouteInfoOrBuilder
      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:
      getNextHopNetworkUriBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for nextHopNetworkUri.
    • setNextHopNetworkUri

      public RouteInfo.Builder setNextHopNetworkUri(String value)
       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

      public RouteInfo.Builder 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

      public RouteInfo.Builder setNextHopNetworkUriBytes(com.google.protobuf.ByteString value)
       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

      public String getOriginatingRouteUri()
       For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating
       SUBNET/STATIC route.
       
      string originating_route_uri = 22;
      Specified by:
      getOriginatingRouteUri in interface RouteInfoOrBuilder
      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:
      getOriginatingRouteUriBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for originatingRouteUri.
    • setOriginatingRouteUri

      public RouteInfo.Builder setOriginatingRouteUri(String value)
       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

      public RouteInfo.Builder 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

      public RouteInfo.Builder setOriginatingRouteUriBytes(com.google.protobuf.ByteString value)
       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

      public 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;
      Specified by:
      getOriginatingRouteDisplayName in interface RouteInfoOrBuilder
      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:
      getOriginatingRouteDisplayNameBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for originatingRouteDisplayName.
    • setOriginatingRouteDisplayName

      public RouteInfo.Builder setOriginatingRouteDisplayName(String value)
       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

      public RouteInfo.Builder 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

      public RouteInfo.Builder setOriginatingRouteDisplayNameBytes(com.google.protobuf.ByteString value)
       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

      public 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;
      Specified by:
      getNccHubRouteUri in interface RouteInfoOrBuilder
      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:
      getNccHubRouteUriBytes in interface RouteInfoOrBuilder
      Returns:
      The bytes for nccHubRouteUri.
    • setNccHubRouteUri

      public RouteInfo.Builder 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.
       
      string ncc_hub_route_uri = 24;
      Parameters:
      value - The nccHubRouteUri to set.
      Returns:
      This builder for chaining.
    • clearNccHubRouteUri

      public RouteInfo.Builder 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

      public RouteInfo.Builder 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.
       
      string ncc_hub_route_uri = 24;
      Parameters:
      value - The bytes for nccHubRouteUri to set.
      Returns:
      This builder for chaining.