com.zepben.protobuf.hc.opendss.DemandIntervalReport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of evolve-grpc Show documentation
Show all versions of evolve-grpc Show documentation
Protobuf and gRPC definitions for the evolve platform
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: zepben/protobuf/hc/opendss/EnergyMeter.proto
package com.zepben.protobuf.hc.opendss;
/**
*
**
* Message for streaming the records written to DI_MHandle in WriteDemandIntervalData (top).
*
*
* Protobuf type {@code DemandIntervalReport}
*/
public final class DemandIntervalReport extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:DemandIntervalReport)
DemandIntervalReportOrBuilder {
private static final long serialVersionUID = 0L;
// Use DemandIntervalReport.newBuilder() to construct.
private DemandIntervalReport(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DemandIntervalReport() {
element_ = "";
voltBases_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DemandIntervalReport();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.zepben.protobuf.hc.opendss.EnergyMeter.internal_static_DemandIntervalReport_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.zepben.protobuf.hc.opendss.EnergyMeter.internal_static_DemandIntervalReport_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.zepben.protobuf.hc.opendss.DemandIntervalReport.class, com.zepben.protobuf.hc.opendss.DemandIntervalReport.Builder.class);
}
public static final int ELEMENT_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object element_ = "";
/**
* string element = 1;
* @return The element.
*/
@java.lang.Override
public java.lang.String getElement() {
java.lang.Object ref = element_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
element_ = s;
return s;
}
}
/**
* string element = 1;
* @return The bytes for element.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getElementBytes() {
java.lang.Object ref = element_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
element_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HOUR_FIELD_NUMBER = 2;
private double hour_ = 0D;
/**
* double hour = 2;
* @return The hour.
*/
@java.lang.Override
public double getHour() {
return hour_;
}
public static final int KWH_FIELD_NUMBER = 3;
private double kwh_ = 0D;
/**
* double kwh = 3;
* @return The kwh.
*/
@java.lang.Override
public double getKwh() {
return kwh_;
}
public static final int KVARH_FIELD_NUMBER = 4;
private double kvarh_ = 0D;
/**
* double kvarh = 4;
* @return The kvarh.
*/
@java.lang.Override
public double getKvarh() {
return kvarh_;
}
public static final int MAXKW_FIELD_NUMBER = 5;
private double maxKw_ = 0D;
/**
* double maxKw = 5;
* @return The maxKw.
*/
@java.lang.Override
public double getMaxKw() {
return maxKw_;
}
public static final int MAXKVA_FIELD_NUMBER = 6;
private double maxKva_ = 0D;
/**
* double maxKva = 6;
* @return The maxKva.
*/
@java.lang.Override
public double getMaxKva() {
return maxKva_;
}
public static final int ZONEKWH_FIELD_NUMBER = 7;
private double zoneKwh_ = 0D;
/**
* double zoneKwh = 7;
* @return The zoneKwh.
*/
@java.lang.Override
public double getZoneKwh() {
return zoneKwh_;
}
public static final int ZONEKVARH_FIELD_NUMBER = 8;
private double zoneKvarh_ = 0D;
/**
* double zoneKvarh = 8;
* @return The zoneKvarh.
*/
@java.lang.Override
public double getZoneKvarh() {
return zoneKvarh_;
}
public static final int ZONEMAXKW_FIELD_NUMBER = 9;
private double zoneMaxKw_ = 0D;
/**
* double zoneMaxKw = 9;
* @return The zoneMaxKw.
*/
@java.lang.Override
public double getZoneMaxKw() {
return zoneMaxKw_;
}
public static final int ZONEMAXKVA_FIELD_NUMBER = 10;
private double zoneMaxKva_ = 0D;
/**
* double zoneMaxKva = 10;
* @return The zoneMaxKva.
*/
@java.lang.Override
public double getZoneMaxKva() {
return zoneMaxKva_;
}
public static final int OVERLOADKWHNORMAL_FIELD_NUMBER = 11;
private double overloadKwhNormal_ = 0D;
/**
* double overloadKwhNormal = 11;
* @return The overloadKwhNormal.
*/
@java.lang.Override
public double getOverloadKwhNormal() {
return overloadKwhNormal_;
}
public static final int OVERLOADKWHEMERG_FIELD_NUMBER = 12;
private double overloadKwhEmerg_ = 0D;
/**
* double overloadKwhEmerg = 12;
* @return The overloadKwhEmerg.
*/
@java.lang.Override
public double getOverloadKwhEmerg() {
return overloadKwhEmerg_;
}
public static final int LOADEEN_FIELD_NUMBER = 13;
private double loadEEN_ = 0D;
/**
* double loadEEN = 13;
* @return The loadEEN.
*/
@java.lang.Override
public double getLoadEEN() {
return loadEEN_;
}
public static final int LOADUE_FIELD_NUMBER = 14;
private double loadUE_ = 0D;
/**
* double loadUE = 14;
* @return The loadUE.
*/
@java.lang.Override
public double getLoadUE() {
return loadUE_;
}
public static final int ZONELOSSESKWH_FIELD_NUMBER = 15;
private double zoneLossesKwh_ = 0D;
/**
* double zoneLossesKwh = 15;
* @return The zoneLossesKwh.
*/
@java.lang.Override
public double getZoneLossesKwh() {
return zoneLossesKwh_;
}
public static final int ZONELOSSESKVARH_FIELD_NUMBER = 16;
private double zoneLossesKvarh_ = 0D;
/**
* double zoneLossesKvarh = 16;
* @return The zoneLossesKvarh.
*/
@java.lang.Override
public double getZoneLossesKvarh() {
return zoneLossesKvarh_;
}
public static final int ZONEMAXKWLOSSES_FIELD_NUMBER = 17;
private double zoneMaxKwLosses_ = 0D;
/**
* double zoneMaxKwLosses = 17;
* @return The zoneMaxKwLosses.
*/
@java.lang.Override
public double getZoneMaxKwLosses() {
return zoneMaxKwLosses_;
}
public static final int ZONEMAXKVARLOSSES_FIELD_NUMBER = 18;
private double zoneMaxKvarLosses_ = 0D;
/**
* double zoneMaxKvarLosses = 18;
* @return The zoneMaxKvarLosses.
*/
@java.lang.Override
public double getZoneMaxKvarLosses() {
return zoneMaxKvarLosses_;
}
public static final int LOADLOSSESKWH_FIELD_NUMBER = 19;
private double loadLossesKwh_ = 0D;
/**
* double loadLossesKwh = 19;
* @return The loadLossesKwh.
*/
@java.lang.Override
public double getLoadLossesKwh() {
return loadLossesKwh_;
}
public static final int LOADLOSSESKVARH_FIELD_NUMBER = 20;
private double loadLossesKvarh_ = 0D;
/**
* double loadLossesKvarh = 20;
* @return The loadLossesKvarh.
*/
@java.lang.Override
public double getLoadLossesKvarh() {
return loadLossesKvarh_;
}
public static final int NOLOADLOSSESKWH_FIELD_NUMBER = 21;
private double noLoadLossesKwh_ = 0D;
/**
* double noLoadLossesKwh = 21;
* @return The noLoadLossesKwh.
*/
@java.lang.Override
public double getNoLoadLossesKwh() {
return noLoadLossesKwh_;
}
public static final int NOLOADLOSSESKVARH_FIELD_NUMBER = 22;
private double noLoadLossesKvarh_ = 0D;
/**
* double noLoadLossesKvarh = 22;
* @return The noLoadLossesKvarh.
*/
@java.lang.Override
public double getNoLoadLossesKvarh() {
return noLoadLossesKvarh_;
}
public static final int MAXKWLOADLOSSES_FIELD_NUMBER = 23;
private double maxKwLoadLosses_ = 0D;
/**
* double maxKwLoadLosses = 23;
* @return The maxKwLoadLosses.
*/
@java.lang.Override
public double getMaxKwLoadLosses() {
return maxKwLoadLosses_;
}
public static final int MAXKWNOLOADLOSSES_FIELD_NUMBER = 24;
private double maxKwNoLoadLosses_ = 0D;
/**
* double maxKwNoLoadLosses = 24;
* @return The maxKwNoLoadLosses.
*/
@java.lang.Override
public double getMaxKwNoLoadLosses() {
return maxKwNoLoadLosses_;
}
public static final int LINELOSSES_FIELD_NUMBER = 25;
private double lineLosses_ = 0D;
/**
* double lineLosses = 25;
* @return The lineLosses.
*/
@java.lang.Override
public double getLineLosses() {
return lineLosses_;
}
public static final int TRANSFORMERLOSSES_FIELD_NUMBER = 26;
private double transformerLosses_ = 0D;
/**
* double transformerLosses = 26;
* @return The transformerLosses.
*/
@java.lang.Override
public double getTransformerLosses() {
return transformerLosses_;
}
public static final int LINEMODELINELOSSES_FIELD_NUMBER = 27;
private double lineModeLineLosses_ = 0D;
/**
* double lineModeLineLosses = 27;
* @return The lineModeLineLosses.
*/
@java.lang.Override
public double getLineModeLineLosses() {
return lineModeLineLosses_;
}
public static final int ZEROMODELINELOSSES_FIELD_NUMBER = 28;
private double zeroModeLineLosses_ = 0D;
/**
* double zeroModeLineLosses = 28;
* @return The zeroModeLineLosses.
*/
@java.lang.Override
public double getZeroModeLineLosses() {
return zeroModeLineLosses_;
}
public static final int PHASELINELOSSES3_FIELD_NUMBER = 29;
private double phaseLineLosses3_ = 0D;
/**
* double phaseLineLosses3 = 29;
* @return The phaseLineLosses3.
*/
@java.lang.Override
public double getPhaseLineLosses3() {
return phaseLineLosses3_;
}
public static final int PHASELINELOSSES12_FIELD_NUMBER = 30;
private double phaseLineLosses12_ = 0D;
/**
* double phaseLineLosses12 = 30;
* @return The phaseLineLosses12.
*/
@java.lang.Override
public double getPhaseLineLosses12() {
return phaseLineLosses12_;
}
public static final int GENKWH_FIELD_NUMBER = 31;
private double genKwh_ = 0D;
/**
* double genKwh = 31;
* @return The genKwh.
*/
@java.lang.Override
public double getGenKwh() {
return genKwh_;
}
public static final int GENKVARH_FIELD_NUMBER = 32;
private double genKvarh_ = 0D;
/**
* double genKvarh = 32;
* @return The genKvarh.
*/
@java.lang.Override
public double getGenKvarh() {
return genKvarh_;
}
public static final int GENMAXKW_FIELD_NUMBER = 33;
private double genMaxKw_ = 0D;
/**
* double genMaxKw = 33;
* @return The genMaxKw.
*/
@java.lang.Override
public double getGenMaxKw() {
return genMaxKw_;
}
public static final int GENMAXKVA_FIELD_NUMBER = 34;
private double genMaxKva_ = 0D;
/**
* double genMaxKva = 34;
* @return The genMaxKva.
*/
@java.lang.Override
public double getGenMaxKva() {
return genMaxKva_;
}
public static final int VOLTBASES_FIELD_NUMBER = 35;
@SuppressWarnings("serial")
private java.util.List voltBases_;
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
@java.lang.Override
public java.util.List getVoltBasesList() {
return voltBases_;
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
@java.lang.Override
public java.util.List extends com.zepben.protobuf.hc.opendss.VoltBaseRegistersOrBuilder>
getVoltBasesOrBuilderList() {
return voltBases_;
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
@java.lang.Override
public int getVoltBasesCount() {
return voltBases_.size();
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.VoltBaseRegisters getVoltBases(int index) {
return voltBases_.get(index);
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.VoltBaseRegistersOrBuilder getVoltBasesOrBuilder(
int index) {
return voltBases_.get(index);
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(element_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, element_);
}
if (java.lang.Double.doubleToRawLongBits(hour_) != 0) {
output.writeDouble(2, hour_);
}
if (java.lang.Double.doubleToRawLongBits(kwh_) != 0) {
output.writeDouble(3, kwh_);
}
if (java.lang.Double.doubleToRawLongBits(kvarh_) != 0) {
output.writeDouble(4, kvarh_);
}
if (java.lang.Double.doubleToRawLongBits(maxKw_) != 0) {
output.writeDouble(5, maxKw_);
}
if (java.lang.Double.doubleToRawLongBits(maxKva_) != 0) {
output.writeDouble(6, maxKva_);
}
if (java.lang.Double.doubleToRawLongBits(zoneKwh_) != 0) {
output.writeDouble(7, zoneKwh_);
}
if (java.lang.Double.doubleToRawLongBits(zoneKvarh_) != 0) {
output.writeDouble(8, zoneKvarh_);
}
if (java.lang.Double.doubleToRawLongBits(zoneMaxKw_) != 0) {
output.writeDouble(9, zoneMaxKw_);
}
if (java.lang.Double.doubleToRawLongBits(zoneMaxKva_) != 0) {
output.writeDouble(10, zoneMaxKva_);
}
if (java.lang.Double.doubleToRawLongBits(overloadKwhNormal_) != 0) {
output.writeDouble(11, overloadKwhNormal_);
}
if (java.lang.Double.doubleToRawLongBits(overloadKwhEmerg_) != 0) {
output.writeDouble(12, overloadKwhEmerg_);
}
if (java.lang.Double.doubleToRawLongBits(loadEEN_) != 0) {
output.writeDouble(13, loadEEN_);
}
if (java.lang.Double.doubleToRawLongBits(loadUE_) != 0) {
output.writeDouble(14, loadUE_);
}
if (java.lang.Double.doubleToRawLongBits(zoneLossesKwh_) != 0) {
output.writeDouble(15, zoneLossesKwh_);
}
if (java.lang.Double.doubleToRawLongBits(zoneLossesKvarh_) != 0) {
output.writeDouble(16, zoneLossesKvarh_);
}
if (java.lang.Double.doubleToRawLongBits(zoneMaxKwLosses_) != 0) {
output.writeDouble(17, zoneMaxKwLosses_);
}
if (java.lang.Double.doubleToRawLongBits(zoneMaxKvarLosses_) != 0) {
output.writeDouble(18, zoneMaxKvarLosses_);
}
if (java.lang.Double.doubleToRawLongBits(loadLossesKwh_) != 0) {
output.writeDouble(19, loadLossesKwh_);
}
if (java.lang.Double.doubleToRawLongBits(loadLossesKvarh_) != 0) {
output.writeDouble(20, loadLossesKvarh_);
}
if (java.lang.Double.doubleToRawLongBits(noLoadLossesKwh_) != 0) {
output.writeDouble(21, noLoadLossesKwh_);
}
if (java.lang.Double.doubleToRawLongBits(noLoadLossesKvarh_) != 0) {
output.writeDouble(22, noLoadLossesKvarh_);
}
if (java.lang.Double.doubleToRawLongBits(maxKwLoadLosses_) != 0) {
output.writeDouble(23, maxKwLoadLosses_);
}
if (java.lang.Double.doubleToRawLongBits(maxKwNoLoadLosses_) != 0) {
output.writeDouble(24, maxKwNoLoadLosses_);
}
if (java.lang.Double.doubleToRawLongBits(lineLosses_) != 0) {
output.writeDouble(25, lineLosses_);
}
if (java.lang.Double.doubleToRawLongBits(transformerLosses_) != 0) {
output.writeDouble(26, transformerLosses_);
}
if (java.lang.Double.doubleToRawLongBits(lineModeLineLosses_) != 0) {
output.writeDouble(27, lineModeLineLosses_);
}
if (java.lang.Double.doubleToRawLongBits(zeroModeLineLosses_) != 0) {
output.writeDouble(28, zeroModeLineLosses_);
}
if (java.lang.Double.doubleToRawLongBits(phaseLineLosses3_) != 0) {
output.writeDouble(29, phaseLineLosses3_);
}
if (java.lang.Double.doubleToRawLongBits(phaseLineLosses12_) != 0) {
output.writeDouble(30, phaseLineLosses12_);
}
if (java.lang.Double.doubleToRawLongBits(genKwh_) != 0) {
output.writeDouble(31, genKwh_);
}
if (java.lang.Double.doubleToRawLongBits(genKvarh_) != 0) {
output.writeDouble(32, genKvarh_);
}
if (java.lang.Double.doubleToRawLongBits(genMaxKw_) != 0) {
output.writeDouble(33, genMaxKw_);
}
if (java.lang.Double.doubleToRawLongBits(genMaxKva_) != 0) {
output.writeDouble(34, genMaxKva_);
}
for (int i = 0; i < voltBases_.size(); i++) {
output.writeMessage(35, voltBases_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(element_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, element_);
}
if (java.lang.Double.doubleToRawLongBits(hour_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(2, hour_);
}
if (java.lang.Double.doubleToRawLongBits(kwh_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(3, kwh_);
}
if (java.lang.Double.doubleToRawLongBits(kvarh_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(4, kvarh_);
}
if (java.lang.Double.doubleToRawLongBits(maxKw_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(5, maxKw_);
}
if (java.lang.Double.doubleToRawLongBits(maxKva_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(6, maxKva_);
}
if (java.lang.Double.doubleToRawLongBits(zoneKwh_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(7, zoneKwh_);
}
if (java.lang.Double.doubleToRawLongBits(zoneKvarh_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(8, zoneKvarh_);
}
if (java.lang.Double.doubleToRawLongBits(zoneMaxKw_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(9, zoneMaxKw_);
}
if (java.lang.Double.doubleToRawLongBits(zoneMaxKva_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(10, zoneMaxKva_);
}
if (java.lang.Double.doubleToRawLongBits(overloadKwhNormal_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(11, overloadKwhNormal_);
}
if (java.lang.Double.doubleToRawLongBits(overloadKwhEmerg_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(12, overloadKwhEmerg_);
}
if (java.lang.Double.doubleToRawLongBits(loadEEN_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(13, loadEEN_);
}
if (java.lang.Double.doubleToRawLongBits(loadUE_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(14, loadUE_);
}
if (java.lang.Double.doubleToRawLongBits(zoneLossesKwh_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(15, zoneLossesKwh_);
}
if (java.lang.Double.doubleToRawLongBits(zoneLossesKvarh_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(16, zoneLossesKvarh_);
}
if (java.lang.Double.doubleToRawLongBits(zoneMaxKwLosses_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(17, zoneMaxKwLosses_);
}
if (java.lang.Double.doubleToRawLongBits(zoneMaxKvarLosses_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(18, zoneMaxKvarLosses_);
}
if (java.lang.Double.doubleToRawLongBits(loadLossesKwh_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(19, loadLossesKwh_);
}
if (java.lang.Double.doubleToRawLongBits(loadLossesKvarh_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(20, loadLossesKvarh_);
}
if (java.lang.Double.doubleToRawLongBits(noLoadLossesKwh_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(21, noLoadLossesKwh_);
}
if (java.lang.Double.doubleToRawLongBits(noLoadLossesKvarh_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(22, noLoadLossesKvarh_);
}
if (java.lang.Double.doubleToRawLongBits(maxKwLoadLosses_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(23, maxKwLoadLosses_);
}
if (java.lang.Double.doubleToRawLongBits(maxKwNoLoadLosses_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(24, maxKwNoLoadLosses_);
}
if (java.lang.Double.doubleToRawLongBits(lineLosses_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(25, lineLosses_);
}
if (java.lang.Double.doubleToRawLongBits(transformerLosses_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(26, transformerLosses_);
}
if (java.lang.Double.doubleToRawLongBits(lineModeLineLosses_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(27, lineModeLineLosses_);
}
if (java.lang.Double.doubleToRawLongBits(zeroModeLineLosses_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(28, zeroModeLineLosses_);
}
if (java.lang.Double.doubleToRawLongBits(phaseLineLosses3_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(29, phaseLineLosses3_);
}
if (java.lang.Double.doubleToRawLongBits(phaseLineLosses12_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(30, phaseLineLosses12_);
}
if (java.lang.Double.doubleToRawLongBits(genKwh_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(31, genKwh_);
}
if (java.lang.Double.doubleToRawLongBits(genKvarh_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(32, genKvarh_);
}
if (java.lang.Double.doubleToRawLongBits(genMaxKw_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(33, genMaxKw_);
}
if (java.lang.Double.doubleToRawLongBits(genMaxKva_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(34, genMaxKva_);
}
for (int i = 0; i < voltBases_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(35, voltBases_.get(i));
}
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.hc.opendss.DemandIntervalReport)) {
return super.equals(obj);
}
com.zepben.protobuf.hc.opendss.DemandIntervalReport other = (com.zepben.protobuf.hc.opendss.DemandIntervalReport) obj;
if (!getElement()
.equals(other.getElement())) return false;
if (java.lang.Double.doubleToLongBits(getHour())
!= java.lang.Double.doubleToLongBits(
other.getHour())) return false;
if (java.lang.Double.doubleToLongBits(getKwh())
!= java.lang.Double.doubleToLongBits(
other.getKwh())) return false;
if (java.lang.Double.doubleToLongBits(getKvarh())
!= java.lang.Double.doubleToLongBits(
other.getKvarh())) return false;
if (java.lang.Double.doubleToLongBits(getMaxKw())
!= java.lang.Double.doubleToLongBits(
other.getMaxKw())) return false;
if (java.lang.Double.doubleToLongBits(getMaxKva())
!= java.lang.Double.doubleToLongBits(
other.getMaxKva())) return false;
if (java.lang.Double.doubleToLongBits(getZoneKwh())
!= java.lang.Double.doubleToLongBits(
other.getZoneKwh())) return false;
if (java.lang.Double.doubleToLongBits(getZoneKvarh())
!= java.lang.Double.doubleToLongBits(
other.getZoneKvarh())) return false;
if (java.lang.Double.doubleToLongBits(getZoneMaxKw())
!= java.lang.Double.doubleToLongBits(
other.getZoneMaxKw())) return false;
if (java.lang.Double.doubleToLongBits(getZoneMaxKva())
!= java.lang.Double.doubleToLongBits(
other.getZoneMaxKva())) return false;
if (java.lang.Double.doubleToLongBits(getOverloadKwhNormal())
!= java.lang.Double.doubleToLongBits(
other.getOverloadKwhNormal())) return false;
if (java.lang.Double.doubleToLongBits(getOverloadKwhEmerg())
!= java.lang.Double.doubleToLongBits(
other.getOverloadKwhEmerg())) return false;
if (java.lang.Double.doubleToLongBits(getLoadEEN())
!= java.lang.Double.doubleToLongBits(
other.getLoadEEN())) return false;
if (java.lang.Double.doubleToLongBits(getLoadUE())
!= java.lang.Double.doubleToLongBits(
other.getLoadUE())) return false;
if (java.lang.Double.doubleToLongBits(getZoneLossesKwh())
!= java.lang.Double.doubleToLongBits(
other.getZoneLossesKwh())) return false;
if (java.lang.Double.doubleToLongBits(getZoneLossesKvarh())
!= java.lang.Double.doubleToLongBits(
other.getZoneLossesKvarh())) return false;
if (java.lang.Double.doubleToLongBits(getZoneMaxKwLosses())
!= java.lang.Double.doubleToLongBits(
other.getZoneMaxKwLosses())) return false;
if (java.lang.Double.doubleToLongBits(getZoneMaxKvarLosses())
!= java.lang.Double.doubleToLongBits(
other.getZoneMaxKvarLosses())) return false;
if (java.lang.Double.doubleToLongBits(getLoadLossesKwh())
!= java.lang.Double.doubleToLongBits(
other.getLoadLossesKwh())) return false;
if (java.lang.Double.doubleToLongBits(getLoadLossesKvarh())
!= java.lang.Double.doubleToLongBits(
other.getLoadLossesKvarh())) return false;
if (java.lang.Double.doubleToLongBits(getNoLoadLossesKwh())
!= java.lang.Double.doubleToLongBits(
other.getNoLoadLossesKwh())) return false;
if (java.lang.Double.doubleToLongBits(getNoLoadLossesKvarh())
!= java.lang.Double.doubleToLongBits(
other.getNoLoadLossesKvarh())) return false;
if (java.lang.Double.doubleToLongBits(getMaxKwLoadLosses())
!= java.lang.Double.doubleToLongBits(
other.getMaxKwLoadLosses())) return false;
if (java.lang.Double.doubleToLongBits(getMaxKwNoLoadLosses())
!= java.lang.Double.doubleToLongBits(
other.getMaxKwNoLoadLosses())) return false;
if (java.lang.Double.doubleToLongBits(getLineLosses())
!= java.lang.Double.doubleToLongBits(
other.getLineLosses())) return false;
if (java.lang.Double.doubleToLongBits(getTransformerLosses())
!= java.lang.Double.doubleToLongBits(
other.getTransformerLosses())) return false;
if (java.lang.Double.doubleToLongBits(getLineModeLineLosses())
!= java.lang.Double.doubleToLongBits(
other.getLineModeLineLosses())) return false;
if (java.lang.Double.doubleToLongBits(getZeroModeLineLosses())
!= java.lang.Double.doubleToLongBits(
other.getZeroModeLineLosses())) return false;
if (java.lang.Double.doubleToLongBits(getPhaseLineLosses3())
!= java.lang.Double.doubleToLongBits(
other.getPhaseLineLosses3())) return false;
if (java.lang.Double.doubleToLongBits(getPhaseLineLosses12())
!= java.lang.Double.doubleToLongBits(
other.getPhaseLineLosses12())) return false;
if (java.lang.Double.doubleToLongBits(getGenKwh())
!= java.lang.Double.doubleToLongBits(
other.getGenKwh())) return false;
if (java.lang.Double.doubleToLongBits(getGenKvarh())
!= java.lang.Double.doubleToLongBits(
other.getGenKvarh())) return false;
if (java.lang.Double.doubleToLongBits(getGenMaxKw())
!= java.lang.Double.doubleToLongBits(
other.getGenMaxKw())) return false;
if (java.lang.Double.doubleToLongBits(getGenMaxKva())
!= java.lang.Double.doubleToLongBits(
other.getGenMaxKva())) return false;
if (!getVoltBasesList()
.equals(other.getVoltBasesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ELEMENT_FIELD_NUMBER;
hash = (53 * hash) + getElement().hashCode();
hash = (37 * hash) + HOUR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getHour()));
hash = (37 * hash) + KWH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getKwh()));
hash = (37 * hash) + KVARH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getKvarh()));
hash = (37 * hash) + MAXKW_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getMaxKw()));
hash = (37 * hash) + MAXKVA_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getMaxKva()));
hash = (37 * hash) + ZONEKWH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getZoneKwh()));
hash = (37 * hash) + ZONEKVARH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getZoneKvarh()));
hash = (37 * hash) + ZONEMAXKW_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getZoneMaxKw()));
hash = (37 * hash) + ZONEMAXKVA_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getZoneMaxKva()));
hash = (37 * hash) + OVERLOADKWHNORMAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getOverloadKwhNormal()));
hash = (37 * hash) + OVERLOADKWHEMERG_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getOverloadKwhEmerg()));
hash = (37 * hash) + LOADEEN_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getLoadEEN()));
hash = (37 * hash) + LOADUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getLoadUE()));
hash = (37 * hash) + ZONELOSSESKWH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getZoneLossesKwh()));
hash = (37 * hash) + ZONELOSSESKVARH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getZoneLossesKvarh()));
hash = (37 * hash) + ZONEMAXKWLOSSES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getZoneMaxKwLosses()));
hash = (37 * hash) + ZONEMAXKVARLOSSES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getZoneMaxKvarLosses()));
hash = (37 * hash) + LOADLOSSESKWH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getLoadLossesKwh()));
hash = (37 * hash) + LOADLOSSESKVARH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getLoadLossesKvarh()));
hash = (37 * hash) + NOLOADLOSSESKWH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getNoLoadLossesKwh()));
hash = (37 * hash) + NOLOADLOSSESKVARH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getNoLoadLossesKvarh()));
hash = (37 * hash) + MAXKWLOADLOSSES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getMaxKwLoadLosses()));
hash = (37 * hash) + MAXKWNOLOADLOSSES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getMaxKwNoLoadLosses()));
hash = (37 * hash) + LINELOSSES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getLineLosses()));
hash = (37 * hash) + TRANSFORMERLOSSES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getTransformerLosses()));
hash = (37 * hash) + LINEMODELINELOSSES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getLineModeLineLosses()));
hash = (37 * hash) + ZEROMODELINELOSSES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getZeroModeLineLosses()));
hash = (37 * hash) + PHASELINELOSSES3_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getPhaseLineLosses3()));
hash = (37 * hash) + PHASELINELOSSES12_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getPhaseLineLosses12()));
hash = (37 * hash) + GENKWH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getGenKwh()));
hash = (37 * hash) + GENKVARH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getGenKvarh()));
hash = (37 * hash) + GENMAXKW_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getGenMaxKw()));
hash = (37 * hash) + GENMAXKVA_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getGenMaxKva()));
if (getVoltBasesCount() > 0) {
hash = (37 * hash) + VOLTBASES_FIELD_NUMBER;
hash = (53 * hash) + getVoltBasesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.zepben.protobuf.hc.opendss.DemandIntervalReport parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.zepben.protobuf.hc.opendss.DemandIntervalReport 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.hc.opendss.DemandIntervalReport parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.zepben.protobuf.hc.opendss.DemandIntervalReport 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.hc.opendss.DemandIntervalReport parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.zepben.protobuf.hc.opendss.DemandIntervalReport parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.zepben.protobuf.hc.opendss.DemandIntervalReport parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.zepben.protobuf.hc.opendss.DemandIntervalReport 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.hc.opendss.DemandIntervalReport parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.zepben.protobuf.hc.opendss.DemandIntervalReport 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.hc.opendss.DemandIntervalReport parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.zepben.protobuf.hc.opendss.DemandIntervalReport 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.hc.opendss.DemandIntervalReport 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;
}
/**
*
**
* Message for streaming the records written to DI_MHandle in WriteDemandIntervalData (top).
*
*
* Protobuf type {@code DemandIntervalReport}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:DemandIntervalReport)
com.zepben.protobuf.hc.opendss.DemandIntervalReportOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.zepben.protobuf.hc.opendss.EnergyMeter.internal_static_DemandIntervalReport_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.zepben.protobuf.hc.opendss.EnergyMeter.internal_static_DemandIntervalReport_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.zepben.protobuf.hc.opendss.DemandIntervalReport.class, com.zepben.protobuf.hc.opendss.DemandIntervalReport.Builder.class);
}
// Construct using com.zepben.protobuf.hc.opendss.DemandIntervalReport.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;
element_ = "";
hour_ = 0D;
kwh_ = 0D;
kvarh_ = 0D;
maxKw_ = 0D;
maxKva_ = 0D;
zoneKwh_ = 0D;
zoneKvarh_ = 0D;
zoneMaxKw_ = 0D;
zoneMaxKva_ = 0D;
overloadKwhNormal_ = 0D;
overloadKwhEmerg_ = 0D;
loadEEN_ = 0D;
loadUE_ = 0D;
zoneLossesKwh_ = 0D;
zoneLossesKvarh_ = 0D;
zoneMaxKwLosses_ = 0D;
zoneMaxKvarLosses_ = 0D;
loadLossesKwh_ = 0D;
loadLossesKvarh_ = 0D;
noLoadLossesKwh_ = 0D;
noLoadLossesKvarh_ = 0D;
maxKwLoadLosses_ = 0D;
maxKwNoLoadLosses_ = 0D;
lineLosses_ = 0D;
transformerLosses_ = 0D;
lineModeLineLosses_ = 0D;
zeroModeLineLosses_ = 0D;
phaseLineLosses3_ = 0D;
phaseLineLosses12_ = 0D;
genKwh_ = 0D;
genKvarh_ = 0D;
genMaxKw_ = 0D;
genMaxKva_ = 0D;
if (voltBasesBuilder_ == null) {
voltBases_ = java.util.Collections.emptyList();
} else {
voltBases_ = null;
voltBasesBuilder_.clear();
}
bitField1_ = (bitField1_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.zepben.protobuf.hc.opendss.EnergyMeter.internal_static_DemandIntervalReport_descriptor;
}
@java.lang.Override
public com.zepben.protobuf.hc.opendss.DemandIntervalReport getDefaultInstanceForType() {
return com.zepben.protobuf.hc.opendss.DemandIntervalReport.getDefaultInstance();
}
@java.lang.Override
public com.zepben.protobuf.hc.opendss.DemandIntervalReport build() {
com.zepben.protobuf.hc.opendss.DemandIntervalReport result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.zepben.protobuf.hc.opendss.DemandIntervalReport buildPartial() {
com.zepben.protobuf.hc.opendss.DemandIntervalReport result = new com.zepben.protobuf.hc.opendss.DemandIntervalReport(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
if (bitField1_ != 0) { buildPartial1(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.zepben.protobuf.hc.opendss.DemandIntervalReport result) {
if (voltBasesBuilder_ == null) {
if (((bitField1_ & 0x00000004) != 0)) {
voltBases_ = java.util.Collections.unmodifiableList(voltBases_);
bitField1_ = (bitField1_ & ~0x00000004);
}
result.voltBases_ = voltBases_;
} else {
result.voltBases_ = voltBasesBuilder_.build();
}
}
private void buildPartial0(com.zepben.protobuf.hc.opendss.DemandIntervalReport result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.element_ = element_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.hour_ = hour_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.kwh_ = kwh_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.kvarh_ = kvarh_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.maxKw_ = maxKw_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.maxKva_ = maxKva_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.zoneKwh_ = zoneKwh_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.zoneKvarh_ = zoneKvarh_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.zoneMaxKw_ = zoneMaxKw_;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.zoneMaxKva_ = zoneMaxKva_;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.overloadKwhNormal_ = overloadKwhNormal_;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.overloadKwhEmerg_ = overloadKwhEmerg_;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.loadEEN_ = loadEEN_;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.loadUE_ = loadUE_;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
result.zoneLossesKwh_ = zoneLossesKwh_;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.zoneLossesKvarh_ = zoneLossesKvarh_;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
result.zoneMaxKwLosses_ = zoneMaxKwLosses_;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
result.zoneMaxKvarLosses_ = zoneMaxKvarLosses_;
}
if (((from_bitField0_ & 0x00040000) != 0)) {
result.loadLossesKwh_ = loadLossesKwh_;
}
if (((from_bitField0_ & 0x00080000) != 0)) {
result.loadLossesKvarh_ = loadLossesKvarh_;
}
if (((from_bitField0_ & 0x00100000) != 0)) {
result.noLoadLossesKwh_ = noLoadLossesKwh_;
}
if (((from_bitField0_ & 0x00200000) != 0)) {
result.noLoadLossesKvarh_ = noLoadLossesKvarh_;
}
if (((from_bitField0_ & 0x00400000) != 0)) {
result.maxKwLoadLosses_ = maxKwLoadLosses_;
}
if (((from_bitField0_ & 0x00800000) != 0)) {
result.maxKwNoLoadLosses_ = maxKwNoLoadLosses_;
}
if (((from_bitField0_ & 0x01000000) != 0)) {
result.lineLosses_ = lineLosses_;
}
if (((from_bitField0_ & 0x02000000) != 0)) {
result.transformerLosses_ = transformerLosses_;
}
if (((from_bitField0_ & 0x04000000) != 0)) {
result.lineModeLineLosses_ = lineModeLineLosses_;
}
if (((from_bitField0_ & 0x08000000) != 0)) {
result.zeroModeLineLosses_ = zeroModeLineLosses_;
}
if (((from_bitField0_ & 0x10000000) != 0)) {
result.phaseLineLosses3_ = phaseLineLosses3_;
}
if (((from_bitField0_ & 0x20000000) != 0)) {
result.phaseLineLosses12_ = phaseLineLosses12_;
}
if (((from_bitField0_ & 0x40000000) != 0)) {
result.genKwh_ = genKwh_;
}
if (((from_bitField0_ & 0x80000000) != 0)) {
result.genKvarh_ = genKvarh_;
}
}
private void buildPartial1(com.zepben.protobuf.hc.opendss.DemandIntervalReport result) {
int from_bitField1_ = bitField1_;
if (((from_bitField1_ & 0x00000001) != 0)) {
result.genMaxKw_ = genMaxKw_;
}
if (((from_bitField1_ & 0x00000002) != 0)) {
result.genMaxKva_ = genMaxKva_;
}
}
@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.hc.opendss.DemandIntervalReport) {
return mergeFrom((com.zepben.protobuf.hc.opendss.DemandIntervalReport)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.zepben.protobuf.hc.opendss.DemandIntervalReport other) {
if (other == com.zepben.protobuf.hc.opendss.DemandIntervalReport.getDefaultInstance()) return this;
if (!other.getElement().isEmpty()) {
element_ = other.element_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.getHour() != 0D) {
setHour(other.getHour());
}
if (other.getKwh() != 0D) {
setKwh(other.getKwh());
}
if (other.getKvarh() != 0D) {
setKvarh(other.getKvarh());
}
if (other.getMaxKw() != 0D) {
setMaxKw(other.getMaxKw());
}
if (other.getMaxKva() != 0D) {
setMaxKva(other.getMaxKva());
}
if (other.getZoneKwh() != 0D) {
setZoneKwh(other.getZoneKwh());
}
if (other.getZoneKvarh() != 0D) {
setZoneKvarh(other.getZoneKvarh());
}
if (other.getZoneMaxKw() != 0D) {
setZoneMaxKw(other.getZoneMaxKw());
}
if (other.getZoneMaxKva() != 0D) {
setZoneMaxKva(other.getZoneMaxKva());
}
if (other.getOverloadKwhNormal() != 0D) {
setOverloadKwhNormal(other.getOverloadKwhNormal());
}
if (other.getOverloadKwhEmerg() != 0D) {
setOverloadKwhEmerg(other.getOverloadKwhEmerg());
}
if (other.getLoadEEN() != 0D) {
setLoadEEN(other.getLoadEEN());
}
if (other.getLoadUE() != 0D) {
setLoadUE(other.getLoadUE());
}
if (other.getZoneLossesKwh() != 0D) {
setZoneLossesKwh(other.getZoneLossesKwh());
}
if (other.getZoneLossesKvarh() != 0D) {
setZoneLossesKvarh(other.getZoneLossesKvarh());
}
if (other.getZoneMaxKwLosses() != 0D) {
setZoneMaxKwLosses(other.getZoneMaxKwLosses());
}
if (other.getZoneMaxKvarLosses() != 0D) {
setZoneMaxKvarLosses(other.getZoneMaxKvarLosses());
}
if (other.getLoadLossesKwh() != 0D) {
setLoadLossesKwh(other.getLoadLossesKwh());
}
if (other.getLoadLossesKvarh() != 0D) {
setLoadLossesKvarh(other.getLoadLossesKvarh());
}
if (other.getNoLoadLossesKwh() != 0D) {
setNoLoadLossesKwh(other.getNoLoadLossesKwh());
}
if (other.getNoLoadLossesKvarh() != 0D) {
setNoLoadLossesKvarh(other.getNoLoadLossesKvarh());
}
if (other.getMaxKwLoadLosses() != 0D) {
setMaxKwLoadLosses(other.getMaxKwLoadLosses());
}
if (other.getMaxKwNoLoadLosses() != 0D) {
setMaxKwNoLoadLosses(other.getMaxKwNoLoadLosses());
}
if (other.getLineLosses() != 0D) {
setLineLosses(other.getLineLosses());
}
if (other.getTransformerLosses() != 0D) {
setTransformerLosses(other.getTransformerLosses());
}
if (other.getLineModeLineLosses() != 0D) {
setLineModeLineLosses(other.getLineModeLineLosses());
}
if (other.getZeroModeLineLosses() != 0D) {
setZeroModeLineLosses(other.getZeroModeLineLosses());
}
if (other.getPhaseLineLosses3() != 0D) {
setPhaseLineLosses3(other.getPhaseLineLosses3());
}
if (other.getPhaseLineLosses12() != 0D) {
setPhaseLineLosses12(other.getPhaseLineLosses12());
}
if (other.getGenKwh() != 0D) {
setGenKwh(other.getGenKwh());
}
if (other.getGenKvarh() != 0D) {
setGenKvarh(other.getGenKvarh());
}
if (other.getGenMaxKw() != 0D) {
setGenMaxKw(other.getGenMaxKw());
}
if (other.getGenMaxKva() != 0D) {
setGenMaxKva(other.getGenMaxKva());
}
if (voltBasesBuilder_ == null) {
if (!other.voltBases_.isEmpty()) {
if (voltBases_.isEmpty()) {
voltBases_ = other.voltBases_;
bitField1_ = (bitField1_ & ~0x00000004);
} else {
ensureVoltBasesIsMutable();
voltBases_.addAll(other.voltBases_);
}
onChanged();
}
} else {
if (!other.voltBases_.isEmpty()) {
if (voltBasesBuilder_.isEmpty()) {
voltBasesBuilder_.dispose();
voltBasesBuilder_ = null;
voltBases_ = other.voltBases_;
bitField1_ = (bitField1_ & ~0x00000004);
voltBasesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getVoltBasesFieldBuilder() : null;
} else {
voltBasesBuilder_.addAllMessages(other.voltBases_);
}
}
}
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: {
element_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 17: {
hour_ = input.readDouble();
bitField0_ |= 0x00000002;
break;
} // case 17
case 25: {
kwh_ = input.readDouble();
bitField0_ |= 0x00000004;
break;
} // case 25
case 33: {
kvarh_ = input.readDouble();
bitField0_ |= 0x00000008;
break;
} // case 33
case 41: {
maxKw_ = input.readDouble();
bitField0_ |= 0x00000010;
break;
} // case 41
case 49: {
maxKva_ = input.readDouble();
bitField0_ |= 0x00000020;
break;
} // case 49
case 57: {
zoneKwh_ = input.readDouble();
bitField0_ |= 0x00000040;
break;
} // case 57
case 65: {
zoneKvarh_ = input.readDouble();
bitField0_ |= 0x00000080;
break;
} // case 65
case 73: {
zoneMaxKw_ = input.readDouble();
bitField0_ |= 0x00000100;
break;
} // case 73
case 81: {
zoneMaxKva_ = input.readDouble();
bitField0_ |= 0x00000200;
break;
} // case 81
case 89: {
overloadKwhNormal_ = input.readDouble();
bitField0_ |= 0x00000400;
break;
} // case 89
case 97: {
overloadKwhEmerg_ = input.readDouble();
bitField0_ |= 0x00000800;
break;
} // case 97
case 105: {
loadEEN_ = input.readDouble();
bitField0_ |= 0x00001000;
break;
} // case 105
case 113: {
loadUE_ = input.readDouble();
bitField0_ |= 0x00002000;
break;
} // case 113
case 121: {
zoneLossesKwh_ = input.readDouble();
bitField0_ |= 0x00004000;
break;
} // case 121
case 129: {
zoneLossesKvarh_ = input.readDouble();
bitField0_ |= 0x00008000;
break;
} // case 129
case 137: {
zoneMaxKwLosses_ = input.readDouble();
bitField0_ |= 0x00010000;
break;
} // case 137
case 145: {
zoneMaxKvarLosses_ = input.readDouble();
bitField0_ |= 0x00020000;
break;
} // case 145
case 153: {
loadLossesKwh_ = input.readDouble();
bitField0_ |= 0x00040000;
break;
} // case 153
case 161: {
loadLossesKvarh_ = input.readDouble();
bitField0_ |= 0x00080000;
break;
} // case 161
case 169: {
noLoadLossesKwh_ = input.readDouble();
bitField0_ |= 0x00100000;
break;
} // case 169
case 177: {
noLoadLossesKvarh_ = input.readDouble();
bitField0_ |= 0x00200000;
break;
} // case 177
case 185: {
maxKwLoadLosses_ = input.readDouble();
bitField0_ |= 0x00400000;
break;
} // case 185
case 193: {
maxKwNoLoadLosses_ = input.readDouble();
bitField0_ |= 0x00800000;
break;
} // case 193
case 201: {
lineLosses_ = input.readDouble();
bitField0_ |= 0x01000000;
break;
} // case 201
case 209: {
transformerLosses_ = input.readDouble();
bitField0_ |= 0x02000000;
break;
} // case 209
case 217: {
lineModeLineLosses_ = input.readDouble();
bitField0_ |= 0x04000000;
break;
} // case 217
case 225: {
zeroModeLineLosses_ = input.readDouble();
bitField0_ |= 0x08000000;
break;
} // case 225
case 233: {
phaseLineLosses3_ = input.readDouble();
bitField0_ |= 0x10000000;
break;
} // case 233
case 241: {
phaseLineLosses12_ = input.readDouble();
bitField0_ |= 0x20000000;
break;
} // case 241
case 249: {
genKwh_ = input.readDouble();
bitField0_ |= 0x40000000;
break;
} // case 249
case 257: {
genKvarh_ = input.readDouble();
bitField0_ |= 0x80000000;
break;
} // case 257
case 265: {
genMaxKw_ = input.readDouble();
bitField1_ |= 0x00000001;
break;
} // case 265
case 273: {
genMaxKva_ = input.readDouble();
bitField1_ |= 0x00000002;
break;
} // case 273
case 282: {
com.zepben.protobuf.hc.opendss.VoltBaseRegisters m =
input.readMessage(
com.zepben.protobuf.hc.opendss.VoltBaseRegisters.parser(),
extensionRegistry);
if (voltBasesBuilder_ == null) {
ensureVoltBasesIsMutable();
voltBases_.add(m);
} else {
voltBasesBuilder_.addMessage(m);
}
break;
} // case 282
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int bitField1_;
private java.lang.Object element_ = "";
/**
* string element = 1;
* @return The element.
*/
public java.lang.String getElement() {
java.lang.Object ref = element_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
element_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string element = 1;
* @return The bytes for element.
*/
public com.google.protobuf.ByteString
getElementBytes() {
java.lang.Object ref = element_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
element_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string element = 1;
* @param value The element to set.
* @return This builder for chaining.
*/
public Builder setElement(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
element_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string element = 1;
* @return This builder for chaining.
*/
public Builder clearElement() {
element_ = getDefaultInstance().getElement();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string element = 1;
* @param value The bytes for element to set.
* @return This builder for chaining.
*/
public Builder setElementBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
element_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private double hour_ ;
/**
* double hour = 2;
* @return The hour.
*/
@java.lang.Override
public double getHour() {
return hour_;
}
/**
* double hour = 2;
* @param value The hour to set.
* @return This builder for chaining.
*/
public Builder setHour(double value) {
hour_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* double hour = 2;
* @return This builder for chaining.
*/
public Builder clearHour() {
bitField0_ = (bitField0_ & ~0x00000002);
hour_ = 0D;
onChanged();
return this;
}
private double kwh_ ;
/**
* double kwh = 3;
* @return The kwh.
*/
@java.lang.Override
public double getKwh() {
return kwh_;
}
/**
* double kwh = 3;
* @param value The kwh to set.
* @return This builder for chaining.
*/
public Builder setKwh(double value) {
kwh_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* double kwh = 3;
* @return This builder for chaining.
*/
public Builder clearKwh() {
bitField0_ = (bitField0_ & ~0x00000004);
kwh_ = 0D;
onChanged();
return this;
}
private double kvarh_ ;
/**
* double kvarh = 4;
* @return The kvarh.
*/
@java.lang.Override
public double getKvarh() {
return kvarh_;
}
/**
* double kvarh = 4;
* @param value The kvarh to set.
* @return This builder for chaining.
*/
public Builder setKvarh(double value) {
kvarh_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* double kvarh = 4;
* @return This builder for chaining.
*/
public Builder clearKvarh() {
bitField0_ = (bitField0_ & ~0x00000008);
kvarh_ = 0D;
onChanged();
return this;
}
private double maxKw_ ;
/**
* double maxKw = 5;
* @return The maxKw.
*/
@java.lang.Override
public double getMaxKw() {
return maxKw_;
}
/**
* double maxKw = 5;
* @param value The maxKw to set.
* @return This builder for chaining.
*/
public Builder setMaxKw(double value) {
maxKw_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* double maxKw = 5;
* @return This builder for chaining.
*/
public Builder clearMaxKw() {
bitField0_ = (bitField0_ & ~0x00000010);
maxKw_ = 0D;
onChanged();
return this;
}
private double maxKva_ ;
/**
* double maxKva = 6;
* @return The maxKva.
*/
@java.lang.Override
public double getMaxKva() {
return maxKva_;
}
/**
* double maxKva = 6;
* @param value The maxKva to set.
* @return This builder for chaining.
*/
public Builder setMaxKva(double value) {
maxKva_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* double maxKva = 6;
* @return This builder for chaining.
*/
public Builder clearMaxKva() {
bitField0_ = (bitField0_ & ~0x00000020);
maxKva_ = 0D;
onChanged();
return this;
}
private double zoneKwh_ ;
/**
* double zoneKwh = 7;
* @return The zoneKwh.
*/
@java.lang.Override
public double getZoneKwh() {
return zoneKwh_;
}
/**
* double zoneKwh = 7;
* @param value The zoneKwh to set.
* @return This builder for chaining.
*/
public Builder setZoneKwh(double value) {
zoneKwh_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* double zoneKwh = 7;
* @return This builder for chaining.
*/
public Builder clearZoneKwh() {
bitField0_ = (bitField0_ & ~0x00000040);
zoneKwh_ = 0D;
onChanged();
return this;
}
private double zoneKvarh_ ;
/**
* double zoneKvarh = 8;
* @return The zoneKvarh.
*/
@java.lang.Override
public double getZoneKvarh() {
return zoneKvarh_;
}
/**
* double zoneKvarh = 8;
* @param value The zoneKvarh to set.
* @return This builder for chaining.
*/
public Builder setZoneKvarh(double value) {
zoneKvarh_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* double zoneKvarh = 8;
* @return This builder for chaining.
*/
public Builder clearZoneKvarh() {
bitField0_ = (bitField0_ & ~0x00000080);
zoneKvarh_ = 0D;
onChanged();
return this;
}
private double zoneMaxKw_ ;
/**
* double zoneMaxKw = 9;
* @return The zoneMaxKw.
*/
@java.lang.Override
public double getZoneMaxKw() {
return zoneMaxKw_;
}
/**
* double zoneMaxKw = 9;
* @param value The zoneMaxKw to set.
* @return This builder for chaining.
*/
public Builder setZoneMaxKw(double value) {
zoneMaxKw_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* double zoneMaxKw = 9;
* @return This builder for chaining.
*/
public Builder clearZoneMaxKw() {
bitField0_ = (bitField0_ & ~0x00000100);
zoneMaxKw_ = 0D;
onChanged();
return this;
}
private double zoneMaxKva_ ;
/**
* double zoneMaxKva = 10;
* @return The zoneMaxKva.
*/
@java.lang.Override
public double getZoneMaxKva() {
return zoneMaxKva_;
}
/**
* double zoneMaxKva = 10;
* @param value The zoneMaxKva to set.
* @return This builder for chaining.
*/
public Builder setZoneMaxKva(double value) {
zoneMaxKva_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* double zoneMaxKva = 10;
* @return This builder for chaining.
*/
public Builder clearZoneMaxKva() {
bitField0_ = (bitField0_ & ~0x00000200);
zoneMaxKva_ = 0D;
onChanged();
return this;
}
private double overloadKwhNormal_ ;
/**
* double overloadKwhNormal = 11;
* @return The overloadKwhNormal.
*/
@java.lang.Override
public double getOverloadKwhNormal() {
return overloadKwhNormal_;
}
/**
* double overloadKwhNormal = 11;
* @param value The overloadKwhNormal to set.
* @return This builder for chaining.
*/
public Builder setOverloadKwhNormal(double value) {
overloadKwhNormal_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* double overloadKwhNormal = 11;
* @return This builder for chaining.
*/
public Builder clearOverloadKwhNormal() {
bitField0_ = (bitField0_ & ~0x00000400);
overloadKwhNormal_ = 0D;
onChanged();
return this;
}
private double overloadKwhEmerg_ ;
/**
* double overloadKwhEmerg = 12;
* @return The overloadKwhEmerg.
*/
@java.lang.Override
public double getOverloadKwhEmerg() {
return overloadKwhEmerg_;
}
/**
* double overloadKwhEmerg = 12;
* @param value The overloadKwhEmerg to set.
* @return This builder for chaining.
*/
public Builder setOverloadKwhEmerg(double value) {
overloadKwhEmerg_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* double overloadKwhEmerg = 12;
* @return This builder for chaining.
*/
public Builder clearOverloadKwhEmerg() {
bitField0_ = (bitField0_ & ~0x00000800);
overloadKwhEmerg_ = 0D;
onChanged();
return this;
}
private double loadEEN_ ;
/**
* double loadEEN = 13;
* @return The loadEEN.
*/
@java.lang.Override
public double getLoadEEN() {
return loadEEN_;
}
/**
* double loadEEN = 13;
* @param value The loadEEN to set.
* @return This builder for chaining.
*/
public Builder setLoadEEN(double value) {
loadEEN_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* double loadEEN = 13;
* @return This builder for chaining.
*/
public Builder clearLoadEEN() {
bitField0_ = (bitField0_ & ~0x00001000);
loadEEN_ = 0D;
onChanged();
return this;
}
private double loadUE_ ;
/**
* double loadUE = 14;
* @return The loadUE.
*/
@java.lang.Override
public double getLoadUE() {
return loadUE_;
}
/**
* double loadUE = 14;
* @param value The loadUE to set.
* @return This builder for chaining.
*/
public Builder setLoadUE(double value) {
loadUE_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* double loadUE = 14;
* @return This builder for chaining.
*/
public Builder clearLoadUE() {
bitField0_ = (bitField0_ & ~0x00002000);
loadUE_ = 0D;
onChanged();
return this;
}
private double zoneLossesKwh_ ;
/**
* double zoneLossesKwh = 15;
* @return The zoneLossesKwh.
*/
@java.lang.Override
public double getZoneLossesKwh() {
return zoneLossesKwh_;
}
/**
* double zoneLossesKwh = 15;
* @param value The zoneLossesKwh to set.
* @return This builder for chaining.
*/
public Builder setZoneLossesKwh(double value) {
zoneLossesKwh_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* double zoneLossesKwh = 15;
* @return This builder for chaining.
*/
public Builder clearZoneLossesKwh() {
bitField0_ = (bitField0_ & ~0x00004000);
zoneLossesKwh_ = 0D;
onChanged();
return this;
}
private double zoneLossesKvarh_ ;
/**
* double zoneLossesKvarh = 16;
* @return The zoneLossesKvarh.
*/
@java.lang.Override
public double getZoneLossesKvarh() {
return zoneLossesKvarh_;
}
/**
* double zoneLossesKvarh = 16;
* @param value The zoneLossesKvarh to set.
* @return This builder for chaining.
*/
public Builder setZoneLossesKvarh(double value) {
zoneLossesKvarh_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* double zoneLossesKvarh = 16;
* @return This builder for chaining.
*/
public Builder clearZoneLossesKvarh() {
bitField0_ = (bitField0_ & ~0x00008000);
zoneLossesKvarh_ = 0D;
onChanged();
return this;
}
private double zoneMaxKwLosses_ ;
/**
* double zoneMaxKwLosses = 17;
* @return The zoneMaxKwLosses.
*/
@java.lang.Override
public double getZoneMaxKwLosses() {
return zoneMaxKwLosses_;
}
/**
* double zoneMaxKwLosses = 17;
* @param value The zoneMaxKwLosses to set.
* @return This builder for chaining.
*/
public Builder setZoneMaxKwLosses(double value) {
zoneMaxKwLosses_ = value;
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* double zoneMaxKwLosses = 17;
* @return This builder for chaining.
*/
public Builder clearZoneMaxKwLosses() {
bitField0_ = (bitField0_ & ~0x00010000);
zoneMaxKwLosses_ = 0D;
onChanged();
return this;
}
private double zoneMaxKvarLosses_ ;
/**
* double zoneMaxKvarLosses = 18;
* @return The zoneMaxKvarLosses.
*/
@java.lang.Override
public double getZoneMaxKvarLosses() {
return zoneMaxKvarLosses_;
}
/**
* double zoneMaxKvarLosses = 18;
* @param value The zoneMaxKvarLosses to set.
* @return This builder for chaining.
*/
public Builder setZoneMaxKvarLosses(double value) {
zoneMaxKvarLosses_ = value;
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* double zoneMaxKvarLosses = 18;
* @return This builder for chaining.
*/
public Builder clearZoneMaxKvarLosses() {
bitField0_ = (bitField0_ & ~0x00020000);
zoneMaxKvarLosses_ = 0D;
onChanged();
return this;
}
private double loadLossesKwh_ ;
/**
* double loadLossesKwh = 19;
* @return The loadLossesKwh.
*/
@java.lang.Override
public double getLoadLossesKwh() {
return loadLossesKwh_;
}
/**
* double loadLossesKwh = 19;
* @param value The loadLossesKwh to set.
* @return This builder for chaining.
*/
public Builder setLoadLossesKwh(double value) {
loadLossesKwh_ = value;
bitField0_ |= 0x00040000;
onChanged();
return this;
}
/**
* double loadLossesKwh = 19;
* @return This builder for chaining.
*/
public Builder clearLoadLossesKwh() {
bitField0_ = (bitField0_ & ~0x00040000);
loadLossesKwh_ = 0D;
onChanged();
return this;
}
private double loadLossesKvarh_ ;
/**
* double loadLossesKvarh = 20;
* @return The loadLossesKvarh.
*/
@java.lang.Override
public double getLoadLossesKvarh() {
return loadLossesKvarh_;
}
/**
* double loadLossesKvarh = 20;
* @param value The loadLossesKvarh to set.
* @return This builder for chaining.
*/
public Builder setLoadLossesKvarh(double value) {
loadLossesKvarh_ = value;
bitField0_ |= 0x00080000;
onChanged();
return this;
}
/**
* double loadLossesKvarh = 20;
* @return This builder for chaining.
*/
public Builder clearLoadLossesKvarh() {
bitField0_ = (bitField0_ & ~0x00080000);
loadLossesKvarh_ = 0D;
onChanged();
return this;
}
private double noLoadLossesKwh_ ;
/**
* double noLoadLossesKwh = 21;
* @return The noLoadLossesKwh.
*/
@java.lang.Override
public double getNoLoadLossesKwh() {
return noLoadLossesKwh_;
}
/**
* double noLoadLossesKwh = 21;
* @param value The noLoadLossesKwh to set.
* @return This builder for chaining.
*/
public Builder setNoLoadLossesKwh(double value) {
noLoadLossesKwh_ = value;
bitField0_ |= 0x00100000;
onChanged();
return this;
}
/**
* double noLoadLossesKwh = 21;
* @return This builder for chaining.
*/
public Builder clearNoLoadLossesKwh() {
bitField0_ = (bitField0_ & ~0x00100000);
noLoadLossesKwh_ = 0D;
onChanged();
return this;
}
private double noLoadLossesKvarh_ ;
/**
* double noLoadLossesKvarh = 22;
* @return The noLoadLossesKvarh.
*/
@java.lang.Override
public double getNoLoadLossesKvarh() {
return noLoadLossesKvarh_;
}
/**
* double noLoadLossesKvarh = 22;
* @param value The noLoadLossesKvarh to set.
* @return This builder for chaining.
*/
public Builder setNoLoadLossesKvarh(double value) {
noLoadLossesKvarh_ = value;
bitField0_ |= 0x00200000;
onChanged();
return this;
}
/**
* double noLoadLossesKvarh = 22;
* @return This builder for chaining.
*/
public Builder clearNoLoadLossesKvarh() {
bitField0_ = (bitField0_ & ~0x00200000);
noLoadLossesKvarh_ = 0D;
onChanged();
return this;
}
private double maxKwLoadLosses_ ;
/**
* double maxKwLoadLosses = 23;
* @return The maxKwLoadLosses.
*/
@java.lang.Override
public double getMaxKwLoadLosses() {
return maxKwLoadLosses_;
}
/**
* double maxKwLoadLosses = 23;
* @param value The maxKwLoadLosses to set.
* @return This builder for chaining.
*/
public Builder setMaxKwLoadLosses(double value) {
maxKwLoadLosses_ = value;
bitField0_ |= 0x00400000;
onChanged();
return this;
}
/**
* double maxKwLoadLosses = 23;
* @return This builder for chaining.
*/
public Builder clearMaxKwLoadLosses() {
bitField0_ = (bitField0_ & ~0x00400000);
maxKwLoadLosses_ = 0D;
onChanged();
return this;
}
private double maxKwNoLoadLosses_ ;
/**
* double maxKwNoLoadLosses = 24;
* @return The maxKwNoLoadLosses.
*/
@java.lang.Override
public double getMaxKwNoLoadLosses() {
return maxKwNoLoadLosses_;
}
/**
* double maxKwNoLoadLosses = 24;
* @param value The maxKwNoLoadLosses to set.
* @return This builder for chaining.
*/
public Builder setMaxKwNoLoadLosses(double value) {
maxKwNoLoadLosses_ = value;
bitField0_ |= 0x00800000;
onChanged();
return this;
}
/**
* double maxKwNoLoadLosses = 24;
* @return This builder for chaining.
*/
public Builder clearMaxKwNoLoadLosses() {
bitField0_ = (bitField0_ & ~0x00800000);
maxKwNoLoadLosses_ = 0D;
onChanged();
return this;
}
private double lineLosses_ ;
/**
* double lineLosses = 25;
* @return The lineLosses.
*/
@java.lang.Override
public double getLineLosses() {
return lineLosses_;
}
/**
* double lineLosses = 25;
* @param value The lineLosses to set.
* @return This builder for chaining.
*/
public Builder setLineLosses(double value) {
lineLosses_ = value;
bitField0_ |= 0x01000000;
onChanged();
return this;
}
/**
* double lineLosses = 25;
* @return This builder for chaining.
*/
public Builder clearLineLosses() {
bitField0_ = (bitField0_ & ~0x01000000);
lineLosses_ = 0D;
onChanged();
return this;
}
private double transformerLosses_ ;
/**
* double transformerLosses = 26;
* @return The transformerLosses.
*/
@java.lang.Override
public double getTransformerLosses() {
return transformerLosses_;
}
/**
* double transformerLosses = 26;
* @param value The transformerLosses to set.
* @return This builder for chaining.
*/
public Builder setTransformerLosses(double value) {
transformerLosses_ = value;
bitField0_ |= 0x02000000;
onChanged();
return this;
}
/**
* double transformerLosses = 26;
* @return This builder for chaining.
*/
public Builder clearTransformerLosses() {
bitField0_ = (bitField0_ & ~0x02000000);
transformerLosses_ = 0D;
onChanged();
return this;
}
private double lineModeLineLosses_ ;
/**
* double lineModeLineLosses = 27;
* @return The lineModeLineLosses.
*/
@java.lang.Override
public double getLineModeLineLosses() {
return lineModeLineLosses_;
}
/**
* double lineModeLineLosses = 27;
* @param value The lineModeLineLosses to set.
* @return This builder for chaining.
*/
public Builder setLineModeLineLosses(double value) {
lineModeLineLosses_ = value;
bitField0_ |= 0x04000000;
onChanged();
return this;
}
/**
* double lineModeLineLosses = 27;
* @return This builder for chaining.
*/
public Builder clearLineModeLineLosses() {
bitField0_ = (bitField0_ & ~0x04000000);
lineModeLineLosses_ = 0D;
onChanged();
return this;
}
private double zeroModeLineLosses_ ;
/**
* double zeroModeLineLosses = 28;
* @return The zeroModeLineLosses.
*/
@java.lang.Override
public double getZeroModeLineLosses() {
return zeroModeLineLosses_;
}
/**
* double zeroModeLineLosses = 28;
* @param value The zeroModeLineLosses to set.
* @return This builder for chaining.
*/
public Builder setZeroModeLineLosses(double value) {
zeroModeLineLosses_ = value;
bitField0_ |= 0x08000000;
onChanged();
return this;
}
/**
* double zeroModeLineLosses = 28;
* @return This builder for chaining.
*/
public Builder clearZeroModeLineLosses() {
bitField0_ = (bitField0_ & ~0x08000000);
zeroModeLineLosses_ = 0D;
onChanged();
return this;
}
private double phaseLineLosses3_ ;
/**
* double phaseLineLosses3 = 29;
* @return The phaseLineLosses3.
*/
@java.lang.Override
public double getPhaseLineLosses3() {
return phaseLineLosses3_;
}
/**
* double phaseLineLosses3 = 29;
* @param value The phaseLineLosses3 to set.
* @return This builder for chaining.
*/
public Builder setPhaseLineLosses3(double value) {
phaseLineLosses3_ = value;
bitField0_ |= 0x10000000;
onChanged();
return this;
}
/**
* double phaseLineLosses3 = 29;
* @return This builder for chaining.
*/
public Builder clearPhaseLineLosses3() {
bitField0_ = (bitField0_ & ~0x10000000);
phaseLineLosses3_ = 0D;
onChanged();
return this;
}
private double phaseLineLosses12_ ;
/**
* double phaseLineLosses12 = 30;
* @return The phaseLineLosses12.
*/
@java.lang.Override
public double getPhaseLineLosses12() {
return phaseLineLosses12_;
}
/**
* double phaseLineLosses12 = 30;
* @param value The phaseLineLosses12 to set.
* @return This builder for chaining.
*/
public Builder setPhaseLineLosses12(double value) {
phaseLineLosses12_ = value;
bitField0_ |= 0x20000000;
onChanged();
return this;
}
/**
* double phaseLineLosses12 = 30;
* @return This builder for chaining.
*/
public Builder clearPhaseLineLosses12() {
bitField0_ = (bitField0_ & ~0x20000000);
phaseLineLosses12_ = 0D;
onChanged();
return this;
}
private double genKwh_ ;
/**
* double genKwh = 31;
* @return The genKwh.
*/
@java.lang.Override
public double getGenKwh() {
return genKwh_;
}
/**
* double genKwh = 31;
* @param value The genKwh to set.
* @return This builder for chaining.
*/
public Builder setGenKwh(double value) {
genKwh_ = value;
bitField0_ |= 0x40000000;
onChanged();
return this;
}
/**
* double genKwh = 31;
* @return This builder for chaining.
*/
public Builder clearGenKwh() {
bitField0_ = (bitField0_ & ~0x40000000);
genKwh_ = 0D;
onChanged();
return this;
}
private double genKvarh_ ;
/**
* double genKvarh = 32;
* @return The genKvarh.
*/
@java.lang.Override
public double getGenKvarh() {
return genKvarh_;
}
/**
* double genKvarh = 32;
* @param value The genKvarh to set.
* @return This builder for chaining.
*/
public Builder setGenKvarh(double value) {
genKvarh_ = value;
bitField0_ |= 0x80000000;
onChanged();
return this;
}
/**
* double genKvarh = 32;
* @return This builder for chaining.
*/
public Builder clearGenKvarh() {
bitField0_ = (bitField0_ & ~0x80000000);
genKvarh_ = 0D;
onChanged();
return this;
}
private double genMaxKw_ ;
/**
* double genMaxKw = 33;
* @return The genMaxKw.
*/
@java.lang.Override
public double getGenMaxKw() {
return genMaxKw_;
}
/**
* double genMaxKw = 33;
* @param value The genMaxKw to set.
* @return This builder for chaining.
*/
public Builder setGenMaxKw(double value) {
genMaxKw_ = value;
bitField1_ |= 0x00000001;
onChanged();
return this;
}
/**
* double genMaxKw = 33;
* @return This builder for chaining.
*/
public Builder clearGenMaxKw() {
bitField1_ = (bitField1_ & ~0x00000001);
genMaxKw_ = 0D;
onChanged();
return this;
}
private double genMaxKva_ ;
/**
* double genMaxKva = 34;
* @return The genMaxKva.
*/
@java.lang.Override
public double getGenMaxKva() {
return genMaxKva_;
}
/**
* double genMaxKva = 34;
* @param value The genMaxKva to set.
* @return This builder for chaining.
*/
public Builder setGenMaxKva(double value) {
genMaxKva_ = value;
bitField1_ |= 0x00000002;
onChanged();
return this;
}
/**
* double genMaxKva = 34;
* @return This builder for chaining.
*/
public Builder clearGenMaxKva() {
bitField1_ = (bitField1_ & ~0x00000002);
genMaxKva_ = 0D;
onChanged();
return this;
}
private java.util.List voltBases_ =
java.util.Collections.emptyList();
private void ensureVoltBasesIsMutable() {
if (!((bitField1_ & 0x00000004) != 0)) {
voltBases_ = new java.util.ArrayList(voltBases_);
bitField1_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.zepben.protobuf.hc.opendss.VoltBaseRegisters, com.zepben.protobuf.hc.opendss.VoltBaseRegisters.Builder, com.zepben.protobuf.hc.opendss.VoltBaseRegistersOrBuilder> voltBasesBuilder_;
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public java.util.List getVoltBasesList() {
if (voltBasesBuilder_ == null) {
return java.util.Collections.unmodifiableList(voltBases_);
} else {
return voltBasesBuilder_.getMessageList();
}
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public int getVoltBasesCount() {
if (voltBasesBuilder_ == null) {
return voltBases_.size();
} else {
return voltBasesBuilder_.getCount();
}
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public com.zepben.protobuf.hc.opendss.VoltBaseRegisters getVoltBases(int index) {
if (voltBasesBuilder_ == null) {
return voltBases_.get(index);
} else {
return voltBasesBuilder_.getMessage(index);
}
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public Builder setVoltBases(
int index, com.zepben.protobuf.hc.opendss.VoltBaseRegisters value) {
if (voltBasesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVoltBasesIsMutable();
voltBases_.set(index, value);
onChanged();
} else {
voltBasesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public Builder setVoltBases(
int index, com.zepben.protobuf.hc.opendss.VoltBaseRegisters.Builder builderForValue) {
if (voltBasesBuilder_ == null) {
ensureVoltBasesIsMutable();
voltBases_.set(index, builderForValue.build());
onChanged();
} else {
voltBasesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public Builder addVoltBases(com.zepben.protobuf.hc.opendss.VoltBaseRegisters value) {
if (voltBasesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVoltBasesIsMutable();
voltBases_.add(value);
onChanged();
} else {
voltBasesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public Builder addVoltBases(
int index, com.zepben.protobuf.hc.opendss.VoltBaseRegisters value) {
if (voltBasesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVoltBasesIsMutable();
voltBases_.add(index, value);
onChanged();
} else {
voltBasesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public Builder addVoltBases(
com.zepben.protobuf.hc.opendss.VoltBaseRegisters.Builder builderForValue) {
if (voltBasesBuilder_ == null) {
ensureVoltBasesIsMutable();
voltBases_.add(builderForValue.build());
onChanged();
} else {
voltBasesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public Builder addVoltBases(
int index, com.zepben.protobuf.hc.opendss.VoltBaseRegisters.Builder builderForValue) {
if (voltBasesBuilder_ == null) {
ensureVoltBasesIsMutable();
voltBases_.add(index, builderForValue.build());
onChanged();
} else {
voltBasesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public Builder addAllVoltBases(
java.lang.Iterable extends com.zepben.protobuf.hc.opendss.VoltBaseRegisters> values) {
if (voltBasesBuilder_ == null) {
ensureVoltBasesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, voltBases_);
onChanged();
} else {
voltBasesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public Builder clearVoltBases() {
if (voltBasesBuilder_ == null) {
voltBases_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00000004);
onChanged();
} else {
voltBasesBuilder_.clear();
}
return this;
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public Builder removeVoltBases(int index) {
if (voltBasesBuilder_ == null) {
ensureVoltBasesIsMutable();
voltBases_.remove(index);
onChanged();
} else {
voltBasesBuilder_.remove(index);
}
return this;
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public com.zepben.protobuf.hc.opendss.VoltBaseRegisters.Builder getVoltBasesBuilder(
int index) {
return getVoltBasesFieldBuilder().getBuilder(index);
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public com.zepben.protobuf.hc.opendss.VoltBaseRegistersOrBuilder getVoltBasesOrBuilder(
int index) {
if (voltBasesBuilder_ == null) {
return voltBases_.get(index); } else {
return voltBasesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public java.util.List extends com.zepben.protobuf.hc.opendss.VoltBaseRegistersOrBuilder>
getVoltBasesOrBuilderList() {
if (voltBasesBuilder_ != null) {
return voltBasesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(voltBases_);
}
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public com.zepben.protobuf.hc.opendss.VoltBaseRegisters.Builder addVoltBasesBuilder() {
return getVoltBasesFieldBuilder().addBuilder(
com.zepben.protobuf.hc.opendss.VoltBaseRegisters.getDefaultInstance());
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public com.zepben.protobuf.hc.opendss.VoltBaseRegisters.Builder addVoltBasesBuilder(
int index) {
return getVoltBasesFieldBuilder().addBuilder(
index, com.zepben.protobuf.hc.opendss.VoltBaseRegisters.getDefaultInstance());
}
/**
* repeated .VoltBaseRegisters voltBases = 35;
*/
public java.util.List
getVoltBasesBuilderList() {
return getVoltBasesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.zepben.protobuf.hc.opendss.VoltBaseRegisters, com.zepben.protobuf.hc.opendss.VoltBaseRegisters.Builder, com.zepben.protobuf.hc.opendss.VoltBaseRegistersOrBuilder>
getVoltBasesFieldBuilder() {
if (voltBasesBuilder_ == null) {
voltBasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.zepben.protobuf.hc.opendss.VoltBaseRegisters, com.zepben.protobuf.hc.opendss.VoltBaseRegisters.Builder, com.zepben.protobuf.hc.opendss.VoltBaseRegistersOrBuilder>(
voltBases_,
((bitField1_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
voltBases_ = null;
}
return voltBasesBuilder_;
}
@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:DemandIntervalReport)
}
// @@protoc_insertion_point(class_scope:DemandIntervalReport)
private static final com.zepben.protobuf.hc.opendss.DemandIntervalReport DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.zepben.protobuf.hc.opendss.DemandIntervalReport();
}
public static com.zepben.protobuf.hc.opendss.DemandIntervalReport getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DemandIntervalReport 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.hc.opendss.DemandIntervalReport getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}