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

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

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

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

/**
 * 
 **
 * No-load test results determine core admittance parameters. They include exciting current and core loss measurements from
 * applying voltage to one winding. The excitation may be positive sequence or zero sequence. The test may be repeated at
 * different voltages to measure saturation.
 * 
* * Protobuf type {@code zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest} */ public final class NoLoadTest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest) NoLoadTestOrBuilder { private static final long serialVersionUID = 0L; // Use NoLoadTest.newBuilder() to construct. private NoLoadTest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NoLoadTest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new NoLoadTest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTestOuterClass.internal_static_zepben_protobuf_cim_iec61968_assetinfo_NoLoadTest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTestOuterClass.internal_static_zepben_protobuf_cim_iec61968_assetinfo_NoLoadTest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.class, com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.Builder.class); } private int bitField0_; public static final int TT_FIELD_NUMBER = 1; private com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest tt_; /** *
   **
   * TransformerTest fields for this NoLoadTest.
   * 
* * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTest tt = 1; * @return Whether the tt field is set. */ @java.lang.Override public boolean hasTt() { return ((bitField0_ & 0x00000001) != 0); } /** *
   **
   * TransformerTest fields for this NoLoadTest.
   * 
* * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTest tt = 1; * @return The tt. */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest getTt() { return tt_ == null ? com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest.getDefaultInstance() : tt_; } /** *
   **
   * TransformerTest fields for this NoLoadTest.
   * 
* * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTest tt = 1; */ @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTestOrBuilder getTtOrBuilder() { return tt_ == null ? com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest.getDefaultInstance() : tt_; } public static final int ENERGISEDENDVOLTAGE_FIELD_NUMBER = 2; private int energisedEndVoltage_ = 0; /** *
   **
   * Voltage applied to the winding (end) during test in volts.
   * 
* * int32 energisedEndVoltage = 2; * @return The energisedEndVoltage. */ @java.lang.Override public int getEnergisedEndVoltage() { return energisedEndVoltage_; } public static final int EXCITINGCURRENT_FIELD_NUMBER = 3; private double excitingCurrent_ = 0D; /** *
   **
   * Exciting current measured from a positive-sequence or single-phase excitation test as percentage.
   * 
* * double excitingCurrent = 3; * @return The excitingCurrent. */ @java.lang.Override public double getExcitingCurrent() { return excitingCurrent_; } public static final int EXCITINGCURRENTZERO_FIELD_NUMBER = 4; private double excitingCurrentZero_ = 0D; /** *
   **
   * Exciting current measured from a zero-sequence open-circuit excitation test as percentage.
   * 
* * double excitingCurrentZero = 4; * @return The excitingCurrentZero. */ @java.lang.Override public double getExcitingCurrentZero() { return excitingCurrentZero_; } public static final int LOSS_FIELD_NUMBER = 5; private int loss_ = 0; /** *
   **
   * Losses measured from a positive-sequence or single-phase excitation test in watts.
   * 
* * int32 loss = 5; * @return The loss. */ @java.lang.Override public int getLoss() { return loss_; } public static final int LOSSZERO_FIELD_NUMBER = 6; private int lossZero_ = 0; /** *
   **
   * Losses measured from a zero-sequence excitation test as watts.
   * 
* * int32 lossZero = 6; * @return The lossZero. */ @java.lang.Override public int getLossZero() { return lossZero_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getTt()); } if (energisedEndVoltage_ != 0) { output.writeInt32(2, energisedEndVoltage_); } if (java.lang.Double.doubleToRawLongBits(excitingCurrent_) != 0) { output.writeDouble(3, excitingCurrent_); } if (java.lang.Double.doubleToRawLongBits(excitingCurrentZero_) != 0) { output.writeDouble(4, excitingCurrentZero_); } if (loss_ != 0) { output.writeInt32(5, loss_); } if (lossZero_ != 0) { output.writeInt32(6, lossZero_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTt()); } if (energisedEndVoltage_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, energisedEndVoltage_); } if (java.lang.Double.doubleToRawLongBits(excitingCurrent_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, excitingCurrent_); } if (java.lang.Double.doubleToRawLongBits(excitingCurrentZero_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, excitingCurrentZero_); } if (loss_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, loss_); } if (lossZero_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, lossZero_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest)) { return super.equals(obj); } com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest other = (com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest) obj; if (hasTt() != other.hasTt()) return false; if (hasTt()) { if (!getTt() .equals(other.getTt())) return false; } if (getEnergisedEndVoltage() != other.getEnergisedEndVoltage()) return false; if (java.lang.Double.doubleToLongBits(getExcitingCurrent()) != java.lang.Double.doubleToLongBits( other.getExcitingCurrent())) return false; if (java.lang.Double.doubleToLongBits(getExcitingCurrentZero()) != java.lang.Double.doubleToLongBits( other.getExcitingCurrentZero())) return false; if (getLoss() != other.getLoss()) return false; if (getLossZero() != other.getLossZero()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTt()) { hash = (37 * hash) + TT_FIELD_NUMBER; hash = (53 * hash) + getTt().hashCode(); } hash = (37 * hash) + ENERGISEDENDVOLTAGE_FIELD_NUMBER; hash = (53 * hash) + getEnergisedEndVoltage(); hash = (37 * hash) + EXCITINGCURRENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getExcitingCurrent())); hash = (37 * hash) + EXCITINGCURRENTZERO_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getExcitingCurrentZero())); hash = (37 * hash) + LOSS_FIELD_NUMBER; hash = (53 * hash) + getLoss(); hash = (37 * hash) + LOSSZERO_FIELD_NUMBER; hash = (53 * hash) + getLossZero(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest 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; } /** *
   **
   * No-load test results determine core admittance parameters. They include exciting current and core loss measurements from
   * applying voltage to one winding. The excitation may be positive sequence or zero sequence. The test may be repeated at
   * different voltages to measure saturation.
   * 
* * Protobuf type {@code zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest) com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTestOuterClass.internal_static_zepben_protobuf_cim_iec61968_assetinfo_NoLoadTest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTestOuterClass.internal_static_zepben_protobuf_cim_iec61968_assetinfo_NoLoadTest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.class, com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.Builder.class); } // Construct using com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTtFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; tt_ = null; if (ttBuilder_ != null) { ttBuilder_.dispose(); ttBuilder_ = null; } energisedEndVoltage_ = 0; excitingCurrent_ = 0D; excitingCurrentZero_ = 0D; loss_ = 0; lossZero_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTestOuterClass.internal_static_zepben_protobuf_cim_iec61968_assetinfo_NoLoadTest_descriptor; } @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest getDefaultInstanceForType() { return com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.getDefaultInstance(); } @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest build() { com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest buildPartial() { com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest result = new com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.tt_ = ttBuilder_ == null ? tt_ : ttBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.energisedEndVoltage_ = energisedEndVoltage_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.excitingCurrent_ = excitingCurrent_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.excitingCurrentZero_ = excitingCurrentZero_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.loss_ = loss_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.lossZero_ = lossZero_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest) { return mergeFrom((com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest other) { if (other == com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest.getDefaultInstance()) return this; if (other.hasTt()) { mergeTt(other.getTt()); } if (other.getEnergisedEndVoltage() != 0) { setEnergisedEndVoltage(other.getEnergisedEndVoltage()); } if (other.getExcitingCurrent() != 0D) { setExcitingCurrent(other.getExcitingCurrent()); } if (other.getExcitingCurrentZero() != 0D) { setExcitingCurrentZero(other.getExcitingCurrentZero()); } if (other.getLoss() != 0) { setLoss(other.getLoss()); } if (other.getLossZero() != 0) { setLossZero(other.getLossZero()); } 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( getTtFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { energisedEndVoltage_ = input.readInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 25: { excitingCurrent_ = input.readDouble(); bitField0_ |= 0x00000004; break; } // case 25 case 33: { excitingCurrentZero_ = input.readDouble(); bitField0_ |= 0x00000008; break; } // case 33 case 40: { loss_ = input.readInt32(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { lossZero_ = input.readInt32(); bitField0_ |= 0x00000020; break; } // case 48 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest tt_; private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTestOrBuilder> ttBuilder_; /** *
     **
     * TransformerTest fields for this NoLoadTest.
     * 
* * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTest tt = 1; * @return Whether the tt field is set. */ public boolean hasTt() { return ((bitField0_ & 0x00000001) != 0); } /** *
     **
     * TransformerTest fields for this NoLoadTest.
     * 
* * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTest tt = 1; * @return The tt. */ public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest getTt() { if (ttBuilder_ == null) { return tt_ == null ? com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest.getDefaultInstance() : tt_; } else { return ttBuilder_.getMessage(); } } /** *
     **
     * TransformerTest fields for this NoLoadTest.
     * 
* * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTest tt = 1; */ public Builder setTt(com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest value) { if (ttBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tt_ = value; } else { ttBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * TransformerTest fields for this NoLoadTest.
     * 
* * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTest tt = 1; */ public Builder setTt( com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest.Builder builderForValue) { if (ttBuilder_ == null) { tt_ = builderForValue.build(); } else { ttBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * TransformerTest fields for this NoLoadTest.
     * 
* * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTest tt = 1; */ public Builder mergeTt(com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest value) { if (ttBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && tt_ != null && tt_ != com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest.getDefaultInstance()) { getTtBuilder().mergeFrom(value); } else { tt_ = value; } } else { ttBuilder_.mergeFrom(value); } if (tt_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     **
     * TransformerTest fields for this NoLoadTest.
     * 
* * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTest tt = 1; */ public Builder clearTt() { bitField0_ = (bitField0_ & ~0x00000001); tt_ = null; if (ttBuilder_ != null) { ttBuilder_.dispose(); ttBuilder_ = null; } onChanged(); return this; } /** *
     **
     * TransformerTest fields for this NoLoadTest.
     * 
* * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTest tt = 1; */ public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest.Builder getTtBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTtFieldBuilder().getBuilder(); } /** *
     **
     * TransformerTest fields for this NoLoadTest.
     * 
* * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTest tt = 1; */ public com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTestOrBuilder getTtOrBuilder() { if (ttBuilder_ != null) { return ttBuilder_.getMessageOrBuilder(); } else { return tt_ == null ? com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest.getDefaultInstance() : tt_; } } /** *
     **
     * TransformerTest fields for this NoLoadTest.
     * 
* * .zepben.protobuf.cim.iec61968.assetinfo.TransformerTest tt = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTestOrBuilder> getTtFieldBuilder() { if (ttBuilder_ == null) { ttBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTest.Builder, com.zepben.protobuf.cim.iec61968.assetinfo.TransformerTestOrBuilder>( getTt(), getParentForChildren(), isClean()); tt_ = null; } return ttBuilder_; } private int energisedEndVoltage_ ; /** *
     **
     * Voltage applied to the winding (end) during test in volts.
     * 
* * int32 energisedEndVoltage = 2; * @return The energisedEndVoltage. */ @java.lang.Override public int getEnergisedEndVoltage() { return energisedEndVoltage_; } /** *
     **
     * Voltage applied to the winding (end) during test in volts.
     * 
* * int32 energisedEndVoltage = 2; * @param value The energisedEndVoltage to set. * @return This builder for chaining. */ public Builder setEnergisedEndVoltage(int value) { energisedEndVoltage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     **
     * Voltage applied to the winding (end) during test in volts.
     * 
* * int32 energisedEndVoltage = 2; * @return This builder for chaining. */ public Builder clearEnergisedEndVoltage() { bitField0_ = (bitField0_ & ~0x00000002); energisedEndVoltage_ = 0; onChanged(); return this; } private double excitingCurrent_ ; /** *
     **
     * Exciting current measured from a positive-sequence or single-phase excitation test as percentage.
     * 
* * double excitingCurrent = 3; * @return The excitingCurrent. */ @java.lang.Override public double getExcitingCurrent() { return excitingCurrent_; } /** *
     **
     * Exciting current measured from a positive-sequence or single-phase excitation test as percentage.
     * 
* * double excitingCurrent = 3; * @param value The excitingCurrent to set. * @return This builder for chaining. */ public Builder setExcitingCurrent(double value) { excitingCurrent_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     **
     * Exciting current measured from a positive-sequence or single-phase excitation test as percentage.
     * 
* * double excitingCurrent = 3; * @return This builder for chaining. */ public Builder clearExcitingCurrent() { bitField0_ = (bitField0_ & ~0x00000004); excitingCurrent_ = 0D; onChanged(); return this; } private double excitingCurrentZero_ ; /** *
     **
     * Exciting current measured from a zero-sequence open-circuit excitation test as percentage.
     * 
* * double excitingCurrentZero = 4; * @return The excitingCurrentZero. */ @java.lang.Override public double getExcitingCurrentZero() { return excitingCurrentZero_; } /** *
     **
     * Exciting current measured from a zero-sequence open-circuit excitation test as percentage.
     * 
* * double excitingCurrentZero = 4; * @param value The excitingCurrentZero to set. * @return This builder for chaining. */ public Builder setExcitingCurrentZero(double value) { excitingCurrentZero_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     **
     * Exciting current measured from a zero-sequence open-circuit excitation test as percentage.
     * 
* * double excitingCurrentZero = 4; * @return This builder for chaining. */ public Builder clearExcitingCurrentZero() { bitField0_ = (bitField0_ & ~0x00000008); excitingCurrentZero_ = 0D; onChanged(); return this; } private int loss_ ; /** *
     **
     * Losses measured from a positive-sequence or single-phase excitation test in watts.
     * 
* * int32 loss = 5; * @return The loss. */ @java.lang.Override public int getLoss() { return loss_; } /** *
     **
     * Losses measured from a positive-sequence or single-phase excitation test in watts.
     * 
* * int32 loss = 5; * @param value The loss to set. * @return This builder for chaining. */ public Builder setLoss(int value) { loss_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     **
     * Losses measured from a positive-sequence or single-phase excitation test in watts.
     * 
* * int32 loss = 5; * @return This builder for chaining. */ public Builder clearLoss() { bitField0_ = (bitField0_ & ~0x00000010); loss_ = 0; onChanged(); return this; } private int lossZero_ ; /** *
     **
     * Losses measured from a zero-sequence excitation test as watts.
     * 
* * int32 lossZero = 6; * @return The lossZero. */ @java.lang.Override public int getLossZero() { return lossZero_; } /** *
     **
     * Losses measured from a zero-sequence excitation test as watts.
     * 
* * int32 lossZero = 6; * @param value The lossZero to set. * @return This builder for chaining. */ public Builder setLossZero(int value) { lossZero_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     **
     * Losses measured from a zero-sequence excitation test as watts.
     * 
* * int32 lossZero = 6; * @return This builder for chaining. */ public Builder clearLossZero() { bitField0_ = (bitField0_ & ~0x00000020); lossZero_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest) } // @@protoc_insertion_point(class_scope:zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest) private static final com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest(); } public static com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NoLoadTest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.zepben.protobuf.cim.iec61968.assetinfo.NoLoadTest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy