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

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

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

/**
 * 
 **
 * A rotating machine which may be used as a generator or motor.
 * 
* * Protobuf type {@code zepben.protobuf.cim.iec61970.base.wires.RotatingMachine} */ public final class RotatingMachine extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:zepben.protobuf.cim.iec61970.base.wires.RotatingMachine) RotatingMachineOrBuilder { private static final long serialVersionUID = 0L; // Use RotatingMachine.newBuilder() to construct. private RotatingMachine(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RotatingMachine() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RotatingMachine(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachineOuterClass.internal_static_zepben_protobuf_cim_iec61970_base_wires_RotatingMachine_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachineOuterClass.internal_static_zepben_protobuf_cim_iec61970_base_wires_RotatingMachine_fieldAccessorTable .ensureFieldAccessorsInitialized( com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine.class, com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine.Builder.class); } private int bitField0_; public static final int RCE_FIELD_NUMBER = 1; private com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq rce_; /** *
   **
   * The RegulatingCondEq fields for this RotatingMachine.
   * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq rce = 1; * @return Whether the rce field is set. */ @java.lang.Override public boolean hasRce() { return ((bitField0_ & 0x00000001) != 0); } /** *
   **
   * The RegulatingCondEq fields for this RotatingMachine.
   * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq rce = 1; * @return The rce. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq getRce() { return rce_ == null ? com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq.getDefaultInstance() : rce_; } /** *
   **
   * The RegulatingCondEq fields for this RotatingMachine.
   * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq rce = 1; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEqOrBuilder getRceOrBuilder() { return rce_ == null ? com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq.getDefaultInstance() : rce_; } public static final int RATEDPOWERFACTOR_FIELD_NUMBER = 2; private double ratedPowerFactor_ = 0D; /** *
   **
   * Power factor (nameplate data). It is primarily used for short circuit data exchange according to IEC 60909. The attribute cannot be a negative value.
   * 
* * double ratedPowerFactor = 2; * @return The ratedPowerFactor. */ @java.lang.Override public double getRatedPowerFactor() { return ratedPowerFactor_; } public static final int RATEDS_FIELD_NUMBER = 3; private double ratedS_ = 0D; /** *
   **
   * Nameplate apparent power rating for the unit in volt-amperes (VA). The attribute shall have a positive value.
   * 
* * double ratedS = 3; * @return The ratedS. */ @java.lang.Override public double getRatedS() { return ratedS_; } public static final int RATEDU_FIELD_NUMBER = 4; private int ratedU_ = 0; /** *
   **
   * Rated voltage in volts (nameplate data, Ur in IEC 60909-0). It is primarily used for short circuit data exchange according to IEC 60909. The attribute shall be a positive value.
   * 
* * int32 ratedU = 4; * @return The ratedU. */ @java.lang.Override public int getRatedU() { return ratedU_; } public static final int P_FIELD_NUMBER = 5; private double p_ = 0D; /** *
   **
   * Active power injection in watts. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution.
   * 
* * double p = 5; * @return The p. */ @java.lang.Override public double getP() { return p_; } public static final int Q_FIELD_NUMBER = 6; private double q_ = 0D; /** *
   **
   * Reactive power injection in VAr. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution.
   * 
* * double q = 6; * @return The q. */ @java.lang.Override public double getQ() { return q_; } 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, getRce()); } if (java.lang.Double.doubleToRawLongBits(ratedPowerFactor_) != 0) { output.writeDouble(2, ratedPowerFactor_); } if (java.lang.Double.doubleToRawLongBits(ratedS_) != 0) { output.writeDouble(3, ratedS_); } if (ratedU_ != 0) { output.writeInt32(4, ratedU_); } if (java.lang.Double.doubleToRawLongBits(p_) != 0) { output.writeDouble(5, p_); } if (java.lang.Double.doubleToRawLongBits(q_) != 0) { output.writeDouble(6, q_); } 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, getRce()); } if (java.lang.Double.doubleToRawLongBits(ratedPowerFactor_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, ratedPowerFactor_); } if (java.lang.Double.doubleToRawLongBits(ratedS_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, ratedS_); } if (ratedU_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, ratedU_); } if (java.lang.Double.doubleToRawLongBits(p_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, p_); } if (java.lang.Double.doubleToRawLongBits(q_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(6, q_); } 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.RotatingMachine)) { return super.equals(obj); } com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine other = (com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine) obj; if (hasRce() != other.hasRce()) return false; if (hasRce()) { if (!getRce() .equals(other.getRce())) return false; } if (java.lang.Double.doubleToLongBits(getRatedPowerFactor()) != java.lang.Double.doubleToLongBits( other.getRatedPowerFactor())) return false; if (java.lang.Double.doubleToLongBits(getRatedS()) != java.lang.Double.doubleToLongBits( other.getRatedS())) return false; if (getRatedU() != other.getRatedU()) return false; if (java.lang.Double.doubleToLongBits(getP()) != java.lang.Double.doubleToLongBits( other.getP())) return false; if (java.lang.Double.doubleToLongBits(getQ()) != java.lang.Double.doubleToLongBits( other.getQ())) return false; 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 (hasRce()) { hash = (37 * hash) + RCE_FIELD_NUMBER; hash = (53 * hash) + getRce().hashCode(); } hash = (37 * hash) + RATEDPOWERFACTOR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRatedPowerFactor())); hash = (37 * hash) + RATEDS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRatedS())); hash = (37 * hash) + RATEDU_FIELD_NUMBER; hash = (53 * hash) + getRatedU(); hash = (37 * hash) + P_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getP())); hash = (37 * hash) + Q_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getQ())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine 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.RotatingMachine parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine 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.RotatingMachine parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine 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.RotatingMachine 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.RotatingMachine 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.RotatingMachine 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.RotatingMachine 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.RotatingMachine 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.RotatingMachine 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.RotatingMachine 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; } /** *
   **
   * A rotating machine which may be used as a generator or motor.
   * 
* * Protobuf type {@code zepben.protobuf.cim.iec61970.base.wires.RotatingMachine} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:zepben.protobuf.cim.iec61970.base.wires.RotatingMachine) com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachineOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachineOuterClass.internal_static_zepben_protobuf_cim_iec61970_base_wires_RotatingMachine_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachineOuterClass.internal_static_zepben_protobuf_cim_iec61970_base_wires_RotatingMachine_fieldAccessorTable .ensureFieldAccessorsInitialized( com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine.class, com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine.Builder.class); } // Construct using com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRceFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; rce_ = null; if (rceBuilder_ != null) { rceBuilder_.dispose(); rceBuilder_ = null; } ratedPowerFactor_ = 0D; ratedS_ = 0D; ratedU_ = 0; p_ = 0D; q_ = 0D; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachineOuterClass.internal_static_zepben_protobuf_cim_iec61970_base_wires_RotatingMachine_descriptor; } @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine getDefaultInstanceForType() { return com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine.getDefaultInstance(); } @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine build() { com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine buildPartial() { com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine result = new com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.rce_ = rceBuilder_ == null ? rce_ : rceBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.ratedPowerFactor_ = ratedPowerFactor_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.ratedS_ = ratedS_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.ratedU_ = ratedU_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.p_ = p_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.q_ = q_; } result.bitField0_ |= to_bitField0_; } @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.RotatingMachine) { return mergeFrom((com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine other) { if (other == com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine.getDefaultInstance()) return this; if (other.hasRce()) { mergeRce(other.getRce()); } if (other.getRatedPowerFactor() != 0D) { setRatedPowerFactor(other.getRatedPowerFactor()); } if (other.getRatedS() != 0D) { setRatedS(other.getRatedS()); } if (other.getRatedU() != 0) { setRatedU(other.getRatedU()); } if (other.getP() != 0D) { setP(other.getP()); } if (other.getQ() != 0D) { setQ(other.getQ()); } 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( getRceFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 17: { ratedPowerFactor_ = input.readDouble(); bitField0_ |= 0x00000002; break; } // case 17 case 25: { ratedS_ = input.readDouble(); bitField0_ |= 0x00000004; break; } // case 25 case 32: { ratedU_ = input.readInt32(); bitField0_ |= 0x00000008; break; } // case 32 case 41: { p_ = input.readDouble(); bitField0_ |= 0x00000010; break; } // case 41 case 49: { q_ = input.readDouble(); bitField0_ |= 0x00000020; break; } // case 49 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 bitField0_; private com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq rce_; private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq, com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq.Builder, com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEqOrBuilder> rceBuilder_; /** *
     **
     * The RegulatingCondEq fields for this RotatingMachine.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq rce = 1; * @return Whether the rce field is set. */ public boolean hasRce() { return ((bitField0_ & 0x00000001) != 0); } /** *
     **
     * The RegulatingCondEq fields for this RotatingMachine.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq rce = 1; * @return The rce. */ public com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq getRce() { if (rceBuilder_ == null) { return rce_ == null ? com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq.getDefaultInstance() : rce_; } else { return rceBuilder_.getMessage(); } } /** *
     **
     * The RegulatingCondEq fields for this RotatingMachine.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq rce = 1; */ public Builder setRce(com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq value) { if (rceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rce_ = value; } else { rceBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * The RegulatingCondEq fields for this RotatingMachine.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq rce = 1; */ public Builder setRce( com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq.Builder builderForValue) { if (rceBuilder_ == null) { rce_ = builderForValue.build(); } else { rceBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * The RegulatingCondEq fields for this RotatingMachine.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq rce = 1; */ public Builder mergeRce(com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq value) { if (rceBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && rce_ != null && rce_ != com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq.getDefaultInstance()) { getRceBuilder().mergeFrom(value); } else { rce_ = value; } } else { rceBuilder_.mergeFrom(value); } if (rce_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     **
     * The RegulatingCondEq fields for this RotatingMachine.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq rce = 1; */ public Builder clearRce() { bitField0_ = (bitField0_ & ~0x00000001); rce_ = null; if (rceBuilder_ != null) { rceBuilder_.dispose(); rceBuilder_ = null; } onChanged(); return this; } /** *
     **
     * The RegulatingCondEq fields for this RotatingMachine.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq rce = 1; */ public com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq.Builder getRceBuilder() { bitField0_ |= 0x00000001; onChanged(); return getRceFieldBuilder().getBuilder(); } /** *
     **
     * The RegulatingCondEq fields for this RotatingMachine.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq rce = 1; */ public com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEqOrBuilder getRceOrBuilder() { if (rceBuilder_ != null) { return rceBuilder_.getMessageOrBuilder(); } else { return rce_ == null ? com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq.getDefaultInstance() : rce_; } } /** *
     **
     * The RegulatingCondEq fields for this RotatingMachine.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq rce = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq, com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq.Builder, com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEqOrBuilder> getRceFieldBuilder() { if (rceBuilder_ == null) { rceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq, com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEq.Builder, com.zepben.protobuf.cim.iec61970.base.wires.RegulatingCondEqOrBuilder>( getRce(), getParentForChildren(), isClean()); rce_ = null; } return rceBuilder_; } private double ratedPowerFactor_ ; /** *
     **
     * Power factor (nameplate data). It is primarily used for short circuit data exchange according to IEC 60909. The attribute cannot be a negative value.
     * 
* * double ratedPowerFactor = 2; * @return The ratedPowerFactor. */ @java.lang.Override public double getRatedPowerFactor() { return ratedPowerFactor_; } /** *
     **
     * Power factor (nameplate data). It is primarily used for short circuit data exchange according to IEC 60909. The attribute cannot be a negative value.
     * 
* * double ratedPowerFactor = 2; * @param value The ratedPowerFactor to set. * @return This builder for chaining. */ public Builder setRatedPowerFactor(double value) { ratedPowerFactor_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     **
     * Power factor (nameplate data). It is primarily used for short circuit data exchange according to IEC 60909. The attribute cannot be a negative value.
     * 
* * double ratedPowerFactor = 2; * @return This builder for chaining. */ public Builder clearRatedPowerFactor() { bitField0_ = (bitField0_ & ~0x00000002); ratedPowerFactor_ = 0D; onChanged(); return this; } private double ratedS_ ; /** *
     **
     * Nameplate apparent power rating for the unit in volt-amperes (VA). The attribute shall have a positive value.
     * 
* * double ratedS = 3; * @return The ratedS. */ @java.lang.Override public double getRatedS() { return ratedS_; } /** *
     **
     * Nameplate apparent power rating for the unit in volt-amperes (VA). The attribute shall have a positive value.
     * 
* * double ratedS = 3; * @param value The ratedS to set. * @return This builder for chaining. */ public Builder setRatedS(double value) { ratedS_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     **
     * Nameplate apparent power rating for the unit in volt-amperes (VA). The attribute shall have a positive value.
     * 
* * double ratedS = 3; * @return This builder for chaining. */ public Builder clearRatedS() { bitField0_ = (bitField0_ & ~0x00000004); ratedS_ = 0D; onChanged(); return this; } private int ratedU_ ; /** *
     **
     * Rated voltage in volts (nameplate data, Ur in IEC 60909-0). It is primarily used for short circuit data exchange according to IEC 60909. The attribute shall be a positive value.
     * 
* * int32 ratedU = 4; * @return The ratedU. */ @java.lang.Override public int getRatedU() { return ratedU_; } /** *
     **
     * Rated voltage in volts (nameplate data, Ur in IEC 60909-0). It is primarily used for short circuit data exchange according to IEC 60909. The attribute shall be a positive value.
     * 
* * int32 ratedU = 4; * @param value The ratedU to set. * @return This builder for chaining. */ public Builder setRatedU(int value) { ratedU_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     **
     * Rated voltage in volts (nameplate data, Ur in IEC 60909-0). It is primarily used for short circuit data exchange according to IEC 60909. The attribute shall be a positive value.
     * 
* * int32 ratedU = 4; * @return This builder for chaining. */ public Builder clearRatedU() { bitField0_ = (bitField0_ & ~0x00000008); ratedU_ = 0; onChanged(); return this; } private double p_ ; /** *
     **
     * Active power injection in watts. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution.
     * 
* * double p = 5; * @return The p. */ @java.lang.Override public double getP() { return p_; } /** *
     **
     * Active power injection in watts. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution.
     * 
* * double p = 5; * @param value The p to set. * @return This builder for chaining. */ public Builder setP(double value) { p_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     **
     * Active power injection in watts. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution.
     * 
* * double p = 5; * @return This builder for chaining. */ public Builder clearP() { bitField0_ = (bitField0_ & ~0x00000010); p_ = 0D; onChanged(); return this; } private double q_ ; /** *
     **
     * Reactive power injection in VAr. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution.
     * 
* * double q = 6; * @return The q. */ @java.lang.Override public double getQ() { return q_; } /** *
     **
     * Reactive power injection in VAr. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution.
     * 
* * double q = 6; * @param value The q to set. * @return This builder for chaining. */ public Builder setQ(double value) { q_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     **
     * Reactive power injection in VAr. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution.
     * 
* * double q = 6; * @return This builder for chaining. */ public Builder clearQ() { bitField0_ = (bitField0_ & ~0x00000020); q_ = 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.RotatingMachine) } // @@protoc_insertion_point(class_scope:zepben.protobuf.cim.iec61970.base.wires.RotatingMachine) private static final com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine(); } public static com.zepben.protobuf.cim.iec61970.base.wires.RotatingMachine getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RotatingMachine 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.RotatingMachine getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy