/**
 * @fileoverview
 * @enhanceable
 * @suppress {messageConventions} JS Compiler reports an error if a variable or
 *     field starts with 'MSG_' and isn't a translatable message.
 * @public
 */
// GENERATED CODE -- DO NOT EDIT!

var jspb = require('google-protobuf');
var goog = jspb;
var global = Function('return this')();

var core_pb = require('./core_pb.js');
goog.object.extend(proto, core_pb);
goog.exportSymbol('proto.bcsdk.RoverIdent', null, global);
goog.exportSymbol('proto.bcsdk.RoverMessage', null, global);
goog.exportSymbol('proto.bcsdk.RoverMessage.FetchBlock', null, global);
goog.exportSymbol('proto.bcsdk.RoverMessage.Resync', null, global);
goog.exportSymbol('proto.bcsdk.RoverMessage.Resync.Interval', null, global);
goog.exportSymbol('proto.bcsdk.RoverMessage.RoverBlockRange', null, global);
goog.exportSymbol('proto.bcsdk.RoverMessageType', null, global);
goog.exportSymbol('proto.bcsdk.RoverSyncStatus', null, global);
goog.exportSymbol('proto.bcsdk.SettleTxCheckReq', null, global);
goog.exportSymbol('proto.bcsdk.SettleTxCheckReq.PossibleTransaction', null, global);
goog.exportSymbol('proto.bcsdk.SettleTxCheckResponse', null, global);

/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bcsdk.RoverIdent = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bcsdk.RoverIdent, jspb.Message);
if (true || goog.DEBUG && !COMPILED) {
  proto.bcsdk.RoverIdent.displayName = 'proto.bcsdk.RoverIdent';
}


if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto suitable for use in Soy templates.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
 * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
 *     for transitional soy proto support: http://goto/soy-param-migration
 * @return {!Object}
 */
proto.bcsdk.RoverIdent.prototype.toObject = function(opt_includeInstance) {
  return proto.bcsdk.RoverIdent.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Whether to include the JSPB
 *     instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bcsdk.RoverIdent} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.RoverIdent.toObject = function(includeInstance, msg) {
  var f, obj = {
    roverName: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bcsdk.RoverIdent}
 */
proto.bcsdk.RoverIdent.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bcsdk.RoverIdent;
  return proto.bcsdk.RoverIdent.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bcsdk.RoverIdent} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bcsdk.RoverIdent}
 */
proto.bcsdk.RoverIdent.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setRoverName(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bcsdk.RoverIdent.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bcsdk.RoverIdent.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bcsdk.RoverIdent} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.RoverIdent.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRoverName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string rover_name = 1;
 * @return {string}
 */
proto.bcsdk.RoverIdent.prototype.getRoverName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/** @param {string} value */
proto.bcsdk.RoverIdent.prototype.setRoverName = function(value) {
  jspb.Message.setProto3StringField(this, 1, value);
};



/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bcsdk.RoverSyncStatus = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bcsdk.RoverSyncStatus, jspb.Message);
if (true || goog.DEBUG && !COMPILED) {
  proto.bcsdk.RoverSyncStatus.displayName = 'proto.bcsdk.RoverSyncStatus';
}


if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto suitable for use in Soy templates.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
 * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
 *     for transitional soy proto support: http://goto/soy-param-migration
 * @return {!Object}
 */
proto.bcsdk.RoverSyncStatus.prototype.toObject = function(opt_includeInstance) {
  return proto.bcsdk.RoverSyncStatus.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Whether to include the JSPB
 *     instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bcsdk.RoverSyncStatus} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.RoverSyncStatus.toObject = function(includeInstance, msg) {
  var f, obj = {
    roverName: jspb.Message.getFieldWithDefault(msg, 1, ""),
    status: jspb.Message.getFieldWithDefault(msg, 2, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bcsdk.RoverSyncStatus}
 */
proto.bcsdk.RoverSyncStatus.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bcsdk.RoverSyncStatus;
  return proto.bcsdk.RoverSyncStatus.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bcsdk.RoverSyncStatus} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bcsdk.RoverSyncStatus}
 */
proto.bcsdk.RoverSyncStatus.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setRoverName(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setStatus(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bcsdk.RoverSyncStatus.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bcsdk.RoverSyncStatus.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bcsdk.RoverSyncStatus} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.RoverSyncStatus.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRoverName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getStatus();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
};


/**
 * optional string rover_name = 1;
 * @return {string}
 */
proto.bcsdk.RoverSyncStatus.prototype.getRoverName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/** @param {string} value */
proto.bcsdk.RoverSyncStatus.prototype.setRoverName = function(value) {
  jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional bool status = 2;
 * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
 * You should avoid comparisons like {@code val === true/false} in those cases.
 * @return {boolean}
 */
proto.bcsdk.RoverSyncStatus.prototype.getStatus = function() {
  return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 2, false));
};


