text: // Auto-generated. Do not edit!
  
  // (in-package vrep_common.srv)
  
  
  "use strict";
  
  const _serializer = _ros_msg_utils.Serialize;
  const _arraySerializer = _serializer.Array;
  const _deserializer = _ros_msg_utils.Deserialize;
  const _arrayDeserializer = _deserializer.Array;
  const _finder = _ros_msg_utils.Find;
  const _getByteLength = _ros_msg_utils.getByteLength;
  
  //-----------------------------------------------------------
  
  
  //-----------------------------------------------------------
  
  class simRosGetObjectChildRequest {
    constructor(initObj={}) {
      if (initObj === null) {
        // initObj === null is a special case for deserialization where we don't initialize fields
        this.handle = null;
        this.index = null;
      }
      else {
        if (initObj.hasOwnProperty('handle')) {
          this.handle = initObj.handle
        }
        else {
          this.handle = 0;
        }
        if (initObj.hasOwnProperty('index')) {
          this.index = initObj.index
        }
        else {
          this.index = 0;
        }
      }
    }
  
    static serialize(obj, buffer, bufferOffset) {
      // Serializes a message object of type simRosGetObjectChildRequest
      // Serialize message field [handle]
      bufferOffset = _serializer.int32(obj.handle, buffer, bufferOffset);
      // Serialize message field [index]
      bufferOffset = _serializer.int32(obj.index, buffer, bufferOffset);
      return bufferOffset;
    }
  
    static deserialize(buffer, bufferOffset=[0]) {
      //deserializes a message object of type simRosGetObjectChildRequest
      let len;
      let data = new simRosGetObjectChildRequest(null);
      // Deserialize message field [handle]
      data.handle = _deserializer.int32(buffer, bufferOffset);
      // Deserialize message field [index]
      data.index = _deserializer.int32(buffer, bufferOffset);
      return data;
    }
  
    static getMessageSize(object) {
      return 8;
    }
  
    static datatype() {
      // Returns string type for a service object
      return 'vrep_common/simRosGetObjectChildRequest';
    }
  
    static md5sum() {
      //Returns md5sum for a message object
      return '38a6074f4ac9f6ddcbf3ed839a2974d2';
    }
  
    static messageDefinition() {
      // Returns full string definition for message
      return `
      
      
      
      
      int32 handle
      int32 index
      
      `;
    }
  
    static Resolve(msg) {
      // deep-construct a valid message object instance of whatever was passed in
      if (typeof msg !== 'object' || msg === null) {
        msg = {};
      }
      const resolved = new simRosGetObjectChildRequest(null);
      if (msg.handle !== undefined) {
        resolved.handle = msg.handle;
      }
      else {
        resolved.handle = 0
      }
  
      if (msg.index !== undefined) {
        resolved.index = msg.index;
      }
      else {
        resolved.index = 0
      }
  
      return resolved;
      }
  };
  
  class simRosGetObjectChildResponse {
    constructor(initObj={}) {
      if (initObj === null) {
        // initObj === null is a special case for deserialization where we don't initialize fields
        this.childHandle = null;
      }
      else {
        if (initObj.hasOwnProperty('childHandle')) {
          this.childHandle = initObj.childHandle
        }
        else {
          this.childHandle = 0;
        }
      }
    }
  
    static serialize(obj, buffer, bufferOffset) {
      // Serializes a message object of type simRosGetObjectChildResponse
      // Serialize message field [childHandle]
      bufferOffset = _serializer.int32(obj.childHandle, buffer, bufferOffset);
      return bufferOffset;
    }
  
    static deserialize(buffer, bufferOffset=[0]) {
      //deserializes a message object of type simRosGetObjectChildResponse
      let len;
      let data = new simRosGetObjectChildResponse(null);
      // Deserialize message field [childHandle]
      data.childHandle = _deserializer.int32(buffer, bufferOffset);
      return data;
    }
  
    static getMessageSize(object) {
      return 4;
    }
  
    static datatype() {
      // Returns string type for a service object
      return 'vrep_common/simRosGetObjectChildResponse';
    }
  
    static md5sum() {
      //Returns md5sum for a message object
      return 'efe17144606e0d5454d7698cb2bf24b7';
    }
  
    static messageDefinition() {
      // Returns full string definition for message
      return `
      int32 childHandle
      
      
      `;
    }
  
    static Resolve(msg) {
      // deep-construct a valid message object instance of whatever was passed in
      if (typeof msg !== 'object' || msg === null) {
        msg = {};
      }
      const resolved = new simRosGetObjectChildResponse(null);
      if (msg.childHandle !== undefined) {
        resolved.childHandle = msg.childHandle;
      }
      else {
        resolved.childHandle = 0
      }
  
      return resolved;
      }
  };
  
  module.exports = {
    Request: simRosGetObjectChildRequest,
    Response: simRosGetObjectChildResponse,
    md5sum() { return '2fc24ec13ef12d145e6853d1469b925c'; },
    datatype() { return 'vrep_common/simRosGetObjectChild'; }
  };
  