com.zepben.protobuf.hc.opendss.OpenDssReport 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/OpenDssReport.proto
package com.zepben.protobuf.hc.opendss;
/**
*
**
* The message type we actually stream, which contains one of the EnergyMeter or Diagnostics reports.
*
*
* Protobuf type {@code zepben.protobuf.hc.opendss.OpenDssReport}
*/
public final class OpenDssReport extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:zepben.protobuf.hc.opendss.OpenDssReport)
OpenDssReportOrBuilder {
private static final long serialVersionUID = 0L;
// Use OpenDssReport.newBuilder() to construct.
private OpenDssReport(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private OpenDssReport() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new OpenDssReport();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.zepben.protobuf.hc.opendss.OpenDssReportOuterClass.internal_static_zepben_protobuf_hc_opendss_OpenDssReport_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.zepben.protobuf.hc.opendss.OpenDssReportOuterClass.internal_static_zepben_protobuf_hc_opendss_OpenDssReport_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.zepben.protobuf.hc.opendss.OpenDssReport.class, com.zepben.protobuf.hc.opendss.OpenDssReport.Builder.class);
}
private int reportCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object report_;
public enum ReportCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
DI(1),
PHV(2),
OV(3),
VR(4),
SR(5),
EL(6),
TR(7),
LR(8),
IBR(9),
LE(10),
LOSSES(11),
NM(12),
KVM(13),
FAILURE(14),
REPORT_NOT_SET(0);
private final int value;
private ReportCase(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 ReportCase valueOf(int value) {
return forNumber(value);
}
public static ReportCase forNumber(int value) {
switch (value) {
case 1: return DI;
case 2: return PHV;
case 3: return OV;
case 4: return VR;
case 5: return SR;
case 6: return EL;
case 7: return TR;
case 8: return LR;
case 9: return IBR;
case 10: return LE;
case 11: return LOSSES;
case 12: return NM;
case 13: return KVM;
case 14: return FAILURE;
case 0: return REPORT_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ReportCase
getReportCase() {
return ReportCase.forNumber(
reportCase_);
}
public static final int DI_FIELD_NUMBER = 1;
/**
* .DemandIntervalReport di = 1;
* @return Whether the di field is set.
*/
@java.lang.Override
public boolean hasDi() {
return reportCase_ == 1;
}
/**
* .DemandIntervalReport di = 1;
* @return The di.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.DemandIntervalReport getDi() {
if (reportCase_ == 1) {
return (com.zepben.protobuf.hc.opendss.DemandIntervalReport) report_;
}
return com.zepben.protobuf.hc.opendss.DemandIntervalReport.getDefaultInstance();
}
/**
* .DemandIntervalReport di = 1;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.DemandIntervalReportOrBuilder getDiOrBuilder() {
if (reportCase_ == 1) {
return (com.zepben.protobuf.hc.opendss.DemandIntervalReport) report_;
}
return com.zepben.protobuf.hc.opendss.DemandIntervalReport.getDefaultInstance();
}
public static final int PHV_FIELD_NUMBER = 2;
/**
* .PhaseVoltageReport phv = 2;
* @return Whether the phv field is set.
*/
@java.lang.Override
public boolean hasPhv() {
return reportCase_ == 2;
}
/**
* .PhaseVoltageReport phv = 2;
* @return The phv.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.PhaseVoltageReport getPhv() {
if (reportCase_ == 2) {
return (com.zepben.protobuf.hc.opendss.PhaseVoltageReport) report_;
}
return com.zepben.protobuf.hc.opendss.PhaseVoltageReport.getDefaultInstance();
}
/**
* .PhaseVoltageReport phv = 2;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.PhaseVoltageReportOrBuilder getPhvOrBuilder() {
if (reportCase_ == 2) {
return (com.zepben.protobuf.hc.opendss.PhaseVoltageReport) report_;
}
return com.zepben.protobuf.hc.opendss.PhaseVoltageReport.getDefaultInstance();
}
public static final int OV_FIELD_NUMBER = 3;
/**
* .OverloadReport ov = 3;
* @return Whether the ov field is set.
*/
@java.lang.Override
public boolean hasOv() {
return reportCase_ == 3;
}
/**
* .OverloadReport ov = 3;
* @return The ov.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.OverloadReport getOv() {
if (reportCase_ == 3) {
return (com.zepben.protobuf.hc.opendss.OverloadReport) report_;
}
return com.zepben.protobuf.hc.opendss.OverloadReport.getDefaultInstance();
}
/**
* .OverloadReport ov = 3;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.OverloadReportOrBuilder getOvOrBuilder() {
if (reportCase_ == 3) {
return (com.zepben.protobuf.hc.opendss.OverloadReport) report_;
}
return com.zepben.protobuf.hc.opendss.OverloadReport.getDefaultInstance();
}
public static final int VR_FIELD_NUMBER = 4;
/**
* .VoltageReport vr = 4;
* @return Whether the vr field is set.
*/
@java.lang.Override
public boolean hasVr() {
return reportCase_ == 4;
}
/**
* .VoltageReport vr = 4;
* @return The vr.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.VoltageReport getVr() {
if (reportCase_ == 4) {
return (com.zepben.protobuf.hc.opendss.VoltageReport) report_;
}
return com.zepben.protobuf.hc.opendss.VoltageReport.getDefaultInstance();
}
/**
* .VoltageReport vr = 4;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.VoltageReportOrBuilder getVrOrBuilder() {
if (reportCase_ == 4) {
return (com.zepben.protobuf.hc.opendss.VoltageReport) report_;
}
return com.zepben.protobuf.hc.opendss.VoltageReport.getDefaultInstance();
}
public static final int SR_FIELD_NUMBER = 5;
/**
* .zepben.protobuf.hc.opendss.SummaryReport sr = 5;
* @return Whether the sr field is set.
*/
@java.lang.Override
public boolean hasSr() {
return reportCase_ == 5;
}
/**
* .zepben.protobuf.hc.opendss.SummaryReport sr = 5;
* @return The sr.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.SummaryReport getSr() {
if (reportCase_ == 5) {
return (com.zepben.protobuf.hc.opendss.SummaryReport) report_;
}
return com.zepben.protobuf.hc.opendss.SummaryReport.getDefaultInstance();
}
/**
* .zepben.protobuf.hc.opendss.SummaryReport sr = 5;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.SummaryReportOrBuilder getSrOrBuilder() {
if (reportCase_ == 5) {
return (com.zepben.protobuf.hc.opendss.SummaryReport) report_;
}
return com.zepben.protobuf.hc.opendss.SummaryReport.getDefaultInstance();
}
public static final int EL_FIELD_NUMBER = 6;
/**
* .zepben.protobuf.hc.opendss.EventLog el = 6;
* @return Whether the el field is set.
*/
@java.lang.Override
public boolean hasEl() {
return reportCase_ == 6;
}
/**
* .zepben.protobuf.hc.opendss.EventLog el = 6;
* @return The el.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.EventLog getEl() {
if (reportCase_ == 6) {
return (com.zepben.protobuf.hc.opendss.EventLog) report_;
}
return com.zepben.protobuf.hc.opendss.EventLog.getDefaultInstance();
}
/**
* .zepben.protobuf.hc.opendss.EventLog el = 6;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.EventLogOrBuilder getElOrBuilder() {
if (reportCase_ == 6) {
return (com.zepben.protobuf.hc.opendss.EventLog) report_;
}
return com.zepben.protobuf.hc.opendss.EventLog.getDefaultInstance();
}
public static final int TR_FIELD_NUMBER = 7;
/**
* .zepben.protobuf.hc.opendss.TapsReport tr = 7;
* @return Whether the tr field is set.
*/
@java.lang.Override
public boolean hasTr() {
return reportCase_ == 7;
}
/**
* .zepben.protobuf.hc.opendss.TapsReport tr = 7;
* @return The tr.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.TapsReport getTr() {
if (reportCase_ == 7) {
return (com.zepben.protobuf.hc.opendss.TapsReport) report_;
}
return com.zepben.protobuf.hc.opendss.TapsReport.getDefaultInstance();
}
/**
* .zepben.protobuf.hc.opendss.TapsReport tr = 7;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.TapsReportOrBuilder getTrOrBuilder() {
if (reportCase_ == 7) {
return (com.zepben.protobuf.hc.opendss.TapsReport) report_;
}
return com.zepben.protobuf.hc.opendss.TapsReport.getDefaultInstance();
}
public static final int LR_FIELD_NUMBER = 8;
/**
* .zepben.protobuf.hc.opendss.LoopReport lr = 8;
* @return Whether the lr field is set.
*/
@java.lang.Override
public boolean hasLr() {
return reportCase_ == 8;
}
/**
* .zepben.protobuf.hc.opendss.LoopReport lr = 8;
* @return The lr.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.LoopReport getLr() {
if (reportCase_ == 8) {
return (com.zepben.protobuf.hc.opendss.LoopReport) report_;
}
return com.zepben.protobuf.hc.opendss.LoopReport.getDefaultInstance();
}
/**
* .zepben.protobuf.hc.opendss.LoopReport lr = 8;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.LoopReportOrBuilder getLrOrBuilder() {
if (reportCase_ == 8) {
return (com.zepben.protobuf.hc.opendss.LoopReport) report_;
}
return com.zepben.protobuf.hc.opendss.LoopReport.getDefaultInstance();
}
public static final int IBR_FIELD_NUMBER = 9;
/**
* .zepben.protobuf.hc.opendss.IsolatedBusesReport ibr = 9;
* @return Whether the ibr field is set.
*/
@java.lang.Override
public boolean hasIbr() {
return reportCase_ == 9;
}
/**
* .zepben.protobuf.hc.opendss.IsolatedBusesReport ibr = 9;
* @return The ibr.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.IsolatedBusesReport getIbr() {
if (reportCase_ == 9) {
return (com.zepben.protobuf.hc.opendss.IsolatedBusesReport) report_;
}
return com.zepben.protobuf.hc.opendss.IsolatedBusesReport.getDefaultInstance();
}
/**
* .zepben.protobuf.hc.opendss.IsolatedBusesReport ibr = 9;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.IsolatedBusesReportOrBuilder getIbrOrBuilder() {
if (reportCase_ == 9) {
return (com.zepben.protobuf.hc.opendss.IsolatedBusesReport) report_;
}
return com.zepben.protobuf.hc.opendss.IsolatedBusesReport.getDefaultInstance();
}
public static final int LE_FIELD_NUMBER = 10;
/**
* .zepben.protobuf.hc.opendss.LossesEntry le = 10;
* @return Whether the le field is set.
*/
@java.lang.Override
public boolean hasLe() {
return reportCase_ == 10;
}
/**
* .zepben.protobuf.hc.opendss.LossesEntry le = 10;
* @return The le.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.LossesEntry getLe() {
if (reportCase_ == 10) {
return (com.zepben.protobuf.hc.opendss.LossesEntry) report_;
}
return com.zepben.protobuf.hc.opendss.LossesEntry.getDefaultInstance();
}
/**
* .zepben.protobuf.hc.opendss.LossesEntry le = 10;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.LossesEntryOrBuilder getLeOrBuilder() {
if (reportCase_ == 10) {
return (com.zepben.protobuf.hc.opendss.LossesEntry) report_;
}
return com.zepben.protobuf.hc.opendss.LossesEntry.getDefaultInstance();
}
public static final int LOSSES_FIELD_NUMBER = 11;
/**
* .zepben.protobuf.hc.opendss.LossesTotals losses = 11;
* @return Whether the losses field is set.
*/
@java.lang.Override
public boolean hasLosses() {
return reportCase_ == 11;
}
/**
* .zepben.protobuf.hc.opendss.LossesTotals losses = 11;
* @return The losses.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.LossesTotals getLosses() {
if (reportCase_ == 11) {
return (com.zepben.protobuf.hc.opendss.LossesTotals) report_;
}
return com.zepben.protobuf.hc.opendss.LossesTotals.getDefaultInstance();
}
/**
* .zepben.protobuf.hc.opendss.LossesTotals losses = 11;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.LossesTotalsOrBuilder getLossesOrBuilder() {
if (reportCase_ == 11) {
return (com.zepben.protobuf.hc.opendss.LossesTotals) report_;
}
return com.zepben.protobuf.hc.opendss.LossesTotals.getDefaultInstance();
}
public static final int NM_FIELD_NUMBER = 12;
/**
* .zepben.protobuf.hc.opendss.NodeMismatch nm = 12;
* @return Whether the nm field is set.
*/
@java.lang.Override
public boolean hasNm() {
return reportCase_ == 12;
}
/**
* .zepben.protobuf.hc.opendss.NodeMismatch nm = 12;
* @return The nm.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.NodeMismatch getNm() {
if (reportCase_ == 12) {
return (com.zepben.protobuf.hc.opendss.NodeMismatch) report_;
}
return com.zepben.protobuf.hc.opendss.NodeMismatch.getDefaultInstance();
}
/**
* .zepben.protobuf.hc.opendss.NodeMismatch nm = 12;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.NodeMismatchOrBuilder getNmOrBuilder() {
if (reportCase_ == 12) {
return (com.zepben.protobuf.hc.opendss.NodeMismatch) report_;
}
return com.zepben.protobuf.hc.opendss.NodeMismatch.getDefaultInstance();
}
public static final int KVM_FIELD_NUMBER = 13;
/**
* .zepben.protobuf.hc.opendss.KVBaseMismatch kvm = 13;
* @return Whether the kvm field is set.
*/
@java.lang.Override
public boolean hasKvm() {
return reportCase_ == 13;
}
/**
* .zepben.protobuf.hc.opendss.KVBaseMismatch kvm = 13;
* @return The kvm.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.KVBaseMismatch getKvm() {
if (reportCase_ == 13) {
return (com.zepben.protobuf.hc.opendss.KVBaseMismatch) report_;
}
return com.zepben.protobuf.hc.opendss.KVBaseMismatch.getDefaultInstance();
}
/**
* .zepben.protobuf.hc.opendss.KVBaseMismatch kvm = 13;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.KVBaseMismatchOrBuilder getKvmOrBuilder() {
if (reportCase_ == 13) {
return (com.zepben.protobuf.hc.opendss.KVBaseMismatch) report_;
}
return com.zepben.protobuf.hc.opendss.KVBaseMismatch.getDefaultInstance();
}
public static final int FAILURE_FIELD_NUMBER = 14;
/**
* bool failure = 14;
* @return Whether the failure field is set.
*/
@java.lang.Override
public boolean hasFailure() {
return reportCase_ == 14;
}
/**
* bool failure = 14;
* @return The failure.
*/
@java.lang.Override
public boolean getFailure() {
if (reportCase_ == 14) {
return (java.lang.Boolean) report_;
}
return false;
}
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 (reportCase_ == 1) {
output.writeMessage(1, (com.zepben.protobuf.hc.opendss.DemandIntervalReport) report_);
}
if (reportCase_ == 2) {
output.writeMessage(2, (com.zepben.protobuf.hc.opendss.PhaseVoltageReport) report_);
}
if (reportCase_ == 3) {
output.writeMessage(3, (com.zepben.protobuf.hc.opendss.OverloadReport) report_);
}
if (reportCase_ == 4) {
output.writeMessage(4, (com.zepben.protobuf.hc.opendss.VoltageReport) report_);
}
if (reportCase_ == 5) {
output.writeMessage(5, (com.zepben.protobuf.hc.opendss.SummaryReport) report_);
}
if (reportCase_ == 6) {
output.writeMessage(6, (com.zepben.protobuf.hc.opendss.EventLog) report_);
}
if (reportCase_ == 7) {
output.writeMessage(7, (com.zepben.protobuf.hc.opendss.TapsReport) report_);
}
if (reportCase_ == 8) {
output.writeMessage(8, (com.zepben.protobuf.hc.opendss.LoopReport) report_);
}
if (reportCase_ == 9) {
output.writeMessage(9, (com.zepben.protobuf.hc.opendss.IsolatedBusesReport) report_);
}
if (reportCase_ == 10) {
output.writeMessage(10, (com.zepben.protobuf.hc.opendss.LossesEntry) report_);
}
if (reportCase_ == 11) {
output.writeMessage(11, (com.zepben.protobuf.hc.opendss.LossesTotals) report_);
}
if (reportCase_ == 12) {
output.writeMessage(12, (com.zepben.protobuf.hc.opendss.NodeMismatch) report_);
}
if (reportCase_ == 13) {
output.writeMessage(13, (com.zepben.protobuf.hc.opendss.KVBaseMismatch) report_);
}
if (reportCase_ == 14) {
output.writeBool(
14, (boolean)((java.lang.Boolean) report_));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (reportCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (com.zepben.protobuf.hc.opendss.DemandIntervalReport) report_);
}
if (reportCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (com.zepben.protobuf.hc.opendss.PhaseVoltageReport) report_);
}
if (reportCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (com.zepben.protobuf.hc.opendss.OverloadReport) report_);
}
if (reportCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (com.zepben.protobuf.hc.opendss.VoltageReport) report_);
}
if (reportCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (com.zepben.protobuf.hc.opendss.SummaryReport) report_);
}
if (reportCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (com.zepben.protobuf.hc.opendss.EventLog) report_);
}
if (reportCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (com.zepben.protobuf.hc.opendss.TapsReport) report_);
}
if (reportCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (com.zepben.protobuf.hc.opendss.LoopReport) report_);
}
if (reportCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (com.zepben.protobuf.hc.opendss.IsolatedBusesReport) report_);
}
if (reportCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (com.zepben.protobuf.hc.opendss.LossesEntry) report_);
}
if (reportCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (com.zepben.protobuf.hc.opendss.LossesTotals) report_);
}
if (reportCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (com.zepben.protobuf.hc.opendss.NodeMismatch) report_);
}
if (reportCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (com.zepben.protobuf.hc.opendss.KVBaseMismatch) report_);
}
if (reportCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
14, (boolean)((java.lang.Boolean) report_));
}
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.OpenDssReport)) {
return super.equals(obj);
}
com.zepben.protobuf.hc.opendss.OpenDssReport other = (com.zepben.protobuf.hc.opendss.OpenDssReport) obj;
if (!getReportCase().equals(other.getReportCase())) return false;
switch (reportCase_) {
case 1:
if (!getDi()
.equals(other.getDi())) return false;
break;
case 2:
if (!getPhv()
.equals(other.getPhv())) return false;
break;
case 3:
if (!getOv()
.equals(other.getOv())) return false;
break;
case 4:
if (!getVr()
.equals(other.getVr())) return false;
break;
case 5:
if (!getSr()
.equals(other.getSr())) return false;
break;
case 6:
if (!getEl()
.equals(other.getEl())) return false;
break;
case 7:
if (!getTr()
.equals(other.getTr())) return false;
break;
case 8:
if (!getLr()
.equals(other.getLr())) return false;
break;
case 9:
if (!getIbr()
.equals(other.getIbr())) return false;
break;
case 10:
if (!getLe()
.equals(other.getLe())) return false;
break;
case 11:
if (!getLosses()
.equals(other.getLosses())) return false;
break;
case 12:
if (!getNm()
.equals(other.getNm())) return false;
break;
case 13:
if (!getKvm()
.equals(other.getKvm())) return false;
break;
case 14:
if (getFailure()
!= other.getFailure()) 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 (reportCase_) {
case 1:
hash = (37 * hash) + DI_FIELD_NUMBER;
hash = (53 * hash) + getDi().hashCode();
break;
case 2:
hash = (37 * hash) + PHV_FIELD_NUMBER;
hash = (53 * hash) + getPhv().hashCode();
break;
case 3:
hash = (37 * hash) + OV_FIELD_NUMBER;
hash = (53 * hash) + getOv().hashCode();
break;
case 4:
hash = (37 * hash) + VR_FIELD_NUMBER;
hash = (53 * hash) + getVr().hashCode();
break;
case 5:
hash = (37 * hash) + SR_FIELD_NUMBER;
hash = (53 * hash) + getSr().hashCode();
break;
case 6:
hash = (37 * hash) + EL_FIELD_NUMBER;
hash = (53 * hash) + getEl().hashCode();
break;
case 7:
hash = (37 * hash) + TR_FIELD_NUMBER;
hash = (53 * hash) + getTr().hashCode();
break;
case 8:
hash = (37 * hash) + LR_FIELD_NUMBER;
hash = (53 * hash) + getLr().hashCode();
break;
case 9:
hash = (37 * hash) + IBR_FIELD_NUMBER;
hash = (53 * hash) + getIbr().hashCode();
break;
case 10:
hash = (37 * hash) + LE_FIELD_NUMBER;
hash = (53 * hash) + getLe().hashCode();
break;
case 11:
hash = (37 * hash) + LOSSES_FIELD_NUMBER;
hash = (53 * hash) + getLosses().hashCode();
break;
case 12:
hash = (37 * hash) + NM_FIELD_NUMBER;
hash = (53 * hash) + getNm().hashCode();
break;
case 13:
hash = (37 * hash) + KVM_FIELD_NUMBER;
hash = (53 * hash) + getKvm().hashCode();
break;
case 14:
hash = (37 * hash) + FAILURE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getFailure());
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.zepben.protobuf.hc.opendss.OpenDssReport parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.zepben.protobuf.hc.opendss.OpenDssReport 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.OpenDssReport parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.zepben.protobuf.hc.opendss.OpenDssReport 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.OpenDssReport parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.zepben.protobuf.hc.opendss.OpenDssReport 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.OpenDssReport parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.zepben.protobuf.hc.opendss.OpenDssReport 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.OpenDssReport parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.zepben.protobuf.hc.opendss.OpenDssReport 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.OpenDssReport 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.OpenDssReport 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.OpenDssReport 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 message type we actually stream, which contains one of the EnergyMeter or Diagnostics reports.
*
*
* Protobuf type {@code zepben.protobuf.hc.opendss.OpenDssReport}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:zepben.protobuf.hc.opendss.OpenDssReport)
com.zepben.protobuf.hc.opendss.OpenDssReportOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.zepben.protobuf.hc.opendss.OpenDssReportOuterClass.internal_static_zepben_protobuf_hc_opendss_OpenDssReport_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.zepben.protobuf.hc.opendss.OpenDssReportOuterClass.internal_static_zepben_protobuf_hc_opendss_OpenDssReport_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.zepben.protobuf.hc.opendss.OpenDssReport.class, com.zepben.protobuf.hc.opendss.OpenDssReport.Builder.class);
}
// Construct using com.zepben.protobuf.hc.opendss.OpenDssReport.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (diBuilder_ != null) {
diBuilder_.clear();
}
if (phvBuilder_ != null) {
phvBuilder_.clear();
}
if (ovBuilder_ != null) {
ovBuilder_.clear();
}
if (vrBuilder_ != null) {
vrBuilder_.clear();
}
if (srBuilder_ != null) {
srBuilder_.clear();
}
if (elBuilder_ != null) {
elBuilder_.clear();
}
if (trBuilder_ != null) {
trBuilder_.clear();
}
if (lrBuilder_ != null) {
lrBuilder_.clear();
}
if (ibrBuilder_ != null) {
ibrBuilder_.clear();
}
if (leBuilder_ != null) {
leBuilder_.clear();
}
if (lossesBuilder_ != null) {
lossesBuilder_.clear();
}
if (nmBuilder_ != null) {
nmBuilder_.clear();
}
if (kvmBuilder_ != null) {
kvmBuilder_.clear();
}
reportCase_ = 0;
report_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.zepben.protobuf.hc.opendss.OpenDssReportOuterClass.internal_static_zepben_protobuf_hc_opendss_OpenDssReport_descriptor;
}
@java.lang.Override
public com.zepben.protobuf.hc.opendss.OpenDssReport getDefaultInstanceForType() {
return com.zepben.protobuf.hc.opendss.OpenDssReport.getDefaultInstance();
}
@java.lang.Override
public com.zepben.protobuf.hc.opendss.OpenDssReport build() {
com.zepben.protobuf.hc.opendss.OpenDssReport result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.zepben.protobuf.hc.opendss.OpenDssReport buildPartial() {
com.zepben.protobuf.hc.opendss.OpenDssReport result = new com.zepben.protobuf.hc.opendss.OpenDssReport(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(com.zepben.protobuf.hc.opendss.OpenDssReport result) {
int from_bitField0_ = bitField0_;
}
private void buildPartialOneofs(com.zepben.protobuf.hc.opendss.OpenDssReport result) {
result.reportCase_ = reportCase_;
result.report_ = this.report_;
if (reportCase_ == 1 &&
diBuilder_ != null) {
result.report_ = diBuilder_.build();
}
if (reportCase_ == 2 &&
phvBuilder_ != null) {
result.report_ = phvBuilder_.build();
}
if (reportCase_ == 3 &&
ovBuilder_ != null) {
result.report_ = ovBuilder_.build();
}
if (reportCase_ == 4 &&
vrBuilder_ != null) {
result.report_ = vrBuilder_.build();
}
if (reportCase_ == 5 &&
srBuilder_ != null) {
result.report_ = srBuilder_.build();
}
if (reportCase_ == 6 &&
elBuilder_ != null) {
result.report_ = elBuilder_.build();
}
if (reportCase_ == 7 &&
trBuilder_ != null) {
result.report_ = trBuilder_.build();
}
if (reportCase_ == 8 &&
lrBuilder_ != null) {
result.report_ = lrBuilder_.build();
}
if (reportCase_ == 9 &&
ibrBuilder_ != null) {
result.report_ = ibrBuilder_.build();
}
if (reportCase_ == 10 &&
leBuilder_ != null) {
result.report_ = leBuilder_.build();
}
if (reportCase_ == 11 &&
lossesBuilder_ != null) {
result.report_ = lossesBuilder_.build();
}
if (reportCase_ == 12 &&
nmBuilder_ != null) {
result.report_ = nmBuilder_.build();
}
if (reportCase_ == 13 &&
kvmBuilder_ != null) {
result.report_ = kvmBuilder_.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.hc.opendss.OpenDssReport) {
return mergeFrom((com.zepben.protobuf.hc.opendss.OpenDssReport)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.zepben.protobuf.hc.opendss.OpenDssReport other) {
if (other == com.zepben.protobuf.hc.opendss.OpenDssReport.getDefaultInstance()) return this;
switch (other.getReportCase()) {
case DI: {
mergeDi(other.getDi());
break;
}
case PHV: {
mergePhv(other.getPhv());
break;
}
case OV: {
mergeOv(other.getOv());
break;
}
case VR: {
mergeVr(other.getVr());
break;
}
case SR: {
mergeSr(other.getSr());
break;
}
case EL: {
mergeEl(other.getEl());
break;
}
case TR: {
mergeTr(other.getTr());
break;
}
case LR: {
mergeLr(other.getLr());
break;
}
case IBR: {
mergeIbr(other.getIbr());
break;
}
case LE: {
mergeLe(other.getLe());
break;
}
case LOSSES: {
mergeLosses(other.getLosses());
break;
}
case NM: {
mergeNm(other.getNm());
break;
}
case KVM: {
mergeKvm(other.getKvm());
break;
}
case FAILURE: {
setFailure(other.getFailure());
break;
}
case REPORT_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(
getDiFieldBuilder().getBuilder(),
extensionRegistry);
reportCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getPhvFieldBuilder().getBuilder(),
extensionRegistry);
reportCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getOvFieldBuilder().getBuilder(),
extensionRegistry);
reportCase_ = 3;
break;
} // case 26
case 34: {
input.readMessage(
getVrFieldBuilder().getBuilder(),
extensionRegistry);
reportCase_ = 4;
break;
} // case 34
case 42: {
input.readMessage(
getSrFieldBuilder().getBuilder(),
extensionRegistry);
reportCase_ = 5;
break;
} // case 42
case 50: {
input.readMessage(
getElFieldBuilder().getBuilder(),
extensionRegistry);
reportCase_ = 6;
break;
} // case 50
case 58: {
input.readMessage(
getTrFieldBuilder().getBuilder(),
extensionRegistry);
reportCase_ = 7;
break;
} // case 58
case 66: {
input.readMessage(
getLrFieldBuilder().getBuilder(),
extensionRegistry);
reportCase_ = 8;
break;
} // case 66
case 74: {
input.readMessage(
getIbrFieldBuilder().getBuilder(),
extensionRegistry);
reportCase_ = 9;
break;
} // case 74
case 82: {
input.readMessage(
getLeFieldBuilder().getBuilder(),
extensionRegistry);
reportCase_ = 10;
break;
} // case 82
case 90: {
input.readMessage(
getLossesFieldBuilder().getBuilder(),
extensionRegistry);
reportCase_ = 11;
break;
} // case 90
case 98: {
input.readMessage(
getNmFieldBuilder().getBuilder(),
extensionRegistry);
reportCase_ = 12;
break;
} // case 98
case 106: {
input.readMessage(
getKvmFieldBuilder().getBuilder(),
extensionRegistry);
reportCase_ = 13;
break;
} // case 106
case 112: {
report_ = input.readBool();
reportCase_ = 14;
break;
} // case 112
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 reportCase_ = 0;
private java.lang.Object report_;
public ReportCase
getReportCase() {
return ReportCase.forNumber(
reportCase_);
}
public Builder clearReport() {
reportCase_ = 0;
report_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.DemandIntervalReport, com.zepben.protobuf.hc.opendss.DemandIntervalReport.Builder, com.zepben.protobuf.hc.opendss.DemandIntervalReportOrBuilder> diBuilder_;
/**
* .DemandIntervalReport di = 1;
* @return Whether the di field is set.
*/
@java.lang.Override
public boolean hasDi() {
return reportCase_ == 1;
}
/**
* .DemandIntervalReport di = 1;
* @return The di.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.DemandIntervalReport getDi() {
if (diBuilder_ == null) {
if (reportCase_ == 1) {
return (com.zepben.protobuf.hc.opendss.DemandIntervalReport) report_;
}
return com.zepben.protobuf.hc.opendss.DemandIntervalReport.getDefaultInstance();
} else {
if (reportCase_ == 1) {
return diBuilder_.getMessage();
}
return com.zepben.protobuf.hc.opendss.DemandIntervalReport.getDefaultInstance();
}
}
/**
* .DemandIntervalReport di = 1;
*/
public Builder setDi(com.zepben.protobuf.hc.opendss.DemandIntervalReport value) {
if (diBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
report_ = value;
onChanged();
} else {
diBuilder_.setMessage(value);
}
reportCase_ = 1;
return this;
}
/**
* .DemandIntervalReport di = 1;
*/
public Builder setDi(
com.zepben.protobuf.hc.opendss.DemandIntervalReport.Builder builderForValue) {
if (diBuilder_ == null) {
report_ = builderForValue.build();
onChanged();
} else {
diBuilder_.setMessage(builderForValue.build());
}
reportCase_ = 1;
return this;
}
/**
* .DemandIntervalReport di = 1;
*/
public Builder mergeDi(com.zepben.protobuf.hc.opendss.DemandIntervalReport value) {
if (diBuilder_ == null) {
if (reportCase_ == 1 &&
report_ != com.zepben.protobuf.hc.opendss.DemandIntervalReport.getDefaultInstance()) {
report_ = com.zepben.protobuf.hc.opendss.DemandIntervalReport.newBuilder((com.zepben.protobuf.hc.opendss.DemandIntervalReport) report_)
.mergeFrom(value).buildPartial();
} else {
report_ = value;
}
onChanged();
} else {
if (reportCase_ == 1) {
diBuilder_.mergeFrom(value);
} else {
diBuilder_.setMessage(value);
}
}
reportCase_ = 1;
return this;
}
/**
* .DemandIntervalReport di = 1;
*/
public Builder clearDi() {
if (diBuilder_ == null) {
if (reportCase_ == 1) {
reportCase_ = 0;
report_ = null;
onChanged();
}
} else {
if (reportCase_ == 1) {
reportCase_ = 0;
report_ = null;
}
diBuilder_.clear();
}
return this;
}
/**
* .DemandIntervalReport di = 1;
*/
public com.zepben.protobuf.hc.opendss.DemandIntervalReport.Builder getDiBuilder() {
return getDiFieldBuilder().getBuilder();
}
/**
* .DemandIntervalReport di = 1;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.DemandIntervalReportOrBuilder getDiOrBuilder() {
if ((reportCase_ == 1) && (diBuilder_ != null)) {
return diBuilder_.getMessageOrBuilder();
} else {
if (reportCase_ == 1) {
return (com.zepben.protobuf.hc.opendss.DemandIntervalReport) report_;
}
return com.zepben.protobuf.hc.opendss.DemandIntervalReport.getDefaultInstance();
}
}
/**
* .DemandIntervalReport di = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.DemandIntervalReport, com.zepben.protobuf.hc.opendss.DemandIntervalReport.Builder, com.zepben.protobuf.hc.opendss.DemandIntervalReportOrBuilder>
getDiFieldBuilder() {
if (diBuilder_ == null) {
if (!(reportCase_ == 1)) {
report_ = com.zepben.protobuf.hc.opendss.DemandIntervalReport.getDefaultInstance();
}
diBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.DemandIntervalReport, com.zepben.protobuf.hc.opendss.DemandIntervalReport.Builder, com.zepben.protobuf.hc.opendss.DemandIntervalReportOrBuilder>(
(com.zepben.protobuf.hc.opendss.DemandIntervalReport) report_,
getParentForChildren(),
isClean());
report_ = null;
}
reportCase_ = 1;
onChanged();
return diBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.PhaseVoltageReport, com.zepben.protobuf.hc.opendss.PhaseVoltageReport.Builder, com.zepben.protobuf.hc.opendss.PhaseVoltageReportOrBuilder> phvBuilder_;
/**
* .PhaseVoltageReport phv = 2;
* @return Whether the phv field is set.
*/
@java.lang.Override
public boolean hasPhv() {
return reportCase_ == 2;
}
/**
* .PhaseVoltageReport phv = 2;
* @return The phv.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.PhaseVoltageReport getPhv() {
if (phvBuilder_ == null) {
if (reportCase_ == 2) {
return (com.zepben.protobuf.hc.opendss.PhaseVoltageReport) report_;
}
return com.zepben.protobuf.hc.opendss.PhaseVoltageReport.getDefaultInstance();
} else {
if (reportCase_ == 2) {
return phvBuilder_.getMessage();
}
return com.zepben.protobuf.hc.opendss.PhaseVoltageReport.getDefaultInstance();
}
}
/**
* .PhaseVoltageReport phv = 2;
*/
public Builder setPhv(com.zepben.protobuf.hc.opendss.PhaseVoltageReport value) {
if (phvBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
report_ = value;
onChanged();
} else {
phvBuilder_.setMessage(value);
}
reportCase_ = 2;
return this;
}
/**
* .PhaseVoltageReport phv = 2;
*/
public Builder setPhv(
com.zepben.protobuf.hc.opendss.PhaseVoltageReport.Builder builderForValue) {
if (phvBuilder_ == null) {
report_ = builderForValue.build();
onChanged();
} else {
phvBuilder_.setMessage(builderForValue.build());
}
reportCase_ = 2;
return this;
}
/**
* .PhaseVoltageReport phv = 2;
*/
public Builder mergePhv(com.zepben.protobuf.hc.opendss.PhaseVoltageReport value) {
if (phvBuilder_ == null) {
if (reportCase_ == 2 &&
report_ != com.zepben.protobuf.hc.opendss.PhaseVoltageReport.getDefaultInstance()) {
report_ = com.zepben.protobuf.hc.opendss.PhaseVoltageReport.newBuilder((com.zepben.protobuf.hc.opendss.PhaseVoltageReport) report_)
.mergeFrom(value).buildPartial();
} else {
report_ = value;
}
onChanged();
} else {
if (reportCase_ == 2) {
phvBuilder_.mergeFrom(value);
} else {
phvBuilder_.setMessage(value);
}
}
reportCase_ = 2;
return this;
}
/**
* .PhaseVoltageReport phv = 2;
*/
public Builder clearPhv() {
if (phvBuilder_ == null) {
if (reportCase_ == 2) {
reportCase_ = 0;
report_ = null;
onChanged();
}
} else {
if (reportCase_ == 2) {
reportCase_ = 0;
report_ = null;
}
phvBuilder_.clear();
}
return this;
}
/**
* .PhaseVoltageReport phv = 2;
*/
public com.zepben.protobuf.hc.opendss.PhaseVoltageReport.Builder getPhvBuilder() {
return getPhvFieldBuilder().getBuilder();
}
/**
* .PhaseVoltageReport phv = 2;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.PhaseVoltageReportOrBuilder getPhvOrBuilder() {
if ((reportCase_ == 2) && (phvBuilder_ != null)) {
return phvBuilder_.getMessageOrBuilder();
} else {
if (reportCase_ == 2) {
return (com.zepben.protobuf.hc.opendss.PhaseVoltageReport) report_;
}
return com.zepben.protobuf.hc.opendss.PhaseVoltageReport.getDefaultInstance();
}
}
/**
* .PhaseVoltageReport phv = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.PhaseVoltageReport, com.zepben.protobuf.hc.opendss.PhaseVoltageReport.Builder, com.zepben.protobuf.hc.opendss.PhaseVoltageReportOrBuilder>
getPhvFieldBuilder() {
if (phvBuilder_ == null) {
if (!(reportCase_ == 2)) {
report_ = com.zepben.protobuf.hc.opendss.PhaseVoltageReport.getDefaultInstance();
}
phvBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.PhaseVoltageReport, com.zepben.protobuf.hc.opendss.PhaseVoltageReport.Builder, com.zepben.protobuf.hc.opendss.PhaseVoltageReportOrBuilder>(
(com.zepben.protobuf.hc.opendss.PhaseVoltageReport) report_,
getParentForChildren(),
isClean());
report_ = null;
}
reportCase_ = 2;
onChanged();
return phvBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.OverloadReport, com.zepben.protobuf.hc.opendss.OverloadReport.Builder, com.zepben.protobuf.hc.opendss.OverloadReportOrBuilder> ovBuilder_;
/**
* .OverloadReport ov = 3;
* @return Whether the ov field is set.
*/
@java.lang.Override
public boolean hasOv() {
return reportCase_ == 3;
}
/**
* .OverloadReport ov = 3;
* @return The ov.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.OverloadReport getOv() {
if (ovBuilder_ == null) {
if (reportCase_ == 3) {
return (com.zepben.protobuf.hc.opendss.OverloadReport) report_;
}
return com.zepben.protobuf.hc.opendss.OverloadReport.getDefaultInstance();
} else {
if (reportCase_ == 3) {
return ovBuilder_.getMessage();
}
return com.zepben.protobuf.hc.opendss.OverloadReport.getDefaultInstance();
}
}
/**
* .OverloadReport ov = 3;
*/
public Builder setOv(com.zepben.protobuf.hc.opendss.OverloadReport value) {
if (ovBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
report_ = value;
onChanged();
} else {
ovBuilder_.setMessage(value);
}
reportCase_ = 3;
return this;
}
/**
* .OverloadReport ov = 3;
*/
public Builder setOv(
com.zepben.protobuf.hc.opendss.OverloadReport.Builder builderForValue) {
if (ovBuilder_ == null) {
report_ = builderForValue.build();
onChanged();
} else {
ovBuilder_.setMessage(builderForValue.build());
}
reportCase_ = 3;
return this;
}
/**
* .OverloadReport ov = 3;
*/
public Builder mergeOv(com.zepben.protobuf.hc.opendss.OverloadReport value) {
if (ovBuilder_ == null) {
if (reportCase_ == 3 &&
report_ != com.zepben.protobuf.hc.opendss.OverloadReport.getDefaultInstance()) {
report_ = com.zepben.protobuf.hc.opendss.OverloadReport.newBuilder((com.zepben.protobuf.hc.opendss.OverloadReport) report_)
.mergeFrom(value).buildPartial();
} else {
report_ = value;
}
onChanged();
} else {
if (reportCase_ == 3) {
ovBuilder_.mergeFrom(value);
} else {
ovBuilder_.setMessage(value);
}
}
reportCase_ = 3;
return this;
}
/**
* .OverloadReport ov = 3;
*/
public Builder clearOv() {
if (ovBuilder_ == null) {
if (reportCase_ == 3) {
reportCase_ = 0;
report_ = null;
onChanged();
}
} else {
if (reportCase_ == 3) {
reportCase_ = 0;
report_ = null;
}
ovBuilder_.clear();
}
return this;
}
/**
* .OverloadReport ov = 3;
*/
public com.zepben.protobuf.hc.opendss.OverloadReport.Builder getOvBuilder() {
return getOvFieldBuilder().getBuilder();
}
/**
* .OverloadReport ov = 3;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.OverloadReportOrBuilder getOvOrBuilder() {
if ((reportCase_ == 3) && (ovBuilder_ != null)) {
return ovBuilder_.getMessageOrBuilder();
} else {
if (reportCase_ == 3) {
return (com.zepben.protobuf.hc.opendss.OverloadReport) report_;
}
return com.zepben.protobuf.hc.opendss.OverloadReport.getDefaultInstance();
}
}
/**
* .OverloadReport ov = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.OverloadReport, com.zepben.protobuf.hc.opendss.OverloadReport.Builder, com.zepben.protobuf.hc.opendss.OverloadReportOrBuilder>
getOvFieldBuilder() {
if (ovBuilder_ == null) {
if (!(reportCase_ == 3)) {
report_ = com.zepben.protobuf.hc.opendss.OverloadReport.getDefaultInstance();
}
ovBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.OverloadReport, com.zepben.protobuf.hc.opendss.OverloadReport.Builder, com.zepben.protobuf.hc.opendss.OverloadReportOrBuilder>(
(com.zepben.protobuf.hc.opendss.OverloadReport) report_,
getParentForChildren(),
isClean());
report_ = null;
}
reportCase_ = 3;
onChanged();
return ovBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.VoltageReport, com.zepben.protobuf.hc.opendss.VoltageReport.Builder, com.zepben.protobuf.hc.opendss.VoltageReportOrBuilder> vrBuilder_;
/**
* .VoltageReport vr = 4;
* @return Whether the vr field is set.
*/
@java.lang.Override
public boolean hasVr() {
return reportCase_ == 4;
}
/**
* .VoltageReport vr = 4;
* @return The vr.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.VoltageReport getVr() {
if (vrBuilder_ == null) {
if (reportCase_ == 4) {
return (com.zepben.protobuf.hc.opendss.VoltageReport) report_;
}
return com.zepben.protobuf.hc.opendss.VoltageReport.getDefaultInstance();
} else {
if (reportCase_ == 4) {
return vrBuilder_.getMessage();
}
return com.zepben.protobuf.hc.opendss.VoltageReport.getDefaultInstance();
}
}
/**
* .VoltageReport vr = 4;
*/
public Builder setVr(com.zepben.protobuf.hc.opendss.VoltageReport value) {
if (vrBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
report_ = value;
onChanged();
} else {
vrBuilder_.setMessage(value);
}
reportCase_ = 4;
return this;
}
/**
* .VoltageReport vr = 4;
*/
public Builder setVr(
com.zepben.protobuf.hc.opendss.VoltageReport.Builder builderForValue) {
if (vrBuilder_ == null) {
report_ = builderForValue.build();
onChanged();
} else {
vrBuilder_.setMessage(builderForValue.build());
}
reportCase_ = 4;
return this;
}
/**
* .VoltageReport vr = 4;
*/
public Builder mergeVr(com.zepben.protobuf.hc.opendss.VoltageReport value) {
if (vrBuilder_ == null) {
if (reportCase_ == 4 &&
report_ != com.zepben.protobuf.hc.opendss.VoltageReport.getDefaultInstance()) {
report_ = com.zepben.protobuf.hc.opendss.VoltageReport.newBuilder((com.zepben.protobuf.hc.opendss.VoltageReport) report_)
.mergeFrom(value).buildPartial();
} else {
report_ = value;
}
onChanged();
} else {
if (reportCase_ == 4) {
vrBuilder_.mergeFrom(value);
} else {
vrBuilder_.setMessage(value);
}
}
reportCase_ = 4;
return this;
}
/**
* .VoltageReport vr = 4;
*/
public Builder clearVr() {
if (vrBuilder_ == null) {
if (reportCase_ == 4) {
reportCase_ = 0;
report_ = null;
onChanged();
}
} else {
if (reportCase_ == 4) {
reportCase_ = 0;
report_ = null;
}
vrBuilder_.clear();
}
return this;
}
/**
* .VoltageReport vr = 4;
*/
public com.zepben.protobuf.hc.opendss.VoltageReport.Builder getVrBuilder() {
return getVrFieldBuilder().getBuilder();
}
/**
* .VoltageReport vr = 4;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.VoltageReportOrBuilder getVrOrBuilder() {
if ((reportCase_ == 4) && (vrBuilder_ != null)) {
return vrBuilder_.getMessageOrBuilder();
} else {
if (reportCase_ == 4) {
return (com.zepben.protobuf.hc.opendss.VoltageReport) report_;
}
return com.zepben.protobuf.hc.opendss.VoltageReport.getDefaultInstance();
}
}
/**
* .VoltageReport vr = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.VoltageReport, com.zepben.protobuf.hc.opendss.VoltageReport.Builder, com.zepben.protobuf.hc.opendss.VoltageReportOrBuilder>
getVrFieldBuilder() {
if (vrBuilder_ == null) {
if (!(reportCase_ == 4)) {
report_ = com.zepben.protobuf.hc.opendss.VoltageReport.getDefaultInstance();
}
vrBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.VoltageReport, com.zepben.protobuf.hc.opendss.VoltageReport.Builder, com.zepben.protobuf.hc.opendss.VoltageReportOrBuilder>(
(com.zepben.protobuf.hc.opendss.VoltageReport) report_,
getParentForChildren(),
isClean());
report_ = null;
}
reportCase_ = 4;
onChanged();
return vrBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.SummaryReport, com.zepben.protobuf.hc.opendss.SummaryReport.Builder, com.zepben.protobuf.hc.opendss.SummaryReportOrBuilder> srBuilder_;
/**
* .zepben.protobuf.hc.opendss.SummaryReport sr = 5;
* @return Whether the sr field is set.
*/
@java.lang.Override
public boolean hasSr() {
return reportCase_ == 5;
}
/**
* .zepben.protobuf.hc.opendss.SummaryReport sr = 5;
* @return The sr.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.SummaryReport getSr() {
if (srBuilder_ == null) {
if (reportCase_ == 5) {
return (com.zepben.protobuf.hc.opendss.SummaryReport) report_;
}
return com.zepben.protobuf.hc.opendss.SummaryReport.getDefaultInstance();
} else {
if (reportCase_ == 5) {
return srBuilder_.getMessage();
}
return com.zepben.protobuf.hc.opendss.SummaryReport.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.SummaryReport sr = 5;
*/
public Builder setSr(com.zepben.protobuf.hc.opendss.SummaryReport value) {
if (srBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
report_ = value;
onChanged();
} else {
srBuilder_.setMessage(value);
}
reportCase_ = 5;
return this;
}
/**
* .zepben.protobuf.hc.opendss.SummaryReport sr = 5;
*/
public Builder setSr(
com.zepben.protobuf.hc.opendss.SummaryReport.Builder builderForValue) {
if (srBuilder_ == null) {
report_ = builderForValue.build();
onChanged();
} else {
srBuilder_.setMessage(builderForValue.build());
}
reportCase_ = 5;
return this;
}
/**
* .zepben.protobuf.hc.opendss.SummaryReport sr = 5;
*/
public Builder mergeSr(com.zepben.protobuf.hc.opendss.SummaryReport value) {
if (srBuilder_ == null) {
if (reportCase_ == 5 &&
report_ != com.zepben.protobuf.hc.opendss.SummaryReport.getDefaultInstance()) {
report_ = com.zepben.protobuf.hc.opendss.SummaryReport.newBuilder((com.zepben.protobuf.hc.opendss.SummaryReport) report_)
.mergeFrom(value).buildPartial();
} else {
report_ = value;
}
onChanged();
} else {
if (reportCase_ == 5) {
srBuilder_.mergeFrom(value);
} else {
srBuilder_.setMessage(value);
}
}
reportCase_ = 5;
return this;
}
/**
* .zepben.protobuf.hc.opendss.SummaryReport sr = 5;
*/
public Builder clearSr() {
if (srBuilder_ == null) {
if (reportCase_ == 5) {
reportCase_ = 0;
report_ = null;
onChanged();
}
} else {
if (reportCase_ == 5) {
reportCase_ = 0;
report_ = null;
}
srBuilder_.clear();
}
return this;
}
/**
* .zepben.protobuf.hc.opendss.SummaryReport sr = 5;
*/
public com.zepben.protobuf.hc.opendss.SummaryReport.Builder getSrBuilder() {
return getSrFieldBuilder().getBuilder();
}
/**
* .zepben.protobuf.hc.opendss.SummaryReport sr = 5;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.SummaryReportOrBuilder getSrOrBuilder() {
if ((reportCase_ == 5) && (srBuilder_ != null)) {
return srBuilder_.getMessageOrBuilder();
} else {
if (reportCase_ == 5) {
return (com.zepben.protobuf.hc.opendss.SummaryReport) report_;
}
return com.zepben.protobuf.hc.opendss.SummaryReport.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.SummaryReport sr = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.SummaryReport, com.zepben.protobuf.hc.opendss.SummaryReport.Builder, com.zepben.protobuf.hc.opendss.SummaryReportOrBuilder>
getSrFieldBuilder() {
if (srBuilder_ == null) {
if (!(reportCase_ == 5)) {
report_ = com.zepben.protobuf.hc.opendss.SummaryReport.getDefaultInstance();
}
srBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.SummaryReport, com.zepben.protobuf.hc.opendss.SummaryReport.Builder, com.zepben.protobuf.hc.opendss.SummaryReportOrBuilder>(
(com.zepben.protobuf.hc.opendss.SummaryReport) report_,
getParentForChildren(),
isClean());
report_ = null;
}
reportCase_ = 5;
onChanged();
return srBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.EventLog, com.zepben.protobuf.hc.opendss.EventLog.Builder, com.zepben.protobuf.hc.opendss.EventLogOrBuilder> elBuilder_;
/**
* .zepben.protobuf.hc.opendss.EventLog el = 6;
* @return Whether the el field is set.
*/
@java.lang.Override
public boolean hasEl() {
return reportCase_ == 6;
}
/**
* .zepben.protobuf.hc.opendss.EventLog el = 6;
* @return The el.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.EventLog getEl() {
if (elBuilder_ == null) {
if (reportCase_ == 6) {
return (com.zepben.protobuf.hc.opendss.EventLog) report_;
}
return com.zepben.protobuf.hc.opendss.EventLog.getDefaultInstance();
} else {
if (reportCase_ == 6) {
return elBuilder_.getMessage();
}
return com.zepben.protobuf.hc.opendss.EventLog.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.EventLog el = 6;
*/
public Builder setEl(com.zepben.protobuf.hc.opendss.EventLog value) {
if (elBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
report_ = value;
onChanged();
} else {
elBuilder_.setMessage(value);
}
reportCase_ = 6;
return this;
}
/**
* .zepben.protobuf.hc.opendss.EventLog el = 6;
*/
public Builder setEl(
com.zepben.protobuf.hc.opendss.EventLog.Builder builderForValue) {
if (elBuilder_ == null) {
report_ = builderForValue.build();
onChanged();
} else {
elBuilder_.setMessage(builderForValue.build());
}
reportCase_ = 6;
return this;
}
/**
* .zepben.protobuf.hc.opendss.EventLog el = 6;
*/
public Builder mergeEl(com.zepben.protobuf.hc.opendss.EventLog value) {
if (elBuilder_ == null) {
if (reportCase_ == 6 &&
report_ != com.zepben.protobuf.hc.opendss.EventLog.getDefaultInstance()) {
report_ = com.zepben.protobuf.hc.opendss.EventLog.newBuilder((com.zepben.protobuf.hc.opendss.EventLog) report_)
.mergeFrom(value).buildPartial();
} else {
report_ = value;
}
onChanged();
} else {
if (reportCase_ == 6) {
elBuilder_.mergeFrom(value);
} else {
elBuilder_.setMessage(value);
}
}
reportCase_ = 6;
return this;
}
/**
* .zepben.protobuf.hc.opendss.EventLog el = 6;
*/
public Builder clearEl() {
if (elBuilder_ == null) {
if (reportCase_ == 6) {
reportCase_ = 0;
report_ = null;
onChanged();
}
} else {
if (reportCase_ == 6) {
reportCase_ = 0;
report_ = null;
}
elBuilder_.clear();
}
return this;
}
/**
* .zepben.protobuf.hc.opendss.EventLog el = 6;
*/
public com.zepben.protobuf.hc.opendss.EventLog.Builder getElBuilder() {
return getElFieldBuilder().getBuilder();
}
/**
* .zepben.protobuf.hc.opendss.EventLog el = 6;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.EventLogOrBuilder getElOrBuilder() {
if ((reportCase_ == 6) && (elBuilder_ != null)) {
return elBuilder_.getMessageOrBuilder();
} else {
if (reportCase_ == 6) {
return (com.zepben.protobuf.hc.opendss.EventLog) report_;
}
return com.zepben.protobuf.hc.opendss.EventLog.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.EventLog el = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.EventLog, com.zepben.protobuf.hc.opendss.EventLog.Builder, com.zepben.protobuf.hc.opendss.EventLogOrBuilder>
getElFieldBuilder() {
if (elBuilder_ == null) {
if (!(reportCase_ == 6)) {
report_ = com.zepben.protobuf.hc.opendss.EventLog.getDefaultInstance();
}
elBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.EventLog, com.zepben.protobuf.hc.opendss.EventLog.Builder, com.zepben.protobuf.hc.opendss.EventLogOrBuilder>(
(com.zepben.protobuf.hc.opendss.EventLog) report_,
getParentForChildren(),
isClean());
report_ = null;
}
reportCase_ = 6;
onChanged();
return elBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.TapsReport, com.zepben.protobuf.hc.opendss.TapsReport.Builder, com.zepben.protobuf.hc.opendss.TapsReportOrBuilder> trBuilder_;
/**
* .zepben.protobuf.hc.opendss.TapsReport tr = 7;
* @return Whether the tr field is set.
*/
@java.lang.Override
public boolean hasTr() {
return reportCase_ == 7;
}
/**
* .zepben.protobuf.hc.opendss.TapsReport tr = 7;
* @return The tr.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.TapsReport getTr() {
if (trBuilder_ == null) {
if (reportCase_ == 7) {
return (com.zepben.protobuf.hc.opendss.TapsReport) report_;
}
return com.zepben.protobuf.hc.opendss.TapsReport.getDefaultInstance();
} else {
if (reportCase_ == 7) {
return trBuilder_.getMessage();
}
return com.zepben.protobuf.hc.opendss.TapsReport.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.TapsReport tr = 7;
*/
public Builder setTr(com.zepben.protobuf.hc.opendss.TapsReport value) {
if (trBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
report_ = value;
onChanged();
} else {
trBuilder_.setMessage(value);
}
reportCase_ = 7;
return this;
}
/**
* .zepben.protobuf.hc.opendss.TapsReport tr = 7;
*/
public Builder setTr(
com.zepben.protobuf.hc.opendss.TapsReport.Builder builderForValue) {
if (trBuilder_ == null) {
report_ = builderForValue.build();
onChanged();
} else {
trBuilder_.setMessage(builderForValue.build());
}
reportCase_ = 7;
return this;
}
/**
* .zepben.protobuf.hc.opendss.TapsReport tr = 7;
*/
public Builder mergeTr(com.zepben.protobuf.hc.opendss.TapsReport value) {
if (trBuilder_ == null) {
if (reportCase_ == 7 &&
report_ != com.zepben.protobuf.hc.opendss.TapsReport.getDefaultInstance()) {
report_ = com.zepben.protobuf.hc.opendss.TapsReport.newBuilder((com.zepben.protobuf.hc.opendss.TapsReport) report_)
.mergeFrom(value).buildPartial();
} else {
report_ = value;
}
onChanged();
} else {
if (reportCase_ == 7) {
trBuilder_.mergeFrom(value);
} else {
trBuilder_.setMessage(value);
}
}
reportCase_ = 7;
return this;
}
/**
* .zepben.protobuf.hc.opendss.TapsReport tr = 7;
*/
public Builder clearTr() {
if (trBuilder_ == null) {
if (reportCase_ == 7) {
reportCase_ = 0;
report_ = null;
onChanged();
}
} else {
if (reportCase_ == 7) {
reportCase_ = 0;
report_ = null;
}
trBuilder_.clear();
}
return this;
}
/**
* .zepben.protobuf.hc.opendss.TapsReport tr = 7;
*/
public com.zepben.protobuf.hc.opendss.TapsReport.Builder getTrBuilder() {
return getTrFieldBuilder().getBuilder();
}
/**
* .zepben.protobuf.hc.opendss.TapsReport tr = 7;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.TapsReportOrBuilder getTrOrBuilder() {
if ((reportCase_ == 7) && (trBuilder_ != null)) {
return trBuilder_.getMessageOrBuilder();
} else {
if (reportCase_ == 7) {
return (com.zepben.protobuf.hc.opendss.TapsReport) report_;
}
return com.zepben.protobuf.hc.opendss.TapsReport.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.TapsReport tr = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.TapsReport, com.zepben.protobuf.hc.opendss.TapsReport.Builder, com.zepben.protobuf.hc.opendss.TapsReportOrBuilder>
getTrFieldBuilder() {
if (trBuilder_ == null) {
if (!(reportCase_ == 7)) {
report_ = com.zepben.protobuf.hc.opendss.TapsReport.getDefaultInstance();
}
trBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.TapsReport, com.zepben.protobuf.hc.opendss.TapsReport.Builder, com.zepben.protobuf.hc.opendss.TapsReportOrBuilder>(
(com.zepben.protobuf.hc.opendss.TapsReport) report_,
getParentForChildren(),
isClean());
report_ = null;
}
reportCase_ = 7;
onChanged();
return trBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.LoopReport, com.zepben.protobuf.hc.opendss.LoopReport.Builder, com.zepben.protobuf.hc.opendss.LoopReportOrBuilder> lrBuilder_;
/**
* .zepben.protobuf.hc.opendss.LoopReport lr = 8;
* @return Whether the lr field is set.
*/
@java.lang.Override
public boolean hasLr() {
return reportCase_ == 8;
}
/**
* .zepben.protobuf.hc.opendss.LoopReport lr = 8;
* @return The lr.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.LoopReport getLr() {
if (lrBuilder_ == null) {
if (reportCase_ == 8) {
return (com.zepben.protobuf.hc.opendss.LoopReport) report_;
}
return com.zepben.protobuf.hc.opendss.LoopReport.getDefaultInstance();
} else {
if (reportCase_ == 8) {
return lrBuilder_.getMessage();
}
return com.zepben.protobuf.hc.opendss.LoopReport.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.LoopReport lr = 8;
*/
public Builder setLr(com.zepben.protobuf.hc.opendss.LoopReport value) {
if (lrBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
report_ = value;
onChanged();
} else {
lrBuilder_.setMessage(value);
}
reportCase_ = 8;
return this;
}
/**
* .zepben.protobuf.hc.opendss.LoopReport lr = 8;
*/
public Builder setLr(
com.zepben.protobuf.hc.opendss.LoopReport.Builder builderForValue) {
if (lrBuilder_ == null) {
report_ = builderForValue.build();
onChanged();
} else {
lrBuilder_.setMessage(builderForValue.build());
}
reportCase_ = 8;
return this;
}
/**
* .zepben.protobuf.hc.opendss.LoopReport lr = 8;
*/
public Builder mergeLr(com.zepben.protobuf.hc.opendss.LoopReport value) {
if (lrBuilder_ == null) {
if (reportCase_ == 8 &&
report_ != com.zepben.protobuf.hc.opendss.LoopReport.getDefaultInstance()) {
report_ = com.zepben.protobuf.hc.opendss.LoopReport.newBuilder((com.zepben.protobuf.hc.opendss.LoopReport) report_)
.mergeFrom(value).buildPartial();
} else {
report_ = value;
}
onChanged();
} else {
if (reportCase_ == 8) {
lrBuilder_.mergeFrom(value);
} else {
lrBuilder_.setMessage(value);
}
}
reportCase_ = 8;
return this;
}
/**
* .zepben.protobuf.hc.opendss.LoopReport lr = 8;
*/
public Builder clearLr() {
if (lrBuilder_ == null) {
if (reportCase_ == 8) {
reportCase_ = 0;
report_ = null;
onChanged();
}
} else {
if (reportCase_ == 8) {
reportCase_ = 0;
report_ = null;
}
lrBuilder_.clear();
}
return this;
}
/**
* .zepben.protobuf.hc.opendss.LoopReport lr = 8;
*/
public com.zepben.protobuf.hc.opendss.LoopReport.Builder getLrBuilder() {
return getLrFieldBuilder().getBuilder();
}
/**
* .zepben.protobuf.hc.opendss.LoopReport lr = 8;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.LoopReportOrBuilder getLrOrBuilder() {
if ((reportCase_ == 8) && (lrBuilder_ != null)) {
return lrBuilder_.getMessageOrBuilder();
} else {
if (reportCase_ == 8) {
return (com.zepben.protobuf.hc.opendss.LoopReport) report_;
}
return com.zepben.protobuf.hc.opendss.LoopReport.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.LoopReport lr = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.LoopReport, com.zepben.protobuf.hc.opendss.LoopReport.Builder, com.zepben.protobuf.hc.opendss.LoopReportOrBuilder>
getLrFieldBuilder() {
if (lrBuilder_ == null) {
if (!(reportCase_ == 8)) {
report_ = com.zepben.protobuf.hc.opendss.LoopReport.getDefaultInstance();
}
lrBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.LoopReport, com.zepben.protobuf.hc.opendss.LoopReport.Builder, com.zepben.protobuf.hc.opendss.LoopReportOrBuilder>(
(com.zepben.protobuf.hc.opendss.LoopReport) report_,
getParentForChildren(),
isClean());
report_ = null;
}
reportCase_ = 8;
onChanged();
return lrBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.IsolatedBusesReport, com.zepben.protobuf.hc.opendss.IsolatedBusesReport.Builder, com.zepben.protobuf.hc.opendss.IsolatedBusesReportOrBuilder> ibrBuilder_;
/**
* .zepben.protobuf.hc.opendss.IsolatedBusesReport ibr = 9;
* @return Whether the ibr field is set.
*/
@java.lang.Override
public boolean hasIbr() {
return reportCase_ == 9;
}
/**
* .zepben.protobuf.hc.opendss.IsolatedBusesReport ibr = 9;
* @return The ibr.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.IsolatedBusesReport getIbr() {
if (ibrBuilder_ == null) {
if (reportCase_ == 9) {
return (com.zepben.protobuf.hc.opendss.IsolatedBusesReport) report_;
}
return com.zepben.protobuf.hc.opendss.IsolatedBusesReport.getDefaultInstance();
} else {
if (reportCase_ == 9) {
return ibrBuilder_.getMessage();
}
return com.zepben.protobuf.hc.opendss.IsolatedBusesReport.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.IsolatedBusesReport ibr = 9;
*/
public Builder setIbr(com.zepben.protobuf.hc.opendss.IsolatedBusesReport value) {
if (ibrBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
report_ = value;
onChanged();
} else {
ibrBuilder_.setMessage(value);
}
reportCase_ = 9;
return this;
}
/**
* .zepben.protobuf.hc.opendss.IsolatedBusesReport ibr = 9;
*/
public Builder setIbr(
com.zepben.protobuf.hc.opendss.IsolatedBusesReport.Builder builderForValue) {
if (ibrBuilder_ == null) {
report_ = builderForValue.build();
onChanged();
} else {
ibrBuilder_.setMessage(builderForValue.build());
}
reportCase_ = 9;
return this;
}
/**
* .zepben.protobuf.hc.opendss.IsolatedBusesReport ibr = 9;
*/
public Builder mergeIbr(com.zepben.protobuf.hc.opendss.IsolatedBusesReport value) {
if (ibrBuilder_ == null) {
if (reportCase_ == 9 &&
report_ != com.zepben.protobuf.hc.opendss.IsolatedBusesReport.getDefaultInstance()) {
report_ = com.zepben.protobuf.hc.opendss.IsolatedBusesReport.newBuilder((com.zepben.protobuf.hc.opendss.IsolatedBusesReport) report_)
.mergeFrom(value).buildPartial();
} else {
report_ = value;
}
onChanged();
} else {
if (reportCase_ == 9) {
ibrBuilder_.mergeFrom(value);
} else {
ibrBuilder_.setMessage(value);
}
}
reportCase_ = 9;
return this;
}
/**
* .zepben.protobuf.hc.opendss.IsolatedBusesReport ibr = 9;
*/
public Builder clearIbr() {
if (ibrBuilder_ == null) {
if (reportCase_ == 9) {
reportCase_ = 0;
report_ = null;
onChanged();
}
} else {
if (reportCase_ == 9) {
reportCase_ = 0;
report_ = null;
}
ibrBuilder_.clear();
}
return this;
}
/**
* .zepben.protobuf.hc.opendss.IsolatedBusesReport ibr = 9;
*/
public com.zepben.protobuf.hc.opendss.IsolatedBusesReport.Builder getIbrBuilder() {
return getIbrFieldBuilder().getBuilder();
}
/**
* .zepben.protobuf.hc.opendss.IsolatedBusesReport ibr = 9;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.IsolatedBusesReportOrBuilder getIbrOrBuilder() {
if ((reportCase_ == 9) && (ibrBuilder_ != null)) {
return ibrBuilder_.getMessageOrBuilder();
} else {
if (reportCase_ == 9) {
return (com.zepben.protobuf.hc.opendss.IsolatedBusesReport) report_;
}
return com.zepben.protobuf.hc.opendss.IsolatedBusesReport.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.IsolatedBusesReport ibr = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.IsolatedBusesReport, com.zepben.protobuf.hc.opendss.IsolatedBusesReport.Builder, com.zepben.protobuf.hc.opendss.IsolatedBusesReportOrBuilder>
getIbrFieldBuilder() {
if (ibrBuilder_ == null) {
if (!(reportCase_ == 9)) {
report_ = com.zepben.protobuf.hc.opendss.IsolatedBusesReport.getDefaultInstance();
}
ibrBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.IsolatedBusesReport, com.zepben.protobuf.hc.opendss.IsolatedBusesReport.Builder, com.zepben.protobuf.hc.opendss.IsolatedBusesReportOrBuilder>(
(com.zepben.protobuf.hc.opendss.IsolatedBusesReport) report_,
getParentForChildren(),
isClean());
report_ = null;
}
reportCase_ = 9;
onChanged();
return ibrBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.LossesEntry, com.zepben.protobuf.hc.opendss.LossesEntry.Builder, com.zepben.protobuf.hc.opendss.LossesEntryOrBuilder> leBuilder_;
/**
* .zepben.protobuf.hc.opendss.LossesEntry le = 10;
* @return Whether the le field is set.
*/
@java.lang.Override
public boolean hasLe() {
return reportCase_ == 10;
}
/**
* .zepben.protobuf.hc.opendss.LossesEntry le = 10;
* @return The le.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.LossesEntry getLe() {
if (leBuilder_ == null) {
if (reportCase_ == 10) {
return (com.zepben.protobuf.hc.opendss.LossesEntry) report_;
}
return com.zepben.protobuf.hc.opendss.LossesEntry.getDefaultInstance();
} else {
if (reportCase_ == 10) {
return leBuilder_.getMessage();
}
return com.zepben.protobuf.hc.opendss.LossesEntry.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.LossesEntry le = 10;
*/
public Builder setLe(com.zepben.protobuf.hc.opendss.LossesEntry value) {
if (leBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
report_ = value;
onChanged();
} else {
leBuilder_.setMessage(value);
}
reportCase_ = 10;
return this;
}
/**
* .zepben.protobuf.hc.opendss.LossesEntry le = 10;
*/
public Builder setLe(
com.zepben.protobuf.hc.opendss.LossesEntry.Builder builderForValue) {
if (leBuilder_ == null) {
report_ = builderForValue.build();
onChanged();
} else {
leBuilder_.setMessage(builderForValue.build());
}
reportCase_ = 10;
return this;
}
/**
* .zepben.protobuf.hc.opendss.LossesEntry le = 10;
*/
public Builder mergeLe(com.zepben.protobuf.hc.opendss.LossesEntry value) {
if (leBuilder_ == null) {
if (reportCase_ == 10 &&
report_ != com.zepben.protobuf.hc.opendss.LossesEntry.getDefaultInstance()) {
report_ = com.zepben.protobuf.hc.opendss.LossesEntry.newBuilder((com.zepben.protobuf.hc.opendss.LossesEntry) report_)
.mergeFrom(value).buildPartial();
} else {
report_ = value;
}
onChanged();
} else {
if (reportCase_ == 10) {
leBuilder_.mergeFrom(value);
} else {
leBuilder_.setMessage(value);
}
}
reportCase_ = 10;
return this;
}
/**
* .zepben.protobuf.hc.opendss.LossesEntry le = 10;
*/
public Builder clearLe() {
if (leBuilder_ == null) {
if (reportCase_ == 10) {
reportCase_ = 0;
report_ = null;
onChanged();
}
} else {
if (reportCase_ == 10) {
reportCase_ = 0;
report_ = null;
}
leBuilder_.clear();
}
return this;
}
/**
* .zepben.protobuf.hc.opendss.LossesEntry le = 10;
*/
public com.zepben.protobuf.hc.opendss.LossesEntry.Builder getLeBuilder() {
return getLeFieldBuilder().getBuilder();
}
/**
* .zepben.protobuf.hc.opendss.LossesEntry le = 10;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.LossesEntryOrBuilder getLeOrBuilder() {
if ((reportCase_ == 10) && (leBuilder_ != null)) {
return leBuilder_.getMessageOrBuilder();
} else {
if (reportCase_ == 10) {
return (com.zepben.protobuf.hc.opendss.LossesEntry) report_;
}
return com.zepben.protobuf.hc.opendss.LossesEntry.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.LossesEntry le = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.LossesEntry, com.zepben.protobuf.hc.opendss.LossesEntry.Builder, com.zepben.protobuf.hc.opendss.LossesEntryOrBuilder>
getLeFieldBuilder() {
if (leBuilder_ == null) {
if (!(reportCase_ == 10)) {
report_ = com.zepben.protobuf.hc.opendss.LossesEntry.getDefaultInstance();
}
leBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.LossesEntry, com.zepben.protobuf.hc.opendss.LossesEntry.Builder, com.zepben.protobuf.hc.opendss.LossesEntryOrBuilder>(
(com.zepben.protobuf.hc.opendss.LossesEntry) report_,
getParentForChildren(),
isClean());
report_ = null;
}
reportCase_ = 10;
onChanged();
return leBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.LossesTotals, com.zepben.protobuf.hc.opendss.LossesTotals.Builder, com.zepben.protobuf.hc.opendss.LossesTotalsOrBuilder> lossesBuilder_;
/**
* .zepben.protobuf.hc.opendss.LossesTotals losses = 11;
* @return Whether the losses field is set.
*/
@java.lang.Override
public boolean hasLosses() {
return reportCase_ == 11;
}
/**
* .zepben.protobuf.hc.opendss.LossesTotals losses = 11;
* @return The losses.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.LossesTotals getLosses() {
if (lossesBuilder_ == null) {
if (reportCase_ == 11) {
return (com.zepben.protobuf.hc.opendss.LossesTotals) report_;
}
return com.zepben.protobuf.hc.opendss.LossesTotals.getDefaultInstance();
} else {
if (reportCase_ == 11) {
return lossesBuilder_.getMessage();
}
return com.zepben.protobuf.hc.opendss.LossesTotals.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.LossesTotals losses = 11;
*/
public Builder setLosses(com.zepben.protobuf.hc.opendss.LossesTotals value) {
if (lossesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
report_ = value;
onChanged();
} else {
lossesBuilder_.setMessage(value);
}
reportCase_ = 11;
return this;
}
/**
* .zepben.protobuf.hc.opendss.LossesTotals losses = 11;
*/
public Builder setLosses(
com.zepben.protobuf.hc.opendss.LossesTotals.Builder builderForValue) {
if (lossesBuilder_ == null) {
report_ = builderForValue.build();
onChanged();
} else {
lossesBuilder_.setMessage(builderForValue.build());
}
reportCase_ = 11;
return this;
}
/**
* .zepben.protobuf.hc.opendss.LossesTotals losses = 11;
*/
public Builder mergeLosses(com.zepben.protobuf.hc.opendss.LossesTotals value) {
if (lossesBuilder_ == null) {
if (reportCase_ == 11 &&
report_ != com.zepben.protobuf.hc.opendss.LossesTotals.getDefaultInstance()) {
report_ = com.zepben.protobuf.hc.opendss.LossesTotals.newBuilder((com.zepben.protobuf.hc.opendss.LossesTotals) report_)
.mergeFrom(value).buildPartial();
} else {
report_ = value;
}
onChanged();
} else {
if (reportCase_ == 11) {
lossesBuilder_.mergeFrom(value);
} else {
lossesBuilder_.setMessage(value);
}
}
reportCase_ = 11;
return this;
}
/**
* .zepben.protobuf.hc.opendss.LossesTotals losses = 11;
*/
public Builder clearLosses() {
if (lossesBuilder_ == null) {
if (reportCase_ == 11) {
reportCase_ = 0;
report_ = null;
onChanged();
}
} else {
if (reportCase_ == 11) {
reportCase_ = 0;
report_ = null;
}
lossesBuilder_.clear();
}
return this;
}
/**
* .zepben.protobuf.hc.opendss.LossesTotals losses = 11;
*/
public com.zepben.protobuf.hc.opendss.LossesTotals.Builder getLossesBuilder() {
return getLossesFieldBuilder().getBuilder();
}
/**
* .zepben.protobuf.hc.opendss.LossesTotals losses = 11;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.LossesTotalsOrBuilder getLossesOrBuilder() {
if ((reportCase_ == 11) && (lossesBuilder_ != null)) {
return lossesBuilder_.getMessageOrBuilder();
} else {
if (reportCase_ == 11) {
return (com.zepben.protobuf.hc.opendss.LossesTotals) report_;
}
return com.zepben.protobuf.hc.opendss.LossesTotals.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.LossesTotals losses = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.LossesTotals, com.zepben.protobuf.hc.opendss.LossesTotals.Builder, com.zepben.protobuf.hc.opendss.LossesTotalsOrBuilder>
getLossesFieldBuilder() {
if (lossesBuilder_ == null) {
if (!(reportCase_ == 11)) {
report_ = com.zepben.protobuf.hc.opendss.LossesTotals.getDefaultInstance();
}
lossesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.LossesTotals, com.zepben.protobuf.hc.opendss.LossesTotals.Builder, com.zepben.protobuf.hc.opendss.LossesTotalsOrBuilder>(
(com.zepben.protobuf.hc.opendss.LossesTotals) report_,
getParentForChildren(),
isClean());
report_ = null;
}
reportCase_ = 11;
onChanged();
return lossesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.NodeMismatch, com.zepben.protobuf.hc.opendss.NodeMismatch.Builder, com.zepben.protobuf.hc.opendss.NodeMismatchOrBuilder> nmBuilder_;
/**
* .zepben.protobuf.hc.opendss.NodeMismatch nm = 12;
* @return Whether the nm field is set.
*/
@java.lang.Override
public boolean hasNm() {
return reportCase_ == 12;
}
/**
* .zepben.protobuf.hc.opendss.NodeMismatch nm = 12;
* @return The nm.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.NodeMismatch getNm() {
if (nmBuilder_ == null) {
if (reportCase_ == 12) {
return (com.zepben.protobuf.hc.opendss.NodeMismatch) report_;
}
return com.zepben.protobuf.hc.opendss.NodeMismatch.getDefaultInstance();
} else {
if (reportCase_ == 12) {
return nmBuilder_.getMessage();
}
return com.zepben.protobuf.hc.opendss.NodeMismatch.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.NodeMismatch nm = 12;
*/
public Builder setNm(com.zepben.protobuf.hc.opendss.NodeMismatch value) {
if (nmBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
report_ = value;
onChanged();
} else {
nmBuilder_.setMessage(value);
}
reportCase_ = 12;
return this;
}
/**
* .zepben.protobuf.hc.opendss.NodeMismatch nm = 12;
*/
public Builder setNm(
com.zepben.protobuf.hc.opendss.NodeMismatch.Builder builderForValue) {
if (nmBuilder_ == null) {
report_ = builderForValue.build();
onChanged();
} else {
nmBuilder_.setMessage(builderForValue.build());
}
reportCase_ = 12;
return this;
}
/**
* .zepben.protobuf.hc.opendss.NodeMismatch nm = 12;
*/
public Builder mergeNm(com.zepben.protobuf.hc.opendss.NodeMismatch value) {
if (nmBuilder_ == null) {
if (reportCase_ == 12 &&
report_ != com.zepben.protobuf.hc.opendss.NodeMismatch.getDefaultInstance()) {
report_ = com.zepben.protobuf.hc.opendss.NodeMismatch.newBuilder((com.zepben.protobuf.hc.opendss.NodeMismatch) report_)
.mergeFrom(value).buildPartial();
} else {
report_ = value;
}
onChanged();
} else {
if (reportCase_ == 12) {
nmBuilder_.mergeFrom(value);
} else {
nmBuilder_.setMessage(value);
}
}
reportCase_ = 12;
return this;
}
/**
* .zepben.protobuf.hc.opendss.NodeMismatch nm = 12;
*/
public Builder clearNm() {
if (nmBuilder_ == null) {
if (reportCase_ == 12) {
reportCase_ = 0;
report_ = null;
onChanged();
}
} else {
if (reportCase_ == 12) {
reportCase_ = 0;
report_ = null;
}
nmBuilder_.clear();
}
return this;
}
/**
* .zepben.protobuf.hc.opendss.NodeMismatch nm = 12;
*/
public com.zepben.protobuf.hc.opendss.NodeMismatch.Builder getNmBuilder() {
return getNmFieldBuilder().getBuilder();
}
/**
* .zepben.protobuf.hc.opendss.NodeMismatch nm = 12;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.NodeMismatchOrBuilder getNmOrBuilder() {
if ((reportCase_ == 12) && (nmBuilder_ != null)) {
return nmBuilder_.getMessageOrBuilder();
} else {
if (reportCase_ == 12) {
return (com.zepben.protobuf.hc.opendss.NodeMismatch) report_;
}
return com.zepben.protobuf.hc.opendss.NodeMismatch.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.NodeMismatch nm = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.NodeMismatch, com.zepben.protobuf.hc.opendss.NodeMismatch.Builder, com.zepben.protobuf.hc.opendss.NodeMismatchOrBuilder>
getNmFieldBuilder() {
if (nmBuilder_ == null) {
if (!(reportCase_ == 12)) {
report_ = com.zepben.protobuf.hc.opendss.NodeMismatch.getDefaultInstance();
}
nmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.NodeMismatch, com.zepben.protobuf.hc.opendss.NodeMismatch.Builder, com.zepben.protobuf.hc.opendss.NodeMismatchOrBuilder>(
(com.zepben.protobuf.hc.opendss.NodeMismatch) report_,
getParentForChildren(),
isClean());
report_ = null;
}
reportCase_ = 12;
onChanged();
return nmBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.KVBaseMismatch, com.zepben.protobuf.hc.opendss.KVBaseMismatch.Builder, com.zepben.protobuf.hc.opendss.KVBaseMismatchOrBuilder> kvmBuilder_;
/**
* .zepben.protobuf.hc.opendss.KVBaseMismatch kvm = 13;
* @return Whether the kvm field is set.
*/
@java.lang.Override
public boolean hasKvm() {
return reportCase_ == 13;
}
/**
* .zepben.protobuf.hc.opendss.KVBaseMismatch kvm = 13;
* @return The kvm.
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.KVBaseMismatch getKvm() {
if (kvmBuilder_ == null) {
if (reportCase_ == 13) {
return (com.zepben.protobuf.hc.opendss.KVBaseMismatch) report_;
}
return com.zepben.protobuf.hc.opendss.KVBaseMismatch.getDefaultInstance();
} else {
if (reportCase_ == 13) {
return kvmBuilder_.getMessage();
}
return com.zepben.protobuf.hc.opendss.KVBaseMismatch.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.KVBaseMismatch kvm = 13;
*/
public Builder setKvm(com.zepben.protobuf.hc.opendss.KVBaseMismatch value) {
if (kvmBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
report_ = value;
onChanged();
} else {
kvmBuilder_.setMessage(value);
}
reportCase_ = 13;
return this;
}
/**
* .zepben.protobuf.hc.opendss.KVBaseMismatch kvm = 13;
*/
public Builder setKvm(
com.zepben.protobuf.hc.opendss.KVBaseMismatch.Builder builderForValue) {
if (kvmBuilder_ == null) {
report_ = builderForValue.build();
onChanged();
} else {
kvmBuilder_.setMessage(builderForValue.build());
}
reportCase_ = 13;
return this;
}
/**
* .zepben.protobuf.hc.opendss.KVBaseMismatch kvm = 13;
*/
public Builder mergeKvm(com.zepben.protobuf.hc.opendss.KVBaseMismatch value) {
if (kvmBuilder_ == null) {
if (reportCase_ == 13 &&
report_ != com.zepben.protobuf.hc.opendss.KVBaseMismatch.getDefaultInstance()) {
report_ = com.zepben.protobuf.hc.opendss.KVBaseMismatch.newBuilder((com.zepben.protobuf.hc.opendss.KVBaseMismatch) report_)
.mergeFrom(value).buildPartial();
} else {
report_ = value;
}
onChanged();
} else {
if (reportCase_ == 13) {
kvmBuilder_.mergeFrom(value);
} else {
kvmBuilder_.setMessage(value);
}
}
reportCase_ = 13;
return this;
}
/**
* .zepben.protobuf.hc.opendss.KVBaseMismatch kvm = 13;
*/
public Builder clearKvm() {
if (kvmBuilder_ == null) {
if (reportCase_ == 13) {
reportCase_ = 0;
report_ = null;
onChanged();
}
} else {
if (reportCase_ == 13) {
reportCase_ = 0;
report_ = null;
}
kvmBuilder_.clear();
}
return this;
}
/**
* .zepben.protobuf.hc.opendss.KVBaseMismatch kvm = 13;
*/
public com.zepben.protobuf.hc.opendss.KVBaseMismatch.Builder getKvmBuilder() {
return getKvmFieldBuilder().getBuilder();
}
/**
* .zepben.protobuf.hc.opendss.KVBaseMismatch kvm = 13;
*/
@java.lang.Override
public com.zepben.protobuf.hc.opendss.KVBaseMismatchOrBuilder getKvmOrBuilder() {
if ((reportCase_ == 13) && (kvmBuilder_ != null)) {
return kvmBuilder_.getMessageOrBuilder();
} else {
if (reportCase_ == 13) {
return (com.zepben.protobuf.hc.opendss.KVBaseMismatch) report_;
}
return com.zepben.protobuf.hc.opendss.KVBaseMismatch.getDefaultInstance();
}
}
/**
* .zepben.protobuf.hc.opendss.KVBaseMismatch kvm = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.KVBaseMismatch, com.zepben.protobuf.hc.opendss.KVBaseMismatch.Builder, com.zepben.protobuf.hc.opendss.KVBaseMismatchOrBuilder>
getKvmFieldBuilder() {
if (kvmBuilder_ == null) {
if (!(reportCase_ == 13)) {
report_ = com.zepben.protobuf.hc.opendss.KVBaseMismatch.getDefaultInstance();
}
kvmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.zepben.protobuf.hc.opendss.KVBaseMismatch, com.zepben.protobuf.hc.opendss.KVBaseMismatch.Builder, com.zepben.protobuf.hc.opendss.KVBaseMismatchOrBuilder>(
(com.zepben.protobuf.hc.opendss.KVBaseMismatch) report_,
getParentForChildren(),
isClean());
report_ = null;
}
reportCase_ = 13;
onChanged();
return kvmBuilder_;
}
/**
* bool failure = 14;
* @return Whether the failure field is set.
*/
public boolean hasFailure() {
return reportCase_ == 14;
}
/**
* bool failure = 14;
* @return The failure.
*/
public boolean getFailure() {
if (reportCase_ == 14) {
return (java.lang.Boolean) report_;
}
return false;
}
/**
* bool failure = 14;
* @param value The failure to set.
* @return This builder for chaining.
*/
public Builder setFailure(boolean value) {
reportCase_ = 14;
report_ = value;
onChanged();
return this;
}
/**
* bool failure = 14;
* @return This builder for chaining.
*/
public Builder clearFailure() {
if (reportCase_ == 14) {
reportCase_ = 0;
report_ = null;
onChanged();
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:zepben.protobuf.hc.opendss.OpenDssReport)
}
// @@protoc_insertion_point(class_scope:zepben.protobuf.hc.opendss.OpenDssReport)
private static final com.zepben.protobuf.hc.opendss.OpenDssReport DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.zepben.protobuf.hc.opendss.OpenDssReport();
}
public static com.zepben.protobuf.hc.opendss.OpenDssReport getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public OpenDssReport 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.OpenDssReport getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}