/** @param {boolean} value */
proto.bcsdk.RoverSyncStatus.prototype.setStatus = function(value) {
  jspb.Message.setProto3BooleanField(this, 2, value);
};



/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bcsdk.RoverMessage = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.bcsdk.RoverMessage.oneofGroups_);
};
goog.inherits(proto.bcsdk.RoverMessage, jspb.Message);
if (true || goog.DEBUG && !COMPILED) {
  proto.bcsdk.RoverMessage.displayName = 'proto.bcsdk.RoverMessage';
}
/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.bcsdk.RoverMessage.oneofGroups_ = [[2,3,4]];

/**
 * @enum {number}
 */
proto.bcsdk.RoverMessage.PayloadCase = {
  PAYLOAD_NOT_SET: 0,
  RESYNC: 2,
  FETCH_BLOCK: 3,
  ROVER_BLOCK_RANGE: 4
};

/**
 * @return {proto.bcsdk.RoverMessage.PayloadCase}
 */
proto.bcsdk.RoverMessage.prototype.getPayloadCase = function() {
  return /** @type {proto.bcsdk.RoverMessage.PayloadCase} */(jspb.Message.computeOneofCase(this, proto.bcsdk.RoverMessage.oneofGroups_[0]));
};



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto suitable for use in Soy templates.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
 * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
 *     for transitional soy proto support: http://goto/soy-param-migration
 * @return {!Object}
 */
proto.bcsdk.RoverMessage.prototype.toObject = function(opt_includeInstance) {
  return proto.bcsdk.RoverMessage.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Whether to include the JSPB
 *     instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bcsdk.RoverMessage} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.RoverMessage.toObject = function(includeInstance, msg) {
  var f, obj = {
    type: jspb.Message.getFieldWithDefault(msg, 1, 0),
    resync: (f = msg.getResync()) && proto.bcsdk.RoverMessage.Resync.toObject(includeInstance, f),
    fetchBlock: (f = msg.getFetchBlock()) && proto.bcsdk.RoverMessage.FetchBlock.toObject(includeInstance, f),
    roverBlockRange: (f = msg.getRoverBlockRange()) && proto.bcsdk.RoverMessage.RoverBlockRange.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bcsdk.RoverMessage}
 */
proto.bcsdk.RoverMessage.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bcsdk.RoverMessage;
  return proto.bcsdk.RoverMessage.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bcsdk.RoverMessage} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bcsdk.RoverMessage}
 */
proto.bcsdk.RoverMessage.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!proto.bcsdk.RoverMessageType} */ (reader.readEnum());
      msg.setType(value);
      break;
    case 2:
      var value = new proto.bcsdk.RoverMessage.Resync;
      reader.readMessage(value,proto.bcsdk.RoverMessage.Resync.deserializeBinaryFromReader);
      msg.setResync(value);
      break;
    case 3:
      var value = new proto.bcsdk.RoverMessage.FetchBlock;
      reader.readMessage(value,proto.bcsdk.RoverMessage.FetchBlock.deserializeBinaryFromReader);
      msg.setFetchBlock(value);
      break;
    case 4:
      var value = new proto.bcsdk.RoverMessage.RoverBlockRange;
      reader.readMessage(value,proto.bcsdk.RoverMessage.RoverBlockRange.deserializeBinaryFromReader);
      msg.setRoverBlockRange(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bcsdk.RoverMessage.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bcsdk.RoverMessage.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bcsdk.RoverMessage} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.RoverMessage.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getType();
  if (f !== 0.0) {
    writer.writeEnum(
      1,
      f
    );
  }
  f = message.getResync();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.bcsdk.RoverMessage.Resync.serializeBinaryToWriter
    );
  }
  f = message.getFetchBlock();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.bcsdk.RoverMessage.FetchBlock.serializeBinaryToWriter
    );
  }
  f = message.getRoverBlockRange();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.bcsdk.RoverMessage.RoverBlockRange.serializeBinaryToWriter
    );
  }
};



/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bcsdk.RoverMessage.FetchBlock = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bcsdk.RoverMessage.FetchBlock, jspb.Message);
if (true || goog.DEBUG && !COMPILED) {
  proto.bcsdk.RoverMessage.FetchBlock.displayName = 'proto.bcsdk.RoverMessage.FetchBlock';
}


if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto suitable for use in Soy templates.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
 * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
 *     for transitional soy proto support: http://goto/soy-param-migration
 * @return {!Object}
 */
proto.bcsdk.RoverMessage.FetchBlock.prototype.toObject = function(opt_includeInstance) {
  return proto.bcsdk.RoverMessage.FetchBlock.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Whether to include the JSPB
 *     instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bcsdk.RoverMessage.FetchBlock} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.RoverMessage.FetchBlock.toObject = function(includeInstance, msg) {
  var f, obj = {
    fromBlock: (f = msg.getFromBlock()) && core_pb.Block.toObject(includeInstance, f),
    toBlock: (f = msg.getToBlock()) && core_pb.Block.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bcsdk.RoverMessage.FetchBlock}
 */
proto.bcsdk.RoverMessage.FetchBlock.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bcsdk.RoverMessage.FetchBlock;
  return proto.bcsdk.RoverMessage.FetchBlock.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bcsdk.RoverMessage.FetchBlock} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bcsdk.RoverMessage.FetchBlock}
 */
proto.bcsdk.RoverMessage.FetchBlock.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new core_pb.Block;
      reader.readMessage(value,core_pb.Block.deserializeBinaryFromReader);
      msg.setFromBlock(value);
      break;
    case 2:
      var value = new core_pb.Block;
      reader.readMessage(value,core_pb.Block.deserializeBinaryFromReader);
      msg.setToBlock(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bcsdk.RoverMessage.FetchBlock.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bcsdk.RoverMessage.FetchBlock.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bcsdk.RoverMessage.FetchBlock} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.RoverMessage.FetchBlock.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getFromBlock();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      core_pb.Block.serializeBinaryToWriter
    );
  }
  f = message.getToBlock();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      core_pb.Block.serializeBinaryToWriter
    );
  }
};


/**
 * optional Block from_block = 1;
 * @return {?proto.bcsdk.Block}
 */
proto.bcsdk.RoverMessage.FetchBlock.prototype.getFromBlock = function() {
  return /** @type{?proto.bcsdk.Block} */ (
    jspb.Message.getWrapperField(this, core_pb.Block, 1));
};


/** @param {?proto.bcsdk.Block|undefined} value */
proto.bcsdk.RoverMessage.FetchBlock.prototype.setFromBlock = function(value) {
  jspb.Message.setWrapperField(this, 1, value);
};


proto.bcsdk.RoverMessage.FetchBlock.prototype.clearFromBlock = function() {
  this.setFromBlock(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bcsdk.RoverMessage.FetchBlock.prototype.hasFromBlock = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Block to_block = 2;
 * @return {?proto.bcsdk.Block}
 */
proto.bcsdk.RoverMessage.FetchBlock.prototype.getToBlock = function() {
  return /** @type{?proto.bcsdk.Block} */ (
    jspb.Message.getWrapperField(this, core_pb.Block, 2));
};


/** @param {?proto.bcsdk.Block|undefined} value */
proto.bcsdk.RoverMessage.FetchBlock.prototype.setToBlock = function(value) {
  jspb.Message.setWrapperField(this, 2, value);
};


proto.bcsdk.RoverMessage.FetchBlock.prototype.clearToBlock = function() {
  this.setToBlock(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bcsdk.RoverMessage.FetchBlock.prototype.hasToBlock = function() {
  return jspb.Message.getField(this, 2) != null;
};



/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bcsdk.RoverMessage.RoverBlockRange = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bcsdk.RoverMessage.RoverBlockRange, jspb.Message);
if (true || goog.DEBUG && !COMPILED) {
  proto.bcsdk.RoverMessage.RoverBlockRange.displayName = 'proto.bcsdk.RoverMessage.RoverBlockRange';
}


if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto suitable for use in Soy templates.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
 * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
 *     for transitional soy proto support: http://goto/soy-param-migration
 * @return {!Object}
 */
proto.bcsdk.RoverMessage.RoverBlockRange.prototype.toObject = function(opt_includeInstance) {
  return proto.bcsdk.RoverMessage.RoverBlockRange.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Whether to include the JSPB
 *     instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bcsdk.RoverMessage.RoverBlockRange} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.RoverMessage.RoverBlockRange.toObject = function(includeInstance, msg) {
  var f, obj = {
    roverName: jspb.Message.getFieldWithDefault(msg, 1, ""),
    highestHeight: jspb.Message.getFieldWithDefault(msg, 2, 0),
    lowestHeight: jspb.Message.getFieldWithDefault(msg, 3, 0),
    highestHash: jspb.Message.getFieldWithDefault(msg, 4, ""),
    lowestHash: jspb.Message.getFieldWithDefault(msg, 5, ""),
    synced: jspb.Message.getFieldWithDefault(msg, 6, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bcsdk.RoverMessage.RoverBlockRange}
 */
proto.bcsdk.RoverMessage.RoverBlockRange.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bcsdk.RoverMessage.RoverBlockRange;
  return proto.bcsdk.RoverMessage.RoverBlockRange.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bcsdk.RoverMessage.RoverBlockRange} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bcsdk.RoverMessage.RoverBlockRange}
 */
proto.bcsdk.RoverMessage.RoverBlockRange.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setRoverName(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setHighestHeight(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setLowestHeight(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setHighestHash(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setLowestHash(value);
      break;
    case 6:
      var value = /** @type {string} */ (reader.readString());
      msg.setSynced(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bcsdk.RoverMessage.RoverBlockRange.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bcsdk.RoverMessage.RoverBlockRange.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bcsdk.RoverMessage.RoverBlockRange} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.RoverMessage.RoverBlockRange.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getRoverName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getHighestHeight();
  if (f !== 0) {
    writer.writeUint64(
      2,
      f
    );
  }
  f = message.getLowestHeight();
  if (f !== 0) {
    writer.writeUint64(
      3,
      f
    );
  }
  f = message.getHighestHash();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getLowestHash();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getSynced();
  if (f.length > 0) {
    writer.writeString(
      6,
      f
    );
  }
};


/**
 * optional string rover_name = 1;
 * @return {string}
 */
proto.bcsdk.RoverMessage.RoverBlockRange.prototype.getRoverName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/** @param {string} value */
proto.bcsdk.RoverMessage.RoverBlockRange.prototype.setRoverName = function(value) {
  jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional uint64 highest_height = 2;
 * @return {number}
 */
proto.bcsdk.RoverMessage.RoverBlockRange.prototype.getHighestHeight = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/** @param {number} value */
proto.bcsdk.RoverMessage.RoverBlockRange.prototype.setHighestHeight = function(value) {
  jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional uint64 lowest_height = 3;
 * @return {number}
 */
proto.bcsdk.RoverMessage.RoverBlockRange.prototype.getLowestHeight = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/** @param {number} value */
proto.bcsdk.RoverMessage.RoverBlockRange.prototype.setLowestHeight = function(value) {
  jspb.Message.setProto3IntField(this, 3, value);
};


/**
 * optional string highest_hash = 4;
 * @return {string}
 */
proto.bcsdk.RoverMessage.RoverBlockRange.prototype.getHighestHash = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/** @param {string} value */
proto.bcsdk.RoverMessage.RoverBlockRange.prototype.setHighestHash = function(value) {
  jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional string lowest_hash = 5;
 * @return {string}
 */
proto.bcsdk.RoverMessage.RoverBlockRange.prototype.getLowestHash = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/** @param {string} value */
proto.bcsdk.RoverMessage.RoverBlockRange.prototype.setLowestHash = function(value) {
  jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional string synced = 6;
 * @return {string}
 */
proto.bcsdk.RoverMessage.RoverBlockRange.prototype.getSynced = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/** @param {string} value */
proto.bcsdk.RoverMessage.RoverBlockRange.prototype.setSynced = function(value) {
  jspb.Message.setProto3StringField(this, 6, value);
};



/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bcsdk.RoverMessage.Resync = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.bcsdk.RoverMessage.Resync.repeatedFields_, null);
};
goog.inherits(proto.bcsdk.RoverMessage.Resync, jspb.Message);
if (true || goog.DEBUG && !COMPILED) {
  proto.bcsdk.RoverMessage.Resync.displayName = 'proto.bcsdk.RoverMessage.Resync';
}
/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.bcsdk.RoverMessage.Resync.repeatedFields_ = [2];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto suitable for use in Soy templates.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
 * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
 *     for transitional soy proto support: http://goto/soy-param-migration
 * @return {!Object}
 */
proto.bcsdk.RoverMessage.Resync.prototype.toObject = function(opt_includeInstance) {
  return proto.bcsdk.RoverMessage.Resync.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Whether to include the JSPB
 *     instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bcsdk.RoverMessage.Resync} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.RoverMessage.Resync.toObject = function(includeInstance, msg) {
  var f, obj = {
    latestBlock: (f = msg.getLatestBlock()) && core_pb.Block.toObject(includeInstance, f),
    intervalsList: jspb.Message.toObjectList(msg.getIntervalsList(),
    proto.bcsdk.RoverMessage.Resync.Interval.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bcsdk.RoverMessage.Resync}
 */
proto.bcsdk.RoverMessage.Resync.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bcsdk.RoverMessage.Resync;
  return proto.bcsdk.RoverMessage.Resync.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bcsdk.RoverMessage.Resync} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bcsdk.RoverMessage.Resync}
 */
proto.bcsdk.RoverMessage.Resync.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new core_pb.Block;
      reader.readMessage(value,core_pb.Block.deserializeBinaryFromReader);
      msg.setLatestBlock(value);
      break;
    case 2:
      var value = new proto.bcsdk.RoverMessage.Resync.Interval;
      reader.readMessage(value,proto.bcsdk.RoverMessage.Resync.Interval.deserializeBinaryFromReader);
      msg.addIntervals(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bcsdk.RoverMessage.Resync.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bcsdk.RoverMessage.Resync.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bcsdk.RoverMessage.Resync} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.RoverMessage.Resync.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getLatestBlock();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      core_pb.Block.serializeBinaryToWriter
    );
  }
  f = message.getIntervalsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      proto.bcsdk.RoverMessage.Resync.Interval.serializeBinaryToWriter
    );
  }
};



/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bcsdk.RoverMessage.Resync.Interval = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bcsdk.RoverMessage.Resync.Interval, jspb.Message);
if (true || goog.DEBUG && !COMPILED) {
  proto.bcsdk.RoverMessage.Resync.Interval.displayName = 'proto.bcsdk.RoverMessage.Resync.Interval';
}


if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto suitable for use in Soy templates.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
 * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
 *     for transitional soy proto support: http://goto/soy-param-migration
 * @return {!Object}
 */
proto.bcsdk.RoverMessage.Resync.Interval.prototype.toObject = function(opt_includeInstance) {
  return proto.bcsdk.RoverMessage.Resync.Interval.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Whether to include the JSPB
 *     instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bcsdk.RoverMessage.Resync.Interval} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.RoverMessage.Resync.Interval.toObject = function(includeInstance, msg) {
  var f, obj = {
    fromBlock: (f = msg.getFromBlock()) && core_pb.Block.toObject(includeInstance, f),
    toBlock: (f = msg.getToBlock()) && core_pb.Block.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bcsdk.RoverMessage.Resync.Interval}
 */
proto.bcsdk.RoverMessage.Resync.Interval.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bcsdk.RoverMessage.Resync.Interval;
  return proto.bcsdk.RoverMessage.Resync.Interval.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bcsdk.RoverMessage.Resync.Interval} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bcsdk.RoverMessage.Resync.Interval}
 */
proto.bcsdk.RoverMessage.Resync.Interval.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new core_pb.Block;
      reader.readMessage(value,core_pb.Block.deserializeBinaryFromReader);
      msg.setFromBlock(value);
      break;
    case 2:
      var value = new core_pb.Block;
      reader.readMessage(value,core_pb.Block.deserializeBinaryFromReader);
      msg.setToBlock(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bcsdk.RoverMessage.Resync.Interval.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bcsdk.RoverMessage.Resync.Interval.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bcsdk.RoverMessage.Resync.Interval} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.RoverMessage.Resync.Interval.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getFromBlock();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      core_pb.Block.serializeBinaryToWriter
    );
  }
  f = message.getToBlock();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      core_pb.Block.serializeBinaryToWriter
    );
  }
};


/**
 * optional Block from_block = 1;
 * @return {?proto.bcsdk.Block}
 */
proto.bcsdk.RoverMessage.Resync.Interval.prototype.getFromBlock = function() {
  return /** @type{?proto.bcsdk.Block} */ (
    jspb.Message.getWrapperField(this, core_pb.Block, 1));
};


/** @param {?proto.bcsdk.Block|undefined} value */
proto.bcsdk.RoverMessage.Resync.Interval.prototype.setFromBlock = function(value) {
  jspb.Message.setWrapperField(this, 1, value);
};


proto.bcsdk.RoverMessage.Resync.Interval.prototype.clearFromBlock = function() {
  this.setFromBlock(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bcsdk.RoverMessage.Resync.Interval.prototype.hasFromBlock = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Block to_block = 2;
 * @return {?proto.bcsdk.Block}
 */
proto.bcsdk.RoverMessage.Resync.Interval.prototype.getToBlock = function() {
  return /** @type{?proto.bcsdk.Block} */ (
    jspb.Message.getWrapperField(this, core_pb.Block, 2));
};


/** @param {?proto.bcsdk.Block|undefined} value */
proto.bcsdk.RoverMessage.Resync.Interval.prototype.setToBlock = function(value) {
  jspb.Message.setWrapperField(this, 2, value);
};


proto.bcsdk.RoverMessage.Resync.Interval.prototype.clearToBlock = function() {
  this.setToBlock(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bcsdk.RoverMessage.Resync.Interval.prototype.hasToBlock = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional Block latest_block = 1;
 * @return {?proto.bcsdk.Block}
 */
proto.bcsdk.RoverMessage.Resync.prototype.getLatestBlock = function() {
  return /** @type{?proto.bcsdk.Block} */ (
    jspb.Message.getWrapperField(this, core_pb.Block, 1));
};


/** @param {?proto.bcsdk.Block|undefined} value */
proto.bcsdk.RoverMessage.Resync.prototype.setLatestBlock = function(value) {
  jspb.Message.setWrapperField(this, 1, value);
};


proto.bcsdk.RoverMessage.Resync.prototype.clearLatestBlock = function() {
  this.setLatestBlock(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bcsdk.RoverMessage.Resync.prototype.hasLatestBlock = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * repeated Interval intervals = 2;
 * @return {!Array<!proto.bcsdk.RoverMessage.Resync.Interval>}
 */
proto.bcsdk.RoverMessage.Resync.prototype.getIntervalsList = function() {
  return /** @type{!Array<!proto.bcsdk.RoverMessage.Resync.Interval>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.bcsdk.RoverMessage.Resync.Interval, 2));
};


/** @param {!Array<!proto.bcsdk.RoverMessage.Resync.Interval>} value */
proto.bcsdk.RoverMessage.Resync.prototype.setIntervalsList = function(value) {
  jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.bcsdk.RoverMessage.Resync.Interval=} opt_value
 * @param {number=} opt_index
 * @return {!proto.bcsdk.RoverMessage.Resync.Interval}
 */
proto.bcsdk.RoverMessage.Resync.prototype.addIntervals = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.bcsdk.RoverMessage.Resync.Interval, opt_index);
};


proto.bcsdk.RoverMessage.Resync.prototype.clearIntervalsList = function() {
  this.setIntervalsList([]);
};


/**
 * optional RoverMessageType type = 1;
 * @return {!proto.bcsdk.RoverMessageType}
 */
proto.bcsdk.RoverMessage.prototype.getType = function() {
  return /** @type {!proto.bcsdk.RoverMessageType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/** @param {!proto.bcsdk.RoverMessageType} value */
proto.bcsdk.RoverMessage.prototype.setType = function(value) {
  jspb.Message.setProto3EnumField(this, 1, value);
};


/**
 * optional Resync resync = 2;
 * @return {?proto.bcsdk.RoverMessage.Resync}
 */
proto.bcsdk.RoverMessage.prototype.getResync = function() {
  return /** @type{?proto.bcsdk.RoverMessage.Resync} */ (
    jspb.Message.getWrapperField(this, proto.bcsdk.RoverMessage.Resync, 2));
};


/** @param {?proto.bcsdk.RoverMessage.Resync|undefined} value */
proto.bcsdk.RoverMessage.prototype.setResync = function(value) {
  jspb.Message.setOneofWrapperField(this, 2, proto.bcsdk.RoverMessage.oneofGroups_[0], value);
};


proto.bcsdk.RoverMessage.prototype.clearResync = function() {
  this.setResync(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bcsdk.RoverMessage.prototype.hasResync = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional FetchBlock fetch_block = 3;
 * @return {?proto.bcsdk.RoverMessage.FetchBlock}
 */
proto.bcsdk.RoverMessage.prototype.getFetchBlock = function() {
  return /** @type{?proto.bcsdk.RoverMessage.FetchBlock} */ (
    jspb.Message.getWrapperField(this, proto.bcsdk.RoverMessage.FetchBlock, 3));
};


/** @param {?proto.bcsdk.RoverMessage.FetchBlock|undefined} value */
proto.bcsdk.RoverMessage.prototype.setFetchBlock = function(value) {
  jspb.Message.setOneofWrapperField(this, 3, proto.bcsdk.RoverMessage.oneofGroups_[0], value);
};


proto.bcsdk.RoverMessage.prototype.clearFetchBlock = function() {
  this.setFetchBlock(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bcsdk.RoverMessage.prototype.hasFetchBlock = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional RoverBlockRange rover_block_range = 4;
 * @return {?proto.bcsdk.RoverMessage.RoverBlockRange}
 */
proto.bcsdk.RoverMessage.prototype.getRoverBlockRange = function() {
  return /** @type{?proto.bcsdk.RoverMessage.RoverBlockRange} */ (
    jspb.Message.getWrapperField(this, proto.bcsdk.RoverMessage.RoverBlockRange, 4));
};


/** @param {?proto.bcsdk.RoverMessage.RoverBlockRange|undefined} value */
proto.bcsdk.RoverMessage.prototype.setRoverBlockRange = function(value) {
  jspb.Message.setOneofWrapperField(this, 4, proto.bcsdk.RoverMessage.oneofGroups_[0], value);
};


proto.bcsdk.RoverMessage.prototype.clearRoverBlockRange = function() {
  this.setRoverBlockRange(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bcsdk.RoverMessage.prototype.hasRoverBlockRange = function() {
  return jspb.Message.getField(this, 4) != null;
};



/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bcsdk.SettleTxCheckReq = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.bcsdk.SettleTxCheckReq.repeatedFields_, null);
};
goog.inherits(proto.bcsdk.SettleTxCheckReq, jspb.Message);
if (true || goog.DEBUG && !COMPILED) {
  proto.bcsdk.SettleTxCheckReq.displayName = 'proto.bcsdk.SettleTxCheckReq';
}
/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.bcsdk.SettleTxCheckReq.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto suitable for use in Soy templates.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
 * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
 *     for transitional soy proto support: http://goto/soy-param-migration
 * @return {!Object}
 */
proto.bcsdk.SettleTxCheckReq.prototype.toObject = function(opt_includeInstance) {
  return proto.bcsdk.SettleTxCheckReq.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Whether to include the JSPB
 *     instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bcsdk.SettleTxCheckReq} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.SettleTxCheckReq.toObject = function(includeInstance, msg) {
  var f, obj = {
    possibleTransactionsList: jspb.Message.toObjectList(msg.getPossibleTransactionsList(),
    proto.bcsdk.SettleTxCheckReq.PossibleTransaction.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bcsdk.SettleTxCheckReq}
 */
proto.bcsdk.SettleTxCheckReq.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bcsdk.SettleTxCheckReq;
  return proto.bcsdk.SettleTxCheckReq.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bcsdk.SettleTxCheckReq} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bcsdk.SettleTxCheckReq}
 */
proto.bcsdk.SettleTxCheckReq.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.bcsdk.SettleTxCheckReq.PossibleTransaction;
      reader.readMessage(value,proto.bcsdk.SettleTxCheckReq.PossibleTransaction.deserializeBinaryFromReader);
      msg.addPossibleTransactions(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bcsdk.SettleTxCheckReq.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bcsdk.SettleTxCheckReq.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bcsdk.SettleTxCheckReq} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.SettleTxCheckReq.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPossibleTransactionsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.bcsdk.SettleTxCheckReq.PossibleTransaction.serializeBinaryToWriter
    );
  }
};



/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bcsdk.SettleTxCheckReq.PossibleTransaction, jspb.Message);
if (true || goog.DEBUG && !COMPILED) {
  proto.bcsdk.SettleTxCheckReq.PossibleTransaction.displayName = 'proto.bcsdk.SettleTxCheckReq.PossibleTransaction';
}


if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto suitable for use in Soy templates.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
 * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
 *     for transitional soy proto support: http://goto/soy-param-migration
 * @return {!Object}
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.toObject = function(opt_includeInstance) {
  return proto.bcsdk.SettleTxCheckReq.PossibleTransaction.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Whether to include the JSPB
 *     instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bcsdk.SettleTxCheckReq.PossibleTransaction} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.toObject = function(includeInstance, msg) {
  var f, obj = {
    addrTo: jspb.Message.getFieldWithDefault(msg, 1, ""),
    addrFrom: jspb.Message.getFieldWithDefault(msg, 2, ""),
    value: msg.getValue_asB64(),
    bridgedChain: jspb.Message.getFieldWithDefault(msg, 4, ""),
    txId: jspb.Message.getFieldWithDefault(msg, 5, ""),
    blockHeight: jspb.Message.getFieldWithDefault(msg, 6, 0),
    tokenType: jspb.Message.getFieldWithDefault(msg, 7, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bcsdk.SettleTxCheckReq.PossibleTransaction}
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bcsdk.SettleTxCheckReq.PossibleTransaction;
  return proto.bcsdk.SettleTxCheckReq.PossibleTransaction.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bcsdk.SettleTxCheckReq.PossibleTransaction} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bcsdk.SettleTxCheckReq.PossibleTransaction}
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setAddrTo(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setAddrFrom(value);
      break;
    case 3:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setValue(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setBridgedChain(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setTxId(value);
      break;
    case 6:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setBlockHeight(value);
      break;
    case 7:
      var value = /** @type {string} */ (reader.readString());
      msg.setTokenType(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bcsdk.SettleTxCheckReq.PossibleTransaction.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bcsdk.SettleTxCheckReq.PossibleTransaction} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAddrTo();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getAddrFrom();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getValue_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      3,
      f
    );
  }
  f = message.getBridgedChain();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getTxId();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getBlockHeight();
  if (f !== 0) {
    writer.writeUint64(
      6,
      f
    );
  }
  f = message.getTokenType();
  if (f.length > 0) {
    writer.writeString(
      7,
      f
    );
  }
};


/**
 * optional string addr_to = 1;
 * @return {string}
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.getAddrTo = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/** @param {string} value */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.setAddrTo = function(value) {
  jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string addr_from = 2;
 * @return {string}
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.getAddrFrom = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/** @param {string} value */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.setAddrFrom = function(value) {
  jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional bytes value = 3;
 * @return {!(string|Uint8Array)}
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.getValue = function() {
  return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * optional bytes value = 3;
 * This is a type-conversion wrapper around `getValue()`
 * @return {string}
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.getValue_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getValue()));
};


/**
 * optional bytes value = 3;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getValue()`
 * @return {!Uint8Array}
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.getValue_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getValue()));
};


/** @param {!(string|Uint8Array)} value */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.setValue = function(value) {
  jspb.Message.setProto3BytesField(this, 3, value);
};


/**
 * optional string bridged_chain = 4;
 * @return {string}
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.getBridgedChain = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/** @param {string} value */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.setBridgedChain = function(value) {
  jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional string tx_id = 5;
 * @return {string}
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.getTxId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/** @param {string} value */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.setTxId = function(value) {
  jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional uint64 block_height = 6;
 * @return {number}
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.getBlockHeight = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};


/** @param {number} value */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.setBlockHeight = function(value) {
  jspb.Message.setProto3IntField(this, 6, value);
};


/**
 * optional string token_type = 7;
 * @return {string}
 */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.getTokenType = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};


/** @param {string} value */
proto.bcsdk.SettleTxCheckReq.PossibleTransaction.prototype.setTokenType = function(value) {
  jspb.Message.setProto3StringField(this, 7, value);
};


/**
 * repeated PossibleTransaction possible_transactions = 1;
 * @return {!Array<!proto.bcsdk.SettleTxCheckReq.PossibleTransaction>}
 */
proto.bcsdk.SettleTxCheckReq.prototype.getPossibleTransactionsList = function() {
  return /** @type{!Array<!proto.bcsdk.SettleTxCheckReq.PossibleTransaction>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.bcsdk.SettleTxCheckReq.PossibleTransaction, 1));
};


/** @param {!Array<!proto.bcsdk.SettleTxCheckReq.PossibleTransaction>} value */
proto.bcsdk.SettleTxCheckReq.prototype.setPossibleTransactionsList = function(value) {
  jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.bcsdk.SettleTxCheckReq.PossibleTransaction=} opt_value
 * @param {number=} opt_index
 * @return {!proto.bcsdk.SettleTxCheckReq.PossibleTransaction}
 */
proto.bcsdk.SettleTxCheckReq.prototype.addPossibleTransactions = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.bcsdk.SettleTxCheckReq.PossibleTransaction, opt_index);
};


proto.bcsdk.SettleTxCheckReq.prototype.clearPossibleTransactionsList = function() {
  this.setPossibleTransactionsList([]);
};



/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bcsdk.SettleTxCheckResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.bcsdk.SettleTxCheckResponse.repeatedFields_, null);
};
goog.inherits(proto.bcsdk.SettleTxCheckResponse, jspb.Message);
if (true || goog.DEBUG && !COMPILED) {
  proto.bcsdk.SettleTxCheckResponse.displayName = 'proto.bcsdk.SettleTxCheckResponse';
}
/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.bcsdk.SettleTxCheckResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto suitable for use in Soy templates.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
 * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
 *     for transitional soy proto support: http://goto/soy-param-migration
 * @return {!Object}
 */
proto.bcsdk.SettleTxCheckResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.bcsdk.SettleTxCheckResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Whether to include the JSPB
 *     instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bcsdk.SettleTxCheckResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.SettleTxCheckResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    markedTransactionsList: jspb.Message.toObjectList(msg.getMarkedTransactionsList(),
    core_pb.MarkedTransaction.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bcsdk.SettleTxCheckResponse}
 */
proto.bcsdk.SettleTxCheckResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bcsdk.SettleTxCheckResponse;
  return proto.bcsdk.SettleTxCheckResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bcsdk.SettleTxCheckResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bcsdk.SettleTxCheckResponse}
 */
proto.bcsdk.SettleTxCheckResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new core_pb.MarkedTransaction;
      reader.readMessage(value,core_pb.MarkedTransaction.deserializeBinaryFromReader);
      msg.addMarkedTransactions(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bcsdk.SettleTxCheckResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bcsdk.SettleTxCheckResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bcsdk.SettleTxCheckResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bcsdk.SettleTxCheckResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getMarkedTransactionsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      core_pb.MarkedTransaction.serializeBinaryToWriter
    );
  }
};


/**
 * repeated MarkedTransaction marked_transactions = 1;
 * @return {!Array<!proto.bcsdk.MarkedTransaction>}
 */
proto.bcsdk.SettleTxCheckResponse.prototype.getMarkedTransactionsList = function() {
  return /** @type{!Array<!proto.bcsdk.MarkedTransaction>} */ (
    jspb.Message.getRepeatedWrapperField(this, core_pb.MarkedTransaction, 1));
};


/** @param {!Array<!proto.bcsdk.MarkedTransaction>} value */
proto.bcsdk.SettleTxCheckResponse.prototype.setMarkedTransactionsList = function(value) {
  jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.bcsdk.MarkedTransaction=} opt_value
 * @param {number=} opt_index
 * @return {!proto.bcsdk.MarkedTransaction}
 */
proto.bcsdk.SettleTxCheckResponse.prototype.addMarkedTransactions = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.bcsdk.MarkedTransaction, opt_index);
};


proto.bcsdk.SettleTxCheckResponse.prototype.clearMarkedTransactionsList = function() {
  this.setMarkedTransactionsList([]);
};


/**
 * @enum {number}
 */
proto.bcsdk.RoverMessageType = {
  FETCHBLOCK: 0,
  REQUESTRESYNC: 1,
  ROVER_BLOCK_RANGE: 2
};

goog.object.extend(exports, proto.bcsdk);
