public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, dEPRECATEDNodeId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, dEPRECATEDBehaviorIndex_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, handleId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, dEPRECATEDNodeId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, dEPRECATEDBehaviorIndex_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, handleId_); } getUnknownFields().writeTo(output); }
public Builder mergeFrom(org.drools.marshalling.impl.ProtobufMessages.Timers.BehaviorTimer other) { if (other == org.drools.marshalling.impl.ProtobufMessages.Timers.BehaviorTimer.getDefaultInstance()) return this; if (other.hasDEPRECATEDNodeId()) { setDEPRECATEDNodeId(other.getDEPRECATEDNodeId()); } if (other.hasDEPRECATEDBehaviorIndex()) { setDEPRECATEDBehaviorIndex(other.getDEPRECATEDBehaviorIndex()); } if (other.hasHandleId()) { setHandleId(other.getHandleId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }