@Override
  public void toData(DataOutput out,
      SerializationContext context) throws IOException {
    super.toData(out, context);
    out.writeInt(bucketId);
  }
Sends a message to depose the primary bucket.

@param recipient the member to depose as primary
@param region the PartitionedRegion of the bucket
@param bucketId the bucket to depose primary for
@return the processor used to wait for the response
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/DeposePrimaryBucketMessage.java