@miradorlabs/web-grpc 2.28.0 → 2.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -25,6 +25,8 @@ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/time
|
|
|
25
25
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
26
26
|
var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/common/v1/status_pb.js');
|
|
27
27
|
goog.object.extend(proto, proto_gateway_common_v1_status_pb);
|
|
28
|
+
goog.exportSymbol('proto.gateway.web.v1.AddDemoProjectRequest', null, global);
|
|
29
|
+
goog.exportSymbol('proto.gateway.web.v1.AddDemoProjectResponse', null, global);
|
|
28
30
|
goog.exportSymbol('proto.gateway.web.v1.CreateOrganizationRequest', null, global);
|
|
29
31
|
goog.exportSymbol('proto.gateway.web.v1.CreateOrganizationResponse', null, global);
|
|
30
32
|
goog.exportSymbol('proto.gateway.web.v1.CreateProjectRequest', null, global);
|
|
@@ -66,6 +68,8 @@ goog.exportSymbol('proto.gateway.web.v1.ProjectStatsUpdate', null, global);
|
|
|
66
68
|
goog.exportSymbol('proto.gateway.web.v1.ProjectStatus', null, global);
|
|
67
69
|
goog.exportSymbol('proto.gateway.web.v1.ProjectsStatsEnvelope', null, global);
|
|
68
70
|
goog.exportSymbol('proto.gateway.web.v1.ProjectsStatsEnvelope.EventCase', null, global);
|
|
71
|
+
goog.exportSymbol('proto.gateway.web.v1.RemoveDemoProjectRequest', null, global);
|
|
72
|
+
goog.exportSymbol('proto.gateway.web.v1.RemoveDemoProjectResponse', null, global);
|
|
69
73
|
goog.exportSymbol('proto.gateway.web.v1.RemoveUserRequest', null, global);
|
|
70
74
|
goog.exportSymbol('proto.gateway.web.v1.RemoveUserResponse', null, global);
|
|
71
75
|
goog.exportSymbol('proto.gateway.web.v1.ResendInviteRequest', null, global);
|
|
@@ -285,6 +289,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
285
289
|
*/
|
|
286
290
|
proto.gateway.web.v1.ListProjectsResponse.displayName = 'proto.gateway.web.v1.ListProjectsResponse';
|
|
287
291
|
}
|
|
292
|
+
/**
|
|
293
|
+
* Generated by JsPbCodeGenerator.
|
|
294
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
295
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
296
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
297
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
298
|
+
* valid.
|
|
299
|
+
* @extends {jspb.Message}
|
|
300
|
+
* @constructor
|
|
301
|
+
*/
|
|
302
|
+
proto.gateway.web.v1.AddDemoProjectRequest = function(opt_data) {
|
|
303
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
304
|
+
};
|
|
305
|
+
goog.inherits(proto.gateway.web.v1.AddDemoProjectRequest, jspb.Message);
|
|
306
|
+
if (goog.DEBUG && !COMPILED) {
|
|
307
|
+
/**
|
|
308
|
+
* @public
|
|
309
|
+
* @override
|
|
310
|
+
*/
|
|
311
|
+
proto.gateway.web.v1.AddDemoProjectRequest.displayName = 'proto.gateway.web.v1.AddDemoProjectRequest';
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Generated by JsPbCodeGenerator.
|
|
315
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
316
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
317
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
318
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
319
|
+
* valid.
|
|
320
|
+
* @extends {jspb.Message}
|
|
321
|
+
* @constructor
|
|
322
|
+
*/
|
|
323
|
+
proto.gateway.web.v1.AddDemoProjectResponse = function(opt_data) {
|
|
324
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
325
|
+
};
|
|
326
|
+
goog.inherits(proto.gateway.web.v1.AddDemoProjectResponse, jspb.Message);
|
|
327
|
+
if (goog.DEBUG && !COMPILED) {
|
|
328
|
+
/**
|
|
329
|
+
* @public
|
|
330
|
+
* @override
|
|
331
|
+
*/
|
|
332
|
+
proto.gateway.web.v1.AddDemoProjectResponse.displayName = 'proto.gateway.web.v1.AddDemoProjectResponse';
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* Generated by JsPbCodeGenerator.
|
|
336
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
337
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
338
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
339
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
340
|
+
* valid.
|
|
341
|
+
* @extends {jspb.Message}
|
|
342
|
+
* @constructor
|
|
343
|
+
*/
|
|
344
|
+
proto.gateway.web.v1.RemoveDemoProjectRequest = function(opt_data) {
|
|
345
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
346
|
+
};
|
|
347
|
+
goog.inherits(proto.gateway.web.v1.RemoveDemoProjectRequest, jspb.Message);
|
|
348
|
+
if (goog.DEBUG && !COMPILED) {
|
|
349
|
+
/**
|
|
350
|
+
* @public
|
|
351
|
+
* @override
|
|
352
|
+
*/
|
|
353
|
+
proto.gateway.web.v1.RemoveDemoProjectRequest.displayName = 'proto.gateway.web.v1.RemoveDemoProjectRequest';
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Generated by JsPbCodeGenerator.
|
|
357
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
358
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
359
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
360
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
361
|
+
* valid.
|
|
362
|
+
* @extends {jspb.Message}
|
|
363
|
+
* @constructor
|
|
364
|
+
*/
|
|
365
|
+
proto.gateway.web.v1.RemoveDemoProjectResponse = function(opt_data) {
|
|
366
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
367
|
+
};
|
|
368
|
+
goog.inherits(proto.gateway.web.v1.RemoveDemoProjectResponse, jspb.Message);
|
|
369
|
+
if (goog.DEBUG && !COMPILED) {
|
|
370
|
+
/**
|
|
371
|
+
* @public
|
|
372
|
+
* @override
|
|
373
|
+
*/
|
|
374
|
+
proto.gateway.web.v1.RemoveDemoProjectResponse.displayName = 'proto.gateway.web.v1.RemoveDemoProjectResponse';
|
|
375
|
+
}
|
|
288
376
|
/**
|
|
289
377
|
* Generated by JsPbCodeGenerator.
|
|
290
378
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3465,8 +3553,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3465
3553
|
* http://goto/soy-param-migration
|
|
3466
3554
|
* @return {!Object}
|
|
3467
3555
|
*/
|
|
3468
|
-
proto.gateway.web.v1.
|
|
3469
|
-
return proto.gateway.web.v1.
|
|
3556
|
+
proto.gateway.web.v1.AddDemoProjectRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3557
|
+
return proto.gateway.web.v1.AddDemoProjectRequest.toObject(opt_includeInstance, this);
|
|
3470
3558
|
};
|
|
3471
3559
|
|
|
3472
3560
|
|
|
@@ -3475,20 +3563,13 @@ proto.gateway.web.v1.Project.prototype.toObject = function(opt_includeInstance)
|
|
|
3475
3563
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3476
3564
|
* the JSPB instance for transitional soy proto support:
|
|
3477
3565
|
* http://goto/soy-param-migration
|
|
3478
|
-
* @param {!proto.gateway.web.v1.
|
|
3566
|
+
* @param {!proto.gateway.web.v1.AddDemoProjectRequest} msg The msg instance to transform.
|
|
3479
3567
|
* @return {!Object}
|
|
3480
3568
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3481
3569
|
*/
|
|
3482
|
-
proto.gateway.web.v1.
|
|
3570
|
+
proto.gateway.web.v1.AddDemoProjectRequest.toObject = function(includeInstance, msg) {
|
|
3483
3571
|
var f, obj = {
|
|
3484
|
-
|
|
3485
|
-
organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3486
|
-
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3487
|
-
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3488
|
-
status: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
3489
|
-
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
3490
|
-
updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
3491
|
-
createdBy: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
3572
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3492
3573
|
};
|
|
3493
3574
|
|
|
3494
3575
|
if (includeInstance) {
|
|
@@ -3502,23 +3583,23 @@ createdBy: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
|
3502
3583
|
/**
|
|
3503
3584
|
* Deserializes binary data (in protobuf wire format).
|
|
3504
3585
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3505
|
-
* @return {!proto.gateway.web.v1.
|
|
3586
|
+
* @return {!proto.gateway.web.v1.AddDemoProjectRequest}
|
|
3506
3587
|
*/
|
|
3507
|
-
proto.gateway.web.v1.
|
|
3588
|
+
proto.gateway.web.v1.AddDemoProjectRequest.deserializeBinary = function(bytes) {
|
|
3508
3589
|
var reader = new jspb.BinaryReader(bytes);
|
|
3509
|
-
var msg = new proto.gateway.web.v1.
|
|
3510
|
-
return proto.gateway.web.v1.
|
|
3590
|
+
var msg = new proto.gateway.web.v1.AddDemoProjectRequest;
|
|
3591
|
+
return proto.gateway.web.v1.AddDemoProjectRequest.deserializeBinaryFromReader(msg, reader);
|
|
3511
3592
|
};
|
|
3512
3593
|
|
|
3513
3594
|
|
|
3514
3595
|
/**
|
|
3515
3596
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3516
3597
|
* given reader into the given message object.
|
|
3517
|
-
* @param {!proto.gateway.web.v1.
|
|
3598
|
+
* @param {!proto.gateway.web.v1.AddDemoProjectRequest} msg The message object to deserialize into.
|
|
3518
3599
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3519
|
-
* @return {!proto.gateway.web.v1.
|
|
3600
|
+
* @return {!proto.gateway.web.v1.AddDemoProjectRequest}
|
|
3520
3601
|
*/
|
|
3521
|
-
proto.gateway.web.v1.
|
|
3602
|
+
proto.gateway.web.v1.AddDemoProjectRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3522
3603
|
while (reader.nextField()) {
|
|
3523
3604
|
if (reader.isEndGroup()) {
|
|
3524
3605
|
break;
|
|
@@ -3526,39 +3607,9 @@ proto.gateway.web.v1.Project.deserializeBinaryFromReader = function(msg, reader)
|
|
|
3526
3607
|
var field = reader.getFieldNumber();
|
|
3527
3608
|
switch (field) {
|
|
3528
3609
|
case 1:
|
|
3529
|
-
var value = /** @type {string} */ (reader.readString());
|
|
3530
|
-
msg.setProjectId(value);
|
|
3531
|
-
break;
|
|
3532
|
-
case 2:
|
|
3533
3610
|
var value = /** @type {string} */ (reader.readString());
|
|
3534
3611
|
msg.setOrganizationId(value);
|
|
3535
3612
|
break;
|
|
3536
|
-
case 3:
|
|
3537
|
-
var value = /** @type {string} */ (reader.readString());
|
|
3538
|
-
msg.setName(value);
|
|
3539
|
-
break;
|
|
3540
|
-
case 4:
|
|
3541
|
-
var value = /** @type {string} */ (reader.readString());
|
|
3542
|
-
msg.setDescription(value);
|
|
3543
|
-
break;
|
|
3544
|
-
case 5:
|
|
3545
|
-
var value = /** @type {!proto.gateway.web.v1.ProjectStatus} */ (reader.readEnum());
|
|
3546
|
-
msg.setStatus(value);
|
|
3547
|
-
break;
|
|
3548
|
-
case 6:
|
|
3549
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
3550
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
3551
|
-
msg.setCreatedAt(value);
|
|
3552
|
-
break;
|
|
3553
|
-
case 7:
|
|
3554
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
3555
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
3556
|
-
msg.setUpdatedAt(value);
|
|
3557
|
-
break;
|
|
3558
|
-
case 8:
|
|
3559
|
-
var value = /** @type {string} */ (reader.readString());
|
|
3560
|
-
msg.setCreatedBy(value);
|
|
3561
|
-
break;
|
|
3562
3613
|
default:
|
|
3563
3614
|
reader.skipField();
|
|
3564
3615
|
break;
|
|
@@ -3572,9 +3623,9 @@ proto.gateway.web.v1.Project.deserializeBinaryFromReader = function(msg, reader)
|
|
|
3572
3623
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3573
3624
|
* @return {!Uint8Array}
|
|
3574
3625
|
*/
|
|
3575
|
-
proto.gateway.web.v1.
|
|
3626
|
+
proto.gateway.web.v1.AddDemoProjectRequest.prototype.serializeBinary = function() {
|
|
3576
3627
|
var writer = new jspb.BinaryWriter();
|
|
3577
|
-
proto.gateway.web.v1.
|
|
3628
|
+
proto.gateway.web.v1.AddDemoProjectRequest.serializeBinaryToWriter(this, writer);
|
|
3578
3629
|
return writer.getResultBuffer();
|
|
3579
3630
|
};
|
|
3580
3631
|
|
|
@@ -3582,67 +3633,16 @@ proto.gateway.web.v1.Project.prototype.serializeBinary = function() {
|
|
|
3582
3633
|
/**
|
|
3583
3634
|
* Serializes the given message to binary data (in protobuf wire
|
|
3584
3635
|
* format), writing to the given BinaryWriter.
|
|
3585
|
-
* @param {!proto.gateway.web.v1.
|
|
3636
|
+
* @param {!proto.gateway.web.v1.AddDemoProjectRequest} message
|
|
3586
3637
|
* @param {!jspb.BinaryWriter} writer
|
|
3587
3638
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3588
3639
|
*/
|
|
3589
|
-
proto.gateway.web.v1.
|
|
3640
|
+
proto.gateway.web.v1.AddDemoProjectRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3590
3641
|
var f = undefined;
|
|
3591
|
-
f = message.getProjectId();
|
|
3592
|
-
if (f.length > 0) {
|
|
3593
|
-
writer.writeString(
|
|
3594
|
-
1,
|
|
3595
|
-
f
|
|
3596
|
-
);
|
|
3597
|
-
}
|
|
3598
3642
|
f = message.getOrganizationId();
|
|
3599
3643
|
if (f.length > 0) {
|
|
3600
3644
|
writer.writeString(
|
|
3601
|
-
|
|
3602
|
-
f
|
|
3603
|
-
);
|
|
3604
|
-
}
|
|
3605
|
-
f = message.getName();
|
|
3606
|
-
if (f.length > 0) {
|
|
3607
|
-
writer.writeString(
|
|
3608
|
-
3,
|
|
3609
|
-
f
|
|
3610
|
-
);
|
|
3611
|
-
}
|
|
3612
|
-
f = message.getDescription();
|
|
3613
|
-
if (f.length > 0) {
|
|
3614
|
-
writer.writeString(
|
|
3615
|
-
4,
|
|
3616
|
-
f
|
|
3617
|
-
);
|
|
3618
|
-
}
|
|
3619
|
-
f = message.getStatus();
|
|
3620
|
-
if (f !== 0.0) {
|
|
3621
|
-
writer.writeEnum(
|
|
3622
|
-
5,
|
|
3623
|
-
f
|
|
3624
|
-
);
|
|
3625
|
-
}
|
|
3626
|
-
f = message.getCreatedAt();
|
|
3627
|
-
if (f != null) {
|
|
3628
|
-
writer.writeMessage(
|
|
3629
|
-
6,
|
|
3630
|
-
f,
|
|
3631
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
3632
|
-
);
|
|
3633
|
-
}
|
|
3634
|
-
f = message.getUpdatedAt();
|
|
3635
|
-
if (f != null) {
|
|
3636
|
-
writer.writeMessage(
|
|
3637
|
-
7,
|
|
3638
|
-
f,
|
|
3639
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
3640
|
-
);
|
|
3641
|
-
}
|
|
3642
|
-
f = message.getCreatedBy();
|
|
3643
|
-
if (f.length > 0) {
|
|
3644
|
-
writer.writeString(
|
|
3645
|
-
8,
|
|
3645
|
+
1,
|
|
3646
3646
|
f
|
|
3647
3647
|
);
|
|
3648
3648
|
}
|
|
@@ -3650,85 +3650,798 @@ proto.gateway.web.v1.Project.serializeBinaryToWriter = function(message, writer)
|
|
|
3650
3650
|
|
|
3651
3651
|
|
|
3652
3652
|
/**
|
|
3653
|
-
* optional string
|
|
3653
|
+
* optional string organization_id = 1;
|
|
3654
3654
|
* @return {string}
|
|
3655
3655
|
*/
|
|
3656
|
-
proto.gateway.web.v1.
|
|
3656
|
+
proto.gateway.web.v1.AddDemoProjectRequest.prototype.getOrganizationId = function() {
|
|
3657
3657
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3658
3658
|
};
|
|
3659
3659
|
|
|
3660
3660
|
|
|
3661
3661
|
/**
|
|
3662
3662
|
* @param {string} value
|
|
3663
|
-
* @return {!proto.gateway.web.v1.
|
|
3663
|
+
* @return {!proto.gateway.web.v1.AddDemoProjectRequest} returns this
|
|
3664
3664
|
*/
|
|
3665
|
-
proto.gateway.web.v1.
|
|
3665
|
+
proto.gateway.web.v1.AddDemoProjectRequest.prototype.setOrganizationId = function(value) {
|
|
3666
3666
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3667
3667
|
};
|
|
3668
3668
|
|
|
3669
3669
|
|
|
3670
|
-
/**
|
|
3671
|
-
* optional string organization_id = 2;
|
|
3672
|
-
* @return {string}
|
|
3673
|
-
*/
|
|
3674
|
-
proto.gateway.web.v1.Project.prototype.getOrganizationId = function() {
|
|
3675
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3676
|
-
};
|
|
3677
|
-
|
|
3678
3670
|
|
|
3679
|
-
/**
|
|
3680
|
-
* @param {string} value
|
|
3681
|
-
* @return {!proto.gateway.web.v1.Project} returns this
|
|
3682
|
-
*/
|
|
3683
|
-
proto.gateway.web.v1.Project.prototype.setOrganizationId = function(value) {
|
|
3684
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3685
|
-
};
|
|
3686
3671
|
|
|
3687
3672
|
|
|
3673
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3688
3674
|
/**
|
|
3689
|
-
*
|
|
3690
|
-
*
|
|
3675
|
+
* Creates an object representation of this proto.
|
|
3676
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3677
|
+
* Optional fields that are not set will be set to undefined.
|
|
3678
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3679
|
+
* For the list of reserved names please see:
|
|
3680
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3681
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3682
|
+
* JSPB instance for transitional soy proto support:
|
|
3683
|
+
* http://goto/soy-param-migration
|
|
3684
|
+
* @return {!Object}
|
|
3691
3685
|
*/
|
|
3692
|
-
proto.gateway.web.v1.
|
|
3693
|
-
return
|
|
3686
|
+
proto.gateway.web.v1.AddDemoProjectResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3687
|
+
return proto.gateway.web.v1.AddDemoProjectResponse.toObject(opt_includeInstance, this);
|
|
3694
3688
|
};
|
|
3695
3689
|
|
|
3696
3690
|
|
|
3697
3691
|
/**
|
|
3698
|
-
* @
|
|
3699
|
-
* @
|
|
3692
|
+
* Static version of the {@see toObject} method.
|
|
3693
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3694
|
+
* the JSPB instance for transitional soy proto support:
|
|
3695
|
+
* http://goto/soy-param-migration
|
|
3696
|
+
* @param {!proto.gateway.web.v1.AddDemoProjectResponse} msg The msg instance to transform.
|
|
3697
|
+
* @return {!Object}
|
|
3698
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3700
3699
|
*/
|
|
3701
|
-
proto.gateway.web.v1.
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3700
|
+
proto.gateway.web.v1.AddDemoProjectResponse.toObject = function(includeInstance, msg) {
|
|
3701
|
+
var f, obj = {
|
|
3702
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
3703
|
+
project: (f = msg.getProject()) && proto.gateway.web.v1.Project.toObject(includeInstance, f)
|
|
3704
|
+
};
|
|
3705
3705
|
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
proto.gateway.web.v1.Project.prototype.getDescription = function() {
|
|
3711
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3706
|
+
if (includeInstance) {
|
|
3707
|
+
obj.$jspbMessageInstance = msg;
|
|
3708
|
+
}
|
|
3709
|
+
return obj;
|
|
3712
3710
|
};
|
|
3711
|
+
}
|
|
3713
3712
|
|
|
3714
3713
|
|
|
3715
3714
|
/**
|
|
3716
|
-
*
|
|
3717
|
-
* @
|
|
3715
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3716
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3717
|
+
* @return {!proto.gateway.web.v1.AddDemoProjectResponse}
|
|
3718
3718
|
*/
|
|
3719
|
-
proto.gateway.web.v1.
|
|
3720
|
-
|
|
3719
|
+
proto.gateway.web.v1.AddDemoProjectResponse.deserializeBinary = function(bytes) {
|
|
3720
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3721
|
+
var msg = new proto.gateway.web.v1.AddDemoProjectResponse;
|
|
3722
|
+
return proto.gateway.web.v1.AddDemoProjectResponse.deserializeBinaryFromReader(msg, reader);
|
|
3721
3723
|
};
|
|
3722
3724
|
|
|
3723
3725
|
|
|
3724
3726
|
/**
|
|
3725
|
-
*
|
|
3726
|
-
*
|
|
3727
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3728
|
+
* given reader into the given message object.
|
|
3729
|
+
* @param {!proto.gateway.web.v1.AddDemoProjectResponse} msg The message object to deserialize into.
|
|
3730
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3731
|
+
* @return {!proto.gateway.web.v1.AddDemoProjectResponse}
|
|
3727
3732
|
*/
|
|
3728
|
-
proto.gateway.web.v1.
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3733
|
+
proto.gateway.web.v1.AddDemoProjectResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3734
|
+
while (reader.nextField()) {
|
|
3735
|
+
if (reader.isEndGroup()) {
|
|
3736
|
+
break;
|
|
3737
|
+
}
|
|
3738
|
+
var field = reader.getFieldNumber();
|
|
3739
|
+
switch (field) {
|
|
3740
|
+
case 1:
|
|
3741
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
3742
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
3743
|
+
msg.setStatus(value);
|
|
3744
|
+
break;
|
|
3745
|
+
case 2:
|
|
3746
|
+
var value = new proto.gateway.web.v1.Project;
|
|
3747
|
+
reader.readMessage(value,proto.gateway.web.v1.Project.deserializeBinaryFromReader);
|
|
3748
|
+
msg.setProject(value);
|
|
3749
|
+
break;
|
|
3750
|
+
default:
|
|
3751
|
+
reader.skipField();
|
|
3752
|
+
break;
|
|
3753
|
+
}
|
|
3754
|
+
}
|
|
3755
|
+
return msg;
|
|
3756
|
+
};
|
|
3757
|
+
|
|
3758
|
+
|
|
3759
|
+
/**
|
|
3760
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3761
|
+
* @return {!Uint8Array}
|
|
3762
|
+
*/
|
|
3763
|
+
proto.gateway.web.v1.AddDemoProjectResponse.prototype.serializeBinary = function() {
|
|
3764
|
+
var writer = new jspb.BinaryWriter();
|
|
3765
|
+
proto.gateway.web.v1.AddDemoProjectResponse.serializeBinaryToWriter(this, writer);
|
|
3766
|
+
return writer.getResultBuffer();
|
|
3767
|
+
};
|
|
3768
|
+
|
|
3769
|
+
|
|
3770
|
+
/**
|
|
3771
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3772
|
+
* format), writing to the given BinaryWriter.
|
|
3773
|
+
* @param {!proto.gateway.web.v1.AddDemoProjectResponse} message
|
|
3774
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3775
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3776
|
+
*/
|
|
3777
|
+
proto.gateway.web.v1.AddDemoProjectResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3778
|
+
var f = undefined;
|
|
3779
|
+
f = message.getStatus();
|
|
3780
|
+
if (f != null) {
|
|
3781
|
+
writer.writeMessage(
|
|
3782
|
+
1,
|
|
3783
|
+
f,
|
|
3784
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
3785
|
+
);
|
|
3786
|
+
}
|
|
3787
|
+
f = message.getProject();
|
|
3788
|
+
if (f != null) {
|
|
3789
|
+
writer.writeMessage(
|
|
3790
|
+
2,
|
|
3791
|
+
f,
|
|
3792
|
+
proto.gateway.web.v1.Project.serializeBinaryToWriter
|
|
3793
|
+
);
|
|
3794
|
+
}
|
|
3795
|
+
};
|
|
3796
|
+
|
|
3797
|
+
|
|
3798
|
+
/**
|
|
3799
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
3800
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
3801
|
+
*/
|
|
3802
|
+
proto.gateway.web.v1.AddDemoProjectResponse.prototype.getStatus = function() {
|
|
3803
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
3804
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
3805
|
+
};
|
|
3806
|
+
|
|
3807
|
+
|
|
3808
|
+
/**
|
|
3809
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
3810
|
+
* @return {!proto.gateway.web.v1.AddDemoProjectResponse} returns this
|
|
3811
|
+
*/
|
|
3812
|
+
proto.gateway.web.v1.AddDemoProjectResponse.prototype.setStatus = function(value) {
|
|
3813
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3814
|
+
};
|
|
3815
|
+
|
|
3816
|
+
|
|
3817
|
+
/**
|
|
3818
|
+
* Clears the message field making it undefined.
|
|
3819
|
+
* @return {!proto.gateway.web.v1.AddDemoProjectResponse} returns this
|
|
3820
|
+
*/
|
|
3821
|
+
proto.gateway.web.v1.AddDemoProjectResponse.prototype.clearStatus = function() {
|
|
3822
|
+
return this.setStatus(undefined);
|
|
3823
|
+
};
|
|
3824
|
+
|
|
3825
|
+
|
|
3826
|
+
/**
|
|
3827
|
+
* Returns whether this field is set.
|
|
3828
|
+
* @return {boolean}
|
|
3829
|
+
*/
|
|
3830
|
+
proto.gateway.web.v1.AddDemoProjectResponse.prototype.hasStatus = function() {
|
|
3831
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3832
|
+
};
|
|
3833
|
+
|
|
3834
|
+
|
|
3835
|
+
/**
|
|
3836
|
+
* optional Project project = 2;
|
|
3837
|
+
* @return {?proto.gateway.web.v1.Project}
|
|
3838
|
+
*/
|
|
3839
|
+
proto.gateway.web.v1.AddDemoProjectResponse.prototype.getProject = function() {
|
|
3840
|
+
return /** @type{?proto.gateway.web.v1.Project} */ (
|
|
3841
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.Project, 2));
|
|
3842
|
+
};
|
|
3843
|
+
|
|
3844
|
+
|
|
3845
|
+
/**
|
|
3846
|
+
* @param {?proto.gateway.web.v1.Project|undefined} value
|
|
3847
|
+
* @return {!proto.gateway.web.v1.AddDemoProjectResponse} returns this
|
|
3848
|
+
*/
|
|
3849
|
+
proto.gateway.web.v1.AddDemoProjectResponse.prototype.setProject = function(value) {
|
|
3850
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
3851
|
+
};
|
|
3852
|
+
|
|
3853
|
+
|
|
3854
|
+
/**
|
|
3855
|
+
* Clears the message field making it undefined.
|
|
3856
|
+
* @return {!proto.gateway.web.v1.AddDemoProjectResponse} returns this
|
|
3857
|
+
*/
|
|
3858
|
+
proto.gateway.web.v1.AddDemoProjectResponse.prototype.clearProject = function() {
|
|
3859
|
+
return this.setProject(undefined);
|
|
3860
|
+
};
|
|
3861
|
+
|
|
3862
|
+
|
|
3863
|
+
/**
|
|
3864
|
+
* Returns whether this field is set.
|
|
3865
|
+
* @return {boolean}
|
|
3866
|
+
*/
|
|
3867
|
+
proto.gateway.web.v1.AddDemoProjectResponse.prototype.hasProject = function() {
|
|
3868
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3869
|
+
};
|
|
3870
|
+
|
|
3871
|
+
|
|
3872
|
+
|
|
3873
|
+
|
|
3874
|
+
|
|
3875
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3876
|
+
/**
|
|
3877
|
+
* Creates an object representation of this proto.
|
|
3878
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3879
|
+
* Optional fields that are not set will be set to undefined.
|
|
3880
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3881
|
+
* For the list of reserved names please see:
|
|
3882
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3883
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3884
|
+
* JSPB instance for transitional soy proto support:
|
|
3885
|
+
* http://goto/soy-param-migration
|
|
3886
|
+
* @return {!Object}
|
|
3887
|
+
*/
|
|
3888
|
+
proto.gateway.web.v1.RemoveDemoProjectRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3889
|
+
return proto.gateway.web.v1.RemoveDemoProjectRequest.toObject(opt_includeInstance, this);
|
|
3890
|
+
};
|
|
3891
|
+
|
|
3892
|
+
|
|
3893
|
+
/**
|
|
3894
|
+
* Static version of the {@see toObject} method.
|
|
3895
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3896
|
+
* the JSPB instance for transitional soy proto support:
|
|
3897
|
+
* http://goto/soy-param-migration
|
|
3898
|
+
* @param {!proto.gateway.web.v1.RemoveDemoProjectRequest} msg The msg instance to transform.
|
|
3899
|
+
* @return {!Object}
|
|
3900
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3901
|
+
*/
|
|
3902
|
+
proto.gateway.web.v1.RemoveDemoProjectRequest.toObject = function(includeInstance, msg) {
|
|
3903
|
+
var f, obj = {
|
|
3904
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3905
|
+
};
|
|
3906
|
+
|
|
3907
|
+
if (includeInstance) {
|
|
3908
|
+
obj.$jspbMessageInstance = msg;
|
|
3909
|
+
}
|
|
3910
|
+
return obj;
|
|
3911
|
+
};
|
|
3912
|
+
}
|
|
3913
|
+
|
|
3914
|
+
|
|
3915
|
+
/**
|
|
3916
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3917
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3918
|
+
* @return {!proto.gateway.web.v1.RemoveDemoProjectRequest}
|
|
3919
|
+
*/
|
|
3920
|
+
proto.gateway.web.v1.RemoveDemoProjectRequest.deserializeBinary = function(bytes) {
|
|
3921
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3922
|
+
var msg = new proto.gateway.web.v1.RemoveDemoProjectRequest;
|
|
3923
|
+
return proto.gateway.web.v1.RemoveDemoProjectRequest.deserializeBinaryFromReader(msg, reader);
|
|
3924
|
+
};
|
|
3925
|
+
|
|
3926
|
+
|
|
3927
|
+
/**
|
|
3928
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3929
|
+
* given reader into the given message object.
|
|
3930
|
+
* @param {!proto.gateway.web.v1.RemoveDemoProjectRequest} msg The message object to deserialize into.
|
|
3931
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3932
|
+
* @return {!proto.gateway.web.v1.RemoveDemoProjectRequest}
|
|
3933
|
+
*/
|
|
3934
|
+
proto.gateway.web.v1.RemoveDemoProjectRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3935
|
+
while (reader.nextField()) {
|
|
3936
|
+
if (reader.isEndGroup()) {
|
|
3937
|
+
break;
|
|
3938
|
+
}
|
|
3939
|
+
var field = reader.getFieldNumber();
|
|
3940
|
+
switch (field) {
|
|
3941
|
+
case 1:
|
|
3942
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3943
|
+
msg.setOrganizationId(value);
|
|
3944
|
+
break;
|
|
3945
|
+
default:
|
|
3946
|
+
reader.skipField();
|
|
3947
|
+
break;
|
|
3948
|
+
}
|
|
3949
|
+
}
|
|
3950
|
+
return msg;
|
|
3951
|
+
};
|
|
3952
|
+
|
|
3953
|
+
|
|
3954
|
+
/**
|
|
3955
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3956
|
+
* @return {!Uint8Array}
|
|
3957
|
+
*/
|
|
3958
|
+
proto.gateway.web.v1.RemoveDemoProjectRequest.prototype.serializeBinary = function() {
|
|
3959
|
+
var writer = new jspb.BinaryWriter();
|
|
3960
|
+
proto.gateway.web.v1.RemoveDemoProjectRequest.serializeBinaryToWriter(this, writer);
|
|
3961
|
+
return writer.getResultBuffer();
|
|
3962
|
+
};
|
|
3963
|
+
|
|
3964
|
+
|
|
3965
|
+
/**
|
|
3966
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3967
|
+
* format), writing to the given BinaryWriter.
|
|
3968
|
+
* @param {!proto.gateway.web.v1.RemoveDemoProjectRequest} message
|
|
3969
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3970
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3971
|
+
*/
|
|
3972
|
+
proto.gateway.web.v1.RemoveDemoProjectRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3973
|
+
var f = undefined;
|
|
3974
|
+
f = message.getOrganizationId();
|
|
3975
|
+
if (f.length > 0) {
|
|
3976
|
+
writer.writeString(
|
|
3977
|
+
1,
|
|
3978
|
+
f
|
|
3979
|
+
);
|
|
3980
|
+
}
|
|
3981
|
+
};
|
|
3982
|
+
|
|
3983
|
+
|
|
3984
|
+
/**
|
|
3985
|
+
* optional string organization_id = 1;
|
|
3986
|
+
* @return {string}
|
|
3987
|
+
*/
|
|
3988
|
+
proto.gateway.web.v1.RemoveDemoProjectRequest.prototype.getOrganizationId = function() {
|
|
3989
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3990
|
+
};
|
|
3991
|
+
|
|
3992
|
+
|
|
3993
|
+
/**
|
|
3994
|
+
* @param {string} value
|
|
3995
|
+
* @return {!proto.gateway.web.v1.RemoveDemoProjectRequest} returns this
|
|
3996
|
+
*/
|
|
3997
|
+
proto.gateway.web.v1.RemoveDemoProjectRequest.prototype.setOrganizationId = function(value) {
|
|
3998
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3999
|
+
};
|
|
4000
|
+
|
|
4001
|
+
|
|
4002
|
+
|
|
4003
|
+
|
|
4004
|
+
|
|
4005
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4006
|
+
/**
|
|
4007
|
+
* Creates an object representation of this proto.
|
|
4008
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4009
|
+
* Optional fields that are not set will be set to undefined.
|
|
4010
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4011
|
+
* For the list of reserved names please see:
|
|
4012
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4013
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4014
|
+
* JSPB instance for transitional soy proto support:
|
|
4015
|
+
* http://goto/soy-param-migration
|
|
4016
|
+
* @return {!Object}
|
|
4017
|
+
*/
|
|
4018
|
+
proto.gateway.web.v1.RemoveDemoProjectResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4019
|
+
return proto.gateway.web.v1.RemoveDemoProjectResponse.toObject(opt_includeInstance, this);
|
|
4020
|
+
};
|
|
4021
|
+
|
|
4022
|
+
|
|
4023
|
+
/**
|
|
4024
|
+
* Static version of the {@see toObject} method.
|
|
4025
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4026
|
+
* the JSPB instance for transitional soy proto support:
|
|
4027
|
+
* http://goto/soy-param-migration
|
|
4028
|
+
* @param {!proto.gateway.web.v1.RemoveDemoProjectResponse} msg The msg instance to transform.
|
|
4029
|
+
* @return {!Object}
|
|
4030
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4031
|
+
*/
|
|
4032
|
+
proto.gateway.web.v1.RemoveDemoProjectResponse.toObject = function(includeInstance, msg) {
|
|
4033
|
+
var f, obj = {
|
|
4034
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f)
|
|
4035
|
+
};
|
|
4036
|
+
|
|
4037
|
+
if (includeInstance) {
|
|
4038
|
+
obj.$jspbMessageInstance = msg;
|
|
4039
|
+
}
|
|
4040
|
+
return obj;
|
|
4041
|
+
};
|
|
4042
|
+
}
|
|
4043
|
+
|
|
4044
|
+
|
|
4045
|
+
/**
|
|
4046
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4047
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4048
|
+
* @return {!proto.gateway.web.v1.RemoveDemoProjectResponse}
|
|
4049
|
+
*/
|
|
4050
|
+
proto.gateway.web.v1.RemoveDemoProjectResponse.deserializeBinary = function(bytes) {
|
|
4051
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4052
|
+
var msg = new proto.gateway.web.v1.RemoveDemoProjectResponse;
|
|
4053
|
+
return proto.gateway.web.v1.RemoveDemoProjectResponse.deserializeBinaryFromReader(msg, reader);
|
|
4054
|
+
};
|
|
4055
|
+
|
|
4056
|
+
|
|
4057
|
+
/**
|
|
4058
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4059
|
+
* given reader into the given message object.
|
|
4060
|
+
* @param {!proto.gateway.web.v1.RemoveDemoProjectResponse} msg The message object to deserialize into.
|
|
4061
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4062
|
+
* @return {!proto.gateway.web.v1.RemoveDemoProjectResponse}
|
|
4063
|
+
*/
|
|
4064
|
+
proto.gateway.web.v1.RemoveDemoProjectResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4065
|
+
while (reader.nextField()) {
|
|
4066
|
+
if (reader.isEndGroup()) {
|
|
4067
|
+
break;
|
|
4068
|
+
}
|
|
4069
|
+
var field = reader.getFieldNumber();
|
|
4070
|
+
switch (field) {
|
|
4071
|
+
case 1:
|
|
4072
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
4073
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
4074
|
+
msg.setStatus(value);
|
|
4075
|
+
break;
|
|
4076
|
+
default:
|
|
4077
|
+
reader.skipField();
|
|
4078
|
+
break;
|
|
4079
|
+
}
|
|
4080
|
+
}
|
|
4081
|
+
return msg;
|
|
4082
|
+
};
|
|
4083
|
+
|
|
4084
|
+
|
|
4085
|
+
/**
|
|
4086
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4087
|
+
* @return {!Uint8Array}
|
|
4088
|
+
*/
|
|
4089
|
+
proto.gateway.web.v1.RemoveDemoProjectResponse.prototype.serializeBinary = function() {
|
|
4090
|
+
var writer = new jspb.BinaryWriter();
|
|
4091
|
+
proto.gateway.web.v1.RemoveDemoProjectResponse.serializeBinaryToWriter(this, writer);
|
|
4092
|
+
return writer.getResultBuffer();
|
|
4093
|
+
};
|
|
4094
|
+
|
|
4095
|
+
|
|
4096
|
+
/**
|
|
4097
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4098
|
+
* format), writing to the given BinaryWriter.
|
|
4099
|
+
* @param {!proto.gateway.web.v1.RemoveDemoProjectResponse} message
|
|
4100
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4101
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4102
|
+
*/
|
|
4103
|
+
proto.gateway.web.v1.RemoveDemoProjectResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4104
|
+
var f = undefined;
|
|
4105
|
+
f = message.getStatus();
|
|
4106
|
+
if (f != null) {
|
|
4107
|
+
writer.writeMessage(
|
|
4108
|
+
1,
|
|
4109
|
+
f,
|
|
4110
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
4111
|
+
);
|
|
4112
|
+
}
|
|
4113
|
+
};
|
|
4114
|
+
|
|
4115
|
+
|
|
4116
|
+
/**
|
|
4117
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
4118
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
4119
|
+
*/
|
|
4120
|
+
proto.gateway.web.v1.RemoveDemoProjectResponse.prototype.getStatus = function() {
|
|
4121
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
4122
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
4123
|
+
};
|
|
4124
|
+
|
|
4125
|
+
|
|
4126
|
+
/**
|
|
4127
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
4128
|
+
* @return {!proto.gateway.web.v1.RemoveDemoProjectResponse} returns this
|
|
4129
|
+
*/
|
|
4130
|
+
proto.gateway.web.v1.RemoveDemoProjectResponse.prototype.setStatus = function(value) {
|
|
4131
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
4132
|
+
};
|
|
4133
|
+
|
|
4134
|
+
|
|
4135
|
+
/**
|
|
4136
|
+
* Clears the message field making it undefined.
|
|
4137
|
+
* @return {!proto.gateway.web.v1.RemoveDemoProjectResponse} returns this
|
|
4138
|
+
*/
|
|
4139
|
+
proto.gateway.web.v1.RemoveDemoProjectResponse.prototype.clearStatus = function() {
|
|
4140
|
+
return this.setStatus(undefined);
|
|
4141
|
+
};
|
|
4142
|
+
|
|
4143
|
+
|
|
4144
|
+
/**
|
|
4145
|
+
* Returns whether this field is set.
|
|
4146
|
+
* @return {boolean}
|
|
4147
|
+
*/
|
|
4148
|
+
proto.gateway.web.v1.RemoveDemoProjectResponse.prototype.hasStatus = function() {
|
|
4149
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4150
|
+
};
|
|
4151
|
+
|
|
4152
|
+
|
|
4153
|
+
|
|
4154
|
+
|
|
4155
|
+
|
|
4156
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4157
|
+
/**
|
|
4158
|
+
* Creates an object representation of this proto.
|
|
4159
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4160
|
+
* Optional fields that are not set will be set to undefined.
|
|
4161
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4162
|
+
* For the list of reserved names please see:
|
|
4163
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4164
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4165
|
+
* JSPB instance for transitional soy proto support:
|
|
4166
|
+
* http://goto/soy-param-migration
|
|
4167
|
+
* @return {!Object}
|
|
4168
|
+
*/
|
|
4169
|
+
proto.gateway.web.v1.Project.prototype.toObject = function(opt_includeInstance) {
|
|
4170
|
+
return proto.gateway.web.v1.Project.toObject(opt_includeInstance, this);
|
|
4171
|
+
};
|
|
4172
|
+
|
|
4173
|
+
|
|
4174
|
+
/**
|
|
4175
|
+
* Static version of the {@see toObject} method.
|
|
4176
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4177
|
+
* the JSPB instance for transitional soy proto support:
|
|
4178
|
+
* http://goto/soy-param-migration
|
|
4179
|
+
* @param {!proto.gateway.web.v1.Project} msg The msg instance to transform.
|
|
4180
|
+
* @return {!Object}
|
|
4181
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4182
|
+
*/
|
|
4183
|
+
proto.gateway.web.v1.Project.toObject = function(includeInstance, msg) {
|
|
4184
|
+
var f, obj = {
|
|
4185
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4186
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4187
|
+
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4188
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4189
|
+
status: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
4190
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
4191
|
+
updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
4192
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4193
|
+
demo: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
|
|
4194
|
+
};
|
|
4195
|
+
|
|
4196
|
+
if (includeInstance) {
|
|
4197
|
+
obj.$jspbMessageInstance = msg;
|
|
4198
|
+
}
|
|
4199
|
+
return obj;
|
|
4200
|
+
};
|
|
4201
|
+
}
|
|
4202
|
+
|
|
4203
|
+
|
|
4204
|
+
/**
|
|
4205
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4206
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4207
|
+
* @return {!proto.gateway.web.v1.Project}
|
|
4208
|
+
*/
|
|
4209
|
+
proto.gateway.web.v1.Project.deserializeBinary = function(bytes) {
|
|
4210
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4211
|
+
var msg = new proto.gateway.web.v1.Project;
|
|
4212
|
+
return proto.gateway.web.v1.Project.deserializeBinaryFromReader(msg, reader);
|
|
4213
|
+
};
|
|
4214
|
+
|
|
4215
|
+
|
|
4216
|
+
/**
|
|
4217
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4218
|
+
* given reader into the given message object.
|
|
4219
|
+
* @param {!proto.gateway.web.v1.Project} msg The message object to deserialize into.
|
|
4220
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4221
|
+
* @return {!proto.gateway.web.v1.Project}
|
|
4222
|
+
*/
|
|
4223
|
+
proto.gateway.web.v1.Project.deserializeBinaryFromReader = function(msg, reader) {
|
|
4224
|
+
while (reader.nextField()) {
|
|
4225
|
+
if (reader.isEndGroup()) {
|
|
4226
|
+
break;
|
|
4227
|
+
}
|
|
4228
|
+
var field = reader.getFieldNumber();
|
|
4229
|
+
switch (field) {
|
|
4230
|
+
case 1:
|
|
4231
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4232
|
+
msg.setProjectId(value);
|
|
4233
|
+
break;
|
|
4234
|
+
case 2:
|
|
4235
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4236
|
+
msg.setOrganizationId(value);
|
|
4237
|
+
break;
|
|
4238
|
+
case 3:
|
|
4239
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4240
|
+
msg.setName(value);
|
|
4241
|
+
break;
|
|
4242
|
+
case 4:
|
|
4243
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4244
|
+
msg.setDescription(value);
|
|
4245
|
+
break;
|
|
4246
|
+
case 5:
|
|
4247
|
+
var value = /** @type {!proto.gateway.web.v1.ProjectStatus} */ (reader.readEnum());
|
|
4248
|
+
msg.setStatus(value);
|
|
4249
|
+
break;
|
|
4250
|
+
case 6:
|
|
4251
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
4252
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
4253
|
+
msg.setCreatedAt(value);
|
|
4254
|
+
break;
|
|
4255
|
+
case 7:
|
|
4256
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
4257
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
4258
|
+
msg.setUpdatedAt(value);
|
|
4259
|
+
break;
|
|
4260
|
+
case 8:
|
|
4261
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4262
|
+
msg.setCreatedBy(value);
|
|
4263
|
+
break;
|
|
4264
|
+
case 9:
|
|
4265
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4266
|
+
msg.setDemo(value);
|
|
4267
|
+
break;
|
|
4268
|
+
default:
|
|
4269
|
+
reader.skipField();
|
|
4270
|
+
break;
|
|
4271
|
+
}
|
|
4272
|
+
}
|
|
4273
|
+
return msg;
|
|
4274
|
+
};
|
|
4275
|
+
|
|
4276
|
+
|
|
4277
|
+
/**
|
|
4278
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4279
|
+
* @return {!Uint8Array}
|
|
4280
|
+
*/
|
|
4281
|
+
proto.gateway.web.v1.Project.prototype.serializeBinary = function() {
|
|
4282
|
+
var writer = new jspb.BinaryWriter();
|
|
4283
|
+
proto.gateway.web.v1.Project.serializeBinaryToWriter(this, writer);
|
|
4284
|
+
return writer.getResultBuffer();
|
|
4285
|
+
};
|
|
4286
|
+
|
|
4287
|
+
|
|
4288
|
+
/**
|
|
4289
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4290
|
+
* format), writing to the given BinaryWriter.
|
|
4291
|
+
* @param {!proto.gateway.web.v1.Project} message
|
|
4292
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4293
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4294
|
+
*/
|
|
4295
|
+
proto.gateway.web.v1.Project.serializeBinaryToWriter = function(message, writer) {
|
|
4296
|
+
var f = undefined;
|
|
4297
|
+
f = message.getProjectId();
|
|
4298
|
+
if (f.length > 0) {
|
|
4299
|
+
writer.writeString(
|
|
4300
|
+
1,
|
|
4301
|
+
f
|
|
4302
|
+
);
|
|
4303
|
+
}
|
|
4304
|
+
f = message.getOrganizationId();
|
|
4305
|
+
if (f.length > 0) {
|
|
4306
|
+
writer.writeString(
|
|
4307
|
+
2,
|
|
4308
|
+
f
|
|
4309
|
+
);
|
|
4310
|
+
}
|
|
4311
|
+
f = message.getName();
|
|
4312
|
+
if (f.length > 0) {
|
|
4313
|
+
writer.writeString(
|
|
4314
|
+
3,
|
|
4315
|
+
f
|
|
4316
|
+
);
|
|
4317
|
+
}
|
|
4318
|
+
f = message.getDescription();
|
|
4319
|
+
if (f.length > 0) {
|
|
4320
|
+
writer.writeString(
|
|
4321
|
+
4,
|
|
4322
|
+
f
|
|
4323
|
+
);
|
|
4324
|
+
}
|
|
4325
|
+
f = message.getStatus();
|
|
4326
|
+
if (f !== 0.0) {
|
|
4327
|
+
writer.writeEnum(
|
|
4328
|
+
5,
|
|
4329
|
+
f
|
|
4330
|
+
);
|
|
4331
|
+
}
|
|
4332
|
+
f = message.getCreatedAt();
|
|
4333
|
+
if (f != null) {
|
|
4334
|
+
writer.writeMessage(
|
|
4335
|
+
6,
|
|
4336
|
+
f,
|
|
4337
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
4338
|
+
);
|
|
4339
|
+
}
|
|
4340
|
+
f = message.getUpdatedAt();
|
|
4341
|
+
if (f != null) {
|
|
4342
|
+
writer.writeMessage(
|
|
4343
|
+
7,
|
|
4344
|
+
f,
|
|
4345
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
4346
|
+
);
|
|
4347
|
+
}
|
|
4348
|
+
f = message.getCreatedBy();
|
|
4349
|
+
if (f.length > 0) {
|
|
4350
|
+
writer.writeString(
|
|
4351
|
+
8,
|
|
4352
|
+
f
|
|
4353
|
+
);
|
|
4354
|
+
}
|
|
4355
|
+
f = message.getDemo();
|
|
4356
|
+
if (f) {
|
|
4357
|
+
writer.writeBool(
|
|
4358
|
+
9,
|
|
4359
|
+
f
|
|
4360
|
+
);
|
|
4361
|
+
}
|
|
4362
|
+
};
|
|
4363
|
+
|
|
4364
|
+
|
|
4365
|
+
/**
|
|
4366
|
+
* optional string project_id = 1;
|
|
4367
|
+
* @return {string}
|
|
4368
|
+
*/
|
|
4369
|
+
proto.gateway.web.v1.Project.prototype.getProjectId = function() {
|
|
4370
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4371
|
+
};
|
|
4372
|
+
|
|
4373
|
+
|
|
4374
|
+
/**
|
|
4375
|
+
* @param {string} value
|
|
4376
|
+
* @return {!proto.gateway.web.v1.Project} returns this
|
|
4377
|
+
*/
|
|
4378
|
+
proto.gateway.web.v1.Project.prototype.setProjectId = function(value) {
|
|
4379
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4380
|
+
};
|
|
4381
|
+
|
|
4382
|
+
|
|
4383
|
+
/**
|
|
4384
|
+
* optional string organization_id = 2;
|
|
4385
|
+
* @return {string}
|
|
4386
|
+
*/
|
|
4387
|
+
proto.gateway.web.v1.Project.prototype.getOrganizationId = function() {
|
|
4388
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4389
|
+
};
|
|
4390
|
+
|
|
4391
|
+
|
|
4392
|
+
/**
|
|
4393
|
+
* @param {string} value
|
|
4394
|
+
* @return {!proto.gateway.web.v1.Project} returns this
|
|
4395
|
+
*/
|
|
4396
|
+
proto.gateway.web.v1.Project.prototype.setOrganizationId = function(value) {
|
|
4397
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4398
|
+
};
|
|
4399
|
+
|
|
4400
|
+
|
|
4401
|
+
/**
|
|
4402
|
+
* optional string name = 3;
|
|
4403
|
+
* @return {string}
|
|
4404
|
+
*/
|
|
4405
|
+
proto.gateway.web.v1.Project.prototype.getName = function() {
|
|
4406
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4407
|
+
};
|
|
4408
|
+
|
|
4409
|
+
|
|
4410
|
+
/**
|
|
4411
|
+
* @param {string} value
|
|
4412
|
+
* @return {!proto.gateway.web.v1.Project} returns this
|
|
4413
|
+
*/
|
|
4414
|
+
proto.gateway.web.v1.Project.prototype.setName = function(value) {
|
|
4415
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4416
|
+
};
|
|
4417
|
+
|
|
4418
|
+
|
|
4419
|
+
/**
|
|
4420
|
+
* optional string description = 4;
|
|
4421
|
+
* @return {string}
|
|
4422
|
+
*/
|
|
4423
|
+
proto.gateway.web.v1.Project.prototype.getDescription = function() {
|
|
4424
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4425
|
+
};
|
|
4426
|
+
|
|
4427
|
+
|
|
4428
|
+
/**
|
|
4429
|
+
* @param {string} value
|
|
4430
|
+
* @return {!proto.gateway.web.v1.Project} returns this
|
|
4431
|
+
*/
|
|
4432
|
+
proto.gateway.web.v1.Project.prototype.setDescription = function(value) {
|
|
4433
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4434
|
+
};
|
|
4435
|
+
|
|
4436
|
+
|
|
4437
|
+
/**
|
|
4438
|
+
* optional ProjectStatus status = 5;
|
|
4439
|
+
* @return {!proto.gateway.web.v1.ProjectStatus}
|
|
4440
|
+
*/
|
|
4441
|
+
proto.gateway.web.v1.Project.prototype.getStatus = function() {
|
|
4442
|
+
return /** @type {!proto.gateway.web.v1.ProjectStatus} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
4443
|
+
};
|
|
4444
|
+
|
|
3732
4445
|
|
|
3733
4446
|
/**
|
|
3734
4447
|
* @param {!proto.gateway.web.v1.ProjectStatus} value
|
|
@@ -3831,6 +4544,24 @@ proto.gateway.web.v1.Project.prototype.setCreatedBy = function(value) {
|
|
|
3831
4544
|
};
|
|
3832
4545
|
|
|
3833
4546
|
|
|
4547
|
+
/**
|
|
4548
|
+
* optional bool demo = 9;
|
|
4549
|
+
* @return {boolean}
|
|
4550
|
+
*/
|
|
4551
|
+
proto.gateway.web.v1.Project.prototype.getDemo = function() {
|
|
4552
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
|
|
4553
|
+
};
|
|
4554
|
+
|
|
4555
|
+
|
|
4556
|
+
/**
|
|
4557
|
+
* @param {boolean} value
|
|
4558
|
+
* @return {!proto.gateway.web.v1.Project} returns this
|
|
4559
|
+
*/
|
|
4560
|
+
proto.gateway.web.v1.Project.prototype.setDemo = function(value) {
|
|
4561
|
+
return jspb.Message.setProto3BooleanField(this, 9, value);
|
|
4562
|
+
};
|
|
4563
|
+
|
|
4564
|
+
|
|
3834
4565
|
|
|
3835
4566
|
/**
|
|
3836
4567
|
* List of repeated fields within this message type.
|