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

com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo Maven / Gradle / Ivy

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

package com.zepben.protobuf.cim.iec61968.assetinfo;

/**
 * 
 **
 * Transformer end data.
 * 
* * Protobuf type {@code zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo} */ public final class TransformerEndInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo) TransformerEndInfoOrBuilder { private static final long serialVersionUID = 0L; // Use TransformerEndInfo.newBuilder() to construct. private TransformerEndInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TransformerEndInfo() { connectionKind_ = 0; transformerTankInfoMRID_ = ""; transformerStarImpedanceMRID_ = ""; energisedEndNoLoadTestsMRID_ = ""; energisedEndShortCircuitTestsMRID_ = ""; groundedEndShortCircuitTestsMRID_ = ""; openEndOpenCircuitTestsMRID_ = ""; energisedEndOpenCircuitTestsMRID_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TransformerEndInfo(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfoOuterClass.internal_static_zepben_protobuf_cim_iec61968_assetinfo_TransformerEndInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfoOuterClass.internal_static_zepben_protobuf_cim_iec61968_assetinfo_TransformerEndInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.class, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.Builder.class); } private int bitField0_; public static final int AI_FIELD_NUMBER = 1; private com.zepben.protobuf.cim.iec61968.assets.AssetInfo ai_; /** *
   **
   * AssetInfo fields for this TransformerEndInfo
   * 
* * .zepben.protobuf.cim.iec61968.assets.AssetInfo ai = 1; * @return Whether the ai field is set. */ @java.lang.Override public boolean hasAi() { return ((bitField0_ & 0x00000001) != 0); } /** *
   **
   * AssetInfo fields for this TransformerEndInfo
   * 
* * .zepben.protobuf.cim.iec61968.assets.AssetInfo ai = 1; * @return The ai. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assets.AssetInfo getAi() { return ai_ == null ? com.zepben.protobuf.cim.iec61968.assets.AssetInfo.getDefaultInstance() : ai_; } /** *
   **
   * AssetInfo fields for this TransformerEndInfo
   * 
* * .zepben.protobuf.cim.iec61968.assets.AssetInfo ai = 1; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assets.AssetInfoOrBuilder getAiOrBuilder() { return ai_ == null ? com.zepben.protobuf.cim.iec61968.assets.AssetInfo.getDefaultInstance() : ai_; } public static final int CONNECTIONKIND_FIELD_NUMBER = 2; private int connectionKind_ = 0; /** *
   **
   * Kind of connection.
   * 
* * .zepben.protobuf.cim.iec61970.base.wires.winding.WindingConnection connectionKind = 2; * @return The enum numeric value on the wire for connectionKind. */ @java.lang.Override public int getConnectionKindValue() { return connectionKind_; } /** *
   **
   * Kind of connection.
   * 
* * .zepben.protobuf.cim.iec61970.base.wires.winding.WindingConnection connectionKind = 2; * @return The connectionKind. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.WindingConnection getConnectionKind() { com.zepben.protobuf.cim.iec61970.base.wires.WindingConnection result = com.zepben.protobuf.cim.iec61970.base.wires.WindingConnection.forNumber(connectionKind_); return result == null ? com.zepben.protobuf.cim.iec61970.base.wires.WindingConnection.UNRECOGNIZED : result; } public static final int EMERGENCYS_FIELD_NUMBER = 3; private int emergencyS_ = 0; /** *
   **
   * Apparent power that the winding can carry under emergency conditions (also called long-term emergency power).
   * 
* * int32 emergencyS = 3; * @return The emergencyS. */ @java.lang.Override public int getEmergencyS() { return emergencyS_; } public static final int ENDNUMBER_FIELD_NUMBER = 4; private int endNumber_ = 0; /** *
   **
   * Number for this transformer end, corresponding to the end's order in the PowerTransformer.vectorGroup attribute.
   * Highest voltage winding should be 1.
   * 
* * int32 endNumber = 4; * @return The endNumber. */ @java.lang.Override public int getEndNumber() { return endNumber_; } public static final int INSULATIONU_FIELD_NUMBER = 5; private int insulationU_ = 0; /** *
   **
   * Basic insulation level voltage rating.
   * 
* * int32 insulationU = 5; * @return The insulationU. */ @java.lang.Override public int getInsulationU() { return insulationU_; } public static final int PHASEANGLECLOCK_FIELD_NUMBER = 6; private int phaseAngleClock_ = 0; /** *
   **
   * Winding phase angle where 360 degrees are represented with clock hours, so the valid values are {0, ..., 11}.
   * For example, to express the second winding in code 'Dyn11',
   * set attributes as follows: 'endNumber'=2, 'connectionKind' = Yn and 'phaseAngleClock' = 11.
   * 
* * int32 phaseAngleClock = 6; * @return The phaseAngleClock. */ @java.lang.Override public int getPhaseAngleClock() { return phaseAngleClock_; } public static final int R_FIELD_NUMBER = 7; private double r_ = 0D; /** *
   **
   * DC resistance.
   * 
* * double r = 7; * @return The r. */ @java.lang.Override public double getR() { return r_; } public static final int RATEDS_FIELD_NUMBER = 8; private int ratedS_ = 0; /** *
   **
   * Normal apparent power rating.
   * 
* * int32 ratedS = 8; * @return The ratedS. */ @java.lang.Override public int getRatedS() { return ratedS_; } public static final int RATEDU_FIELD_NUMBER = 9; private int ratedU_ = 0; /** *
   **
   * Rated voltage: phase-phase for three-phase windings, and either phase-phase
   * or phase-neutral for single-phase windings.
   * 
* * int32 ratedU = 9; * @return The ratedU. */ @java.lang.Override public int getRatedU() { return ratedU_; } public static final int SHORTTERMS_FIELD_NUMBER = 10; private int shortTermS_ = 0; /** *
   **
   * Apparent power that this winding can carry for a short period of time (in emergency).
   * 
* * int32 shortTermS = 10; * @return The shortTermS. */ @java.lang.Override public int getShortTermS() { return shortTermS_; } public static final int TRANSFORMERTANKINFOMRID_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object transformerTankInfoMRID_ = ""; /** *
   **
   * Transformer tank data that this end description is part of.
   * 
* * string transformerTankInfoMRID = 11; * @return The transformerTankInfoMRID. */ @java.lang.Override public java.lang.String getTransformerTankInfoMRID() { java.lang.Object ref = transformerTankInfoMRID_; 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(); transformerTankInfoMRID_ = s; return s; } } /** *
   **
   * Transformer tank data that this end description is part of.
   * 
* * string transformerTankInfoMRID = 11; * @return The bytes for transformerTankInfoMRID. */ @java.lang.Override public com.google.protobuf.ByteString getTransformerTankInfoMRIDBytes() { java.lang.Object ref = transformerTankInfoMRID_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transformerTankInfoMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TRANSFORMERSTARIMPEDANCEMRID_FIELD_NUMBER = 12; @SuppressWarnings("serial") private volatile java.lang.Object transformerStarImpedanceMRID_ = ""; /** *
   **
   * Transformer star impedance calculated from this transformer end datasheet.
   * 
* * string transformerStarImpedanceMRID = 12; * @return The transformerStarImpedanceMRID. */ @java.lang.Override public java.lang.String getTransformerStarImpedanceMRID() { java.lang.Object ref = transformerStarImpedanceMRID_; 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(); transformerStarImpedanceMRID_ = s; return s; } } /** *
   **
   * Transformer star impedance calculated from this transformer end datasheet.
   * 
* * string transformerStarImpedanceMRID = 12; * @return The bytes for transformerStarImpedanceMRID. */ @java.lang.Override public com.google.protobuf.ByteString getTransformerStarImpedanceMRIDBytes() { java.lang.Object ref = transformerStarImpedanceMRID_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transformerStarImpedanceMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENERGISEDENDNOLOADTESTSMRID_FIELD_NUMBER = 13; @SuppressWarnings("serial") private volatile java.lang.Object energisedEndNoLoadTestsMRID_ = ""; /** *
   **
   * All no-load test measurements in which this transformer end was energised.
   * 
* * string energisedEndNoLoadTestsMRID = 13; * @return The energisedEndNoLoadTestsMRID. */ @java.lang.Override public java.lang.String getEnergisedEndNoLoadTestsMRID() { java.lang.Object ref = energisedEndNoLoadTestsMRID_; 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(); energisedEndNoLoadTestsMRID_ = s; return s; } } /** *
   **
   * All no-load test measurements in which this transformer end was energised.
   * 
* * string energisedEndNoLoadTestsMRID = 13; * @return The bytes for energisedEndNoLoadTestsMRID. */ @java.lang.Override public com.google.protobuf.ByteString getEnergisedEndNoLoadTestsMRIDBytes() { java.lang.Object ref = energisedEndNoLoadTestsMRID_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); energisedEndNoLoadTestsMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENERGISEDENDSHORTCIRCUITTESTSMRID_FIELD_NUMBER = 14; @SuppressWarnings("serial") private volatile java.lang.Object energisedEndShortCircuitTestsMRID_ = ""; /** *
   **
   * All short-circuit test measurements in which this transformer end was short-circuited.
   * 
* * string energisedEndShortCircuitTestsMRID = 14; * @return The energisedEndShortCircuitTestsMRID. */ @java.lang.Override public java.lang.String getEnergisedEndShortCircuitTestsMRID() { java.lang.Object ref = energisedEndShortCircuitTestsMRID_; 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(); energisedEndShortCircuitTestsMRID_ = s; return s; } } /** *
   **
   * All short-circuit test measurements in which this transformer end was short-circuited.
   * 
* * string energisedEndShortCircuitTestsMRID = 14; * @return The bytes for energisedEndShortCircuitTestsMRID. */ @java.lang.Override public com.google.protobuf.ByteString getEnergisedEndShortCircuitTestsMRIDBytes() { java.lang.Object ref = energisedEndShortCircuitTestsMRID_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); energisedEndShortCircuitTestsMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GROUNDEDENDSHORTCIRCUITTESTSMRID_FIELD_NUMBER = 15; @SuppressWarnings("serial") private volatile java.lang.Object groundedEndShortCircuitTestsMRID_ = ""; /** *
   **
   * All short-circuit test measurements in which this transformer end was energised.
   * 
* * string groundedEndShortCircuitTestsMRID = 15; * @return The groundedEndShortCircuitTestsMRID. */ @java.lang.Override public java.lang.String getGroundedEndShortCircuitTestsMRID() { java.lang.Object ref = groundedEndShortCircuitTestsMRID_; 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(); groundedEndShortCircuitTestsMRID_ = s; return s; } } /** *
   **
   * All short-circuit test measurements in which this transformer end was energised.
   * 
* * string groundedEndShortCircuitTestsMRID = 15; * @return The bytes for groundedEndShortCircuitTestsMRID. */ @java.lang.Override public com.google.protobuf.ByteString getGroundedEndShortCircuitTestsMRIDBytes() { java.lang.Object ref = groundedEndShortCircuitTestsMRID_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); groundedEndShortCircuitTestsMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPENENDOPENCIRCUITTESTSMRID_FIELD_NUMBER = 16; @SuppressWarnings("serial") private volatile java.lang.Object openEndOpenCircuitTestsMRID_ = ""; /** *
   **
   * All open-circuit test measurements in which this transformer end was not excited.
   * 
* * string openEndOpenCircuitTestsMRID = 16; * @return The openEndOpenCircuitTestsMRID. */ @java.lang.Override public java.lang.String getOpenEndOpenCircuitTestsMRID() { java.lang.Object ref = openEndOpenCircuitTestsMRID_; 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(); openEndOpenCircuitTestsMRID_ = s; return s; } } /** *
   **
   * All open-circuit test measurements in which this transformer end was not excited.
   * 
* * string openEndOpenCircuitTestsMRID = 16; * @return The bytes for openEndOpenCircuitTestsMRID. */ @java.lang.Override public com.google.protobuf.ByteString getOpenEndOpenCircuitTestsMRIDBytes() { java.lang.Object ref = openEndOpenCircuitTestsMRID_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); openEndOpenCircuitTestsMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENERGISEDENDOPENCIRCUITTESTSMRID_FIELD_NUMBER = 17; @SuppressWarnings("serial") private volatile java.lang.Object energisedEndOpenCircuitTestsMRID_ = ""; /** *
   **
   * All open-circuit test measurements in which this transformer end was excited.
   * 
* * string energisedEndOpenCircuitTestsMRID = 17; * @return The energisedEndOpenCircuitTestsMRID. */ @java.lang.Override public java.lang.String getEnergisedEndOpenCircuitTestsMRID() { java.lang.Object ref = energisedEndOpenCircuitTestsMRID_; 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(); energisedEndOpenCircuitTestsMRID_ = s; return s; } } /** *
   **
   * All open-circuit test measurements in which this transformer end was excited.
   * 
* * string energisedEndOpenCircuitTestsMRID = 17; * @return The bytes for energisedEndOpenCircuitTestsMRID. */ @java.lang.Override public com.google.protobuf.ByteString getEnergisedEndOpenCircuitTestsMRIDBytes() { java.lang.Object ref = energisedEndOpenCircuitTestsMRID_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); energisedEndOpenCircuitTestsMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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, getAi()); } if (connectionKind_ != com.zepben.protobuf.cim.iec61970.base.wires.WindingConnection.UNKNOWN_WINDING.getNumber()) { output.writeEnum(2, connectionKind_); } if (emergencyS_ != 0) { output.writeInt32(3, emergencyS_); } if (endNumber_ != 0) { output.writeInt32(4, endNumber_); } if (insulationU_ != 0) { output.writeInt32(5, insulationU_); } if (phaseAngleClock_ != 0) { output.writeInt32(6, phaseAngleClock_); } if (java.lang.Double.doubleToRawLongBits(r_) != 0) { output.writeDouble(7, r_); } if (ratedS_ != 0) { output.writeInt32(8, ratedS_); } if (ratedU_ != 0) { output.writeInt32(9, ratedU_); } if (shortTermS_ != 0) { output.writeInt32(10, shortTermS_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transformerTankInfoMRID_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, transformerTankInfoMRID_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transformerStarImpedanceMRID_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, transformerStarImpedanceMRID_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(energisedEndNoLoadTestsMRID_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, energisedEndNoLoadTestsMRID_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(energisedEndShortCircuitTestsMRID_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, energisedEndShortCircuitTestsMRID_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groundedEndShortCircuitTestsMRID_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, groundedEndShortCircuitTestsMRID_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openEndOpenCircuitTestsMRID_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, openEndOpenCircuitTestsMRID_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(energisedEndOpenCircuitTestsMRID_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, energisedEndOpenCircuitTestsMRID_); } 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, getAi()); } if (connectionKind_ != com.zepben.protobuf.cim.iec61970.base.wires.WindingConnection.UNKNOWN_WINDING.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, connectionKind_); } if (emergencyS_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, emergencyS_); } if (endNumber_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, endNumber_); } if (insulationU_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, insulationU_); } if (phaseAngleClock_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, phaseAngleClock_); } if (java.lang.Double.doubleToRawLongBits(r_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, r_); } if (ratedS_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, ratedS_); } if (ratedU_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, ratedU_); } if (shortTermS_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(10, shortTermS_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transformerTankInfoMRID_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, transformerTankInfoMRID_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transformerStarImpedanceMRID_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, transformerStarImpedanceMRID_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(energisedEndNoLoadTestsMRID_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, energisedEndNoLoadTestsMRID_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(energisedEndShortCircuitTestsMRID_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, energisedEndShortCircuitTestsMRID_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groundedEndShortCircuitTestsMRID_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, groundedEndShortCircuitTestsMRID_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openEndOpenCircuitTestsMRID_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, openEndOpenCircuitTestsMRID_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(energisedEndOpenCircuitTestsMRID_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, energisedEndOpenCircuitTestsMRID_); } 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.iec61968.assetinfo.TransformerEndInfo)) { return super.equals(obj); } com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo other = (com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo) obj; if (hasAi() != other.hasAi()) return false; if (hasAi()) { if (!getAi() .equals(other.getAi())) return false; } if (connectionKind_ != other.connectionKind_) return false; if (getEmergencyS() != other.getEmergencyS()) return false; if (getEndNumber() != other.getEndNumber()) return false; if (getInsulationU() != other.getInsulationU()) return false; if (getPhaseAngleClock() != other.getPhaseAngleClock()) return false; if (java.lang.Double.doubleToLongBits(getR()) != java.lang.Double.doubleToLongBits( other.getR())) return false; if (getRatedS() != other.getRatedS()) return false; if (getRatedU() != other.getRatedU()) return false; if (getShortTermS() != other.getShortTermS()) return false; if (!getTransformerTankInfoMRID() .equals(other.getTransformerTankInfoMRID())) return false; if (!getTransformerStarImpedanceMRID() .equals(other.getTransformerStarImpedanceMRID())) return false; if (!getEnergisedEndNoLoadTestsMRID() .equals(other.getEnergisedEndNoLoadTestsMRID())) return false; if (!getEnergisedEndShortCircuitTestsMRID() .equals(other.getEnergisedEndShortCircuitTestsMRID())) return false; if (!getGroundedEndShortCircuitTestsMRID() .equals(other.getGroundedEndShortCircuitTestsMRID())) return false; if (!getOpenEndOpenCircuitTestsMRID() .equals(other.getOpenEndOpenCircuitTestsMRID())) return false; if (!getEnergisedEndOpenCircuitTestsMRID() .equals(other.getEnergisedEndOpenCircuitTestsMRID())) 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 (hasAi()) { hash = (37 * hash) + AI_FIELD_NUMBER; hash = (53 * hash) + getAi().hashCode(); } hash = (37 * hash) + CONNECTIONKIND_FIELD_NUMBER; hash = (53 * hash) + connectionKind_; hash = (37 * hash) + EMERGENCYS_FIELD_NUMBER; hash = (53 * hash) + getEmergencyS(); hash = (37 * hash) + ENDNUMBER_FIELD_NUMBER; hash = (53 * hash) + getEndNumber(); hash = (37 * hash) + INSULATIONU_FIELD_NUMBER; hash = (53 * hash) + getInsulationU(); hash = (37 * hash) + PHASEANGLECLOCK_FIELD_NUMBER; hash = (53 * hash) + getPhaseAngleClock(); hash = (37 * hash) + R_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getR())); hash = (37 * hash) + RATEDS_FIELD_NUMBER; hash = (53 * hash) + getRatedS(); hash = (37 * hash) + RATEDU_FIELD_NUMBER; hash = (53 * hash) + getRatedU(); hash = (37 * hash) + SHORTTERMS_FIELD_NUMBER; hash = (53 * hash) + getShortTermS(); hash = (37 * hash) + TRANSFORMERTANKINFOMRID_FIELD_NUMBER; hash = (53 * hash) + getTransformerTankInfoMRID().hashCode(); hash = (37 * hash) + TRANSFORMERSTARIMPEDANCEMRID_FIELD_NUMBER; hash = (53 * hash) + getTransformerStarImpedanceMRID().hashCode(); hash = (37 * hash) + ENERGISEDENDNOLOADTESTSMRID_FIELD_NUMBER; hash = (53 * hash) + getEnergisedEndNoLoadTestsMRID().hashCode(); hash = (37 * hash) + ENERGISEDENDSHORTCIRCUITTESTSMRID_FIELD_NUMBER; hash = (53 * hash) + getEnergisedEndShortCircuitTestsMRID().hashCode(); hash = (37 * hash) + GROUNDEDENDSHORTCIRCUITTESTSMRID_FIELD_NUMBER; hash = (53 * hash) + getGroundedEndShortCircuitTestsMRID().hashCode(); hash = (37 * hash) + OPENENDOPENCIRCUITTESTSMRID_FIELD_NUMBER; hash = (53 * hash) + getOpenEndOpenCircuitTestsMRID().hashCode(); hash = (37 * hash) + ENERGISEDENDOPENCIRCUITTESTSMRID_FIELD_NUMBER; hash = (53 * hash) + getEnergisedEndOpenCircuitTestsMRID().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo 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.iec61968.assetinfo.TransformerEndInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo 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.iec61968.assetinfo.TransformerEndInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo 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.iec61968.assetinfo.TransformerEndInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo 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.iec61968.assetinfo.TransformerEndInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo 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.iec61968.assetinfo.TransformerEndInfo 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; } /** *
   **
   * Transformer end data.
   * 
* * Protobuf type {@code zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo) com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfoOuterClass.internal_static_zepben_protobuf_cim_iec61968_assetinfo_TransformerEndInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfoOuterClass.internal_static_zepben_protobuf_cim_iec61968_assetinfo_TransformerEndInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.class, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.Builder.class); } // Construct using com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAiFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; ai_ = null; if (aiBuilder_ != null) { aiBuilder_.dispose(); aiBuilder_ = null; } connectionKind_ = 0; emergencyS_ = 0; endNumber_ = 0; insulationU_ = 0; phaseAngleClock_ = 0; r_ = 0D; ratedS_ = 0; ratedU_ = 0; shortTermS_ = 0; transformerTankInfoMRID_ = ""; transformerStarImpedanceMRID_ = ""; energisedEndNoLoadTestsMRID_ = ""; energisedEndShortCircuitTestsMRID_ = ""; groundedEndShortCircuitTestsMRID_ = ""; openEndOpenCircuitTestsMRID_ = ""; energisedEndOpenCircuitTestsMRID_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfoOuterClass.internal_static_zepben_protobuf_cim_iec61968_assetinfo_TransformerEndInfo_descriptor; } @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo getDefaultInstanceForType() { return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.getDefaultInstance(); } @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo build() { com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo buildPartial() { com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo result = new com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.ai_ = aiBuilder_ == null ? ai_ : aiBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.connectionKind_ = connectionKind_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.emergencyS_ = emergencyS_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.endNumber_ = endNumber_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.insulationU_ = insulationU_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.phaseAngleClock_ = phaseAngleClock_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.r_ = r_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.ratedS_ = ratedS_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.ratedU_ = ratedU_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.shortTermS_ = shortTermS_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.transformerTankInfoMRID_ = transformerTankInfoMRID_; } if (((from_bitField0_ & 0x00000800) != 0)) { result.transformerStarImpedanceMRID_ = transformerStarImpedanceMRID_; } if (((from_bitField0_ & 0x00001000) != 0)) { result.energisedEndNoLoadTestsMRID_ = energisedEndNoLoadTestsMRID_; } if (((from_bitField0_ & 0x00002000) != 0)) { result.energisedEndShortCircuitTestsMRID_ = energisedEndShortCircuitTestsMRID_; } if (((from_bitField0_ & 0x00004000) != 0)) { result.groundedEndShortCircuitTestsMRID_ = groundedEndShortCircuitTestsMRID_; } if (((from_bitField0_ & 0x00008000) != 0)) { result.openEndOpenCircuitTestsMRID_ = openEndOpenCircuitTestsMRID_; } if (((from_bitField0_ & 0x00010000) != 0)) { result.energisedEndOpenCircuitTestsMRID_ = energisedEndOpenCircuitTestsMRID_; } 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.iec61968.assetinfo.TransformerEndInfo) { return mergeFrom((com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo other) { if (other == com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.getDefaultInstance()) return this; if (other.hasAi()) { mergeAi(other.getAi()); } if (other.connectionKind_ != 0) { setConnectionKindValue(other.getConnectionKindValue()); } if (other.getEmergencyS() != 0) { setEmergencyS(other.getEmergencyS()); } if (other.getEndNumber() != 0) { setEndNumber(other.getEndNumber()); } if (other.getInsulationU() != 0) { setInsulationU(other.getInsulationU()); } if (other.getPhaseAngleClock() != 0) { setPhaseAngleClock(other.getPhaseAngleClock()); } if (other.getR() != 0D) { setR(other.getR()); } if (other.getRatedS() != 0) { setRatedS(other.getRatedS()); } if (other.getRatedU() != 0) { setRatedU(other.getRatedU()); } if (other.getShortTermS() != 0) { setShortTermS(other.getShortTermS()); } if (!other.getTransformerTankInfoMRID().isEmpty()) { transformerTankInfoMRID_ = other.transformerTankInfoMRID_; bitField0_ |= 0x00000400; onChanged(); } if (!other.getTransformerStarImpedanceMRID().isEmpty()) { transformerStarImpedanceMRID_ = other.transformerStarImpedanceMRID_; bitField0_ |= 0x00000800; onChanged(); } if (!other.getEnergisedEndNoLoadTestsMRID().isEmpty()) { energisedEndNoLoadTestsMRID_ = other.energisedEndNoLoadTestsMRID_; bitField0_ |= 0x00001000; onChanged(); } if (!other.getEnergisedEndShortCircuitTestsMRID().isEmpty()) { energisedEndShortCircuitTestsMRID_ = other.energisedEndShortCircuitTestsMRID_; bitField0_ |= 0x00002000; onChanged(); } if (!other.getGroundedEndShortCircuitTestsMRID().isEmpty()) { groundedEndShortCircuitTestsMRID_ = other.groundedEndShortCircuitTestsMRID_; bitField0_ |= 0x00004000; onChanged(); } if (!other.getOpenEndOpenCircuitTestsMRID().isEmpty()) { openEndOpenCircuitTestsMRID_ = other.openEndOpenCircuitTestsMRID_; bitField0_ |= 0x00008000; onChanged(); } if (!other.getEnergisedEndOpenCircuitTestsMRID().isEmpty()) { energisedEndOpenCircuitTestsMRID_ = other.energisedEndOpenCircuitTestsMRID_; bitField0_ |= 0x00010000; onChanged(); } 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( getAiFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { connectionKind_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { emergencyS_ = input.readInt32(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { endNumber_ = input.readInt32(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { insulationU_ = input.readInt32(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { phaseAngleClock_ = input.readInt32(); bitField0_ |= 0x00000020; break; } // case 48 case 57: { r_ = input.readDouble(); bitField0_ |= 0x00000040; break; } // case 57 case 64: { ratedS_ = input.readInt32(); bitField0_ |= 0x00000080; break; } // case 64 case 72: { ratedU_ = input.readInt32(); bitField0_ |= 0x00000100; break; } // case 72 case 80: { shortTermS_ = input.readInt32(); bitField0_ |= 0x00000200; break; } // case 80 case 90: { transformerTankInfoMRID_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000400; break; } // case 90 case 98: { transformerStarImpedanceMRID_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000800; break; } // case 98 case 106: { energisedEndNoLoadTestsMRID_ = input.readStringRequireUtf8(); bitField0_ |= 0x00001000; break; } // case 106 case 114: { energisedEndShortCircuitTestsMRID_ = input.readStringRequireUtf8(); bitField0_ |= 0x00002000; break; } // case 114 case 122: { groundedEndShortCircuitTestsMRID_ = input.readStringRequireUtf8(); bitField0_ |= 0x00004000; break; } // case 122 case 130: { openEndOpenCircuitTestsMRID_ = input.readStringRequireUtf8(); bitField0_ |= 0x00008000; break; } // case 130 case 138: { energisedEndOpenCircuitTestsMRID_ = input.readStringRequireUtf8(); bitField0_ |= 0x00010000; break; } // case 138 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.iec61968.assets.AssetInfo ai_; private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assets.AssetInfo, com.zepben.protobuf.cim.iec61968.assets.AssetInfo.Builder, com.zepben.protobuf.cim.iec61968.assets.AssetInfoOrBuilder> aiBuilder_; /** *
     **
     * AssetInfo fields for this TransformerEndInfo
     * 
* * .zepben.protobuf.cim.iec61968.assets.AssetInfo ai = 1; * @return Whether the ai field is set. */ public boolean hasAi() { return ((bitField0_ & 0x00000001) != 0); } /** *
     **
     * AssetInfo fields for this TransformerEndInfo
     * 
* * .zepben.protobuf.cim.iec61968.assets.AssetInfo ai = 1; * @return The ai. */ public com.zepben.protobuf.cim.iec61968.assets.AssetInfo getAi() { if (aiBuilder_ == null) { return ai_ == null ? com.zepben.protobuf.cim.iec61968.assets.AssetInfo.getDefaultInstance() : ai_; } else { return aiBuilder_.getMessage(); } } /** *
     **
     * AssetInfo fields for this TransformerEndInfo
     * 
* * .zepben.protobuf.cim.iec61968.assets.AssetInfo ai = 1; */ public Builder setAi(com.zepben.protobuf.cim.iec61968.assets.AssetInfo value) { if (aiBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ai_ = value; } else { aiBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * AssetInfo fields for this TransformerEndInfo
     * 
* * .zepben.protobuf.cim.iec61968.assets.AssetInfo ai = 1; */ public Builder setAi( com.zepben.protobuf.cim.iec61968.assets.AssetInfo.Builder builderForValue) { if (aiBuilder_ == null) { ai_ = builderForValue.build(); } else { aiBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * AssetInfo fields for this TransformerEndInfo
     * 
* * .zepben.protobuf.cim.iec61968.assets.AssetInfo ai = 1; */ public Builder mergeAi(com.zepben.protobuf.cim.iec61968.assets.AssetInfo value) { if (aiBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && ai_ != null && ai_ != com.zepben.protobuf.cim.iec61968.assets.AssetInfo.getDefaultInstance()) { getAiBuilder().mergeFrom(value); } else { ai_ = value; } } else { aiBuilder_.mergeFrom(value); } if (ai_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     **
     * AssetInfo fields for this TransformerEndInfo
     * 
* * .zepben.protobuf.cim.iec61968.assets.AssetInfo ai = 1; */ public Builder clearAi() { bitField0_ = (bitField0_ & ~0x00000001); ai_ = null; if (aiBuilder_ != null) { aiBuilder_.dispose(); aiBuilder_ = null; } onChanged(); return this; } /** *
     **
     * AssetInfo fields for this TransformerEndInfo
     * 
* * .zepben.protobuf.cim.iec61968.assets.AssetInfo ai = 1; */ public com.zepben.protobuf.cim.iec61968.assets.AssetInfo.Builder getAiBuilder() { bitField0_ |= 0x00000001; onChanged(); return getAiFieldBuilder().getBuilder(); } /** *
     **
     * AssetInfo fields for this TransformerEndInfo
     * 
* * .zepben.protobuf.cim.iec61968.assets.AssetInfo ai = 1; */ public com.zepben.protobuf.cim.iec61968.assets.AssetInfoOrBuilder getAiOrBuilder() { if (aiBuilder_ != null) { return aiBuilder_.getMessageOrBuilder(); } else { return ai_ == null ? com.zepben.protobuf.cim.iec61968.assets.AssetInfo.getDefaultInstance() : ai_; } } /** *
     **
     * AssetInfo fields for this TransformerEndInfo
     * 
* * .zepben.protobuf.cim.iec61968.assets.AssetInfo ai = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assets.AssetInfo, com.zepben.protobuf.cim.iec61968.assets.AssetInfo.Builder, com.zepben.protobuf.cim.iec61968.assets.AssetInfoOrBuilder> getAiFieldBuilder() { if (aiBuilder_ == null) { aiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assets.AssetInfo, com.zepben.protobuf.cim.iec61968.assets.AssetInfo.Builder, com.zepben.protobuf.cim.iec61968.assets.AssetInfoOrBuilder>( getAi(), getParentForChildren(), isClean()); ai_ = null; } return aiBuilder_; } private int connectionKind_ = 0; /** *
     **
     * Kind of connection.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.winding.WindingConnection connectionKind = 2; * @return The enum numeric value on the wire for connectionKind. */ @java.lang.Override public int getConnectionKindValue() { return connectionKind_; } /** *
     **
     * Kind of connection.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.winding.WindingConnection connectionKind = 2; * @param value The enum numeric value on the wire for connectionKind to set. * @return This builder for chaining. */ public Builder setConnectionKindValue(int value) { connectionKind_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     **
     * Kind of connection.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.winding.WindingConnection connectionKind = 2; * @return The connectionKind. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.WindingConnection getConnectionKind() { com.zepben.protobuf.cim.iec61970.base.wires.WindingConnection result = com.zepben.protobuf.cim.iec61970.base.wires.WindingConnection.forNumber(connectionKind_); return result == null ? com.zepben.protobuf.cim.iec61970.base.wires.WindingConnection.UNRECOGNIZED : result; } /** *
     **
     * Kind of connection.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.winding.WindingConnection connectionKind = 2; * @param value The connectionKind to set. * @return This builder for chaining. */ public Builder setConnectionKind(com.zepben.protobuf.cim.iec61970.base.wires.WindingConnection value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; connectionKind_ = value.getNumber(); onChanged(); return this; } /** *
     **
     * Kind of connection.
     * 
* * .zepben.protobuf.cim.iec61970.base.wires.winding.WindingConnection connectionKind = 2; * @return This builder for chaining. */ public Builder clearConnectionKind() { bitField0_ = (bitField0_ & ~0x00000002); connectionKind_ = 0; onChanged(); return this; } private int emergencyS_ ; /** *
     **
     * Apparent power that the winding can carry under emergency conditions (also called long-term emergency power).
     * 
* * int32 emergencyS = 3; * @return The emergencyS. */ @java.lang.Override public int getEmergencyS() { return emergencyS_; } /** *
     **
     * Apparent power that the winding can carry under emergency conditions (also called long-term emergency power).
     * 
* * int32 emergencyS = 3; * @param value The emergencyS to set. * @return This builder for chaining. */ public Builder setEmergencyS(int value) { emergencyS_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     **
     * Apparent power that the winding can carry under emergency conditions (also called long-term emergency power).
     * 
* * int32 emergencyS = 3; * @return This builder for chaining. */ public Builder clearEmergencyS() { bitField0_ = (bitField0_ & ~0x00000004); emergencyS_ = 0; onChanged(); return this; } private int endNumber_ ; /** *
     **
     * Number for this transformer end, corresponding to the end's order in the PowerTransformer.vectorGroup attribute.
     * Highest voltage winding should be 1.
     * 
* * int32 endNumber = 4; * @return The endNumber. */ @java.lang.Override public int getEndNumber() { return endNumber_; } /** *
     **
     * Number for this transformer end, corresponding to the end's order in the PowerTransformer.vectorGroup attribute.
     * Highest voltage winding should be 1.
     * 
* * int32 endNumber = 4; * @param value The endNumber to set. * @return This builder for chaining. */ public Builder setEndNumber(int value) { endNumber_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     **
     * Number for this transformer end, corresponding to the end's order in the PowerTransformer.vectorGroup attribute.
     * Highest voltage winding should be 1.
     * 
* * int32 endNumber = 4; * @return This builder for chaining. */ public Builder clearEndNumber() { bitField0_ = (bitField0_ & ~0x00000008); endNumber_ = 0; onChanged(); return this; } private int insulationU_ ; /** *
     **
     * Basic insulation level voltage rating.
     * 
* * int32 insulationU = 5; * @return The insulationU. */ @java.lang.Override public int getInsulationU() { return insulationU_; } /** *
     **
     * Basic insulation level voltage rating.
     * 
* * int32 insulationU = 5; * @param value The insulationU to set. * @return This builder for chaining. */ public Builder setInsulationU(int value) { insulationU_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     **
     * Basic insulation level voltage rating.
     * 
* * int32 insulationU = 5; * @return This builder for chaining. */ public Builder clearInsulationU() { bitField0_ = (bitField0_ & ~0x00000010); insulationU_ = 0; onChanged(); return this; } private int phaseAngleClock_ ; /** *
     **
     * Winding phase angle where 360 degrees are represented with clock hours, so the valid values are {0, ..., 11}.
     * For example, to express the second winding in code 'Dyn11',
     * set attributes as follows: 'endNumber'=2, 'connectionKind' = Yn and 'phaseAngleClock' = 11.
     * 
* * int32 phaseAngleClock = 6; * @return The phaseAngleClock. */ @java.lang.Override public int getPhaseAngleClock() { return phaseAngleClock_; } /** *
     **
     * Winding phase angle where 360 degrees are represented with clock hours, so the valid values are {0, ..., 11}.
     * For example, to express the second winding in code 'Dyn11',
     * set attributes as follows: 'endNumber'=2, 'connectionKind' = Yn and 'phaseAngleClock' = 11.
     * 
* * int32 phaseAngleClock = 6; * @param value The phaseAngleClock to set. * @return This builder for chaining. */ public Builder setPhaseAngleClock(int value) { phaseAngleClock_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     **
     * Winding phase angle where 360 degrees are represented with clock hours, so the valid values are {0, ..., 11}.
     * For example, to express the second winding in code 'Dyn11',
     * set attributes as follows: 'endNumber'=2, 'connectionKind' = Yn and 'phaseAngleClock' = 11.
     * 
* * int32 phaseAngleClock = 6; * @return This builder for chaining. */ public Builder clearPhaseAngleClock() { bitField0_ = (bitField0_ & ~0x00000020); phaseAngleClock_ = 0; onChanged(); return this; } private double r_ ; /** *
     **
     * DC resistance.
     * 
* * double r = 7; * @return The r. */ @java.lang.Override public double getR() { return r_; } /** *
     **
     * DC resistance.
     * 
* * double r = 7; * @param value The r to set. * @return This builder for chaining. */ public Builder setR(double value) { r_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     **
     * DC resistance.
     * 
* * double r = 7; * @return This builder for chaining. */ public Builder clearR() { bitField0_ = (bitField0_ & ~0x00000040); r_ = 0D; onChanged(); return this; } private int ratedS_ ; /** *
     **
     * Normal apparent power rating.
     * 
* * int32 ratedS = 8; * @return The ratedS. */ @java.lang.Override public int getRatedS() { return ratedS_; } /** *
     **
     * Normal apparent power rating.
     * 
* * int32 ratedS = 8; * @param value The ratedS to set. * @return This builder for chaining. */ public Builder setRatedS(int value) { ratedS_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     **
     * Normal apparent power rating.
     * 
* * int32 ratedS = 8; * @return This builder for chaining. */ public Builder clearRatedS() { bitField0_ = (bitField0_ & ~0x00000080); ratedS_ = 0; onChanged(); return this; } private int ratedU_ ; /** *
     **
     * Rated voltage: phase-phase for three-phase windings, and either phase-phase
     * or phase-neutral for single-phase windings.
     * 
* * int32 ratedU = 9; * @return The ratedU. */ @java.lang.Override public int getRatedU() { return ratedU_; } /** *
     **
     * Rated voltage: phase-phase for three-phase windings, and either phase-phase
     * or phase-neutral for single-phase windings.
     * 
* * int32 ratedU = 9; * @param value The ratedU to set. * @return This builder for chaining. */ public Builder setRatedU(int value) { ratedU_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     **
     * Rated voltage: phase-phase for three-phase windings, and either phase-phase
     * or phase-neutral for single-phase windings.
     * 
* * int32 ratedU = 9; * @return This builder for chaining. */ public Builder clearRatedU() { bitField0_ = (bitField0_ & ~0x00000100); ratedU_ = 0; onChanged(); return this; } private int shortTermS_ ; /** *
     **
     * Apparent power that this winding can carry for a short period of time (in emergency).
     * 
* * int32 shortTermS = 10; * @return The shortTermS. */ @java.lang.Override public int getShortTermS() { return shortTermS_; } /** *
     **
     * Apparent power that this winding can carry for a short period of time (in emergency).
     * 
* * int32 shortTermS = 10; * @param value The shortTermS to set. * @return This builder for chaining. */ public Builder setShortTermS(int value) { shortTermS_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     **
     * Apparent power that this winding can carry for a short period of time (in emergency).
     * 
* * int32 shortTermS = 10; * @return This builder for chaining. */ public Builder clearShortTermS() { bitField0_ = (bitField0_ & ~0x00000200); shortTermS_ = 0; onChanged(); return this; } private java.lang.Object transformerTankInfoMRID_ = ""; /** *
     **
     * Transformer tank data that this end description is part of.
     * 
* * string transformerTankInfoMRID = 11; * @return The transformerTankInfoMRID. */ public java.lang.String getTransformerTankInfoMRID() { java.lang.Object ref = transformerTankInfoMRID_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transformerTankInfoMRID_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     **
     * Transformer tank data that this end description is part of.
     * 
* * string transformerTankInfoMRID = 11; * @return The bytes for transformerTankInfoMRID. */ public com.google.protobuf.ByteString getTransformerTankInfoMRIDBytes() { java.lang.Object ref = transformerTankInfoMRID_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transformerTankInfoMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     **
     * Transformer tank data that this end description is part of.
     * 
* * string transformerTankInfoMRID = 11; * @param value The transformerTankInfoMRID to set. * @return This builder for chaining. */ public Builder setTransformerTankInfoMRID( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transformerTankInfoMRID_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     **
     * Transformer tank data that this end description is part of.
     * 
* * string transformerTankInfoMRID = 11; * @return This builder for chaining. */ public Builder clearTransformerTankInfoMRID() { transformerTankInfoMRID_ = getDefaultInstance().getTransformerTankInfoMRID(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** *
     **
     * Transformer tank data that this end description is part of.
     * 
* * string transformerTankInfoMRID = 11; * @param value The bytes for transformerTankInfoMRID to set. * @return This builder for chaining. */ public Builder setTransformerTankInfoMRIDBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transformerTankInfoMRID_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } private java.lang.Object transformerStarImpedanceMRID_ = ""; /** *
     **
     * Transformer star impedance calculated from this transformer end datasheet.
     * 
* * string transformerStarImpedanceMRID = 12; * @return The transformerStarImpedanceMRID. */ public java.lang.String getTransformerStarImpedanceMRID() { java.lang.Object ref = transformerStarImpedanceMRID_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transformerStarImpedanceMRID_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     **
     * Transformer star impedance calculated from this transformer end datasheet.
     * 
* * string transformerStarImpedanceMRID = 12; * @return The bytes for transformerStarImpedanceMRID. */ public com.google.protobuf.ByteString getTransformerStarImpedanceMRIDBytes() { java.lang.Object ref = transformerStarImpedanceMRID_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transformerStarImpedanceMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     **
     * Transformer star impedance calculated from this transformer end datasheet.
     * 
* * string transformerStarImpedanceMRID = 12; * @param value The transformerStarImpedanceMRID to set. * @return This builder for chaining. */ public Builder setTransformerStarImpedanceMRID( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transformerStarImpedanceMRID_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     **
     * Transformer star impedance calculated from this transformer end datasheet.
     * 
* * string transformerStarImpedanceMRID = 12; * @return This builder for chaining. */ public Builder clearTransformerStarImpedanceMRID() { transformerStarImpedanceMRID_ = getDefaultInstance().getTransformerStarImpedanceMRID(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } /** *
     **
     * Transformer star impedance calculated from this transformer end datasheet.
     * 
* * string transformerStarImpedanceMRID = 12; * @param value The bytes for transformerStarImpedanceMRID to set. * @return This builder for chaining. */ public Builder setTransformerStarImpedanceMRIDBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transformerStarImpedanceMRID_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } private java.lang.Object energisedEndNoLoadTestsMRID_ = ""; /** *
     **
     * All no-load test measurements in which this transformer end was energised.
     * 
* * string energisedEndNoLoadTestsMRID = 13; * @return The energisedEndNoLoadTestsMRID. */ public java.lang.String getEnergisedEndNoLoadTestsMRID() { java.lang.Object ref = energisedEndNoLoadTestsMRID_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); energisedEndNoLoadTestsMRID_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     **
     * All no-load test measurements in which this transformer end was energised.
     * 
* * string energisedEndNoLoadTestsMRID = 13; * @return The bytes for energisedEndNoLoadTestsMRID. */ public com.google.protobuf.ByteString getEnergisedEndNoLoadTestsMRIDBytes() { java.lang.Object ref = energisedEndNoLoadTestsMRID_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); energisedEndNoLoadTestsMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     **
     * All no-load test measurements in which this transformer end was energised.
     * 
* * string energisedEndNoLoadTestsMRID = 13; * @param value The energisedEndNoLoadTestsMRID to set. * @return This builder for chaining. */ public Builder setEnergisedEndNoLoadTestsMRID( java.lang.String value) { if (value == null) { throw new NullPointerException(); } energisedEndNoLoadTestsMRID_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     **
     * All no-load test measurements in which this transformer end was energised.
     * 
* * string energisedEndNoLoadTestsMRID = 13; * @return This builder for chaining. */ public Builder clearEnergisedEndNoLoadTestsMRID() { energisedEndNoLoadTestsMRID_ = getDefaultInstance().getEnergisedEndNoLoadTestsMRID(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } /** *
     **
     * All no-load test measurements in which this transformer end was energised.
     * 
* * string energisedEndNoLoadTestsMRID = 13; * @param value The bytes for energisedEndNoLoadTestsMRID to set. * @return This builder for chaining. */ public Builder setEnergisedEndNoLoadTestsMRIDBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); energisedEndNoLoadTestsMRID_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } private java.lang.Object energisedEndShortCircuitTestsMRID_ = ""; /** *
     **
     * All short-circuit test measurements in which this transformer end was short-circuited.
     * 
* * string energisedEndShortCircuitTestsMRID = 14; * @return The energisedEndShortCircuitTestsMRID. */ public java.lang.String getEnergisedEndShortCircuitTestsMRID() { java.lang.Object ref = energisedEndShortCircuitTestsMRID_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); energisedEndShortCircuitTestsMRID_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     **
     * All short-circuit test measurements in which this transformer end was short-circuited.
     * 
* * string energisedEndShortCircuitTestsMRID = 14; * @return The bytes for energisedEndShortCircuitTestsMRID. */ public com.google.protobuf.ByteString getEnergisedEndShortCircuitTestsMRIDBytes() { java.lang.Object ref = energisedEndShortCircuitTestsMRID_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); energisedEndShortCircuitTestsMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     **
     * All short-circuit test measurements in which this transformer end was short-circuited.
     * 
* * string energisedEndShortCircuitTestsMRID = 14; * @param value The energisedEndShortCircuitTestsMRID to set. * @return This builder for chaining. */ public Builder setEnergisedEndShortCircuitTestsMRID( java.lang.String value) { if (value == null) { throw new NullPointerException(); } energisedEndShortCircuitTestsMRID_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** *
     **
     * All short-circuit test measurements in which this transformer end was short-circuited.
     * 
* * string energisedEndShortCircuitTestsMRID = 14; * @return This builder for chaining. */ public Builder clearEnergisedEndShortCircuitTestsMRID() { energisedEndShortCircuitTestsMRID_ = getDefaultInstance().getEnergisedEndShortCircuitTestsMRID(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } /** *
     **
     * All short-circuit test measurements in which this transformer end was short-circuited.
     * 
* * string energisedEndShortCircuitTestsMRID = 14; * @param value The bytes for energisedEndShortCircuitTestsMRID to set. * @return This builder for chaining. */ public Builder setEnergisedEndShortCircuitTestsMRIDBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); energisedEndShortCircuitTestsMRID_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } private java.lang.Object groundedEndShortCircuitTestsMRID_ = ""; /** *
     **
     * All short-circuit test measurements in which this transformer end was energised.
     * 
* * string groundedEndShortCircuitTestsMRID = 15; * @return The groundedEndShortCircuitTestsMRID. */ public java.lang.String getGroundedEndShortCircuitTestsMRID() { java.lang.Object ref = groundedEndShortCircuitTestsMRID_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groundedEndShortCircuitTestsMRID_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     **
     * All short-circuit test measurements in which this transformer end was energised.
     * 
* * string groundedEndShortCircuitTestsMRID = 15; * @return The bytes for groundedEndShortCircuitTestsMRID. */ public com.google.protobuf.ByteString getGroundedEndShortCircuitTestsMRIDBytes() { java.lang.Object ref = groundedEndShortCircuitTestsMRID_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); groundedEndShortCircuitTestsMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     **
     * All short-circuit test measurements in which this transformer end was energised.
     * 
* * string groundedEndShortCircuitTestsMRID = 15; * @param value The groundedEndShortCircuitTestsMRID to set. * @return This builder for chaining. */ public Builder setGroundedEndShortCircuitTestsMRID( java.lang.String value) { if (value == null) { throw new NullPointerException(); } groundedEndShortCircuitTestsMRID_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** *
     **
     * All short-circuit test measurements in which this transformer end was energised.
     * 
* * string groundedEndShortCircuitTestsMRID = 15; * @return This builder for chaining. */ public Builder clearGroundedEndShortCircuitTestsMRID() { groundedEndShortCircuitTestsMRID_ = getDefaultInstance().getGroundedEndShortCircuitTestsMRID(); bitField0_ = (bitField0_ & ~0x00004000); onChanged(); return this; } /** *
     **
     * All short-circuit test measurements in which this transformer end was energised.
     * 
* * string groundedEndShortCircuitTestsMRID = 15; * @param value The bytes for groundedEndShortCircuitTestsMRID to set. * @return This builder for chaining. */ public Builder setGroundedEndShortCircuitTestsMRIDBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); groundedEndShortCircuitTestsMRID_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } private java.lang.Object openEndOpenCircuitTestsMRID_ = ""; /** *
     **
     * All open-circuit test measurements in which this transformer end was not excited.
     * 
* * string openEndOpenCircuitTestsMRID = 16; * @return The openEndOpenCircuitTestsMRID. */ public java.lang.String getOpenEndOpenCircuitTestsMRID() { java.lang.Object ref = openEndOpenCircuitTestsMRID_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); openEndOpenCircuitTestsMRID_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     **
     * All open-circuit test measurements in which this transformer end was not excited.
     * 
* * string openEndOpenCircuitTestsMRID = 16; * @return The bytes for openEndOpenCircuitTestsMRID. */ public com.google.protobuf.ByteString getOpenEndOpenCircuitTestsMRIDBytes() { java.lang.Object ref = openEndOpenCircuitTestsMRID_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); openEndOpenCircuitTestsMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     **
     * All open-circuit test measurements in which this transformer end was not excited.
     * 
* * string openEndOpenCircuitTestsMRID = 16; * @param value The openEndOpenCircuitTestsMRID to set. * @return This builder for chaining. */ public Builder setOpenEndOpenCircuitTestsMRID( java.lang.String value) { if (value == null) { throw new NullPointerException(); } openEndOpenCircuitTestsMRID_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** *
     **
     * All open-circuit test measurements in which this transformer end was not excited.
     * 
* * string openEndOpenCircuitTestsMRID = 16; * @return This builder for chaining. */ public Builder clearOpenEndOpenCircuitTestsMRID() { openEndOpenCircuitTestsMRID_ = getDefaultInstance().getOpenEndOpenCircuitTestsMRID(); bitField0_ = (bitField0_ & ~0x00008000); onChanged(); return this; } /** *
     **
     * All open-circuit test measurements in which this transformer end was not excited.
     * 
* * string openEndOpenCircuitTestsMRID = 16; * @param value The bytes for openEndOpenCircuitTestsMRID to set. * @return This builder for chaining. */ public Builder setOpenEndOpenCircuitTestsMRIDBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); openEndOpenCircuitTestsMRID_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } private java.lang.Object energisedEndOpenCircuitTestsMRID_ = ""; /** *
     **
     * All open-circuit test measurements in which this transformer end was excited.
     * 
* * string energisedEndOpenCircuitTestsMRID = 17; * @return The energisedEndOpenCircuitTestsMRID. */ public java.lang.String getEnergisedEndOpenCircuitTestsMRID() { java.lang.Object ref = energisedEndOpenCircuitTestsMRID_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); energisedEndOpenCircuitTestsMRID_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     **
     * All open-circuit test measurements in which this transformer end was excited.
     * 
* * string energisedEndOpenCircuitTestsMRID = 17; * @return The bytes for energisedEndOpenCircuitTestsMRID. */ public com.google.protobuf.ByteString getEnergisedEndOpenCircuitTestsMRIDBytes() { java.lang.Object ref = energisedEndOpenCircuitTestsMRID_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); energisedEndOpenCircuitTestsMRID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     **
     * All open-circuit test measurements in which this transformer end was excited.
     * 
* * string energisedEndOpenCircuitTestsMRID = 17; * @param value The energisedEndOpenCircuitTestsMRID to set. * @return This builder for chaining. */ public Builder setEnergisedEndOpenCircuitTestsMRID( java.lang.String value) { if (value == null) { throw new NullPointerException(); } energisedEndOpenCircuitTestsMRID_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** *
     **
     * All open-circuit test measurements in which this transformer end was excited.
     * 
* * string energisedEndOpenCircuitTestsMRID = 17; * @return This builder for chaining. */ public Builder clearEnergisedEndOpenCircuitTestsMRID() { energisedEndOpenCircuitTestsMRID_ = getDefaultInstance().getEnergisedEndOpenCircuitTestsMRID(); bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } /** *
     **
     * All open-circuit test measurements in which this transformer end was excited.
     * 
* * string energisedEndOpenCircuitTestsMRID = 17; * @param value The bytes for energisedEndOpenCircuitTestsMRID to set. * @return This builder for chaining. */ public Builder setEnergisedEndOpenCircuitTestsMRIDBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); energisedEndOpenCircuitTestsMRID_ = value; bitField0_ |= 0x00010000; 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.iec61968.assetinfo.TransformerEndInfo) } // @@protoc_insertion_point(class_scope:zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo) private static final com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo(); } public static com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TransformerEndInfo 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.iec61968.assetinfo.TransformerEndInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy