@Test public void testThrowsNoNetwork() { thrown.expect(IllegalArgumentException.class); GeneratedRoute.builder().setMetric(1).build(); }
public static Builder builder() { return new Builder(); }
GeneratedRoute extends AbstractRoute implements Comparable<GeneratedRoute> { public static Builder builder() { return new Builder(); } }
GeneratedRoute extends AbstractRoute implements Comparable<GeneratedRoute> { public static Builder builder() { return new Builder(); } private  GeneratedRoute(
      Prefix network,
      int administrativeCost,
      Ip nextHopIp,
      AsPath asPath,
      @Nullable String attributePolicy,
      @Nullable SortedSet<Community> communities,
      boolean discard,
      @Nullable String generationPolicy,
      long metric,
      String nextHopInterface,
      long tag,
      boolean nonForwarding,
      boolean nonRouting); }
GeneratedRoute extends AbstractRoute implements Comparable<GeneratedRoute> { public static Builder builder() { return new Builder(); } private  GeneratedRoute(
      Prefix network,
      int administrativeCost,
      Ip nextHopIp,
      AsPath asPath,
      @Nullable String attributePolicy,
      @Nullable SortedSet<Community> communities,
      boolean discard,
      @Nullable String generationPolicy,
      long metric,
      String nextHopInterface,
      long tag,
      boolean nonForwarding,
      boolean nonRouting); static Builder builder(); @JsonProperty(PROP_AS_PATH) AsPath getAsPath(); @Nullable @JsonProperty(PROP_ATTRIBUTE_POLICY) String getAttributePolicy(); @JsonProperty(PROP_ATTRIBUTE_POLICY_SOURCES) SortedSet<String> getAttributePolicySources(); @Nonnull @JsonProperty(PROP_COMMUNITIES) SortedSet<Community> getCommunities(); @JsonProperty(PROP_DISCARD) boolean getDiscard(); @Nullable @JsonProperty(PROP_GENERATION_POLICY) String getGenerationPolicy(); @JsonProperty(PROP_GENERATION_POLICY_SOURCES) SortedSet<String> getGenerationPolicySources(); @JsonIgnore(false) @JsonProperty(PROP_METRIC) @Override Long getMetric(); @Nonnull @Override String getNextHopInterface(); @Nonnull @JsonIgnore(false) @JsonProperty(PROP_NEXT_HOP_IP) @Override Ip getNextHopIp(); @Override RoutingProtocol getProtocol(); @Override int compareTo(GeneratedRoute rhs); @JsonProperty(PROP_ATTRIBUTE_POLICY_SOURCES) void setAttributePolicySources(SortedSet<String> attributePolicySources); @JsonProperty(PROP_GENERATION_POLICY_SOURCES) void setGenerationPolicySources(SortedSet<String> generationPolicySources); @Override Builder toBuilder(); @Override boolean equals(@Nullable Object o); @Override int hashCode(); }
GeneratedRoute extends AbstractRoute implements Comparable<GeneratedRoute> { public static Builder builder() { return new Builder(); } private  GeneratedRoute(
      Prefix network,
      int administrativeCost,
      Ip nextHopIp,
      AsPath asPath,
      @Nullable String attributePolicy,
      @Nullable SortedSet<Community> communities,
      boolean discard,
      @Nullable String generationPolicy,
      long metric,
      String nextHopInterface,
      long tag,
      boolean nonForwarding,
      boolean nonRouting); static Builder builder(); @JsonProperty(PROP_AS_PATH) AsPath getAsPath(); @Nullable @JsonProperty(PROP_ATTRIBUTE_POLICY) String getAttributePolicy(); @JsonProperty(PROP_ATTRIBUTE_POLICY_SOURCES) SortedSet<String> getAttributePolicySources(); @Nonnull @JsonProperty(PROP_COMMUNITIES) SortedSet<Community> getCommunities(); @JsonProperty(PROP_DISCARD) boolean getDiscard(); @Nullable @JsonProperty(PROP_GENERATION_POLICY) String getGenerationPolicy(); @JsonProperty(PROP_GENERATION_POLICY_SOURCES) SortedSet<String> getGenerationPolicySources(); @JsonIgnore(false) @JsonProperty(PROP_METRIC) @Override Long getMetric(); @Nonnull @Override String getNextHopInterface(); @Nonnull @JsonIgnore(false) @JsonProperty(PROP_NEXT_HOP_IP) @Override Ip getNextHopIp(); @Override RoutingProtocol getProtocol(); @Override int compareTo(GeneratedRoute rhs); @JsonProperty(PROP_ATTRIBUTE_POLICY_SOURCES) void setAttributePolicySources(SortedSet<String> attributePolicySources); @JsonProperty(PROP_GENERATION_POLICY_SOURCES) void setGenerationPolicySources(SortedSet<String> generationPolicySources); @Override Builder toBuilder(); @Override boolean equals(@Nullable Object o); @Override int hashCode();  }