public static ComponentObject serialized_java(byte[] value) {
   ComponentObject x = new ComponentObject();
   x.set_serialized_java(ByteBuffer.wrap(Arrays.copyOf(value, value.length)));
   return x;
 }
 public static ComponentObject serialized_java(ByteBuffer value) {
   ComponentObject x = new ComponentObject();
   x.set_serialized_java(value);
   return x;
 }