public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CNETMsg_SignonState buildPartial() { skadistats.clarity.wire.common.proto.NetworkBaseTypes.CNETMsg_SignonState result = new skadistats.clarity.wire.common.proto.NetworkBaseTypes.CNETMsg_SignonState(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
size += 1 * getPlayersNetworkidsList().size(); .computeBytesSize(5, getMapNameBytes()); .computeBytesSize(6, getAddonsBytes()); 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.writeUInt32(1, signonState_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, spawnCount_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, numServerPlayers_); } for (int i = 0; i < playersNetworkids_.size(); i++) { output.writeBytes(4, playersNetworkids_.getByteString(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(5, getMapNameBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(6, getAddonsBytes()); } getUnknownFields().writeTo(output); }
public Builder mergeFrom(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CNETMsg_SignonState other) { if (other == skadistats.clarity.wire.common.proto.NetworkBaseTypes.CNETMsg_SignonState.getDefaultInstance()) return this; if (other.hasSignonState()) { setSignonState(other.getSignonState()); if (other.hasSpawnCount()) { setSpawnCount(other.getSpawnCount()); if (other.hasNumServerPlayers()) { setNumServerPlayers(other.getNumServerPlayers()); if (other.hasMapName()) { bitField0_ |= 0x00000010; mapName_ = other.mapName_; onChanged(); if (other.hasAddons()) { bitField0_ |= 0x00000020; addons_ = other.addons_; onChanged(); this.mergeUnknownFields(other.getUnknownFields()); return this;
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CNETMsg_SignonState getDefaultInstanceForType() { return skadistats.clarity.wire.common.proto.NetworkBaseTypes.CNETMsg_SignonState.getDefaultInstance(); }
/** * <code>optional string addons = 6;</code> */ public Builder clearAddons() { bitField0_ = (bitField0_ & ~0x00000020); addons_ = getDefaultInstance().getAddons(); onChanged(); return this; } /**
/** * <code>optional string map_name = 5;</code> */ public Builder clearMapName() { bitField0_ = (bitField0_ & ~0x00000010); mapName_ = getDefaultInstance().getMapName(); onChanged(); return this; } /**