if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getDemoFileStampBytes()); .computeBytesSize(3, getServerNameBytes()); .computeBytesSize(4, getClientNameBytes()); .computeBytesSize(5, getMapNameBytes()); .computeBytesSize(6, getGameDirectoryBytes()); .computeBytesSize(10, getAddonsBytes()); size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size;
public Builder mergeFrom(skadistats.clarity.wire.common.proto.Demo.CDemoFileHeader other) { if (other == skadistats.clarity.wire.common.proto.Demo.CDemoFileHeader.getDefaultInstance()) return this; if (other.hasDemoFileStamp()) { bitField0_ |= 0x00000001; demoFileStamp_ = other.demoFileStamp_; onChanged(); if (other.hasNetworkProtocol()) { setNetworkProtocol(other.getNetworkProtocol()); if (other.hasServerName()) { bitField0_ |= 0x00000004; serverName_ = other.serverName_; onChanged(); if (other.hasClientName()) { bitField0_ |= 0x00000008; clientName_ = other.clientName_; onChanged(); if (other.hasMapName()) { bitField0_ |= 0x00000010; mapName_ = other.mapName_; onChanged(); if (other.hasGameDirectory()) { bitField0_ |= 0x00000020; gameDirectory_ = other.gameDirectory_; onChanged();
public skadistats.clarity.wire.common.proto.Demo.CDemoFileHeader buildPartial() { skadistats.clarity.wire.common.proto.Demo.CDemoFileHeader result = new skadistats.clarity.wire.common.proto.Demo.CDemoFileHeader(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getDemoFileStampBytes()); output.writeBytes(3, getServerNameBytes()); output.writeBytes(4, getClientNameBytes()); output.writeBytes(5, getMapNameBytes()); output.writeBytes(6, getGameDirectoryBytes()); output.writeBytes(10, getAddonsBytes()); getUnknownFields().writeTo(output);
public skadistats.clarity.wire.common.proto.Demo.CDemoFileHeader getDefaultInstanceForType() { return skadistats.clarity.wire.common.proto.Demo.CDemoFileHeader.getDefaultInstance(); }
/** * <code>optional string game_directory = 6;</code> */ public Builder clearGameDirectory() { bitField0_ = (bitField0_ & ~0x00000020); gameDirectory_ = getDefaultInstance().getGameDirectory(); onChanged(); return this; } /**
/** * <code>optional string map_name = 5;</code> */ public Builder clearMapName() { bitField0_ = (bitField0_ & ~0x00000010); mapName_ = getDefaultInstance().getMapName(); onChanged(); return this; } /**
/** * <code>optional string server_name = 3;</code> */ public Builder clearServerName() { bitField0_ = (bitField0_ & ~0x00000004); serverName_ = getDefaultInstance().getServerName(); onChanged(); return this; } /**
/** * <code>optional string addons = 10;</code> */ public Builder clearAddons() { bitField0_ = (bitField0_ & ~0x00000200); addons_ = getDefaultInstance().getAddons(); onChanged(); return this; } /**
/** * <code>optional string client_name = 4;</code> */ public Builder clearClientName() { bitField0_ = (bitField0_ & ~0x00000008); clientName_ = getDefaultInstance().getClientName(); onChanged(); return this; } /**
/** * <code>required string demo_file_stamp = 1;</code> */ public Builder clearDemoFileStamp() { bitField0_ = (bitField0_ & ~0x00000001); demoFileStamp_ = getDefaultInstance().getDemoFileStamp(); onChanged(); return this; } /**