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

com.zepben.protobuf.nc.NetworkIdentifiedObject 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/nc/nc-data.proto

package com.zepben.protobuf.nc;

/**
 * 
 * The set of leaf identified objects that the network service manages.
 * 
* * Protobuf type {@code zepben.protobuf.nc.NetworkIdentifiedObject} */ public final class NetworkIdentifiedObject extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:zepben.protobuf.nc.NetworkIdentifiedObject) NetworkIdentifiedObjectOrBuilder { private static final long serialVersionUID = 0L; // Use NetworkIdentifiedObject.newBuilder() to construct. private NetworkIdentifiedObject(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NetworkIdentifiedObject() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new NetworkIdentifiedObject(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.zepben.protobuf.nc.NcData.internal_static_zepben_protobuf_nc_NetworkIdentifiedObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.zepben.protobuf.nc.NcData.internal_static_zepben_protobuf_nc_NetworkIdentifiedObject_fieldAccessorTable .ensureFieldAccessorsInitialized( com.zepben.protobuf.nc.NetworkIdentifiedObject.class, com.zepben.protobuf.nc.NetworkIdentifiedObject.Builder.class); } private int identifiedObjectCase_ = 0; @SuppressWarnings("serial") private java.lang.Object identifiedObject_; public enum IdentifiedObjectCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CABLEINFO(1), OVERHEADWIREINFO(2), ASSETOWNER(3), ORGANISATION(4), LOCATION(5), METER(6), USAGEPOINT(7), OPERATIONALRESTRICTION(8), FAULTINDICATOR(9), BASEVOLTAGE(10), CONNECTIVITYNODE(11), FEEDER(12), GEOGRAPHICALREGION(13), SITE(14), SUBGEOGRAPHICALREGION(15), SUBSTATION(16), TERMINAL(17), ACLINESEGMENT(18), BREAKER(19), DISCONNECTOR(20), ENERGYCONSUMER(21), ENERGYCONSUMERPHASE(22), ENERGYSOURCE(23), ENERGYSOURCEPHASE(24), FUSE(25), JUMPER(26), JUNCTION(27), LINEARSHUNTCOMPENSATOR(28), PERLENGTHSEQUENCEIMPEDANCE(29), POWERTRANSFORMER(30), POWERTRANSFORMEREND(31), RATIOTAPCHANGER(32), RECLOSER(33), CIRCUIT(34), LOOP(35), POLE(36), STREETLIGHT(37), ACCUMULATOR(38), ANALOG(39), DISCRETE(40), CONTROL(41), REMOTECONTROL(42), REMOTESOURCE(43), POWERTRANSFORMERINFO(44), POWERELECTRONICSCONNECTION(45), POWERELECTRONICSCONNECTIONPHASE(46), BATTERYUNIT(47), PHOTOVOLTAICUNIT(48), POWERELECTRONICSWINDUNIT(49), BUSBARSECTION(50), LOADBREAKSWITCH(51), TRANSFORMERSTARIMPEDANCE(52), TRANSFORMERENDINFO(53), TRANSFORMERTANKINFO(54), NOLOADTEST(55), OPENCIRCUITTEST(56), SHORTCIRCUITTEST(57), EQUIVALENTBRANCH(58), SHUNTCOMPENSATORINFO(59), LVFEEDER(60), CURRENTTRANSFORMER(61), POTENTIALTRANSFORMER(62), CURRENTTRANSFORMERINFO(63), POTENTIALTRANSFORMERINFO(64), SWITCHINFO(65), RELAYINFO(66), CURRENTRELAY(68), TAPCHANGERCONTROL(69), EVCHARGINGUNIT(70), SERIESCOMPENSATOR(71), GROUND(72), GROUNDDISCONNECTOR(73), PROTECTIONRELAYSCHEME(74), PROTECTIONRELAYSYSTEM(75), VOLTAGERELAY(76), DISTANCERELAY(77), SYNCHRONOUSMACHINE(78), REACTIVECAPABILITYCURVE(79), GROUNDINGIMPEDANCE(80), PETERSENCOIL(81), OTHER(999), IDENTIFIEDOBJECT_NOT_SET(0); private final int value; private IdentifiedObjectCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static IdentifiedObjectCase valueOf(int value) { return forNumber(value); } public static IdentifiedObjectCase forNumber(int value) { switch (value) { case 1: return CABLEINFO; case 2: return OVERHEADWIREINFO; case 3: return ASSETOWNER; case 4: return ORGANISATION; case 5: return LOCATION; case 6: return METER; case 7: return USAGEPOINT; case 8: return OPERATIONALRESTRICTION; case 9: return FAULTINDICATOR; case 10: return BASEVOLTAGE; case 11: return CONNECTIVITYNODE; case 12: return FEEDER; case 13: return GEOGRAPHICALREGION; case 14: return SITE; case 15: return SUBGEOGRAPHICALREGION; case 16: return SUBSTATION; case 17: return TERMINAL; case 18: return ACLINESEGMENT; case 19: return BREAKER; case 20: return DISCONNECTOR; case 21: return ENERGYCONSUMER; case 22: return ENERGYCONSUMERPHASE; case 23: return ENERGYSOURCE; case 24: return ENERGYSOURCEPHASE; case 25: return FUSE; case 26: return JUMPER; case 27: return JUNCTION; case 28: return LINEARSHUNTCOMPENSATOR; case 29: return PERLENGTHSEQUENCEIMPEDANCE; case 30: return POWERTRANSFORMER; case 31: return POWERTRANSFORMEREND; case 32: return RATIOTAPCHANGER; case 33: return RECLOSER; case 34: return CIRCUIT; case 35: return LOOP; case 36: return POLE; case 37: return STREETLIGHT; case 38: return ACCUMULATOR; case 39: return ANALOG; case 40: return DISCRETE; case 41: return CONTROL; case 42: return REMOTECONTROL; case 43: return REMOTESOURCE; case 44: return POWERTRANSFORMERINFO; case 45: return POWERELECTRONICSCONNECTION; case 46: return POWERELECTRONICSCONNECTIONPHASE; case 47: return BATTERYUNIT; case 48: return PHOTOVOLTAICUNIT; case 49: return POWERELECTRONICSWINDUNIT; case 50: return BUSBARSECTION; case 51: return LOADBREAKSWITCH; case 52: return TRANSFORMERSTARIMPEDANCE; case 53: return TRANSFORMERENDINFO; case 54: return TRANSFORMERTANKINFO; case 55: return NOLOADTEST; case 56: return OPENCIRCUITTEST; case 57: return SHORTCIRCUITTEST; case 58: return EQUIVALENTBRANCH; case 59: return SHUNTCOMPENSATORINFO; case 60: return LVFEEDER; case 61: return CURRENTTRANSFORMER; case 62: return POTENTIALTRANSFORMER; case 63: return CURRENTTRANSFORMERINFO; case 64: return POTENTIALTRANSFORMERINFO; case 65: return SWITCHINFO; case 66: return RELAYINFO; case 68: return CURRENTRELAY; case 69: return TAPCHANGERCONTROL; case 70: return EVCHARGINGUNIT; case 71: return SERIESCOMPENSATOR; case 72: return GROUND; case 73: return GROUNDDISCONNECTOR; case 74: return PROTECTIONRELAYSCHEME; case 75: return PROTECTIONRELAYSYSTEM; case 76: return VOLTAGERELAY; case 77: return DISTANCERELAY; case 78: return SYNCHRONOUSMACHINE; case 79: return REACTIVECAPABILITYCURVE; case 80: return GROUNDINGIMPEDANCE; case 81: return PETERSENCOIL; case 999: return OTHER; case 0: return IDENTIFIEDOBJECT_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public IdentifiedObjectCase getIdentifiedObjectCase() { return IdentifiedObjectCase.forNumber( identifiedObjectCase_); } public static final int CABLEINFO_FIELD_NUMBER = 1; /** * .zepben.protobuf.cim.iec61968.assetinfo.CableInfo cableInfo = 1; * @return Whether the cableInfo field is set. */ @java.lang.Override public boolean hasCableInfo() { return identifiedObjectCase_ == 1; } /** * .zepben.protobuf.cim.iec61968.assetinfo.CableInfo cableInfo = 1; * @return The cableInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo getCableInfo() { if (identifiedObjectCase_ == 1) { return (com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.CableInfo cableInfo = 1; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.CableInfoOrBuilder getCableInfoOrBuilder() { if (identifiedObjectCase_ == 1) { return (com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo.getDefaultInstance(); } public static final int OVERHEADWIREINFO_FIELD_NUMBER = 2; /** * .zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo overheadWireInfo = 2; * @return Whether the overheadWireInfo field is set. */ @java.lang.Override public boolean hasOverheadWireInfo() { return identifiedObjectCase_ == 2; } /** * .zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo overheadWireInfo = 2; * @return The overheadWireInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo getOverheadWireInfo() { if (identifiedObjectCase_ == 2) { return (com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo overheadWireInfo = 2; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfoOrBuilder getOverheadWireInfoOrBuilder() { if (identifiedObjectCase_ == 2) { return (com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo.getDefaultInstance(); } public static final int ASSETOWNER_FIELD_NUMBER = 3; /** * .zepben.protobuf.cim.iec61968.assets.AssetOwner assetOwner = 3; * @return Whether the assetOwner field is set. */ @java.lang.Override public boolean hasAssetOwner() { return identifiedObjectCase_ == 3; } /** * .zepben.protobuf.cim.iec61968.assets.AssetOwner assetOwner = 3; * @return The assetOwner. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assets.AssetOwner getAssetOwner() { if (identifiedObjectCase_ == 3) { return (com.zepben.protobuf.cim.iec61968.assets.AssetOwner) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assets.AssetOwner.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.assets.AssetOwner assetOwner = 3; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assets.AssetOwnerOrBuilder getAssetOwnerOrBuilder() { if (identifiedObjectCase_ == 3) { return (com.zepben.protobuf.cim.iec61968.assets.AssetOwner) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assets.AssetOwner.getDefaultInstance(); } public static final int ORGANISATION_FIELD_NUMBER = 4; /** * .zepben.protobuf.cim.iec61968.common.Organisation organisation = 4; * @return Whether the organisation field is set. */ @java.lang.Override public boolean hasOrganisation() { return identifiedObjectCase_ == 4; } /** * .zepben.protobuf.cim.iec61968.common.Organisation organisation = 4; * @return The organisation. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.common.Organisation getOrganisation() { if (identifiedObjectCase_ == 4) { return (com.zepben.protobuf.cim.iec61968.common.Organisation) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.common.Organisation.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.common.Organisation organisation = 4; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.common.OrganisationOrBuilder getOrganisationOrBuilder() { if (identifiedObjectCase_ == 4) { return (com.zepben.protobuf.cim.iec61968.common.Organisation) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.common.Organisation.getDefaultInstance(); } public static final int LOCATION_FIELD_NUMBER = 5; /** * .zepben.protobuf.cim.iec61968.common.Location location = 5; * @return Whether the location field is set. */ @java.lang.Override public boolean hasLocation() { return identifiedObjectCase_ == 5; } /** * .zepben.protobuf.cim.iec61968.common.Location location = 5; * @return The location. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.common.Location getLocation() { if (identifiedObjectCase_ == 5) { return (com.zepben.protobuf.cim.iec61968.common.Location) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.common.Location.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.common.Location location = 5; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.common.LocationOrBuilder getLocationOrBuilder() { if (identifiedObjectCase_ == 5) { return (com.zepben.protobuf.cim.iec61968.common.Location) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.common.Location.getDefaultInstance(); } public static final int METER_FIELD_NUMBER = 6; /** * .zepben.protobuf.cim.iec61968.metering.Meter meter = 6; * @return Whether the meter field is set. */ @java.lang.Override public boolean hasMeter() { return identifiedObjectCase_ == 6; } /** * .zepben.protobuf.cim.iec61968.metering.Meter meter = 6; * @return The meter. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.metering.Meter getMeter() { if (identifiedObjectCase_ == 6) { return (com.zepben.protobuf.cim.iec61968.metering.Meter) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.metering.Meter.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.metering.Meter meter = 6; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.metering.MeterOrBuilder getMeterOrBuilder() { if (identifiedObjectCase_ == 6) { return (com.zepben.protobuf.cim.iec61968.metering.Meter) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.metering.Meter.getDefaultInstance(); } public static final int USAGEPOINT_FIELD_NUMBER = 7; /** * .zepben.protobuf.cim.iec61968.metering.UsagePoint usagePoint = 7; * @return Whether the usagePoint field is set. */ @java.lang.Override public boolean hasUsagePoint() { return identifiedObjectCase_ == 7; } /** * .zepben.protobuf.cim.iec61968.metering.UsagePoint usagePoint = 7; * @return The usagePoint. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.metering.UsagePoint getUsagePoint() { if (identifiedObjectCase_ == 7) { return (com.zepben.protobuf.cim.iec61968.metering.UsagePoint) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.metering.UsagePoint.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.metering.UsagePoint usagePoint = 7; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.metering.UsagePointOrBuilder getUsagePointOrBuilder() { if (identifiedObjectCase_ == 7) { return (com.zepben.protobuf.cim.iec61968.metering.UsagePoint) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.metering.UsagePoint.getDefaultInstance(); } public static final int OPERATIONALRESTRICTION_FIELD_NUMBER = 8; /** * .zepben.protobuf.cim.iec61968.operations.OperationalRestriction operationalRestriction = 8; * @return Whether the operationalRestriction field is set. */ @java.lang.Override public boolean hasOperationalRestriction() { return identifiedObjectCase_ == 8; } /** * .zepben.protobuf.cim.iec61968.operations.OperationalRestriction operationalRestriction = 8; * @return The operationalRestriction. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction getOperationalRestriction() { if (identifiedObjectCase_ == 8) { return (com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.operations.OperationalRestriction operationalRestriction = 8; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.operations.OperationalRestrictionOrBuilder getOperationalRestrictionOrBuilder() { if (identifiedObjectCase_ == 8) { return (com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction.getDefaultInstance(); } public static final int FAULTINDICATOR_FIELD_NUMBER = 9; /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator faultIndicator = 9; * @return Whether the faultIndicator field is set. */ @java.lang.Override public boolean hasFaultIndicator() { return identifiedObjectCase_ == 9; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator faultIndicator = 9; * @return The faultIndicator. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator getFaultIndicator() { if (identifiedObjectCase_ == 9) { return (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator faultIndicator = 9; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicatorOrBuilder getFaultIndicatorOrBuilder() { if (identifiedObjectCase_ == 9) { return (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator.getDefaultInstance(); } public static final int BASEVOLTAGE_FIELD_NUMBER = 10; /** * .zepben.protobuf.cim.iec61970.base.core.BaseVoltage baseVoltage = 10; * @return Whether the baseVoltage field is set. */ @java.lang.Override public boolean hasBaseVoltage() { return identifiedObjectCase_ == 10; } /** * .zepben.protobuf.cim.iec61970.base.core.BaseVoltage baseVoltage = 10; * @return The baseVoltage. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage getBaseVoltage() { if (identifiedObjectCase_ == 10) { return (com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.core.BaseVoltage baseVoltage = 10; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.BaseVoltageOrBuilder getBaseVoltageOrBuilder() { if (identifiedObjectCase_ == 10) { return (com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage.getDefaultInstance(); } public static final int CONNECTIVITYNODE_FIELD_NUMBER = 11; /** * .zepben.protobuf.cim.iec61970.base.core.ConnectivityNode connectivityNode = 11; * @return Whether the connectivityNode field is set. */ @java.lang.Override public boolean hasConnectivityNode() { return identifiedObjectCase_ == 11; } /** * .zepben.protobuf.cim.iec61970.base.core.ConnectivityNode connectivityNode = 11; * @return The connectivityNode. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode getConnectivityNode() { if (identifiedObjectCase_ == 11) { return (com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.core.ConnectivityNode connectivityNode = 11; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNodeOrBuilder getConnectivityNodeOrBuilder() { if (identifiedObjectCase_ == 11) { return (com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode.getDefaultInstance(); } public static final int FEEDER_FIELD_NUMBER = 12; /** * .zepben.protobuf.cim.iec61970.base.core.Feeder feeder = 12; * @return Whether the feeder field is set. */ @java.lang.Override public boolean hasFeeder() { return identifiedObjectCase_ == 12; } /** * .zepben.protobuf.cim.iec61970.base.core.Feeder feeder = 12; * @return The feeder. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.Feeder getFeeder() { if (identifiedObjectCase_ == 12) { return (com.zepben.protobuf.cim.iec61970.base.core.Feeder) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Feeder.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.core.Feeder feeder = 12; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.FeederOrBuilder getFeederOrBuilder() { if (identifiedObjectCase_ == 12) { return (com.zepben.protobuf.cim.iec61970.base.core.Feeder) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Feeder.getDefaultInstance(); } public static final int GEOGRAPHICALREGION_FIELD_NUMBER = 13; /** * .zepben.protobuf.cim.iec61970.base.core.GeographicalRegion geographicalRegion = 13; * @return Whether the geographicalRegion field is set. */ @java.lang.Override public boolean hasGeographicalRegion() { return identifiedObjectCase_ == 13; } /** * .zepben.protobuf.cim.iec61970.base.core.GeographicalRegion geographicalRegion = 13; * @return The geographicalRegion. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion getGeographicalRegion() { if (identifiedObjectCase_ == 13) { return (com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.core.GeographicalRegion geographicalRegion = 13; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegionOrBuilder getGeographicalRegionOrBuilder() { if (identifiedObjectCase_ == 13) { return (com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion.getDefaultInstance(); } public static final int SITE_FIELD_NUMBER = 14; /** * .zepben.protobuf.cim.iec61970.base.core.Site site = 14; * @return Whether the site field is set. */ @java.lang.Override public boolean hasSite() { return identifiedObjectCase_ == 14; } /** * .zepben.protobuf.cim.iec61970.base.core.Site site = 14; * @return The site. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.Site getSite() { if (identifiedObjectCase_ == 14) { return (com.zepben.protobuf.cim.iec61970.base.core.Site) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Site.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.core.Site site = 14; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.SiteOrBuilder getSiteOrBuilder() { if (identifiedObjectCase_ == 14) { return (com.zepben.protobuf.cim.iec61970.base.core.Site) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Site.getDefaultInstance(); } public static final int SUBGEOGRAPHICALREGION_FIELD_NUMBER = 15; /** * .zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion subGeographicalRegion = 15; * @return Whether the subGeographicalRegion field is set. */ @java.lang.Override public boolean hasSubGeographicalRegion() { return identifiedObjectCase_ == 15; } /** * .zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion subGeographicalRegion = 15; * @return The subGeographicalRegion. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion getSubGeographicalRegion() { if (identifiedObjectCase_ == 15) { return (com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion subGeographicalRegion = 15; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegionOrBuilder getSubGeographicalRegionOrBuilder() { if (identifiedObjectCase_ == 15) { return (com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion.getDefaultInstance(); } public static final int SUBSTATION_FIELD_NUMBER = 16; /** * .zepben.protobuf.cim.iec61970.base.core.Substation substation = 16; * @return Whether the substation field is set. */ @java.lang.Override public boolean hasSubstation() { return identifiedObjectCase_ == 16; } /** * .zepben.protobuf.cim.iec61970.base.core.Substation substation = 16; * @return The substation. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.Substation getSubstation() { if (identifiedObjectCase_ == 16) { return (com.zepben.protobuf.cim.iec61970.base.core.Substation) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Substation.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.core.Substation substation = 16; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.SubstationOrBuilder getSubstationOrBuilder() { if (identifiedObjectCase_ == 16) { return (com.zepben.protobuf.cim.iec61970.base.core.Substation) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Substation.getDefaultInstance(); } public static final int TERMINAL_FIELD_NUMBER = 17; /** * .zepben.protobuf.cim.iec61970.base.core.Terminal terminal = 17; * @return Whether the terminal field is set. */ @java.lang.Override public boolean hasTerminal() { return identifiedObjectCase_ == 17; } /** * .zepben.protobuf.cim.iec61970.base.core.Terminal terminal = 17; * @return The terminal. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.Terminal getTerminal() { if (identifiedObjectCase_ == 17) { return (com.zepben.protobuf.cim.iec61970.base.core.Terminal) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Terminal.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.core.Terminal terminal = 17; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.TerminalOrBuilder getTerminalOrBuilder() { if (identifiedObjectCase_ == 17) { return (com.zepben.protobuf.cim.iec61970.base.core.Terminal) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Terminal.getDefaultInstance(); } public static final int ACLINESEGMENT_FIELD_NUMBER = 18; /** * .zepben.protobuf.cim.iec61970.base.wires.AcLineSegment acLineSegment = 18; * @return Whether the acLineSegment field is set. */ @java.lang.Override public boolean hasAcLineSegment() { return identifiedObjectCase_ == 18; } /** * .zepben.protobuf.cim.iec61970.base.wires.AcLineSegment acLineSegment = 18; * @return The acLineSegment. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment getAcLineSegment() { if (identifiedObjectCase_ == 18) { return (com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.AcLineSegment acLineSegment = 18; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegmentOrBuilder getAcLineSegmentOrBuilder() { if (identifiedObjectCase_ == 18) { return (com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment.getDefaultInstance(); } public static final int BREAKER_FIELD_NUMBER = 19; /** * .zepben.protobuf.cim.iec61970.base.wires.Breaker breaker = 19; * @return Whether the breaker field is set. */ @java.lang.Override public boolean hasBreaker() { return identifiedObjectCase_ == 19; } /** * .zepben.protobuf.cim.iec61970.base.wires.Breaker breaker = 19; * @return The breaker. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.Breaker getBreaker() { if (identifiedObjectCase_ == 19) { return (com.zepben.protobuf.cim.iec61970.base.wires.Breaker) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Breaker.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.Breaker breaker = 19; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.BreakerOrBuilder getBreakerOrBuilder() { if (identifiedObjectCase_ == 19) { return (com.zepben.protobuf.cim.iec61970.base.wires.Breaker) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Breaker.getDefaultInstance(); } public static final int DISCONNECTOR_FIELD_NUMBER = 20; /** * .zepben.protobuf.cim.iec61970.base.wires.Disconnector disconnector = 20; * @return Whether the disconnector field is set. */ @java.lang.Override public boolean hasDisconnector() { return identifiedObjectCase_ == 20; } /** * .zepben.protobuf.cim.iec61970.base.wires.Disconnector disconnector = 20; * @return The disconnector. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.Disconnector getDisconnector() { if (identifiedObjectCase_ == 20) { return (com.zepben.protobuf.cim.iec61970.base.wires.Disconnector) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Disconnector.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.Disconnector disconnector = 20; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.DisconnectorOrBuilder getDisconnectorOrBuilder() { if (identifiedObjectCase_ == 20) { return (com.zepben.protobuf.cim.iec61970.base.wires.Disconnector) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Disconnector.getDefaultInstance(); } public static final int ENERGYCONSUMER_FIELD_NUMBER = 21; /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer energyConsumer = 21; * @return Whether the energyConsumer field is set. */ @java.lang.Override public boolean hasEnergyConsumer() { return identifiedObjectCase_ == 21; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer energyConsumer = 21; * @return The energyConsumer. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer getEnergyConsumer() { if (identifiedObjectCase_ == 21) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer energyConsumer = 21; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerOrBuilder getEnergyConsumerOrBuilder() { if (identifiedObjectCase_ == 21) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer.getDefaultInstance(); } public static final int ENERGYCONSUMERPHASE_FIELD_NUMBER = 22; /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase energyConsumerPhase = 22; * @return Whether the energyConsumerPhase field is set. */ @java.lang.Override public boolean hasEnergyConsumerPhase() { return identifiedObjectCase_ == 22; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase energyConsumerPhase = 22; * @return The energyConsumerPhase. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase getEnergyConsumerPhase() { if (identifiedObjectCase_ == 22) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase energyConsumerPhase = 22; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhaseOrBuilder getEnergyConsumerPhaseOrBuilder() { if (identifiedObjectCase_ == 22) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase.getDefaultInstance(); } public static final int ENERGYSOURCE_FIELD_NUMBER = 23; /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySource energySource = 23; * @return Whether the energySource field is set. */ @java.lang.Override public boolean hasEnergySource() { return identifiedObjectCase_ == 23; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySource energySource = 23; * @return The energySource. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergySource getEnergySource() { if (identifiedObjectCase_ == 23) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergySource) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergySource.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySource energySource = 23; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergySourceOrBuilder getEnergySourceOrBuilder() { if (identifiedObjectCase_ == 23) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergySource) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergySource.getDefaultInstance(); } public static final int ENERGYSOURCEPHASE_FIELD_NUMBER = 24; /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase energySourcePhase = 24; * @return Whether the energySourcePhase field is set. */ @java.lang.Override public boolean hasEnergySourcePhase() { return identifiedObjectCase_ == 24; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase energySourcePhase = 24; * @return The energySourcePhase. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase getEnergySourcePhase() { if (identifiedObjectCase_ == 24) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase energySourcePhase = 24; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhaseOrBuilder getEnergySourcePhaseOrBuilder() { if (identifiedObjectCase_ == 24) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase.getDefaultInstance(); } public static final int FUSE_FIELD_NUMBER = 25; /** * .zepben.protobuf.cim.iec61970.base.wires.Fuse fuse = 25; * @return Whether the fuse field is set. */ @java.lang.Override public boolean hasFuse() { return identifiedObjectCase_ == 25; } /** * .zepben.protobuf.cim.iec61970.base.wires.Fuse fuse = 25; * @return The fuse. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.Fuse getFuse() { if (identifiedObjectCase_ == 25) { return (com.zepben.protobuf.cim.iec61970.base.wires.Fuse) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Fuse.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.Fuse fuse = 25; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.FuseOrBuilder getFuseOrBuilder() { if (identifiedObjectCase_ == 25) { return (com.zepben.protobuf.cim.iec61970.base.wires.Fuse) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Fuse.getDefaultInstance(); } public static final int JUMPER_FIELD_NUMBER = 26; /** * .zepben.protobuf.cim.iec61970.base.wires.Jumper jumper = 26; * @return Whether the jumper field is set. */ @java.lang.Override public boolean hasJumper() { return identifiedObjectCase_ == 26; } /** * .zepben.protobuf.cim.iec61970.base.wires.Jumper jumper = 26; * @return The jumper. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.Jumper getJumper() { if (identifiedObjectCase_ == 26) { return (com.zepben.protobuf.cim.iec61970.base.wires.Jumper) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Jumper.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.Jumper jumper = 26; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.JumperOrBuilder getJumperOrBuilder() { if (identifiedObjectCase_ == 26) { return (com.zepben.protobuf.cim.iec61970.base.wires.Jumper) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Jumper.getDefaultInstance(); } public static final int JUNCTION_FIELD_NUMBER = 27; /** * .zepben.protobuf.cim.iec61970.base.wires.Junction junction = 27; * @return Whether the junction field is set. */ @java.lang.Override public boolean hasJunction() { return identifiedObjectCase_ == 27; } /** * .zepben.protobuf.cim.iec61970.base.wires.Junction junction = 27; * @return The junction. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.Junction getJunction() { if (identifiedObjectCase_ == 27) { return (com.zepben.protobuf.cim.iec61970.base.wires.Junction) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Junction.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.Junction junction = 27; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.JunctionOrBuilder getJunctionOrBuilder() { if (identifiedObjectCase_ == 27) { return (com.zepben.protobuf.cim.iec61970.base.wires.Junction) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Junction.getDefaultInstance(); } public static final int LINEARSHUNTCOMPENSATOR_FIELD_NUMBER = 28; /** * .zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator linearShuntCompensator = 28; * @return Whether the linearShuntCompensator field is set. */ @java.lang.Override public boolean hasLinearShuntCompensator() { return identifiedObjectCase_ == 28; } /** * .zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator linearShuntCompensator = 28; * @return The linearShuntCompensator. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator getLinearShuntCompensator() { if (identifiedObjectCase_ == 28) { return (com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator linearShuntCompensator = 28; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensatorOrBuilder getLinearShuntCompensatorOrBuilder() { if (identifiedObjectCase_ == 28) { return (com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator.getDefaultInstance(); } public static final int PERLENGTHSEQUENCEIMPEDANCE_FIELD_NUMBER = 29; /** * .zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance perLengthSequenceImpedance = 29; * @return Whether the perLengthSequenceImpedance field is set. */ @java.lang.Override public boolean hasPerLengthSequenceImpedance() { return identifiedObjectCase_ == 29; } /** * .zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance perLengthSequenceImpedance = 29; * @return The perLengthSequenceImpedance. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance getPerLengthSequenceImpedance() { if (identifiedObjectCase_ == 29) { return (com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance perLengthSequenceImpedance = 29; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedanceOrBuilder getPerLengthSequenceImpedanceOrBuilder() { if (identifiedObjectCase_ == 29) { return (com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance.getDefaultInstance(); } public static final int POWERTRANSFORMER_FIELD_NUMBER = 30; /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformer powerTransformer = 30; * @return Whether the powerTransformer field is set. */ @java.lang.Override public boolean hasPowerTransformer() { return identifiedObjectCase_ == 30; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformer powerTransformer = 30; * @return The powerTransformer. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer getPowerTransformer() { if (identifiedObjectCase_ == 30) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformer powerTransformer = 30; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerOrBuilder getPowerTransformerOrBuilder() { if (identifiedObjectCase_ == 30) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer.getDefaultInstance(); } public static final int POWERTRANSFORMEREND_FIELD_NUMBER = 31; /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd powerTransformerEnd = 31; * @return Whether the powerTransformerEnd field is set. */ @java.lang.Override public boolean hasPowerTransformerEnd() { return identifiedObjectCase_ == 31; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd powerTransformerEnd = 31; * @return The powerTransformerEnd. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd getPowerTransformerEnd() { if (identifiedObjectCase_ == 31) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd powerTransformerEnd = 31; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEndOrBuilder getPowerTransformerEndOrBuilder() { if (identifiedObjectCase_ == 31) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd.getDefaultInstance(); } public static final int RATIOTAPCHANGER_FIELD_NUMBER = 32; /** * .zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger ratioTapChanger = 32; * @return Whether the ratioTapChanger field is set. */ @java.lang.Override public boolean hasRatioTapChanger() { return identifiedObjectCase_ == 32; } /** * .zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger ratioTapChanger = 32; * @return The ratioTapChanger. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger getRatioTapChanger() { if (identifiedObjectCase_ == 32) { return (com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger ratioTapChanger = 32; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChangerOrBuilder getRatioTapChangerOrBuilder() { if (identifiedObjectCase_ == 32) { return (com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger.getDefaultInstance(); } public static final int RECLOSER_FIELD_NUMBER = 33; /** * .zepben.protobuf.cim.iec61970.base.wires.Recloser recloser = 33; * @return Whether the recloser field is set. */ @java.lang.Override public boolean hasRecloser() { return identifiedObjectCase_ == 33; } /** * .zepben.protobuf.cim.iec61970.base.wires.Recloser recloser = 33; * @return The recloser. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.Recloser getRecloser() { if (identifiedObjectCase_ == 33) { return (com.zepben.protobuf.cim.iec61970.base.wires.Recloser) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Recloser.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.Recloser recloser = 33; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RecloserOrBuilder getRecloserOrBuilder() { if (identifiedObjectCase_ == 33) { return (com.zepben.protobuf.cim.iec61970.base.wires.Recloser) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Recloser.getDefaultInstance(); } public static final int CIRCUIT_FIELD_NUMBER = 34; /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit circuit = 34; * @return Whether the circuit field is set. */ @java.lang.Override public boolean hasCircuit() { return identifiedObjectCase_ == 34; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit circuit = 34; * @return The circuit. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit getCircuit() { if (identifiedObjectCase_ == 34) { return (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit circuit = 34; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.feeder.CircuitOrBuilder getCircuitOrBuilder() { if (identifiedObjectCase_ == 34) { return (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit.getDefaultInstance(); } public static final int LOOP_FIELD_NUMBER = 35; /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop loop = 35; * @return Whether the loop field is set. */ @java.lang.Override public boolean hasLoop() { return identifiedObjectCase_ == 35; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop loop = 35; * @return The loop. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop getLoop() { if (identifiedObjectCase_ == 35) { return (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop loop = 35; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LoopOrBuilder getLoopOrBuilder() { if (identifiedObjectCase_ == 35) { return (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop.getDefaultInstance(); } public static final int POLE_FIELD_NUMBER = 36; /** * .zepben.protobuf.cim.iec61968.assets.Pole pole = 36; * @return Whether the pole field is set. */ @java.lang.Override public boolean hasPole() { return identifiedObjectCase_ == 36; } /** * .zepben.protobuf.cim.iec61968.assets.Pole pole = 36; * @return The pole. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assets.Pole getPole() { if (identifiedObjectCase_ == 36) { return (com.zepben.protobuf.cim.iec61968.assets.Pole) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assets.Pole.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.assets.Pole pole = 36; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assets.PoleOrBuilder getPoleOrBuilder() { if (identifiedObjectCase_ == 36) { return (com.zepben.protobuf.cim.iec61968.assets.Pole) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assets.Pole.getDefaultInstance(); } public static final int STREETLIGHT_FIELD_NUMBER = 37; /** * .zepben.protobuf.cim.iec61968.assets.Streetlight streetlight = 37; * @return Whether the streetlight field is set. */ @java.lang.Override public boolean hasStreetlight() { return identifiedObjectCase_ == 37; } /** * .zepben.protobuf.cim.iec61968.assets.Streetlight streetlight = 37; * @return The streetlight. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assets.Streetlight getStreetlight() { if (identifiedObjectCase_ == 37) { return (com.zepben.protobuf.cim.iec61968.assets.Streetlight) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assets.Streetlight.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.assets.Streetlight streetlight = 37; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assets.StreetlightOrBuilder getStreetlightOrBuilder() { if (identifiedObjectCase_ == 37) { return (com.zepben.protobuf.cim.iec61968.assets.Streetlight) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assets.Streetlight.getDefaultInstance(); } public static final int ACCUMULATOR_FIELD_NUMBER = 38; /** * .zepben.protobuf.cim.iec61970.base.meas.Accumulator accumulator = 38; * @return Whether the accumulator field is set. */ @java.lang.Override public boolean hasAccumulator() { return identifiedObjectCase_ == 38; } /** * .zepben.protobuf.cim.iec61970.base.meas.Accumulator accumulator = 38; * @return The accumulator. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.Accumulator getAccumulator() { if (identifiedObjectCase_ == 38) { return (com.zepben.protobuf.cim.iec61970.base.meas.Accumulator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Accumulator.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.meas.Accumulator accumulator = 38; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.AccumulatorOrBuilder getAccumulatorOrBuilder() { if (identifiedObjectCase_ == 38) { return (com.zepben.protobuf.cim.iec61970.base.meas.Accumulator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Accumulator.getDefaultInstance(); } public static final int ANALOG_FIELD_NUMBER = 39; /** * .zepben.protobuf.cim.iec61970.base.meas.Analog analog = 39; * @return Whether the analog field is set. */ @java.lang.Override public boolean hasAnalog() { return identifiedObjectCase_ == 39; } /** * .zepben.protobuf.cim.iec61970.base.meas.Analog analog = 39; * @return The analog. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.Analog getAnalog() { if (identifiedObjectCase_ == 39) { return (com.zepben.protobuf.cim.iec61970.base.meas.Analog) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Analog.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.meas.Analog analog = 39; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.AnalogOrBuilder getAnalogOrBuilder() { if (identifiedObjectCase_ == 39) { return (com.zepben.protobuf.cim.iec61970.base.meas.Analog) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Analog.getDefaultInstance(); } public static final int DISCRETE_FIELD_NUMBER = 40; /** * .zepben.protobuf.cim.iec61970.base.meas.Discrete discrete = 40; * @return Whether the discrete field is set. */ @java.lang.Override public boolean hasDiscrete() { return identifiedObjectCase_ == 40; } /** * .zepben.protobuf.cim.iec61970.base.meas.Discrete discrete = 40; * @return The discrete. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.Discrete getDiscrete() { if (identifiedObjectCase_ == 40) { return (com.zepben.protobuf.cim.iec61970.base.meas.Discrete) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Discrete.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.meas.Discrete discrete = 40; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.DiscreteOrBuilder getDiscreteOrBuilder() { if (identifiedObjectCase_ == 40) { return (com.zepben.protobuf.cim.iec61970.base.meas.Discrete) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Discrete.getDefaultInstance(); } public static final int CONTROL_FIELD_NUMBER = 41; /** * .zepben.protobuf.cim.iec61970.base.meas.Control control = 41; * @return Whether the control field is set. */ @java.lang.Override public boolean hasControl() { return identifiedObjectCase_ == 41; } /** * .zepben.protobuf.cim.iec61970.base.meas.Control control = 41; * @return The control. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.Control getControl() { if (identifiedObjectCase_ == 41) { return (com.zepben.protobuf.cim.iec61970.base.meas.Control) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Control.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.meas.Control control = 41; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.ControlOrBuilder getControlOrBuilder() { if (identifiedObjectCase_ == 41) { return (com.zepben.protobuf.cim.iec61970.base.meas.Control) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Control.getDefaultInstance(); } public static final int REMOTECONTROL_FIELD_NUMBER = 42; /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteControl remoteControl = 42; * @return Whether the remoteControl field is set. */ @java.lang.Override public boolean hasRemoteControl() { return identifiedObjectCase_ == 42; } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteControl remoteControl = 42; * @return The remoteControl. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl getRemoteControl() { if (identifiedObjectCase_ == 42) { return (com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteControl remoteControl = 42; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.scada.RemoteControlOrBuilder getRemoteControlOrBuilder() { if (identifiedObjectCase_ == 42) { return (com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl.getDefaultInstance(); } public static final int REMOTESOURCE_FIELD_NUMBER = 43; /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteSource remoteSource = 43; * @return Whether the remoteSource field is set. */ @java.lang.Override public boolean hasRemoteSource() { return identifiedObjectCase_ == 43; } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteSource remoteSource = 43; * @return The remoteSource. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource getRemoteSource() { if (identifiedObjectCase_ == 43) { return (com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteSource remoteSource = 43; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.scada.RemoteSourceOrBuilder getRemoteSourceOrBuilder() { if (identifiedObjectCase_ == 43) { return (com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource.getDefaultInstance(); } public static final int POWERTRANSFORMERINFO_FIELD_NUMBER = 44; /** * .zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo powerTransformerInfo = 44; * @return Whether the powerTransformerInfo field is set. */ @java.lang.Override public boolean hasPowerTransformerInfo() { return identifiedObjectCase_ == 44; } /** * .zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo powerTransformerInfo = 44; * @return The powerTransformerInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo getPowerTransformerInfo() { if (identifiedObjectCase_ == 44) { return (com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo powerTransformerInfo = 44; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfoOrBuilder getPowerTransformerInfoOrBuilder() { if (identifiedObjectCase_ == 44) { return (com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo.getDefaultInstance(); } public static final int POWERELECTRONICSCONNECTION_FIELD_NUMBER = 45; /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection powerElectronicsConnection = 45; * @return Whether the powerElectronicsConnection field is set. */ @java.lang.Override public boolean hasPowerElectronicsConnection() { return identifiedObjectCase_ == 45; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection powerElectronicsConnection = 45; * @return The powerElectronicsConnection. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection getPowerElectronicsConnection() { if (identifiedObjectCase_ == 45) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection powerElectronicsConnection = 45; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionOrBuilder getPowerElectronicsConnectionOrBuilder() { if (identifiedObjectCase_ == 45) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection.getDefaultInstance(); } public static final int POWERELECTRONICSCONNECTIONPHASE_FIELD_NUMBER = 46; /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase powerElectronicsConnectionPhase = 46; * @return Whether the powerElectronicsConnectionPhase field is set. */ @java.lang.Override public boolean hasPowerElectronicsConnectionPhase() { return identifiedObjectCase_ == 46; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase powerElectronicsConnectionPhase = 46; * @return The powerElectronicsConnectionPhase. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase getPowerElectronicsConnectionPhase() { if (identifiedObjectCase_ == 46) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase powerElectronicsConnectionPhase = 46; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhaseOrBuilder getPowerElectronicsConnectionPhaseOrBuilder() { if (identifiedObjectCase_ == 46) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase.getDefaultInstance(); } public static final int BATTERYUNIT_FIELD_NUMBER = 47; /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit batteryUnit = 47; * @return Whether the batteryUnit field is set. */ @java.lang.Override public boolean hasBatteryUnit() { return identifiedObjectCase_ == 47; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit batteryUnit = 47; * @return The batteryUnit. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit getBatteryUnit() { if (identifiedObjectCase_ == 47) { return (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit batteryUnit = 47; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnitOrBuilder getBatteryUnitOrBuilder() { if (identifiedObjectCase_ == 47) { return (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit.getDefaultInstance(); } public static final int PHOTOVOLTAICUNIT_FIELD_NUMBER = 48; /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit photoVoltaicUnit = 48; * @return Whether the photoVoltaicUnit field is set. */ @java.lang.Override public boolean hasPhotoVoltaicUnit() { return identifiedObjectCase_ == 48; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit photoVoltaicUnit = 48; * @return The photoVoltaicUnit. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit getPhotoVoltaicUnit() { if (identifiedObjectCase_ == 48) { return (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit photoVoltaicUnit = 48; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnitOrBuilder getPhotoVoltaicUnitOrBuilder() { if (identifiedObjectCase_ == 48) { return (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit.getDefaultInstance(); } public static final int POWERELECTRONICSWINDUNIT_FIELD_NUMBER = 49; /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit powerElectronicsWindUnit = 49; * @return Whether the powerElectronicsWindUnit field is set. */ @java.lang.Override public boolean hasPowerElectronicsWindUnit() { return identifiedObjectCase_ == 49; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit powerElectronicsWindUnit = 49; * @return The powerElectronicsWindUnit. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit getPowerElectronicsWindUnit() { if (identifiedObjectCase_ == 49) { return (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit powerElectronicsWindUnit = 49; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnitOrBuilder getPowerElectronicsWindUnitOrBuilder() { if (identifiedObjectCase_ == 49) { return (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit.getDefaultInstance(); } public static final int BUSBARSECTION_FIELD_NUMBER = 50; /** * .zepben.protobuf.cim.iec61970.base.wires.BusbarSection busbarSection = 50; * @return Whether the busbarSection field is set. */ @java.lang.Override public boolean hasBusbarSection() { return identifiedObjectCase_ == 50; } /** * .zepben.protobuf.cim.iec61970.base.wires.BusbarSection busbarSection = 50; * @return The busbarSection. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection getBusbarSection() { if (identifiedObjectCase_ == 50) { return (com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.BusbarSection busbarSection = 50; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.BusbarSectionOrBuilder getBusbarSectionOrBuilder() { if (identifiedObjectCase_ == 50) { return (com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection.getDefaultInstance(); } public static final int LOADBREAKSWITCH_FIELD_NUMBER = 51; /** * .zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch loadBreakSwitch = 51; * @return Whether the loadBreakSwitch field is set. */ @java.lang.Override public boolean hasLoadBreakSwitch() { return identifiedObjectCase_ == 51; } /** * .zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch loadBreakSwitch = 51; * @return The loadBreakSwitch. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch getLoadBreakSwitch() { if (identifiedObjectCase_ == 51) { return (com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch loadBreakSwitch = 51; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitchOrBuilder getLoadBreakSwitchOrBuilder() { if (identifiedObjectCase_ == 51) { return (com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch.getDefaultInstance(); } public static final int TRANSFORMERSTARIMPEDANCE_FIELD_NUMBER = 52; /** * .zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance transformerStarImpedance = 52; * @return Whether the transformerStarImpedance field is set. */ @java.lang.Override public boolean hasTransformerStarImpedance() { return identifiedObjectCase_ == 52; } /** * .zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance transformerStarImpedance = 52; * @return The transformerStarImpedance. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance getTransformerStarImpedance() { if (identifiedObjectCase_ == 52) { return (com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance transformerStarImpedance = 52; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedanceOrBuilder getTransformerStarImpedanceOrBuilder() { if (identifiedObjectCase_ == 52) { return (com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance.getDefaultInstance(); } public static final int TRANSFORMERENDINFO_FIELD_NUMBER = 53; /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo transformerEndInfo = 53; * @return Whether the transformerEndInfo field is set. */ @java.lang.Override public boolean hasTransformerEndInfo() { return identifiedObjectCase_ == 53; } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo transformerEndInfo = 53; * @return The transformerEndInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo getTransformerEndInfo() { if (identifiedObjectCase_ == 53) { return (com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo transformerEndInfo = 53; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfoOrBuilder getTransformerEndInfoOrBuilder() { if (identifiedObjectCase_ == 53) { return (com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.getDefaultInstance(); } public static final int TRANSFORMERTANKINFO_FIELD_NUMBER = 54; /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo transformerTankInfo = 54; * @return Whether the transformerTankInfo field is set. */ @java.lang.Override public boolean hasTransformerTankInfo() { return identifiedObjectCase_ == 54; } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo transformerTankInfo = 54; * @return The transformerTankInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo getTransformerTankInfo() { if (identifiedObjectCase_ == 54) { return (com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo transformerTankInfo = 54; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfoOrBuilder getTransformerTankInfoOrBuilder() { if (identifiedObjectCase_ == 54) { return (com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo.getDefaultInstance(); } public static final int NOLOADTEST_FIELD_NUMBER = 55; /** * .zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest noLoadTest = 55; * @return Whether the noLoadTest field is set. */ @java.lang.Override public boolean hasNoLoadTest() { return identifiedObjectCase_ == 55; } /** * .zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest noLoadTest = 55; * @return The noLoadTest. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest getNoLoadTest() { if (identifiedObjectCase_ == 55) { return (com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest noLoadTest = 55; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTestOrBuilder getNoLoadTestOrBuilder() { if (identifiedObjectCase_ == 55) { return (com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.getDefaultInstance(); } public static final int OPENCIRCUITTEST_FIELD_NUMBER = 56; /** * .zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest openCircuitTest = 56; * @return Whether the openCircuitTest field is set. */ @java.lang.Override public boolean hasOpenCircuitTest() { return identifiedObjectCase_ == 56; } /** * .zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest openCircuitTest = 56; * @return The openCircuitTest. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest getOpenCircuitTest() { if (identifiedObjectCase_ == 56) { return (com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest openCircuitTest = 56; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTestOrBuilder getOpenCircuitTestOrBuilder() { if (identifiedObjectCase_ == 56) { return (com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest.getDefaultInstance(); } public static final int SHORTCIRCUITTEST_FIELD_NUMBER = 57; /** * .zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest shortCircuitTest = 57; * @return Whether the shortCircuitTest field is set. */ @java.lang.Override public boolean hasShortCircuitTest() { return identifiedObjectCase_ == 57; } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest shortCircuitTest = 57; * @return The shortCircuitTest. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest getShortCircuitTest() { if (identifiedObjectCase_ == 57) { return (com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest shortCircuitTest = 57; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTestOrBuilder getShortCircuitTestOrBuilder() { if (identifiedObjectCase_ == 57) { return (com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest.getDefaultInstance(); } public static final int EQUIVALENTBRANCH_FIELD_NUMBER = 58; /** * .zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch equivalentBranch = 58; * @return Whether the equivalentBranch field is set. */ @java.lang.Override public boolean hasEquivalentBranch() { return identifiedObjectCase_ == 58; } /** * .zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch equivalentBranch = 58; * @return The equivalentBranch. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch getEquivalentBranch() { if (identifiedObjectCase_ == 58) { return (com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch equivalentBranch = 58; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranchOrBuilder getEquivalentBranchOrBuilder() { if (identifiedObjectCase_ == 58) { return (com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch.getDefaultInstance(); } public static final int SHUNTCOMPENSATORINFO_FIELD_NUMBER = 59; /** * .zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo shuntCompensatorInfo = 59; * @return Whether the shuntCompensatorInfo field is set. */ @java.lang.Override public boolean hasShuntCompensatorInfo() { return identifiedObjectCase_ == 59; } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo shuntCompensatorInfo = 59; * @return The shuntCompensatorInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo getShuntCompensatorInfo() { if (identifiedObjectCase_ == 59) { return (com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo shuntCompensatorInfo = 59; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfoOrBuilder getShuntCompensatorInfoOrBuilder() { if (identifiedObjectCase_ == 59) { return (com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo.getDefaultInstance(); } public static final int LVFEEDER_FIELD_NUMBER = 60; /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder lvFeeder = 60; * @return Whether the lvFeeder field is set. */ @java.lang.Override public boolean hasLvFeeder() { return identifiedObjectCase_ == 60; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder lvFeeder = 60; * @return The lvFeeder. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder getLvFeeder() { if (identifiedObjectCase_ == 60) { return (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder lvFeeder = 60; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeederOrBuilder getLvFeederOrBuilder() { if (identifiedObjectCase_ == 60) { return (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder.getDefaultInstance(); } public static final int CURRENTTRANSFORMER_FIELD_NUMBER = 61; /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer currentTransformer = 61; * @return Whether the currentTransformer field is set. */ @java.lang.Override public boolean hasCurrentTransformer() { return identifiedObjectCase_ == 61; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer currentTransformer = 61; * @return The currentTransformer. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer getCurrentTransformer() { if (identifiedObjectCase_ == 61) { return (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer currentTransformer = 61; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformerOrBuilder getCurrentTransformerOrBuilder() { if (identifiedObjectCase_ == 61) { return (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer.getDefaultInstance(); } public static final int POTENTIALTRANSFORMER_FIELD_NUMBER = 62; /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer potentialTransformer = 62; * @return Whether the potentialTransformer field is set. */ @java.lang.Override public boolean hasPotentialTransformer() { return identifiedObjectCase_ == 62; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer potentialTransformer = 62; * @return The potentialTransformer. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer getPotentialTransformer() { if (identifiedObjectCase_ == 62) { return (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer potentialTransformer = 62; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformerOrBuilder getPotentialTransformerOrBuilder() { if (identifiedObjectCase_ == 62) { return (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer.getDefaultInstance(); } public static final int CURRENTTRANSFORMERINFO_FIELD_NUMBER = 63; /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo currentTransformerInfo = 63; * @return Whether the currentTransformerInfo field is set. */ @java.lang.Override public boolean hasCurrentTransformerInfo() { return identifiedObjectCase_ == 63; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo currentTransformerInfo = 63; * @return The currentTransformerInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo getCurrentTransformerInfo() { if (identifiedObjectCase_ == 63) { return (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo currentTransformerInfo = 63; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfoOrBuilder getCurrentTransformerInfoOrBuilder() { if (identifiedObjectCase_ == 63) { return (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo.getDefaultInstance(); } public static final int POTENTIALTRANSFORMERINFO_FIELD_NUMBER = 64; /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo potentialTransformerInfo = 64; * @return Whether the potentialTransformerInfo field is set. */ @java.lang.Override public boolean hasPotentialTransformerInfo() { return identifiedObjectCase_ == 64; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo potentialTransformerInfo = 64; * @return The potentialTransformerInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo getPotentialTransformerInfo() { if (identifiedObjectCase_ == 64) { return (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo potentialTransformerInfo = 64; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfoOrBuilder getPotentialTransformerInfoOrBuilder() { if (identifiedObjectCase_ == 64) { return (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo.getDefaultInstance(); } public static final int SWITCHINFO_FIELD_NUMBER = 65; /** * .zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo switchInfo = 65; * @return Whether the switchInfo field is set. */ @java.lang.Override public boolean hasSwitchInfo() { return identifiedObjectCase_ == 65; } /** * .zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo switchInfo = 65; * @return The switchInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo getSwitchInfo() { if (identifiedObjectCase_ == 65) { return (com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo switchInfo = 65; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfoOrBuilder getSwitchInfoOrBuilder() { if (identifiedObjectCase_ == 65) { return (com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo.getDefaultInstance(); } public static final int RELAYINFO_FIELD_NUMBER = 66; /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo relayInfo = 66; * @return Whether the relayInfo field is set. */ @java.lang.Override public boolean hasRelayInfo() { return identifiedObjectCase_ == 66; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo relayInfo = 66; * @return The relayInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo getRelayInfo() { if (identifiedObjectCase_ == 66) { return (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo relayInfo = 66; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfoOrBuilder getRelayInfoOrBuilder() { if (identifiedObjectCase_ == 66) { return (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo.getDefaultInstance(); } public static final int CURRENTRELAY_FIELD_NUMBER = 68; /** * .zepben.protobuf.cim.iec61970.base.protection.CurrentRelay currentRelay = 68; * @return Whether the currentRelay field is set. */ @java.lang.Override public boolean hasCurrentRelay() { return identifiedObjectCase_ == 68; } /** * .zepben.protobuf.cim.iec61970.base.protection.CurrentRelay currentRelay = 68; * @return The currentRelay. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay getCurrentRelay() { if (identifiedObjectCase_ == 68) { return (com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.protection.CurrentRelay currentRelay = 68; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelayOrBuilder getCurrentRelayOrBuilder() { if (identifiedObjectCase_ == 68) { return (com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay.getDefaultInstance(); } public static final int TAPCHANGERCONTROL_FIELD_NUMBER = 69; /** * .zepben.protobuf.cim.iec61970.base.wires.TapChangerControl tapChangerControl = 69; * @return Whether the tapChangerControl field is set. */ @java.lang.Override public boolean hasTapChangerControl() { return identifiedObjectCase_ == 69; } /** * .zepben.protobuf.cim.iec61970.base.wires.TapChangerControl tapChangerControl = 69; * @return The tapChangerControl. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl getTapChangerControl() { if (identifiedObjectCase_ == 69) { return (com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.TapChangerControl tapChangerControl = 69; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControlOrBuilder getTapChangerControlOrBuilder() { if (identifiedObjectCase_ == 69) { return (com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl.getDefaultInstance(); } public static final int EVCHARGINGUNIT_FIELD_NUMBER = 70; /** * .zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit evChargingUnit = 70; * @return Whether the evChargingUnit field is set. */ @java.lang.Override public boolean hasEvChargingUnit() { return identifiedObjectCase_ == 70; } /** * .zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit evChargingUnit = 70; * @return The evChargingUnit. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit getEvChargingUnit() { if (identifiedObjectCase_ == 70) { return (com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit evChargingUnit = 70; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnitOrBuilder getEvChargingUnitOrBuilder() { if (identifiedObjectCase_ == 70) { return (com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit.getDefaultInstance(); } public static final int SERIESCOMPENSATOR_FIELD_NUMBER = 71; /** * .zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator seriesCompensator = 71; * @return Whether the seriesCompensator field is set. */ @java.lang.Override public boolean hasSeriesCompensator() { return identifiedObjectCase_ == 71; } /** * .zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator seriesCompensator = 71; * @return The seriesCompensator. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator getSeriesCompensator() { if (identifiedObjectCase_ == 71) { return (com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator seriesCompensator = 71; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensatorOrBuilder getSeriesCompensatorOrBuilder() { if (identifiedObjectCase_ == 71) { return (com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator.getDefaultInstance(); } public static final int GROUND_FIELD_NUMBER = 72; /** * .zepben.protobuf.cim.iec61970.base.wires.Ground ground = 72; * @return Whether the ground field is set. */ @java.lang.Override public boolean hasGround() { return identifiedObjectCase_ == 72; } /** * .zepben.protobuf.cim.iec61970.base.wires.Ground ground = 72; * @return The ground. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.Ground getGround() { if (identifiedObjectCase_ == 72) { return (com.zepben.protobuf.cim.iec61970.base.wires.Ground) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Ground.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.Ground ground = 72; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.GroundOrBuilder getGroundOrBuilder() { if (identifiedObjectCase_ == 72) { return (com.zepben.protobuf.cim.iec61970.base.wires.Ground) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Ground.getDefaultInstance(); } public static final int GROUNDDISCONNECTOR_FIELD_NUMBER = 73; /** * .zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector groundDisconnector = 73; * @return Whether the groundDisconnector field is set. */ @java.lang.Override public boolean hasGroundDisconnector() { return identifiedObjectCase_ == 73; } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector groundDisconnector = 73; * @return The groundDisconnector. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector getGroundDisconnector() { if (identifiedObjectCase_ == 73) { return (com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector groundDisconnector = 73; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnectorOrBuilder getGroundDisconnectorOrBuilder() { if (identifiedObjectCase_ == 73) { return (com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector.getDefaultInstance(); } public static final int PROTECTIONRELAYSCHEME_FIELD_NUMBER = 74; /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme protectionRelayScheme = 74; * @return Whether the protectionRelayScheme field is set. */ @java.lang.Override public boolean hasProtectionRelayScheme() { return identifiedObjectCase_ == 74; } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme protectionRelayScheme = 74; * @return The protectionRelayScheme. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme getProtectionRelayScheme() { if (identifiedObjectCase_ == 74) { return (com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme protectionRelayScheme = 74; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySchemeOrBuilder getProtectionRelaySchemeOrBuilder() { if (identifiedObjectCase_ == 74) { return (com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme.getDefaultInstance(); } public static final int PROTECTIONRELAYSYSTEM_FIELD_NUMBER = 75; /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem protectionRelaySystem = 75; * @return Whether the protectionRelaySystem field is set. */ @java.lang.Override public boolean hasProtectionRelaySystem() { return identifiedObjectCase_ == 75; } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem protectionRelaySystem = 75; * @return The protectionRelaySystem. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem getProtectionRelaySystem() { if (identifiedObjectCase_ == 75) { return (com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem protectionRelaySystem = 75; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystemOrBuilder getProtectionRelaySystemOrBuilder() { if (identifiedObjectCase_ == 75) { return (com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem.getDefaultInstance(); } public static final int VOLTAGERELAY_FIELD_NUMBER = 76; /** * .zepben.protobuf.cim.iec61970.base.protection.VoltageRelay voltageRelay = 76; * @return Whether the voltageRelay field is set. */ @java.lang.Override public boolean hasVoltageRelay() { return identifiedObjectCase_ == 76; } /** * .zepben.protobuf.cim.iec61970.base.protection.VoltageRelay voltageRelay = 76; * @return The voltageRelay. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay getVoltageRelay() { if (identifiedObjectCase_ == 76) { return (com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.protection.VoltageRelay voltageRelay = 76; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelayOrBuilder getVoltageRelayOrBuilder() { if (identifiedObjectCase_ == 76) { return (com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay.getDefaultInstance(); } public static final int DISTANCERELAY_FIELD_NUMBER = 77; /** * .zepben.protobuf.cim.iec61970.base.protection.DistanceRelay distanceRelay = 77; * @return Whether the distanceRelay field is set. */ @java.lang.Override public boolean hasDistanceRelay() { return identifiedObjectCase_ == 77; } /** * .zepben.protobuf.cim.iec61970.base.protection.DistanceRelay distanceRelay = 77; * @return The distanceRelay. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay getDistanceRelay() { if (identifiedObjectCase_ == 77) { return (com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.protection.DistanceRelay distanceRelay = 77; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelayOrBuilder getDistanceRelayOrBuilder() { if (identifiedObjectCase_ == 77) { return (com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay.getDefaultInstance(); } public static final int SYNCHRONOUSMACHINE_FIELD_NUMBER = 78; /** * .zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine synchronousMachine = 78; * @return Whether the synchronousMachine field is set. */ @java.lang.Override public boolean hasSynchronousMachine() { return identifiedObjectCase_ == 78; } /** * .zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine synchronousMachine = 78; * @return The synchronousMachine. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine getSynchronousMachine() { if (identifiedObjectCase_ == 78) { return (com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine synchronousMachine = 78; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachineOrBuilder getSynchronousMachineOrBuilder() { if (identifiedObjectCase_ == 78) { return (com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine.getDefaultInstance(); } public static final int REACTIVECAPABILITYCURVE_FIELD_NUMBER = 79; /** * .zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve reactiveCapabilityCurve = 79; * @return Whether the reactiveCapabilityCurve field is set. */ @java.lang.Override public boolean hasReactiveCapabilityCurve() { return identifiedObjectCase_ == 79; } /** * .zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve reactiveCapabilityCurve = 79; * @return The reactiveCapabilityCurve. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve getReactiveCapabilityCurve() { if (identifiedObjectCase_ == 79) { return (com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve reactiveCapabilityCurve = 79; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurveOrBuilder getReactiveCapabilityCurveOrBuilder() { if (identifiedObjectCase_ == 79) { return (com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve.getDefaultInstance(); } public static final int GROUNDINGIMPEDANCE_FIELD_NUMBER = 80; /** * .zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance groundingImpedance = 80; * @return Whether the groundingImpedance field is set. */ @java.lang.Override public boolean hasGroundingImpedance() { return identifiedObjectCase_ == 80; } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance groundingImpedance = 80; * @return The groundingImpedance. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance getGroundingImpedance() { if (identifiedObjectCase_ == 80) { return (com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance groundingImpedance = 80; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedanceOrBuilder getGroundingImpedanceOrBuilder() { if (identifiedObjectCase_ == 80) { return (com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance.getDefaultInstance(); } public static final int PETERSENCOIL_FIELD_NUMBER = 81; /** * .zepben.protobuf.cim.iec61970.base.wires.PetersenCoil petersenCoil = 81; * @return Whether the petersenCoil field is set. */ @java.lang.Override public boolean hasPetersenCoil() { return identifiedObjectCase_ == 81; } /** * .zepben.protobuf.cim.iec61970.base.wires.PetersenCoil petersenCoil = 81; * @return The petersenCoil. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil getPetersenCoil() { if (identifiedObjectCase_ == 81) { return (com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil.getDefaultInstance(); } /** * .zepben.protobuf.cim.iec61970.base.wires.PetersenCoil petersenCoil = 81; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoilOrBuilder getPetersenCoilOrBuilder() { if (identifiedObjectCase_ == 81) { return (com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil.getDefaultInstance(); } public static final int OTHER_FIELD_NUMBER = 999; /** * .google.protobuf.Any other = 999; * @return Whether the other field is set. */ @java.lang.Override public boolean hasOther() { return identifiedObjectCase_ == 999; } /** * .google.protobuf.Any other = 999; * @return The other. */ @java.lang.Override public com.google.protobuf.Any getOther() { if (identifiedObjectCase_ == 999) { return (com.google.protobuf.Any) identifiedObject_; } return com.google.protobuf.Any.getDefaultInstance(); } /** * .google.protobuf.Any other = 999; */ @java.lang.Override public com.google.protobuf.AnyOrBuilder getOtherOrBuilder() { if (identifiedObjectCase_ == 999) { return (com.google.protobuf.Any) identifiedObject_; } return com.google.protobuf.Any.getDefaultInstance(); } 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 (identifiedObjectCase_ == 1) { output.writeMessage(1, (com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo) identifiedObject_); } if (identifiedObjectCase_ == 2) { output.writeMessage(2, (com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo) identifiedObject_); } if (identifiedObjectCase_ == 3) { output.writeMessage(3, (com.zepben.protobuf.cim.iec61968.assets.AssetOwner) identifiedObject_); } if (identifiedObjectCase_ == 4) { output.writeMessage(4, (com.zepben.protobuf.cim.iec61968.common.Organisation) identifiedObject_); } if (identifiedObjectCase_ == 5) { output.writeMessage(5, (com.zepben.protobuf.cim.iec61968.common.Location) identifiedObject_); } if (identifiedObjectCase_ == 6) { output.writeMessage(6, (com.zepben.protobuf.cim.iec61968.metering.Meter) identifiedObject_); } if (identifiedObjectCase_ == 7) { output.writeMessage(7, (com.zepben.protobuf.cim.iec61968.metering.UsagePoint) identifiedObject_); } if (identifiedObjectCase_ == 8) { output.writeMessage(8, (com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction) identifiedObject_); } if (identifiedObjectCase_ == 9) { output.writeMessage(9, (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator) identifiedObject_); } if (identifiedObjectCase_ == 10) { output.writeMessage(10, (com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage) identifiedObject_); } if (identifiedObjectCase_ == 11) { output.writeMessage(11, (com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode) identifiedObject_); } if (identifiedObjectCase_ == 12) { output.writeMessage(12, (com.zepben.protobuf.cim.iec61970.base.core.Feeder) identifiedObject_); } if (identifiedObjectCase_ == 13) { output.writeMessage(13, (com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion) identifiedObject_); } if (identifiedObjectCase_ == 14) { output.writeMessage(14, (com.zepben.protobuf.cim.iec61970.base.core.Site) identifiedObject_); } if (identifiedObjectCase_ == 15) { output.writeMessage(15, (com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion) identifiedObject_); } if (identifiedObjectCase_ == 16) { output.writeMessage(16, (com.zepben.protobuf.cim.iec61970.base.core.Substation) identifiedObject_); } if (identifiedObjectCase_ == 17) { output.writeMessage(17, (com.zepben.protobuf.cim.iec61970.base.core.Terminal) identifiedObject_); } if (identifiedObjectCase_ == 18) { output.writeMessage(18, (com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment) identifiedObject_); } if (identifiedObjectCase_ == 19) { output.writeMessage(19, (com.zepben.protobuf.cim.iec61970.base.wires.Breaker) identifiedObject_); } if (identifiedObjectCase_ == 20) { output.writeMessage(20, (com.zepben.protobuf.cim.iec61970.base.wires.Disconnector) identifiedObject_); } if (identifiedObjectCase_ == 21) { output.writeMessage(21, (com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer) identifiedObject_); } if (identifiedObjectCase_ == 22) { output.writeMessage(22, (com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase) identifiedObject_); } if (identifiedObjectCase_ == 23) { output.writeMessage(23, (com.zepben.protobuf.cim.iec61970.base.wires.EnergySource) identifiedObject_); } if (identifiedObjectCase_ == 24) { output.writeMessage(24, (com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase) identifiedObject_); } if (identifiedObjectCase_ == 25) { output.writeMessage(25, (com.zepben.protobuf.cim.iec61970.base.wires.Fuse) identifiedObject_); } if (identifiedObjectCase_ == 26) { output.writeMessage(26, (com.zepben.protobuf.cim.iec61970.base.wires.Jumper) identifiedObject_); } if (identifiedObjectCase_ == 27) { output.writeMessage(27, (com.zepben.protobuf.cim.iec61970.base.wires.Junction) identifiedObject_); } if (identifiedObjectCase_ == 28) { output.writeMessage(28, (com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator) identifiedObject_); } if (identifiedObjectCase_ == 29) { output.writeMessage(29, (com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance) identifiedObject_); } if (identifiedObjectCase_ == 30) { output.writeMessage(30, (com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer) identifiedObject_); } if (identifiedObjectCase_ == 31) { output.writeMessage(31, (com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd) identifiedObject_); } if (identifiedObjectCase_ == 32) { output.writeMessage(32, (com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger) identifiedObject_); } if (identifiedObjectCase_ == 33) { output.writeMessage(33, (com.zepben.protobuf.cim.iec61970.base.wires.Recloser) identifiedObject_); } if (identifiedObjectCase_ == 34) { output.writeMessage(34, (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit) identifiedObject_); } if (identifiedObjectCase_ == 35) { output.writeMessage(35, (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop) identifiedObject_); } if (identifiedObjectCase_ == 36) { output.writeMessage(36, (com.zepben.protobuf.cim.iec61968.assets.Pole) identifiedObject_); } if (identifiedObjectCase_ == 37) { output.writeMessage(37, (com.zepben.protobuf.cim.iec61968.assets.Streetlight) identifiedObject_); } if (identifiedObjectCase_ == 38) { output.writeMessage(38, (com.zepben.protobuf.cim.iec61970.base.meas.Accumulator) identifiedObject_); } if (identifiedObjectCase_ == 39) { output.writeMessage(39, (com.zepben.protobuf.cim.iec61970.base.meas.Analog) identifiedObject_); } if (identifiedObjectCase_ == 40) { output.writeMessage(40, (com.zepben.protobuf.cim.iec61970.base.meas.Discrete) identifiedObject_); } if (identifiedObjectCase_ == 41) { output.writeMessage(41, (com.zepben.protobuf.cim.iec61970.base.meas.Control) identifiedObject_); } if (identifiedObjectCase_ == 42) { output.writeMessage(42, (com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl) identifiedObject_); } if (identifiedObjectCase_ == 43) { output.writeMessage(43, (com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource) identifiedObject_); } if (identifiedObjectCase_ == 44) { output.writeMessage(44, (com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo) identifiedObject_); } if (identifiedObjectCase_ == 45) { output.writeMessage(45, (com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection) identifiedObject_); } if (identifiedObjectCase_ == 46) { output.writeMessage(46, (com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase) identifiedObject_); } if (identifiedObjectCase_ == 47) { output.writeMessage(47, (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit) identifiedObject_); } if (identifiedObjectCase_ == 48) { output.writeMessage(48, (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit) identifiedObject_); } if (identifiedObjectCase_ == 49) { output.writeMessage(49, (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit) identifiedObject_); } if (identifiedObjectCase_ == 50) { output.writeMessage(50, (com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection) identifiedObject_); } if (identifiedObjectCase_ == 51) { output.writeMessage(51, (com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch) identifiedObject_); } if (identifiedObjectCase_ == 52) { output.writeMessage(52, (com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance) identifiedObject_); } if (identifiedObjectCase_ == 53) { output.writeMessage(53, (com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo) identifiedObject_); } if (identifiedObjectCase_ == 54) { output.writeMessage(54, (com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo) identifiedObject_); } if (identifiedObjectCase_ == 55) { output.writeMessage(55, (com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest) identifiedObject_); } if (identifiedObjectCase_ == 56) { output.writeMessage(56, (com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest) identifiedObject_); } if (identifiedObjectCase_ == 57) { output.writeMessage(57, (com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest) identifiedObject_); } if (identifiedObjectCase_ == 58) { output.writeMessage(58, (com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch) identifiedObject_); } if (identifiedObjectCase_ == 59) { output.writeMessage(59, (com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo) identifiedObject_); } if (identifiedObjectCase_ == 60) { output.writeMessage(60, (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder) identifiedObject_); } if (identifiedObjectCase_ == 61) { output.writeMessage(61, (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer) identifiedObject_); } if (identifiedObjectCase_ == 62) { output.writeMessage(62, (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer) identifiedObject_); } if (identifiedObjectCase_ == 63) { output.writeMessage(63, (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo) identifiedObject_); } if (identifiedObjectCase_ == 64) { output.writeMessage(64, (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo) identifiedObject_); } if (identifiedObjectCase_ == 65) { output.writeMessage(65, (com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo) identifiedObject_); } if (identifiedObjectCase_ == 66) { output.writeMessage(66, (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo) identifiedObject_); } if (identifiedObjectCase_ == 68) { output.writeMessage(68, (com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay) identifiedObject_); } if (identifiedObjectCase_ == 69) { output.writeMessage(69, (com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl) identifiedObject_); } if (identifiedObjectCase_ == 70) { output.writeMessage(70, (com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit) identifiedObject_); } if (identifiedObjectCase_ == 71) { output.writeMessage(71, (com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator) identifiedObject_); } if (identifiedObjectCase_ == 72) { output.writeMessage(72, (com.zepben.protobuf.cim.iec61970.base.wires.Ground) identifiedObject_); } if (identifiedObjectCase_ == 73) { output.writeMessage(73, (com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector) identifiedObject_); } if (identifiedObjectCase_ == 74) { output.writeMessage(74, (com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme) identifiedObject_); } if (identifiedObjectCase_ == 75) { output.writeMessage(75, (com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem) identifiedObject_); } if (identifiedObjectCase_ == 76) { output.writeMessage(76, (com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay) identifiedObject_); } if (identifiedObjectCase_ == 77) { output.writeMessage(77, (com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay) identifiedObject_); } if (identifiedObjectCase_ == 78) { output.writeMessage(78, (com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine) identifiedObject_); } if (identifiedObjectCase_ == 79) { output.writeMessage(79, (com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve) identifiedObject_); } if (identifiedObjectCase_ == 80) { output.writeMessage(80, (com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance) identifiedObject_); } if (identifiedObjectCase_ == 81) { output.writeMessage(81, (com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil) identifiedObject_); } if (identifiedObjectCase_ == 999) { output.writeMessage(999, (com.google.protobuf.Any) identifiedObject_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifiedObjectCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo) identifiedObject_); } if (identifiedObjectCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo) identifiedObject_); } if (identifiedObjectCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (com.zepben.protobuf.cim.iec61968.assets.AssetOwner) identifiedObject_); } if (identifiedObjectCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (com.zepben.protobuf.cim.iec61968.common.Organisation) identifiedObject_); } if (identifiedObjectCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (com.zepben.protobuf.cim.iec61968.common.Location) identifiedObject_); } if (identifiedObjectCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, (com.zepben.protobuf.cim.iec61968.metering.Meter) identifiedObject_); } if (identifiedObjectCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, (com.zepben.protobuf.cim.iec61968.metering.UsagePoint) identifiedObject_); } if (identifiedObjectCase_ == 8) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, (com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction) identifiedObject_); } if (identifiedObjectCase_ == 9) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator) identifiedObject_); } if (identifiedObjectCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage) identifiedObject_); } if (identifiedObjectCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode) identifiedObject_); } if (identifiedObjectCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, (com.zepben.protobuf.cim.iec61970.base.core.Feeder) identifiedObject_); } if (identifiedObjectCase_ == 13) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, (com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion) identifiedObject_); } if (identifiedObjectCase_ == 14) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, (com.zepben.protobuf.cim.iec61970.base.core.Site) identifiedObject_); } if (identifiedObjectCase_ == 15) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, (com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion) identifiedObject_); } if (identifiedObjectCase_ == 16) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, (com.zepben.protobuf.cim.iec61970.base.core.Substation) identifiedObject_); } if (identifiedObjectCase_ == 17) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, (com.zepben.protobuf.cim.iec61970.base.core.Terminal) identifiedObject_); } if (identifiedObjectCase_ == 18) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, (com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment) identifiedObject_); } if (identifiedObjectCase_ == 19) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, (com.zepben.protobuf.cim.iec61970.base.wires.Breaker) identifiedObject_); } if (identifiedObjectCase_ == 20) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, (com.zepben.protobuf.cim.iec61970.base.wires.Disconnector) identifiedObject_); } if (identifiedObjectCase_ == 21) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, (com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer) identifiedObject_); } if (identifiedObjectCase_ == 22) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, (com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase) identifiedObject_); } if (identifiedObjectCase_ == 23) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, (com.zepben.protobuf.cim.iec61970.base.wires.EnergySource) identifiedObject_); } if (identifiedObjectCase_ == 24) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(24, (com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase) identifiedObject_); } if (identifiedObjectCase_ == 25) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(25, (com.zepben.protobuf.cim.iec61970.base.wires.Fuse) identifiedObject_); } if (identifiedObjectCase_ == 26) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(26, (com.zepben.protobuf.cim.iec61970.base.wires.Jumper) identifiedObject_); } if (identifiedObjectCase_ == 27) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(27, (com.zepben.protobuf.cim.iec61970.base.wires.Junction) identifiedObject_); } if (identifiedObjectCase_ == 28) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(28, (com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator) identifiedObject_); } if (identifiedObjectCase_ == 29) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(29, (com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance) identifiedObject_); } if (identifiedObjectCase_ == 30) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(30, (com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer) identifiedObject_); } if (identifiedObjectCase_ == 31) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(31, (com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd) identifiedObject_); } if (identifiedObjectCase_ == 32) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(32, (com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger) identifiedObject_); } if (identifiedObjectCase_ == 33) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(33, (com.zepben.protobuf.cim.iec61970.base.wires.Recloser) identifiedObject_); } if (identifiedObjectCase_ == 34) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(34, (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit) identifiedObject_); } if (identifiedObjectCase_ == 35) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(35, (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop) identifiedObject_); } if (identifiedObjectCase_ == 36) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(36, (com.zepben.protobuf.cim.iec61968.assets.Pole) identifiedObject_); } if (identifiedObjectCase_ == 37) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(37, (com.zepben.protobuf.cim.iec61968.assets.Streetlight) identifiedObject_); } if (identifiedObjectCase_ == 38) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(38, (com.zepben.protobuf.cim.iec61970.base.meas.Accumulator) identifiedObject_); } if (identifiedObjectCase_ == 39) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(39, (com.zepben.protobuf.cim.iec61970.base.meas.Analog) identifiedObject_); } if (identifiedObjectCase_ == 40) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(40, (com.zepben.protobuf.cim.iec61970.base.meas.Discrete) identifiedObject_); } if (identifiedObjectCase_ == 41) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(41, (com.zepben.protobuf.cim.iec61970.base.meas.Control) identifiedObject_); } if (identifiedObjectCase_ == 42) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(42, (com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl) identifiedObject_); } if (identifiedObjectCase_ == 43) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(43, (com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource) identifiedObject_); } if (identifiedObjectCase_ == 44) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(44, (com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo) identifiedObject_); } if (identifiedObjectCase_ == 45) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(45, (com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection) identifiedObject_); } if (identifiedObjectCase_ == 46) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(46, (com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase) identifiedObject_); } if (identifiedObjectCase_ == 47) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(47, (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit) identifiedObject_); } if (identifiedObjectCase_ == 48) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(48, (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit) identifiedObject_); } if (identifiedObjectCase_ == 49) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(49, (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit) identifiedObject_); } if (identifiedObjectCase_ == 50) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(50, (com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection) identifiedObject_); } if (identifiedObjectCase_ == 51) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(51, (com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch) identifiedObject_); } if (identifiedObjectCase_ == 52) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(52, (com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance) identifiedObject_); } if (identifiedObjectCase_ == 53) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(53, (com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo) identifiedObject_); } if (identifiedObjectCase_ == 54) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(54, (com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo) identifiedObject_); } if (identifiedObjectCase_ == 55) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(55, (com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest) identifiedObject_); } if (identifiedObjectCase_ == 56) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(56, (com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest) identifiedObject_); } if (identifiedObjectCase_ == 57) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(57, (com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest) identifiedObject_); } if (identifiedObjectCase_ == 58) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(58, (com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch) identifiedObject_); } if (identifiedObjectCase_ == 59) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(59, (com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo) identifiedObject_); } if (identifiedObjectCase_ == 60) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(60, (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder) identifiedObject_); } if (identifiedObjectCase_ == 61) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(61, (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer) identifiedObject_); } if (identifiedObjectCase_ == 62) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(62, (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer) identifiedObject_); } if (identifiedObjectCase_ == 63) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(63, (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo) identifiedObject_); } if (identifiedObjectCase_ == 64) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(64, (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo) identifiedObject_); } if (identifiedObjectCase_ == 65) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(65, (com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo) identifiedObject_); } if (identifiedObjectCase_ == 66) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(66, (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo) identifiedObject_); } if (identifiedObjectCase_ == 68) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(68, (com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay) identifiedObject_); } if (identifiedObjectCase_ == 69) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(69, (com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl) identifiedObject_); } if (identifiedObjectCase_ == 70) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(70, (com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit) identifiedObject_); } if (identifiedObjectCase_ == 71) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(71, (com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator) identifiedObject_); } if (identifiedObjectCase_ == 72) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(72, (com.zepben.protobuf.cim.iec61970.base.wires.Ground) identifiedObject_); } if (identifiedObjectCase_ == 73) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(73, (com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector) identifiedObject_); } if (identifiedObjectCase_ == 74) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(74, (com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme) identifiedObject_); } if (identifiedObjectCase_ == 75) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(75, (com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem) identifiedObject_); } if (identifiedObjectCase_ == 76) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(76, (com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay) identifiedObject_); } if (identifiedObjectCase_ == 77) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(77, (com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay) identifiedObject_); } if (identifiedObjectCase_ == 78) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(78, (com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine) identifiedObject_); } if (identifiedObjectCase_ == 79) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(79, (com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve) identifiedObject_); } if (identifiedObjectCase_ == 80) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(80, (com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance) identifiedObject_); } if (identifiedObjectCase_ == 81) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(81, (com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil) identifiedObject_); } if (identifiedObjectCase_ == 999) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(999, (com.google.protobuf.Any) identifiedObject_); } 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.nc.NetworkIdentifiedObject)) { return super.equals(obj); } com.zepben.protobuf.nc.NetworkIdentifiedObject other = (com.zepben.protobuf.nc.NetworkIdentifiedObject) obj; if (!getIdentifiedObjectCase().equals(other.getIdentifiedObjectCase())) return false; switch (identifiedObjectCase_) { case 1: if (!getCableInfo() .equals(other.getCableInfo())) return false; break; case 2: if (!getOverheadWireInfo() .equals(other.getOverheadWireInfo())) return false; break; case 3: if (!getAssetOwner() .equals(other.getAssetOwner())) return false; break; case 4: if (!getOrganisation() .equals(other.getOrganisation())) return false; break; case 5: if (!getLocation() .equals(other.getLocation())) return false; break; case 6: if (!getMeter() .equals(other.getMeter())) return false; break; case 7: if (!getUsagePoint() .equals(other.getUsagePoint())) return false; break; case 8: if (!getOperationalRestriction() .equals(other.getOperationalRestriction())) return false; break; case 9: if (!getFaultIndicator() .equals(other.getFaultIndicator())) return false; break; case 10: if (!getBaseVoltage() .equals(other.getBaseVoltage())) return false; break; case 11: if (!getConnectivityNode() .equals(other.getConnectivityNode())) return false; break; case 12: if (!getFeeder() .equals(other.getFeeder())) return false; break; case 13: if (!getGeographicalRegion() .equals(other.getGeographicalRegion())) return false; break; case 14: if (!getSite() .equals(other.getSite())) return false; break; case 15: if (!getSubGeographicalRegion() .equals(other.getSubGeographicalRegion())) return false; break; case 16: if (!getSubstation() .equals(other.getSubstation())) return false; break; case 17: if (!getTerminal() .equals(other.getTerminal())) return false; break; case 18: if (!getAcLineSegment() .equals(other.getAcLineSegment())) return false; break; case 19: if (!getBreaker() .equals(other.getBreaker())) return false; break; case 20: if (!getDisconnector() .equals(other.getDisconnector())) return false; break; case 21: if (!getEnergyConsumer() .equals(other.getEnergyConsumer())) return false; break; case 22: if (!getEnergyConsumerPhase() .equals(other.getEnergyConsumerPhase())) return false; break; case 23: if (!getEnergySource() .equals(other.getEnergySource())) return false; break; case 24: if (!getEnergySourcePhase() .equals(other.getEnergySourcePhase())) return false; break; case 25: if (!getFuse() .equals(other.getFuse())) return false; break; case 26: if (!getJumper() .equals(other.getJumper())) return false; break; case 27: if (!getJunction() .equals(other.getJunction())) return false; break; case 28: if (!getLinearShuntCompensator() .equals(other.getLinearShuntCompensator())) return false; break; case 29: if (!getPerLengthSequenceImpedance() .equals(other.getPerLengthSequenceImpedance())) return false; break; case 30: if (!getPowerTransformer() .equals(other.getPowerTransformer())) return false; break; case 31: if (!getPowerTransformerEnd() .equals(other.getPowerTransformerEnd())) return false; break; case 32: if (!getRatioTapChanger() .equals(other.getRatioTapChanger())) return false; break; case 33: if (!getRecloser() .equals(other.getRecloser())) return false; break; case 34: if (!getCircuit() .equals(other.getCircuit())) return false; break; case 35: if (!getLoop() .equals(other.getLoop())) return false; break; case 36: if (!getPole() .equals(other.getPole())) return false; break; case 37: if (!getStreetlight() .equals(other.getStreetlight())) return false; break; case 38: if (!getAccumulator() .equals(other.getAccumulator())) return false; break; case 39: if (!getAnalog() .equals(other.getAnalog())) return false; break; case 40: if (!getDiscrete() .equals(other.getDiscrete())) return false; break; case 41: if (!getControl() .equals(other.getControl())) return false; break; case 42: if (!getRemoteControl() .equals(other.getRemoteControl())) return false; break; case 43: if (!getRemoteSource() .equals(other.getRemoteSource())) return false; break; case 44: if (!getPowerTransformerInfo() .equals(other.getPowerTransformerInfo())) return false; break; case 45: if (!getPowerElectronicsConnection() .equals(other.getPowerElectronicsConnection())) return false; break; case 46: if (!getPowerElectronicsConnectionPhase() .equals(other.getPowerElectronicsConnectionPhase())) return false; break; case 47: if (!getBatteryUnit() .equals(other.getBatteryUnit())) return false; break; case 48: if (!getPhotoVoltaicUnit() .equals(other.getPhotoVoltaicUnit())) return false; break; case 49: if (!getPowerElectronicsWindUnit() .equals(other.getPowerElectronicsWindUnit())) return false; break; case 50: if (!getBusbarSection() .equals(other.getBusbarSection())) return false; break; case 51: if (!getLoadBreakSwitch() .equals(other.getLoadBreakSwitch())) return false; break; case 52: if (!getTransformerStarImpedance() .equals(other.getTransformerStarImpedance())) return false; break; case 53: if (!getTransformerEndInfo() .equals(other.getTransformerEndInfo())) return false; break; case 54: if (!getTransformerTankInfo() .equals(other.getTransformerTankInfo())) return false; break; case 55: if (!getNoLoadTest() .equals(other.getNoLoadTest())) return false; break; case 56: if (!getOpenCircuitTest() .equals(other.getOpenCircuitTest())) return false; break; case 57: if (!getShortCircuitTest() .equals(other.getShortCircuitTest())) return false; break; case 58: if (!getEquivalentBranch() .equals(other.getEquivalentBranch())) return false; break; case 59: if (!getShuntCompensatorInfo() .equals(other.getShuntCompensatorInfo())) return false; break; case 60: if (!getLvFeeder() .equals(other.getLvFeeder())) return false; break; case 61: if (!getCurrentTransformer() .equals(other.getCurrentTransformer())) return false; break; case 62: if (!getPotentialTransformer() .equals(other.getPotentialTransformer())) return false; break; case 63: if (!getCurrentTransformerInfo() .equals(other.getCurrentTransformerInfo())) return false; break; case 64: if (!getPotentialTransformerInfo() .equals(other.getPotentialTransformerInfo())) return false; break; case 65: if (!getSwitchInfo() .equals(other.getSwitchInfo())) return false; break; case 66: if (!getRelayInfo() .equals(other.getRelayInfo())) return false; break; case 68: if (!getCurrentRelay() .equals(other.getCurrentRelay())) return false; break; case 69: if (!getTapChangerControl() .equals(other.getTapChangerControl())) return false; break; case 70: if (!getEvChargingUnit() .equals(other.getEvChargingUnit())) return false; break; case 71: if (!getSeriesCompensator() .equals(other.getSeriesCompensator())) return false; break; case 72: if (!getGround() .equals(other.getGround())) return false; break; case 73: if (!getGroundDisconnector() .equals(other.getGroundDisconnector())) return false; break; case 74: if (!getProtectionRelayScheme() .equals(other.getProtectionRelayScheme())) return false; break; case 75: if (!getProtectionRelaySystem() .equals(other.getProtectionRelaySystem())) return false; break; case 76: if (!getVoltageRelay() .equals(other.getVoltageRelay())) return false; break; case 77: if (!getDistanceRelay() .equals(other.getDistanceRelay())) return false; break; case 78: if (!getSynchronousMachine() .equals(other.getSynchronousMachine())) return false; break; case 79: if (!getReactiveCapabilityCurve() .equals(other.getReactiveCapabilityCurve())) return false; break; case 80: if (!getGroundingImpedance() .equals(other.getGroundingImpedance())) return false; break; case 81: if (!getPetersenCoil() .equals(other.getPetersenCoil())) return false; break; case 999: if (!getOther() .equals(other.getOther())) return false; break; case 0: default: } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (identifiedObjectCase_) { case 1: hash = (37 * hash) + CABLEINFO_FIELD_NUMBER; hash = (53 * hash) + getCableInfo().hashCode(); break; case 2: hash = (37 * hash) + OVERHEADWIREINFO_FIELD_NUMBER; hash = (53 * hash) + getOverheadWireInfo().hashCode(); break; case 3: hash = (37 * hash) + ASSETOWNER_FIELD_NUMBER; hash = (53 * hash) + getAssetOwner().hashCode(); break; case 4: hash = (37 * hash) + ORGANISATION_FIELD_NUMBER; hash = (53 * hash) + getOrganisation().hashCode(); break; case 5: hash = (37 * hash) + LOCATION_FIELD_NUMBER; hash = (53 * hash) + getLocation().hashCode(); break; case 6: hash = (37 * hash) + METER_FIELD_NUMBER; hash = (53 * hash) + getMeter().hashCode(); break; case 7: hash = (37 * hash) + USAGEPOINT_FIELD_NUMBER; hash = (53 * hash) + getUsagePoint().hashCode(); break; case 8: hash = (37 * hash) + OPERATIONALRESTRICTION_FIELD_NUMBER; hash = (53 * hash) + getOperationalRestriction().hashCode(); break; case 9: hash = (37 * hash) + FAULTINDICATOR_FIELD_NUMBER; hash = (53 * hash) + getFaultIndicator().hashCode(); break; case 10: hash = (37 * hash) + BASEVOLTAGE_FIELD_NUMBER; hash = (53 * hash) + getBaseVoltage().hashCode(); break; case 11: hash = (37 * hash) + CONNECTIVITYNODE_FIELD_NUMBER; hash = (53 * hash) + getConnectivityNode().hashCode(); break; case 12: hash = (37 * hash) + FEEDER_FIELD_NUMBER; hash = (53 * hash) + getFeeder().hashCode(); break; case 13: hash = (37 * hash) + GEOGRAPHICALREGION_FIELD_NUMBER; hash = (53 * hash) + getGeographicalRegion().hashCode(); break; case 14: hash = (37 * hash) + SITE_FIELD_NUMBER; hash = (53 * hash) + getSite().hashCode(); break; case 15: hash = (37 * hash) + SUBGEOGRAPHICALREGION_FIELD_NUMBER; hash = (53 * hash) + getSubGeographicalRegion().hashCode(); break; case 16: hash = (37 * hash) + SUBSTATION_FIELD_NUMBER; hash = (53 * hash) + getSubstation().hashCode(); break; case 17: hash = (37 * hash) + TERMINAL_FIELD_NUMBER; hash = (53 * hash) + getTerminal().hashCode(); break; case 18: hash = (37 * hash) + ACLINESEGMENT_FIELD_NUMBER; hash = (53 * hash) + getAcLineSegment().hashCode(); break; case 19: hash = (37 * hash) + BREAKER_FIELD_NUMBER; hash = (53 * hash) + getBreaker().hashCode(); break; case 20: hash = (37 * hash) + DISCONNECTOR_FIELD_NUMBER; hash = (53 * hash) + getDisconnector().hashCode(); break; case 21: hash = (37 * hash) + ENERGYCONSUMER_FIELD_NUMBER; hash = (53 * hash) + getEnergyConsumer().hashCode(); break; case 22: hash = (37 * hash) + ENERGYCONSUMERPHASE_FIELD_NUMBER; hash = (53 * hash) + getEnergyConsumerPhase().hashCode(); break; case 23: hash = (37 * hash) + ENERGYSOURCE_FIELD_NUMBER; hash = (53 * hash) + getEnergySource().hashCode(); break; case 24: hash = (37 * hash) + ENERGYSOURCEPHASE_FIELD_NUMBER; hash = (53 * hash) + getEnergySourcePhase().hashCode(); break; case 25: hash = (37 * hash) + FUSE_FIELD_NUMBER; hash = (53 * hash) + getFuse().hashCode(); break; case 26: hash = (37 * hash) + JUMPER_FIELD_NUMBER; hash = (53 * hash) + getJumper().hashCode(); break; case 27: hash = (37 * hash) + JUNCTION_FIELD_NUMBER; hash = (53 * hash) + getJunction().hashCode(); break; case 28: hash = (37 * hash) + LINEARSHUNTCOMPENSATOR_FIELD_NUMBER; hash = (53 * hash) + getLinearShuntCompensator().hashCode(); break; case 29: hash = (37 * hash) + PERLENGTHSEQUENCEIMPEDANCE_FIELD_NUMBER; hash = (53 * hash) + getPerLengthSequenceImpedance().hashCode(); break; case 30: hash = (37 * hash) + POWERTRANSFORMER_FIELD_NUMBER; hash = (53 * hash) + getPowerTransformer().hashCode(); break; case 31: hash = (37 * hash) + POWERTRANSFORMEREND_FIELD_NUMBER; hash = (53 * hash) + getPowerTransformerEnd().hashCode(); break; case 32: hash = (37 * hash) + RATIOTAPCHANGER_FIELD_NUMBER; hash = (53 * hash) + getRatioTapChanger().hashCode(); break; case 33: hash = (37 * hash) + RECLOSER_FIELD_NUMBER; hash = (53 * hash) + getRecloser().hashCode(); break; case 34: hash = (37 * hash) + CIRCUIT_FIELD_NUMBER; hash = (53 * hash) + getCircuit().hashCode(); break; case 35: hash = (37 * hash) + LOOP_FIELD_NUMBER; hash = (53 * hash) + getLoop().hashCode(); break; case 36: hash = (37 * hash) + POLE_FIELD_NUMBER; hash = (53 * hash) + getPole().hashCode(); break; case 37: hash = (37 * hash) + STREETLIGHT_FIELD_NUMBER; hash = (53 * hash) + getStreetlight().hashCode(); break; case 38: hash = (37 * hash) + ACCUMULATOR_FIELD_NUMBER; hash = (53 * hash) + getAccumulator().hashCode(); break; case 39: hash = (37 * hash) + ANALOG_FIELD_NUMBER; hash = (53 * hash) + getAnalog().hashCode(); break; case 40: hash = (37 * hash) + DISCRETE_FIELD_NUMBER; hash = (53 * hash) + getDiscrete().hashCode(); break; case 41: hash = (37 * hash) + CONTROL_FIELD_NUMBER; hash = (53 * hash) + getControl().hashCode(); break; case 42: hash = (37 * hash) + REMOTECONTROL_FIELD_NUMBER; hash = (53 * hash) + getRemoteControl().hashCode(); break; case 43: hash = (37 * hash) + REMOTESOURCE_FIELD_NUMBER; hash = (53 * hash) + getRemoteSource().hashCode(); break; case 44: hash = (37 * hash) + POWERTRANSFORMERINFO_FIELD_NUMBER; hash = (53 * hash) + getPowerTransformerInfo().hashCode(); break; case 45: hash = (37 * hash) + POWERELECTRONICSCONNECTION_FIELD_NUMBER; hash = (53 * hash) + getPowerElectronicsConnection().hashCode(); break; case 46: hash = (37 * hash) + POWERELECTRONICSCONNECTIONPHASE_FIELD_NUMBER; hash = (53 * hash) + getPowerElectronicsConnectionPhase().hashCode(); break; case 47: hash = (37 * hash) + BATTERYUNIT_FIELD_NUMBER; hash = (53 * hash) + getBatteryUnit().hashCode(); break; case 48: hash = (37 * hash) + PHOTOVOLTAICUNIT_FIELD_NUMBER; hash = (53 * hash) + getPhotoVoltaicUnit().hashCode(); break; case 49: hash = (37 * hash) + POWERELECTRONICSWINDUNIT_FIELD_NUMBER; hash = (53 * hash) + getPowerElectronicsWindUnit().hashCode(); break; case 50: hash = (37 * hash) + BUSBARSECTION_FIELD_NUMBER; hash = (53 * hash) + getBusbarSection().hashCode(); break; case 51: hash = (37 * hash) + LOADBREAKSWITCH_FIELD_NUMBER; hash = (53 * hash) + getLoadBreakSwitch().hashCode(); break; case 52: hash = (37 * hash) + TRANSFORMERSTARIMPEDANCE_FIELD_NUMBER; hash = (53 * hash) + getTransformerStarImpedance().hashCode(); break; case 53: hash = (37 * hash) + TRANSFORMERENDINFO_FIELD_NUMBER; hash = (53 * hash) + getTransformerEndInfo().hashCode(); break; case 54: hash = (37 * hash) + TRANSFORMERTANKINFO_FIELD_NUMBER; hash = (53 * hash) + getTransformerTankInfo().hashCode(); break; case 55: hash = (37 * hash) + NOLOADTEST_FIELD_NUMBER; hash = (53 * hash) + getNoLoadTest().hashCode(); break; case 56: hash = (37 * hash) + OPENCIRCUITTEST_FIELD_NUMBER; hash = (53 * hash) + getOpenCircuitTest().hashCode(); break; case 57: hash = (37 * hash) + SHORTCIRCUITTEST_FIELD_NUMBER; hash = (53 * hash) + getShortCircuitTest().hashCode(); break; case 58: hash = (37 * hash) + EQUIVALENTBRANCH_FIELD_NUMBER; hash = (53 * hash) + getEquivalentBranch().hashCode(); break; case 59: hash = (37 * hash) + SHUNTCOMPENSATORINFO_FIELD_NUMBER; hash = (53 * hash) + getShuntCompensatorInfo().hashCode(); break; case 60: hash = (37 * hash) + LVFEEDER_FIELD_NUMBER; hash = (53 * hash) + getLvFeeder().hashCode(); break; case 61: hash = (37 * hash) + CURRENTTRANSFORMER_FIELD_NUMBER; hash = (53 * hash) + getCurrentTransformer().hashCode(); break; case 62: hash = (37 * hash) + POTENTIALTRANSFORMER_FIELD_NUMBER; hash = (53 * hash) + getPotentialTransformer().hashCode(); break; case 63: hash = (37 * hash) + CURRENTTRANSFORMERINFO_FIELD_NUMBER; hash = (53 * hash) + getCurrentTransformerInfo().hashCode(); break; case 64: hash = (37 * hash) + POTENTIALTRANSFORMERINFO_FIELD_NUMBER; hash = (53 * hash) + getPotentialTransformerInfo().hashCode(); break; case 65: hash = (37 * hash) + SWITCHINFO_FIELD_NUMBER; hash = (53 * hash) + getSwitchInfo().hashCode(); break; case 66: hash = (37 * hash) + RELAYINFO_FIELD_NUMBER; hash = (53 * hash) + getRelayInfo().hashCode(); break; case 68: hash = (37 * hash) + CURRENTRELAY_FIELD_NUMBER; hash = (53 * hash) + getCurrentRelay().hashCode(); break; case 69: hash = (37 * hash) + TAPCHANGERCONTROL_FIELD_NUMBER; hash = (53 * hash) + getTapChangerControl().hashCode(); break; case 70: hash = (37 * hash) + EVCHARGINGUNIT_FIELD_NUMBER; hash = (53 * hash) + getEvChargingUnit().hashCode(); break; case 71: hash = (37 * hash) + SERIESCOMPENSATOR_FIELD_NUMBER; hash = (53 * hash) + getSeriesCompensator().hashCode(); break; case 72: hash = (37 * hash) + GROUND_FIELD_NUMBER; hash = (53 * hash) + getGround().hashCode(); break; case 73: hash = (37 * hash) + GROUNDDISCONNECTOR_FIELD_NUMBER; hash = (53 * hash) + getGroundDisconnector().hashCode(); break; case 74: hash = (37 * hash) + PROTECTIONRELAYSCHEME_FIELD_NUMBER; hash = (53 * hash) + getProtectionRelayScheme().hashCode(); break; case 75: hash = (37 * hash) + PROTECTIONRELAYSYSTEM_FIELD_NUMBER; hash = (53 * hash) + getProtectionRelaySystem().hashCode(); break; case 76: hash = (37 * hash) + VOLTAGERELAY_FIELD_NUMBER; hash = (53 * hash) + getVoltageRelay().hashCode(); break; case 77: hash = (37 * hash) + DISTANCERELAY_FIELD_NUMBER; hash = (53 * hash) + getDistanceRelay().hashCode(); break; case 78: hash = (37 * hash) + SYNCHRONOUSMACHINE_FIELD_NUMBER; hash = (53 * hash) + getSynchronousMachine().hashCode(); break; case 79: hash = (37 * hash) + REACTIVECAPABILITYCURVE_FIELD_NUMBER; hash = (53 * hash) + getReactiveCapabilityCurve().hashCode(); break; case 80: hash = (37 * hash) + GROUNDINGIMPEDANCE_FIELD_NUMBER; hash = (53 * hash) + getGroundingImpedance().hashCode(); break; case 81: hash = (37 * hash) + PETERSENCOIL_FIELD_NUMBER; hash = (53 * hash) + getPetersenCoil().hashCode(); break; case 999: hash = (37 * hash) + OTHER_FIELD_NUMBER; hash = (53 * hash) + getOther().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.zepben.protobuf.nc.NetworkIdentifiedObject parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.zepben.protobuf.nc.NetworkIdentifiedObject 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.nc.NetworkIdentifiedObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.zepben.protobuf.nc.NetworkIdentifiedObject 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.nc.NetworkIdentifiedObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.zepben.protobuf.nc.NetworkIdentifiedObject parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.zepben.protobuf.nc.NetworkIdentifiedObject parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.zepben.protobuf.nc.NetworkIdentifiedObject 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.nc.NetworkIdentifiedObject parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.zepben.protobuf.nc.NetworkIdentifiedObject 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.nc.NetworkIdentifiedObject parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.zepben.protobuf.nc.NetworkIdentifiedObject 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.nc.NetworkIdentifiedObject 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; } /** *
   * The set of leaf identified objects that the network service manages.
   * 
* * Protobuf type {@code zepben.protobuf.nc.NetworkIdentifiedObject} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:zepben.protobuf.nc.NetworkIdentifiedObject) com.zepben.protobuf.nc.NetworkIdentifiedObjectOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.zepben.protobuf.nc.NcData.internal_static_zepben_protobuf_nc_NetworkIdentifiedObject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.zepben.protobuf.nc.NcData.internal_static_zepben_protobuf_nc_NetworkIdentifiedObject_fieldAccessorTable .ensureFieldAccessorsInitialized( com.zepben.protobuf.nc.NetworkIdentifiedObject.class, com.zepben.protobuf.nc.NetworkIdentifiedObject.Builder.class); } // Construct using com.zepben.protobuf.nc.NetworkIdentifiedObject.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; bitField1_ = 0; bitField2_ = 0; if (cableInfoBuilder_ != null) { cableInfoBuilder_.clear(); } if (overheadWireInfoBuilder_ != null) { overheadWireInfoBuilder_.clear(); } if (assetOwnerBuilder_ != null) { assetOwnerBuilder_.clear(); } if (organisationBuilder_ != null) { organisationBuilder_.clear(); } if (locationBuilder_ != null) { locationBuilder_.clear(); } if (meterBuilder_ != null) { meterBuilder_.clear(); } if (usagePointBuilder_ != null) { usagePointBuilder_.clear(); } if (operationalRestrictionBuilder_ != null) { operationalRestrictionBuilder_.clear(); } if (faultIndicatorBuilder_ != null) { faultIndicatorBuilder_.clear(); } if (baseVoltageBuilder_ != null) { baseVoltageBuilder_.clear(); } if (connectivityNodeBuilder_ != null) { connectivityNodeBuilder_.clear(); } if (feederBuilder_ != null) { feederBuilder_.clear(); } if (geographicalRegionBuilder_ != null) { geographicalRegionBuilder_.clear(); } if (siteBuilder_ != null) { siteBuilder_.clear(); } if (subGeographicalRegionBuilder_ != null) { subGeographicalRegionBuilder_.clear(); } if (substationBuilder_ != null) { substationBuilder_.clear(); } if (terminalBuilder_ != null) { terminalBuilder_.clear(); } if (acLineSegmentBuilder_ != null) { acLineSegmentBuilder_.clear(); } if (breakerBuilder_ != null) { breakerBuilder_.clear(); } if (disconnectorBuilder_ != null) { disconnectorBuilder_.clear(); } if (energyConsumerBuilder_ != null) { energyConsumerBuilder_.clear(); } if (energyConsumerPhaseBuilder_ != null) { energyConsumerPhaseBuilder_.clear(); } if (energySourceBuilder_ != null) { energySourceBuilder_.clear(); } if (energySourcePhaseBuilder_ != null) { energySourcePhaseBuilder_.clear(); } if (fuseBuilder_ != null) { fuseBuilder_.clear(); } if (jumperBuilder_ != null) { jumperBuilder_.clear(); } if (junctionBuilder_ != null) { junctionBuilder_.clear(); } if (linearShuntCompensatorBuilder_ != null) { linearShuntCompensatorBuilder_.clear(); } if (perLengthSequenceImpedanceBuilder_ != null) { perLengthSequenceImpedanceBuilder_.clear(); } if (powerTransformerBuilder_ != null) { powerTransformerBuilder_.clear(); } if (powerTransformerEndBuilder_ != null) { powerTransformerEndBuilder_.clear(); } if (ratioTapChangerBuilder_ != null) { ratioTapChangerBuilder_.clear(); } if (recloserBuilder_ != null) { recloserBuilder_.clear(); } if (circuitBuilder_ != null) { circuitBuilder_.clear(); } if (loopBuilder_ != null) { loopBuilder_.clear(); } if (poleBuilder_ != null) { poleBuilder_.clear(); } if (streetlightBuilder_ != null) { streetlightBuilder_.clear(); } if (accumulatorBuilder_ != null) { accumulatorBuilder_.clear(); } if (analogBuilder_ != null) { analogBuilder_.clear(); } if (discreteBuilder_ != null) { discreteBuilder_.clear(); } if (controlBuilder_ != null) { controlBuilder_.clear(); } if (remoteControlBuilder_ != null) { remoteControlBuilder_.clear(); } if (remoteSourceBuilder_ != null) { remoteSourceBuilder_.clear(); } if (powerTransformerInfoBuilder_ != null) { powerTransformerInfoBuilder_.clear(); } if (powerElectronicsConnectionBuilder_ != null) { powerElectronicsConnectionBuilder_.clear(); } if (powerElectronicsConnectionPhaseBuilder_ != null) { powerElectronicsConnectionPhaseBuilder_.clear(); } if (batteryUnitBuilder_ != null) { batteryUnitBuilder_.clear(); } if (photoVoltaicUnitBuilder_ != null) { photoVoltaicUnitBuilder_.clear(); } if (powerElectronicsWindUnitBuilder_ != null) { powerElectronicsWindUnitBuilder_.clear(); } if (busbarSectionBuilder_ != null) { busbarSectionBuilder_.clear(); } if (loadBreakSwitchBuilder_ != null) { loadBreakSwitchBuilder_.clear(); } if (transformerStarImpedanceBuilder_ != null) { transformerStarImpedanceBuilder_.clear(); } if (transformerEndInfoBuilder_ != null) { transformerEndInfoBuilder_.clear(); } if (transformerTankInfoBuilder_ != null) { transformerTankInfoBuilder_.clear(); } if (noLoadTestBuilder_ != null) { noLoadTestBuilder_.clear(); } if (openCircuitTestBuilder_ != null) { openCircuitTestBuilder_.clear(); } if (shortCircuitTestBuilder_ != null) { shortCircuitTestBuilder_.clear(); } if (equivalentBranchBuilder_ != null) { equivalentBranchBuilder_.clear(); } if (shuntCompensatorInfoBuilder_ != null) { shuntCompensatorInfoBuilder_.clear(); } if (lvFeederBuilder_ != null) { lvFeederBuilder_.clear(); } if (currentTransformerBuilder_ != null) { currentTransformerBuilder_.clear(); } if (potentialTransformerBuilder_ != null) { potentialTransformerBuilder_.clear(); } if (currentTransformerInfoBuilder_ != null) { currentTransformerInfoBuilder_.clear(); } if (potentialTransformerInfoBuilder_ != null) { potentialTransformerInfoBuilder_.clear(); } if (switchInfoBuilder_ != null) { switchInfoBuilder_.clear(); } if (relayInfoBuilder_ != null) { relayInfoBuilder_.clear(); } if (currentRelayBuilder_ != null) { currentRelayBuilder_.clear(); } if (tapChangerControlBuilder_ != null) { tapChangerControlBuilder_.clear(); } if (evChargingUnitBuilder_ != null) { evChargingUnitBuilder_.clear(); } if (seriesCompensatorBuilder_ != null) { seriesCompensatorBuilder_.clear(); } if (groundBuilder_ != null) { groundBuilder_.clear(); } if (groundDisconnectorBuilder_ != null) { groundDisconnectorBuilder_.clear(); } if (protectionRelaySchemeBuilder_ != null) { protectionRelaySchemeBuilder_.clear(); } if (protectionRelaySystemBuilder_ != null) { protectionRelaySystemBuilder_.clear(); } if (voltageRelayBuilder_ != null) { voltageRelayBuilder_.clear(); } if (distanceRelayBuilder_ != null) { distanceRelayBuilder_.clear(); } if (synchronousMachineBuilder_ != null) { synchronousMachineBuilder_.clear(); } if (reactiveCapabilityCurveBuilder_ != null) { reactiveCapabilityCurveBuilder_.clear(); } if (groundingImpedanceBuilder_ != null) { groundingImpedanceBuilder_.clear(); } if (petersenCoilBuilder_ != null) { petersenCoilBuilder_.clear(); } if (otherBuilder_ != null) { otherBuilder_.clear(); } identifiedObjectCase_ = 0; identifiedObject_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.zepben.protobuf.nc.NcData.internal_static_zepben_protobuf_nc_NetworkIdentifiedObject_descriptor; } @java.lang.Override public com.zepben.protobuf.nc.NetworkIdentifiedObject getDefaultInstanceForType() { return com.zepben.protobuf.nc.NetworkIdentifiedObject.getDefaultInstance(); } @java.lang.Override public com.zepben.protobuf.nc.NetworkIdentifiedObject build() { com.zepben.protobuf.nc.NetworkIdentifiedObject result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.zepben.protobuf.nc.NetworkIdentifiedObject buildPartial() { com.zepben.protobuf.nc.NetworkIdentifiedObject result = new com.zepben.protobuf.nc.NetworkIdentifiedObject(this); if (bitField0_ != 0) { buildPartial0(result); } if (bitField1_ != 0) { buildPartial1(result); } if (bitField2_ != 0) { buildPartial2(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(com.zepben.protobuf.nc.NetworkIdentifiedObject result) { int from_bitField0_ = bitField0_; } private void buildPartial1(com.zepben.protobuf.nc.NetworkIdentifiedObject result) { int from_bitField1_ = bitField1_; } private void buildPartial2(com.zepben.protobuf.nc.NetworkIdentifiedObject result) { int from_bitField2_ = bitField2_; } private void buildPartialOneofs(com.zepben.protobuf.nc.NetworkIdentifiedObject result) { result.identifiedObjectCase_ = identifiedObjectCase_; result.identifiedObject_ = this.identifiedObject_; if (identifiedObjectCase_ == 1 && cableInfoBuilder_ != null) { result.identifiedObject_ = cableInfoBuilder_.build(); } if (identifiedObjectCase_ == 2 && overheadWireInfoBuilder_ != null) { result.identifiedObject_ = overheadWireInfoBuilder_.build(); } if (identifiedObjectCase_ == 3 && assetOwnerBuilder_ != null) { result.identifiedObject_ = assetOwnerBuilder_.build(); } if (identifiedObjectCase_ == 4 && organisationBuilder_ != null) { result.identifiedObject_ = organisationBuilder_.build(); } if (identifiedObjectCase_ == 5 && locationBuilder_ != null) { result.identifiedObject_ = locationBuilder_.build(); } if (identifiedObjectCase_ == 6 && meterBuilder_ != null) { result.identifiedObject_ = meterBuilder_.build(); } if (identifiedObjectCase_ == 7 && usagePointBuilder_ != null) { result.identifiedObject_ = usagePointBuilder_.build(); } if (identifiedObjectCase_ == 8 && operationalRestrictionBuilder_ != null) { result.identifiedObject_ = operationalRestrictionBuilder_.build(); } if (identifiedObjectCase_ == 9 && faultIndicatorBuilder_ != null) { result.identifiedObject_ = faultIndicatorBuilder_.build(); } if (identifiedObjectCase_ == 10 && baseVoltageBuilder_ != null) { result.identifiedObject_ = baseVoltageBuilder_.build(); } if (identifiedObjectCase_ == 11 && connectivityNodeBuilder_ != null) { result.identifiedObject_ = connectivityNodeBuilder_.build(); } if (identifiedObjectCase_ == 12 && feederBuilder_ != null) { result.identifiedObject_ = feederBuilder_.build(); } if (identifiedObjectCase_ == 13 && geographicalRegionBuilder_ != null) { result.identifiedObject_ = geographicalRegionBuilder_.build(); } if (identifiedObjectCase_ == 14 && siteBuilder_ != null) { result.identifiedObject_ = siteBuilder_.build(); } if (identifiedObjectCase_ == 15 && subGeographicalRegionBuilder_ != null) { result.identifiedObject_ = subGeographicalRegionBuilder_.build(); } if (identifiedObjectCase_ == 16 && substationBuilder_ != null) { result.identifiedObject_ = substationBuilder_.build(); } if (identifiedObjectCase_ == 17 && terminalBuilder_ != null) { result.identifiedObject_ = terminalBuilder_.build(); } if (identifiedObjectCase_ == 18 && acLineSegmentBuilder_ != null) { result.identifiedObject_ = acLineSegmentBuilder_.build(); } if (identifiedObjectCase_ == 19 && breakerBuilder_ != null) { result.identifiedObject_ = breakerBuilder_.build(); } if (identifiedObjectCase_ == 20 && disconnectorBuilder_ != null) { result.identifiedObject_ = disconnectorBuilder_.build(); } if (identifiedObjectCase_ == 21 && energyConsumerBuilder_ != null) { result.identifiedObject_ = energyConsumerBuilder_.build(); } if (identifiedObjectCase_ == 22 && energyConsumerPhaseBuilder_ != null) { result.identifiedObject_ = energyConsumerPhaseBuilder_.build(); } if (identifiedObjectCase_ == 23 && energySourceBuilder_ != null) { result.identifiedObject_ = energySourceBuilder_.build(); } if (identifiedObjectCase_ == 24 && energySourcePhaseBuilder_ != null) { result.identifiedObject_ = energySourcePhaseBuilder_.build(); } if (identifiedObjectCase_ == 25 && fuseBuilder_ != null) { result.identifiedObject_ = fuseBuilder_.build(); } if (identifiedObjectCase_ == 26 && jumperBuilder_ != null) { result.identifiedObject_ = jumperBuilder_.build(); } if (identifiedObjectCase_ == 27 && junctionBuilder_ != null) { result.identifiedObject_ = junctionBuilder_.build(); } if (identifiedObjectCase_ == 28 && linearShuntCompensatorBuilder_ != null) { result.identifiedObject_ = linearShuntCompensatorBuilder_.build(); } if (identifiedObjectCase_ == 29 && perLengthSequenceImpedanceBuilder_ != null) { result.identifiedObject_ = perLengthSequenceImpedanceBuilder_.build(); } if (identifiedObjectCase_ == 30 && powerTransformerBuilder_ != null) { result.identifiedObject_ = powerTransformerBuilder_.build(); } if (identifiedObjectCase_ == 31 && powerTransformerEndBuilder_ != null) { result.identifiedObject_ = powerTransformerEndBuilder_.build(); } if (identifiedObjectCase_ == 32 && ratioTapChangerBuilder_ != null) { result.identifiedObject_ = ratioTapChangerBuilder_.build(); } if (identifiedObjectCase_ == 33 && recloserBuilder_ != null) { result.identifiedObject_ = recloserBuilder_.build(); } if (identifiedObjectCase_ == 34 && circuitBuilder_ != null) { result.identifiedObject_ = circuitBuilder_.build(); } if (identifiedObjectCase_ == 35 && loopBuilder_ != null) { result.identifiedObject_ = loopBuilder_.build(); } if (identifiedObjectCase_ == 36 && poleBuilder_ != null) { result.identifiedObject_ = poleBuilder_.build(); } if (identifiedObjectCase_ == 37 && streetlightBuilder_ != null) { result.identifiedObject_ = streetlightBuilder_.build(); } if (identifiedObjectCase_ == 38 && accumulatorBuilder_ != null) { result.identifiedObject_ = accumulatorBuilder_.build(); } if (identifiedObjectCase_ == 39 && analogBuilder_ != null) { result.identifiedObject_ = analogBuilder_.build(); } if (identifiedObjectCase_ == 40 && discreteBuilder_ != null) { result.identifiedObject_ = discreteBuilder_.build(); } if (identifiedObjectCase_ == 41 && controlBuilder_ != null) { result.identifiedObject_ = controlBuilder_.build(); } if (identifiedObjectCase_ == 42 && remoteControlBuilder_ != null) { result.identifiedObject_ = remoteControlBuilder_.build(); } if (identifiedObjectCase_ == 43 && remoteSourceBuilder_ != null) { result.identifiedObject_ = remoteSourceBuilder_.build(); } if (identifiedObjectCase_ == 44 && powerTransformerInfoBuilder_ != null) { result.identifiedObject_ = powerTransformerInfoBuilder_.build(); } if (identifiedObjectCase_ == 45 && powerElectronicsConnectionBuilder_ != null) { result.identifiedObject_ = powerElectronicsConnectionBuilder_.build(); } if (identifiedObjectCase_ == 46 && powerElectronicsConnectionPhaseBuilder_ != null) { result.identifiedObject_ = powerElectronicsConnectionPhaseBuilder_.build(); } if (identifiedObjectCase_ == 47 && batteryUnitBuilder_ != null) { result.identifiedObject_ = batteryUnitBuilder_.build(); } if (identifiedObjectCase_ == 48 && photoVoltaicUnitBuilder_ != null) { result.identifiedObject_ = photoVoltaicUnitBuilder_.build(); } if (identifiedObjectCase_ == 49 && powerElectronicsWindUnitBuilder_ != null) { result.identifiedObject_ = powerElectronicsWindUnitBuilder_.build(); } if (identifiedObjectCase_ == 50 && busbarSectionBuilder_ != null) { result.identifiedObject_ = busbarSectionBuilder_.build(); } if (identifiedObjectCase_ == 51 && loadBreakSwitchBuilder_ != null) { result.identifiedObject_ = loadBreakSwitchBuilder_.build(); } if (identifiedObjectCase_ == 52 && transformerStarImpedanceBuilder_ != null) { result.identifiedObject_ = transformerStarImpedanceBuilder_.build(); } if (identifiedObjectCase_ == 53 && transformerEndInfoBuilder_ != null) { result.identifiedObject_ = transformerEndInfoBuilder_.build(); } if (identifiedObjectCase_ == 54 && transformerTankInfoBuilder_ != null) { result.identifiedObject_ = transformerTankInfoBuilder_.build(); } if (identifiedObjectCase_ == 55 && noLoadTestBuilder_ != null) { result.identifiedObject_ = noLoadTestBuilder_.build(); } if (identifiedObjectCase_ == 56 && openCircuitTestBuilder_ != null) { result.identifiedObject_ = openCircuitTestBuilder_.build(); } if (identifiedObjectCase_ == 57 && shortCircuitTestBuilder_ != null) { result.identifiedObject_ = shortCircuitTestBuilder_.build(); } if (identifiedObjectCase_ == 58 && equivalentBranchBuilder_ != null) { result.identifiedObject_ = equivalentBranchBuilder_.build(); } if (identifiedObjectCase_ == 59 && shuntCompensatorInfoBuilder_ != null) { result.identifiedObject_ = shuntCompensatorInfoBuilder_.build(); } if (identifiedObjectCase_ == 60 && lvFeederBuilder_ != null) { result.identifiedObject_ = lvFeederBuilder_.build(); } if (identifiedObjectCase_ == 61 && currentTransformerBuilder_ != null) { result.identifiedObject_ = currentTransformerBuilder_.build(); } if (identifiedObjectCase_ == 62 && potentialTransformerBuilder_ != null) { result.identifiedObject_ = potentialTransformerBuilder_.build(); } if (identifiedObjectCase_ == 63 && currentTransformerInfoBuilder_ != null) { result.identifiedObject_ = currentTransformerInfoBuilder_.build(); } if (identifiedObjectCase_ == 64 && potentialTransformerInfoBuilder_ != null) { result.identifiedObject_ = potentialTransformerInfoBuilder_.build(); } if (identifiedObjectCase_ == 65 && switchInfoBuilder_ != null) { result.identifiedObject_ = switchInfoBuilder_.build(); } if (identifiedObjectCase_ == 66 && relayInfoBuilder_ != null) { result.identifiedObject_ = relayInfoBuilder_.build(); } if (identifiedObjectCase_ == 68 && currentRelayBuilder_ != null) { result.identifiedObject_ = currentRelayBuilder_.build(); } if (identifiedObjectCase_ == 69 && tapChangerControlBuilder_ != null) { result.identifiedObject_ = tapChangerControlBuilder_.build(); } if (identifiedObjectCase_ == 70 && evChargingUnitBuilder_ != null) { result.identifiedObject_ = evChargingUnitBuilder_.build(); } if (identifiedObjectCase_ == 71 && seriesCompensatorBuilder_ != null) { result.identifiedObject_ = seriesCompensatorBuilder_.build(); } if (identifiedObjectCase_ == 72 && groundBuilder_ != null) { result.identifiedObject_ = groundBuilder_.build(); } if (identifiedObjectCase_ == 73 && groundDisconnectorBuilder_ != null) { result.identifiedObject_ = groundDisconnectorBuilder_.build(); } if (identifiedObjectCase_ == 74 && protectionRelaySchemeBuilder_ != null) { result.identifiedObject_ = protectionRelaySchemeBuilder_.build(); } if (identifiedObjectCase_ == 75 && protectionRelaySystemBuilder_ != null) { result.identifiedObject_ = protectionRelaySystemBuilder_.build(); } if (identifiedObjectCase_ == 76 && voltageRelayBuilder_ != null) { result.identifiedObject_ = voltageRelayBuilder_.build(); } if (identifiedObjectCase_ == 77 && distanceRelayBuilder_ != null) { result.identifiedObject_ = distanceRelayBuilder_.build(); } if (identifiedObjectCase_ == 78 && synchronousMachineBuilder_ != null) { result.identifiedObject_ = synchronousMachineBuilder_.build(); } if (identifiedObjectCase_ == 79 && reactiveCapabilityCurveBuilder_ != null) { result.identifiedObject_ = reactiveCapabilityCurveBuilder_.build(); } if (identifiedObjectCase_ == 80 && groundingImpedanceBuilder_ != null) { result.identifiedObject_ = groundingImpedanceBuilder_.build(); } if (identifiedObjectCase_ == 81 && petersenCoilBuilder_ != null) { result.identifiedObject_ = petersenCoilBuilder_.build(); } if (identifiedObjectCase_ == 999 && otherBuilder_ != null) { result.identifiedObject_ = otherBuilder_.build(); } } @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.nc.NetworkIdentifiedObject) { return mergeFrom((com.zepben.protobuf.nc.NetworkIdentifiedObject)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.zepben.protobuf.nc.NetworkIdentifiedObject other) { if (other == com.zepben.protobuf.nc.NetworkIdentifiedObject.getDefaultInstance()) return this; switch (other.getIdentifiedObjectCase()) { case CABLEINFO: { mergeCableInfo(other.getCableInfo()); break; } case OVERHEADWIREINFO: { mergeOverheadWireInfo(other.getOverheadWireInfo()); break; } case ASSETOWNER: { mergeAssetOwner(other.getAssetOwner()); break; } case ORGANISATION: { mergeOrganisation(other.getOrganisation()); break; } case LOCATION: { mergeLocation(other.getLocation()); break; } case METER: { mergeMeter(other.getMeter()); break; } case USAGEPOINT: { mergeUsagePoint(other.getUsagePoint()); break; } case OPERATIONALRESTRICTION: { mergeOperationalRestriction(other.getOperationalRestriction()); break; } case FAULTINDICATOR: { mergeFaultIndicator(other.getFaultIndicator()); break; } case BASEVOLTAGE: { mergeBaseVoltage(other.getBaseVoltage()); break; } case CONNECTIVITYNODE: { mergeConnectivityNode(other.getConnectivityNode()); break; } case FEEDER: { mergeFeeder(other.getFeeder()); break; } case GEOGRAPHICALREGION: { mergeGeographicalRegion(other.getGeographicalRegion()); break; } case SITE: { mergeSite(other.getSite()); break; } case SUBGEOGRAPHICALREGION: { mergeSubGeographicalRegion(other.getSubGeographicalRegion()); break; } case SUBSTATION: { mergeSubstation(other.getSubstation()); break; } case TERMINAL: { mergeTerminal(other.getTerminal()); break; } case ACLINESEGMENT: { mergeAcLineSegment(other.getAcLineSegment()); break; } case BREAKER: { mergeBreaker(other.getBreaker()); break; } case DISCONNECTOR: { mergeDisconnector(other.getDisconnector()); break; } case ENERGYCONSUMER: { mergeEnergyConsumer(other.getEnergyConsumer()); break; } case ENERGYCONSUMERPHASE: { mergeEnergyConsumerPhase(other.getEnergyConsumerPhase()); break; } case ENERGYSOURCE: { mergeEnergySource(other.getEnergySource()); break; } case ENERGYSOURCEPHASE: { mergeEnergySourcePhase(other.getEnergySourcePhase()); break; } case FUSE: { mergeFuse(other.getFuse()); break; } case JUMPER: { mergeJumper(other.getJumper()); break; } case JUNCTION: { mergeJunction(other.getJunction()); break; } case LINEARSHUNTCOMPENSATOR: { mergeLinearShuntCompensator(other.getLinearShuntCompensator()); break; } case PERLENGTHSEQUENCEIMPEDANCE: { mergePerLengthSequenceImpedance(other.getPerLengthSequenceImpedance()); break; } case POWERTRANSFORMER: { mergePowerTransformer(other.getPowerTransformer()); break; } case POWERTRANSFORMEREND: { mergePowerTransformerEnd(other.getPowerTransformerEnd()); break; } case RATIOTAPCHANGER: { mergeRatioTapChanger(other.getRatioTapChanger()); break; } case RECLOSER: { mergeRecloser(other.getRecloser()); break; } case CIRCUIT: { mergeCircuit(other.getCircuit()); break; } case LOOP: { mergeLoop(other.getLoop()); break; } case POLE: { mergePole(other.getPole()); break; } case STREETLIGHT: { mergeStreetlight(other.getStreetlight()); break; } case ACCUMULATOR: { mergeAccumulator(other.getAccumulator()); break; } case ANALOG: { mergeAnalog(other.getAnalog()); break; } case DISCRETE: { mergeDiscrete(other.getDiscrete()); break; } case CONTROL: { mergeControl(other.getControl()); break; } case REMOTECONTROL: { mergeRemoteControl(other.getRemoteControl()); break; } case REMOTESOURCE: { mergeRemoteSource(other.getRemoteSource()); break; } case POWERTRANSFORMERINFO: { mergePowerTransformerInfo(other.getPowerTransformerInfo()); break; } case POWERELECTRONICSCONNECTION: { mergePowerElectronicsConnection(other.getPowerElectronicsConnection()); break; } case POWERELECTRONICSCONNECTIONPHASE: { mergePowerElectronicsConnectionPhase(other.getPowerElectronicsConnectionPhase()); break; } case BATTERYUNIT: { mergeBatteryUnit(other.getBatteryUnit()); break; } case PHOTOVOLTAICUNIT: { mergePhotoVoltaicUnit(other.getPhotoVoltaicUnit()); break; } case POWERELECTRONICSWINDUNIT: { mergePowerElectronicsWindUnit(other.getPowerElectronicsWindUnit()); break; } case BUSBARSECTION: { mergeBusbarSection(other.getBusbarSection()); break; } case LOADBREAKSWITCH: { mergeLoadBreakSwitch(other.getLoadBreakSwitch()); break; } case TRANSFORMERSTARIMPEDANCE: { mergeTransformerStarImpedance(other.getTransformerStarImpedance()); break; } case TRANSFORMERENDINFO: { mergeTransformerEndInfo(other.getTransformerEndInfo()); break; } case TRANSFORMERTANKINFO: { mergeTransformerTankInfo(other.getTransformerTankInfo()); break; } case NOLOADTEST: { mergeNoLoadTest(other.getNoLoadTest()); break; } case OPENCIRCUITTEST: { mergeOpenCircuitTest(other.getOpenCircuitTest()); break; } case SHORTCIRCUITTEST: { mergeShortCircuitTest(other.getShortCircuitTest()); break; } case EQUIVALENTBRANCH: { mergeEquivalentBranch(other.getEquivalentBranch()); break; } case SHUNTCOMPENSATORINFO: { mergeShuntCompensatorInfo(other.getShuntCompensatorInfo()); break; } case LVFEEDER: { mergeLvFeeder(other.getLvFeeder()); break; } case CURRENTTRANSFORMER: { mergeCurrentTransformer(other.getCurrentTransformer()); break; } case POTENTIALTRANSFORMER: { mergePotentialTransformer(other.getPotentialTransformer()); break; } case CURRENTTRANSFORMERINFO: { mergeCurrentTransformerInfo(other.getCurrentTransformerInfo()); break; } case POTENTIALTRANSFORMERINFO: { mergePotentialTransformerInfo(other.getPotentialTransformerInfo()); break; } case SWITCHINFO: { mergeSwitchInfo(other.getSwitchInfo()); break; } case RELAYINFO: { mergeRelayInfo(other.getRelayInfo()); break; } case CURRENTRELAY: { mergeCurrentRelay(other.getCurrentRelay()); break; } case TAPCHANGERCONTROL: { mergeTapChangerControl(other.getTapChangerControl()); break; } case EVCHARGINGUNIT: { mergeEvChargingUnit(other.getEvChargingUnit()); break; } case SERIESCOMPENSATOR: { mergeSeriesCompensator(other.getSeriesCompensator()); break; } case GROUND: { mergeGround(other.getGround()); break; } case GROUNDDISCONNECTOR: { mergeGroundDisconnector(other.getGroundDisconnector()); break; } case PROTECTIONRELAYSCHEME: { mergeProtectionRelayScheme(other.getProtectionRelayScheme()); break; } case PROTECTIONRELAYSYSTEM: { mergeProtectionRelaySystem(other.getProtectionRelaySystem()); break; } case VOLTAGERELAY: { mergeVoltageRelay(other.getVoltageRelay()); break; } case DISTANCERELAY: { mergeDistanceRelay(other.getDistanceRelay()); break; } case SYNCHRONOUSMACHINE: { mergeSynchronousMachine(other.getSynchronousMachine()); break; } case REACTIVECAPABILITYCURVE: { mergeReactiveCapabilityCurve(other.getReactiveCapabilityCurve()); break; } case GROUNDINGIMPEDANCE: { mergeGroundingImpedance(other.getGroundingImpedance()); break; } case PETERSENCOIL: { mergePetersenCoil(other.getPetersenCoil()); break; } case OTHER: { mergeOther(other.getOther()); break; } case IDENTIFIEDOBJECT_NOT_SET: { break; } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getCableInfoFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 1; break; } // case 10 case 18: { input.readMessage( getOverheadWireInfoFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 2; break; } // case 18 case 26: { input.readMessage( getAssetOwnerFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 3; break; } // case 26 case 34: { input.readMessage( getOrganisationFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 4; break; } // case 34 case 42: { input.readMessage( getLocationFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 5; break; } // case 42 case 50: { input.readMessage( getMeterFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 6; break; } // case 50 case 58: { input.readMessage( getUsagePointFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 7; break; } // case 58 case 66: { input.readMessage( getOperationalRestrictionFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 8; break; } // case 66 case 74: { input.readMessage( getFaultIndicatorFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 9; break; } // case 74 case 82: { input.readMessage( getBaseVoltageFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 10; break; } // case 82 case 90: { input.readMessage( getConnectivityNodeFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 11; break; } // case 90 case 98: { input.readMessage( getFeederFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 12; break; } // case 98 case 106: { input.readMessage( getGeographicalRegionFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 13; break; } // case 106 case 114: { input.readMessage( getSiteFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 14; break; } // case 114 case 122: { input.readMessage( getSubGeographicalRegionFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 15; break; } // case 122 case 130: { input.readMessage( getSubstationFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 16; break; } // case 130 case 138: { input.readMessage( getTerminalFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 17; break; } // case 138 case 146: { input.readMessage( getAcLineSegmentFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 18; break; } // case 146 case 154: { input.readMessage( getBreakerFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 19; break; } // case 154 case 162: { input.readMessage( getDisconnectorFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 20; break; } // case 162 case 170: { input.readMessage( getEnergyConsumerFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 21; break; } // case 170 case 178: { input.readMessage( getEnergyConsumerPhaseFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 22; break; } // case 178 case 186: { input.readMessage( getEnergySourceFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 23; break; } // case 186 case 194: { input.readMessage( getEnergySourcePhaseFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 24; break; } // case 194 case 202: { input.readMessage( getFuseFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 25; break; } // case 202 case 210: { input.readMessage( getJumperFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 26; break; } // case 210 case 218: { input.readMessage( getJunctionFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 27; break; } // case 218 case 226: { input.readMessage( getLinearShuntCompensatorFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 28; break; } // case 226 case 234: { input.readMessage( getPerLengthSequenceImpedanceFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 29; break; } // case 234 case 242: { input.readMessage( getPowerTransformerFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 30; break; } // case 242 case 250: { input.readMessage( getPowerTransformerEndFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 31; break; } // case 250 case 258: { input.readMessage( getRatioTapChangerFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 32; break; } // case 258 case 266: { input.readMessage( getRecloserFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 33; break; } // case 266 case 274: { input.readMessage( getCircuitFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 34; break; } // case 274 case 282: { input.readMessage( getLoopFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 35; break; } // case 282 case 290: { input.readMessage( getPoleFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 36; break; } // case 290 case 298: { input.readMessage( getStreetlightFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 37; break; } // case 298 case 306: { input.readMessage( getAccumulatorFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 38; break; } // case 306 case 314: { input.readMessage( getAnalogFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 39; break; } // case 314 case 322: { input.readMessage( getDiscreteFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 40; break; } // case 322 case 330: { input.readMessage( getControlFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 41; break; } // case 330 case 338: { input.readMessage( getRemoteControlFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 42; break; } // case 338 case 346: { input.readMessage( getRemoteSourceFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 43; break; } // case 346 case 354: { input.readMessage( getPowerTransformerInfoFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 44; break; } // case 354 case 362: { input.readMessage( getPowerElectronicsConnectionFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 45; break; } // case 362 case 370: { input.readMessage( getPowerElectronicsConnectionPhaseFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 46; break; } // case 370 case 378: { input.readMessage( getBatteryUnitFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 47; break; } // case 378 case 386: { input.readMessage( getPhotoVoltaicUnitFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 48; break; } // case 386 case 394: { input.readMessage( getPowerElectronicsWindUnitFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 49; break; } // case 394 case 402: { input.readMessage( getBusbarSectionFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 50; break; } // case 402 case 410: { input.readMessage( getLoadBreakSwitchFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 51; break; } // case 410 case 418: { input.readMessage( getTransformerStarImpedanceFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 52; break; } // case 418 case 426: { input.readMessage( getTransformerEndInfoFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 53; break; } // case 426 case 434: { input.readMessage( getTransformerTankInfoFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 54; break; } // case 434 case 442: { input.readMessage( getNoLoadTestFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 55; break; } // case 442 case 450: { input.readMessage( getOpenCircuitTestFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 56; break; } // case 450 case 458: { input.readMessage( getShortCircuitTestFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 57; break; } // case 458 case 466: { input.readMessage( getEquivalentBranchFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 58; break; } // case 466 case 474: { input.readMessage( getShuntCompensatorInfoFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 59; break; } // case 474 case 482: { input.readMessage( getLvFeederFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 60; break; } // case 482 case 490: { input.readMessage( getCurrentTransformerFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 61; break; } // case 490 case 498: { input.readMessage( getPotentialTransformerFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 62; break; } // case 498 case 506: { input.readMessage( getCurrentTransformerInfoFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 63; break; } // case 506 case 514: { input.readMessage( getPotentialTransformerInfoFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 64; break; } // case 514 case 522: { input.readMessage( getSwitchInfoFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 65; break; } // case 522 case 530: { input.readMessage( getRelayInfoFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 66; break; } // case 530 case 546: { input.readMessage( getCurrentRelayFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 68; break; } // case 546 case 554: { input.readMessage( getTapChangerControlFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 69; break; } // case 554 case 562: { input.readMessage( getEvChargingUnitFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 70; break; } // case 562 case 570: { input.readMessage( getSeriesCompensatorFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 71; break; } // case 570 case 578: { input.readMessage( getGroundFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 72; break; } // case 578 case 586: { input.readMessage( getGroundDisconnectorFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 73; break; } // case 586 case 594: { input.readMessage( getProtectionRelaySchemeFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 74; break; } // case 594 case 602: { input.readMessage( getProtectionRelaySystemFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 75; break; } // case 602 case 610: { input.readMessage( getVoltageRelayFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 76; break; } // case 610 case 618: { input.readMessage( getDistanceRelayFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 77; break; } // case 618 case 626: { input.readMessage( getSynchronousMachineFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 78; break; } // case 626 case 634: { input.readMessage( getReactiveCapabilityCurveFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 79; break; } // case 634 case 642: { input.readMessage( getGroundingImpedanceFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 80; break; } // case 642 case 650: { input.readMessage( getPetersenCoilFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 81; break; } // case 650 case 7994: { input.readMessage( getOtherFieldBuilder().getBuilder(), extensionRegistry); identifiedObjectCase_ = 999; break; } // case 7994 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 identifiedObjectCase_ = 0; private java.lang.Object identifiedObject_; public IdentifiedObjectCase getIdentifiedObjectCase() { return IdentifiedObjectCase.forNumber( identifiedObjectCase_); } public Builder clearIdentifiedObject() { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); return this; } private int bitField0_; private int bitField1_; private int bitField2_; private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo, com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.CableInfoOrBuilder> cableInfoBuilder_; /** * .zepben.protobuf.cim.iec61968.assetinfo.CableInfo cableInfo = 1; * @return Whether the cableInfo field is set. */ @java.lang.Override public boolean hasCableInfo() { return identifiedObjectCase_ == 1; } /** * .zepben.protobuf.cim.iec61968.assetinfo.CableInfo cableInfo = 1; * @return The cableInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo getCableInfo() { if (cableInfoBuilder_ == null) { if (identifiedObjectCase_ == 1) { return (com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo.getDefaultInstance(); } else { if (identifiedObjectCase_ == 1) { return cableInfoBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.CableInfo cableInfo = 1; */ public Builder setCableInfo(com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo value) { if (cableInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { cableInfoBuilder_.setMessage(value); } identifiedObjectCase_ = 1; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.CableInfo cableInfo = 1; */ public Builder setCableInfo( com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo.Builder builderForValue) { if (cableInfoBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { cableInfoBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 1; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.CableInfo cableInfo = 1; */ public Builder mergeCableInfo(com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo value) { if (cableInfoBuilder_ == null) { if (identifiedObjectCase_ == 1 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo.newBuilder((com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 1) { cableInfoBuilder_.mergeFrom(value); } else { cableInfoBuilder_.setMessage(value); } } identifiedObjectCase_ = 1; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.CableInfo cableInfo = 1; */ public Builder clearCableInfo() { if (cableInfoBuilder_ == null) { if (identifiedObjectCase_ == 1) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 1) { identifiedObjectCase_ = 0; identifiedObject_ = null; } cableInfoBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.CableInfo cableInfo = 1; */ public com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo.Builder getCableInfoBuilder() { return getCableInfoFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.CableInfo cableInfo = 1; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.CableInfoOrBuilder getCableInfoOrBuilder() { if ((identifiedObjectCase_ == 1) && (cableInfoBuilder_ != null)) { return cableInfoBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 1) { return (com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.CableInfo cableInfo = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo, com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.CableInfoOrBuilder> getCableInfoFieldBuilder() { if (cableInfoBuilder_ == null) { if (!(identifiedObjectCase_ == 1)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo.getDefaultInstance(); } cableInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo, com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.CableInfoOrBuilder>( (com.zepben.protobuf.cim.iec61968.assetinfo.CableInfo) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 1; onChanged(); return cableInfoBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo, com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfoOrBuilder> overheadWireInfoBuilder_; /** * .zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo overheadWireInfo = 2; * @return Whether the overheadWireInfo field is set. */ @java.lang.Override public boolean hasOverheadWireInfo() { return identifiedObjectCase_ == 2; } /** * .zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo overheadWireInfo = 2; * @return The overheadWireInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo getOverheadWireInfo() { if (overheadWireInfoBuilder_ == null) { if (identifiedObjectCase_ == 2) { return (com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo.getDefaultInstance(); } else { if (identifiedObjectCase_ == 2) { return overheadWireInfoBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo overheadWireInfo = 2; */ public Builder setOverheadWireInfo(com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo value) { if (overheadWireInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { overheadWireInfoBuilder_.setMessage(value); } identifiedObjectCase_ = 2; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo overheadWireInfo = 2; */ public Builder setOverheadWireInfo( com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo.Builder builderForValue) { if (overheadWireInfoBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { overheadWireInfoBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 2; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo overheadWireInfo = 2; */ public Builder mergeOverheadWireInfo(com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo value) { if (overheadWireInfoBuilder_ == null) { if (identifiedObjectCase_ == 2 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo.newBuilder((com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 2) { overheadWireInfoBuilder_.mergeFrom(value); } else { overheadWireInfoBuilder_.setMessage(value); } } identifiedObjectCase_ = 2; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo overheadWireInfo = 2; */ public Builder clearOverheadWireInfo() { if (overheadWireInfoBuilder_ == null) { if (identifiedObjectCase_ == 2) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 2) { identifiedObjectCase_ = 0; identifiedObject_ = null; } overheadWireInfoBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo overheadWireInfo = 2; */ public com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo.Builder getOverheadWireInfoBuilder() { return getOverheadWireInfoFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo overheadWireInfo = 2; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfoOrBuilder getOverheadWireInfoOrBuilder() { if ((identifiedObjectCase_ == 2) && (overheadWireInfoBuilder_ != null)) { return overheadWireInfoBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 2) { return (com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo overheadWireInfo = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo, com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfoOrBuilder> getOverheadWireInfoFieldBuilder() { if (overheadWireInfoBuilder_ == null) { if (!(identifiedObjectCase_ == 2)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo.getDefaultInstance(); } overheadWireInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo, com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfoOrBuilder>( (com.zepben.protobuf.cim.iec61968.assetinfo.OverheadWireInfo) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 2; onChanged(); return overheadWireInfoBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assets.AssetOwner, com.zepben.protobuf.cim.iec61968.assets.AssetOwner.Builder, com.zepben.protobuf.cim.iec61968.assets.AssetOwnerOrBuilder> assetOwnerBuilder_; /** * .zepben.protobuf.cim.iec61968.assets.AssetOwner assetOwner = 3; * @return Whether the assetOwner field is set. */ @java.lang.Override public boolean hasAssetOwner() { return identifiedObjectCase_ == 3; } /** * .zepben.protobuf.cim.iec61968.assets.AssetOwner assetOwner = 3; * @return The assetOwner. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assets.AssetOwner getAssetOwner() { if (assetOwnerBuilder_ == null) { if (identifiedObjectCase_ == 3) { return (com.zepben.protobuf.cim.iec61968.assets.AssetOwner) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assets.AssetOwner.getDefaultInstance(); } else { if (identifiedObjectCase_ == 3) { return assetOwnerBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.assets.AssetOwner.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assets.AssetOwner assetOwner = 3; */ public Builder setAssetOwner(com.zepben.protobuf.cim.iec61968.assets.AssetOwner value) { if (assetOwnerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { assetOwnerBuilder_.setMessage(value); } identifiedObjectCase_ = 3; return this; } /** * .zepben.protobuf.cim.iec61968.assets.AssetOwner assetOwner = 3; */ public Builder setAssetOwner( com.zepben.protobuf.cim.iec61968.assets.AssetOwner.Builder builderForValue) { if (assetOwnerBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { assetOwnerBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 3; return this; } /** * .zepben.protobuf.cim.iec61968.assets.AssetOwner assetOwner = 3; */ public Builder mergeAssetOwner(com.zepben.protobuf.cim.iec61968.assets.AssetOwner value) { if (assetOwnerBuilder_ == null) { if (identifiedObjectCase_ == 3 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.assets.AssetOwner.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assets.AssetOwner.newBuilder((com.zepben.protobuf.cim.iec61968.assets.AssetOwner) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 3) { assetOwnerBuilder_.mergeFrom(value); } else { assetOwnerBuilder_.setMessage(value); } } identifiedObjectCase_ = 3; return this; } /** * .zepben.protobuf.cim.iec61968.assets.AssetOwner assetOwner = 3; */ public Builder clearAssetOwner() { if (assetOwnerBuilder_ == null) { if (identifiedObjectCase_ == 3) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 3) { identifiedObjectCase_ = 0; identifiedObject_ = null; } assetOwnerBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.assets.AssetOwner assetOwner = 3; */ public com.zepben.protobuf.cim.iec61968.assets.AssetOwner.Builder getAssetOwnerBuilder() { return getAssetOwnerFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.assets.AssetOwner assetOwner = 3; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assets.AssetOwnerOrBuilder getAssetOwnerOrBuilder() { if ((identifiedObjectCase_ == 3) && (assetOwnerBuilder_ != null)) { return assetOwnerBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 3) { return (com.zepben.protobuf.cim.iec61968.assets.AssetOwner) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assets.AssetOwner.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assets.AssetOwner assetOwner = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assets.AssetOwner, com.zepben.protobuf.cim.iec61968.assets.AssetOwner.Builder, com.zepben.protobuf.cim.iec61968.assets.AssetOwnerOrBuilder> getAssetOwnerFieldBuilder() { if (assetOwnerBuilder_ == null) { if (!(identifiedObjectCase_ == 3)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assets.AssetOwner.getDefaultInstance(); } assetOwnerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assets.AssetOwner, com.zepben.protobuf.cim.iec61968.assets.AssetOwner.Builder, com.zepben.protobuf.cim.iec61968.assets.AssetOwnerOrBuilder>( (com.zepben.protobuf.cim.iec61968.assets.AssetOwner) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 3; onChanged(); return assetOwnerBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.common.Organisation, com.zepben.protobuf.cim.iec61968.common.Organisation.Builder, com.zepben.protobuf.cim.iec61968.common.OrganisationOrBuilder> organisationBuilder_; /** * .zepben.protobuf.cim.iec61968.common.Organisation organisation = 4; * @return Whether the organisation field is set. */ @java.lang.Override public boolean hasOrganisation() { return identifiedObjectCase_ == 4; } /** * .zepben.protobuf.cim.iec61968.common.Organisation organisation = 4; * @return The organisation. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.common.Organisation getOrganisation() { if (organisationBuilder_ == null) { if (identifiedObjectCase_ == 4) { return (com.zepben.protobuf.cim.iec61968.common.Organisation) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.common.Organisation.getDefaultInstance(); } else { if (identifiedObjectCase_ == 4) { return organisationBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.common.Organisation.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.common.Organisation organisation = 4; */ public Builder setOrganisation(com.zepben.protobuf.cim.iec61968.common.Organisation value) { if (organisationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { organisationBuilder_.setMessage(value); } identifiedObjectCase_ = 4; return this; } /** * .zepben.protobuf.cim.iec61968.common.Organisation organisation = 4; */ public Builder setOrganisation( com.zepben.protobuf.cim.iec61968.common.Organisation.Builder builderForValue) { if (organisationBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { organisationBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 4; return this; } /** * .zepben.protobuf.cim.iec61968.common.Organisation organisation = 4; */ public Builder mergeOrganisation(com.zepben.protobuf.cim.iec61968.common.Organisation value) { if (organisationBuilder_ == null) { if (identifiedObjectCase_ == 4 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.common.Organisation.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.common.Organisation.newBuilder((com.zepben.protobuf.cim.iec61968.common.Organisation) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 4) { organisationBuilder_.mergeFrom(value); } else { organisationBuilder_.setMessage(value); } } identifiedObjectCase_ = 4; return this; } /** * .zepben.protobuf.cim.iec61968.common.Organisation organisation = 4; */ public Builder clearOrganisation() { if (organisationBuilder_ == null) { if (identifiedObjectCase_ == 4) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 4) { identifiedObjectCase_ = 0; identifiedObject_ = null; } organisationBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.common.Organisation organisation = 4; */ public com.zepben.protobuf.cim.iec61968.common.Organisation.Builder getOrganisationBuilder() { return getOrganisationFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.common.Organisation organisation = 4; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.common.OrganisationOrBuilder getOrganisationOrBuilder() { if ((identifiedObjectCase_ == 4) && (organisationBuilder_ != null)) { return organisationBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 4) { return (com.zepben.protobuf.cim.iec61968.common.Organisation) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.common.Organisation.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.common.Organisation organisation = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.common.Organisation, com.zepben.protobuf.cim.iec61968.common.Organisation.Builder, com.zepben.protobuf.cim.iec61968.common.OrganisationOrBuilder> getOrganisationFieldBuilder() { if (organisationBuilder_ == null) { if (!(identifiedObjectCase_ == 4)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.common.Organisation.getDefaultInstance(); } organisationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.common.Organisation, com.zepben.protobuf.cim.iec61968.common.Organisation.Builder, com.zepben.protobuf.cim.iec61968.common.OrganisationOrBuilder>( (com.zepben.protobuf.cim.iec61968.common.Organisation) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 4; onChanged(); return organisationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.common.Location, com.zepben.protobuf.cim.iec61968.common.Location.Builder, com.zepben.protobuf.cim.iec61968.common.LocationOrBuilder> locationBuilder_; /** * .zepben.protobuf.cim.iec61968.common.Location location = 5; * @return Whether the location field is set. */ @java.lang.Override public boolean hasLocation() { return identifiedObjectCase_ == 5; } /** * .zepben.protobuf.cim.iec61968.common.Location location = 5; * @return The location. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.common.Location getLocation() { if (locationBuilder_ == null) { if (identifiedObjectCase_ == 5) { return (com.zepben.protobuf.cim.iec61968.common.Location) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.common.Location.getDefaultInstance(); } else { if (identifiedObjectCase_ == 5) { return locationBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.common.Location.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.common.Location location = 5; */ public Builder setLocation(com.zepben.protobuf.cim.iec61968.common.Location value) { if (locationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { locationBuilder_.setMessage(value); } identifiedObjectCase_ = 5; return this; } /** * .zepben.protobuf.cim.iec61968.common.Location location = 5; */ public Builder setLocation( com.zepben.protobuf.cim.iec61968.common.Location.Builder builderForValue) { if (locationBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { locationBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 5; return this; } /** * .zepben.protobuf.cim.iec61968.common.Location location = 5; */ public Builder mergeLocation(com.zepben.protobuf.cim.iec61968.common.Location value) { if (locationBuilder_ == null) { if (identifiedObjectCase_ == 5 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.common.Location.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.common.Location.newBuilder((com.zepben.protobuf.cim.iec61968.common.Location) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 5) { locationBuilder_.mergeFrom(value); } else { locationBuilder_.setMessage(value); } } identifiedObjectCase_ = 5; return this; } /** * .zepben.protobuf.cim.iec61968.common.Location location = 5; */ public Builder clearLocation() { if (locationBuilder_ == null) { if (identifiedObjectCase_ == 5) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 5) { identifiedObjectCase_ = 0; identifiedObject_ = null; } locationBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.common.Location location = 5; */ public com.zepben.protobuf.cim.iec61968.common.Location.Builder getLocationBuilder() { return getLocationFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.common.Location location = 5; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.common.LocationOrBuilder getLocationOrBuilder() { if ((identifiedObjectCase_ == 5) && (locationBuilder_ != null)) { return locationBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 5) { return (com.zepben.protobuf.cim.iec61968.common.Location) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.common.Location.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.common.Location location = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.common.Location, com.zepben.protobuf.cim.iec61968.common.Location.Builder, com.zepben.protobuf.cim.iec61968.common.LocationOrBuilder> getLocationFieldBuilder() { if (locationBuilder_ == null) { if (!(identifiedObjectCase_ == 5)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.common.Location.getDefaultInstance(); } locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.common.Location, com.zepben.protobuf.cim.iec61968.common.Location.Builder, com.zepben.protobuf.cim.iec61968.common.LocationOrBuilder>( (com.zepben.protobuf.cim.iec61968.common.Location) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 5; onChanged(); return locationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.metering.Meter, com.zepben.protobuf.cim.iec61968.metering.Meter.Builder, com.zepben.protobuf.cim.iec61968.metering.MeterOrBuilder> meterBuilder_; /** * .zepben.protobuf.cim.iec61968.metering.Meter meter = 6; * @return Whether the meter field is set. */ @java.lang.Override public boolean hasMeter() { return identifiedObjectCase_ == 6; } /** * .zepben.protobuf.cim.iec61968.metering.Meter meter = 6; * @return The meter. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.metering.Meter getMeter() { if (meterBuilder_ == null) { if (identifiedObjectCase_ == 6) { return (com.zepben.protobuf.cim.iec61968.metering.Meter) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.metering.Meter.getDefaultInstance(); } else { if (identifiedObjectCase_ == 6) { return meterBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.metering.Meter.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.metering.Meter meter = 6; */ public Builder setMeter(com.zepben.protobuf.cim.iec61968.metering.Meter value) { if (meterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { meterBuilder_.setMessage(value); } identifiedObjectCase_ = 6; return this; } /** * .zepben.protobuf.cim.iec61968.metering.Meter meter = 6; */ public Builder setMeter( com.zepben.protobuf.cim.iec61968.metering.Meter.Builder builderForValue) { if (meterBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { meterBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 6; return this; } /** * .zepben.protobuf.cim.iec61968.metering.Meter meter = 6; */ public Builder mergeMeter(com.zepben.protobuf.cim.iec61968.metering.Meter value) { if (meterBuilder_ == null) { if (identifiedObjectCase_ == 6 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.metering.Meter.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.metering.Meter.newBuilder((com.zepben.protobuf.cim.iec61968.metering.Meter) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 6) { meterBuilder_.mergeFrom(value); } else { meterBuilder_.setMessage(value); } } identifiedObjectCase_ = 6; return this; } /** * .zepben.protobuf.cim.iec61968.metering.Meter meter = 6; */ public Builder clearMeter() { if (meterBuilder_ == null) { if (identifiedObjectCase_ == 6) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 6) { identifiedObjectCase_ = 0; identifiedObject_ = null; } meterBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.metering.Meter meter = 6; */ public com.zepben.protobuf.cim.iec61968.metering.Meter.Builder getMeterBuilder() { return getMeterFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.metering.Meter meter = 6; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.metering.MeterOrBuilder getMeterOrBuilder() { if ((identifiedObjectCase_ == 6) && (meterBuilder_ != null)) { return meterBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 6) { return (com.zepben.protobuf.cim.iec61968.metering.Meter) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.metering.Meter.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.metering.Meter meter = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.metering.Meter, com.zepben.protobuf.cim.iec61968.metering.Meter.Builder, com.zepben.protobuf.cim.iec61968.metering.MeterOrBuilder> getMeterFieldBuilder() { if (meterBuilder_ == null) { if (!(identifiedObjectCase_ == 6)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.metering.Meter.getDefaultInstance(); } meterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.metering.Meter, com.zepben.protobuf.cim.iec61968.metering.Meter.Builder, com.zepben.protobuf.cim.iec61968.metering.MeterOrBuilder>( (com.zepben.protobuf.cim.iec61968.metering.Meter) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 6; onChanged(); return meterBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.metering.UsagePoint, com.zepben.protobuf.cim.iec61968.metering.UsagePoint.Builder, com.zepben.protobuf.cim.iec61968.metering.UsagePointOrBuilder> usagePointBuilder_; /** * .zepben.protobuf.cim.iec61968.metering.UsagePoint usagePoint = 7; * @return Whether the usagePoint field is set. */ @java.lang.Override public boolean hasUsagePoint() { return identifiedObjectCase_ == 7; } /** * .zepben.protobuf.cim.iec61968.metering.UsagePoint usagePoint = 7; * @return The usagePoint. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.metering.UsagePoint getUsagePoint() { if (usagePointBuilder_ == null) { if (identifiedObjectCase_ == 7) { return (com.zepben.protobuf.cim.iec61968.metering.UsagePoint) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.metering.UsagePoint.getDefaultInstance(); } else { if (identifiedObjectCase_ == 7) { return usagePointBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.metering.UsagePoint.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.metering.UsagePoint usagePoint = 7; */ public Builder setUsagePoint(com.zepben.protobuf.cim.iec61968.metering.UsagePoint value) { if (usagePointBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { usagePointBuilder_.setMessage(value); } identifiedObjectCase_ = 7; return this; } /** * .zepben.protobuf.cim.iec61968.metering.UsagePoint usagePoint = 7; */ public Builder setUsagePoint( com.zepben.protobuf.cim.iec61968.metering.UsagePoint.Builder builderForValue) { if (usagePointBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { usagePointBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 7; return this; } /** * .zepben.protobuf.cim.iec61968.metering.UsagePoint usagePoint = 7; */ public Builder mergeUsagePoint(com.zepben.protobuf.cim.iec61968.metering.UsagePoint value) { if (usagePointBuilder_ == null) { if (identifiedObjectCase_ == 7 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.metering.UsagePoint.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.metering.UsagePoint.newBuilder((com.zepben.protobuf.cim.iec61968.metering.UsagePoint) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 7) { usagePointBuilder_.mergeFrom(value); } else { usagePointBuilder_.setMessage(value); } } identifiedObjectCase_ = 7; return this; } /** * .zepben.protobuf.cim.iec61968.metering.UsagePoint usagePoint = 7; */ public Builder clearUsagePoint() { if (usagePointBuilder_ == null) { if (identifiedObjectCase_ == 7) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 7) { identifiedObjectCase_ = 0; identifiedObject_ = null; } usagePointBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.metering.UsagePoint usagePoint = 7; */ public com.zepben.protobuf.cim.iec61968.metering.UsagePoint.Builder getUsagePointBuilder() { return getUsagePointFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.metering.UsagePoint usagePoint = 7; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.metering.UsagePointOrBuilder getUsagePointOrBuilder() { if ((identifiedObjectCase_ == 7) && (usagePointBuilder_ != null)) { return usagePointBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 7) { return (com.zepben.protobuf.cim.iec61968.metering.UsagePoint) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.metering.UsagePoint.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.metering.UsagePoint usagePoint = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.metering.UsagePoint, com.zepben.protobuf.cim.iec61968.metering.UsagePoint.Builder, com.zepben.protobuf.cim.iec61968.metering.UsagePointOrBuilder> getUsagePointFieldBuilder() { if (usagePointBuilder_ == null) { if (!(identifiedObjectCase_ == 7)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.metering.UsagePoint.getDefaultInstance(); } usagePointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.metering.UsagePoint, com.zepben.protobuf.cim.iec61968.metering.UsagePoint.Builder, com.zepben.protobuf.cim.iec61968.metering.UsagePointOrBuilder>( (com.zepben.protobuf.cim.iec61968.metering.UsagePoint) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 7; onChanged(); return usagePointBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction, com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction.Builder, com.zepben.protobuf.cim.iec61968.operations.OperationalRestrictionOrBuilder> operationalRestrictionBuilder_; /** * .zepben.protobuf.cim.iec61968.operations.OperationalRestriction operationalRestriction = 8; * @return Whether the operationalRestriction field is set. */ @java.lang.Override public boolean hasOperationalRestriction() { return identifiedObjectCase_ == 8; } /** * .zepben.protobuf.cim.iec61968.operations.OperationalRestriction operationalRestriction = 8; * @return The operationalRestriction. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction getOperationalRestriction() { if (operationalRestrictionBuilder_ == null) { if (identifiedObjectCase_ == 8) { return (com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction.getDefaultInstance(); } else { if (identifiedObjectCase_ == 8) { return operationalRestrictionBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.operations.OperationalRestriction operationalRestriction = 8; */ public Builder setOperationalRestriction(com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction value) { if (operationalRestrictionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { operationalRestrictionBuilder_.setMessage(value); } identifiedObjectCase_ = 8; return this; } /** * .zepben.protobuf.cim.iec61968.operations.OperationalRestriction operationalRestriction = 8; */ public Builder setOperationalRestriction( com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction.Builder builderForValue) { if (operationalRestrictionBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { operationalRestrictionBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 8; return this; } /** * .zepben.protobuf.cim.iec61968.operations.OperationalRestriction operationalRestriction = 8; */ public Builder mergeOperationalRestriction(com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction value) { if (operationalRestrictionBuilder_ == null) { if (identifiedObjectCase_ == 8 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction.newBuilder((com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 8) { operationalRestrictionBuilder_.mergeFrom(value); } else { operationalRestrictionBuilder_.setMessage(value); } } identifiedObjectCase_ = 8; return this; } /** * .zepben.protobuf.cim.iec61968.operations.OperationalRestriction operationalRestriction = 8; */ public Builder clearOperationalRestriction() { if (operationalRestrictionBuilder_ == null) { if (identifiedObjectCase_ == 8) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 8) { identifiedObjectCase_ = 0; identifiedObject_ = null; } operationalRestrictionBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.operations.OperationalRestriction operationalRestriction = 8; */ public com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction.Builder getOperationalRestrictionBuilder() { return getOperationalRestrictionFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.operations.OperationalRestriction operationalRestriction = 8; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.operations.OperationalRestrictionOrBuilder getOperationalRestrictionOrBuilder() { if ((identifiedObjectCase_ == 8) && (operationalRestrictionBuilder_ != null)) { return operationalRestrictionBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 8) { return (com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.operations.OperationalRestriction operationalRestriction = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction, com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction.Builder, com.zepben.protobuf.cim.iec61968.operations.OperationalRestrictionOrBuilder> getOperationalRestrictionFieldBuilder() { if (operationalRestrictionBuilder_ == null) { if (!(identifiedObjectCase_ == 8)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction.getDefaultInstance(); } operationalRestrictionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction, com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction.Builder, com.zepben.protobuf.cim.iec61968.operations.OperationalRestrictionOrBuilder>( (com.zepben.protobuf.cim.iec61968.operations.OperationalRestriction) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 8; onChanged(); return operationalRestrictionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator.Builder, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicatorOrBuilder> faultIndicatorBuilder_; /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator faultIndicator = 9; * @return Whether the faultIndicator field is set. */ @java.lang.Override public boolean hasFaultIndicator() { return identifiedObjectCase_ == 9; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator faultIndicator = 9; * @return The faultIndicator. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator getFaultIndicator() { if (faultIndicatorBuilder_ == null) { if (identifiedObjectCase_ == 9) { return (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator.getDefaultInstance(); } else { if (identifiedObjectCase_ == 9) { return faultIndicatorBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator faultIndicator = 9; */ public Builder setFaultIndicator(com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator value) { if (faultIndicatorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { faultIndicatorBuilder_.setMessage(value); } identifiedObjectCase_ = 9; return this; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator faultIndicator = 9; */ public Builder setFaultIndicator( com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator.Builder builderForValue) { if (faultIndicatorBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { faultIndicatorBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 9; return this; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator faultIndicator = 9; */ public Builder mergeFaultIndicator(com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator value) { if (faultIndicatorBuilder_ == null) { if (identifiedObjectCase_ == 9 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator.newBuilder((com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 9) { faultIndicatorBuilder_.mergeFrom(value); } else { faultIndicatorBuilder_.setMessage(value); } } identifiedObjectCase_ = 9; return this; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator faultIndicator = 9; */ public Builder clearFaultIndicator() { if (faultIndicatorBuilder_ == null) { if (identifiedObjectCase_ == 9) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 9) { identifiedObjectCase_ = 0; identifiedObject_ = null; } faultIndicatorBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator faultIndicator = 9; */ public com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator.Builder getFaultIndicatorBuilder() { return getFaultIndicatorFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator faultIndicator = 9; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicatorOrBuilder getFaultIndicatorOrBuilder() { if ((identifiedObjectCase_ == 9) && (faultIndicatorBuilder_ != null)) { return faultIndicatorBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 9) { return (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator faultIndicator = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator.Builder, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicatorOrBuilder> getFaultIndicatorFieldBuilder() { if (faultIndicatorBuilder_ == null) { if (!(identifiedObjectCase_ == 9)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator.getDefaultInstance(); } faultIndicatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator.Builder, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicatorOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.FaultIndicator) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 9; onChanged(); return faultIndicatorBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage, com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage.Builder, com.zepben.protobuf.cim.iec61970.base.core.BaseVoltageOrBuilder> baseVoltageBuilder_; /** * .zepben.protobuf.cim.iec61970.base.core.BaseVoltage baseVoltage = 10; * @return Whether the baseVoltage field is set. */ @java.lang.Override public boolean hasBaseVoltage() { return identifiedObjectCase_ == 10; } /** * .zepben.protobuf.cim.iec61970.base.core.BaseVoltage baseVoltage = 10; * @return The baseVoltage. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage getBaseVoltage() { if (baseVoltageBuilder_ == null) { if (identifiedObjectCase_ == 10) { return (com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage.getDefaultInstance(); } else { if (identifiedObjectCase_ == 10) { return baseVoltageBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.BaseVoltage baseVoltage = 10; */ public Builder setBaseVoltage(com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage value) { if (baseVoltageBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { baseVoltageBuilder_.setMessage(value); } identifiedObjectCase_ = 10; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.BaseVoltage baseVoltage = 10; */ public Builder setBaseVoltage( com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage.Builder builderForValue) { if (baseVoltageBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { baseVoltageBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 10; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.BaseVoltage baseVoltage = 10; */ public Builder mergeBaseVoltage(com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage value) { if (baseVoltageBuilder_ == null) { if (identifiedObjectCase_ == 10 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage.newBuilder((com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 10) { baseVoltageBuilder_.mergeFrom(value); } else { baseVoltageBuilder_.setMessage(value); } } identifiedObjectCase_ = 10; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.BaseVoltage baseVoltage = 10; */ public Builder clearBaseVoltage() { if (baseVoltageBuilder_ == null) { if (identifiedObjectCase_ == 10) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 10) { identifiedObjectCase_ = 0; identifiedObject_ = null; } baseVoltageBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.core.BaseVoltage baseVoltage = 10; */ public com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage.Builder getBaseVoltageBuilder() { return getBaseVoltageFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.core.BaseVoltage baseVoltage = 10; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.BaseVoltageOrBuilder getBaseVoltageOrBuilder() { if ((identifiedObjectCase_ == 10) && (baseVoltageBuilder_ != null)) { return baseVoltageBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 10) { return (com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.BaseVoltage baseVoltage = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage, com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage.Builder, com.zepben.protobuf.cim.iec61970.base.core.BaseVoltageOrBuilder> getBaseVoltageFieldBuilder() { if (baseVoltageBuilder_ == null) { if (!(identifiedObjectCase_ == 10)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage.getDefaultInstance(); } baseVoltageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage, com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage.Builder, com.zepben.protobuf.cim.iec61970.base.core.BaseVoltageOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.core.BaseVoltage) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 10; onChanged(); return baseVoltageBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode, com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode.Builder, com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNodeOrBuilder> connectivityNodeBuilder_; /** * .zepben.protobuf.cim.iec61970.base.core.ConnectivityNode connectivityNode = 11; * @return Whether the connectivityNode field is set. */ @java.lang.Override public boolean hasConnectivityNode() { return identifiedObjectCase_ == 11; } /** * .zepben.protobuf.cim.iec61970.base.core.ConnectivityNode connectivityNode = 11; * @return The connectivityNode. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode getConnectivityNode() { if (connectivityNodeBuilder_ == null) { if (identifiedObjectCase_ == 11) { return (com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode.getDefaultInstance(); } else { if (identifiedObjectCase_ == 11) { return connectivityNodeBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.ConnectivityNode connectivityNode = 11; */ public Builder setConnectivityNode(com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode value) { if (connectivityNodeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { connectivityNodeBuilder_.setMessage(value); } identifiedObjectCase_ = 11; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.ConnectivityNode connectivityNode = 11; */ public Builder setConnectivityNode( com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode.Builder builderForValue) { if (connectivityNodeBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { connectivityNodeBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 11; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.ConnectivityNode connectivityNode = 11; */ public Builder mergeConnectivityNode(com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode value) { if (connectivityNodeBuilder_ == null) { if (identifiedObjectCase_ == 11 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode.newBuilder((com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 11) { connectivityNodeBuilder_.mergeFrom(value); } else { connectivityNodeBuilder_.setMessage(value); } } identifiedObjectCase_ = 11; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.ConnectivityNode connectivityNode = 11; */ public Builder clearConnectivityNode() { if (connectivityNodeBuilder_ == null) { if (identifiedObjectCase_ == 11) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 11) { identifiedObjectCase_ = 0; identifiedObject_ = null; } connectivityNodeBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.core.ConnectivityNode connectivityNode = 11; */ public com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode.Builder getConnectivityNodeBuilder() { return getConnectivityNodeFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.core.ConnectivityNode connectivityNode = 11; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNodeOrBuilder getConnectivityNodeOrBuilder() { if ((identifiedObjectCase_ == 11) && (connectivityNodeBuilder_ != null)) { return connectivityNodeBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 11) { return (com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.ConnectivityNode connectivityNode = 11; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode, com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode.Builder, com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNodeOrBuilder> getConnectivityNodeFieldBuilder() { if (connectivityNodeBuilder_ == null) { if (!(identifiedObjectCase_ == 11)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode.getDefaultInstance(); } connectivityNodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode, com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode.Builder, com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNodeOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.core.ConnectivityNode) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 11; onChanged(); return connectivityNodeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.Feeder, com.zepben.protobuf.cim.iec61970.base.core.Feeder.Builder, com.zepben.protobuf.cim.iec61970.base.core.FeederOrBuilder> feederBuilder_; /** * .zepben.protobuf.cim.iec61970.base.core.Feeder feeder = 12; * @return Whether the feeder field is set. */ @java.lang.Override public boolean hasFeeder() { return identifiedObjectCase_ == 12; } /** * .zepben.protobuf.cim.iec61970.base.core.Feeder feeder = 12; * @return The feeder. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.Feeder getFeeder() { if (feederBuilder_ == null) { if (identifiedObjectCase_ == 12) { return (com.zepben.protobuf.cim.iec61970.base.core.Feeder) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Feeder.getDefaultInstance(); } else { if (identifiedObjectCase_ == 12) { return feederBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.core.Feeder.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.Feeder feeder = 12; */ public Builder setFeeder(com.zepben.protobuf.cim.iec61970.base.core.Feeder value) { if (feederBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { feederBuilder_.setMessage(value); } identifiedObjectCase_ = 12; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Feeder feeder = 12; */ public Builder setFeeder( com.zepben.protobuf.cim.iec61970.base.core.Feeder.Builder builderForValue) { if (feederBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { feederBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 12; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Feeder feeder = 12; */ public Builder mergeFeeder(com.zepben.protobuf.cim.iec61970.base.core.Feeder value) { if (feederBuilder_ == null) { if (identifiedObjectCase_ == 12 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.core.Feeder.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.Feeder.newBuilder((com.zepben.protobuf.cim.iec61970.base.core.Feeder) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 12) { feederBuilder_.mergeFrom(value); } else { feederBuilder_.setMessage(value); } } identifiedObjectCase_ = 12; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Feeder feeder = 12; */ public Builder clearFeeder() { if (feederBuilder_ == null) { if (identifiedObjectCase_ == 12) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 12) { identifiedObjectCase_ = 0; identifiedObject_ = null; } feederBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Feeder feeder = 12; */ public com.zepben.protobuf.cim.iec61970.base.core.Feeder.Builder getFeederBuilder() { return getFeederFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.core.Feeder feeder = 12; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.FeederOrBuilder getFeederOrBuilder() { if ((identifiedObjectCase_ == 12) && (feederBuilder_ != null)) { return feederBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 12) { return (com.zepben.protobuf.cim.iec61970.base.core.Feeder) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Feeder.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.Feeder feeder = 12; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.Feeder, com.zepben.protobuf.cim.iec61970.base.core.Feeder.Builder, com.zepben.protobuf.cim.iec61970.base.core.FeederOrBuilder> getFeederFieldBuilder() { if (feederBuilder_ == null) { if (!(identifiedObjectCase_ == 12)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.Feeder.getDefaultInstance(); } feederBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.Feeder, com.zepben.protobuf.cim.iec61970.base.core.Feeder.Builder, com.zepben.protobuf.cim.iec61970.base.core.FeederOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.core.Feeder) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 12; onChanged(); return feederBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion, com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion.Builder, com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegionOrBuilder> geographicalRegionBuilder_; /** * .zepben.protobuf.cim.iec61970.base.core.GeographicalRegion geographicalRegion = 13; * @return Whether the geographicalRegion field is set. */ @java.lang.Override public boolean hasGeographicalRegion() { return identifiedObjectCase_ == 13; } /** * .zepben.protobuf.cim.iec61970.base.core.GeographicalRegion geographicalRegion = 13; * @return The geographicalRegion. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion getGeographicalRegion() { if (geographicalRegionBuilder_ == null) { if (identifiedObjectCase_ == 13) { return (com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion.getDefaultInstance(); } else { if (identifiedObjectCase_ == 13) { return geographicalRegionBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.GeographicalRegion geographicalRegion = 13; */ public Builder setGeographicalRegion(com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion value) { if (geographicalRegionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { geographicalRegionBuilder_.setMessage(value); } identifiedObjectCase_ = 13; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.GeographicalRegion geographicalRegion = 13; */ public Builder setGeographicalRegion( com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion.Builder builderForValue) { if (geographicalRegionBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { geographicalRegionBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 13; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.GeographicalRegion geographicalRegion = 13; */ public Builder mergeGeographicalRegion(com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion value) { if (geographicalRegionBuilder_ == null) { if (identifiedObjectCase_ == 13 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion.newBuilder((com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 13) { geographicalRegionBuilder_.mergeFrom(value); } else { geographicalRegionBuilder_.setMessage(value); } } identifiedObjectCase_ = 13; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.GeographicalRegion geographicalRegion = 13; */ public Builder clearGeographicalRegion() { if (geographicalRegionBuilder_ == null) { if (identifiedObjectCase_ == 13) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 13) { identifiedObjectCase_ = 0; identifiedObject_ = null; } geographicalRegionBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.core.GeographicalRegion geographicalRegion = 13; */ public com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion.Builder getGeographicalRegionBuilder() { return getGeographicalRegionFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.core.GeographicalRegion geographicalRegion = 13; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegionOrBuilder getGeographicalRegionOrBuilder() { if ((identifiedObjectCase_ == 13) && (geographicalRegionBuilder_ != null)) { return geographicalRegionBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 13) { return (com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.GeographicalRegion geographicalRegion = 13; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion, com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion.Builder, com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegionOrBuilder> getGeographicalRegionFieldBuilder() { if (geographicalRegionBuilder_ == null) { if (!(identifiedObjectCase_ == 13)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion.getDefaultInstance(); } geographicalRegionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion, com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion.Builder, com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegionOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.core.GeographicalRegion) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 13; onChanged(); return geographicalRegionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.Site, com.zepben.protobuf.cim.iec61970.base.core.Site.Builder, com.zepben.protobuf.cim.iec61970.base.core.SiteOrBuilder> siteBuilder_; /** * .zepben.protobuf.cim.iec61970.base.core.Site site = 14; * @return Whether the site field is set. */ @java.lang.Override public boolean hasSite() { return identifiedObjectCase_ == 14; } /** * .zepben.protobuf.cim.iec61970.base.core.Site site = 14; * @return The site. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.Site getSite() { if (siteBuilder_ == null) { if (identifiedObjectCase_ == 14) { return (com.zepben.protobuf.cim.iec61970.base.core.Site) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Site.getDefaultInstance(); } else { if (identifiedObjectCase_ == 14) { return siteBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.core.Site.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.Site site = 14; */ public Builder setSite(com.zepben.protobuf.cim.iec61970.base.core.Site value) { if (siteBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { siteBuilder_.setMessage(value); } identifiedObjectCase_ = 14; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Site site = 14; */ public Builder setSite( com.zepben.protobuf.cim.iec61970.base.core.Site.Builder builderForValue) { if (siteBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { siteBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 14; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Site site = 14; */ public Builder mergeSite(com.zepben.protobuf.cim.iec61970.base.core.Site value) { if (siteBuilder_ == null) { if (identifiedObjectCase_ == 14 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.core.Site.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.Site.newBuilder((com.zepben.protobuf.cim.iec61970.base.core.Site) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 14) { siteBuilder_.mergeFrom(value); } else { siteBuilder_.setMessage(value); } } identifiedObjectCase_ = 14; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Site site = 14; */ public Builder clearSite() { if (siteBuilder_ == null) { if (identifiedObjectCase_ == 14) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 14) { identifiedObjectCase_ = 0; identifiedObject_ = null; } siteBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Site site = 14; */ public com.zepben.protobuf.cim.iec61970.base.core.Site.Builder getSiteBuilder() { return getSiteFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.core.Site site = 14; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.SiteOrBuilder getSiteOrBuilder() { if ((identifiedObjectCase_ == 14) && (siteBuilder_ != null)) { return siteBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 14) { return (com.zepben.protobuf.cim.iec61970.base.core.Site) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Site.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.Site site = 14; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.Site, com.zepben.protobuf.cim.iec61970.base.core.Site.Builder, com.zepben.protobuf.cim.iec61970.base.core.SiteOrBuilder> getSiteFieldBuilder() { if (siteBuilder_ == null) { if (!(identifiedObjectCase_ == 14)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.Site.getDefaultInstance(); } siteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.Site, com.zepben.protobuf.cim.iec61970.base.core.Site.Builder, com.zepben.protobuf.cim.iec61970.base.core.SiteOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.core.Site) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 14; onChanged(); return siteBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion, com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion.Builder, com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegionOrBuilder> subGeographicalRegionBuilder_; /** * .zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion subGeographicalRegion = 15; * @return Whether the subGeographicalRegion field is set. */ @java.lang.Override public boolean hasSubGeographicalRegion() { return identifiedObjectCase_ == 15; } /** * .zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion subGeographicalRegion = 15; * @return The subGeographicalRegion. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion getSubGeographicalRegion() { if (subGeographicalRegionBuilder_ == null) { if (identifiedObjectCase_ == 15) { return (com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion.getDefaultInstance(); } else { if (identifiedObjectCase_ == 15) { return subGeographicalRegionBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion subGeographicalRegion = 15; */ public Builder setSubGeographicalRegion(com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion value) { if (subGeographicalRegionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { subGeographicalRegionBuilder_.setMessage(value); } identifiedObjectCase_ = 15; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion subGeographicalRegion = 15; */ public Builder setSubGeographicalRegion( com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion.Builder builderForValue) { if (subGeographicalRegionBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { subGeographicalRegionBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 15; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion subGeographicalRegion = 15; */ public Builder mergeSubGeographicalRegion(com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion value) { if (subGeographicalRegionBuilder_ == null) { if (identifiedObjectCase_ == 15 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion.newBuilder((com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 15) { subGeographicalRegionBuilder_.mergeFrom(value); } else { subGeographicalRegionBuilder_.setMessage(value); } } identifiedObjectCase_ = 15; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion subGeographicalRegion = 15; */ public Builder clearSubGeographicalRegion() { if (subGeographicalRegionBuilder_ == null) { if (identifiedObjectCase_ == 15) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 15) { identifiedObjectCase_ = 0; identifiedObject_ = null; } subGeographicalRegionBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion subGeographicalRegion = 15; */ public com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion.Builder getSubGeographicalRegionBuilder() { return getSubGeographicalRegionFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion subGeographicalRegion = 15; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegionOrBuilder getSubGeographicalRegionOrBuilder() { if ((identifiedObjectCase_ == 15) && (subGeographicalRegionBuilder_ != null)) { return subGeographicalRegionBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 15) { return (com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion subGeographicalRegion = 15; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion, com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion.Builder, com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegionOrBuilder> getSubGeographicalRegionFieldBuilder() { if (subGeographicalRegionBuilder_ == null) { if (!(identifiedObjectCase_ == 15)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion.getDefaultInstance(); } subGeographicalRegionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion, com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion.Builder, com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegionOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.core.SubGeographicalRegion) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 15; onChanged(); return subGeographicalRegionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.Substation, com.zepben.protobuf.cim.iec61970.base.core.Substation.Builder, com.zepben.protobuf.cim.iec61970.base.core.SubstationOrBuilder> substationBuilder_; /** * .zepben.protobuf.cim.iec61970.base.core.Substation substation = 16; * @return Whether the substation field is set. */ @java.lang.Override public boolean hasSubstation() { return identifiedObjectCase_ == 16; } /** * .zepben.protobuf.cim.iec61970.base.core.Substation substation = 16; * @return The substation. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.Substation getSubstation() { if (substationBuilder_ == null) { if (identifiedObjectCase_ == 16) { return (com.zepben.protobuf.cim.iec61970.base.core.Substation) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Substation.getDefaultInstance(); } else { if (identifiedObjectCase_ == 16) { return substationBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.core.Substation.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.Substation substation = 16; */ public Builder setSubstation(com.zepben.protobuf.cim.iec61970.base.core.Substation value) { if (substationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { substationBuilder_.setMessage(value); } identifiedObjectCase_ = 16; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Substation substation = 16; */ public Builder setSubstation( com.zepben.protobuf.cim.iec61970.base.core.Substation.Builder builderForValue) { if (substationBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { substationBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 16; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Substation substation = 16; */ public Builder mergeSubstation(com.zepben.protobuf.cim.iec61970.base.core.Substation value) { if (substationBuilder_ == null) { if (identifiedObjectCase_ == 16 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.core.Substation.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.Substation.newBuilder((com.zepben.protobuf.cim.iec61970.base.core.Substation) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 16) { substationBuilder_.mergeFrom(value); } else { substationBuilder_.setMessage(value); } } identifiedObjectCase_ = 16; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Substation substation = 16; */ public Builder clearSubstation() { if (substationBuilder_ == null) { if (identifiedObjectCase_ == 16) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 16) { identifiedObjectCase_ = 0; identifiedObject_ = null; } substationBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Substation substation = 16; */ public com.zepben.protobuf.cim.iec61970.base.core.Substation.Builder getSubstationBuilder() { return getSubstationFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.core.Substation substation = 16; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.SubstationOrBuilder getSubstationOrBuilder() { if ((identifiedObjectCase_ == 16) && (substationBuilder_ != null)) { return substationBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 16) { return (com.zepben.protobuf.cim.iec61970.base.core.Substation) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Substation.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.Substation substation = 16; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.Substation, com.zepben.protobuf.cim.iec61970.base.core.Substation.Builder, com.zepben.protobuf.cim.iec61970.base.core.SubstationOrBuilder> getSubstationFieldBuilder() { if (substationBuilder_ == null) { if (!(identifiedObjectCase_ == 16)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.Substation.getDefaultInstance(); } substationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.Substation, com.zepben.protobuf.cim.iec61970.base.core.Substation.Builder, com.zepben.protobuf.cim.iec61970.base.core.SubstationOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.core.Substation) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 16; onChanged(); return substationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.Terminal, com.zepben.protobuf.cim.iec61970.base.core.Terminal.Builder, com.zepben.protobuf.cim.iec61970.base.core.TerminalOrBuilder> terminalBuilder_; /** * .zepben.protobuf.cim.iec61970.base.core.Terminal terminal = 17; * @return Whether the terminal field is set. */ @java.lang.Override public boolean hasTerminal() { return identifiedObjectCase_ == 17; } /** * .zepben.protobuf.cim.iec61970.base.core.Terminal terminal = 17; * @return The terminal. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.Terminal getTerminal() { if (terminalBuilder_ == null) { if (identifiedObjectCase_ == 17) { return (com.zepben.protobuf.cim.iec61970.base.core.Terminal) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Terminal.getDefaultInstance(); } else { if (identifiedObjectCase_ == 17) { return terminalBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.core.Terminal.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.Terminal terminal = 17; */ public Builder setTerminal(com.zepben.protobuf.cim.iec61970.base.core.Terminal value) { if (terminalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { terminalBuilder_.setMessage(value); } identifiedObjectCase_ = 17; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Terminal terminal = 17; */ public Builder setTerminal( com.zepben.protobuf.cim.iec61970.base.core.Terminal.Builder builderForValue) { if (terminalBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { terminalBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 17; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Terminal terminal = 17; */ public Builder mergeTerminal(com.zepben.protobuf.cim.iec61970.base.core.Terminal value) { if (terminalBuilder_ == null) { if (identifiedObjectCase_ == 17 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.core.Terminal.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.Terminal.newBuilder((com.zepben.protobuf.cim.iec61970.base.core.Terminal) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 17) { terminalBuilder_.mergeFrom(value); } else { terminalBuilder_.setMessage(value); } } identifiedObjectCase_ = 17; return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Terminal terminal = 17; */ public Builder clearTerminal() { if (terminalBuilder_ == null) { if (identifiedObjectCase_ == 17) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 17) { identifiedObjectCase_ = 0; identifiedObject_ = null; } terminalBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.core.Terminal terminal = 17; */ public com.zepben.protobuf.cim.iec61970.base.core.Terminal.Builder getTerminalBuilder() { return getTerminalFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.core.Terminal terminal = 17; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.core.TerminalOrBuilder getTerminalOrBuilder() { if ((identifiedObjectCase_ == 17) && (terminalBuilder_ != null)) { return terminalBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 17) { return (com.zepben.protobuf.cim.iec61970.base.core.Terminal) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.core.Terminal.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.core.Terminal terminal = 17; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.Terminal, com.zepben.protobuf.cim.iec61970.base.core.Terminal.Builder, com.zepben.protobuf.cim.iec61970.base.core.TerminalOrBuilder> getTerminalFieldBuilder() { if (terminalBuilder_ == null) { if (!(identifiedObjectCase_ == 17)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.core.Terminal.getDefaultInstance(); } terminalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.core.Terminal, com.zepben.protobuf.cim.iec61970.base.core.Terminal.Builder, com.zepben.protobuf.cim.iec61970.base.core.TerminalOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.core.Terminal) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 17; onChanged(); return terminalBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment, com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment.Builder, com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegmentOrBuilder> acLineSegmentBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.AcLineSegment acLineSegment = 18; * @return Whether the acLineSegment field is set. */ @java.lang.Override public boolean hasAcLineSegment() { return identifiedObjectCase_ == 18; } /** * .zepben.protobuf.cim.iec61970.base.wires.AcLineSegment acLineSegment = 18; * @return The acLineSegment. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment getAcLineSegment() { if (acLineSegmentBuilder_ == null) { if (identifiedObjectCase_ == 18) { return (com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment.getDefaultInstance(); } else { if (identifiedObjectCase_ == 18) { return acLineSegmentBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.AcLineSegment acLineSegment = 18; */ public Builder setAcLineSegment(com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment value) { if (acLineSegmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { acLineSegmentBuilder_.setMessage(value); } identifiedObjectCase_ = 18; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.AcLineSegment acLineSegment = 18; */ public Builder setAcLineSegment( com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment.Builder builderForValue) { if (acLineSegmentBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { acLineSegmentBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 18; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.AcLineSegment acLineSegment = 18; */ public Builder mergeAcLineSegment(com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment value) { if (acLineSegmentBuilder_ == null) { if (identifiedObjectCase_ == 18 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 18) { acLineSegmentBuilder_.mergeFrom(value); } else { acLineSegmentBuilder_.setMessage(value); } } identifiedObjectCase_ = 18; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.AcLineSegment acLineSegment = 18; */ public Builder clearAcLineSegment() { if (acLineSegmentBuilder_ == null) { if (identifiedObjectCase_ == 18) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 18) { identifiedObjectCase_ = 0; identifiedObject_ = null; } acLineSegmentBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.AcLineSegment acLineSegment = 18; */ public com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment.Builder getAcLineSegmentBuilder() { return getAcLineSegmentFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.AcLineSegment acLineSegment = 18; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegmentOrBuilder getAcLineSegmentOrBuilder() { if ((identifiedObjectCase_ == 18) && (acLineSegmentBuilder_ != null)) { return acLineSegmentBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 18) { return (com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.AcLineSegment acLineSegment = 18; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment, com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment.Builder, com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegmentOrBuilder> getAcLineSegmentFieldBuilder() { if (acLineSegmentBuilder_ == null) { if (!(identifiedObjectCase_ == 18)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment.getDefaultInstance(); } acLineSegmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment, com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment.Builder, com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegmentOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.AcLineSegment) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 18; onChanged(); return acLineSegmentBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Breaker, com.zepben.protobuf.cim.iec61970.base.wires.Breaker.Builder, com.zepben.protobuf.cim.iec61970.base.wires.BreakerOrBuilder> breakerBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.Breaker breaker = 19; * @return Whether the breaker field is set. */ @java.lang.Override public boolean hasBreaker() { return identifiedObjectCase_ == 19; } /** * .zepben.protobuf.cim.iec61970.base.wires.Breaker breaker = 19; * @return The breaker. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.Breaker getBreaker() { if (breakerBuilder_ == null) { if (identifiedObjectCase_ == 19) { return (com.zepben.protobuf.cim.iec61970.base.wires.Breaker) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Breaker.getDefaultInstance(); } else { if (identifiedObjectCase_ == 19) { return breakerBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.Breaker.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.Breaker breaker = 19; */ public Builder setBreaker(com.zepben.protobuf.cim.iec61970.base.wires.Breaker value) { if (breakerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { breakerBuilder_.setMessage(value); } identifiedObjectCase_ = 19; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Breaker breaker = 19; */ public Builder setBreaker( com.zepben.protobuf.cim.iec61970.base.wires.Breaker.Builder builderForValue) { if (breakerBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { breakerBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 19; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Breaker breaker = 19; */ public Builder mergeBreaker(com.zepben.protobuf.cim.iec61970.base.wires.Breaker value) { if (breakerBuilder_ == null) { if (identifiedObjectCase_ == 19 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.Breaker.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.Breaker.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.Breaker) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 19) { breakerBuilder_.mergeFrom(value); } else { breakerBuilder_.setMessage(value); } } identifiedObjectCase_ = 19; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Breaker breaker = 19; */ public Builder clearBreaker() { if (breakerBuilder_ == null) { if (identifiedObjectCase_ == 19) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 19) { identifiedObjectCase_ = 0; identifiedObject_ = null; } breakerBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Breaker breaker = 19; */ public com.zepben.protobuf.cim.iec61970.base.wires.Breaker.Builder getBreakerBuilder() { return getBreakerFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.Breaker breaker = 19; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.BreakerOrBuilder getBreakerOrBuilder() { if ((identifiedObjectCase_ == 19) && (breakerBuilder_ != null)) { return breakerBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 19) { return (com.zepben.protobuf.cim.iec61970.base.wires.Breaker) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Breaker.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.Breaker breaker = 19; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Breaker, com.zepben.protobuf.cim.iec61970.base.wires.Breaker.Builder, com.zepben.protobuf.cim.iec61970.base.wires.BreakerOrBuilder> getBreakerFieldBuilder() { if (breakerBuilder_ == null) { if (!(identifiedObjectCase_ == 19)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.Breaker.getDefaultInstance(); } breakerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Breaker, com.zepben.protobuf.cim.iec61970.base.wires.Breaker.Builder, com.zepben.protobuf.cim.iec61970.base.wires.BreakerOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.Breaker) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 19; onChanged(); return breakerBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Disconnector, com.zepben.protobuf.cim.iec61970.base.wires.Disconnector.Builder, com.zepben.protobuf.cim.iec61970.base.wires.DisconnectorOrBuilder> disconnectorBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.Disconnector disconnector = 20; * @return Whether the disconnector field is set. */ @java.lang.Override public boolean hasDisconnector() { return identifiedObjectCase_ == 20; } /** * .zepben.protobuf.cim.iec61970.base.wires.Disconnector disconnector = 20; * @return The disconnector. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.Disconnector getDisconnector() { if (disconnectorBuilder_ == null) { if (identifiedObjectCase_ == 20) { return (com.zepben.protobuf.cim.iec61970.base.wires.Disconnector) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Disconnector.getDefaultInstance(); } else { if (identifiedObjectCase_ == 20) { return disconnectorBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.Disconnector.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.Disconnector disconnector = 20; */ public Builder setDisconnector(com.zepben.protobuf.cim.iec61970.base.wires.Disconnector value) { if (disconnectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { disconnectorBuilder_.setMessage(value); } identifiedObjectCase_ = 20; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Disconnector disconnector = 20; */ public Builder setDisconnector( com.zepben.protobuf.cim.iec61970.base.wires.Disconnector.Builder builderForValue) { if (disconnectorBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { disconnectorBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 20; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Disconnector disconnector = 20; */ public Builder mergeDisconnector(com.zepben.protobuf.cim.iec61970.base.wires.Disconnector value) { if (disconnectorBuilder_ == null) { if (identifiedObjectCase_ == 20 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.Disconnector.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.Disconnector.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.Disconnector) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 20) { disconnectorBuilder_.mergeFrom(value); } else { disconnectorBuilder_.setMessage(value); } } identifiedObjectCase_ = 20; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Disconnector disconnector = 20; */ public Builder clearDisconnector() { if (disconnectorBuilder_ == null) { if (identifiedObjectCase_ == 20) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 20) { identifiedObjectCase_ = 0; identifiedObject_ = null; } disconnectorBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Disconnector disconnector = 20; */ public com.zepben.protobuf.cim.iec61970.base.wires.Disconnector.Builder getDisconnectorBuilder() { return getDisconnectorFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.Disconnector disconnector = 20; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.DisconnectorOrBuilder getDisconnectorOrBuilder() { if ((identifiedObjectCase_ == 20) && (disconnectorBuilder_ != null)) { return disconnectorBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 20) { return (com.zepben.protobuf.cim.iec61970.base.wires.Disconnector) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Disconnector.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.Disconnector disconnector = 20; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Disconnector, com.zepben.protobuf.cim.iec61970.base.wires.Disconnector.Builder, com.zepben.protobuf.cim.iec61970.base.wires.DisconnectorOrBuilder> getDisconnectorFieldBuilder() { if (disconnectorBuilder_ == null) { if (!(identifiedObjectCase_ == 20)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.Disconnector.getDefaultInstance(); } disconnectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Disconnector, com.zepben.protobuf.cim.iec61970.base.wires.Disconnector.Builder, com.zepben.protobuf.cim.iec61970.base.wires.DisconnectorOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.Disconnector) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 20; onChanged(); return disconnectorBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer, com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer.Builder, com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerOrBuilder> energyConsumerBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer energyConsumer = 21; * @return Whether the energyConsumer field is set. */ @java.lang.Override public boolean hasEnergyConsumer() { return identifiedObjectCase_ == 21; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer energyConsumer = 21; * @return The energyConsumer. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer getEnergyConsumer() { if (energyConsumerBuilder_ == null) { if (identifiedObjectCase_ == 21) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer.getDefaultInstance(); } else { if (identifiedObjectCase_ == 21) { return energyConsumerBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer energyConsumer = 21; */ public Builder setEnergyConsumer(com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer value) { if (energyConsumerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { energyConsumerBuilder_.setMessage(value); } identifiedObjectCase_ = 21; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer energyConsumer = 21; */ public Builder setEnergyConsumer( com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer.Builder builderForValue) { if (energyConsumerBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { energyConsumerBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 21; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer energyConsumer = 21; */ public Builder mergeEnergyConsumer(com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer value) { if (energyConsumerBuilder_ == null) { if (identifiedObjectCase_ == 21 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 21) { energyConsumerBuilder_.mergeFrom(value); } else { energyConsumerBuilder_.setMessage(value); } } identifiedObjectCase_ = 21; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer energyConsumer = 21; */ public Builder clearEnergyConsumer() { if (energyConsumerBuilder_ == null) { if (identifiedObjectCase_ == 21) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 21) { identifiedObjectCase_ = 0; identifiedObject_ = null; } energyConsumerBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer energyConsumer = 21; */ public com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer.Builder getEnergyConsumerBuilder() { return getEnergyConsumerFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer energyConsumer = 21; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerOrBuilder getEnergyConsumerOrBuilder() { if ((identifiedObjectCase_ == 21) && (energyConsumerBuilder_ != null)) { return energyConsumerBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 21) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer energyConsumer = 21; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer, com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer.Builder, com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerOrBuilder> getEnergyConsumerFieldBuilder() { if (energyConsumerBuilder_ == null) { if (!(identifiedObjectCase_ == 21)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer.getDefaultInstance(); } energyConsumerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer, com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer.Builder, com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumer) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 21; onChanged(); return energyConsumerBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase, com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase.Builder, com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhaseOrBuilder> energyConsumerPhaseBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase energyConsumerPhase = 22; * @return Whether the energyConsumerPhase field is set. */ @java.lang.Override public boolean hasEnergyConsumerPhase() { return identifiedObjectCase_ == 22; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase energyConsumerPhase = 22; * @return The energyConsumerPhase. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase getEnergyConsumerPhase() { if (energyConsumerPhaseBuilder_ == null) { if (identifiedObjectCase_ == 22) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase.getDefaultInstance(); } else { if (identifiedObjectCase_ == 22) { return energyConsumerPhaseBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase energyConsumerPhase = 22; */ public Builder setEnergyConsumerPhase(com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase value) { if (energyConsumerPhaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { energyConsumerPhaseBuilder_.setMessage(value); } identifiedObjectCase_ = 22; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase energyConsumerPhase = 22; */ public Builder setEnergyConsumerPhase( com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase.Builder builderForValue) { if (energyConsumerPhaseBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { energyConsumerPhaseBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 22; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase energyConsumerPhase = 22; */ public Builder mergeEnergyConsumerPhase(com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase value) { if (energyConsumerPhaseBuilder_ == null) { if (identifiedObjectCase_ == 22 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 22) { energyConsumerPhaseBuilder_.mergeFrom(value); } else { energyConsumerPhaseBuilder_.setMessage(value); } } identifiedObjectCase_ = 22; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase energyConsumerPhase = 22; */ public Builder clearEnergyConsumerPhase() { if (energyConsumerPhaseBuilder_ == null) { if (identifiedObjectCase_ == 22) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 22) { identifiedObjectCase_ = 0; identifiedObject_ = null; } energyConsumerPhaseBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase energyConsumerPhase = 22; */ public com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase.Builder getEnergyConsumerPhaseBuilder() { return getEnergyConsumerPhaseFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase energyConsumerPhase = 22; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhaseOrBuilder getEnergyConsumerPhaseOrBuilder() { if ((identifiedObjectCase_ == 22) && (energyConsumerPhaseBuilder_ != null)) { return energyConsumerPhaseBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 22) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase energyConsumerPhase = 22; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase, com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase.Builder, com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhaseOrBuilder> getEnergyConsumerPhaseFieldBuilder() { if (energyConsumerPhaseBuilder_ == null) { if (!(identifiedObjectCase_ == 22)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase.getDefaultInstance(); } energyConsumerPhaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase, com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase.Builder, com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhaseOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.EnergyConsumerPhase) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 22; onChanged(); return energyConsumerPhaseBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.EnergySource, com.zepben.protobuf.cim.iec61970.base.wires.EnergySource.Builder, com.zepben.protobuf.cim.iec61970.base.wires.EnergySourceOrBuilder> energySourceBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySource energySource = 23; * @return Whether the energySource field is set. */ @java.lang.Override public boolean hasEnergySource() { return identifiedObjectCase_ == 23; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySource energySource = 23; * @return The energySource. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergySource getEnergySource() { if (energySourceBuilder_ == null) { if (identifiedObjectCase_ == 23) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergySource) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergySource.getDefaultInstance(); } else { if (identifiedObjectCase_ == 23) { return energySourceBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.EnergySource.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySource energySource = 23; */ public Builder setEnergySource(com.zepben.protobuf.cim.iec61970.base.wires.EnergySource value) { if (energySourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { energySourceBuilder_.setMessage(value); } identifiedObjectCase_ = 23; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySource energySource = 23; */ public Builder setEnergySource( com.zepben.protobuf.cim.iec61970.base.wires.EnergySource.Builder builderForValue) { if (energySourceBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { energySourceBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 23; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySource energySource = 23; */ public Builder mergeEnergySource(com.zepben.protobuf.cim.iec61970.base.wires.EnergySource value) { if (energySourceBuilder_ == null) { if (identifiedObjectCase_ == 23 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.EnergySource.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.EnergySource.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.EnergySource) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 23) { energySourceBuilder_.mergeFrom(value); } else { energySourceBuilder_.setMessage(value); } } identifiedObjectCase_ = 23; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySource energySource = 23; */ public Builder clearEnergySource() { if (energySourceBuilder_ == null) { if (identifiedObjectCase_ == 23) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 23) { identifiedObjectCase_ = 0; identifiedObject_ = null; } energySourceBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySource energySource = 23; */ public com.zepben.protobuf.cim.iec61970.base.wires.EnergySource.Builder getEnergySourceBuilder() { return getEnergySourceFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySource energySource = 23; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergySourceOrBuilder getEnergySourceOrBuilder() { if ((identifiedObjectCase_ == 23) && (energySourceBuilder_ != null)) { return energySourceBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 23) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergySource) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergySource.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySource energySource = 23; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.EnergySource, com.zepben.protobuf.cim.iec61970.base.wires.EnergySource.Builder, com.zepben.protobuf.cim.iec61970.base.wires.EnergySourceOrBuilder> getEnergySourceFieldBuilder() { if (energySourceBuilder_ == null) { if (!(identifiedObjectCase_ == 23)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.EnergySource.getDefaultInstance(); } energySourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.EnergySource, com.zepben.protobuf.cim.iec61970.base.wires.EnergySource.Builder, com.zepben.protobuf.cim.iec61970.base.wires.EnergySourceOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.EnergySource) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 23; onChanged(); return energySourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase, com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase.Builder, com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhaseOrBuilder> energySourcePhaseBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase energySourcePhase = 24; * @return Whether the energySourcePhase field is set. */ @java.lang.Override public boolean hasEnergySourcePhase() { return identifiedObjectCase_ == 24; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase energySourcePhase = 24; * @return The energySourcePhase. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase getEnergySourcePhase() { if (energySourcePhaseBuilder_ == null) { if (identifiedObjectCase_ == 24) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase.getDefaultInstance(); } else { if (identifiedObjectCase_ == 24) { return energySourcePhaseBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase energySourcePhase = 24; */ public Builder setEnergySourcePhase(com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase value) { if (energySourcePhaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { energySourcePhaseBuilder_.setMessage(value); } identifiedObjectCase_ = 24; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase energySourcePhase = 24; */ public Builder setEnergySourcePhase( com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase.Builder builderForValue) { if (energySourcePhaseBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { energySourcePhaseBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 24; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase energySourcePhase = 24; */ public Builder mergeEnergySourcePhase(com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase value) { if (energySourcePhaseBuilder_ == null) { if (identifiedObjectCase_ == 24 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 24) { energySourcePhaseBuilder_.mergeFrom(value); } else { energySourcePhaseBuilder_.setMessage(value); } } identifiedObjectCase_ = 24; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase energySourcePhase = 24; */ public Builder clearEnergySourcePhase() { if (energySourcePhaseBuilder_ == null) { if (identifiedObjectCase_ == 24) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 24) { identifiedObjectCase_ = 0; identifiedObject_ = null; } energySourcePhaseBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase energySourcePhase = 24; */ public com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase.Builder getEnergySourcePhaseBuilder() { return getEnergySourcePhaseFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase energySourcePhase = 24; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhaseOrBuilder getEnergySourcePhaseOrBuilder() { if ((identifiedObjectCase_ == 24) && (energySourcePhaseBuilder_ != null)) { return energySourcePhaseBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 24) { return (com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase energySourcePhase = 24; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase, com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase.Builder, com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhaseOrBuilder> getEnergySourcePhaseFieldBuilder() { if (energySourcePhaseBuilder_ == null) { if (!(identifiedObjectCase_ == 24)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase.getDefaultInstance(); } energySourcePhaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase, com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase.Builder, com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhaseOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.EnergySourcePhase) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 24; onChanged(); return energySourcePhaseBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Fuse, com.zepben.protobuf.cim.iec61970.base.wires.Fuse.Builder, com.zepben.protobuf.cim.iec61970.base.wires.FuseOrBuilder> fuseBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.Fuse fuse = 25; * @return Whether the fuse field is set. */ @java.lang.Override public boolean hasFuse() { return identifiedObjectCase_ == 25; } /** * .zepben.protobuf.cim.iec61970.base.wires.Fuse fuse = 25; * @return The fuse. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.Fuse getFuse() { if (fuseBuilder_ == null) { if (identifiedObjectCase_ == 25) { return (com.zepben.protobuf.cim.iec61970.base.wires.Fuse) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Fuse.getDefaultInstance(); } else { if (identifiedObjectCase_ == 25) { return fuseBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.Fuse.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.Fuse fuse = 25; */ public Builder setFuse(com.zepben.protobuf.cim.iec61970.base.wires.Fuse value) { if (fuseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { fuseBuilder_.setMessage(value); } identifiedObjectCase_ = 25; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Fuse fuse = 25; */ public Builder setFuse( com.zepben.protobuf.cim.iec61970.base.wires.Fuse.Builder builderForValue) { if (fuseBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { fuseBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 25; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Fuse fuse = 25; */ public Builder mergeFuse(com.zepben.protobuf.cim.iec61970.base.wires.Fuse value) { if (fuseBuilder_ == null) { if (identifiedObjectCase_ == 25 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.Fuse.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.Fuse.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.Fuse) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 25) { fuseBuilder_.mergeFrom(value); } else { fuseBuilder_.setMessage(value); } } identifiedObjectCase_ = 25; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Fuse fuse = 25; */ public Builder clearFuse() { if (fuseBuilder_ == null) { if (identifiedObjectCase_ == 25) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 25) { identifiedObjectCase_ = 0; identifiedObject_ = null; } fuseBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Fuse fuse = 25; */ public com.zepben.protobuf.cim.iec61970.base.wires.Fuse.Builder getFuseBuilder() { return getFuseFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.Fuse fuse = 25; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.FuseOrBuilder getFuseOrBuilder() { if ((identifiedObjectCase_ == 25) && (fuseBuilder_ != null)) { return fuseBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 25) { return (com.zepben.protobuf.cim.iec61970.base.wires.Fuse) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Fuse.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.Fuse fuse = 25; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Fuse, com.zepben.protobuf.cim.iec61970.base.wires.Fuse.Builder, com.zepben.protobuf.cim.iec61970.base.wires.FuseOrBuilder> getFuseFieldBuilder() { if (fuseBuilder_ == null) { if (!(identifiedObjectCase_ == 25)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.Fuse.getDefaultInstance(); } fuseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Fuse, com.zepben.protobuf.cim.iec61970.base.wires.Fuse.Builder, com.zepben.protobuf.cim.iec61970.base.wires.FuseOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.Fuse) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 25; onChanged(); return fuseBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Jumper, com.zepben.protobuf.cim.iec61970.base.wires.Jumper.Builder, com.zepben.protobuf.cim.iec61970.base.wires.JumperOrBuilder> jumperBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.Jumper jumper = 26; * @return Whether the jumper field is set. */ @java.lang.Override public boolean hasJumper() { return identifiedObjectCase_ == 26; } /** * .zepben.protobuf.cim.iec61970.base.wires.Jumper jumper = 26; * @return The jumper. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.Jumper getJumper() { if (jumperBuilder_ == null) { if (identifiedObjectCase_ == 26) { return (com.zepben.protobuf.cim.iec61970.base.wires.Jumper) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Jumper.getDefaultInstance(); } else { if (identifiedObjectCase_ == 26) { return jumperBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.Jumper.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.Jumper jumper = 26; */ public Builder setJumper(com.zepben.protobuf.cim.iec61970.base.wires.Jumper value) { if (jumperBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { jumperBuilder_.setMessage(value); } identifiedObjectCase_ = 26; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Jumper jumper = 26; */ public Builder setJumper( com.zepben.protobuf.cim.iec61970.base.wires.Jumper.Builder builderForValue) { if (jumperBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { jumperBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 26; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Jumper jumper = 26; */ public Builder mergeJumper(com.zepben.protobuf.cim.iec61970.base.wires.Jumper value) { if (jumperBuilder_ == null) { if (identifiedObjectCase_ == 26 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.Jumper.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.Jumper.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.Jumper) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 26) { jumperBuilder_.mergeFrom(value); } else { jumperBuilder_.setMessage(value); } } identifiedObjectCase_ = 26; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Jumper jumper = 26; */ public Builder clearJumper() { if (jumperBuilder_ == null) { if (identifiedObjectCase_ == 26) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 26) { identifiedObjectCase_ = 0; identifiedObject_ = null; } jumperBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Jumper jumper = 26; */ public com.zepben.protobuf.cim.iec61970.base.wires.Jumper.Builder getJumperBuilder() { return getJumperFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.Jumper jumper = 26; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.JumperOrBuilder getJumperOrBuilder() { if ((identifiedObjectCase_ == 26) && (jumperBuilder_ != null)) { return jumperBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 26) { return (com.zepben.protobuf.cim.iec61970.base.wires.Jumper) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Jumper.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.Jumper jumper = 26; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Jumper, com.zepben.protobuf.cim.iec61970.base.wires.Jumper.Builder, com.zepben.protobuf.cim.iec61970.base.wires.JumperOrBuilder> getJumperFieldBuilder() { if (jumperBuilder_ == null) { if (!(identifiedObjectCase_ == 26)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.Jumper.getDefaultInstance(); } jumperBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Jumper, com.zepben.protobuf.cim.iec61970.base.wires.Jumper.Builder, com.zepben.protobuf.cim.iec61970.base.wires.JumperOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.Jumper) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 26; onChanged(); return jumperBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Junction, com.zepben.protobuf.cim.iec61970.base.wires.Junction.Builder, com.zepben.protobuf.cim.iec61970.base.wires.JunctionOrBuilder> junctionBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.Junction junction = 27; * @return Whether the junction field is set. */ @java.lang.Override public boolean hasJunction() { return identifiedObjectCase_ == 27; } /** * .zepben.protobuf.cim.iec61970.base.wires.Junction junction = 27; * @return The junction. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.Junction getJunction() { if (junctionBuilder_ == null) { if (identifiedObjectCase_ == 27) { return (com.zepben.protobuf.cim.iec61970.base.wires.Junction) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Junction.getDefaultInstance(); } else { if (identifiedObjectCase_ == 27) { return junctionBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.Junction.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.Junction junction = 27; */ public Builder setJunction(com.zepben.protobuf.cim.iec61970.base.wires.Junction value) { if (junctionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { junctionBuilder_.setMessage(value); } identifiedObjectCase_ = 27; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Junction junction = 27; */ public Builder setJunction( com.zepben.protobuf.cim.iec61970.base.wires.Junction.Builder builderForValue) { if (junctionBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { junctionBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 27; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Junction junction = 27; */ public Builder mergeJunction(com.zepben.protobuf.cim.iec61970.base.wires.Junction value) { if (junctionBuilder_ == null) { if (identifiedObjectCase_ == 27 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.Junction.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.Junction.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.Junction) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 27) { junctionBuilder_.mergeFrom(value); } else { junctionBuilder_.setMessage(value); } } identifiedObjectCase_ = 27; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Junction junction = 27; */ public Builder clearJunction() { if (junctionBuilder_ == null) { if (identifiedObjectCase_ == 27) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 27) { identifiedObjectCase_ = 0; identifiedObject_ = null; } junctionBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Junction junction = 27; */ public com.zepben.protobuf.cim.iec61970.base.wires.Junction.Builder getJunctionBuilder() { return getJunctionFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.Junction junction = 27; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.JunctionOrBuilder getJunctionOrBuilder() { if ((identifiedObjectCase_ == 27) && (junctionBuilder_ != null)) { return junctionBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 27) { return (com.zepben.protobuf.cim.iec61970.base.wires.Junction) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Junction.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.Junction junction = 27; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Junction, com.zepben.protobuf.cim.iec61970.base.wires.Junction.Builder, com.zepben.protobuf.cim.iec61970.base.wires.JunctionOrBuilder> getJunctionFieldBuilder() { if (junctionBuilder_ == null) { if (!(identifiedObjectCase_ == 27)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.Junction.getDefaultInstance(); } junctionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Junction, com.zepben.protobuf.cim.iec61970.base.wires.Junction.Builder, com.zepben.protobuf.cim.iec61970.base.wires.JunctionOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.Junction) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 27; onChanged(); return junctionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator, com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator.Builder, com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensatorOrBuilder> linearShuntCompensatorBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator linearShuntCompensator = 28; * @return Whether the linearShuntCompensator field is set. */ @java.lang.Override public boolean hasLinearShuntCompensator() { return identifiedObjectCase_ == 28; } /** * .zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator linearShuntCompensator = 28; * @return The linearShuntCompensator. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator getLinearShuntCompensator() { if (linearShuntCompensatorBuilder_ == null) { if (identifiedObjectCase_ == 28) { return (com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator.getDefaultInstance(); } else { if (identifiedObjectCase_ == 28) { return linearShuntCompensatorBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator linearShuntCompensator = 28; */ public Builder setLinearShuntCompensator(com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator value) { if (linearShuntCompensatorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { linearShuntCompensatorBuilder_.setMessage(value); } identifiedObjectCase_ = 28; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator linearShuntCompensator = 28; */ public Builder setLinearShuntCompensator( com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator.Builder builderForValue) { if (linearShuntCompensatorBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { linearShuntCompensatorBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 28; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator linearShuntCompensator = 28; */ public Builder mergeLinearShuntCompensator(com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator value) { if (linearShuntCompensatorBuilder_ == null) { if (identifiedObjectCase_ == 28 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 28) { linearShuntCompensatorBuilder_.mergeFrom(value); } else { linearShuntCompensatorBuilder_.setMessage(value); } } identifiedObjectCase_ = 28; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator linearShuntCompensator = 28; */ public Builder clearLinearShuntCompensator() { if (linearShuntCompensatorBuilder_ == null) { if (identifiedObjectCase_ == 28) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 28) { identifiedObjectCase_ = 0; identifiedObject_ = null; } linearShuntCompensatorBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator linearShuntCompensator = 28; */ public com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator.Builder getLinearShuntCompensatorBuilder() { return getLinearShuntCompensatorFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator linearShuntCompensator = 28; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensatorOrBuilder getLinearShuntCompensatorOrBuilder() { if ((identifiedObjectCase_ == 28) && (linearShuntCompensatorBuilder_ != null)) { return linearShuntCompensatorBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 28) { return (com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator linearShuntCompensator = 28; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator, com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator.Builder, com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensatorOrBuilder> getLinearShuntCompensatorFieldBuilder() { if (linearShuntCompensatorBuilder_ == null) { if (!(identifiedObjectCase_ == 28)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator.getDefaultInstance(); } linearShuntCompensatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator, com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator.Builder, com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensatorOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.LinearShuntCompensator) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 28; onChanged(); return linearShuntCompensatorBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance, com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedanceOrBuilder> perLengthSequenceImpedanceBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance perLengthSequenceImpedance = 29; * @return Whether the perLengthSequenceImpedance field is set. */ @java.lang.Override public boolean hasPerLengthSequenceImpedance() { return identifiedObjectCase_ == 29; } /** * .zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance perLengthSequenceImpedance = 29; * @return The perLengthSequenceImpedance. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance getPerLengthSequenceImpedance() { if (perLengthSequenceImpedanceBuilder_ == null) { if (identifiedObjectCase_ == 29) { return (com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance.getDefaultInstance(); } else { if (identifiedObjectCase_ == 29) { return perLengthSequenceImpedanceBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance perLengthSequenceImpedance = 29; */ public Builder setPerLengthSequenceImpedance(com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance value) { if (perLengthSequenceImpedanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { perLengthSequenceImpedanceBuilder_.setMessage(value); } identifiedObjectCase_ = 29; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance perLengthSequenceImpedance = 29; */ public Builder setPerLengthSequenceImpedance( com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance.Builder builderForValue) { if (perLengthSequenceImpedanceBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { perLengthSequenceImpedanceBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 29; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance perLengthSequenceImpedance = 29; */ public Builder mergePerLengthSequenceImpedance(com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance value) { if (perLengthSequenceImpedanceBuilder_ == null) { if (identifiedObjectCase_ == 29 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 29) { perLengthSequenceImpedanceBuilder_.mergeFrom(value); } else { perLengthSequenceImpedanceBuilder_.setMessage(value); } } identifiedObjectCase_ = 29; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance perLengthSequenceImpedance = 29; */ public Builder clearPerLengthSequenceImpedance() { if (perLengthSequenceImpedanceBuilder_ == null) { if (identifiedObjectCase_ == 29) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 29) { identifiedObjectCase_ = 0; identifiedObject_ = null; } perLengthSequenceImpedanceBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance perLengthSequenceImpedance = 29; */ public com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance.Builder getPerLengthSequenceImpedanceBuilder() { return getPerLengthSequenceImpedanceFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance perLengthSequenceImpedance = 29; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedanceOrBuilder getPerLengthSequenceImpedanceOrBuilder() { if ((identifiedObjectCase_ == 29) && (perLengthSequenceImpedanceBuilder_ != null)) { return perLengthSequenceImpedanceBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 29) { return (com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance perLengthSequenceImpedance = 29; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance, com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedanceOrBuilder> getPerLengthSequenceImpedanceFieldBuilder() { if (perLengthSequenceImpedanceBuilder_ == null) { if (!(identifiedObjectCase_ == 29)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance.getDefaultInstance(); } perLengthSequenceImpedanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance, com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedanceOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.PerLengthSequenceImpedance) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 29; onChanged(); return perLengthSequenceImpedanceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer, com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerOrBuilder> powerTransformerBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformer powerTransformer = 30; * @return Whether the powerTransformer field is set. */ @java.lang.Override public boolean hasPowerTransformer() { return identifiedObjectCase_ == 30; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformer powerTransformer = 30; * @return The powerTransformer. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer getPowerTransformer() { if (powerTransformerBuilder_ == null) { if (identifiedObjectCase_ == 30) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer.getDefaultInstance(); } else { if (identifiedObjectCase_ == 30) { return powerTransformerBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformer powerTransformer = 30; */ public Builder setPowerTransformer(com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer value) { if (powerTransformerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { powerTransformerBuilder_.setMessage(value); } identifiedObjectCase_ = 30; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformer powerTransformer = 30; */ public Builder setPowerTransformer( com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer.Builder builderForValue) { if (powerTransformerBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { powerTransformerBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 30; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformer powerTransformer = 30; */ public Builder mergePowerTransformer(com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer value) { if (powerTransformerBuilder_ == null) { if (identifiedObjectCase_ == 30 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 30) { powerTransformerBuilder_.mergeFrom(value); } else { powerTransformerBuilder_.setMessage(value); } } identifiedObjectCase_ = 30; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformer powerTransformer = 30; */ public Builder clearPowerTransformer() { if (powerTransformerBuilder_ == null) { if (identifiedObjectCase_ == 30) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 30) { identifiedObjectCase_ = 0; identifiedObject_ = null; } powerTransformerBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformer powerTransformer = 30; */ public com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer.Builder getPowerTransformerBuilder() { return getPowerTransformerFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformer powerTransformer = 30; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerOrBuilder getPowerTransformerOrBuilder() { if ((identifiedObjectCase_ == 30) && (powerTransformerBuilder_ != null)) { return powerTransformerBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 30) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformer powerTransformer = 30; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer, com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerOrBuilder> getPowerTransformerFieldBuilder() { if (powerTransformerBuilder_ == null) { if (!(identifiedObjectCase_ == 30)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer.getDefaultInstance(); } powerTransformerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer, com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformer) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 30; onChanged(); return powerTransformerBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd, com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEndOrBuilder> powerTransformerEndBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd powerTransformerEnd = 31; * @return Whether the powerTransformerEnd field is set. */ @java.lang.Override public boolean hasPowerTransformerEnd() { return identifiedObjectCase_ == 31; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd powerTransformerEnd = 31; * @return The powerTransformerEnd. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd getPowerTransformerEnd() { if (powerTransformerEndBuilder_ == null) { if (identifiedObjectCase_ == 31) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd.getDefaultInstance(); } else { if (identifiedObjectCase_ == 31) { return powerTransformerEndBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd powerTransformerEnd = 31; */ public Builder setPowerTransformerEnd(com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd value) { if (powerTransformerEndBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { powerTransformerEndBuilder_.setMessage(value); } identifiedObjectCase_ = 31; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd powerTransformerEnd = 31; */ public Builder setPowerTransformerEnd( com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd.Builder builderForValue) { if (powerTransformerEndBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { powerTransformerEndBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 31; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd powerTransformerEnd = 31; */ public Builder mergePowerTransformerEnd(com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd value) { if (powerTransformerEndBuilder_ == null) { if (identifiedObjectCase_ == 31 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 31) { powerTransformerEndBuilder_.mergeFrom(value); } else { powerTransformerEndBuilder_.setMessage(value); } } identifiedObjectCase_ = 31; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd powerTransformerEnd = 31; */ public Builder clearPowerTransformerEnd() { if (powerTransformerEndBuilder_ == null) { if (identifiedObjectCase_ == 31) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 31) { identifiedObjectCase_ = 0; identifiedObject_ = null; } powerTransformerEndBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd powerTransformerEnd = 31; */ public com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd.Builder getPowerTransformerEndBuilder() { return getPowerTransformerEndFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd powerTransformerEnd = 31; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEndOrBuilder getPowerTransformerEndOrBuilder() { if ((identifiedObjectCase_ == 31) && (powerTransformerEndBuilder_ != null)) { return powerTransformerEndBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 31) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd powerTransformerEnd = 31; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd, com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEndOrBuilder> getPowerTransformerEndFieldBuilder() { if (powerTransformerEndBuilder_ == null) { if (!(identifiedObjectCase_ == 31)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd.getDefaultInstance(); } powerTransformerEndBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd, com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEndOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.PowerTransformerEnd) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 31; onChanged(); return powerTransformerEndBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger, com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger.Builder, com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChangerOrBuilder> ratioTapChangerBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger ratioTapChanger = 32; * @return Whether the ratioTapChanger field is set. */ @java.lang.Override public boolean hasRatioTapChanger() { return identifiedObjectCase_ == 32; } /** * .zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger ratioTapChanger = 32; * @return The ratioTapChanger. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger getRatioTapChanger() { if (ratioTapChangerBuilder_ == null) { if (identifiedObjectCase_ == 32) { return (com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger.getDefaultInstance(); } else { if (identifiedObjectCase_ == 32) { return ratioTapChangerBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger ratioTapChanger = 32; */ public Builder setRatioTapChanger(com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger value) { if (ratioTapChangerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { ratioTapChangerBuilder_.setMessage(value); } identifiedObjectCase_ = 32; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger ratioTapChanger = 32; */ public Builder setRatioTapChanger( com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger.Builder builderForValue) { if (ratioTapChangerBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { ratioTapChangerBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 32; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger ratioTapChanger = 32; */ public Builder mergeRatioTapChanger(com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger value) { if (ratioTapChangerBuilder_ == null) { if (identifiedObjectCase_ == 32 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 32) { ratioTapChangerBuilder_.mergeFrom(value); } else { ratioTapChangerBuilder_.setMessage(value); } } identifiedObjectCase_ = 32; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger ratioTapChanger = 32; */ public Builder clearRatioTapChanger() { if (ratioTapChangerBuilder_ == null) { if (identifiedObjectCase_ == 32) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 32) { identifiedObjectCase_ = 0; identifiedObject_ = null; } ratioTapChangerBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger ratioTapChanger = 32; */ public com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger.Builder getRatioTapChangerBuilder() { return getRatioTapChangerFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger ratioTapChanger = 32; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChangerOrBuilder getRatioTapChangerOrBuilder() { if ((identifiedObjectCase_ == 32) && (ratioTapChangerBuilder_ != null)) { return ratioTapChangerBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 32) { return (com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger ratioTapChanger = 32; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger, com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger.Builder, com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChangerOrBuilder> getRatioTapChangerFieldBuilder() { if (ratioTapChangerBuilder_ == null) { if (!(identifiedObjectCase_ == 32)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger.getDefaultInstance(); } ratioTapChangerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger, com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger.Builder, com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChangerOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.RatioTapChanger) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 32; onChanged(); return ratioTapChangerBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Recloser, com.zepben.protobuf.cim.iec61970.base.wires.Recloser.Builder, com.zepben.protobuf.cim.iec61970.base.wires.RecloserOrBuilder> recloserBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.Recloser recloser = 33; * @return Whether the recloser field is set. */ @java.lang.Override public boolean hasRecloser() { return identifiedObjectCase_ == 33; } /** * .zepben.protobuf.cim.iec61970.base.wires.Recloser recloser = 33; * @return The recloser. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.Recloser getRecloser() { if (recloserBuilder_ == null) { if (identifiedObjectCase_ == 33) { return (com.zepben.protobuf.cim.iec61970.base.wires.Recloser) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Recloser.getDefaultInstance(); } else { if (identifiedObjectCase_ == 33) { return recloserBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.Recloser.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.Recloser recloser = 33; */ public Builder setRecloser(com.zepben.protobuf.cim.iec61970.base.wires.Recloser value) { if (recloserBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { recloserBuilder_.setMessage(value); } identifiedObjectCase_ = 33; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Recloser recloser = 33; */ public Builder setRecloser( com.zepben.protobuf.cim.iec61970.base.wires.Recloser.Builder builderForValue) { if (recloserBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { recloserBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 33; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Recloser recloser = 33; */ public Builder mergeRecloser(com.zepben.protobuf.cim.iec61970.base.wires.Recloser value) { if (recloserBuilder_ == null) { if (identifiedObjectCase_ == 33 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.Recloser.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.Recloser.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.Recloser) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 33) { recloserBuilder_.mergeFrom(value); } else { recloserBuilder_.setMessage(value); } } identifiedObjectCase_ = 33; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Recloser recloser = 33; */ public Builder clearRecloser() { if (recloserBuilder_ == null) { if (identifiedObjectCase_ == 33) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 33) { identifiedObjectCase_ = 0; identifiedObject_ = null; } recloserBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Recloser recloser = 33; */ public com.zepben.protobuf.cim.iec61970.base.wires.Recloser.Builder getRecloserBuilder() { return getRecloserFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.Recloser recloser = 33; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.RecloserOrBuilder getRecloserOrBuilder() { if ((identifiedObjectCase_ == 33) && (recloserBuilder_ != null)) { return recloserBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 33) { return (com.zepben.protobuf.cim.iec61970.base.wires.Recloser) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Recloser.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.Recloser recloser = 33; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Recloser, com.zepben.protobuf.cim.iec61970.base.wires.Recloser.Builder, com.zepben.protobuf.cim.iec61970.base.wires.RecloserOrBuilder> getRecloserFieldBuilder() { if (recloserBuilder_ == null) { if (!(identifiedObjectCase_ == 33)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.Recloser.getDefaultInstance(); } recloserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Recloser, com.zepben.protobuf.cim.iec61970.base.wires.Recloser.Builder, com.zepben.protobuf.cim.iec61970.base.wires.RecloserOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.Recloser) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 33; onChanged(); return recloserBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit.Builder, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.CircuitOrBuilder> circuitBuilder_; /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit circuit = 34; * @return Whether the circuit field is set. */ @java.lang.Override public boolean hasCircuit() { return identifiedObjectCase_ == 34; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit circuit = 34; * @return The circuit. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit getCircuit() { if (circuitBuilder_ == null) { if (identifiedObjectCase_ == 34) { return (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit.getDefaultInstance(); } else { if (identifiedObjectCase_ == 34) { return circuitBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit circuit = 34; */ public Builder setCircuit(com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit value) { if (circuitBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { circuitBuilder_.setMessage(value); } identifiedObjectCase_ = 34; return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit circuit = 34; */ public Builder setCircuit( com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit.Builder builderForValue) { if (circuitBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { circuitBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 34; return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit circuit = 34; */ public Builder mergeCircuit(com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit value) { if (circuitBuilder_ == null) { if (identifiedObjectCase_ == 34 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit.newBuilder((com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 34) { circuitBuilder_.mergeFrom(value); } else { circuitBuilder_.setMessage(value); } } identifiedObjectCase_ = 34; return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit circuit = 34; */ public Builder clearCircuit() { if (circuitBuilder_ == null) { if (identifiedObjectCase_ == 34) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 34) { identifiedObjectCase_ = 0; identifiedObject_ = null; } circuitBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit circuit = 34; */ public com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit.Builder getCircuitBuilder() { return getCircuitFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit circuit = 34; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.feeder.CircuitOrBuilder getCircuitOrBuilder() { if ((identifiedObjectCase_ == 34) && (circuitBuilder_ != null)) { return circuitBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 34) { return (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit circuit = 34; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit.Builder, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.CircuitOrBuilder> getCircuitFieldBuilder() { if (circuitBuilder_ == null) { if (!(identifiedObjectCase_ == 34)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit.getDefaultInstance(); } circuitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit.Builder, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.CircuitOrBuilder>( (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Circuit) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 34; onChanged(); return circuitBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop.Builder, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LoopOrBuilder> loopBuilder_; /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop loop = 35; * @return Whether the loop field is set. */ @java.lang.Override public boolean hasLoop() { return identifiedObjectCase_ == 35; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop loop = 35; * @return The loop. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop getLoop() { if (loopBuilder_ == null) { if (identifiedObjectCase_ == 35) { return (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop.getDefaultInstance(); } else { if (identifiedObjectCase_ == 35) { return loopBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop loop = 35; */ public Builder setLoop(com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop value) { if (loopBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { loopBuilder_.setMessage(value); } identifiedObjectCase_ = 35; return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop loop = 35; */ public Builder setLoop( com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop.Builder builderForValue) { if (loopBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { loopBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 35; return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop loop = 35; */ public Builder mergeLoop(com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop value) { if (loopBuilder_ == null) { if (identifiedObjectCase_ == 35 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop.newBuilder((com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 35) { loopBuilder_.mergeFrom(value); } else { loopBuilder_.setMessage(value); } } identifiedObjectCase_ = 35; return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop loop = 35; */ public Builder clearLoop() { if (loopBuilder_ == null) { if (identifiedObjectCase_ == 35) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 35) { identifiedObjectCase_ = 0; identifiedObject_ = null; } loopBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop loop = 35; */ public com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop.Builder getLoopBuilder() { return getLoopFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop loop = 35; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LoopOrBuilder getLoopOrBuilder() { if ((identifiedObjectCase_ == 35) && (loopBuilder_ != null)) { return loopBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 35) { return (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop loop = 35; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop.Builder, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LoopOrBuilder> getLoopFieldBuilder() { if (loopBuilder_ == null) { if (!(identifiedObjectCase_ == 35)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop.getDefaultInstance(); } loopBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop.Builder, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LoopOrBuilder>( (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.Loop) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 35; onChanged(); return loopBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assets.Pole, com.zepben.protobuf.cim.iec61968.assets.Pole.Builder, com.zepben.protobuf.cim.iec61968.assets.PoleOrBuilder> poleBuilder_; /** * .zepben.protobuf.cim.iec61968.assets.Pole pole = 36; * @return Whether the pole field is set. */ @java.lang.Override public boolean hasPole() { return identifiedObjectCase_ == 36; } /** * .zepben.protobuf.cim.iec61968.assets.Pole pole = 36; * @return The pole. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assets.Pole getPole() { if (poleBuilder_ == null) { if (identifiedObjectCase_ == 36) { return (com.zepben.protobuf.cim.iec61968.assets.Pole) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assets.Pole.getDefaultInstance(); } else { if (identifiedObjectCase_ == 36) { return poleBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.assets.Pole.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assets.Pole pole = 36; */ public Builder setPole(com.zepben.protobuf.cim.iec61968.assets.Pole value) { if (poleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { poleBuilder_.setMessage(value); } identifiedObjectCase_ = 36; return this; } /** * .zepben.protobuf.cim.iec61968.assets.Pole pole = 36; */ public Builder setPole( com.zepben.protobuf.cim.iec61968.assets.Pole.Builder builderForValue) { if (poleBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { poleBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 36; return this; } /** * .zepben.protobuf.cim.iec61968.assets.Pole pole = 36; */ public Builder mergePole(com.zepben.protobuf.cim.iec61968.assets.Pole value) { if (poleBuilder_ == null) { if (identifiedObjectCase_ == 36 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.assets.Pole.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assets.Pole.newBuilder((com.zepben.protobuf.cim.iec61968.assets.Pole) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 36) { poleBuilder_.mergeFrom(value); } else { poleBuilder_.setMessage(value); } } identifiedObjectCase_ = 36; return this; } /** * .zepben.protobuf.cim.iec61968.assets.Pole pole = 36; */ public Builder clearPole() { if (poleBuilder_ == null) { if (identifiedObjectCase_ == 36) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 36) { identifiedObjectCase_ = 0; identifiedObject_ = null; } poleBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.assets.Pole pole = 36; */ public com.zepben.protobuf.cim.iec61968.assets.Pole.Builder getPoleBuilder() { return getPoleFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.assets.Pole pole = 36; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assets.PoleOrBuilder getPoleOrBuilder() { if ((identifiedObjectCase_ == 36) && (poleBuilder_ != null)) { return poleBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 36) { return (com.zepben.protobuf.cim.iec61968.assets.Pole) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assets.Pole.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assets.Pole pole = 36; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assets.Pole, com.zepben.protobuf.cim.iec61968.assets.Pole.Builder, com.zepben.protobuf.cim.iec61968.assets.PoleOrBuilder> getPoleFieldBuilder() { if (poleBuilder_ == null) { if (!(identifiedObjectCase_ == 36)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assets.Pole.getDefaultInstance(); } poleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assets.Pole, com.zepben.protobuf.cim.iec61968.assets.Pole.Builder, com.zepben.protobuf.cim.iec61968.assets.PoleOrBuilder>( (com.zepben.protobuf.cim.iec61968.assets.Pole) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 36; onChanged(); return poleBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assets.Streetlight, com.zepben.protobuf.cim.iec61968.assets.Streetlight.Builder, com.zepben.protobuf.cim.iec61968.assets.StreetlightOrBuilder> streetlightBuilder_; /** * .zepben.protobuf.cim.iec61968.assets.Streetlight streetlight = 37; * @return Whether the streetlight field is set. */ @java.lang.Override public boolean hasStreetlight() { return identifiedObjectCase_ == 37; } /** * .zepben.protobuf.cim.iec61968.assets.Streetlight streetlight = 37; * @return The streetlight. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assets.Streetlight getStreetlight() { if (streetlightBuilder_ == null) { if (identifiedObjectCase_ == 37) { return (com.zepben.protobuf.cim.iec61968.assets.Streetlight) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assets.Streetlight.getDefaultInstance(); } else { if (identifiedObjectCase_ == 37) { return streetlightBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.assets.Streetlight.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assets.Streetlight streetlight = 37; */ public Builder setStreetlight(com.zepben.protobuf.cim.iec61968.assets.Streetlight value) { if (streetlightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { streetlightBuilder_.setMessage(value); } identifiedObjectCase_ = 37; return this; } /** * .zepben.protobuf.cim.iec61968.assets.Streetlight streetlight = 37; */ public Builder setStreetlight( com.zepben.protobuf.cim.iec61968.assets.Streetlight.Builder builderForValue) { if (streetlightBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { streetlightBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 37; return this; } /** * .zepben.protobuf.cim.iec61968.assets.Streetlight streetlight = 37; */ public Builder mergeStreetlight(com.zepben.protobuf.cim.iec61968.assets.Streetlight value) { if (streetlightBuilder_ == null) { if (identifiedObjectCase_ == 37 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.assets.Streetlight.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assets.Streetlight.newBuilder((com.zepben.protobuf.cim.iec61968.assets.Streetlight) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 37) { streetlightBuilder_.mergeFrom(value); } else { streetlightBuilder_.setMessage(value); } } identifiedObjectCase_ = 37; return this; } /** * .zepben.protobuf.cim.iec61968.assets.Streetlight streetlight = 37; */ public Builder clearStreetlight() { if (streetlightBuilder_ == null) { if (identifiedObjectCase_ == 37) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 37) { identifiedObjectCase_ = 0; identifiedObject_ = null; } streetlightBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.assets.Streetlight streetlight = 37; */ public com.zepben.protobuf.cim.iec61968.assets.Streetlight.Builder getStreetlightBuilder() { return getStreetlightFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.assets.Streetlight streetlight = 37; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assets.StreetlightOrBuilder getStreetlightOrBuilder() { if ((identifiedObjectCase_ == 37) && (streetlightBuilder_ != null)) { return streetlightBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 37) { return (com.zepben.protobuf.cim.iec61968.assets.Streetlight) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assets.Streetlight.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assets.Streetlight streetlight = 37; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assets.Streetlight, com.zepben.protobuf.cim.iec61968.assets.Streetlight.Builder, com.zepben.protobuf.cim.iec61968.assets.StreetlightOrBuilder> getStreetlightFieldBuilder() { if (streetlightBuilder_ == null) { if (!(identifiedObjectCase_ == 37)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assets.Streetlight.getDefaultInstance(); } streetlightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assets.Streetlight, com.zepben.protobuf.cim.iec61968.assets.Streetlight.Builder, com.zepben.protobuf.cim.iec61968.assets.StreetlightOrBuilder>( (com.zepben.protobuf.cim.iec61968.assets.Streetlight) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 37; onChanged(); return streetlightBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.meas.Accumulator, com.zepben.protobuf.cim.iec61970.base.meas.Accumulator.Builder, com.zepben.protobuf.cim.iec61970.base.meas.AccumulatorOrBuilder> accumulatorBuilder_; /** * .zepben.protobuf.cim.iec61970.base.meas.Accumulator accumulator = 38; * @return Whether the accumulator field is set. */ @java.lang.Override public boolean hasAccumulator() { return identifiedObjectCase_ == 38; } /** * .zepben.protobuf.cim.iec61970.base.meas.Accumulator accumulator = 38; * @return The accumulator. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.Accumulator getAccumulator() { if (accumulatorBuilder_ == null) { if (identifiedObjectCase_ == 38) { return (com.zepben.protobuf.cim.iec61970.base.meas.Accumulator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Accumulator.getDefaultInstance(); } else { if (identifiedObjectCase_ == 38) { return accumulatorBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.meas.Accumulator.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.meas.Accumulator accumulator = 38; */ public Builder setAccumulator(com.zepben.protobuf.cim.iec61970.base.meas.Accumulator value) { if (accumulatorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { accumulatorBuilder_.setMessage(value); } identifiedObjectCase_ = 38; return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Accumulator accumulator = 38; */ public Builder setAccumulator( com.zepben.protobuf.cim.iec61970.base.meas.Accumulator.Builder builderForValue) { if (accumulatorBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { accumulatorBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 38; return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Accumulator accumulator = 38; */ public Builder mergeAccumulator(com.zepben.protobuf.cim.iec61970.base.meas.Accumulator value) { if (accumulatorBuilder_ == null) { if (identifiedObjectCase_ == 38 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.meas.Accumulator.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.meas.Accumulator.newBuilder((com.zepben.protobuf.cim.iec61970.base.meas.Accumulator) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 38) { accumulatorBuilder_.mergeFrom(value); } else { accumulatorBuilder_.setMessage(value); } } identifiedObjectCase_ = 38; return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Accumulator accumulator = 38; */ public Builder clearAccumulator() { if (accumulatorBuilder_ == null) { if (identifiedObjectCase_ == 38) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 38) { identifiedObjectCase_ = 0; identifiedObject_ = null; } accumulatorBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Accumulator accumulator = 38; */ public com.zepben.protobuf.cim.iec61970.base.meas.Accumulator.Builder getAccumulatorBuilder() { return getAccumulatorFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.meas.Accumulator accumulator = 38; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.AccumulatorOrBuilder getAccumulatorOrBuilder() { if ((identifiedObjectCase_ == 38) && (accumulatorBuilder_ != null)) { return accumulatorBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 38) { return (com.zepben.protobuf.cim.iec61970.base.meas.Accumulator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Accumulator.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.meas.Accumulator accumulator = 38; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.meas.Accumulator, com.zepben.protobuf.cim.iec61970.base.meas.Accumulator.Builder, com.zepben.protobuf.cim.iec61970.base.meas.AccumulatorOrBuilder> getAccumulatorFieldBuilder() { if (accumulatorBuilder_ == null) { if (!(identifiedObjectCase_ == 38)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.meas.Accumulator.getDefaultInstance(); } accumulatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.meas.Accumulator, com.zepben.protobuf.cim.iec61970.base.meas.Accumulator.Builder, com.zepben.protobuf.cim.iec61970.base.meas.AccumulatorOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.meas.Accumulator) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 38; onChanged(); return accumulatorBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.meas.Analog, com.zepben.protobuf.cim.iec61970.base.meas.Analog.Builder, com.zepben.protobuf.cim.iec61970.base.meas.AnalogOrBuilder> analogBuilder_; /** * .zepben.protobuf.cim.iec61970.base.meas.Analog analog = 39; * @return Whether the analog field is set. */ @java.lang.Override public boolean hasAnalog() { return identifiedObjectCase_ == 39; } /** * .zepben.protobuf.cim.iec61970.base.meas.Analog analog = 39; * @return The analog. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.Analog getAnalog() { if (analogBuilder_ == null) { if (identifiedObjectCase_ == 39) { return (com.zepben.protobuf.cim.iec61970.base.meas.Analog) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Analog.getDefaultInstance(); } else { if (identifiedObjectCase_ == 39) { return analogBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.meas.Analog.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.meas.Analog analog = 39; */ public Builder setAnalog(com.zepben.protobuf.cim.iec61970.base.meas.Analog value) { if (analogBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { analogBuilder_.setMessage(value); } identifiedObjectCase_ = 39; return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Analog analog = 39; */ public Builder setAnalog( com.zepben.protobuf.cim.iec61970.base.meas.Analog.Builder builderForValue) { if (analogBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { analogBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 39; return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Analog analog = 39; */ public Builder mergeAnalog(com.zepben.protobuf.cim.iec61970.base.meas.Analog value) { if (analogBuilder_ == null) { if (identifiedObjectCase_ == 39 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.meas.Analog.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.meas.Analog.newBuilder((com.zepben.protobuf.cim.iec61970.base.meas.Analog) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 39) { analogBuilder_.mergeFrom(value); } else { analogBuilder_.setMessage(value); } } identifiedObjectCase_ = 39; return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Analog analog = 39; */ public Builder clearAnalog() { if (analogBuilder_ == null) { if (identifiedObjectCase_ == 39) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 39) { identifiedObjectCase_ = 0; identifiedObject_ = null; } analogBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Analog analog = 39; */ public com.zepben.protobuf.cim.iec61970.base.meas.Analog.Builder getAnalogBuilder() { return getAnalogFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.meas.Analog analog = 39; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.AnalogOrBuilder getAnalogOrBuilder() { if ((identifiedObjectCase_ == 39) && (analogBuilder_ != null)) { return analogBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 39) { return (com.zepben.protobuf.cim.iec61970.base.meas.Analog) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Analog.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.meas.Analog analog = 39; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.meas.Analog, com.zepben.protobuf.cim.iec61970.base.meas.Analog.Builder, com.zepben.protobuf.cim.iec61970.base.meas.AnalogOrBuilder> getAnalogFieldBuilder() { if (analogBuilder_ == null) { if (!(identifiedObjectCase_ == 39)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.meas.Analog.getDefaultInstance(); } analogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.meas.Analog, com.zepben.protobuf.cim.iec61970.base.meas.Analog.Builder, com.zepben.protobuf.cim.iec61970.base.meas.AnalogOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.meas.Analog) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 39; onChanged(); return analogBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.meas.Discrete, com.zepben.protobuf.cim.iec61970.base.meas.Discrete.Builder, com.zepben.protobuf.cim.iec61970.base.meas.DiscreteOrBuilder> discreteBuilder_; /** * .zepben.protobuf.cim.iec61970.base.meas.Discrete discrete = 40; * @return Whether the discrete field is set. */ @java.lang.Override public boolean hasDiscrete() { return identifiedObjectCase_ == 40; } /** * .zepben.protobuf.cim.iec61970.base.meas.Discrete discrete = 40; * @return The discrete. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.Discrete getDiscrete() { if (discreteBuilder_ == null) { if (identifiedObjectCase_ == 40) { return (com.zepben.protobuf.cim.iec61970.base.meas.Discrete) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Discrete.getDefaultInstance(); } else { if (identifiedObjectCase_ == 40) { return discreteBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.meas.Discrete.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.meas.Discrete discrete = 40; */ public Builder setDiscrete(com.zepben.protobuf.cim.iec61970.base.meas.Discrete value) { if (discreteBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { discreteBuilder_.setMessage(value); } identifiedObjectCase_ = 40; return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Discrete discrete = 40; */ public Builder setDiscrete( com.zepben.protobuf.cim.iec61970.base.meas.Discrete.Builder builderForValue) { if (discreteBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { discreteBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 40; return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Discrete discrete = 40; */ public Builder mergeDiscrete(com.zepben.protobuf.cim.iec61970.base.meas.Discrete value) { if (discreteBuilder_ == null) { if (identifiedObjectCase_ == 40 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.meas.Discrete.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.meas.Discrete.newBuilder((com.zepben.protobuf.cim.iec61970.base.meas.Discrete) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 40) { discreteBuilder_.mergeFrom(value); } else { discreteBuilder_.setMessage(value); } } identifiedObjectCase_ = 40; return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Discrete discrete = 40; */ public Builder clearDiscrete() { if (discreteBuilder_ == null) { if (identifiedObjectCase_ == 40) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 40) { identifiedObjectCase_ = 0; identifiedObject_ = null; } discreteBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Discrete discrete = 40; */ public com.zepben.protobuf.cim.iec61970.base.meas.Discrete.Builder getDiscreteBuilder() { return getDiscreteFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.meas.Discrete discrete = 40; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.DiscreteOrBuilder getDiscreteOrBuilder() { if ((identifiedObjectCase_ == 40) && (discreteBuilder_ != null)) { return discreteBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 40) { return (com.zepben.protobuf.cim.iec61970.base.meas.Discrete) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Discrete.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.meas.Discrete discrete = 40; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.meas.Discrete, com.zepben.protobuf.cim.iec61970.base.meas.Discrete.Builder, com.zepben.protobuf.cim.iec61970.base.meas.DiscreteOrBuilder> getDiscreteFieldBuilder() { if (discreteBuilder_ == null) { if (!(identifiedObjectCase_ == 40)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.meas.Discrete.getDefaultInstance(); } discreteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.meas.Discrete, com.zepben.protobuf.cim.iec61970.base.meas.Discrete.Builder, com.zepben.protobuf.cim.iec61970.base.meas.DiscreteOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.meas.Discrete) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 40; onChanged(); return discreteBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.meas.Control, com.zepben.protobuf.cim.iec61970.base.meas.Control.Builder, com.zepben.protobuf.cim.iec61970.base.meas.ControlOrBuilder> controlBuilder_; /** * .zepben.protobuf.cim.iec61970.base.meas.Control control = 41; * @return Whether the control field is set. */ @java.lang.Override public boolean hasControl() { return identifiedObjectCase_ == 41; } /** * .zepben.protobuf.cim.iec61970.base.meas.Control control = 41; * @return The control. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.Control getControl() { if (controlBuilder_ == null) { if (identifiedObjectCase_ == 41) { return (com.zepben.protobuf.cim.iec61970.base.meas.Control) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Control.getDefaultInstance(); } else { if (identifiedObjectCase_ == 41) { return controlBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.meas.Control.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.meas.Control control = 41; */ public Builder setControl(com.zepben.protobuf.cim.iec61970.base.meas.Control value) { if (controlBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { controlBuilder_.setMessage(value); } identifiedObjectCase_ = 41; return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Control control = 41; */ public Builder setControl( com.zepben.protobuf.cim.iec61970.base.meas.Control.Builder builderForValue) { if (controlBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { controlBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 41; return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Control control = 41; */ public Builder mergeControl(com.zepben.protobuf.cim.iec61970.base.meas.Control value) { if (controlBuilder_ == null) { if (identifiedObjectCase_ == 41 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.meas.Control.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.meas.Control.newBuilder((com.zepben.protobuf.cim.iec61970.base.meas.Control) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 41) { controlBuilder_.mergeFrom(value); } else { controlBuilder_.setMessage(value); } } identifiedObjectCase_ = 41; return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Control control = 41; */ public Builder clearControl() { if (controlBuilder_ == null) { if (identifiedObjectCase_ == 41) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 41) { identifiedObjectCase_ = 0; identifiedObject_ = null; } controlBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.meas.Control control = 41; */ public com.zepben.protobuf.cim.iec61970.base.meas.Control.Builder getControlBuilder() { return getControlFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.meas.Control control = 41; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.meas.ControlOrBuilder getControlOrBuilder() { if ((identifiedObjectCase_ == 41) && (controlBuilder_ != null)) { return controlBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 41) { return (com.zepben.protobuf.cim.iec61970.base.meas.Control) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.meas.Control.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.meas.Control control = 41; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.meas.Control, com.zepben.protobuf.cim.iec61970.base.meas.Control.Builder, com.zepben.protobuf.cim.iec61970.base.meas.ControlOrBuilder> getControlFieldBuilder() { if (controlBuilder_ == null) { if (!(identifiedObjectCase_ == 41)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.meas.Control.getDefaultInstance(); } controlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.meas.Control, com.zepben.protobuf.cim.iec61970.base.meas.Control.Builder, com.zepben.protobuf.cim.iec61970.base.meas.ControlOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.meas.Control) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 41; onChanged(); return controlBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl, com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl.Builder, com.zepben.protobuf.cim.iec61970.base.scada.RemoteControlOrBuilder> remoteControlBuilder_; /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteControl remoteControl = 42; * @return Whether the remoteControl field is set. */ @java.lang.Override public boolean hasRemoteControl() { return identifiedObjectCase_ == 42; } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteControl remoteControl = 42; * @return The remoteControl. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl getRemoteControl() { if (remoteControlBuilder_ == null) { if (identifiedObjectCase_ == 42) { return (com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl.getDefaultInstance(); } else { if (identifiedObjectCase_ == 42) { return remoteControlBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteControl remoteControl = 42; */ public Builder setRemoteControl(com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl value) { if (remoteControlBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { remoteControlBuilder_.setMessage(value); } identifiedObjectCase_ = 42; return this; } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteControl remoteControl = 42; */ public Builder setRemoteControl( com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl.Builder builderForValue) { if (remoteControlBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { remoteControlBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 42; return this; } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteControl remoteControl = 42; */ public Builder mergeRemoteControl(com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl value) { if (remoteControlBuilder_ == null) { if (identifiedObjectCase_ == 42 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl.newBuilder((com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 42) { remoteControlBuilder_.mergeFrom(value); } else { remoteControlBuilder_.setMessage(value); } } identifiedObjectCase_ = 42; return this; } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteControl remoteControl = 42; */ public Builder clearRemoteControl() { if (remoteControlBuilder_ == null) { if (identifiedObjectCase_ == 42) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 42) { identifiedObjectCase_ = 0; identifiedObject_ = null; } remoteControlBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteControl remoteControl = 42; */ public com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl.Builder getRemoteControlBuilder() { return getRemoteControlFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteControl remoteControl = 42; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.scada.RemoteControlOrBuilder getRemoteControlOrBuilder() { if ((identifiedObjectCase_ == 42) && (remoteControlBuilder_ != null)) { return remoteControlBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 42) { return (com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteControl remoteControl = 42; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl, com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl.Builder, com.zepben.protobuf.cim.iec61970.base.scada.RemoteControlOrBuilder> getRemoteControlFieldBuilder() { if (remoteControlBuilder_ == null) { if (!(identifiedObjectCase_ == 42)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl.getDefaultInstance(); } remoteControlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl, com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl.Builder, com.zepben.protobuf.cim.iec61970.base.scada.RemoteControlOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.scada.RemoteControl) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 42; onChanged(); return remoteControlBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource, com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource.Builder, com.zepben.protobuf.cim.iec61970.base.scada.RemoteSourceOrBuilder> remoteSourceBuilder_; /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteSource remoteSource = 43; * @return Whether the remoteSource field is set. */ @java.lang.Override public boolean hasRemoteSource() { return identifiedObjectCase_ == 43; } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteSource remoteSource = 43; * @return The remoteSource. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource getRemoteSource() { if (remoteSourceBuilder_ == null) { if (identifiedObjectCase_ == 43) { return (com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource.getDefaultInstance(); } else { if (identifiedObjectCase_ == 43) { return remoteSourceBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteSource remoteSource = 43; */ public Builder setRemoteSource(com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource value) { if (remoteSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { remoteSourceBuilder_.setMessage(value); } identifiedObjectCase_ = 43; return this; } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteSource remoteSource = 43; */ public Builder setRemoteSource( com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource.Builder builderForValue) { if (remoteSourceBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { remoteSourceBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 43; return this; } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteSource remoteSource = 43; */ public Builder mergeRemoteSource(com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource value) { if (remoteSourceBuilder_ == null) { if (identifiedObjectCase_ == 43 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource.newBuilder((com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 43) { remoteSourceBuilder_.mergeFrom(value); } else { remoteSourceBuilder_.setMessage(value); } } identifiedObjectCase_ = 43; return this; } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteSource remoteSource = 43; */ public Builder clearRemoteSource() { if (remoteSourceBuilder_ == null) { if (identifiedObjectCase_ == 43) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 43) { identifiedObjectCase_ = 0; identifiedObject_ = null; } remoteSourceBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteSource remoteSource = 43; */ public com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource.Builder getRemoteSourceBuilder() { return getRemoteSourceFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteSource remoteSource = 43; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.scada.RemoteSourceOrBuilder getRemoteSourceOrBuilder() { if ((identifiedObjectCase_ == 43) && (remoteSourceBuilder_ != null)) { return remoteSourceBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 43) { return (com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.scada.RemoteSource remoteSource = 43; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource, com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource.Builder, com.zepben.protobuf.cim.iec61970.base.scada.RemoteSourceOrBuilder> getRemoteSourceFieldBuilder() { if (remoteSourceBuilder_ == null) { if (!(identifiedObjectCase_ == 43)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource.getDefaultInstance(); } remoteSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource, com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource.Builder, com.zepben.protobuf.cim.iec61970.base.scada.RemoteSourceOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.scada.RemoteSource) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 43; onChanged(); return remoteSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo, com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfoOrBuilder> powerTransformerInfoBuilder_; /** * .zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo powerTransformerInfo = 44; * @return Whether the powerTransformerInfo field is set. */ @java.lang.Override public boolean hasPowerTransformerInfo() { return identifiedObjectCase_ == 44; } /** * .zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo powerTransformerInfo = 44; * @return The powerTransformerInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo getPowerTransformerInfo() { if (powerTransformerInfoBuilder_ == null) { if (identifiedObjectCase_ == 44) { return (com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo.getDefaultInstance(); } else { if (identifiedObjectCase_ == 44) { return powerTransformerInfoBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo powerTransformerInfo = 44; */ public Builder setPowerTransformerInfo(com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo value) { if (powerTransformerInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { powerTransformerInfoBuilder_.setMessage(value); } identifiedObjectCase_ = 44; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo powerTransformerInfo = 44; */ public Builder setPowerTransformerInfo( com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo.Builder builderForValue) { if (powerTransformerInfoBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { powerTransformerInfoBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 44; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo powerTransformerInfo = 44; */ public Builder mergePowerTransformerInfo(com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo value) { if (powerTransformerInfoBuilder_ == null) { if (identifiedObjectCase_ == 44 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo.newBuilder((com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 44) { powerTransformerInfoBuilder_.mergeFrom(value); } else { powerTransformerInfoBuilder_.setMessage(value); } } identifiedObjectCase_ = 44; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo powerTransformerInfo = 44; */ public Builder clearPowerTransformerInfo() { if (powerTransformerInfoBuilder_ == null) { if (identifiedObjectCase_ == 44) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 44) { identifiedObjectCase_ = 0; identifiedObject_ = null; } powerTransformerInfoBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo powerTransformerInfo = 44; */ public com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo.Builder getPowerTransformerInfoBuilder() { return getPowerTransformerInfoFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo powerTransformerInfo = 44; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfoOrBuilder getPowerTransformerInfoOrBuilder() { if ((identifiedObjectCase_ == 44) && (powerTransformerInfoBuilder_ != null)) { return powerTransformerInfoBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 44) { return (com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo powerTransformerInfo = 44; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo, com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfoOrBuilder> getPowerTransformerInfoFieldBuilder() { if (powerTransformerInfoBuilder_ == null) { if (!(identifiedObjectCase_ == 44)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo.getDefaultInstance(); } powerTransformerInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo, com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfoOrBuilder>( (com.zepben.protobuf.cim.iec61968.assetinfo.PowerTransformerInfo) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 44; onChanged(); return powerTransformerInfoBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection, com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionOrBuilder> powerElectronicsConnectionBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection powerElectronicsConnection = 45; * @return Whether the powerElectronicsConnection field is set. */ @java.lang.Override public boolean hasPowerElectronicsConnection() { return identifiedObjectCase_ == 45; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection powerElectronicsConnection = 45; * @return The powerElectronicsConnection. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection getPowerElectronicsConnection() { if (powerElectronicsConnectionBuilder_ == null) { if (identifiedObjectCase_ == 45) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection.getDefaultInstance(); } else { if (identifiedObjectCase_ == 45) { return powerElectronicsConnectionBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection powerElectronicsConnection = 45; */ public Builder setPowerElectronicsConnection(com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection value) { if (powerElectronicsConnectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { powerElectronicsConnectionBuilder_.setMessage(value); } identifiedObjectCase_ = 45; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection powerElectronicsConnection = 45; */ public Builder setPowerElectronicsConnection( com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection.Builder builderForValue) { if (powerElectronicsConnectionBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { powerElectronicsConnectionBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 45; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection powerElectronicsConnection = 45; */ public Builder mergePowerElectronicsConnection(com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection value) { if (powerElectronicsConnectionBuilder_ == null) { if (identifiedObjectCase_ == 45 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 45) { powerElectronicsConnectionBuilder_.mergeFrom(value); } else { powerElectronicsConnectionBuilder_.setMessage(value); } } identifiedObjectCase_ = 45; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection powerElectronicsConnection = 45; */ public Builder clearPowerElectronicsConnection() { if (powerElectronicsConnectionBuilder_ == null) { if (identifiedObjectCase_ == 45) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 45) { identifiedObjectCase_ = 0; identifiedObject_ = null; } powerElectronicsConnectionBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection powerElectronicsConnection = 45; */ public com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection.Builder getPowerElectronicsConnectionBuilder() { return getPowerElectronicsConnectionFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection powerElectronicsConnection = 45; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionOrBuilder getPowerElectronicsConnectionOrBuilder() { if ((identifiedObjectCase_ == 45) && (powerElectronicsConnectionBuilder_ != null)) { return powerElectronicsConnectionBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 45) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection powerElectronicsConnection = 45; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection, com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionOrBuilder> getPowerElectronicsConnectionFieldBuilder() { if (powerElectronicsConnectionBuilder_ == null) { if (!(identifiedObjectCase_ == 45)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection.getDefaultInstance(); } powerElectronicsConnectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection, com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnection) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 45; onChanged(); return powerElectronicsConnectionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase, com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhaseOrBuilder> powerElectronicsConnectionPhaseBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase powerElectronicsConnectionPhase = 46; * @return Whether the powerElectronicsConnectionPhase field is set. */ @java.lang.Override public boolean hasPowerElectronicsConnectionPhase() { return identifiedObjectCase_ == 46; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase powerElectronicsConnectionPhase = 46; * @return The powerElectronicsConnectionPhase. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase getPowerElectronicsConnectionPhase() { if (powerElectronicsConnectionPhaseBuilder_ == null) { if (identifiedObjectCase_ == 46) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase.getDefaultInstance(); } else { if (identifiedObjectCase_ == 46) { return powerElectronicsConnectionPhaseBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase powerElectronicsConnectionPhase = 46; */ public Builder setPowerElectronicsConnectionPhase(com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase value) { if (powerElectronicsConnectionPhaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { powerElectronicsConnectionPhaseBuilder_.setMessage(value); } identifiedObjectCase_ = 46; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase powerElectronicsConnectionPhase = 46; */ public Builder setPowerElectronicsConnectionPhase( com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase.Builder builderForValue) { if (powerElectronicsConnectionPhaseBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { powerElectronicsConnectionPhaseBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 46; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase powerElectronicsConnectionPhase = 46; */ public Builder mergePowerElectronicsConnectionPhase(com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase value) { if (powerElectronicsConnectionPhaseBuilder_ == null) { if (identifiedObjectCase_ == 46 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 46) { powerElectronicsConnectionPhaseBuilder_.mergeFrom(value); } else { powerElectronicsConnectionPhaseBuilder_.setMessage(value); } } identifiedObjectCase_ = 46; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase powerElectronicsConnectionPhase = 46; */ public Builder clearPowerElectronicsConnectionPhase() { if (powerElectronicsConnectionPhaseBuilder_ == null) { if (identifiedObjectCase_ == 46) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 46) { identifiedObjectCase_ = 0; identifiedObject_ = null; } powerElectronicsConnectionPhaseBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase powerElectronicsConnectionPhase = 46; */ public com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase.Builder getPowerElectronicsConnectionPhaseBuilder() { return getPowerElectronicsConnectionPhaseFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase powerElectronicsConnectionPhase = 46; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhaseOrBuilder getPowerElectronicsConnectionPhaseOrBuilder() { if ((identifiedObjectCase_ == 46) && (powerElectronicsConnectionPhaseBuilder_ != null)) { return powerElectronicsConnectionPhaseBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 46) { return (com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase powerElectronicsConnectionPhase = 46; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase, com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhaseOrBuilder> getPowerElectronicsConnectionPhaseFieldBuilder() { if (powerElectronicsConnectionPhaseBuilder_ == null) { if (!(identifiedObjectCase_ == 46)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase.getDefaultInstance(); } powerElectronicsConnectionPhaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase, com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhaseOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.PowerElectronicsConnectionPhase) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 46; onChanged(); return powerElectronicsConnectionPhaseBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit.Builder, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnitOrBuilder> batteryUnitBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit batteryUnit = 47; * @return Whether the batteryUnit field is set. */ @java.lang.Override public boolean hasBatteryUnit() { return identifiedObjectCase_ == 47; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit batteryUnit = 47; * @return The batteryUnit. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit getBatteryUnit() { if (batteryUnitBuilder_ == null) { if (identifiedObjectCase_ == 47) { return (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit.getDefaultInstance(); } else { if (identifiedObjectCase_ == 47) { return batteryUnitBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit batteryUnit = 47; */ public Builder setBatteryUnit(com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit value) { if (batteryUnitBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { batteryUnitBuilder_.setMessage(value); } identifiedObjectCase_ = 47; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit batteryUnit = 47; */ public Builder setBatteryUnit( com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit.Builder builderForValue) { if (batteryUnitBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { batteryUnitBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 47; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit batteryUnit = 47; */ public Builder mergeBatteryUnit(com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit value) { if (batteryUnitBuilder_ == null) { if (identifiedObjectCase_ == 47 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 47) { batteryUnitBuilder_.mergeFrom(value); } else { batteryUnitBuilder_.setMessage(value); } } identifiedObjectCase_ = 47; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit batteryUnit = 47; */ public Builder clearBatteryUnit() { if (batteryUnitBuilder_ == null) { if (identifiedObjectCase_ == 47) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 47) { identifiedObjectCase_ = 0; identifiedObject_ = null; } batteryUnitBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit batteryUnit = 47; */ public com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit.Builder getBatteryUnitBuilder() { return getBatteryUnitFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit batteryUnit = 47; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnitOrBuilder getBatteryUnitOrBuilder() { if ((identifiedObjectCase_ == 47) && (batteryUnitBuilder_ != null)) { return batteryUnitBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 47) { return (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit batteryUnit = 47; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit.Builder, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnitOrBuilder> getBatteryUnitFieldBuilder() { if (batteryUnitBuilder_ == null) { if (!(identifiedObjectCase_ == 47)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit.getDefaultInstance(); } batteryUnitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit.Builder, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnitOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.BatteryUnit) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 47; onChanged(); return batteryUnitBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit.Builder, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnitOrBuilder> photoVoltaicUnitBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit photoVoltaicUnit = 48; * @return Whether the photoVoltaicUnit field is set. */ @java.lang.Override public boolean hasPhotoVoltaicUnit() { return identifiedObjectCase_ == 48; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit photoVoltaicUnit = 48; * @return The photoVoltaicUnit. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit getPhotoVoltaicUnit() { if (photoVoltaicUnitBuilder_ == null) { if (identifiedObjectCase_ == 48) { return (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit.getDefaultInstance(); } else { if (identifiedObjectCase_ == 48) { return photoVoltaicUnitBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit photoVoltaicUnit = 48; */ public Builder setPhotoVoltaicUnit(com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit value) { if (photoVoltaicUnitBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { photoVoltaicUnitBuilder_.setMessage(value); } identifiedObjectCase_ = 48; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit photoVoltaicUnit = 48; */ public Builder setPhotoVoltaicUnit( com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit.Builder builderForValue) { if (photoVoltaicUnitBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { photoVoltaicUnitBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 48; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit photoVoltaicUnit = 48; */ public Builder mergePhotoVoltaicUnit(com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit value) { if (photoVoltaicUnitBuilder_ == null) { if (identifiedObjectCase_ == 48 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 48) { photoVoltaicUnitBuilder_.mergeFrom(value); } else { photoVoltaicUnitBuilder_.setMessage(value); } } identifiedObjectCase_ = 48; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit photoVoltaicUnit = 48; */ public Builder clearPhotoVoltaicUnit() { if (photoVoltaicUnitBuilder_ == null) { if (identifiedObjectCase_ == 48) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 48) { identifiedObjectCase_ = 0; identifiedObject_ = null; } photoVoltaicUnitBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit photoVoltaicUnit = 48; */ public com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit.Builder getPhotoVoltaicUnitBuilder() { return getPhotoVoltaicUnitFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit photoVoltaicUnit = 48; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnitOrBuilder getPhotoVoltaicUnitOrBuilder() { if ((identifiedObjectCase_ == 48) && (photoVoltaicUnitBuilder_ != null)) { return photoVoltaicUnitBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 48) { return (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit photoVoltaicUnit = 48; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit.Builder, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnitOrBuilder> getPhotoVoltaicUnitFieldBuilder() { if (photoVoltaicUnitBuilder_ == null) { if (!(identifiedObjectCase_ == 48)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit.getDefaultInstance(); } photoVoltaicUnitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit.Builder, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnitOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PhotoVoltaicUnit) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 48; onChanged(); return photoVoltaicUnitBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit.Builder, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnitOrBuilder> powerElectronicsWindUnitBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit powerElectronicsWindUnit = 49; * @return Whether the powerElectronicsWindUnit field is set. */ @java.lang.Override public boolean hasPowerElectronicsWindUnit() { return identifiedObjectCase_ == 49; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit powerElectronicsWindUnit = 49; * @return The powerElectronicsWindUnit. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit getPowerElectronicsWindUnit() { if (powerElectronicsWindUnitBuilder_ == null) { if (identifiedObjectCase_ == 49) { return (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit.getDefaultInstance(); } else { if (identifiedObjectCase_ == 49) { return powerElectronicsWindUnitBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit powerElectronicsWindUnit = 49; */ public Builder setPowerElectronicsWindUnit(com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit value) { if (powerElectronicsWindUnitBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { powerElectronicsWindUnitBuilder_.setMessage(value); } identifiedObjectCase_ = 49; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit powerElectronicsWindUnit = 49; */ public Builder setPowerElectronicsWindUnit( com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit.Builder builderForValue) { if (powerElectronicsWindUnitBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { powerElectronicsWindUnitBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 49; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit powerElectronicsWindUnit = 49; */ public Builder mergePowerElectronicsWindUnit(com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit value) { if (powerElectronicsWindUnitBuilder_ == null) { if (identifiedObjectCase_ == 49 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 49) { powerElectronicsWindUnitBuilder_.mergeFrom(value); } else { powerElectronicsWindUnitBuilder_.setMessage(value); } } identifiedObjectCase_ = 49; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit powerElectronicsWindUnit = 49; */ public Builder clearPowerElectronicsWindUnit() { if (powerElectronicsWindUnitBuilder_ == null) { if (identifiedObjectCase_ == 49) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 49) { identifiedObjectCase_ = 0; identifiedObject_ = null; } powerElectronicsWindUnitBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit powerElectronicsWindUnit = 49; */ public com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit.Builder getPowerElectronicsWindUnitBuilder() { return getPowerElectronicsWindUnitFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit powerElectronicsWindUnit = 49; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnitOrBuilder getPowerElectronicsWindUnitOrBuilder() { if ((identifiedObjectCase_ == 49) && (powerElectronicsWindUnitBuilder_ != null)) { return powerElectronicsWindUnitBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 49) { return (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit powerElectronicsWindUnit = 49; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit.Builder, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnitOrBuilder> getPowerElectronicsWindUnitFieldBuilder() { if (powerElectronicsWindUnitBuilder_ == null) { if (!(identifiedObjectCase_ == 49)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit.getDefaultInstance(); } powerElectronicsWindUnitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit.Builder, com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnitOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.generation.production.PowerElectronicsWindUnit) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 49; onChanged(); return powerElectronicsWindUnitBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection, com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection.Builder, com.zepben.protobuf.cim.iec61970.base.wires.BusbarSectionOrBuilder> busbarSectionBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.BusbarSection busbarSection = 50; * @return Whether the busbarSection field is set. */ @java.lang.Override public boolean hasBusbarSection() { return identifiedObjectCase_ == 50; } /** * .zepben.protobuf.cim.iec61970.base.wires.BusbarSection busbarSection = 50; * @return The busbarSection. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection getBusbarSection() { if (busbarSectionBuilder_ == null) { if (identifiedObjectCase_ == 50) { return (com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection.getDefaultInstance(); } else { if (identifiedObjectCase_ == 50) { return busbarSectionBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.BusbarSection busbarSection = 50; */ public Builder setBusbarSection(com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection value) { if (busbarSectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { busbarSectionBuilder_.setMessage(value); } identifiedObjectCase_ = 50; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.BusbarSection busbarSection = 50; */ public Builder setBusbarSection( com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection.Builder builderForValue) { if (busbarSectionBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { busbarSectionBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 50; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.BusbarSection busbarSection = 50; */ public Builder mergeBusbarSection(com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection value) { if (busbarSectionBuilder_ == null) { if (identifiedObjectCase_ == 50 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 50) { busbarSectionBuilder_.mergeFrom(value); } else { busbarSectionBuilder_.setMessage(value); } } identifiedObjectCase_ = 50; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.BusbarSection busbarSection = 50; */ public Builder clearBusbarSection() { if (busbarSectionBuilder_ == null) { if (identifiedObjectCase_ == 50) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 50) { identifiedObjectCase_ = 0; identifiedObject_ = null; } busbarSectionBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.BusbarSection busbarSection = 50; */ public com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection.Builder getBusbarSectionBuilder() { return getBusbarSectionFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.BusbarSection busbarSection = 50; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.BusbarSectionOrBuilder getBusbarSectionOrBuilder() { if ((identifiedObjectCase_ == 50) && (busbarSectionBuilder_ != null)) { return busbarSectionBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 50) { return (com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.BusbarSection busbarSection = 50; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection, com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection.Builder, com.zepben.protobuf.cim.iec61970.base.wires.BusbarSectionOrBuilder> getBusbarSectionFieldBuilder() { if (busbarSectionBuilder_ == null) { if (!(identifiedObjectCase_ == 50)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection.getDefaultInstance(); } busbarSectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection, com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection.Builder, com.zepben.protobuf.cim.iec61970.base.wires.BusbarSectionOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.BusbarSection) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 50; onChanged(); return busbarSectionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch, com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch.Builder, com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitchOrBuilder> loadBreakSwitchBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch loadBreakSwitch = 51; * @return Whether the loadBreakSwitch field is set. */ @java.lang.Override public boolean hasLoadBreakSwitch() { return identifiedObjectCase_ == 51; } /** * .zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch loadBreakSwitch = 51; * @return The loadBreakSwitch. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch getLoadBreakSwitch() { if (loadBreakSwitchBuilder_ == null) { if (identifiedObjectCase_ == 51) { return (com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch.getDefaultInstance(); } else { if (identifiedObjectCase_ == 51) { return loadBreakSwitchBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch loadBreakSwitch = 51; */ public Builder setLoadBreakSwitch(com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch value) { if (loadBreakSwitchBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { loadBreakSwitchBuilder_.setMessage(value); } identifiedObjectCase_ = 51; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch loadBreakSwitch = 51; */ public Builder setLoadBreakSwitch( com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch.Builder builderForValue) { if (loadBreakSwitchBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { loadBreakSwitchBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 51; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch loadBreakSwitch = 51; */ public Builder mergeLoadBreakSwitch(com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch value) { if (loadBreakSwitchBuilder_ == null) { if (identifiedObjectCase_ == 51 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 51) { loadBreakSwitchBuilder_.mergeFrom(value); } else { loadBreakSwitchBuilder_.setMessage(value); } } identifiedObjectCase_ = 51; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch loadBreakSwitch = 51; */ public Builder clearLoadBreakSwitch() { if (loadBreakSwitchBuilder_ == null) { if (identifiedObjectCase_ == 51) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 51) { identifiedObjectCase_ = 0; identifiedObject_ = null; } loadBreakSwitchBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch loadBreakSwitch = 51; */ public com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch.Builder getLoadBreakSwitchBuilder() { return getLoadBreakSwitchFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch loadBreakSwitch = 51; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitchOrBuilder getLoadBreakSwitchOrBuilder() { if ((identifiedObjectCase_ == 51) && (loadBreakSwitchBuilder_ != null)) { return loadBreakSwitchBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 51) { return (com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch loadBreakSwitch = 51; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch, com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch.Builder, com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitchOrBuilder> getLoadBreakSwitchFieldBuilder() { if (loadBreakSwitchBuilder_ == null) { if (!(identifiedObjectCase_ == 51)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch.getDefaultInstance(); } loadBreakSwitchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch, com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch.Builder, com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitchOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.LoadBreakSwitch) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 51; onChanged(); return loadBreakSwitchBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance, com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance.Builder, com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedanceOrBuilder> transformerStarImpedanceBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance transformerStarImpedance = 52; * @return Whether the transformerStarImpedance field is set. */ @java.lang.Override public boolean hasTransformerStarImpedance() { return identifiedObjectCase_ == 52; } /** * .zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance transformerStarImpedance = 52; * @return The transformerStarImpedance. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance getTransformerStarImpedance() { if (transformerStarImpedanceBuilder_ == null) { if (identifiedObjectCase_ == 52) { return (com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance.getDefaultInstance(); } else { if (identifiedObjectCase_ == 52) { return transformerStarImpedanceBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance transformerStarImpedance = 52; */ public Builder setTransformerStarImpedance(com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance value) { if (transformerStarImpedanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { transformerStarImpedanceBuilder_.setMessage(value); } identifiedObjectCase_ = 52; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance transformerStarImpedance = 52; */ public Builder setTransformerStarImpedance( com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance.Builder builderForValue) { if (transformerStarImpedanceBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { transformerStarImpedanceBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 52; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance transformerStarImpedance = 52; */ public Builder mergeTransformerStarImpedance(com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance value) { if (transformerStarImpedanceBuilder_ == null) { if (identifiedObjectCase_ == 52 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 52) { transformerStarImpedanceBuilder_.mergeFrom(value); } else { transformerStarImpedanceBuilder_.setMessage(value); } } identifiedObjectCase_ = 52; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance transformerStarImpedance = 52; */ public Builder clearTransformerStarImpedance() { if (transformerStarImpedanceBuilder_ == null) { if (identifiedObjectCase_ == 52) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 52) { identifiedObjectCase_ = 0; identifiedObject_ = null; } transformerStarImpedanceBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance transformerStarImpedance = 52; */ public com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance.Builder getTransformerStarImpedanceBuilder() { return getTransformerStarImpedanceFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance transformerStarImpedance = 52; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedanceOrBuilder getTransformerStarImpedanceOrBuilder() { if ((identifiedObjectCase_ == 52) && (transformerStarImpedanceBuilder_ != null)) { return transformerStarImpedanceBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 52) { return (com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance transformerStarImpedance = 52; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance, com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance.Builder, com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedanceOrBuilder> getTransformerStarImpedanceFieldBuilder() { if (transformerStarImpedanceBuilder_ == null) { if (!(identifiedObjectCase_ == 52)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance.getDefaultInstance(); } transformerStarImpedanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance, com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance.Builder, com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedanceOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.TransformerStarImpedance) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 52; onChanged(); return transformerStarImpedanceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfoOrBuilder> transformerEndInfoBuilder_; /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo transformerEndInfo = 53; * @return Whether the transformerEndInfo field is set. */ @java.lang.Override public boolean hasTransformerEndInfo() { return identifiedObjectCase_ == 53; } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo transformerEndInfo = 53; * @return The transformerEndInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo getTransformerEndInfo() { if (transformerEndInfoBuilder_ == null) { if (identifiedObjectCase_ == 53) { return (com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.getDefaultInstance(); } else { if (identifiedObjectCase_ == 53) { return transformerEndInfoBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo transformerEndInfo = 53; */ public Builder setTransformerEndInfo(com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo value) { if (transformerEndInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { transformerEndInfoBuilder_.setMessage(value); } identifiedObjectCase_ = 53; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo transformerEndInfo = 53; */ public Builder setTransformerEndInfo( com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.Builder builderForValue) { if (transformerEndInfoBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { transformerEndInfoBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 53; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo transformerEndInfo = 53; */ public Builder mergeTransformerEndInfo(com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo value) { if (transformerEndInfoBuilder_ == null) { if (identifiedObjectCase_ == 53 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.newBuilder((com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 53) { transformerEndInfoBuilder_.mergeFrom(value); } else { transformerEndInfoBuilder_.setMessage(value); } } identifiedObjectCase_ = 53; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo transformerEndInfo = 53; */ public Builder clearTransformerEndInfo() { if (transformerEndInfoBuilder_ == null) { if (identifiedObjectCase_ == 53) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 53) { identifiedObjectCase_ = 0; identifiedObject_ = null; } transformerEndInfoBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo transformerEndInfo = 53; */ public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.Builder getTransformerEndInfoBuilder() { return getTransformerEndInfoFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo transformerEndInfo = 53; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfoOrBuilder getTransformerEndInfoOrBuilder() { if ((identifiedObjectCase_ == 53) && (transformerEndInfoBuilder_ != null)) { return transformerEndInfoBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 53) { return (com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo transformerEndInfo = 53; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfoOrBuilder> getTransformerEndInfoFieldBuilder() { if (transformerEndInfoBuilder_ == null) { if (!(identifiedObjectCase_ == 53)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.getDefaultInstance(); } transformerEndInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfoOrBuilder>( (com.zepben.protobuf.cim.iec61968.assetinfo.TransformerEndInfo) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 53; onChanged(); return transformerEndInfoBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfoOrBuilder> transformerTankInfoBuilder_; /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo transformerTankInfo = 54; * @return Whether the transformerTankInfo field is set. */ @java.lang.Override public boolean hasTransformerTankInfo() { return identifiedObjectCase_ == 54; } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo transformerTankInfo = 54; * @return The transformerTankInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo getTransformerTankInfo() { if (transformerTankInfoBuilder_ == null) { if (identifiedObjectCase_ == 54) { return (com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo.getDefaultInstance(); } else { if (identifiedObjectCase_ == 54) { return transformerTankInfoBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo transformerTankInfo = 54; */ public Builder setTransformerTankInfo(com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo value) { if (transformerTankInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { transformerTankInfoBuilder_.setMessage(value); } identifiedObjectCase_ = 54; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo transformerTankInfo = 54; */ public Builder setTransformerTankInfo( com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo.Builder builderForValue) { if (transformerTankInfoBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { transformerTankInfoBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 54; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo transformerTankInfo = 54; */ public Builder mergeTransformerTankInfo(com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo value) { if (transformerTankInfoBuilder_ == null) { if (identifiedObjectCase_ == 54 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo.newBuilder((com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 54) { transformerTankInfoBuilder_.mergeFrom(value); } else { transformerTankInfoBuilder_.setMessage(value); } } identifiedObjectCase_ = 54; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo transformerTankInfo = 54; */ public Builder clearTransformerTankInfo() { if (transformerTankInfoBuilder_ == null) { if (identifiedObjectCase_ == 54) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 54) { identifiedObjectCase_ = 0; identifiedObject_ = null; } transformerTankInfoBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo transformerTankInfo = 54; */ public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo.Builder getTransformerTankInfoBuilder() { return getTransformerTankInfoFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo transformerTankInfo = 54; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfoOrBuilder getTransformerTankInfoOrBuilder() { if ((identifiedObjectCase_ == 54) && (transformerTankInfoBuilder_ != null)) { return transformerTankInfoBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 54) { return (com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo transformerTankInfo = 54; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfoOrBuilder> getTransformerTankInfoFieldBuilder() { if (transformerTankInfoBuilder_ == null) { if (!(identifiedObjectCase_ == 54)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo.getDefaultInstance(); } transformerTankInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfoOrBuilder>( (com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTankInfo) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 54; onChanged(); return transformerTankInfoBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest, com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTestOrBuilder> noLoadTestBuilder_; /** * .zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest noLoadTest = 55; * @return Whether the noLoadTest field is set. */ @java.lang.Override public boolean hasNoLoadTest() { return identifiedObjectCase_ == 55; } /** * .zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest noLoadTest = 55; * @return The noLoadTest. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest getNoLoadTest() { if (noLoadTestBuilder_ == null) { if (identifiedObjectCase_ == 55) { return (com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.getDefaultInstance(); } else { if (identifiedObjectCase_ == 55) { return noLoadTestBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest noLoadTest = 55; */ public Builder setNoLoadTest(com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest value) { if (noLoadTestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { noLoadTestBuilder_.setMessage(value); } identifiedObjectCase_ = 55; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest noLoadTest = 55; */ public Builder setNoLoadTest( com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.Builder builderForValue) { if (noLoadTestBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { noLoadTestBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 55; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest noLoadTest = 55; */ public Builder mergeNoLoadTest(com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest value) { if (noLoadTestBuilder_ == null) { if (identifiedObjectCase_ == 55 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.newBuilder((com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 55) { noLoadTestBuilder_.mergeFrom(value); } else { noLoadTestBuilder_.setMessage(value); } } identifiedObjectCase_ = 55; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest noLoadTest = 55; */ public Builder clearNoLoadTest() { if (noLoadTestBuilder_ == null) { if (identifiedObjectCase_ == 55) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 55) { identifiedObjectCase_ = 0; identifiedObject_ = null; } noLoadTestBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest noLoadTest = 55; */ public com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.Builder getNoLoadTestBuilder() { return getNoLoadTestFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest noLoadTest = 55; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTestOrBuilder getNoLoadTestOrBuilder() { if ((identifiedObjectCase_ == 55) && (noLoadTestBuilder_ != null)) { return noLoadTestBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 55) { return (com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest noLoadTest = 55; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest, com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTestOrBuilder> getNoLoadTestFieldBuilder() { if (noLoadTestBuilder_ == null) { if (!(identifiedObjectCase_ == 55)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.getDefaultInstance(); } noLoadTestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest, com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTestOrBuilder>( (com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 55; onChanged(); return noLoadTestBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest, com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTestOrBuilder> openCircuitTestBuilder_; /** * .zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest openCircuitTest = 56; * @return Whether the openCircuitTest field is set. */ @java.lang.Override public boolean hasOpenCircuitTest() { return identifiedObjectCase_ == 56; } /** * .zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest openCircuitTest = 56; * @return The openCircuitTest. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest getOpenCircuitTest() { if (openCircuitTestBuilder_ == null) { if (identifiedObjectCase_ == 56) { return (com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest.getDefaultInstance(); } else { if (identifiedObjectCase_ == 56) { return openCircuitTestBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest openCircuitTest = 56; */ public Builder setOpenCircuitTest(com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest value) { if (openCircuitTestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { openCircuitTestBuilder_.setMessage(value); } identifiedObjectCase_ = 56; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest openCircuitTest = 56; */ public Builder setOpenCircuitTest( com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest.Builder builderForValue) { if (openCircuitTestBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { openCircuitTestBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 56; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest openCircuitTest = 56; */ public Builder mergeOpenCircuitTest(com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest value) { if (openCircuitTestBuilder_ == null) { if (identifiedObjectCase_ == 56 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest.newBuilder((com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 56) { openCircuitTestBuilder_.mergeFrom(value); } else { openCircuitTestBuilder_.setMessage(value); } } identifiedObjectCase_ = 56; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest openCircuitTest = 56; */ public Builder clearOpenCircuitTest() { if (openCircuitTestBuilder_ == null) { if (identifiedObjectCase_ == 56) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 56) { identifiedObjectCase_ = 0; identifiedObject_ = null; } openCircuitTestBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest openCircuitTest = 56; */ public com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest.Builder getOpenCircuitTestBuilder() { return getOpenCircuitTestFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest openCircuitTest = 56; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTestOrBuilder getOpenCircuitTestOrBuilder() { if ((identifiedObjectCase_ == 56) && (openCircuitTestBuilder_ != null)) { return openCircuitTestBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 56) { return (com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest openCircuitTest = 56; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest, com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTestOrBuilder> getOpenCircuitTestFieldBuilder() { if (openCircuitTestBuilder_ == null) { if (!(identifiedObjectCase_ == 56)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest.getDefaultInstance(); } openCircuitTestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest, com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTestOrBuilder>( (com.zepben.protobuf.cim.iec61968.assetinfo.OpenCircuitTest) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 56; onChanged(); return openCircuitTestBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest, com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTestOrBuilder> shortCircuitTestBuilder_; /** * .zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest shortCircuitTest = 57; * @return Whether the shortCircuitTest field is set. */ @java.lang.Override public boolean hasShortCircuitTest() { return identifiedObjectCase_ == 57; } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest shortCircuitTest = 57; * @return The shortCircuitTest. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest getShortCircuitTest() { if (shortCircuitTestBuilder_ == null) { if (identifiedObjectCase_ == 57) { return (com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest.getDefaultInstance(); } else { if (identifiedObjectCase_ == 57) { return shortCircuitTestBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest shortCircuitTest = 57; */ public Builder setShortCircuitTest(com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest value) { if (shortCircuitTestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { shortCircuitTestBuilder_.setMessage(value); } identifiedObjectCase_ = 57; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest shortCircuitTest = 57; */ public Builder setShortCircuitTest( com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest.Builder builderForValue) { if (shortCircuitTestBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { shortCircuitTestBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 57; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest shortCircuitTest = 57; */ public Builder mergeShortCircuitTest(com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest value) { if (shortCircuitTestBuilder_ == null) { if (identifiedObjectCase_ == 57 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest.newBuilder((com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 57) { shortCircuitTestBuilder_.mergeFrom(value); } else { shortCircuitTestBuilder_.setMessage(value); } } identifiedObjectCase_ = 57; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest shortCircuitTest = 57; */ public Builder clearShortCircuitTest() { if (shortCircuitTestBuilder_ == null) { if (identifiedObjectCase_ == 57) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 57) { identifiedObjectCase_ = 0; identifiedObject_ = null; } shortCircuitTestBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest shortCircuitTest = 57; */ public com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest.Builder getShortCircuitTestBuilder() { return getShortCircuitTestFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest shortCircuitTest = 57; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTestOrBuilder getShortCircuitTestOrBuilder() { if ((identifiedObjectCase_ == 57) && (shortCircuitTestBuilder_ != null)) { return shortCircuitTestBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 57) { return (com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest shortCircuitTest = 57; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest, com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTestOrBuilder> getShortCircuitTestFieldBuilder() { if (shortCircuitTestBuilder_ == null) { if (!(identifiedObjectCase_ == 57)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest.getDefaultInstance(); } shortCircuitTestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest, com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTestOrBuilder>( (com.zepben.protobuf.cim.iec61968.assetinfo.ShortCircuitTest) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 57; onChanged(); return shortCircuitTestBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch, com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch.Builder, com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranchOrBuilder> equivalentBranchBuilder_; /** * .zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch equivalentBranch = 58; * @return Whether the equivalentBranch field is set. */ @java.lang.Override public boolean hasEquivalentBranch() { return identifiedObjectCase_ == 58; } /** * .zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch equivalentBranch = 58; * @return The equivalentBranch. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch getEquivalentBranch() { if (equivalentBranchBuilder_ == null) { if (identifiedObjectCase_ == 58) { return (com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch.getDefaultInstance(); } else { if (identifiedObjectCase_ == 58) { return equivalentBranchBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch equivalentBranch = 58; */ public Builder setEquivalentBranch(com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch value) { if (equivalentBranchBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { equivalentBranchBuilder_.setMessage(value); } identifiedObjectCase_ = 58; return this; } /** * .zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch equivalentBranch = 58; */ public Builder setEquivalentBranch( com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch.Builder builderForValue) { if (equivalentBranchBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { equivalentBranchBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 58; return this; } /** * .zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch equivalentBranch = 58; */ public Builder mergeEquivalentBranch(com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch value) { if (equivalentBranchBuilder_ == null) { if (identifiedObjectCase_ == 58 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch.newBuilder((com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 58) { equivalentBranchBuilder_.mergeFrom(value); } else { equivalentBranchBuilder_.setMessage(value); } } identifiedObjectCase_ = 58; return this; } /** * .zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch equivalentBranch = 58; */ public Builder clearEquivalentBranch() { if (equivalentBranchBuilder_ == null) { if (identifiedObjectCase_ == 58) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 58) { identifiedObjectCase_ = 0; identifiedObject_ = null; } equivalentBranchBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch equivalentBranch = 58; */ public com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch.Builder getEquivalentBranchBuilder() { return getEquivalentBranchFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch equivalentBranch = 58; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranchOrBuilder getEquivalentBranchOrBuilder() { if ((identifiedObjectCase_ == 58) && (equivalentBranchBuilder_ != null)) { return equivalentBranchBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 58) { return (com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch equivalentBranch = 58; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch, com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch.Builder, com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranchOrBuilder> getEquivalentBranchFieldBuilder() { if (equivalentBranchBuilder_ == null) { if (!(identifiedObjectCase_ == 58)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch.getDefaultInstance(); } equivalentBranchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch, com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch.Builder, com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranchOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.equivalents.EquivalentBranch) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 58; onChanged(); return equivalentBranchBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo, com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfoOrBuilder> shuntCompensatorInfoBuilder_; /** * .zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo shuntCompensatorInfo = 59; * @return Whether the shuntCompensatorInfo field is set. */ @java.lang.Override public boolean hasShuntCompensatorInfo() { return identifiedObjectCase_ == 59; } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo shuntCompensatorInfo = 59; * @return The shuntCompensatorInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo getShuntCompensatorInfo() { if (shuntCompensatorInfoBuilder_ == null) { if (identifiedObjectCase_ == 59) { return (com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo.getDefaultInstance(); } else { if (identifiedObjectCase_ == 59) { return shuntCompensatorInfoBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo shuntCompensatorInfo = 59; */ public Builder setShuntCompensatorInfo(com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo value) { if (shuntCompensatorInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { shuntCompensatorInfoBuilder_.setMessage(value); } identifiedObjectCase_ = 59; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo shuntCompensatorInfo = 59; */ public Builder setShuntCompensatorInfo( com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo.Builder builderForValue) { if (shuntCompensatorInfoBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { shuntCompensatorInfoBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 59; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo shuntCompensatorInfo = 59; */ public Builder mergeShuntCompensatorInfo(com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo value) { if (shuntCompensatorInfoBuilder_ == null) { if (identifiedObjectCase_ == 59 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo.newBuilder((com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 59) { shuntCompensatorInfoBuilder_.mergeFrom(value); } else { shuntCompensatorInfoBuilder_.setMessage(value); } } identifiedObjectCase_ = 59; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo shuntCompensatorInfo = 59; */ public Builder clearShuntCompensatorInfo() { if (shuntCompensatorInfoBuilder_ == null) { if (identifiedObjectCase_ == 59) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 59) { identifiedObjectCase_ = 0; identifiedObject_ = null; } shuntCompensatorInfoBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo shuntCompensatorInfo = 59; */ public com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo.Builder getShuntCompensatorInfoBuilder() { return getShuntCompensatorInfoFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo shuntCompensatorInfo = 59; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfoOrBuilder getShuntCompensatorInfoOrBuilder() { if ((identifiedObjectCase_ == 59) && (shuntCompensatorInfoBuilder_ != null)) { return shuntCompensatorInfoBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 59) { return (com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo shuntCompensatorInfo = 59; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo, com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfoOrBuilder> getShuntCompensatorInfoFieldBuilder() { if (shuntCompensatorInfoBuilder_ == null) { if (!(identifiedObjectCase_ == 59)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo.getDefaultInstance(); } shuntCompensatorInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo, com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfoOrBuilder>( (com.zepben.protobuf.cim.iec61968.assetinfo.ShuntCompensatorInfo) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 59; onChanged(); return shuntCompensatorInfoBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder.Builder, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeederOrBuilder> lvFeederBuilder_; /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder lvFeeder = 60; * @return Whether the lvFeeder field is set. */ @java.lang.Override public boolean hasLvFeeder() { return identifiedObjectCase_ == 60; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder lvFeeder = 60; * @return The lvFeeder. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder getLvFeeder() { if (lvFeederBuilder_ == null) { if (identifiedObjectCase_ == 60) { return (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder.getDefaultInstance(); } else { if (identifiedObjectCase_ == 60) { return lvFeederBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder lvFeeder = 60; */ public Builder setLvFeeder(com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder value) { if (lvFeederBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { lvFeederBuilder_.setMessage(value); } identifiedObjectCase_ = 60; return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder lvFeeder = 60; */ public Builder setLvFeeder( com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder.Builder builderForValue) { if (lvFeederBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { lvFeederBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 60; return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder lvFeeder = 60; */ public Builder mergeLvFeeder(com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder value) { if (lvFeederBuilder_ == null) { if (identifiedObjectCase_ == 60 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder.newBuilder((com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 60) { lvFeederBuilder_.mergeFrom(value); } else { lvFeederBuilder_.setMessage(value); } } identifiedObjectCase_ = 60; return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder lvFeeder = 60; */ public Builder clearLvFeeder() { if (lvFeederBuilder_ == null) { if (identifiedObjectCase_ == 60) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 60) { identifiedObjectCase_ = 0; identifiedObject_ = null; } lvFeederBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder lvFeeder = 60; */ public com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder.Builder getLvFeederBuilder() { return getLvFeederFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder lvFeeder = 60; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeederOrBuilder getLvFeederOrBuilder() { if ((identifiedObjectCase_ == 60) && (lvFeederBuilder_ != null)) { return lvFeederBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 60) { return (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder lvFeeder = 60; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder.Builder, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeederOrBuilder> getLvFeederFieldBuilder() { if (lvFeederBuilder_ == null) { if (!(identifiedObjectCase_ == 60)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder.getDefaultInstance(); } lvFeederBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder.Builder, com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeederOrBuilder>( (com.zepben.protobuf.cim.iec61970.infiec61970.feeder.LvFeeder) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 60; onChanged(); return lvFeederBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer.Builder, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformerOrBuilder> currentTransformerBuilder_; /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer currentTransformer = 61; * @return Whether the currentTransformer field is set. */ @java.lang.Override public boolean hasCurrentTransformer() { return identifiedObjectCase_ == 61; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer currentTransformer = 61; * @return The currentTransformer. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer getCurrentTransformer() { if (currentTransformerBuilder_ == null) { if (identifiedObjectCase_ == 61) { return (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer.getDefaultInstance(); } else { if (identifiedObjectCase_ == 61) { return currentTransformerBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer currentTransformer = 61; */ public Builder setCurrentTransformer(com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer value) { if (currentTransformerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { currentTransformerBuilder_.setMessage(value); } identifiedObjectCase_ = 61; return this; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer currentTransformer = 61; */ public Builder setCurrentTransformer( com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer.Builder builderForValue) { if (currentTransformerBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { currentTransformerBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 61; return this; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer currentTransformer = 61; */ public Builder mergeCurrentTransformer(com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer value) { if (currentTransformerBuilder_ == null) { if (identifiedObjectCase_ == 61 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer.newBuilder((com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 61) { currentTransformerBuilder_.mergeFrom(value); } else { currentTransformerBuilder_.setMessage(value); } } identifiedObjectCase_ = 61; return this; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer currentTransformer = 61; */ public Builder clearCurrentTransformer() { if (currentTransformerBuilder_ == null) { if (identifiedObjectCase_ == 61) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 61) { identifiedObjectCase_ = 0; identifiedObject_ = null; } currentTransformerBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer currentTransformer = 61; */ public com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer.Builder getCurrentTransformerBuilder() { return getCurrentTransformerFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer currentTransformer = 61; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformerOrBuilder getCurrentTransformerOrBuilder() { if ((identifiedObjectCase_ == 61) && (currentTransformerBuilder_ != null)) { return currentTransformerBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 61) { return (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer currentTransformer = 61; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer.Builder, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformerOrBuilder> getCurrentTransformerFieldBuilder() { if (currentTransformerBuilder_ == null) { if (!(identifiedObjectCase_ == 61)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer.getDefaultInstance(); } currentTransformerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer.Builder, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformerOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.CurrentTransformer) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 61; onChanged(); return currentTransformerBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer.Builder, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformerOrBuilder> potentialTransformerBuilder_; /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer potentialTransformer = 62; * @return Whether the potentialTransformer field is set. */ @java.lang.Override public boolean hasPotentialTransformer() { return identifiedObjectCase_ == 62; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer potentialTransformer = 62; * @return The potentialTransformer. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer getPotentialTransformer() { if (potentialTransformerBuilder_ == null) { if (identifiedObjectCase_ == 62) { return (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer.getDefaultInstance(); } else { if (identifiedObjectCase_ == 62) { return potentialTransformerBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer potentialTransformer = 62; */ public Builder setPotentialTransformer(com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer value) { if (potentialTransformerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { potentialTransformerBuilder_.setMessage(value); } identifiedObjectCase_ = 62; return this; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer potentialTransformer = 62; */ public Builder setPotentialTransformer( com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer.Builder builderForValue) { if (potentialTransformerBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { potentialTransformerBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 62; return this; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer potentialTransformer = 62; */ public Builder mergePotentialTransformer(com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer value) { if (potentialTransformerBuilder_ == null) { if (identifiedObjectCase_ == 62 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer.newBuilder((com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 62) { potentialTransformerBuilder_.mergeFrom(value); } else { potentialTransformerBuilder_.setMessage(value); } } identifiedObjectCase_ = 62; return this; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer potentialTransformer = 62; */ public Builder clearPotentialTransformer() { if (potentialTransformerBuilder_ == null) { if (identifiedObjectCase_ == 62) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 62) { identifiedObjectCase_ = 0; identifiedObject_ = null; } potentialTransformerBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer potentialTransformer = 62; */ public com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer.Builder getPotentialTransformerBuilder() { return getPotentialTransformerFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer potentialTransformer = 62; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformerOrBuilder getPotentialTransformerOrBuilder() { if ((identifiedObjectCase_ == 62) && (potentialTransformerBuilder_ != null)) { return potentialTransformerBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 62) { return (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer potentialTransformer = 62; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer.Builder, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformerOrBuilder> getPotentialTransformerFieldBuilder() { if (potentialTransformerBuilder_ == null) { if (!(identifiedObjectCase_ == 62)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer.getDefaultInstance(); } potentialTransformerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer.Builder, com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformerOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.auxiliaryequipment.PotentialTransformer) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 62; onChanged(); return potentialTransformerBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo.Builder, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfoOrBuilder> currentTransformerInfoBuilder_; /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo currentTransformerInfo = 63; * @return Whether the currentTransformerInfo field is set. */ @java.lang.Override public boolean hasCurrentTransformerInfo() { return identifiedObjectCase_ == 63; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo currentTransformerInfo = 63; * @return The currentTransformerInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo getCurrentTransformerInfo() { if (currentTransformerInfoBuilder_ == null) { if (identifiedObjectCase_ == 63) { return (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo.getDefaultInstance(); } else { if (identifiedObjectCase_ == 63) { return currentTransformerInfoBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo currentTransformerInfo = 63; */ public Builder setCurrentTransformerInfo(com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo value) { if (currentTransformerInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { currentTransformerInfoBuilder_.setMessage(value); } identifiedObjectCase_ = 63; return this; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo currentTransformerInfo = 63; */ public Builder setCurrentTransformerInfo( com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo.Builder builderForValue) { if (currentTransformerInfoBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { currentTransformerInfoBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 63; return this; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo currentTransformerInfo = 63; */ public Builder mergeCurrentTransformerInfo(com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo value) { if (currentTransformerInfoBuilder_ == null) { if (identifiedObjectCase_ == 63 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo.newBuilder((com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 63) { currentTransformerInfoBuilder_.mergeFrom(value); } else { currentTransformerInfoBuilder_.setMessage(value); } } identifiedObjectCase_ = 63; return this; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo currentTransformerInfo = 63; */ public Builder clearCurrentTransformerInfo() { if (currentTransformerInfoBuilder_ == null) { if (identifiedObjectCase_ == 63) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 63) { identifiedObjectCase_ = 0; identifiedObject_ = null; } currentTransformerInfoBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo currentTransformerInfo = 63; */ public com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo.Builder getCurrentTransformerInfoBuilder() { return getCurrentTransformerInfoFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo currentTransformerInfo = 63; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfoOrBuilder getCurrentTransformerInfoOrBuilder() { if ((identifiedObjectCase_ == 63) && (currentTransformerInfoBuilder_ != null)) { return currentTransformerInfoBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 63) { return (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo currentTransformerInfo = 63; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo.Builder, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfoOrBuilder> getCurrentTransformerInfoFieldBuilder() { if (currentTransformerInfoBuilder_ == null) { if (!(identifiedObjectCase_ == 63)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo.getDefaultInstance(); } currentTransformerInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo.Builder, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfoOrBuilder>( (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.CurrentTransformerInfo) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 63; onChanged(); return currentTransformerInfoBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo.Builder, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfoOrBuilder> potentialTransformerInfoBuilder_; /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo potentialTransformerInfo = 64; * @return Whether the potentialTransformerInfo field is set. */ @java.lang.Override public boolean hasPotentialTransformerInfo() { return identifiedObjectCase_ == 64; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo potentialTransformerInfo = 64; * @return The potentialTransformerInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo getPotentialTransformerInfo() { if (potentialTransformerInfoBuilder_ == null) { if (identifiedObjectCase_ == 64) { return (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo.getDefaultInstance(); } else { if (identifiedObjectCase_ == 64) { return potentialTransformerInfoBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo potentialTransformerInfo = 64; */ public Builder setPotentialTransformerInfo(com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo value) { if (potentialTransformerInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { potentialTransformerInfoBuilder_.setMessage(value); } identifiedObjectCase_ = 64; return this; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo potentialTransformerInfo = 64; */ public Builder setPotentialTransformerInfo( com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo.Builder builderForValue) { if (potentialTransformerInfoBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { potentialTransformerInfoBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 64; return this; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo potentialTransformerInfo = 64; */ public Builder mergePotentialTransformerInfo(com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo value) { if (potentialTransformerInfoBuilder_ == null) { if (identifiedObjectCase_ == 64 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo.newBuilder((com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 64) { potentialTransformerInfoBuilder_.mergeFrom(value); } else { potentialTransformerInfoBuilder_.setMessage(value); } } identifiedObjectCase_ = 64; return this; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo potentialTransformerInfo = 64; */ public Builder clearPotentialTransformerInfo() { if (potentialTransformerInfoBuilder_ == null) { if (identifiedObjectCase_ == 64) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 64) { identifiedObjectCase_ = 0; identifiedObject_ = null; } potentialTransformerInfoBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo potentialTransformerInfo = 64; */ public com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo.Builder getPotentialTransformerInfoBuilder() { return getPotentialTransformerInfoFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo potentialTransformerInfo = 64; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfoOrBuilder getPotentialTransformerInfoOrBuilder() { if ((identifiedObjectCase_ == 64) && (potentialTransformerInfoBuilder_ != null)) { return potentialTransformerInfoBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 64) { return (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo potentialTransformerInfo = 64; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo.Builder, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfoOrBuilder> getPotentialTransformerInfoFieldBuilder() { if (potentialTransformerInfoBuilder_ == null) { if (!(identifiedObjectCase_ == 64)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo.getDefaultInstance(); } potentialTransformerInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo.Builder, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfoOrBuilder>( (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.PotentialTransformerInfo) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 64; onChanged(); return potentialTransformerInfoBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo, com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfoOrBuilder> switchInfoBuilder_; /** * .zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo switchInfo = 65; * @return Whether the switchInfo field is set. */ @java.lang.Override public boolean hasSwitchInfo() { return identifiedObjectCase_ == 65; } /** * .zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo switchInfo = 65; * @return The switchInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo getSwitchInfo() { if (switchInfoBuilder_ == null) { if (identifiedObjectCase_ == 65) { return (com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo.getDefaultInstance(); } else { if (identifiedObjectCase_ == 65) { return switchInfoBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo switchInfo = 65; */ public Builder setSwitchInfo(com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo value) { if (switchInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { switchInfoBuilder_.setMessage(value); } identifiedObjectCase_ = 65; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo switchInfo = 65; */ public Builder setSwitchInfo( com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo.Builder builderForValue) { if (switchInfoBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { switchInfoBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 65; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo switchInfo = 65; */ public Builder mergeSwitchInfo(com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo value) { if (switchInfoBuilder_ == null) { if (identifiedObjectCase_ == 65 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo.newBuilder((com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 65) { switchInfoBuilder_.mergeFrom(value); } else { switchInfoBuilder_.setMessage(value); } } identifiedObjectCase_ = 65; return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo switchInfo = 65; */ public Builder clearSwitchInfo() { if (switchInfoBuilder_ == null) { if (identifiedObjectCase_ == 65) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 65) { identifiedObjectCase_ = 0; identifiedObject_ = null; } switchInfoBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo switchInfo = 65; */ public com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo.Builder getSwitchInfoBuilder() { return getSwitchInfoFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo switchInfo = 65; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfoOrBuilder getSwitchInfoOrBuilder() { if ((identifiedObjectCase_ == 65) && (switchInfoBuilder_ != null)) { return switchInfoBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 65) { return (com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo switchInfo = 65; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo, com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfoOrBuilder> getSwitchInfoFieldBuilder() { if (switchInfoBuilder_ == null) { if (!(identifiedObjectCase_ == 65)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo.getDefaultInstance(); } switchInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo, com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfoOrBuilder>( (com.zepben.protobuf.cim.iec61968.assetinfo.SwitchInfo) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 65; onChanged(); return switchInfoBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo.Builder, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfoOrBuilder> relayInfoBuilder_; /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo relayInfo = 66; * @return Whether the relayInfo field is set. */ @java.lang.Override public boolean hasRelayInfo() { return identifiedObjectCase_ == 66; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo relayInfo = 66; * @return The relayInfo. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo getRelayInfo() { if (relayInfoBuilder_ == null) { if (identifiedObjectCase_ == 66) { return (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo.getDefaultInstance(); } else { if (identifiedObjectCase_ == 66) { return relayInfoBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo relayInfo = 66; */ public Builder setRelayInfo(com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo value) { if (relayInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { relayInfoBuilder_.setMessage(value); } identifiedObjectCase_ = 66; return this; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo relayInfo = 66; */ public Builder setRelayInfo( com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo.Builder builderForValue) { if (relayInfoBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { relayInfoBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 66; return this; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo relayInfo = 66; */ public Builder mergeRelayInfo(com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo value) { if (relayInfoBuilder_ == null) { if (identifiedObjectCase_ == 66 && identifiedObject_ != com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo.newBuilder((com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 66) { relayInfoBuilder_.mergeFrom(value); } else { relayInfoBuilder_.setMessage(value); } } identifiedObjectCase_ = 66; return this; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo relayInfo = 66; */ public Builder clearRelayInfo() { if (relayInfoBuilder_ == null) { if (identifiedObjectCase_ == 66) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 66) { identifiedObjectCase_ = 0; identifiedObject_ = null; } relayInfoBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo relayInfo = 66; */ public com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo.Builder getRelayInfoBuilder() { return getRelayInfoFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo relayInfo = 66; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfoOrBuilder getRelayInfoOrBuilder() { if ((identifiedObjectCase_ == 66) && (relayInfoBuilder_ != null)) { return relayInfoBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 66) { return (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo) identifiedObject_; } return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo relayInfo = 66; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo.Builder, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfoOrBuilder> getRelayInfoFieldBuilder() { if (relayInfoBuilder_ == null) { if (!(identifiedObjectCase_ == 66)) { identifiedObject_ = com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo.getDefaultInstance(); } relayInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo.Builder, com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfoOrBuilder>( (com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.RelayInfo) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 66; onChanged(); return relayInfoBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay, com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay.Builder, com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelayOrBuilder> currentRelayBuilder_; /** * .zepben.protobuf.cim.iec61970.base.protection.CurrentRelay currentRelay = 68; * @return Whether the currentRelay field is set. */ @java.lang.Override public boolean hasCurrentRelay() { return identifiedObjectCase_ == 68; } /** * .zepben.protobuf.cim.iec61970.base.protection.CurrentRelay currentRelay = 68; * @return The currentRelay. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay getCurrentRelay() { if (currentRelayBuilder_ == null) { if (identifiedObjectCase_ == 68) { return (com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay.getDefaultInstance(); } else { if (identifiedObjectCase_ == 68) { return currentRelayBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.protection.CurrentRelay currentRelay = 68; */ public Builder setCurrentRelay(com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay value) { if (currentRelayBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { currentRelayBuilder_.setMessage(value); } identifiedObjectCase_ = 68; return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.CurrentRelay currentRelay = 68; */ public Builder setCurrentRelay( com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay.Builder builderForValue) { if (currentRelayBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { currentRelayBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 68; return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.CurrentRelay currentRelay = 68; */ public Builder mergeCurrentRelay(com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay value) { if (currentRelayBuilder_ == null) { if (identifiedObjectCase_ == 68 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay.newBuilder((com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 68) { currentRelayBuilder_.mergeFrom(value); } else { currentRelayBuilder_.setMessage(value); } } identifiedObjectCase_ = 68; return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.CurrentRelay currentRelay = 68; */ public Builder clearCurrentRelay() { if (currentRelayBuilder_ == null) { if (identifiedObjectCase_ == 68) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 68) { identifiedObjectCase_ = 0; identifiedObject_ = null; } currentRelayBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.CurrentRelay currentRelay = 68; */ public com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay.Builder getCurrentRelayBuilder() { return getCurrentRelayFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.protection.CurrentRelay currentRelay = 68; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelayOrBuilder getCurrentRelayOrBuilder() { if ((identifiedObjectCase_ == 68) && (currentRelayBuilder_ != null)) { return currentRelayBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 68) { return (com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.protection.CurrentRelay currentRelay = 68; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay, com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay.Builder, com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelayOrBuilder> getCurrentRelayFieldBuilder() { if (currentRelayBuilder_ == null) { if (!(identifiedObjectCase_ == 68)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay.getDefaultInstance(); } currentRelayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay, com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay.Builder, com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelayOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.protection.CurrentRelay) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 68; onChanged(); return currentRelayBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl, com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl.Builder, com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControlOrBuilder> tapChangerControlBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.TapChangerControl tapChangerControl = 69; * @return Whether the tapChangerControl field is set. */ @java.lang.Override public boolean hasTapChangerControl() { return identifiedObjectCase_ == 69; } /** * .zepben.protobuf.cim.iec61970.base.wires.TapChangerControl tapChangerControl = 69; * @return The tapChangerControl. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl getTapChangerControl() { if (tapChangerControlBuilder_ == null) { if (identifiedObjectCase_ == 69) { return (com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl.getDefaultInstance(); } else { if (identifiedObjectCase_ == 69) { return tapChangerControlBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.TapChangerControl tapChangerControl = 69; */ public Builder setTapChangerControl(com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl value) { if (tapChangerControlBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { tapChangerControlBuilder_.setMessage(value); } identifiedObjectCase_ = 69; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.TapChangerControl tapChangerControl = 69; */ public Builder setTapChangerControl( com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl.Builder builderForValue) { if (tapChangerControlBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { tapChangerControlBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 69; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.TapChangerControl tapChangerControl = 69; */ public Builder mergeTapChangerControl(com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl value) { if (tapChangerControlBuilder_ == null) { if (identifiedObjectCase_ == 69 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 69) { tapChangerControlBuilder_.mergeFrom(value); } else { tapChangerControlBuilder_.setMessage(value); } } identifiedObjectCase_ = 69; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.TapChangerControl tapChangerControl = 69; */ public Builder clearTapChangerControl() { if (tapChangerControlBuilder_ == null) { if (identifiedObjectCase_ == 69) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 69) { identifiedObjectCase_ = 0; identifiedObject_ = null; } tapChangerControlBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.TapChangerControl tapChangerControl = 69; */ public com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl.Builder getTapChangerControlBuilder() { return getTapChangerControlFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.TapChangerControl tapChangerControl = 69; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControlOrBuilder getTapChangerControlOrBuilder() { if ((identifiedObjectCase_ == 69) && (tapChangerControlBuilder_ != null)) { return tapChangerControlBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 69) { return (com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.TapChangerControl tapChangerControl = 69; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl, com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl.Builder, com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControlOrBuilder> getTapChangerControlFieldBuilder() { if (tapChangerControlBuilder_ == null) { if (!(identifiedObjectCase_ == 69)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl.getDefaultInstance(); } tapChangerControlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl, com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl.Builder, com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControlOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.TapChangerControl) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 69; onChanged(); return tapChangerControlBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit, com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit.Builder, com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnitOrBuilder> evChargingUnitBuilder_; /** * .zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit evChargingUnit = 70; * @return Whether the evChargingUnit field is set. */ @java.lang.Override public boolean hasEvChargingUnit() { return identifiedObjectCase_ == 70; } /** * .zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit evChargingUnit = 70; * @return The evChargingUnit. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit getEvChargingUnit() { if (evChargingUnitBuilder_ == null) { if (identifiedObjectCase_ == 70) { return (com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit.getDefaultInstance(); } else { if (identifiedObjectCase_ == 70) { return evChargingUnitBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit evChargingUnit = 70; */ public Builder setEvChargingUnit(com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit value) { if (evChargingUnitBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { evChargingUnitBuilder_.setMessage(value); } identifiedObjectCase_ = 70; return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit evChargingUnit = 70; */ public Builder setEvChargingUnit( com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit.Builder builderForValue) { if (evChargingUnitBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { evChargingUnitBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 70; return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit evChargingUnit = 70; */ public Builder mergeEvChargingUnit(com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit value) { if (evChargingUnitBuilder_ == null) { if (identifiedObjectCase_ == 70 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit.newBuilder((com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 70) { evChargingUnitBuilder_.mergeFrom(value); } else { evChargingUnitBuilder_.setMessage(value); } } identifiedObjectCase_ = 70; return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit evChargingUnit = 70; */ public Builder clearEvChargingUnit() { if (evChargingUnitBuilder_ == null) { if (identifiedObjectCase_ == 70) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 70) { identifiedObjectCase_ = 0; identifiedObject_ = null; } evChargingUnitBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit evChargingUnit = 70; */ public com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit.Builder getEvChargingUnitBuilder() { return getEvChargingUnitFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit evChargingUnit = 70; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnitOrBuilder getEvChargingUnitOrBuilder() { if ((identifiedObjectCase_ == 70) && (evChargingUnitBuilder_ != null)) { return evChargingUnitBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 70) { return (com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit evChargingUnit = 70; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit, com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit.Builder, com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnitOrBuilder> getEvChargingUnitFieldBuilder() { if (evChargingUnitBuilder_ == null) { if (!(identifiedObjectCase_ == 70)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit.getDefaultInstance(); } evChargingUnitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit, com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit.Builder, com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnitOrBuilder>( (com.zepben.protobuf.cim.iec61970.infiec61970.wires.generation.production.EvChargingUnit) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 70; onChanged(); return evChargingUnitBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator, com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator.Builder, com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensatorOrBuilder> seriesCompensatorBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator seriesCompensator = 71; * @return Whether the seriesCompensator field is set. */ @java.lang.Override public boolean hasSeriesCompensator() { return identifiedObjectCase_ == 71; } /** * .zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator seriesCompensator = 71; * @return The seriesCompensator. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator getSeriesCompensator() { if (seriesCompensatorBuilder_ == null) { if (identifiedObjectCase_ == 71) { return (com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator.getDefaultInstance(); } else { if (identifiedObjectCase_ == 71) { return seriesCompensatorBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator seriesCompensator = 71; */ public Builder setSeriesCompensator(com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator value) { if (seriesCompensatorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { seriesCompensatorBuilder_.setMessage(value); } identifiedObjectCase_ = 71; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator seriesCompensator = 71; */ public Builder setSeriesCompensator( com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator.Builder builderForValue) { if (seriesCompensatorBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { seriesCompensatorBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 71; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator seriesCompensator = 71; */ public Builder mergeSeriesCompensator(com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator value) { if (seriesCompensatorBuilder_ == null) { if (identifiedObjectCase_ == 71 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 71) { seriesCompensatorBuilder_.mergeFrom(value); } else { seriesCompensatorBuilder_.setMessage(value); } } identifiedObjectCase_ = 71; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator seriesCompensator = 71; */ public Builder clearSeriesCompensator() { if (seriesCompensatorBuilder_ == null) { if (identifiedObjectCase_ == 71) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 71) { identifiedObjectCase_ = 0; identifiedObject_ = null; } seriesCompensatorBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator seriesCompensator = 71; */ public com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator.Builder getSeriesCompensatorBuilder() { return getSeriesCompensatorFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator seriesCompensator = 71; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensatorOrBuilder getSeriesCompensatorOrBuilder() { if ((identifiedObjectCase_ == 71) && (seriesCompensatorBuilder_ != null)) { return seriesCompensatorBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 71) { return (com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator seriesCompensator = 71; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator, com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator.Builder, com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensatorOrBuilder> getSeriesCompensatorFieldBuilder() { if (seriesCompensatorBuilder_ == null) { if (!(identifiedObjectCase_ == 71)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator.getDefaultInstance(); } seriesCompensatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator, com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator.Builder, com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensatorOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.SeriesCompensator) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 71; onChanged(); return seriesCompensatorBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Ground, com.zepben.protobuf.cim.iec61970.base.wires.Ground.Builder, com.zepben.protobuf.cim.iec61970.base.wires.GroundOrBuilder> groundBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.Ground ground = 72; * @return Whether the ground field is set. */ @java.lang.Override public boolean hasGround() { return identifiedObjectCase_ == 72; } /** * .zepben.protobuf.cim.iec61970.base.wires.Ground ground = 72; * @return The ground. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.Ground getGround() { if (groundBuilder_ == null) { if (identifiedObjectCase_ == 72) { return (com.zepben.protobuf.cim.iec61970.base.wires.Ground) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Ground.getDefaultInstance(); } else { if (identifiedObjectCase_ == 72) { return groundBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.Ground.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.Ground ground = 72; */ public Builder setGround(com.zepben.protobuf.cim.iec61970.base.wires.Ground value) { if (groundBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { groundBuilder_.setMessage(value); } identifiedObjectCase_ = 72; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Ground ground = 72; */ public Builder setGround( com.zepben.protobuf.cim.iec61970.base.wires.Ground.Builder builderForValue) { if (groundBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { groundBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 72; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Ground ground = 72; */ public Builder mergeGround(com.zepben.protobuf.cim.iec61970.base.wires.Ground value) { if (groundBuilder_ == null) { if (identifiedObjectCase_ == 72 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.Ground.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.Ground.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.Ground) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 72) { groundBuilder_.mergeFrom(value); } else { groundBuilder_.setMessage(value); } } identifiedObjectCase_ = 72; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Ground ground = 72; */ public Builder clearGround() { if (groundBuilder_ == null) { if (identifiedObjectCase_ == 72) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 72) { identifiedObjectCase_ = 0; identifiedObject_ = null; } groundBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.Ground ground = 72; */ public com.zepben.protobuf.cim.iec61970.base.wires.Ground.Builder getGroundBuilder() { return getGroundFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.Ground ground = 72; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.GroundOrBuilder getGroundOrBuilder() { if ((identifiedObjectCase_ == 72) && (groundBuilder_ != null)) { return groundBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 72) { return (com.zepben.protobuf.cim.iec61970.base.wires.Ground) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.Ground.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.Ground ground = 72; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Ground, com.zepben.protobuf.cim.iec61970.base.wires.Ground.Builder, com.zepben.protobuf.cim.iec61970.base.wires.GroundOrBuilder> getGroundFieldBuilder() { if (groundBuilder_ == null) { if (!(identifiedObjectCase_ == 72)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.Ground.getDefaultInstance(); } groundBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.Ground, com.zepben.protobuf.cim.iec61970.base.wires.Ground.Builder, com.zepben.protobuf.cim.iec61970.base.wires.GroundOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.Ground) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 72; onChanged(); return groundBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector, com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector.Builder, com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnectorOrBuilder> groundDisconnectorBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector groundDisconnector = 73; * @return Whether the groundDisconnector field is set. */ @java.lang.Override public boolean hasGroundDisconnector() { return identifiedObjectCase_ == 73; } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector groundDisconnector = 73; * @return The groundDisconnector. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector getGroundDisconnector() { if (groundDisconnectorBuilder_ == null) { if (identifiedObjectCase_ == 73) { return (com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector.getDefaultInstance(); } else { if (identifiedObjectCase_ == 73) { return groundDisconnectorBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector groundDisconnector = 73; */ public Builder setGroundDisconnector(com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector value) { if (groundDisconnectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { groundDisconnectorBuilder_.setMessage(value); } identifiedObjectCase_ = 73; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector groundDisconnector = 73; */ public Builder setGroundDisconnector( com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector.Builder builderForValue) { if (groundDisconnectorBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { groundDisconnectorBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 73; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector groundDisconnector = 73; */ public Builder mergeGroundDisconnector(com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector value) { if (groundDisconnectorBuilder_ == null) { if (identifiedObjectCase_ == 73 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 73) { groundDisconnectorBuilder_.mergeFrom(value); } else { groundDisconnectorBuilder_.setMessage(value); } } identifiedObjectCase_ = 73; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector groundDisconnector = 73; */ public Builder clearGroundDisconnector() { if (groundDisconnectorBuilder_ == null) { if (identifiedObjectCase_ == 73) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 73) { identifiedObjectCase_ = 0; identifiedObject_ = null; } groundDisconnectorBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector groundDisconnector = 73; */ public com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector.Builder getGroundDisconnectorBuilder() { return getGroundDisconnectorFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector groundDisconnector = 73; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnectorOrBuilder getGroundDisconnectorOrBuilder() { if ((identifiedObjectCase_ == 73) && (groundDisconnectorBuilder_ != null)) { return groundDisconnectorBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 73) { return (com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector groundDisconnector = 73; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector, com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector.Builder, com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnectorOrBuilder> getGroundDisconnectorFieldBuilder() { if (groundDisconnectorBuilder_ == null) { if (!(identifiedObjectCase_ == 73)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector.getDefaultInstance(); } groundDisconnectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector, com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector.Builder, com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnectorOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.GroundDisconnector) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 73; onChanged(); return groundDisconnectorBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme, com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme.Builder, com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySchemeOrBuilder> protectionRelaySchemeBuilder_; /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme protectionRelayScheme = 74; * @return Whether the protectionRelayScheme field is set. */ @java.lang.Override public boolean hasProtectionRelayScheme() { return identifiedObjectCase_ == 74; } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme protectionRelayScheme = 74; * @return The protectionRelayScheme. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme getProtectionRelayScheme() { if (protectionRelaySchemeBuilder_ == null) { if (identifiedObjectCase_ == 74) { return (com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme.getDefaultInstance(); } else { if (identifiedObjectCase_ == 74) { return protectionRelaySchemeBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme protectionRelayScheme = 74; */ public Builder setProtectionRelayScheme(com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme value) { if (protectionRelaySchemeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { protectionRelaySchemeBuilder_.setMessage(value); } identifiedObjectCase_ = 74; return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme protectionRelayScheme = 74; */ public Builder setProtectionRelayScheme( com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme.Builder builderForValue) { if (protectionRelaySchemeBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { protectionRelaySchemeBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 74; return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme protectionRelayScheme = 74; */ public Builder mergeProtectionRelayScheme(com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme value) { if (protectionRelaySchemeBuilder_ == null) { if (identifiedObjectCase_ == 74 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme.newBuilder((com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 74) { protectionRelaySchemeBuilder_.mergeFrom(value); } else { protectionRelaySchemeBuilder_.setMessage(value); } } identifiedObjectCase_ = 74; return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme protectionRelayScheme = 74; */ public Builder clearProtectionRelayScheme() { if (protectionRelaySchemeBuilder_ == null) { if (identifiedObjectCase_ == 74) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 74) { identifiedObjectCase_ = 0; identifiedObject_ = null; } protectionRelaySchemeBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme protectionRelayScheme = 74; */ public com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme.Builder getProtectionRelaySchemeBuilder() { return getProtectionRelaySchemeFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme protectionRelayScheme = 74; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySchemeOrBuilder getProtectionRelaySchemeOrBuilder() { if ((identifiedObjectCase_ == 74) && (protectionRelaySchemeBuilder_ != null)) { return protectionRelaySchemeBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 74) { return (com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme protectionRelayScheme = 74; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme, com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme.Builder, com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySchemeOrBuilder> getProtectionRelaySchemeFieldBuilder() { if (protectionRelaySchemeBuilder_ == null) { if (!(identifiedObjectCase_ == 74)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme.getDefaultInstance(); } protectionRelaySchemeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme, com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme.Builder, com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySchemeOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelayScheme) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 74; onChanged(); return protectionRelaySchemeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem, com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem.Builder, com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystemOrBuilder> protectionRelaySystemBuilder_; /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem protectionRelaySystem = 75; * @return Whether the protectionRelaySystem field is set. */ @java.lang.Override public boolean hasProtectionRelaySystem() { return identifiedObjectCase_ == 75; } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem protectionRelaySystem = 75; * @return The protectionRelaySystem. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem getProtectionRelaySystem() { if (protectionRelaySystemBuilder_ == null) { if (identifiedObjectCase_ == 75) { return (com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem.getDefaultInstance(); } else { if (identifiedObjectCase_ == 75) { return protectionRelaySystemBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem protectionRelaySystem = 75; */ public Builder setProtectionRelaySystem(com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem value) { if (protectionRelaySystemBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { protectionRelaySystemBuilder_.setMessage(value); } identifiedObjectCase_ = 75; return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem protectionRelaySystem = 75; */ public Builder setProtectionRelaySystem( com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem.Builder builderForValue) { if (protectionRelaySystemBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { protectionRelaySystemBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 75; return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem protectionRelaySystem = 75; */ public Builder mergeProtectionRelaySystem(com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem value) { if (protectionRelaySystemBuilder_ == null) { if (identifiedObjectCase_ == 75 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem.newBuilder((com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 75) { protectionRelaySystemBuilder_.mergeFrom(value); } else { protectionRelaySystemBuilder_.setMessage(value); } } identifiedObjectCase_ = 75; return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem protectionRelaySystem = 75; */ public Builder clearProtectionRelaySystem() { if (protectionRelaySystemBuilder_ == null) { if (identifiedObjectCase_ == 75) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 75) { identifiedObjectCase_ = 0; identifiedObject_ = null; } protectionRelaySystemBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem protectionRelaySystem = 75; */ public com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem.Builder getProtectionRelaySystemBuilder() { return getProtectionRelaySystemFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem protectionRelaySystem = 75; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystemOrBuilder getProtectionRelaySystemOrBuilder() { if ((identifiedObjectCase_ == 75) && (protectionRelaySystemBuilder_ != null)) { return protectionRelaySystemBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 75) { return (com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem protectionRelaySystem = 75; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem, com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem.Builder, com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystemOrBuilder> getProtectionRelaySystemFieldBuilder() { if (protectionRelaySystemBuilder_ == null) { if (!(identifiedObjectCase_ == 75)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem.getDefaultInstance(); } protectionRelaySystemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem, com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem.Builder, com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystemOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.protection.ProtectionRelaySystem) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 75; onChanged(); return protectionRelaySystemBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay, com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay.Builder, com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelayOrBuilder> voltageRelayBuilder_; /** * .zepben.protobuf.cim.iec61970.base.protection.VoltageRelay voltageRelay = 76; * @return Whether the voltageRelay field is set. */ @java.lang.Override public boolean hasVoltageRelay() { return identifiedObjectCase_ == 76; } /** * .zepben.protobuf.cim.iec61970.base.protection.VoltageRelay voltageRelay = 76; * @return The voltageRelay. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay getVoltageRelay() { if (voltageRelayBuilder_ == null) { if (identifiedObjectCase_ == 76) { return (com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay.getDefaultInstance(); } else { if (identifiedObjectCase_ == 76) { return voltageRelayBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.protection.VoltageRelay voltageRelay = 76; */ public Builder setVoltageRelay(com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay value) { if (voltageRelayBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { voltageRelayBuilder_.setMessage(value); } identifiedObjectCase_ = 76; return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.VoltageRelay voltageRelay = 76; */ public Builder setVoltageRelay( com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay.Builder builderForValue) { if (voltageRelayBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { voltageRelayBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 76; return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.VoltageRelay voltageRelay = 76; */ public Builder mergeVoltageRelay(com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay value) { if (voltageRelayBuilder_ == null) { if (identifiedObjectCase_ == 76 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay.newBuilder((com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 76) { voltageRelayBuilder_.mergeFrom(value); } else { voltageRelayBuilder_.setMessage(value); } } identifiedObjectCase_ = 76; return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.VoltageRelay voltageRelay = 76; */ public Builder clearVoltageRelay() { if (voltageRelayBuilder_ == null) { if (identifiedObjectCase_ == 76) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 76) { identifiedObjectCase_ = 0; identifiedObject_ = null; } voltageRelayBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.VoltageRelay voltageRelay = 76; */ public com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay.Builder getVoltageRelayBuilder() { return getVoltageRelayFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.protection.VoltageRelay voltageRelay = 76; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelayOrBuilder getVoltageRelayOrBuilder() { if ((identifiedObjectCase_ == 76) && (voltageRelayBuilder_ != null)) { return voltageRelayBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 76) { return (com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.protection.VoltageRelay voltageRelay = 76; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay, com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay.Builder, com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelayOrBuilder> getVoltageRelayFieldBuilder() { if (voltageRelayBuilder_ == null) { if (!(identifiedObjectCase_ == 76)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay.getDefaultInstance(); } voltageRelayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay, com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay.Builder, com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelayOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.protection.VoltageRelay) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 76; onChanged(); return voltageRelayBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay, com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay.Builder, com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelayOrBuilder> distanceRelayBuilder_; /** * .zepben.protobuf.cim.iec61970.base.protection.DistanceRelay distanceRelay = 77; * @return Whether the distanceRelay field is set. */ @java.lang.Override public boolean hasDistanceRelay() { return identifiedObjectCase_ == 77; } /** * .zepben.protobuf.cim.iec61970.base.protection.DistanceRelay distanceRelay = 77; * @return The distanceRelay. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay getDistanceRelay() { if (distanceRelayBuilder_ == null) { if (identifiedObjectCase_ == 77) { return (com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay.getDefaultInstance(); } else { if (identifiedObjectCase_ == 77) { return distanceRelayBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.protection.DistanceRelay distanceRelay = 77; */ public Builder setDistanceRelay(com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay value) { if (distanceRelayBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { distanceRelayBuilder_.setMessage(value); } identifiedObjectCase_ = 77; return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.DistanceRelay distanceRelay = 77; */ public Builder setDistanceRelay( com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay.Builder builderForValue) { if (distanceRelayBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { distanceRelayBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 77; return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.DistanceRelay distanceRelay = 77; */ public Builder mergeDistanceRelay(com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay value) { if (distanceRelayBuilder_ == null) { if (identifiedObjectCase_ == 77 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay.newBuilder((com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 77) { distanceRelayBuilder_.mergeFrom(value); } else { distanceRelayBuilder_.setMessage(value); } } identifiedObjectCase_ = 77; return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.DistanceRelay distanceRelay = 77; */ public Builder clearDistanceRelay() { if (distanceRelayBuilder_ == null) { if (identifiedObjectCase_ == 77) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 77) { identifiedObjectCase_ = 0; identifiedObject_ = null; } distanceRelayBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.protection.DistanceRelay distanceRelay = 77; */ public com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay.Builder getDistanceRelayBuilder() { return getDistanceRelayFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.protection.DistanceRelay distanceRelay = 77; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelayOrBuilder getDistanceRelayOrBuilder() { if ((identifiedObjectCase_ == 77) && (distanceRelayBuilder_ != null)) { return distanceRelayBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 77) { return (com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.protection.DistanceRelay distanceRelay = 77; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay, com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay.Builder, com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelayOrBuilder> getDistanceRelayFieldBuilder() { if (distanceRelayBuilder_ == null) { if (!(identifiedObjectCase_ == 77)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay.getDefaultInstance(); } distanceRelayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay, com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay.Builder, com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelayOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.protection.DistanceRelay) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 77; onChanged(); return distanceRelayBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine, com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine.Builder, com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachineOrBuilder> synchronousMachineBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine synchronousMachine = 78; * @return Whether the synchronousMachine field is set. */ @java.lang.Override public boolean hasSynchronousMachine() { return identifiedObjectCase_ == 78; } /** * .zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine synchronousMachine = 78; * @return The synchronousMachine. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine getSynchronousMachine() { if (synchronousMachineBuilder_ == null) { if (identifiedObjectCase_ == 78) { return (com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine.getDefaultInstance(); } else { if (identifiedObjectCase_ == 78) { return synchronousMachineBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine synchronousMachine = 78; */ public Builder setSynchronousMachine(com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine value) { if (synchronousMachineBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { synchronousMachineBuilder_.setMessage(value); } identifiedObjectCase_ = 78; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine synchronousMachine = 78; */ public Builder setSynchronousMachine( com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine.Builder builderForValue) { if (synchronousMachineBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { synchronousMachineBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 78; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine synchronousMachine = 78; */ public Builder mergeSynchronousMachine(com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine value) { if (synchronousMachineBuilder_ == null) { if (identifiedObjectCase_ == 78 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 78) { synchronousMachineBuilder_.mergeFrom(value); } else { synchronousMachineBuilder_.setMessage(value); } } identifiedObjectCase_ = 78; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine synchronousMachine = 78; */ public Builder clearSynchronousMachine() { if (synchronousMachineBuilder_ == null) { if (identifiedObjectCase_ == 78) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 78) { identifiedObjectCase_ = 0; identifiedObject_ = null; } synchronousMachineBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine synchronousMachine = 78; */ public com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine.Builder getSynchronousMachineBuilder() { return getSynchronousMachineFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine synchronousMachine = 78; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachineOrBuilder getSynchronousMachineOrBuilder() { if ((identifiedObjectCase_ == 78) && (synchronousMachineBuilder_ != null)) { return synchronousMachineBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 78) { return (com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine synchronousMachine = 78; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine, com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine.Builder, com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachineOrBuilder> getSynchronousMachineFieldBuilder() { if (synchronousMachineBuilder_ == null) { if (!(identifiedObjectCase_ == 78)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine.getDefaultInstance(); } synchronousMachineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine, com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine.Builder, com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachineOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.SynchronousMachine) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 78; onChanged(); return synchronousMachineBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve, com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve.Builder, com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurveOrBuilder> reactiveCapabilityCurveBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve reactiveCapabilityCurve = 79; * @return Whether the reactiveCapabilityCurve field is set. */ @java.lang.Override public boolean hasReactiveCapabilityCurve() { return identifiedObjectCase_ == 79; } /** * .zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve reactiveCapabilityCurve = 79; * @return The reactiveCapabilityCurve. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve getReactiveCapabilityCurve() { if (reactiveCapabilityCurveBuilder_ == null) { if (identifiedObjectCase_ == 79) { return (com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve.getDefaultInstance(); } else { if (identifiedObjectCase_ == 79) { return reactiveCapabilityCurveBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve reactiveCapabilityCurve = 79; */ public Builder setReactiveCapabilityCurve(com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve value) { if (reactiveCapabilityCurveBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { reactiveCapabilityCurveBuilder_.setMessage(value); } identifiedObjectCase_ = 79; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve reactiveCapabilityCurve = 79; */ public Builder setReactiveCapabilityCurve( com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve.Builder builderForValue) { if (reactiveCapabilityCurveBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { reactiveCapabilityCurveBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 79; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve reactiveCapabilityCurve = 79; */ public Builder mergeReactiveCapabilityCurve(com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve value) { if (reactiveCapabilityCurveBuilder_ == null) { if (identifiedObjectCase_ == 79 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 79) { reactiveCapabilityCurveBuilder_.mergeFrom(value); } else { reactiveCapabilityCurveBuilder_.setMessage(value); } } identifiedObjectCase_ = 79; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve reactiveCapabilityCurve = 79; */ public Builder clearReactiveCapabilityCurve() { if (reactiveCapabilityCurveBuilder_ == null) { if (identifiedObjectCase_ == 79) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 79) { identifiedObjectCase_ = 0; identifiedObject_ = null; } reactiveCapabilityCurveBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve reactiveCapabilityCurve = 79; */ public com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve.Builder getReactiveCapabilityCurveBuilder() { return getReactiveCapabilityCurveFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve reactiveCapabilityCurve = 79; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurveOrBuilder getReactiveCapabilityCurveOrBuilder() { if ((identifiedObjectCase_ == 79) && (reactiveCapabilityCurveBuilder_ != null)) { return reactiveCapabilityCurveBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 79) { return (com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve reactiveCapabilityCurve = 79; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve, com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve.Builder, com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurveOrBuilder> getReactiveCapabilityCurveFieldBuilder() { if (reactiveCapabilityCurveBuilder_ == null) { if (!(identifiedObjectCase_ == 79)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve.getDefaultInstance(); } reactiveCapabilityCurveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve, com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve.Builder, com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurveOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.ReactiveCapabilityCurve) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 79; onChanged(); return reactiveCapabilityCurveBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance, com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance.Builder, com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedanceOrBuilder> groundingImpedanceBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance groundingImpedance = 80; * @return Whether the groundingImpedance field is set. */ @java.lang.Override public boolean hasGroundingImpedance() { return identifiedObjectCase_ == 80; } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance groundingImpedance = 80; * @return The groundingImpedance. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance getGroundingImpedance() { if (groundingImpedanceBuilder_ == null) { if (identifiedObjectCase_ == 80) { return (com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance.getDefaultInstance(); } else { if (identifiedObjectCase_ == 80) { return groundingImpedanceBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance groundingImpedance = 80; */ public Builder setGroundingImpedance(com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance value) { if (groundingImpedanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { groundingImpedanceBuilder_.setMessage(value); } identifiedObjectCase_ = 80; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance groundingImpedance = 80; */ public Builder setGroundingImpedance( com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance.Builder builderForValue) { if (groundingImpedanceBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { groundingImpedanceBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 80; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance groundingImpedance = 80; */ public Builder mergeGroundingImpedance(com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance value) { if (groundingImpedanceBuilder_ == null) { if (identifiedObjectCase_ == 80 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 80) { groundingImpedanceBuilder_.mergeFrom(value); } else { groundingImpedanceBuilder_.setMessage(value); } } identifiedObjectCase_ = 80; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance groundingImpedance = 80; */ public Builder clearGroundingImpedance() { if (groundingImpedanceBuilder_ == null) { if (identifiedObjectCase_ == 80) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 80) { identifiedObjectCase_ = 0; identifiedObject_ = null; } groundingImpedanceBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance groundingImpedance = 80; */ public com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance.Builder getGroundingImpedanceBuilder() { return getGroundingImpedanceFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance groundingImpedance = 80; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedanceOrBuilder getGroundingImpedanceOrBuilder() { if ((identifiedObjectCase_ == 80) && (groundingImpedanceBuilder_ != null)) { return groundingImpedanceBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 80) { return (com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance groundingImpedance = 80; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance, com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance.Builder, com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedanceOrBuilder> getGroundingImpedanceFieldBuilder() { if (groundingImpedanceBuilder_ == null) { if (!(identifiedObjectCase_ == 80)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance.getDefaultInstance(); } groundingImpedanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance, com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance.Builder, com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedanceOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.GroundingImpedance) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 80; onChanged(); return groundingImpedanceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil, com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoilOrBuilder> petersenCoilBuilder_; /** * .zepben.protobuf.cim.iec61970.base.wires.PetersenCoil petersenCoil = 81; * @return Whether the petersenCoil field is set. */ @java.lang.Override public boolean hasPetersenCoil() { return identifiedObjectCase_ == 81; } /** * .zepben.protobuf.cim.iec61970.base.wires.PetersenCoil petersenCoil = 81; * @return The petersenCoil. */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil getPetersenCoil() { if (petersenCoilBuilder_ == null) { if (identifiedObjectCase_ == 81) { return (com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil.getDefaultInstance(); } else { if (identifiedObjectCase_ == 81) { return petersenCoilBuilder_.getMessage(); } return com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.PetersenCoil petersenCoil = 81; */ public Builder setPetersenCoil(com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil value) { if (petersenCoilBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { petersenCoilBuilder_.setMessage(value); } identifiedObjectCase_ = 81; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PetersenCoil petersenCoil = 81; */ public Builder setPetersenCoil( com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil.Builder builderForValue) { if (petersenCoilBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { petersenCoilBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 81; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PetersenCoil petersenCoil = 81; */ public Builder mergePetersenCoil(com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil value) { if (petersenCoilBuilder_ == null) { if (identifiedObjectCase_ == 81 && identifiedObject_ != com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil.getDefaultInstance()) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil.newBuilder((com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 81) { petersenCoilBuilder_.mergeFrom(value); } else { petersenCoilBuilder_.setMessage(value); } } identifiedObjectCase_ = 81; return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PetersenCoil petersenCoil = 81; */ public Builder clearPetersenCoil() { if (petersenCoilBuilder_ == null) { if (identifiedObjectCase_ == 81) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 81) { identifiedObjectCase_ = 0; identifiedObject_ = null; } petersenCoilBuilder_.clear(); } return this; } /** * .zepben.protobuf.cim.iec61970.base.wires.PetersenCoil petersenCoil = 81; */ public com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil.Builder getPetersenCoilBuilder() { return getPetersenCoilFieldBuilder().getBuilder(); } /** * .zepben.protobuf.cim.iec61970.base.wires.PetersenCoil petersenCoil = 81; */ @java.lang.Override public com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoilOrBuilder getPetersenCoilOrBuilder() { if ((identifiedObjectCase_ == 81) && (petersenCoilBuilder_ != null)) { return petersenCoilBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 81) { return (com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil) identifiedObject_; } return com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil.getDefaultInstance(); } } /** * .zepben.protobuf.cim.iec61970.base.wires.PetersenCoil petersenCoil = 81; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil, com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoilOrBuilder> getPetersenCoilFieldBuilder() { if (petersenCoilBuilder_ == null) { if (!(identifiedObjectCase_ == 81)) { identifiedObject_ = com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil.getDefaultInstance(); } petersenCoilBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil, com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil.Builder, com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoilOrBuilder>( (com.zepben.protobuf.cim.iec61970.base.wires.PetersenCoil) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 81; onChanged(); return petersenCoilBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> otherBuilder_; /** * .google.protobuf.Any other = 999; * @return Whether the other field is set. */ @java.lang.Override public boolean hasOther() { return identifiedObjectCase_ == 999; } /** * .google.protobuf.Any other = 999; * @return The other. */ @java.lang.Override public com.google.protobuf.Any getOther() { if (otherBuilder_ == null) { if (identifiedObjectCase_ == 999) { return (com.google.protobuf.Any) identifiedObject_; } return com.google.protobuf.Any.getDefaultInstance(); } else { if (identifiedObjectCase_ == 999) { return otherBuilder_.getMessage(); } return com.google.protobuf.Any.getDefaultInstance(); } } /** * .google.protobuf.Any other = 999; */ public Builder setOther(com.google.protobuf.Any value) { if (otherBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifiedObject_ = value; onChanged(); } else { otherBuilder_.setMessage(value); } identifiedObjectCase_ = 999; return this; } /** * .google.protobuf.Any other = 999; */ public Builder setOther( com.google.protobuf.Any.Builder builderForValue) { if (otherBuilder_ == null) { identifiedObject_ = builderForValue.build(); onChanged(); } else { otherBuilder_.setMessage(builderForValue.build()); } identifiedObjectCase_ = 999; return this; } /** * .google.protobuf.Any other = 999; */ public Builder mergeOther(com.google.protobuf.Any value) { if (otherBuilder_ == null) { if (identifiedObjectCase_ == 999 && identifiedObject_ != com.google.protobuf.Any.getDefaultInstance()) { identifiedObject_ = com.google.protobuf.Any.newBuilder((com.google.protobuf.Any) identifiedObject_) .mergeFrom(value).buildPartial(); } else { identifiedObject_ = value; } onChanged(); } else { if (identifiedObjectCase_ == 999) { otherBuilder_.mergeFrom(value); } else { otherBuilder_.setMessage(value); } } identifiedObjectCase_ = 999; return this; } /** * .google.protobuf.Any other = 999; */ public Builder clearOther() { if (otherBuilder_ == null) { if (identifiedObjectCase_ == 999) { identifiedObjectCase_ = 0; identifiedObject_ = null; onChanged(); } } else { if (identifiedObjectCase_ == 999) { identifiedObjectCase_ = 0; identifiedObject_ = null; } otherBuilder_.clear(); } return this; } /** * .google.protobuf.Any other = 999; */ public com.google.protobuf.Any.Builder getOtherBuilder() { return getOtherFieldBuilder().getBuilder(); } /** * .google.protobuf.Any other = 999; */ @java.lang.Override public com.google.protobuf.AnyOrBuilder getOtherOrBuilder() { if ((identifiedObjectCase_ == 999) && (otherBuilder_ != null)) { return otherBuilder_.getMessageOrBuilder(); } else { if (identifiedObjectCase_ == 999) { return (com.google.protobuf.Any) identifiedObject_; } return com.google.protobuf.Any.getDefaultInstance(); } } /** * .google.protobuf.Any other = 999; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getOtherFieldBuilder() { if (otherBuilder_ == null) { if (!(identifiedObjectCase_ == 999)) { identifiedObject_ = com.google.protobuf.Any.getDefaultInstance(); } otherBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( (com.google.protobuf.Any) identifiedObject_, getParentForChildren(), isClean()); identifiedObject_ = null; } identifiedObjectCase_ = 999; onChanged(); return otherBuilder_; } @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.nc.NetworkIdentifiedObject) } // @@protoc_insertion_point(class_scope:zepben.protobuf.nc.NetworkIdentifiedObject) private static final com.zepben.protobuf.nc.NetworkIdentifiedObject DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.zepben.protobuf.nc.NetworkIdentifiedObject(); } public static com.zepben.protobuf.nc.NetworkIdentifiedObject getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NetworkIdentifiedObject 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.nc.NetworkIdentifiedObject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy