Enum RouteInfo.RouteType

java.lang.Object
java.lang.Enum<RouteInfo.RouteType>
com.google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<RouteInfo.RouteType>
Enclosing class:
RouteInfo

public static enum RouteInfo.RouteType extends Enum<RouteInfo.RouteType> implements com.google.protobuf.ProtocolMessageEnum
 Type of route:
 
Protobuf enum google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType
  • Enum Constant Details

    • ROUTE_TYPE_UNSPECIFIED

      public static final RouteInfo.RouteType ROUTE_TYPE_UNSPECIFIED
       Unspecified type. Default value.
       
      ROUTE_TYPE_UNSPECIFIED = 0;
    • SUBNET

      public static final RouteInfo.RouteType SUBNET
       Route is a subnet route automatically created by the system.
       
      SUBNET = 1;
    • STATIC

      public static final RouteInfo.RouteType STATIC
       Static route created by the user, including the default route to the
       internet.
       
      STATIC = 2;
    • DYNAMIC

      public static final RouteInfo.RouteType DYNAMIC
       Dynamic route exchanged between BGP peers.
       
      DYNAMIC = 3;
    • PEERING_SUBNET

      public static final RouteInfo.RouteType PEERING_SUBNET
       A subnet route received from peering network or NCC Hub.
       
      PEERING_SUBNET = 4;
    • PEERING_STATIC

      public static final RouteInfo.RouteType PEERING_STATIC
       A static route received from peering network.
       
      PEERING_STATIC = 5;
    • PEERING_DYNAMIC

      public static final RouteInfo.RouteType PEERING_DYNAMIC
       A dynamic route received from peering network or NCC Hub.
       
      PEERING_DYNAMIC = 6;
    • POLICY_BASED

      public static final RouteInfo.RouteType POLICY_BASED
       Policy based route.
       
      POLICY_BASED = 7;
    • ADVERTISED

      public static final RouteInfo.RouteType ADVERTISED
       Advertised route. Synthetic route which is used to transition from the
       StartFromPrivateNetwork state in Connectivity tests.
       
      ADVERTISED = 101;
    • UNRECOGNIZED

      public static final RouteInfo.RouteType UNRECOGNIZED
  • Field Details

    • ROUTE_TYPE_UNSPECIFIED_VALUE

      public static final int ROUTE_TYPE_UNSPECIFIED_VALUE
       Unspecified type. Default value.
       
      ROUTE_TYPE_UNSPECIFIED = 0;
      See Also:
    • SUBNET_VALUE

      public static final int SUBNET_VALUE
       Route is a subnet route automatically created by the system.
       
      SUBNET = 1;
      See Also:
    • STATIC_VALUE

      public static final int STATIC_VALUE
       Static route created by the user, including the default route to the
       internet.
       
      STATIC = 2;
      See Also:
    • DYNAMIC_VALUE

      public static final int DYNAMIC_VALUE
       Dynamic route exchanged between BGP peers.
       
      DYNAMIC = 3;
      See Also:
    • PEERING_SUBNET_VALUE

      public static final int PEERING_SUBNET_VALUE
       A subnet route received from peering network or NCC Hub.
       
      PEERING_SUBNET = 4;
      See Also:
    • PEERING_STATIC_VALUE

      public static final int PEERING_STATIC_VALUE
       A static route received from peering network.
       
      PEERING_STATIC = 5;
      See Also:
    • PEERING_DYNAMIC_VALUE

      public static final int PEERING_DYNAMIC_VALUE
       A dynamic route received from peering network or NCC Hub.
       
      PEERING_DYNAMIC = 6;
      See Also:
    • POLICY_BASED_VALUE

      public static final int POLICY_BASED_VALUE
       Policy based route.
       
      POLICY_BASED = 7;
      See Also:
    • ADVERTISED_VALUE

      public static final int ADVERTISED_VALUE
       Advertised route. Synthetic route which is used to transition from the
       StartFromPrivateNetwork state in Connectivity tests.
       
      ADVERTISED = 101;
      See Also:
  • Method Details

    • values

      public static RouteInfo.RouteType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static RouteInfo.RouteType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static RouteInfo.RouteType valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static RouteInfo.RouteType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<RouteInfo.RouteType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static RouteInfo.RouteType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null