public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, classId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getNetworkNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getTableNameBytes()); } getUnknownFields().writeTo(output); }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, classId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getNetworkNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getTableNameBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public Builder mergeFrom(skadistats.clarity.wire.common.proto.Demo.CDemoClassInfo.class_t other) { if (other == skadistats.clarity.wire.common.proto.Demo.CDemoClassInfo.class_t.getDefaultInstance()) return this; if (other.hasClassId()) { setClassId(other.getClassId()); } if (other.hasNetworkName()) { bitField0_ |= 0x00000002; networkName_ = other.networkName_; onChanged(); } if (other.hasTableName()) { bitField0_ |= 0x00000004; tableName_ = other.tableName_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }