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

com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind 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/iec61970/base/wires/RegulatingControlModeKind.proto

package com.zepben.protobuf.cim.iec61970.base.wires;

/**
 * 
 **
 * The kind of regulation model. For example regulating voltage, reactive power, active power, etc.
 * 
* * Protobuf enum {@code zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind} */ public enum RegulatingControlModeKind implements com.google.protobuf.ProtocolMessageEnum { /** *
   * Default
   * 
* * UNKNOWN_CONTROL_MODE = 0; */ UNKNOWN_CONTROL_MODE(0), /** *
   *
   * Voltage is specified.
   * 
* * voltage = 1; */ voltage(1), /** *
   *
   * Active power is specified.
   * 
* * activePower = 2; */ activePower(2), /** *
   *
   * Reactive power is specified.
   * 
* * reactivePower = 3; */ reactivePower(3), /** *
   *
   * Current flow is specified.
   * 
* * currentFlow = 4; */ currentFlow(4), /** *
   *
   * Admittance is specified.
   * 
* * admittance = 5; */ admittance(5), /** *
   *
   * Control switches on/off by time of day. The times may change on the weekend, or in different seasons.
   * 
* * timeScheduled = 6; */ timeScheduled(6), /** *
   *
   * Control switches on/off based on the local temperature (i.e., a thermostat).
   * 
* * temperature = 7; */ temperature(7), /** *
   *
   * Power factor is specified.
   * 
* * powerFactor = 8; */ powerFactor(8), UNRECOGNIZED(-1), ; /** *
   * Default
   * 
* * UNKNOWN_CONTROL_MODE = 0; */ public static final int UNKNOWN_CONTROL_MODE_VALUE = 0; /** *
   *
   * Voltage is specified.
   * 
* * voltage = 1; */ public static final int voltage_VALUE = 1; /** *
   *
   * Active power is specified.
   * 
* * activePower = 2; */ public static final int activePower_VALUE = 2; /** *
   *
   * Reactive power is specified.
   * 
* * reactivePower = 3; */ public static final int reactivePower_VALUE = 3; /** *
   *
   * Current flow is specified.
   * 
* * currentFlow = 4; */ public static final int currentFlow_VALUE = 4; /** *
   *
   * Admittance is specified.
   * 
* * admittance = 5; */ public static final int admittance_VALUE = 5; /** *
   *
   * Control switches on/off by time of day. The times may change on the weekend, or in different seasons.
   * 
* * timeScheduled = 6; */ public static final int timeScheduled_VALUE = 6; /** *
   *
   * Control switches on/off based on the local temperature (i.e., a thermostat).
   * 
* * temperature = 7; */ public static final int temperature_VALUE = 7; /** *
   *
   * Power factor is specified.
   * 
* * powerFactor = 8; */ public static final int powerFactor_VALUE = 8; 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 RegulatingControlModeKind 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 RegulatingControlModeKind forNumber(int value) { switch (value) { case 0: return UNKNOWN_CONTROL_MODE; case 1: return voltage; case 2: return activePower; case 3: return reactivePower; case 4: return currentFlow; case 5: return admittance; case 6: return timeScheduled; case 7: return temperature; case 8: return powerFactor; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< RegulatingControlModeKind> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public RegulatingControlModeKind findValueByNumber(int number) { return RegulatingControlModeKind.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.iec61970.base.wires.RegulatingControlModeKindOuterClass.getDescriptor().getEnumTypes().get(0); } private static final RegulatingControlModeKind[] VALUES = values(); public static RegulatingControlModeKind 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 RegulatingControlModeKind(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy