@kurrent/kurrentdb-client
Version:
KurrentDB gRPC NodeJS Client SDK
1,042 lines (1,027 loc) • 449 kB
JavaScript
// source: persistent.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @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!
/* eslint-disable */
// @ts-nocheck
var jspb = require('google-protobuf');
var goog = jspb;
var global = (function() {
if (this) { return this; }
if (typeof window !== 'undefined') { return window; }
if (typeof global !== 'undefined') { return global; }
if (typeof self !== 'undefined') { return self; }
return Function('return this')();
}.call(null));
var shared_pb = require('./shared_pb.js');
goog.object.extend(proto, shared_pb);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.AllOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.Expression', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.FilterCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.WindowCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.ConsumerStrategy', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.Options', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.Options.StreamOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.Position', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.Settings', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.Settings.CheckpointAfterCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.Settings.MessageTimeoutCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.StreamOptions', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateReq.StreamOptions.RevisionOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.CreateResp', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.DeleteReq', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.DeleteReq.Options', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.DeleteReq.Options.StreamOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.DeleteResp', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.GetInfoReq', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.GetInfoReq.Options', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.GetInfoReq.Options.StreamOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.GetInfoResp', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ListReq', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ListReq.Options', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ListReq.Options.ListOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ListReq.StreamOption', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ListReq.StreamOption.StreamOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ListResp', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadReq', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadReq.Ack', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadReq.ContentCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadReq.Nack', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadReq.Nack.Action', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadReq.Options', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadReq.Options.StreamOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadReq.Options.UUIDOption', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadReq.Options.UUIDOption.ContentCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadResp', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadResp.ContentCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadResp.ReadEvent', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.CountCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.PositionCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReadResp.SubscriptionConfirmation', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReplayParkedReq', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReplayParkedReq.Options', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReplayParkedReq.Options.StopAtOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReplayParkedReq.Options.StreamOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.ReplayParkedResp', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.SubscriptionInfo', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.SubscriptionInfo.ConnectionInfo', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.UpdateReq', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.UpdateReq.AllOptions', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.UpdateReq.AllOptions.AllOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.UpdateReq.ConsumerStrategy', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.UpdateReq.Options', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.UpdateReq.Options.StreamOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.UpdateReq.Position', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.UpdateReq.Settings', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.UpdateReq.Settings.CheckpointAfterCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.UpdateReq.Settings.MessageTimeoutCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.UpdateReq.StreamOptions', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.UpdateReq.StreamOptions.RevisionOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.persistent_subscriptions.UpdateResp', 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.event_store.client.persistent_subscriptions.ReadReq = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.ReadReq.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ReadReq, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ReadReq.displayName = 'proto.event_store.client.persistent_subscriptions.ReadReq';
}
/**
* 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.event_store.client.persistent_subscriptions.ReadReq.Options = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.ReadReq.Options.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ReadReq.Options, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ReadReq.Options.displayName = 'proto.event_store.client.persistent_subscriptions.ReadReq.Options';
}
/**
* 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.event_store.client.persistent_subscriptions.ReadReq.Options.UUIDOption = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.ReadReq.Options.UUIDOption.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ReadReq.Options.UUIDOption, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ReadReq.Options.UUIDOption.displayName = 'proto.event_store.client.persistent_subscriptions.ReadReq.Options.UUIDOption';
}
/**
* 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.event_store.client.persistent_subscriptions.ReadReq.Ack = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.event_store.client.persistent_subscriptions.ReadReq.Ack.repeatedFields_, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ReadReq.Ack, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ReadReq.Ack.displayName = 'proto.event_store.client.persistent_subscriptions.ReadReq.Ack';
}
/**
* 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.event_store.client.persistent_subscriptions.ReadReq.Nack = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.event_store.client.persistent_subscriptions.ReadReq.Nack.repeatedFields_, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ReadReq.Nack, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ReadReq.Nack.displayName = 'proto.event_store.client.persistent_subscriptions.ReadReq.Nack';
}
/**
* 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.event_store.client.persistent_subscriptions.ReadResp = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.ReadResp.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ReadResp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ReadResp.displayName = 'proto.event_store.client.persistent_subscriptions.ReadResp';
}
/**
* 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.event_store.client.persistent_subscriptions.ReadResp.ReadEvent = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ReadResp.ReadEvent, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.displayName = 'proto.event_store.client.persistent_subscriptions.ReadResp.ReadEvent';
}
/**
* 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.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent.displayName = 'proto.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent';
}
/**
* 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.event_store.client.persistent_subscriptions.ReadResp.SubscriptionConfirmation = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ReadResp.SubscriptionConfirmation, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ReadResp.SubscriptionConfirmation.displayName = 'proto.event_store.client.persistent_subscriptions.ReadResp.SubscriptionConfirmation';
}
/**
* 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.event_store.client.persistent_subscriptions.CreateReq = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.CreateReq, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.CreateReq.displayName = 'proto.event_store.client.persistent_subscriptions.CreateReq';
}
/**
* 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.event_store.client.persistent_subscriptions.CreateReq.Options = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.CreateReq.Options.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.CreateReq.Options, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.CreateReq.Options.displayName = 'proto.event_store.client.persistent_subscriptions.CreateReq.Options';
}
/**
* 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.event_store.client.persistent_subscriptions.CreateReq.StreamOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.CreateReq.StreamOptions.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.CreateReq.StreamOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.CreateReq.StreamOptions.displayName = 'proto.event_store.client.persistent_subscriptions.CreateReq.StreamOptions';
}
/**
* 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.event_store.client.persistent_subscriptions.CreateReq.AllOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.displayName = 'proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions';
}
/**
* 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.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.displayName = 'proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions';
}
/**
* 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.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.Expression = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.Expression.repeatedFields_, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.Expression, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.Expression.displayName = 'proto.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.Expression';
}
/**
* 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.event_store.client.persistent_subscriptions.CreateReq.Position = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.CreateReq.Position, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.CreateReq.Position.displayName = 'proto.event_store.client.persistent_subscriptions.CreateReq.Position';
}
/**
* 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.event_store.client.persistent_subscriptions.CreateReq.Settings = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.CreateReq.Settings.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.CreateReq.Settings, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.CreateReq.Settings.displayName = 'proto.event_store.client.persistent_subscriptions.CreateReq.Settings';
}
/**
* 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.event_store.client.persistent_subscriptions.CreateResp = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.CreateResp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.CreateResp.displayName = 'proto.event_store.client.persistent_subscriptions.CreateResp';
}
/**
* 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.event_store.client.persistent_subscriptions.UpdateReq = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.UpdateReq, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.UpdateReq.displayName = 'proto.event_store.client.persistent_subscriptions.UpdateReq';
}
/**
* 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.event_store.client.persistent_subscriptions.UpdateReq.Options = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.UpdateReq.Options.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.UpdateReq.Options, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.UpdateReq.Options.displayName = 'proto.event_store.client.persistent_subscriptions.UpdateReq.Options';
}
/**
* 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.event_store.client.persistent_subscriptions.UpdateReq.StreamOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.UpdateReq.StreamOptions.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.UpdateReq.StreamOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.UpdateReq.StreamOptions.displayName = 'proto.event_store.client.persistent_subscriptions.UpdateReq.StreamOptions';
}
/**
* 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.event_store.client.persistent_subscriptions.UpdateReq.AllOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.UpdateReq.AllOptions.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.UpdateReq.AllOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.UpdateReq.AllOptions.displayName = 'proto.event_store.client.persistent_subscriptions.UpdateReq.AllOptions';
}
/**
* 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.event_store.client.persistent_subscriptions.UpdateReq.Position = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.UpdateReq.Position, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.UpdateReq.Position.displayName = 'proto.event_store.client.persistent_subscriptions.UpdateReq.Position';
}
/**
* 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.event_store.client.persistent_subscriptions.UpdateReq.Settings = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.UpdateReq.Settings.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.UpdateReq.Settings, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.UpdateReq.Settings.displayName = 'proto.event_store.client.persistent_subscriptions.UpdateReq.Settings';
}
/**
* 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.event_store.client.persistent_subscriptions.UpdateResp = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.UpdateResp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.UpdateResp.displayName = 'proto.event_store.client.persistent_subscriptions.UpdateResp';
}
/**
* 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.event_store.client.persistent_subscriptions.DeleteReq = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.DeleteReq, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.DeleteReq.displayName = 'proto.event_store.client.persistent_subscriptions.DeleteReq';
}
/**
* 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.event_store.client.persistent_subscriptions.DeleteReq.Options = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.DeleteReq.Options.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.DeleteReq.Options, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.DeleteReq.Options.displayName = 'proto.event_store.client.persistent_subscriptions.DeleteReq.Options';
}
/**
* 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.event_store.client.persistent_subscriptions.DeleteResp = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.DeleteResp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.DeleteResp.displayName = 'proto.event_store.client.persistent_subscriptions.DeleteResp';
}
/**
* 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.event_store.client.persistent_subscriptions.GetInfoReq = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.GetInfoReq, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.GetInfoReq.displayName = 'proto.event_store.client.persistent_subscriptions.GetInfoReq';
}
/**
* 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.event_store.client.persistent_subscriptions.GetInfoReq.Options = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.GetInfoReq.Options.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.GetInfoReq.Options, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.GetInfoReq.Options.displayName = 'proto.event_store.client.persistent_subscriptions.GetInfoReq.Options';
}
/**
* 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.event_store.client.persistent_subscriptions.GetInfoResp = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.GetInfoResp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.GetInfoResp.displayName = 'proto.event_store.client.persistent_subscriptions.GetInfoResp';
}
/**
* 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.event_store.client.persistent_subscriptions.SubscriptionInfo = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.event_store.client.persistent_subscriptions.SubscriptionInfo.repeatedFields_, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.SubscriptionInfo, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.SubscriptionInfo.displayName = 'proto.event_store.client.persistent_subscriptions.SubscriptionInfo';
}
/**
* 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.event_store.client.persistent_subscriptions.SubscriptionInfo.ConnectionInfo = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.event_store.client.persistent_subscriptions.SubscriptionInfo.ConnectionInfo.repeatedFields_, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.SubscriptionInfo.ConnectionInfo, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.SubscriptionInfo.ConnectionInfo.displayName = 'proto.event_store.client.persistent_subscriptions.SubscriptionInfo.ConnectionInfo';
}
/**
* 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.event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement.displayName = 'proto.event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement';
}
/**
* 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.event_store.client.persistent_subscriptions.ReplayParkedReq = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ReplayParkedReq, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ReplayParkedReq.displayName = 'proto.event_store.client.persistent_subscriptions.ReplayParkedReq';
}
/**
* 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.event_store.client.persistent_subscriptions.ReplayParkedReq.Options = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.ReplayParkedReq.Options.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ReplayParkedReq.Options, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ReplayParkedReq.Options.displayName = 'proto.event_store.client.persistent_subscriptions.ReplayParkedReq.Options';
}
/**
* 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.event_store.client.persistent_subscriptions.ReplayParkedResp = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ReplayParkedResp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ReplayParkedResp.displayName = 'proto.event_store.client.persistent_subscriptions.ReplayParkedResp';
}
/**
* 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.event_store.client.persistent_subscriptions.ListReq = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ListReq, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ListReq.displayName = 'proto.event_store.client.persistent_subscriptions.ListReq';
}
/**
* 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.event_store.client.persistent_subscriptions.ListReq.Options = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.ListReq.Options.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ListReq.Options, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ListReq.Options.displayName = 'proto.event_store.client.persistent_subscriptions.ListReq.Options';
}
/**
* 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.event_store.client.persistent_subscriptions.ListReq.StreamOption = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.persistent_subscriptions.ListReq.StreamOption.oneofGroups_);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ListReq.StreamOption, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ListReq.StreamOption.displayName = 'proto.event_store.client.persistent_subscriptions.ListReq.StreamOption';
}
/**
* 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.event_store.client.persistent_subscriptions.ListResp = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.event_store.client.persistent_subscriptions.ListResp.repeatedFields_, null);
};
goog.inherits(proto.event_store.client.persistent_subscriptions.ListResp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.persistent_subscriptions.ListResp.displayName = 'proto.event_store.client.persistent_subscriptions.ListResp';
}
/**
* 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.event_store.client.persistent_subscriptions.ReadReq.oneofGroups_ = [[1,2,3]];
/**
* @enum {number}
*/
proto.event_store.client.persistent_subscriptions.ReadReq.ContentCase = {
CONTENT_NOT_SET: 0,
OPTIONS: 1,
ACK: 2,
NACK: 3
};
/**
* @return {proto.event_store.client.persistent_subscriptions.ReadReq.ContentCase}
*/
proto.event_store.client.persistent_subscriptions.ReadReq.prototype.getContentCase = function() {
return /** @type {proto.event_store.client.persistent_subscriptions.ReadReq.ContentCase} */(jspb.Message.computeOneofCase(this, proto.event_store.client.persistent_subscriptions.ReadReq.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.event_store.client.persistent_subscriptions.ReadReq.prototype.toObject = function(opt_includeInstance) {
return proto.event_store.client.persistent_subscriptions.ReadReq.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.event_store.client.persistent_subscriptions.ReadReq} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.event_store.client.persistent_subscriptions.ReadReq.toObject = function(includeInstance, msg) {
var f, obj = {
options: (f = msg.getOptions()) && proto.event_store.client.persistent_subscriptions.ReadReq.Options.toObject(includeInstance, f),
ack: (f = msg.getAck()) && proto.event_store.client.persistent_subscriptions.ReadReq.Ack.toObject(includeInstance, f),
nack: (f = msg.getNack()) && proto.event_store.client.persistent_subscriptions.ReadReq.Nack.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.event_store.client.persistent_subscriptions.ReadReq}
*/
proto.event_store.client.persistent_subscriptions.ReadReq.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.event_store.client.persistent_subscriptions.ReadReq;
return proto.event_store.client.persistent_subscriptions.ReadReq.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* gi