public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, spawngrouphandle_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, spawngroupmanifest_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, manifestincomplete_); } 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, spawngrouphandle_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, spawngroupmanifest_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, manifestincomplete_); } getUnknownFields().writeTo(output); }
public Builder mergeFrom(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CNETMsg_SpawnGroup_ManifestUpdate other) { if (other == skadistats.clarity.wire.common.proto.NetworkBaseTypes.CNETMsg_SpawnGroup_ManifestUpdate.getDefaultInstance()) return this; if (other.hasSpawngrouphandle()) { setSpawngrouphandle(other.getSpawngrouphandle()); } if (other.hasSpawngroupmanifest()) { setSpawngroupmanifest(other.getSpawngroupmanifest()); } if (other.hasManifestincomplete()) { setManifestincomplete(other.getManifestincomplete()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }