Enum PresetTopology

java.lang.Object
java.lang.Enum<PresetTopology>
com.google.cloud.networkconnectivity.v1beta.PresetTopology
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<PresetTopology>

@Generated public enum PresetTopology extends Enum<PresetTopology> implements com.google.protobuf.ProtocolMessageEnum
 The list of available preset topologies.
 
Protobuf enum google.cloud.networkconnectivity.v1beta.PresetTopology
  • Enum Constant Details

    • PRESET_TOPOLOGY_UNSPECIFIED

      public static final PresetTopology PRESET_TOPOLOGY_UNSPECIFIED
       Preset topology is unspecified. When policy_mode = PRESET,
       it defaults to MESH.
       
      PRESET_TOPOLOGY_UNSPECIFIED = 0;
    • MESH

      public static final PresetTopology MESH
       Mesh topology is implemented. Group `default` is automatically created.
       All spokes in the hub are added to group `default`.
       
      MESH = 2;
    • STAR

      public static final PresetTopology STAR
       Star topology is implemented. Two groups, `center` and `edge`, are
       automatically created along with hub creation. Spokes have to join one of
       the groups during creation.
       
      STAR = 3;
    • HYBRID_INSPECTION

      public static final PresetTopology HYBRID_INSPECTION
       Hybrid inspection has 4 groups ('non-prod', 'prod', 'services', and
       'untrusted') that are automatically created along with hub creation.
       
      HYBRID_INSPECTION = 4;
    • UNRECOGNIZED

      public static final PresetTopology UNRECOGNIZED
  • Field Details

    • PRESET_TOPOLOGY_UNSPECIFIED_VALUE

      public static final int PRESET_TOPOLOGY_UNSPECIFIED_VALUE
       Preset topology is unspecified. When policy_mode = PRESET,
       it defaults to MESH.
       
      PRESET_TOPOLOGY_UNSPECIFIED = 0;
      See Also:
    • MESH_VALUE

      public static final int MESH_VALUE
       Mesh topology is implemented. Group `default` is automatically created.
       All spokes in the hub are added to group `default`.
       
      MESH = 2;
      See Also:
    • STAR_VALUE

      public static final int STAR_VALUE
       Star topology is implemented. Two groups, `center` and `edge`, are
       automatically created along with hub creation. Spokes have to join one of
       the groups during creation.
       
      STAR = 3;
      See Also:
    • HYBRID_INSPECTION_VALUE

      public static final int HYBRID_INSPECTION_VALUE
       Hybrid inspection has 4 groups ('non-prod', 'prod', 'services', and
       'untrusted') that are automatically created along with hub creation.
       
      HYBRID_INSPECTION = 4;
      See Also:
  • Method Details

    • values

      public static PresetTopology[] 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 PresetTopology 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 PresetTopology 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 PresetTopology 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<PresetTopology> 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 PresetTopology 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