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

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

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

/**
 * 
 **
 * Specifies a set of equipment that works together to control a power system quantity such as voltage or flow.
 * Remote bus voltage control is possible by specifying the controlled terminal located at some place remote from the controlling equipment.
 *
 * The specified terminal shall be associated with the connectivity node of the controlled point. The most specific subtype of RegulatingControl shall be used in case such equipment participate in the control, e.g. TapChangerControl for tap changers.
 *
 * For flow control, load sign convention is used, i.e. positive sign means flow out from a TopologicalNode (bus) into the conducting equipment.
 *
 * The attribute minAllowedTargetValue and maxAllowedTargetValue are required in the following cases:
 *
 * For a power generating module operated in power factor control mode to specify maximum and minimum power factor values;
 *
 * Whenever it is necessary to have an off center target voltage for the tap changer regulator. For instance, due to long cables to off shore wind farms and the need to have a simpler setup at the off shore transformer platform, the voltage is controlled from the land at the connection point for the off shore wind farm. Since there usually is a voltage rise along the cable, there is typical and overvoltage of up 3-4 kV compared to the on shore station. Thus in normal operation the tap changer on the on shore station is operated with a target set point, which is in the lower parts of the dead band.
 *
 * The attributes minAllowedTargetValue and maxAllowedTargetValue are not related to the attribute targetDeadband and thus they are not treated as an alternative of the targetDeadband. They are needed due to limitations in the local substation controller. The attribute targetDeadband is used to prevent the power flow from move the tap position in circles (hunting) that is to be used regardless of the attributes minAllowedTargetValue and maxAllowedTargetValue.
 * 
* * Protobuf type {@code zepben.protobuf.cim.iec61970.base.wires.RegulatingControl} */ public final class RegulatingControl extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:zepben.protobuf.cim.iec61970.base.wires.RegulatingControl) RegulatingControlOrBuilder { private static final long serialVersionUID = 0L; // Use RegulatingControl.newBuilder() to construct. private RegulatingControl(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RegulatingControl() { mode_ = 0; monitoredPhase_ = 0; terminalMRID_ = ""; regulatingCondEqMRIDs_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RegulatingControl(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlOuterClass.internal_static_zepben_protobuf_cim_iec61970_base_wires_RegulatingControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlOuterClass.internal_static_zepben_protobuf_cim_iec61970_base_wires_RegulatingControl_fieldAccessorTable .ensureFieldAccessorsInitialized( com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl.class, com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl.Builder.class); } private int bitField0_; private int discreteCase_ = 0; @SuppressWarnings("serial") private java.lang.Object discrete_; public enum DiscreteCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DISCRETENULL(2), DISCRETESET(3), DISCRETE_NOT_SET(0); private final int value; private DiscreteCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DiscreteCase valueOf(int value) { return forNumber(value); } public static DiscreteCase forNumber(int value) { switch (value) { case 2: return DISCRETENULL; case 3: return DISCRETESET; case 0: return DISCRETE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DiscreteCase getDiscreteCase() { return DiscreteCase.forNumber( discreteCase_); } private int enabledCase_ = 0; @SuppressWarnings("serial") private java.lang.Object enabled_; public enum EnabledCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ENABLEDNULL(8), ENABLEDSET(9), ENABLED_NOT_SET(0); private final int value; private EnabledCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static EnabledCase valueOf(int value) { return forNumber(value); } public static EnabledCase forNumber(int value) { switch (value) { case 8: return ENABLEDNULL; case 9: return ENABLEDSET; case 0: return ENABLED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public EnabledCase getEnabledCase() { return EnabledCase.forNumber( enabledCase_); } public static final int PSR_FIELD_NUMBER = 1; private com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource psr_; /** *
   **
   * The PowerSystemResource fields for this RegulatingControl.
   * 
* * .zepben.protobuf.cim.iec61970.base.core.PowerSystemResource psr = 1; * @return Whether the psr field is set. */ @java.lang.Override public boolean hasPsr() { return ((bitField0_ & 0x00000001) != 0); } /** *
   **
   * The PowerSystemResource fields for this RegulatingControl.
   * 
* * .zepben.protobuf.cim.iec61970.base.core.PowerSystemResource psr = 1; * @return The psr. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource getPsr() { return psr_ == null ? com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource.getDefaultInstance() : psr_; } /** *
   **
   * The PowerSystemResource fields for this RegulatingControl.
   * 
* * .zepben.protobuf.cim.iec61970.base.core.PowerSystemResource psr = 1; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResourceOrBuilder getPsrOrBuilder() { return psr_ == null ? com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource.getDefaultInstance() : psr_; } public static final int DISCRETENULL_FIELD_NUMBER = 2; /** * .google.protobuf.NullValue discreteNull = 2; * @return Whether the discreteNull field is set. */ public boolean hasDiscreteNull() { return discreteCase_ == 2; } /** * .google.protobuf.NullValue discreteNull = 2; * @return The enum numeric value on the wire for discreteNull. */ public int getDiscreteNullValue() { if (discreteCase_ == 2) { return (java.lang.Integer) discrete_; } return 0; } /** * .google.protobuf.NullValue discreteNull = 2; * @return The discreteNull. */ public com.google.protobuf.NullValue getDiscreteNull() { if (discreteCase_ == 2) { com.google.protobuf.NullValue result = com.google.protobuf.NullValue.forNumber( (java.lang.Integer) discrete_); return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; } return com.google.protobuf.NullValue.NULL_VALUE; } public static final int DISCRETESET_FIELD_NUMBER = 3; /** * bool discreteSet = 3; * @return Whether the discreteSet field is set. */ @java.lang.Override public boolean hasDiscreteSet() { return discreteCase_ == 3; } /** * bool discreteSet = 3; * @return The discreteSet. */ @java.lang.Override public boolean getDiscreteSet() { if (discreteCase_ == 3) { return (java.lang.Boolean) discrete_; } return false; } public static final int MODE_FIELD_NUMBER = 4; private int mode_ = 0; /** *
   **
   * The regulating control mode presently available. This specification allows for determining the kind of regulation without need for obtaining the units from a schedule.
   * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind mode = 4; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** *
   **
   * The regulating control mode presently available. This specification allows for determining the kind of regulation without need for obtaining the units from a schedule.
   * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind mode = 4; * @return The mode. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind getMode() { com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind result = com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind.forNumber(mode_); return result == null ? com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind.UNRECOGNIZED : result; } public static final int MONITOREDPHASE_FIELD_NUMBER = 5; private int monitoredPhase_ = 0; /** *
   **
   * Phase voltage controlling this regulator, measured at regulator location.
   * 
* * .zepben.protobuf.cim.iec61970.base.core.PhaseCode monitoredPhase = 5; * @return The enum numeric value on the wire for monitoredPhase. */ @java.lang.Override public int getMonitoredPhaseValue() { return monitoredPhase_; } /** *
   **
   * Phase voltage controlling this regulator, measured at regulator location.
   * 
* * .zepben.protobuf.cim.iec61970.base.core.PhaseCode monitoredPhase = 5; * @return The monitoredPhase. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.PhaseCode getMonitoredPhase() { com.zepben.protobuf.cim.iec61970.base.core.PhaseCode result = com.zepben.protobuf.cim.iec61970.base.core.PhaseCode.forNumber(monitoredPhase_); return result == null ? com.zepben.protobuf.cim.iec61970.base.core.PhaseCode.UNRECOGNIZED : result; } public static final int TARGETDEADBAND_FIELD_NUMBER = 6; private float targetDeadband_ = 0F; /** *
   **
   * This is a deadband used with discrete control to avoid excessive update of controls like tap changers and shunt compensator banks while regulating.
   * The units are the base units appropriate for the mode.
   * The attribute shall be a positive value or zero. If RegulatingControl.discrete is set to "false", the RegulatingControl.targetDeadband is to be ignored.
   * Note that for instance, if the targetValue is 100 kV and the targetDeadband is 2 kV the range is from 99 to 101 kV.
   * 
* * float targetDeadband = 6; * @return The targetDeadband. */ @java.lang.Override public float getTargetDeadband() { return targetDeadband_; } public static final int TARGETVALUE_FIELD_NUMBER = 7; private double targetValue_ = 0D; /** *
   **
   * The target value specified for case input. This value can be used for the target value without the use of schedules.
   * The value has the units appropriate to the mode attribute.
   * 
* * double targetValue = 7; * @return The targetValue. */ @java.lang.Override public double getTargetValue() { return targetValue_; } public static final int ENABLEDNULL_FIELD_NUMBER = 8; /** * .google.protobuf.NullValue enabledNull = 8; * @return Whether the enabledNull field is set. */ public boolean hasEnabledNull() { return enabledCase_ == 8; } /** * .google.protobuf.NullValue enabledNull = 8; * @return The enum numeric value on the wire for enabledNull. */ public int getEnabledNullValue() { if (enabledCase_ == 8) { return (java.lang.Integer) enabled_; } return 0; } /** * .google.protobuf.NullValue enabledNull = 8; * @return The enabledNull. */ public com.google.protobuf.NullValue getEnabledNull() { if (enabledCase_ == 8) { com.google.protobuf.NullValue result = com.google.protobuf.NullValue.forNumber( (java.lang.Integer) enabled_); return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; } return com.google.protobuf.NullValue.NULL_VALUE; } public static final int ENABLEDSET_FIELD_NUMBER = 9; /** * bool enabledSet = 9; * @return Whether the enabledSet field is set. */ @java.lang.Override public boolean hasEnabledSet() { return enabledCase_ == 9; } /** * bool enabledSet = 9; * @return The enabledSet. */ @java.lang.Override public boolean getEnabledSet() { if (enabledCase_ == 9) { return (java.lang.Boolean) enabled_; } return false; } public static final int MAXALLOWEDTARGETVALUE_FIELD_NUMBER = 10; private double maxAllowedTargetValue_ = 0D; /** *
   **
   * Maximum allowed target value (RegulatingControl.targetValue).
   * 
* * double maxAllowedTargetValue = 10; * @return The maxAllowedTargetValue. */ @java.lang.Override public double getMaxAllowedTargetValue() { return maxAllowedTargetValue_; } public static final int MINALLOWEDTARGETVALUE_FIELD_NUMBER = 11; private double minAllowedTargetValue_ = 0D; /** *
   **
   * Minimum allowed target value (RegulatingControl.targetValue).
   * 
* * double minAllowedTargetValue = 11; * @return The minAllowedTargetValue. */ @java.lang.Override public double getMinAllowedTargetValue() { return minAllowedTargetValue_; } public static final int TERMINALMRID_FIELD_NUMBER = 12; @SuppressWarnings("serial") private volatile java.lang.Object terminalMRID_ = ""; /** *
   **
   * The terminal associated with this regulating control. The terminal is associated instead of a node, since the terminal could connect into either a
   * topological node or a connectivity node. Sometimes it is useful to model regulation at a terminal of a bus bar object.
   * 
* * string terminalMRID = 12; * @return The terminalMRID. */ @java.lang.Override public java.lang.String getTerminalMRID() { java.lang.Object ref = terminalMRID_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); terminalMRID_ = s; return s; } } /** *
   **
   * The terminal associated with this regulating control. The terminal is associated instead of a node, since the terminal could connect into either a
   * topological node or a connectivity node. Sometimes it is useful to model regulation at a terminal of a bus bar object.
   * 
* * string terminalMRID = 12; * @return The bytes for terminalMRID. */ @java.lang.Override public com.google.protobuf.ByteString getTerminalMRIDBytes() { java.lang.Object ref = terminalMRID_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); terminalMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REGULATINGCONDEQMRIDS_FIELD_NUMBER = 13; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList regulatingCondEqMRIDs_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
   **
   * The equipment that participates in this regulating control scheme.
   * 
* * repeated string regulatingCondEqMRIDs = 13; * @return A list containing the regulatingCondEqMRIDs. */ public com.google.protobuf.ProtocolStringList getRegulatingCondEqMRIDsList() { return regulatingCondEqMRIDs_; } /** *
   **
   * The equipment that participates in this regulating control scheme.
   * 
* * repeated string regulatingCondEqMRIDs = 13; * @return The count of regulatingCondEqMRIDs. */ public int getRegulatingCondEqMRIDsCount() { return regulatingCondEqMRIDs_.size(); } /** *
   **
   * The equipment that participates in this regulating control scheme.
   * 
* * repeated string regulatingCondEqMRIDs = 13; * @param index The index of the element to return. * @return The regulatingCondEqMRIDs at the given index. */ public java.lang.String getRegulatingCondEqMRIDs(int index) { return regulatingCondEqMRIDs_.get(index); } /** *
   **
   * The equipment that participates in this regulating control scheme.
   * 
* * repeated string regulatingCondEqMRIDs = 13; * @param index The index of the value to return. * @return The bytes of the regulatingCondEqMRIDs at the given index. */ public com.google.protobuf.ByteString getRegulatingCondEqMRIDsBytes(int index) { return regulatingCondEqMRIDs_.getByteString(index); } public static final int RATEDCURRENT_FIELD_NUMBER = 14; private double ratedCurrent_ = 0D; /** *
   **
   * The rated current of associated CT in amps for this RegulatingControl. Forms the base used to convert Line Drop
   * Compensation settings from ohms to voltage.
   * 
* * double ratedCurrent = 14; * @return The ratedCurrent. */ @java.lang.Override public double getRatedCurrent() { return ratedCurrent_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getPsr()); } if (discreteCase_ == 2) { output.writeEnum(2, ((java.lang.Integer) discrete_)); } if (discreteCase_ == 3) { output.writeBool( 3, (boolean)((java.lang.Boolean) discrete_)); } if (mode_ != com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind.UNKNOWN_CONTROL_MODE.getNumber()) { output.writeEnum(4, mode_); } if (monitoredPhase_ != com.zepben.protobuf.cim.iec61970.base.core.PhaseCode.NONE.getNumber()) { output.writeEnum(5, monitoredPhase_); } if (java.lang.Float.floatToRawIntBits(targetDeadband_) != 0) { output.writeFloat(6, targetDeadband_); } if (java.lang.Double.doubleToRawLongBits(targetValue_) != 0) { output.writeDouble(7, targetValue_); } if (enabledCase_ == 8) { output.writeEnum(8, ((java.lang.Integer) enabled_)); } if (enabledCase_ == 9) { output.writeBool( 9, (boolean)((java.lang.Boolean) enabled_)); } if (java.lang.Double.doubleToRawLongBits(maxAllowedTargetValue_) != 0) { output.writeDouble(10, maxAllowedTargetValue_); } if (java.lang.Double.doubleToRawLongBits(minAllowedTargetValue_) != 0) { output.writeDouble(11, minAllowedTargetValue_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(terminalMRID_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, terminalMRID_); } for (int i = 0; i < regulatingCondEqMRIDs_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, regulatingCondEqMRIDs_.getRaw(i)); } if (java.lang.Double.doubleToRawLongBits(ratedCurrent_) != 0) { output.writeDouble(14, ratedCurrent_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getPsr()); } if (discreteCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, ((java.lang.Integer) discrete_)); } if (discreteCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 3, (boolean)((java.lang.Boolean) discrete_)); } if (mode_ != com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind.UNKNOWN_CONTROL_MODE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, mode_); } if (monitoredPhase_ != com.zepben.protobuf.cim.iec61970.base.core.PhaseCode.NONE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, monitoredPhase_); } if (java.lang.Float.floatToRawIntBits(targetDeadband_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(6, targetDeadband_); } if (java.lang.Double.doubleToRawLongBits(targetValue_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, targetValue_); } if (enabledCase_ == 8) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(8, ((java.lang.Integer) enabled_)); } if (enabledCase_ == 9) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 9, (boolean)((java.lang.Boolean) enabled_)); } if (java.lang.Double.doubleToRawLongBits(maxAllowedTargetValue_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(10, maxAllowedTargetValue_); } if (java.lang.Double.doubleToRawLongBits(minAllowedTargetValue_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(11, minAllowedTargetValue_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(terminalMRID_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, terminalMRID_); } { int dataSize = 0; for (int i = 0; i < regulatingCondEqMRIDs_.size(); i++) { dataSize += computeStringSizeNoTag(regulatingCondEqMRIDs_.getRaw(i)); } size += dataSize; size += 1 * getRegulatingCondEqMRIDsList().size(); } if (java.lang.Double.doubleToRawLongBits(ratedCurrent_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(14, ratedCurrent_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl)) { return super.equals(obj); } com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl other = (com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl) obj; if (hasPsr() != other.hasPsr()) return false; if (hasPsr()) { if (!getPsr() .equals(other.getPsr())) return false; } if (mode_ != other.mode_) return false; if (monitoredPhase_ != other.monitoredPhase_) return false; if (java.lang.Float.floatToIntBits(getTargetDeadband()) != java.lang.Float.floatToIntBits( other.getTargetDeadband())) return false; if (java.lang.Double.doubleToLongBits(getTargetValue()) != java.lang.Double.doubleToLongBits( other.getTargetValue())) return false; if (java.lang.Double.doubleToLongBits(getMaxAllowedTargetValue()) != java.lang.Double.doubleToLongBits( other.getMaxAllowedTargetValue())) return false; if (java.lang.Double.doubleToLongBits(getMinAllowedTargetValue()) != java.lang.Double.doubleToLongBits( other.getMinAllowedTargetValue())) return false; if (!getTerminalMRID() .equals(other.getTerminalMRID())) return false; if (!getRegulatingCondEqMRIDsList() .equals(other.getRegulatingCondEqMRIDsList())) return false; if (java.lang.Double.doubleToLongBits(getRatedCurrent()) != java.lang.Double.doubleToLongBits( other.getRatedCurrent())) return false; if (!getDiscreteCase().equals(other.getDiscreteCase())) return false; switch (discreteCase_) { case 2: if (getDiscreteNullValue() != other.getDiscreteNullValue()) return false; break; case 3: if (getDiscreteSet() != other.getDiscreteSet()) return false; break; case 0: default: } if (!getEnabledCase().equals(other.getEnabledCase())) return false; switch (enabledCase_) { case 8: if (getEnabledNullValue() != other.getEnabledNullValue()) return false; break; case 9: if (getEnabledSet() != other.getEnabledSet()) return false; break; case 0: default: } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPsr()) { hash = (37 * hash) + PSR_FIELD_NUMBER; hash = (53 * hash) + getPsr().hashCode(); } hash = (37 * hash) + MODE_FIELD_NUMBER; hash = (53 * hash) + mode_; hash = (37 * hash) + MONITOREDPHASE_FIELD_NUMBER; hash = (53 * hash) + monitoredPhase_; hash = (37 * hash) + TARGETDEADBAND_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getTargetDeadband()); hash = (37 * hash) + TARGETVALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTargetValue())); hash = (37 * hash) + MAXALLOWEDTARGETVALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMaxAllowedTargetValue())); hash = (37 * hash) + MINALLOWEDTARGETVALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMinAllowedTargetValue())); hash = (37 * hash) + TERMINALMRID_FIELD_NUMBER; hash = (53 * hash) + getTerminalMRID().hashCode(); if (getRegulatingCondEqMRIDsCount() > 0) { hash = (37 * hash) + REGULATINGCONDEQMRIDS_FIELD_NUMBER; hash = (53 * hash) + getRegulatingCondEqMRIDsList().hashCode(); } hash = (37 * hash) + RATEDCURRENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRatedCurrent())); switch (discreteCase_) { case 2: hash = (37 * hash) + DISCRETENULL_FIELD_NUMBER; hash = (53 * hash) + getDiscreteNullValue(); break; case 3: hash = (37 * hash) + DISCRETESET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDiscreteSet()); break; case 0: default: } switch (enabledCase_) { case 8: hash = (37 * hash) + ENABLEDNULL_FIELD_NUMBER; hash = (53 * hash) + getEnabledNullValue(); break; case 9: hash = (37 * hash) + ENABLEDSET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnabledSet()); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   **
   * Specifies a set of equipment that works together to control a power system quantity such as voltage or flow.
   * Remote bus voltage control is possible by specifying the controlled terminal located at some place remote from the controlling equipment.
   *
   * The specified terminal shall be associated with the connectivity node of the controlled point. The most specific subtype of RegulatingControl shall be used in case such equipment participate in the control, e.g. TapChangerControl for tap changers.
   *
   * For flow control, load sign convention is used, i.e. positive sign means flow out from a TopologicalNode (bus) into the conducting equipment.
   *
   * The attribute minAllowedTargetValue and maxAllowedTargetValue are required in the following cases:
   *
   * For a power generating module operated in power factor control mode to specify maximum and minimum power factor values;
   *
   * Whenever it is necessary to have an off center target voltage for the tap changer regulator. For instance, due to long cables to off shore wind farms and the need to have a simpler setup at the off shore transformer platform, the voltage is controlled from the land at the connection point for the off shore wind farm. Since there usually is a voltage rise along the cable, there is typical and overvoltage of up 3-4 kV compared to the on shore station. Thus in normal operation the tap changer on the on shore station is operated with a target set point, which is in the lower parts of the dead band.
   *
   * The attributes minAllowedTargetValue and maxAllowedTargetValue are not related to the attribute targetDeadband and thus they are not treated as an alternative of the targetDeadband. They are needed due to limitations in the local substation controller. The attribute targetDeadband is used to prevent the power flow from move the tap position in circles (hunting) that is to be used regardless of the attributes minAllowedTargetValue and maxAllowedTargetValue.
   * 
* * Protobuf type {@code zepben.protobuf.cim.iec61970.base.wires.RegulatingControl} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:zepben.protobuf.cim.iec61970.base.wires.RegulatingControl) com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlOuterClass.internal_static_zepben_protobuf_cim_iec61970_base_wires_RegulatingControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlOuterClass.internal_static_zepben_protobuf_cim_iec61970_base_wires_RegulatingControl_fieldAccessorTable .ensureFieldAccessorsInitialized( com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl.class, com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl.Builder.class); } // Construct using com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPsrFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; psr_ = null; if (psrBuilder_ != null) { psrBuilder_.dispose(); psrBuilder_ = null; } mode_ = 0; monitoredPhase_ = 0; targetDeadband_ = 0F; targetValue_ = 0D; maxAllowedTargetValue_ = 0D; minAllowedTargetValue_ = 0D; terminalMRID_ = ""; regulatingCondEqMRIDs_ = com.google.protobuf.LazyStringArrayList.emptyList(); ratedCurrent_ = 0D; discreteCase_ = 0; discrete_ = null; enabledCase_ = 0; enabled_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlOuterClass.internal_static_zepben_protobuf_cim_iec61970_base_wires_RegulatingControl_descriptor; } @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl getDefaultInstanceForType() { return com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl.getDefaultInstance(); } @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl build() { com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl buildPartial() { com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl result = new com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.psr_ = psrBuilder_ == null ? psr_ : psrBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.mode_ = mode_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.monitoredPhase_ = monitoredPhase_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.targetDeadband_ = targetDeadband_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.targetValue_ = targetValue_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.maxAllowedTargetValue_ = maxAllowedTargetValue_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.minAllowedTargetValue_ = minAllowedTargetValue_; } if (((from_bitField0_ & 0x00000800) != 0)) { result.terminalMRID_ = terminalMRID_; } if (((from_bitField0_ & 0x00001000) != 0)) { regulatingCondEqMRIDs_.makeImmutable(); result.regulatingCondEqMRIDs_ = regulatingCondEqMRIDs_; } if (((from_bitField0_ & 0x00002000) != 0)) { result.ratedCurrent_ = ratedCurrent_; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl result) { result.discreteCase_ = discreteCase_; result.discrete_ = this.discrete_; result.enabledCase_ = enabledCase_; result.enabled_ = this.enabled_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl) { return mergeFrom((com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl other) { if (other == com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl.getDefaultInstance()) return this; if (other.hasPsr()) { mergePsr(other.getPsr()); } if (other.mode_ != 0) { setModeValue(other.getModeValue()); } if (other.monitoredPhase_ != 0) { setMonitoredPhaseValue(other.getMonitoredPhaseValue()); } if (other.getTargetDeadband() != 0F) { setTargetDeadband(other.getTargetDeadband()); } if (other.getTargetValue() != 0D) { setTargetValue(other.getTargetValue()); } if (other.getMaxAllowedTargetValue() != 0D) { setMaxAllowedTargetValue(other.getMaxAllowedTargetValue()); } if (other.getMinAllowedTargetValue() != 0D) { setMinAllowedTargetValue(other.getMinAllowedTargetValue()); } if (!other.getTerminalMRID().isEmpty()) { terminalMRID_ = other.terminalMRID_; bitField0_ |= 0x00000800; onChanged(); } if (!other.regulatingCondEqMRIDs_.isEmpty()) { if (regulatingCondEqMRIDs_.isEmpty()) { regulatingCondEqMRIDs_ = other.regulatingCondEqMRIDs_; bitField0_ |= 0x00001000; } else { ensureRegulatingCondEqMRIDsIsMutable(); regulatingCondEqMRIDs_.addAll(other.regulatingCondEqMRIDs_); } onChanged(); } if (other.getRatedCurrent() != 0D) { setRatedCurrent(other.getRatedCurrent()); } switch (other.getDiscreteCase()) { case DISCRETENULL: { setDiscreteNullValue(other.getDiscreteNullValue()); break; } case DISCRETESET: { setDiscreteSet(other.getDiscreteSet()); break; } case DISCRETE_NOT_SET: { break; } } switch (other.getEnabledCase()) { case ENABLEDNULL: { setEnabledNullValue(other.getEnabledNullValue()); break; } case ENABLEDSET: { setEnabledSet(other.getEnabledSet()); break; } case ENABLED_NOT_SET: { break; } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getPsrFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { int rawValue = input.readEnum(); discreteCase_ = 2; discrete_ = rawValue; break; } // case 16 case 24: { discrete_ = input.readBool(); discreteCase_ = 3; break; } // case 24 case 32: { mode_ = input.readEnum(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { monitoredPhase_ = input.readEnum(); bitField0_ |= 0x00000010; break; } // case 40 case 53: { targetDeadband_ = input.readFloat(); bitField0_ |= 0x00000020; break; } // case 53 case 57: { targetValue_ = input.readDouble(); bitField0_ |= 0x00000040; break; } // case 57 case 64: { int rawValue = input.readEnum(); enabledCase_ = 8; enabled_ = rawValue; break; } // case 64 case 72: { enabled_ = input.readBool(); enabledCase_ = 9; break; } // case 72 case 81: { maxAllowedTargetValue_ = input.readDouble(); bitField0_ |= 0x00000200; break; } // case 81 case 89: { minAllowedTargetValue_ = input.readDouble(); bitField0_ |= 0x00000400; break; } // case 89 case 98: { terminalMRID_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000800; break; } // case 98 case 106: { java.lang.String s = input.readStringRequireUtf8(); ensureRegulatingCondEqMRIDsIsMutable(); regulatingCondEqMRIDs_.add(s); break; } // case 106 case 113: { ratedCurrent_ = input.readDouble(); bitField0_ |= 0x00002000; break; } // case 113 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int discreteCase_ = 0; private java.lang.Object discrete_; public DiscreteCase getDiscreteCase() { return DiscreteCase.forNumber( discreteCase_); } public Builder clearDiscrete() { discreteCase_ = 0; discrete_ = null; onChanged(); return this; } private int enabledCase_ = 0; private java.lang.Object enabled_; public EnabledCase getEnabledCase() { return EnabledCase.forNumber( enabledCase_); } public Builder clearEnabled() { enabledCase_ = 0; enabled_ = null; onChanged(); return this; } private int bitField0_; private com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource psr_; private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource, com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource.Builder, com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResourceOrBuilder> psrBuilder_; /** *
     **
     * The PowerSystemResource fields for this RegulatingControl.
     * 
* * .zepben.protobuf.cim.iec61970.base.core.PowerSystemResource psr = 1; * @return Whether the psr field is set. */ public boolean hasPsr() { return ((bitField0_ & 0x00000001) != 0); } /** *
     **
     * The PowerSystemResource fields for this RegulatingControl.
     * 
* * .zepben.protobuf.cim.iec61970.base.core.PowerSystemResource psr = 1; * @return The psr. */ public com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource getPsr() { if (psrBuilder_ == null) { return psr_ == null ? com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource.getDefaultInstance() : psr_; } else { return psrBuilder_.getMessage(); } } /** *
     **
     * The PowerSystemResource fields for this RegulatingControl.
     * 
* * .zepben.protobuf.cim.iec61970.base.core.PowerSystemResource psr = 1; */ public Builder setPsr(com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource value) { if (psrBuilder_ == null) { if (value == null) { throw new NullPointerException(); } psr_ = value; } else { psrBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * The PowerSystemResource fields for this RegulatingControl.
     * 
* * .zepben.protobuf.cim.iec61970.base.core.PowerSystemResource psr = 1; */ public Builder setPsr( com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource.Builder builderForValue) { if (psrBuilder_ == null) { psr_ = builderForValue.build(); } else { psrBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * The PowerSystemResource fields for this RegulatingControl.
     * 
* * .zepben.protobuf.cim.iec61970.base.core.PowerSystemResource psr = 1; */ public Builder mergePsr(com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource value) { if (psrBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && psr_ != null && psr_ != com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource.getDefaultInstance()) { getPsrBuilder().mergeFrom(value); } else { psr_ = value; } } else { psrBuilder_.mergeFrom(value); } if (psr_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     **
     * The PowerSystemResource fields for this RegulatingControl.
     * 
* * .zepben.protobuf.cim.iec61970.base.core.PowerSystemResource psr = 1; */ public Builder clearPsr() { bitField0_ = (bitField0_ & ~0x00000001); psr_ = null; if (psrBuilder_ != null) { psrBuilder_.dispose(); psrBuilder_ = null; } onChanged(); return this; } /** *
     **
     * The PowerSystemResource fields for this RegulatingControl.
     * 
* * .zepben.protobuf.cim.iec61970.base.core.PowerSystemResource psr = 1; */ public com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource.Builder getPsrBuilder() { bitField0_ |= 0x00000001; onChanged(); return getPsrFieldBuilder().getBuilder(); } /** *
     **
     * The PowerSystemResource fields for this RegulatingControl.
     * 
* * .zepben.protobuf.cim.iec61970.base.core.PowerSystemResource psr = 1; */ public com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResourceOrBuilder getPsrOrBuilder() { if (psrBuilder_ != null) { return psrBuilder_.getMessageOrBuilder(); } else { return psr_ == null ? com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource.getDefaultInstance() : psr_; } } /** *
     **
     * The PowerSystemResource fields for this RegulatingControl.
     * 
* * .zepben.protobuf.cim.iec61970.base.core.PowerSystemResource psr = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource, com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource.Builder, com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResourceOrBuilder> getPsrFieldBuilder() { if (psrBuilder_ == null) { psrBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource, com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResource.Builder, com.zepben.protobuf.cim.iec61970.base.core.PowerSystemResourceOrBuilder>( getPsr(), getParentForChildren(), isClean()); psr_ = null; } return psrBuilder_; } /** * .google.protobuf.NullValue discreteNull = 2; * @return Whether the discreteNull field is set. */ @java.lang.Override public boolean hasDiscreteNull() { return discreteCase_ == 2; } /** * .google.protobuf.NullValue discreteNull = 2; * @return The enum numeric value on the wire for discreteNull. */ @java.lang.Override public int getDiscreteNullValue() { if (discreteCase_ == 2) { return ((java.lang.Integer) discrete_).intValue(); } return 0; } /** * .google.protobuf.NullValue discreteNull = 2; * @param value The enum numeric value on the wire for discreteNull to set. * @return This builder for chaining. */ public Builder setDiscreteNullValue(int value) { discreteCase_ = 2; discrete_ = value; onChanged(); return this; } /** * .google.protobuf.NullValue discreteNull = 2; * @return The discreteNull. */ @java.lang.Override public com.google.protobuf.NullValue getDiscreteNull() { if (discreteCase_ == 2) { com.google.protobuf.NullValue result = com.google.protobuf.NullValue.forNumber( (java.lang.Integer) discrete_); return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; } return com.google.protobuf.NullValue.NULL_VALUE; } /** * .google.protobuf.NullValue discreteNull = 2; * @param value The discreteNull to set. * @return This builder for chaining. */ public Builder setDiscreteNull(com.google.protobuf.NullValue value) { if (value == null) { throw new NullPointerException(); } discreteCase_ = 2; discrete_ = value.getNumber(); onChanged(); return this; } /** * .google.protobuf.NullValue discreteNull = 2; * @return This builder for chaining. */ public Builder clearDiscreteNull() { if (discreteCase_ == 2) { discreteCase_ = 0; discrete_ = null; onChanged(); } return this; } /** * bool discreteSet = 3; * @return Whether the discreteSet field is set. */ public boolean hasDiscreteSet() { return discreteCase_ == 3; } /** * bool discreteSet = 3; * @return The discreteSet. */ public boolean getDiscreteSet() { if (discreteCase_ == 3) { return (java.lang.Boolean) discrete_; } return false; } /** * bool discreteSet = 3; * @param value The discreteSet to set. * @return This builder for chaining. */ public Builder setDiscreteSet(boolean value) { discreteCase_ = 3; discrete_ = value; onChanged(); return this; } /** * bool discreteSet = 3; * @return This builder for chaining. */ public Builder clearDiscreteSet() { if (discreteCase_ == 3) { discreteCase_ = 0; discrete_ = null; onChanged(); } return this; } private int mode_ = 0; /** *
     **
     * The regulating control mode presently available. This specification allows for determining the kind of regulation without need for obtaining the units from a schedule.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind mode = 4; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** *
     **
     * The regulating control mode presently available. This specification allows for determining the kind of regulation without need for obtaining the units from a schedule.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind mode = 4; * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { mode_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     **
     * The regulating control mode presently available. This specification allows for determining the kind of regulation without need for obtaining the units from a schedule.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind mode = 4; * @return The mode. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind getMode() { com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind result = com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind.forNumber(mode_); return result == null ? com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind.UNRECOGNIZED : result; } /** *
     **
     * The regulating control mode presently available. This specification allows for determining the kind of regulation without need for obtaining the units from a schedule.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind mode = 4; * @param value The mode to set. * @return This builder for chaining. */ public Builder setMode(com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; mode_ = value.getNumber(); onChanged(); return this; } /** *
     **
     * The regulating control mode presently available. This specification allows for determining the kind of regulation without need for obtaining the units from a schedule.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingControlModeKind mode = 4; * @return This builder for chaining. */ public Builder clearMode() { bitField0_ = (bitField0_ & ~0x00000008); mode_ = 0; onChanged(); return this; } private int monitoredPhase_ = 0; /** *
     **
     * Phase voltage controlling this regulator, measured at regulator location.
     * 
* * .zepben.protobuf.cim.iec61970.base.core.PhaseCode monitoredPhase = 5; * @return The enum numeric value on the wire for monitoredPhase. */ @java.lang.Override public int getMonitoredPhaseValue() { return monitoredPhase_; } /** *
     **
     * Phase voltage controlling this regulator, measured at regulator location.
     * 
* * .zepben.protobuf.cim.iec61970.base.core.PhaseCode monitoredPhase = 5; * @param value The enum numeric value on the wire for monitoredPhase to set. * @return This builder for chaining. */ public Builder setMonitoredPhaseValue(int value) { monitoredPhase_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     **
     * Phase voltage controlling this regulator, measured at regulator location.
     * 
* * .zepben.protobuf.cim.iec61970.base.core.PhaseCode monitoredPhase = 5; * @return The monitoredPhase. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.PhaseCode getMonitoredPhase() { com.zepben.protobuf.cim.iec61970.base.core.PhaseCode result = com.zepben.protobuf.cim.iec61970.base.core.PhaseCode.forNumber(monitoredPhase_); return result == null ? com.zepben.protobuf.cim.iec61970.base.core.PhaseCode.UNRECOGNIZED : result; } /** *
     **
     * Phase voltage controlling this regulator, measured at regulator location.
     * 
* * .zepben.protobuf.cim.iec61970.base.core.PhaseCode monitoredPhase = 5; * @param value The monitoredPhase to set. * @return This builder for chaining. */ public Builder setMonitoredPhase(com.zepben.protobuf.cim.iec61970.base.core.PhaseCode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; monitoredPhase_ = value.getNumber(); onChanged(); return this; } /** *
     **
     * Phase voltage controlling this regulator, measured at regulator location.
     * 
* * .zepben.protobuf.cim.iec61970.base.core.PhaseCode monitoredPhase = 5; * @return This builder for chaining. */ public Builder clearMonitoredPhase() { bitField0_ = (bitField0_ & ~0x00000010); monitoredPhase_ = 0; onChanged(); return this; } private float targetDeadband_ ; /** *
     **
     * This is a deadband used with discrete control to avoid excessive update of controls like tap changers and shunt compensator banks while regulating.
     * The units are the base units appropriate for the mode.
     * The attribute shall be a positive value or zero. If RegulatingControl.discrete is set to "false", the RegulatingControl.targetDeadband is to be ignored.
     * Note that for instance, if the targetValue is 100 kV and the targetDeadband is 2 kV the range is from 99 to 101 kV.
     * 
* * float targetDeadband = 6; * @return The targetDeadband. */ @java.lang.Override public float getTargetDeadband() { return targetDeadband_; } /** *
     **
     * This is a deadband used with discrete control to avoid excessive update of controls like tap changers and shunt compensator banks while regulating.
     * The units are the base units appropriate for the mode.
     * The attribute shall be a positive value or zero. If RegulatingControl.discrete is set to "false", the RegulatingControl.targetDeadband is to be ignored.
     * Note that for instance, if the targetValue is 100 kV and the targetDeadband is 2 kV the range is from 99 to 101 kV.
     * 
* * float targetDeadband = 6; * @param value The targetDeadband to set. * @return This builder for chaining. */ public Builder setTargetDeadband(float value) { targetDeadband_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     **
     * This is a deadband used with discrete control to avoid excessive update of controls like tap changers and shunt compensator banks while regulating.
     * The units are the base units appropriate for the mode.
     * The attribute shall be a positive value or zero. If RegulatingControl.discrete is set to "false", the RegulatingControl.targetDeadband is to be ignored.
     * Note that for instance, if the targetValue is 100 kV and the targetDeadband is 2 kV the range is from 99 to 101 kV.
     * 
* * float targetDeadband = 6; * @return This builder for chaining. */ public Builder clearTargetDeadband() { bitField0_ = (bitField0_ & ~0x00000020); targetDeadband_ = 0F; onChanged(); return this; } private double targetValue_ ; /** *
     **
     * The target value specified for case input. This value can be used for the target value without the use of schedules.
     * The value has the units appropriate to the mode attribute.
     * 
* * double targetValue = 7; * @return The targetValue. */ @java.lang.Override public double getTargetValue() { return targetValue_; } /** *
     **
     * The target value specified for case input. This value can be used for the target value without the use of schedules.
     * The value has the units appropriate to the mode attribute.
     * 
* * double targetValue = 7; * @param value The targetValue to set. * @return This builder for chaining. */ public Builder setTargetValue(double value) { targetValue_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     **
     * The target value specified for case input. This value can be used for the target value without the use of schedules.
     * The value has the units appropriate to the mode attribute.
     * 
* * double targetValue = 7; * @return This builder for chaining. */ public Builder clearTargetValue() { bitField0_ = (bitField0_ & ~0x00000040); targetValue_ = 0D; onChanged(); return this; } /** * .google.protobuf.NullValue enabledNull = 8; * @return Whether the enabledNull field is set. */ @java.lang.Override public boolean hasEnabledNull() { return enabledCase_ == 8; } /** * .google.protobuf.NullValue enabledNull = 8; * @return The enum numeric value on the wire for enabledNull. */ @java.lang.Override public int getEnabledNullValue() { if (enabledCase_ == 8) { return ((java.lang.Integer) enabled_).intValue(); } return 0; } /** * .google.protobuf.NullValue enabledNull = 8; * @param value The enum numeric value on the wire for enabledNull to set. * @return This builder for chaining. */ public Builder setEnabledNullValue(int value) { enabledCase_ = 8; enabled_ = value; onChanged(); return this; } /** * .google.protobuf.NullValue enabledNull = 8; * @return The enabledNull. */ @java.lang.Override public com.google.protobuf.NullValue getEnabledNull() { if (enabledCase_ == 8) { com.google.protobuf.NullValue result = com.google.protobuf.NullValue.forNumber( (java.lang.Integer) enabled_); return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; } return com.google.protobuf.NullValue.NULL_VALUE; } /** * .google.protobuf.NullValue enabledNull = 8; * @param value The enabledNull to set. * @return This builder for chaining. */ public Builder setEnabledNull(com.google.protobuf.NullValue value) { if (value == null) { throw new NullPointerException(); } enabledCase_ = 8; enabled_ = value.getNumber(); onChanged(); return this; } /** * .google.protobuf.NullValue enabledNull = 8; * @return This builder for chaining. */ public Builder clearEnabledNull() { if (enabledCase_ == 8) { enabledCase_ = 0; enabled_ = null; onChanged(); } return this; } /** * bool enabledSet = 9; * @return Whether the enabledSet field is set. */ public boolean hasEnabledSet() { return enabledCase_ == 9; } /** * bool enabledSet = 9; * @return The enabledSet. */ public boolean getEnabledSet() { if (enabledCase_ == 9) { return (java.lang.Boolean) enabled_; } return false; } /** * bool enabledSet = 9; * @param value The enabledSet to set. * @return This builder for chaining. */ public Builder setEnabledSet(boolean value) { enabledCase_ = 9; enabled_ = value; onChanged(); return this; } /** * bool enabledSet = 9; * @return This builder for chaining. */ public Builder clearEnabledSet() { if (enabledCase_ == 9) { enabledCase_ = 0; enabled_ = null; onChanged(); } return this; } private double maxAllowedTargetValue_ ; /** *
     **
     * Maximum allowed target value (RegulatingControl.targetValue).
     * 
* * double maxAllowedTargetValue = 10; * @return The maxAllowedTargetValue. */ @java.lang.Override public double getMaxAllowedTargetValue() { return maxAllowedTargetValue_; } /** *
     **
     * Maximum allowed target value (RegulatingControl.targetValue).
     * 
* * double maxAllowedTargetValue = 10; * @param value The maxAllowedTargetValue to set. * @return This builder for chaining. */ public Builder setMaxAllowedTargetValue(double value) { maxAllowedTargetValue_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     **
     * Maximum allowed target value (RegulatingControl.targetValue).
     * 
* * double maxAllowedTargetValue = 10; * @return This builder for chaining. */ public Builder clearMaxAllowedTargetValue() { bitField0_ = (bitField0_ & ~0x00000200); maxAllowedTargetValue_ = 0D; onChanged(); return this; } private double minAllowedTargetValue_ ; /** *
     **
     * Minimum allowed target value (RegulatingControl.targetValue).
     * 
* * double minAllowedTargetValue = 11; * @return The minAllowedTargetValue. */ @java.lang.Override public double getMinAllowedTargetValue() { return minAllowedTargetValue_; } /** *
     **
     * Minimum allowed target value (RegulatingControl.targetValue).
     * 
* * double minAllowedTargetValue = 11; * @param value The minAllowedTargetValue to set. * @return This builder for chaining. */ public Builder setMinAllowedTargetValue(double value) { minAllowedTargetValue_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     **
     * Minimum allowed target value (RegulatingControl.targetValue).
     * 
* * double minAllowedTargetValue = 11; * @return This builder for chaining. */ public Builder clearMinAllowedTargetValue() { bitField0_ = (bitField0_ & ~0x00000400); minAllowedTargetValue_ = 0D; onChanged(); return this; } private java.lang.Object terminalMRID_ = ""; /** *
     **
     * The terminal associated with this regulating control. The terminal is associated instead of a node, since the terminal could connect into either a
     * topological node or a connectivity node. Sometimes it is useful to model regulation at a terminal of a bus bar object.
     * 
* * string terminalMRID = 12; * @return The terminalMRID. */ public java.lang.String getTerminalMRID() { java.lang.Object ref = terminalMRID_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); terminalMRID_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     **
     * The terminal associated with this regulating control. The terminal is associated instead of a node, since the terminal could connect into either a
     * topological node or a connectivity node. Sometimes it is useful to model regulation at a terminal of a bus bar object.
     * 
* * string terminalMRID = 12; * @return The bytes for terminalMRID. */ public com.google.protobuf.ByteString getTerminalMRIDBytes() { java.lang.Object ref = terminalMRID_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); terminalMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     **
     * The terminal associated with this regulating control. The terminal is associated instead of a node, since the terminal could connect into either a
     * topological node or a connectivity node. Sometimes it is useful to model regulation at a terminal of a bus bar object.
     * 
* * string terminalMRID = 12; * @param value The terminalMRID to set. * @return This builder for chaining. */ public Builder setTerminalMRID( java.lang.String value) { if (value == null) { throw new NullPointerException(); } terminalMRID_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     **
     * The terminal associated with this regulating control. The terminal is associated instead of a node, since the terminal could connect into either a
     * topological node or a connectivity node. Sometimes it is useful to model regulation at a terminal of a bus bar object.
     * 
* * string terminalMRID = 12; * @return This builder for chaining. */ public Builder clearTerminalMRID() { terminalMRID_ = getDefaultInstance().getTerminalMRID(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } /** *
     **
     * The terminal associated with this regulating control. The terminal is associated instead of a node, since the terminal could connect into either a
     * topological node or a connectivity node. Sometimes it is useful to model regulation at a terminal of a bus bar object.
     * 
* * string terminalMRID = 12; * @param value The bytes for terminalMRID to set. * @return This builder for chaining. */ public Builder setTerminalMRIDBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); terminalMRID_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList regulatingCondEqMRIDs_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureRegulatingCondEqMRIDsIsMutable() { if (!regulatingCondEqMRIDs_.isModifiable()) { regulatingCondEqMRIDs_ = new com.google.protobuf.LazyStringArrayList(regulatingCondEqMRIDs_); } bitField0_ |= 0x00001000; } /** *
     **
     * The equipment that participates in this regulating control scheme.
     * 
* * repeated string regulatingCondEqMRIDs = 13; * @return A list containing the regulatingCondEqMRIDs. */ public com.google.protobuf.ProtocolStringList getRegulatingCondEqMRIDsList() { regulatingCondEqMRIDs_.makeImmutable(); return regulatingCondEqMRIDs_; } /** *
     **
     * The equipment that participates in this regulating control scheme.
     * 
* * repeated string regulatingCondEqMRIDs = 13; * @return The count of regulatingCondEqMRIDs. */ public int getRegulatingCondEqMRIDsCount() { return regulatingCondEqMRIDs_.size(); } /** *
     **
     * The equipment that participates in this regulating control scheme.
     * 
* * repeated string regulatingCondEqMRIDs = 13; * @param index The index of the element to return. * @return The regulatingCondEqMRIDs at the given index. */ public java.lang.String getRegulatingCondEqMRIDs(int index) { return regulatingCondEqMRIDs_.get(index); } /** *
     **
     * The equipment that participates in this regulating control scheme.
     * 
* * repeated string regulatingCondEqMRIDs = 13; * @param index The index of the value to return. * @return The bytes of the regulatingCondEqMRIDs at the given index. */ public com.google.protobuf.ByteString getRegulatingCondEqMRIDsBytes(int index) { return regulatingCondEqMRIDs_.getByteString(index); } /** *
     **
     * The equipment that participates in this regulating control scheme.
     * 
* * repeated string regulatingCondEqMRIDs = 13; * @param index The index to set the value at. * @param value The regulatingCondEqMRIDs to set. * @return This builder for chaining. */ public Builder setRegulatingCondEqMRIDs( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureRegulatingCondEqMRIDsIsMutable(); regulatingCondEqMRIDs_.set(index, value); bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     **
     * The equipment that participates in this regulating control scheme.
     * 
* * repeated string regulatingCondEqMRIDs = 13; * @param value The regulatingCondEqMRIDs to add. * @return This builder for chaining. */ public Builder addRegulatingCondEqMRIDs( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureRegulatingCondEqMRIDsIsMutable(); regulatingCondEqMRIDs_.add(value); bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     **
     * The equipment that participates in this regulating control scheme.
     * 
* * repeated string regulatingCondEqMRIDs = 13; * @param values The regulatingCondEqMRIDs to add. * @return This builder for chaining. */ public Builder addAllRegulatingCondEqMRIDs( java.lang.Iterable values) { ensureRegulatingCondEqMRIDsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, regulatingCondEqMRIDs_); bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     **
     * The equipment that participates in this regulating control scheme.
     * 
* * repeated string regulatingCondEqMRIDs = 13; * @return This builder for chaining. */ public Builder clearRegulatingCondEqMRIDs() { regulatingCondEqMRIDs_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00001000);; onChanged(); return this; } /** *
     **
     * The equipment that participates in this regulating control scheme.
     * 
* * repeated string regulatingCondEqMRIDs = 13; * @param value The bytes of the regulatingCondEqMRIDs to add. * @return This builder for chaining. */ public Builder addRegulatingCondEqMRIDsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureRegulatingCondEqMRIDsIsMutable(); regulatingCondEqMRIDs_.add(value); bitField0_ |= 0x00001000; onChanged(); return this; } private double ratedCurrent_ ; /** *
     **
     * The rated current of associated CT in amps for this RegulatingControl. Forms the base used to convert Line Drop
     * Compensation settings from ohms to voltage.
     * 
* * double ratedCurrent = 14; * @return The ratedCurrent. */ @java.lang.Override public double getRatedCurrent() { return ratedCurrent_; } /** *
     **
     * The rated current of associated CT in amps for this RegulatingControl. Forms the base used to convert Line Drop
     * Compensation settings from ohms to voltage.
     * 
* * double ratedCurrent = 14; * @param value The ratedCurrent to set. * @return This builder for chaining. */ public Builder setRatedCurrent(double value) { ratedCurrent_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** *
     **
     * The rated current of associated CT in amps for this RegulatingControl. Forms the base used to convert Line Drop
     * Compensation settings from ohms to voltage.
     * 
* * double ratedCurrent = 14; * @return This builder for chaining. */ public Builder clearRatedCurrent() { bitField0_ = (bitField0_ & ~0x00002000); ratedCurrent_ = 0D; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:zepben.protobuf.cim.iec61970.base.wires.RegulatingControl) } // @@protoc_insertion_point(class_scope:zepben.protobuf.cim.iec61970.base.wires.RegulatingControl) private static final com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl(); } public static com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RegulatingControl parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RegulatingControl getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy