public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, codePath_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getPathBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, codeFilename_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getFilenameBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeFixed32(5, crc_); } 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, codePath_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getPathBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, codeFilename_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getFilenameBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeFixed32Size(5, crc_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public Builder mergeFrom(skadistats.clarity.wire.common.proto.NetMessages.CCLCMsg_FileCRCCheck other) { if (other == skadistats.clarity.wire.common.proto.NetMessages.CCLCMsg_FileCRCCheck.getDefaultInstance()) return this; if (other.hasCodePath()) { setCodePath(other.getCodePath()); } if (other.hasPath()) { bitField0_ |= 0x00000002; path_ = other.path_; onChanged(); } if (other.hasCodeFilename()) { setCodeFilename(other.getCodeFilename()); } if (other.hasFilename()) { bitField0_ |= 0x00000008; filename_ = other.filename_; onChanged(); } if (other.hasCrc()) { setCrc(other.getCrc()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }