@Override
 public void marshalObject(final AOByteBuffer buf) {
   super.marshalObject(buf);
   byte flag_bits = 0;
   if (this.namespace != null) {
     flag_bits = 1;
   }
   buf.putByte(flag_bits);
   if (this.namespace != null) {
     MarshallingRuntime.marshalObject(buf, (Object) this.namespace);
   }
 }
 @Override
 public void marshalObject(final AOByteBuffer buf) {
   super.marshalObject(buf);
   byte flag_bits = 0;
   if (this.type != null && this.type != "") {
     flag_bits = 1;
   }
   if (this.agentName != null && this.agentName != "") {
     flag_bits |= 0x2;
   }
   buf.putByte(flag_bits);
   if (this.type != null && this.type != "") {
     buf.putString(this.type);
   }
   if (this.agentName != null && this.agentName != "") {
     buf.putString(this.agentName);
   }
 }