com.zepben.protobuf.hc.opendss.LoopReport 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/Diagnostics.proto
package com.zepben.protobuf.hc.opendss;
/**
*
**
* Message for streaming the loops report
*
*
* Protobuf type {@code zepben.protobuf.hc.opendss.LoopReport}
*/
public final class LoopReport extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:zepben.protobuf.hc.opendss.LoopReport)
LoopReportOrBuilder {
private static final long serialVersionUID = 0L;
// Use LoopReport.newBuilder() to construct.
private LoopReport(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LoopReport() {
meter_ = "";
lineA_ = "";
lineB_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LoopReport();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.zepben.protobuf.hc.opendss.Diagnostics.internal_static_zepben_protobuf_hc_opendss_LoopReport_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.zepben.protobuf.hc.opendss.Diagnostics.internal_static_zepben_protobuf_hc_opendss_LoopReport_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.zepben.protobuf.hc.opendss.LoopReport.class, com.zepben.protobuf.hc.opendss.LoopReport.Builder.class);
}
public static final int METER_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object meter_ = "";
/**
* string meter = 1;
* @return The meter.
*/
@java.lang.Override
public java.lang.String getMeter() {
java.lang.Object ref = meter_;
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();
meter_ = s;
return s;
}
}
/**
* string meter = 1;
* @return The bytes for meter.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMeterBytes() {
java.lang.Object ref = meter_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
meter_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LINEA_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object lineA_ = "";
/**
* string lineA = 2;
* @return The lineA.
*/
@java.lang.Override
public java.lang.String getLineA() {
java.lang.Object ref = lineA_;
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();
lineA_ = s;
return s;
}
}
/**
* string lineA = 2;
* @return The bytes for lineA.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLineABytes() {
java.lang.Object ref = lineA_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lineA_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LINEB_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object lineB_ = "";
/**
* string lineB = 3;
* @return The lineB.
*/
@java.lang.Override
public java.lang.String getLineB() {
java.lang.Object ref = lineB_;
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();
lineB_ = s;
return s;
}
}
/**
* string lineB = 3;
* @return The bytes for lineB.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLineBBytes() {
java.lang.Object ref = lineB_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lineB_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PARALLEL_FIELD_NUMBER = 4;
private boolean parallel_ = false;
/**
* bool parallel = 4;
* @return The parallel.
*/
@java.lang.Override
public boolean getParallel() {
return parallel_;
}
public static final int LOOPED_FIELD_NUMBER = 5;
private boolean looped_ = false;
/**
* bool looped = 5;
* @return The looped.
*/
@java.lang.Override
public boolean getLooped() {
return looped_;
}
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(meter_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, meter_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lineA_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, lineA_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lineB_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, lineB_);
}
if (parallel_ != false) {
output.writeBool(4, parallel_);
}
if (looped_ != false) {
output.writeBool(5, looped_);
}
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(meter_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, meter_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lineA_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, lineA_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lineB_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, lineB_);
}
if (parallel_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, parallel_);
}
if (looped_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, looped_);
}
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.LoopReport)) {
return super.equals(obj);
}
com.zepben.protobuf.hc.opendss.LoopReport other = (com.zepben.protobuf.hc.opendss.LoopReport) obj;
if (!getMeter()
.equals(other.getMeter())) return false;
if (!getLineA()
.equals(other.getLineA())) return false;
if (!getLineB()
.equals(other.getLineB())) return false;
if (getParallel()
!= other.getParallel()) return false;
if (getLooped()
!= other.getLooped()) 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) + METER_FIELD_NUMBER;
hash = (53 * hash) + getMeter().hashCode();
hash = (37 * hash) + LINEA_FIELD_NUMBER;
hash = (53 * hash) + getLineA().hashCode();
hash = (37 * hash) + LINEB_FIELD_NUMBER;
hash = (53 * hash) + getLineB().hashCode();
hash = (37 * hash) + PARALLEL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getParallel());
hash = (37 * hash) + LOOPED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getLooped());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.zepben.protobuf.hc.opendss.LoopReport parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.zepben.protobuf.hc.opendss.LoopReport 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.LoopReport parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.zepben.protobuf.hc.opendss.LoopReport 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.LoopReport parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.zepben.protobuf.hc.opendss.LoopReport 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.LoopReport parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.zepben.protobuf.hc.opendss.LoopReport 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.LoopReport parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.zepben.protobuf.hc.opendss.LoopReport 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.LoopReport 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.LoopReport 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.LoopReport 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 loops report
*
*
* Protobuf type {@code zepben.protobuf.hc.opendss.LoopReport}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:zepben.protobuf.hc.opendss.LoopReport)
com.zepben.protobuf.hc.opendss.LoopReportOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.zepben.protobuf.hc.opendss.Diagnostics.internal_static_zepben_protobuf_hc_opendss_LoopReport_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.zepben.protobuf.hc.opendss.Diagnostics.internal_static_zepben_protobuf_hc_opendss_LoopReport_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.zepben.protobuf.hc.opendss.LoopReport.class, com.zepben.protobuf.hc.opendss.LoopReport.Builder.class);
}
// Construct using com.zepben.protobuf.hc.opendss.LoopReport.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
meter_ = "";
lineA_ = "";
lineB_ = "";
parallel_ = false;
looped_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.zepben.protobuf.hc.opendss.Diagnostics.internal_static_zepben_protobuf_hc_opendss_LoopReport_descriptor;
}
@java.lang.Override
public com.zepben.protobuf.hc.opendss.LoopReport getDefaultInstanceForType() {
return com.zepben.protobuf.hc.opendss.LoopReport.getDefaultInstance();
}
@java.lang.Override
public com.zepben.protobuf.hc.opendss.LoopReport build() {
com.zepben.protobuf.hc.opendss.LoopReport result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.zepben.protobuf.hc.opendss.LoopReport buildPartial() {
com.zepben.protobuf.hc.opendss.LoopReport result = new com.zepben.protobuf.hc.opendss.LoopReport(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.zepben.protobuf.hc.opendss.LoopReport result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.meter_ = meter_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.lineA_ = lineA_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.lineB_ = lineB_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.parallel_ = parallel_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.looped_ = looped_;
}
}
@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.LoopReport) {
return mergeFrom((com.zepben.protobuf.hc.opendss.LoopReport)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.zepben.protobuf.hc.opendss.LoopReport other) {
if (other == com.zepben.protobuf.hc.opendss.LoopReport.getDefaultInstance()) return this;
if (!other.getMeter().isEmpty()) {
meter_ = other.meter_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getLineA().isEmpty()) {
lineA_ = other.lineA_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getLineB().isEmpty()) {
lineB_ = other.lineB_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.getParallel() != false) {
setParallel(other.getParallel());
}
if (other.getLooped() != false) {
setLooped(other.getLooped());
}
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: {
meter_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
lineA_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
lineB_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 32: {
parallel_ = input.readBool();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
looped_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
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 java.lang.Object meter_ = "";
/**
* string meter = 1;
* @return The meter.
*/
public java.lang.String getMeter() {
java.lang.Object ref = meter_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
meter_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string meter = 1;
* @return The bytes for meter.
*/
public com.google.protobuf.ByteString
getMeterBytes() {
java.lang.Object ref = meter_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
meter_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string meter = 1;
* @param value The meter to set.
* @return This builder for chaining.
*/
public Builder setMeter(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
meter_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string meter = 1;
* @return This builder for chaining.
*/
public Builder clearMeter() {
meter_ = getDefaultInstance().getMeter();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string meter = 1;
* @param value The bytes for meter to set.
* @return This builder for chaining.
*/
public Builder setMeterBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
meter_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object lineA_ = "";
/**
* string lineA = 2;
* @return The lineA.
*/
public java.lang.String getLineA() {
java.lang.Object ref = lineA_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
lineA_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string lineA = 2;
* @return The bytes for lineA.
*/
public com.google.protobuf.ByteString
getLineABytes() {
java.lang.Object ref = lineA_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lineA_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string lineA = 2;
* @param value The lineA to set.
* @return This builder for chaining.
*/
public Builder setLineA(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
lineA_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string lineA = 2;
* @return This builder for chaining.
*/
public Builder clearLineA() {
lineA_ = getDefaultInstance().getLineA();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string lineA = 2;
* @param value The bytes for lineA to set.
* @return This builder for chaining.
*/
public Builder setLineABytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
lineA_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object lineB_ = "";
/**
* string lineB = 3;
* @return The lineB.
*/
public java.lang.String getLineB() {
java.lang.Object ref = lineB_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
lineB_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string lineB = 3;
* @return The bytes for lineB.
*/
public com.google.protobuf.ByteString
getLineBBytes() {
java.lang.Object ref = lineB_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lineB_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string lineB = 3;
* @param value The lineB to set.
* @return This builder for chaining.
*/
public Builder setLineB(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
lineB_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* string lineB = 3;
* @return This builder for chaining.
*/
public Builder clearLineB() {
lineB_ = getDefaultInstance().getLineB();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string lineB = 3;
* @param value The bytes for lineB to set.
* @return This builder for chaining.
*/
public Builder setLineBBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
lineB_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private boolean parallel_ ;
/**
* bool parallel = 4;
* @return The parallel.
*/
@java.lang.Override
public boolean getParallel() {
return parallel_;
}
/**
* bool parallel = 4;
* @param value The parallel to set.
* @return This builder for chaining.
*/
public Builder setParallel(boolean value) {
parallel_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* bool parallel = 4;
* @return This builder for chaining.
*/
public Builder clearParallel() {
bitField0_ = (bitField0_ & ~0x00000008);
parallel_ = false;
onChanged();
return this;
}
private boolean looped_ ;
/**
* bool looped = 5;
* @return The looped.
*/
@java.lang.Override
public boolean getLooped() {
return looped_;
}
/**
* bool looped = 5;
* @param value The looped to set.
* @return This builder for chaining.
*/
public Builder setLooped(boolean value) {
looped_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* bool looped = 5;
* @return This builder for chaining.
*/
public Builder clearLooped() {
bitField0_ = (bitField0_ & ~0x00000010);
looped_ = false;
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.LoopReport)
}
// @@protoc_insertion_point(class_scope:zepben.protobuf.hc.opendss.LoopReport)
private static final com.zepben.protobuf.hc.opendss.LoopReport DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.zepben.protobuf.hc.opendss.LoopReport();
}
public static com.zepben.protobuf.hc.opendss.LoopReport getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public LoopReport 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.LoopReport getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}