All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.TransformerFunctionKind Maven / Gradle / Ivy

There is a newer version: 0.32.0-SNAPSHOT2
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: zepben/protobuf/cim/iec61968/infiec61968/infassetinfo/TransformerFunctionKind.proto

package com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo;

/**
 * 
 **
 * Function of a transformer.
 * 
* * Protobuf enum {@code zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.TransformerFunctionKind} */ public enum TransformerFunctionKind implements com.google.protobuf.ProtocolMessageEnum { /** *
   **
   * Another type of transformer.
   * 
* * other = 0; */ other(0), /** *
   **
   * A transformer that changes the voltage magnitude at a certain point in the power system
   * 
* * voltageRegulator = 1; */ voltageRegulator(1), /** *
   **
   * A transformer that provides the final voltage transformation in the electric power distribution system.
   * 
* * distributionTransformer = 2; */ distributionTransformer(2), /** *
   **
   * A transformer whose primary purpose is to isolate circuits.
   * 
* * isolationTransformer = 3; */ isolationTransformer(3), /** *
   **
   * A transformer with a special winding divided into several sections enabling the voltage to be varied at will. (IEC ref 811-26-04).
   * 
* * autotransformer = 4; */ autotransformer(4), /** *
   **
   * 
* * powerTransformer = 5; */ powerTransformer(5), /** *
   **
   * 
* * secondaryTransformer = 6; */ secondaryTransformer(6), UNRECOGNIZED(-1), ; /** *
   **
   * Another type of transformer.
   * 
* * other = 0; */ public static final int other_VALUE = 0; /** *
   **
   * A transformer that changes the voltage magnitude at a certain point in the power system
   * 
* * voltageRegulator = 1; */ public static final int voltageRegulator_VALUE = 1; /** *
   **
   * A transformer that provides the final voltage transformation in the electric power distribution system.
   * 
* * distributionTransformer = 2; */ public static final int distributionTransformer_VALUE = 2; /** *
   **
   * A transformer whose primary purpose is to isolate circuits.
   * 
* * isolationTransformer = 3; */ public static final int isolationTransformer_VALUE = 3; /** *
   **
   * A transformer with a special winding divided into several sections enabling the voltage to be varied at will. (IEC ref 811-26-04).
   * 
* * autotransformer = 4; */ public static final int autotransformer_VALUE = 4; /** *
   **
   * 
* * powerTransformer = 5; */ public static final int powerTransformer_VALUE = 5; /** *
   **
   * 
* * secondaryTransformer = 6; */ public static final int secondaryTransformer_VALUE = 6; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static TransformerFunctionKind valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static TransformerFunctionKind forNumber(int value) { switch (value) { case 0: return other; case 1: return voltageRegulator; case 2: return distributionTransformer; case 3: return isolationTransformer; case 4: return autotransformer; case 5: return powerTransformer; case 6: return secondaryTransformer; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< TransformerFunctionKind> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public TransformerFunctionKind findValueByNumber(int number) { return TransformerFunctionKind.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.TransformerFunctionKindOuterClass.getDescriptor().getEnumTypes().get(0); } private static final TransformerFunctionKind[] VALUES = values(); public static TransformerFunctionKind valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private TransformerFunctionKind(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.TransformerFunctionKind) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy