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 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 skadistats.clarity.wire.common.proto.NetMessages.CCLCMsg_FileCRCCheck buildPartial() { skadistats.clarity.wire.common.proto.NetMessages.CCLCMsg_FileCRCCheck result = new skadistats.clarity.wire.common.proto.NetMessages.CCLCMsg_FileCRCCheck(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.codePath_ = codePath_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.path_ = path_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.codeFilename_ = codeFilename_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.filename_ = filename_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.crc_ = crc_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
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; }
public skadistats.clarity.wire.common.proto.NetMessages.CCLCMsg_FileCRCCheck getDefaultInstanceForType() { return skadistats.clarity.wire.common.proto.NetMessages.CCLCMsg_FileCRCCheck.getDefaultInstance(); }
/** * <code>optional string filename = 4;</code> */ public Builder clearFilename() { bitField0_ = (bitField0_ & ~0x00000008); filename_ = getDefaultInstance().getFilename(); onChanged(); return this; } /**
/** * <code>optional string path = 2;</code> */ public Builder clearPath() { bitField0_ = (bitField0_ & ~0x00000002); path_ = getDefaultInstance().getPath(); onChanged(); return this; } /**