@kurrent/kurrentdb-client
Version:
KurrentDB gRPC NodeJS Client SDK
1,148 lines (1,115 loc) • 419 kB
JavaScript
// source: streams.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);
var status_pb = require('./status_pb.js');
goog.object.extend(proto, status_pb);
var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js');
goog.object.extend(proto, google_protobuf_duration_pb);
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
goog.object.extend(proto, google_protobuf_empty_pb);
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
goog.object.extend(proto, google_protobuf_timestamp_pb);
goog.exportSymbol('proto.event_store.client.streams.AppendReq', null, global);
goog.exportSymbol('proto.event_store.client.streams.AppendReq.ContentCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.AppendReq.Options', null, global);
goog.exportSymbol('proto.event_store.client.streams.AppendReq.Options.ExpectedStreamRevisionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.AppendReq.ProposedMessage', null, global);
goog.exportSymbol('proto.event_store.client.streams.AppendResp', null, global);
goog.exportSymbol('proto.event_store.client.streams.AppendResp.Position', null, global);
goog.exportSymbol('proto.event_store.client.streams.AppendResp.ResultCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.AppendResp.Success', null, global);
goog.exportSymbol('proto.event_store.client.streams.AppendResp.Success.CurrentRevisionOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.AppendResp.Success.PositionOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.AppendResp.WrongExpectedVersion', null, global);
goog.exportSymbol('proto.event_store.client.streams.AppendResp.WrongExpectedVersion.CurrentRevisionOption2060Case', null, global);
goog.exportSymbol('proto.event_store.client.streams.AppendResp.WrongExpectedVersion.CurrentRevisionOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.AppendResp.WrongExpectedVersion.ExpectedRevisionOption2060Case', null, global);
goog.exportSymbol('proto.event_store.client.streams.AppendResp.WrongExpectedVersion.ExpectedRevisionOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.BatchAppendReq', null, global);
goog.exportSymbol('proto.event_store.client.streams.BatchAppendReq.Options', null, global);
goog.exportSymbol('proto.event_store.client.streams.BatchAppendReq.Options.DeadlineOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.BatchAppendReq.Options.ExpectedStreamPositionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.BatchAppendReq.ProposedMessage', null, global);
goog.exportSymbol('proto.event_store.client.streams.BatchAppendResp', null, global);
goog.exportSymbol('proto.event_store.client.streams.BatchAppendResp.ExpectedStreamPositionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.BatchAppendResp.ResultCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.BatchAppendResp.Success', null, global);
goog.exportSymbol('proto.event_store.client.streams.BatchAppendResp.Success.CurrentRevisionOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.BatchAppendResp.Success.PositionOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.DeleteReq', null, global);
goog.exportSymbol('proto.event_store.client.streams.DeleteReq.Options', null, global);
goog.exportSymbol('proto.event_store.client.streams.DeleteReq.Options.ExpectedStreamRevisionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.DeleteResp', null, global);
goog.exportSymbol('proto.event_store.client.streams.DeleteResp.Position', null, global);
goog.exportSymbol('proto.event_store.client.streams.DeleteResp.PositionOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.AllOptions', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.AllOptions.AllOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.ControlOption', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.CountOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.FilterOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.FilterOptions', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.FilterOptions.Expression', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.FilterOptions.FilterCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.FilterOptions.WindowCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.Position', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.ReadDirection', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.StreamOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.StreamOptions', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.StreamOptions.RevisionOptionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.SubscriptionOptions', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.UUIDOption', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadReq.Options.UUIDOption.ContentCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadResp', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadResp.CaughtUp', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadResp.Checkpoint', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadResp.ContentCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadResp.FellBehind', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadResp.Position', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadResp.ReadEvent', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadResp.ReadEvent.PositionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadResp.ReadEvent.RecordedEvent', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadResp.StreamNotFound', null, global);
goog.exportSymbol('proto.event_store.client.streams.ReadResp.SubscriptionConfirmation', null, global);
goog.exportSymbol('proto.event_store.client.streams.TombstoneReq', null, global);
goog.exportSymbol('proto.event_store.client.streams.TombstoneReq.Options', null, global);
goog.exportSymbol('proto.event_store.client.streams.TombstoneReq.Options.ExpectedStreamRevisionCase', null, global);
goog.exportSymbol('proto.event_store.client.streams.TombstoneResp', null, global);
goog.exportSymbol('proto.event_store.client.streams.TombstoneResp.Position', null, global);
goog.exportSymbol('proto.event_store.client.streams.TombstoneResp.PositionOptionCase', 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.streams.ReadReq = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.ReadReq, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadReq.displayName = 'proto.event_store.client.streams.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.streams.ReadReq.Options = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.ReadReq.Options.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.ReadReq.Options, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadReq.Options.displayName = 'proto.event_store.client.streams.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.streams.ReadReq.Options.StreamOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.ReadReq.Options.StreamOptions.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.ReadReq.Options.StreamOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadReq.Options.StreamOptions.displayName = 'proto.event_store.client.streams.ReadReq.Options.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.streams.ReadReq.Options.AllOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.ReadReq.Options.AllOptions.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.ReadReq.Options.AllOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadReq.Options.AllOptions.displayName = 'proto.event_store.client.streams.ReadReq.Options.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.streams.ReadReq.Options.SubscriptionOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.ReadReq.Options.SubscriptionOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadReq.Options.SubscriptionOptions.displayName = 'proto.event_store.client.streams.ReadReq.Options.SubscriptionOptions';
}
/**
* 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.streams.ReadReq.Options.Position = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.ReadReq.Options.Position, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadReq.Options.Position.displayName = 'proto.event_store.client.streams.ReadReq.Options.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.streams.ReadReq.Options.FilterOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.ReadReq.Options.FilterOptions.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.ReadReq.Options.FilterOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadReq.Options.FilterOptions.displayName = 'proto.event_store.client.streams.ReadReq.Options.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.streams.ReadReq.Options.FilterOptions.Expression = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.event_store.client.streams.ReadReq.Options.FilterOptions.Expression.repeatedFields_, null);
};
goog.inherits(proto.event_store.client.streams.ReadReq.Options.FilterOptions.Expression, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadReq.Options.FilterOptions.Expression.displayName = 'proto.event_store.client.streams.ReadReq.Options.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.streams.ReadReq.Options.UUIDOption = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.ReadReq.Options.UUIDOption.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.ReadReq.Options.UUIDOption, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadReq.Options.UUIDOption.displayName = 'proto.event_store.client.streams.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.streams.ReadReq.Options.ControlOption = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.ReadReq.Options.ControlOption, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadReq.Options.ControlOption.displayName = 'proto.event_store.client.streams.ReadReq.Options.ControlOption';
}
/**
* 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.streams.ReadResp = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.ReadResp.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.ReadResp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadResp.displayName = 'proto.event_store.client.streams.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.streams.ReadResp.CaughtUp = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.ReadResp.CaughtUp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadResp.CaughtUp.displayName = 'proto.event_store.client.streams.ReadResp.CaughtUp';
}
/**
* 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.streams.ReadResp.FellBehind = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.ReadResp.FellBehind, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadResp.FellBehind.displayName = 'proto.event_store.client.streams.ReadResp.FellBehind';
}
/**
* 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.streams.ReadResp.ReadEvent = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.ReadResp.ReadEvent.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.ReadResp.ReadEvent, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadResp.ReadEvent.displayName = 'proto.event_store.client.streams.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.streams.ReadResp.ReadEvent.RecordedEvent = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.ReadResp.ReadEvent.RecordedEvent, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.displayName = 'proto.event_store.client.streams.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.streams.ReadResp.SubscriptionConfirmation = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.ReadResp.SubscriptionConfirmation, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadResp.SubscriptionConfirmation.displayName = 'proto.event_store.client.streams.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.streams.ReadResp.Checkpoint = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.ReadResp.Checkpoint, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadResp.Checkpoint.displayName = 'proto.event_store.client.streams.ReadResp.Checkpoint';
}
/**
* 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.streams.ReadResp.Position = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.ReadResp.Position, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadResp.Position.displayName = 'proto.event_store.client.streams.ReadResp.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.streams.ReadResp.StreamNotFound = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.ReadResp.StreamNotFound, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.ReadResp.StreamNotFound.displayName = 'proto.event_store.client.streams.ReadResp.StreamNotFound';
}
/**
* 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.streams.AppendReq = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.AppendReq.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.AppendReq, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.AppendReq.displayName = 'proto.event_store.client.streams.AppendReq';
}
/**
* 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.streams.AppendReq.Options = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.AppendReq.Options.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.AppendReq.Options, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.AppendReq.Options.displayName = 'proto.event_store.client.streams.AppendReq.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.streams.AppendReq.ProposedMessage = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.AppendReq.ProposedMessage, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.AppendReq.ProposedMessage.displayName = 'proto.event_store.client.streams.AppendReq.ProposedMessage';
}
/**
* 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.streams.AppendResp = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.AppendResp.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.AppendResp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.AppendResp.displayName = 'proto.event_store.client.streams.AppendResp';
}
/**
* 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.streams.AppendResp.Position = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.AppendResp.Position, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.AppendResp.Position.displayName = 'proto.event_store.client.streams.AppendResp.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.streams.AppendResp.Success = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.AppendResp.Success.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.AppendResp.Success, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.AppendResp.Success.displayName = 'proto.event_store.client.streams.AppendResp.Success';
}
/**
* 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.streams.AppendResp.WrongExpectedVersion = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.AppendResp.WrongExpectedVersion.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.AppendResp.WrongExpectedVersion, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.AppendResp.WrongExpectedVersion.displayName = 'proto.event_store.client.streams.AppendResp.WrongExpectedVersion';
}
/**
* 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.streams.BatchAppendReq = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.event_store.client.streams.BatchAppendReq.repeatedFields_, null);
};
goog.inherits(proto.event_store.client.streams.BatchAppendReq, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.BatchAppendReq.displayName = 'proto.event_store.client.streams.BatchAppendReq';
}
/**
* 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.streams.BatchAppendReq.Options = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.BatchAppendReq.Options.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.BatchAppendReq.Options, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.BatchAppendReq.Options.displayName = 'proto.event_store.client.streams.BatchAppendReq.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.streams.BatchAppendReq.ProposedMessage = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.BatchAppendReq.ProposedMessage, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.BatchAppendReq.ProposedMessage.displayName = 'proto.event_store.client.streams.BatchAppendReq.ProposedMessage';
}
/**
* 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.streams.BatchAppendResp = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.BatchAppendResp.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.BatchAppendResp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.BatchAppendResp.displayName = 'proto.event_store.client.streams.BatchAppendResp';
}
/**
* 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.streams.BatchAppendResp.Success = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.BatchAppendResp.Success.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.BatchAppendResp.Success, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.BatchAppendResp.Success.displayName = 'proto.event_store.client.streams.BatchAppendResp.Success';
}
/**
* 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.streams.DeleteReq = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.DeleteReq, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.DeleteReq.displayName = 'proto.event_store.client.streams.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.streams.DeleteReq.Options = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.DeleteReq.Options.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.DeleteReq.Options, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.DeleteReq.Options.displayName = 'proto.event_store.client.streams.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.streams.DeleteResp = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.DeleteResp.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.DeleteResp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.DeleteResp.displayName = 'proto.event_store.client.streams.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.streams.DeleteResp.Position = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.DeleteResp.Position, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.DeleteResp.Position.displayName = 'proto.event_store.client.streams.DeleteResp.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.streams.TombstoneReq = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.TombstoneReq, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.TombstoneReq.displayName = 'proto.event_store.client.streams.TombstoneReq';
}
/**
* 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.streams.TombstoneReq.Options = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.TombstoneReq.Options.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.TombstoneReq.Options, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.TombstoneReq.Options.displayName = 'proto.event_store.client.streams.TombstoneReq.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.streams.TombstoneResp = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.event_store.client.streams.TombstoneResp.oneofGroups_);
};
goog.inherits(proto.event_store.client.streams.TombstoneResp, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.TombstoneResp.displayName = 'proto.event_store.client.streams.TombstoneResp';
}
/**
* 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.streams.TombstoneResp.Position = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.event_store.client.streams.TombstoneResp.Position, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.event_store.client.streams.TombstoneResp.Position.displayName = 'proto.event_store.client.streams.TombstoneResp.Position';
}
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.streams.ReadReq.prototype.toObject = function(opt_includeInstance) {
return proto.event_store.client.streams.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.streams.ReadReq} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.event_store.client.streams.ReadReq.toObject = function(includeInstance, msg) {
var f, obj = {
options: (f = msg.getOptions()) && proto.event_store.client.streams.ReadReq.Options.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.streams.ReadReq}
*/
proto.event_store.client.streams.ReadReq.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.event_store.client.streams.ReadReq;
return proto.event_store.client.streams.ReadReq.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.event_store.client.streams.ReadReq} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.event_store.client.streams.ReadReq}
*/
proto.event_store.client.streams.ReadReq.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.event_store.client.streams.ReadReq.Options;
reader.readMessage(value,proto.event_store.client.streams.ReadReq.Options.deserializeBinaryFromReader);
msg.setOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.event_store.client.streams.ReadReq.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.event_store.client.streams.ReadReq.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.event_store.client.streams.ReadReq} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.event_store.client.streams.ReadReq.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getOptions();
if (f != null) {
writer.writeMessage(
1,
f,
proto.event_store.client.streams.ReadReq.Options.serializeBinaryToWriter
);
}
};
/**
* 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.streams.ReadReq.Options.oneofGroups_ = [[1,2],[5,6],[7,8]];
/**
* @enum {number}
*/
proto.event_store.client.streams.ReadReq.Options.StreamOptionCase = {
STREAM_OPTION_NOT_SET: 0,
STREAM: 1,
ALL: 2
};
/**
* @return {proto.event_store.client.streams.ReadReq.Options.StreamOptionCase}
*/
proto.event_store.client.streams.ReadReq.Options.prototype.getStreamOptionCase = function() {
return /** @type {proto.event_store.client.streams.ReadReq.Options.StreamOptionCase} */(jspb.Message.computeOneofCase(this, proto.event_store.client.streams.ReadReq.Options.oneofGroups_[0]));
};
/**
* @enum {number}
*/
proto.event_store.client.streams.ReadReq.Options.CountOptionCase = {
COUNT_OPTION_NOT_SET: 0,
COUNT: 5,
SUBSCRIPTION: 6
};
/**
* @return {proto.event_store.client.streams.ReadReq.Options.CountOptionCase}
*/
proto.event_store.client.streams.ReadReq.Options.prototype.getCountOptionCase = function() {
return /** @type {proto.event_store.client.streams.ReadReq.Options.CountOptionCase} */(jspb.Message.computeOneofCase(this, proto.event_store.client.streams.ReadReq.Options.oneofGroups_[1]));
};
/**
* @enum {number}
*/
proto.event_store.client.streams.ReadReq.Options.FilterOptionCase = {
FILTER_OPTION_NOT_SET: 0,
FILTER: 7,
NO_FILTER: 8
};
/**
* @return {proto.event_store.client.streams.ReadReq.Options.FilterOptionCase}
*/
proto.event_store.client.streams.ReadReq.Options.prototype.getFilterOptionCase = function() {
return /** @type {proto.event_store.client.streams.ReadReq.Options.FilterOptionCase} */(jspb.Message.computeOneofCase(this, proto.event_store.client.streams.ReadReq.Options.oneofGroups_[2]));
};
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.streams.ReadReq.Options.prototype.toObject = function(opt_includeInstance) {
return proto.event_store.client.streams.ReadReq.Options.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.streams.ReadReq.Options} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.event_store.client.streams.ReadReq.Options.toObject = function(includeInstance, msg) {
var f, obj = {
stream: (f = msg.getStream()) && proto.event_store.client.streams.ReadReq.Options.StreamOptions.toObject(includeInstance, f),
all: (f = msg.getAll()) && proto.event_store.client.streams.ReadReq.Options.AllOptions.toObject(includeInstance, f),
readDirection: jspb.Message.getFieldWithDefault(msg, 3, 0),
resolveLinks: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
count: jspb.Message.getFieldWithDefault(msg, 5, "0"),
subscription: (f = msg.getSubscription()) && proto.event_store.client.streams.ReadReq.Options.SubscriptionOptions.toObject(includeInstance, f),
filter: (f = msg.getFilter()) && proto.event_store.client.streams.ReadReq.Options.FilterOptions.toObject(includeInstance, f),
noFilter: (f = msg.getNoFilter()) && shared_pb.Empty.toObject(includeInstance, f),
uuidOption: (f = msg.getUuidOption()) && proto.event_store.client.streams.ReadReq.Options.UUIDOption.toObject(includeInstance, f),
controlOption: (f = msg.getControlOption()) && proto.event_store.client.streams.ReadReq.Options.ControlOption.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @para