Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionHybrid inspection has 4 groups ('non-prod', 'prod', 'services', and 'untrusted') that are automatically created along with hub creation.Mesh topology is implemented.Preset topology is unspecified.Star topology is implemented. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intHybrid inspection has 4 groups ('non-prod', 'prod', 'services', and 'untrusted') that are automatically created along with hub creation.static final intMesh topology is implemented.static final intPreset topology is unspecified.static final intStar topology is implemented. -
Method Summary
Modifier and TypeMethodDescriptionstatic PresetTopologyforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PresetTopology>static PresetTopologyvalueOf(int value) Deprecated.static PresetTopologyvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static PresetTopologyReturns the enum constant of this type with the specified name.static PresetTopology[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PRESET_TOPOLOGY_UNSPECIFIED
Preset topology is unspecified. When policy_mode = PRESET, it defaults to MESH.
PRESET_TOPOLOGY_UNSPECIFIED = 0; -
MESH
Mesh topology is implemented. Group `default` is automatically created. All spokes in the hub are added to group `default`.
MESH = 2; -
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
Hybrid inspection has 4 groups ('non-prod', 'prod', 'services', and 'untrusted') that are automatically created along with hub creation.HYBRID_INSPECTION = 4; -
UNRECOGNIZED
-
-
Field Details
-
PRESET_TOPOLOGY_UNSPECIFIED_VALUE
public static final int PRESET_TOPOLOGY_UNSPECIFIED_VALUEPreset topology is unspecified. When policy_mode = PRESET, it defaults to MESH.
PRESET_TOPOLOGY_UNSPECIFIED = 0;- See Also:
-
MESH_VALUE
public static final int MESH_VALUEMesh 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_VALUEStar 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_VALUEHybrid 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
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException- if the argument is null
-