@miradorlabs/web-grpc 4.3.0 → 4.5.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.
- package/package.json +1 -1
- package/proto/gateway/web/v1/account_gateway.ts +892 -69
- package/proto/gateway/web/v1/account_gateway_grpc_pb.js +101 -0
- package/proto/gateway/web/v1/account_gateway_pb.js +1438 -46
- package/proto/gateway/web/v1/ai_gateway.ts +7893 -4902
- package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +181 -0
- package/proto/gateway/web/v1/ai_gateway_pb.js +13497 -8062
|
@@ -23,6 +23,8 @@ var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/commo
|
|
|
23
23
|
goog.object.extend(proto, proto_gateway_common_v1_status_pb);
|
|
24
24
|
goog.exportSymbol('proto.gateway.web.v1.AddDemoProjectRequest', null, global);
|
|
25
25
|
goog.exportSymbol('proto.gateway.web.v1.AddDemoProjectResponse', null, global);
|
|
26
|
+
goog.exportSymbol('proto.gateway.web.v1.ApproveMcpAuthorizationRequest', null, global);
|
|
27
|
+
goog.exportSymbol('proto.gateway.web.v1.ApproveMcpAuthorizationResponse', null, global);
|
|
26
28
|
goog.exportSymbol('proto.gateway.web.v1.AuthorizeCliLoginRequest', null, global);
|
|
27
29
|
goog.exportSymbol('proto.gateway.web.v1.AuthorizeCliLoginResponse', null, global);
|
|
28
30
|
goog.exportSymbol('proto.gateway.web.v1.CliSession', null, global);
|
|
@@ -40,6 +42,10 @@ goog.exportSymbol('proto.gateway.web.v1.DeleteServerApiKeyRequest', null, global
|
|
|
40
42
|
goog.exportSymbol('proto.gateway.web.v1.DeleteServerApiKeyResponse', null, global);
|
|
41
43
|
goog.exportSymbol('proto.gateway.web.v1.DeleteWebApiKeyRequest', null, global);
|
|
42
44
|
goog.exportSymbol('proto.gateway.web.v1.DeleteWebApiKeyResponse', null, global);
|
|
45
|
+
goog.exportSymbol('proto.gateway.web.v1.DenyMcpAuthorizationRequest', null, global);
|
|
46
|
+
goog.exportSymbol('proto.gateway.web.v1.DenyMcpAuthorizationResponse', null, global);
|
|
47
|
+
goog.exportSymbol('proto.gateway.web.v1.GetMcpAuthorizationRequestRequest', null, global);
|
|
48
|
+
goog.exportSymbol('proto.gateway.web.v1.GetMcpAuthorizationRequestResponse', null, global);
|
|
43
49
|
goog.exportSymbol('proto.gateway.web.v1.GetProductFeaturesRequest', null, global);
|
|
44
50
|
goog.exportSymbol('proto.gateway.web.v1.GetProductFeaturesResponse', null, global);
|
|
45
51
|
goog.exportSymbol('proto.gateway.web.v1.Invitation', null, global);
|
|
@@ -60,6 +66,7 @@ goog.exportSymbol('proto.gateway.web.v1.ListWebApiKeysRequest', null, global);
|
|
|
60
66
|
goog.exportSymbol('proto.gateway.web.v1.ListWebApiKeysResponse', null, global);
|
|
61
67
|
goog.exportSymbol('proto.gateway.web.v1.LogonRequest', null, global);
|
|
62
68
|
goog.exportSymbol('proto.gateway.web.v1.LogonResponse', null, global);
|
|
69
|
+
goog.exportSymbol('proto.gateway.web.v1.McpClientKind', null, global);
|
|
63
70
|
goog.exportSymbol('proto.gateway.web.v1.OnboardingStatus', null, global);
|
|
64
71
|
goog.exportSymbol('proto.gateway.web.v1.Organization', null, global);
|
|
65
72
|
goog.exportSymbol('proto.gateway.web.v1.OrganizationStatus', null, global);
|
|
@@ -1727,6 +1734,132 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1727
1734
|
*/
|
|
1728
1735
|
proto.gateway.web.v1.RevokeCliSessionResponse.displayName = 'proto.gateway.web.v1.RevokeCliSessionResponse';
|
|
1729
1736
|
}
|
|
1737
|
+
/**
|
|
1738
|
+
* Generated by JsPbCodeGenerator.
|
|
1739
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1740
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1741
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1742
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1743
|
+
* valid.
|
|
1744
|
+
* @extends {jspb.Message}
|
|
1745
|
+
* @constructor
|
|
1746
|
+
*/
|
|
1747
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestRequest = function(opt_data) {
|
|
1748
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1749
|
+
};
|
|
1750
|
+
goog.inherits(proto.gateway.web.v1.GetMcpAuthorizationRequestRequest, jspb.Message);
|
|
1751
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1752
|
+
/**
|
|
1753
|
+
* @public
|
|
1754
|
+
* @override
|
|
1755
|
+
*/
|
|
1756
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestRequest.displayName = 'proto.gateway.web.v1.GetMcpAuthorizationRequestRequest';
|
|
1757
|
+
}
|
|
1758
|
+
/**
|
|
1759
|
+
* Generated by JsPbCodeGenerator.
|
|
1760
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1761
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1762
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1763
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1764
|
+
* valid.
|
|
1765
|
+
* @extends {jspb.Message}
|
|
1766
|
+
* @constructor
|
|
1767
|
+
*/
|
|
1768
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse = function(opt_data) {
|
|
1769
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.repeatedFields_, null);
|
|
1770
|
+
};
|
|
1771
|
+
goog.inherits(proto.gateway.web.v1.GetMcpAuthorizationRequestResponse, jspb.Message);
|
|
1772
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1773
|
+
/**
|
|
1774
|
+
* @public
|
|
1775
|
+
* @override
|
|
1776
|
+
*/
|
|
1777
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.displayName = 'proto.gateway.web.v1.GetMcpAuthorizationRequestResponse';
|
|
1778
|
+
}
|
|
1779
|
+
/**
|
|
1780
|
+
* Generated by JsPbCodeGenerator.
|
|
1781
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1782
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1783
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1784
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1785
|
+
* valid.
|
|
1786
|
+
* @extends {jspb.Message}
|
|
1787
|
+
* @constructor
|
|
1788
|
+
*/
|
|
1789
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationRequest = function(opt_data) {
|
|
1790
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1791
|
+
};
|
|
1792
|
+
goog.inherits(proto.gateway.web.v1.ApproveMcpAuthorizationRequest, jspb.Message);
|
|
1793
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1794
|
+
/**
|
|
1795
|
+
* @public
|
|
1796
|
+
* @override
|
|
1797
|
+
*/
|
|
1798
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationRequest.displayName = 'proto.gateway.web.v1.ApproveMcpAuthorizationRequest';
|
|
1799
|
+
}
|
|
1800
|
+
/**
|
|
1801
|
+
* Generated by JsPbCodeGenerator.
|
|
1802
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1803
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1804
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1805
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1806
|
+
* valid.
|
|
1807
|
+
* @extends {jspb.Message}
|
|
1808
|
+
* @constructor
|
|
1809
|
+
*/
|
|
1810
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationResponse = function(opt_data) {
|
|
1811
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1812
|
+
};
|
|
1813
|
+
goog.inherits(proto.gateway.web.v1.ApproveMcpAuthorizationResponse, jspb.Message);
|
|
1814
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1815
|
+
/**
|
|
1816
|
+
* @public
|
|
1817
|
+
* @override
|
|
1818
|
+
*/
|
|
1819
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationResponse.displayName = 'proto.gateway.web.v1.ApproveMcpAuthorizationResponse';
|
|
1820
|
+
}
|
|
1821
|
+
/**
|
|
1822
|
+
* Generated by JsPbCodeGenerator.
|
|
1823
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1824
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1825
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1826
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1827
|
+
* valid.
|
|
1828
|
+
* @extends {jspb.Message}
|
|
1829
|
+
* @constructor
|
|
1830
|
+
*/
|
|
1831
|
+
proto.gateway.web.v1.DenyMcpAuthorizationRequest = function(opt_data) {
|
|
1832
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1833
|
+
};
|
|
1834
|
+
goog.inherits(proto.gateway.web.v1.DenyMcpAuthorizationRequest, jspb.Message);
|
|
1835
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1836
|
+
/**
|
|
1837
|
+
* @public
|
|
1838
|
+
* @override
|
|
1839
|
+
*/
|
|
1840
|
+
proto.gateway.web.v1.DenyMcpAuthorizationRequest.displayName = 'proto.gateway.web.v1.DenyMcpAuthorizationRequest';
|
|
1841
|
+
}
|
|
1842
|
+
/**
|
|
1843
|
+
* Generated by JsPbCodeGenerator.
|
|
1844
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1845
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1846
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1847
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1848
|
+
* valid.
|
|
1849
|
+
* @extends {jspb.Message}
|
|
1850
|
+
* @constructor
|
|
1851
|
+
*/
|
|
1852
|
+
proto.gateway.web.v1.DenyMcpAuthorizationResponse = function(opt_data) {
|
|
1853
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1854
|
+
};
|
|
1855
|
+
goog.inherits(proto.gateway.web.v1.DenyMcpAuthorizationResponse, jspb.Message);
|
|
1856
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1857
|
+
/**
|
|
1858
|
+
* @public
|
|
1859
|
+
* @override
|
|
1860
|
+
*/
|
|
1861
|
+
proto.gateway.web.v1.DenyMcpAuthorizationResponse.displayName = 'proto.gateway.web.v1.DenyMcpAuthorizationResponse';
|
|
1862
|
+
}
|
|
1730
1863
|
/**
|
|
1731
1864
|
* Generated by JsPbCodeGenerator.
|
|
1732
1865
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -18050,8 +18183,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
18050
18183
|
* http://goto/soy-param-migration
|
|
18051
18184
|
* @return {!Object}
|
|
18052
18185
|
*/
|
|
18053
|
-
proto.gateway.web.v1.
|
|
18054
|
-
return proto.gateway.web.v1.
|
|
18186
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestRequest.prototype.toObject = function(opt_includeInstance) {
|
|
18187
|
+
return proto.gateway.web.v1.GetMcpAuthorizationRequestRequest.toObject(opt_includeInstance, this);
|
|
18055
18188
|
};
|
|
18056
18189
|
|
|
18057
18190
|
|
|
@@ -18060,13 +18193,13 @@ proto.gateway.web.v1.ProductFeatures.prototype.toObject = function(opt_includeIn
|
|
|
18060
18193
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18061
18194
|
* the JSPB instance for transitional soy proto support:
|
|
18062
18195
|
* http://goto/soy-param-migration
|
|
18063
|
-
* @param {!proto.gateway.web.v1.
|
|
18196
|
+
* @param {!proto.gateway.web.v1.GetMcpAuthorizationRequestRequest} msg The msg instance to transform.
|
|
18064
18197
|
* @return {!Object}
|
|
18065
18198
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18066
18199
|
*/
|
|
18067
|
-
proto.gateway.web.v1.
|
|
18200
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestRequest.toObject = function(includeInstance, msg) {
|
|
18068
18201
|
var f, obj = {
|
|
18069
|
-
|
|
18202
|
+
requestId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
18070
18203
|
};
|
|
18071
18204
|
|
|
18072
18205
|
if (includeInstance) {
|
|
@@ -18080,23 +18213,23 @@ betaInviteEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
|
18080
18213
|
/**
|
|
18081
18214
|
* Deserializes binary data (in protobuf wire format).
|
|
18082
18215
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
18083
|
-
* @return {!proto.gateway.web.v1.
|
|
18216
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestRequest}
|
|
18084
18217
|
*/
|
|
18085
|
-
proto.gateway.web.v1.
|
|
18218
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestRequest.deserializeBinary = function(bytes) {
|
|
18086
18219
|
var reader = new jspb.BinaryReader(bytes);
|
|
18087
|
-
var msg = new proto.gateway.web.v1.
|
|
18088
|
-
return proto.gateway.web.v1.
|
|
18220
|
+
var msg = new proto.gateway.web.v1.GetMcpAuthorizationRequestRequest;
|
|
18221
|
+
return proto.gateway.web.v1.GetMcpAuthorizationRequestRequest.deserializeBinaryFromReader(msg, reader);
|
|
18089
18222
|
};
|
|
18090
18223
|
|
|
18091
18224
|
|
|
18092
18225
|
/**
|
|
18093
18226
|
* Deserializes binary data (in protobuf wire format) from the
|
|
18094
18227
|
* given reader into the given message object.
|
|
18095
|
-
* @param {!proto.gateway.web.v1.
|
|
18228
|
+
* @param {!proto.gateway.web.v1.GetMcpAuthorizationRequestRequest} msg The message object to deserialize into.
|
|
18096
18229
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18097
|
-
* @return {!proto.gateway.web.v1.
|
|
18230
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestRequest}
|
|
18098
18231
|
*/
|
|
18099
|
-
proto.gateway.web.v1.
|
|
18232
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
18100
18233
|
while (reader.nextField()) {
|
|
18101
18234
|
if (reader.isEndGroup()) {
|
|
18102
18235
|
break;
|
|
@@ -18104,8 +18237,8 @@ proto.gateway.web.v1.ProductFeatures.deserializeBinaryFromReader = function(msg,
|
|
|
18104
18237
|
var field = reader.getFieldNumber();
|
|
18105
18238
|
switch (field) {
|
|
18106
18239
|
case 1:
|
|
18107
|
-
var value = /** @type {
|
|
18108
|
-
msg.
|
|
18240
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
18241
|
+
msg.setRequestId(value);
|
|
18109
18242
|
break;
|
|
18110
18243
|
default:
|
|
18111
18244
|
reader.skipField();
|
|
@@ -18120,9 +18253,9 @@ proto.gateway.web.v1.ProductFeatures.deserializeBinaryFromReader = function(msg,
|
|
|
18120
18253
|
* Serializes the message to binary data (in protobuf wire format).
|
|
18121
18254
|
* @return {!Uint8Array}
|
|
18122
18255
|
*/
|
|
18123
|
-
proto.gateway.web.v1.
|
|
18256
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestRequest.prototype.serializeBinary = function() {
|
|
18124
18257
|
var writer = new jspb.BinaryWriter();
|
|
18125
|
-
proto.gateway.web.v1.
|
|
18258
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestRequest.serializeBinaryToWriter(this, writer);
|
|
18126
18259
|
return writer.getResultBuffer();
|
|
18127
18260
|
};
|
|
18128
18261
|
|
|
@@ -18130,15 +18263,15 @@ proto.gateway.web.v1.ProductFeatures.prototype.serializeBinary = function() {
|
|
|
18130
18263
|
/**
|
|
18131
18264
|
* Serializes the given message to binary data (in protobuf wire
|
|
18132
18265
|
* format), writing to the given BinaryWriter.
|
|
18133
|
-
* @param {!proto.gateway.web.v1.
|
|
18266
|
+
* @param {!proto.gateway.web.v1.GetMcpAuthorizationRequestRequest} message
|
|
18134
18267
|
* @param {!jspb.BinaryWriter} writer
|
|
18135
18268
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18136
18269
|
*/
|
|
18137
|
-
proto.gateway.web.v1.
|
|
18270
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestRequest.serializeBinaryToWriter = function(message, writer) {
|
|
18138
18271
|
var f = undefined;
|
|
18139
|
-
f = message.
|
|
18140
|
-
if (f) {
|
|
18141
|
-
writer.
|
|
18272
|
+
f = message.getRequestId();
|
|
18273
|
+
if (f.length > 0) {
|
|
18274
|
+
writer.writeString(
|
|
18142
18275
|
1,
|
|
18143
18276
|
f
|
|
18144
18277
|
);
|
|
@@ -18147,24 +18280,31 @@ proto.gateway.web.v1.ProductFeatures.serializeBinaryToWriter = function(message,
|
|
|
18147
18280
|
|
|
18148
18281
|
|
|
18149
18282
|
/**
|
|
18150
|
-
* optional
|
|
18151
|
-
* @return {
|
|
18283
|
+
* optional string request_id = 1;
|
|
18284
|
+
* @return {string}
|
|
18152
18285
|
*/
|
|
18153
|
-
proto.gateway.web.v1.
|
|
18154
|
-
return /** @type {
|
|
18286
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestRequest.prototype.getRequestId = function() {
|
|
18287
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
18155
18288
|
};
|
|
18156
18289
|
|
|
18157
18290
|
|
|
18158
18291
|
/**
|
|
18159
|
-
* @param {
|
|
18160
|
-
* @return {!proto.gateway.web.v1.
|
|
18292
|
+
* @param {string} value
|
|
18293
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestRequest} returns this
|
|
18161
18294
|
*/
|
|
18162
|
-
proto.gateway.web.v1.
|
|
18163
|
-
return jspb.Message.
|
|
18295
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestRequest.prototype.setRequestId = function(value) {
|
|
18296
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
18164
18297
|
};
|
|
18165
18298
|
|
|
18166
18299
|
|
|
18167
18300
|
|
|
18301
|
+
/**
|
|
18302
|
+
* List of repeated fields within this message type.
|
|
18303
|
+
* @private {!Array<number>}
|
|
18304
|
+
* @const
|
|
18305
|
+
*/
|
|
18306
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.repeatedFields_ = [7];
|
|
18307
|
+
|
|
18168
18308
|
|
|
18169
18309
|
|
|
18170
18310
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -18180,8 +18320,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
18180
18320
|
* http://goto/soy-param-migration
|
|
18181
18321
|
* @return {!Object}
|
|
18182
18322
|
*/
|
|
18183
|
-
proto.gateway.web.v1.
|
|
18184
|
-
return proto.gateway.web.v1.
|
|
18323
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.toObject = function(opt_includeInstance) {
|
|
18324
|
+
return proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.toObject(opt_includeInstance, this);
|
|
18185
18325
|
};
|
|
18186
18326
|
|
|
18187
18327
|
|
|
@@ -18190,13 +18330,21 @@ proto.gateway.web.v1.GetProductFeaturesRequest.prototype.toObject = function(opt
|
|
|
18190
18330
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18191
18331
|
* the JSPB instance for transitional soy proto support:
|
|
18192
18332
|
* http://goto/soy-param-migration
|
|
18193
|
-
* @param {!proto.gateway.web.v1.
|
|
18333
|
+
* @param {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} msg The msg instance to transform.
|
|
18194
18334
|
* @return {!Object}
|
|
18195
18335
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18196
18336
|
*/
|
|
18197
|
-
proto.gateway.web.v1.
|
|
18337
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.toObject = function(includeInstance, msg) {
|
|
18198
18338
|
var f, obj = {
|
|
18199
|
-
|
|
18339
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
18340
|
+
clientKind: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
18341
|
+
clientName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
18342
|
+
clientHost: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
18343
|
+
redirectOrigin: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
18344
|
+
redirectIsNative: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
18345
|
+
scopesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
18346
|
+
resource: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
18347
|
+
expiresAt: (f = msg.getExpiresAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
18200
18348
|
};
|
|
18201
18349
|
|
|
18202
18350
|
if (includeInstance) {
|
|
@@ -18210,29 +18358,67 @@ proto.gateway.web.v1.GetProductFeaturesRequest.toObject = function(includeInstan
|
|
|
18210
18358
|
/**
|
|
18211
18359
|
* Deserializes binary data (in protobuf wire format).
|
|
18212
18360
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
18213
|
-
* @return {!proto.gateway.web.v1.
|
|
18361
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse}
|
|
18214
18362
|
*/
|
|
18215
|
-
proto.gateway.web.v1.
|
|
18363
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.deserializeBinary = function(bytes) {
|
|
18216
18364
|
var reader = new jspb.BinaryReader(bytes);
|
|
18217
|
-
var msg = new proto.gateway.web.v1.
|
|
18218
|
-
return proto.gateway.web.v1.
|
|
18365
|
+
var msg = new proto.gateway.web.v1.GetMcpAuthorizationRequestResponse;
|
|
18366
|
+
return proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.deserializeBinaryFromReader(msg, reader);
|
|
18219
18367
|
};
|
|
18220
18368
|
|
|
18221
18369
|
|
|
18222
18370
|
/**
|
|
18223
18371
|
* Deserializes binary data (in protobuf wire format) from the
|
|
18224
18372
|
* given reader into the given message object.
|
|
18225
|
-
* @param {!proto.gateway.web.v1.
|
|
18373
|
+
* @param {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} msg The message object to deserialize into.
|
|
18226
18374
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18227
|
-
* @return {!proto.gateway.web.v1.
|
|
18375
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse}
|
|
18228
18376
|
*/
|
|
18229
|
-
proto.gateway.web.v1.
|
|
18377
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
18230
18378
|
while (reader.nextField()) {
|
|
18231
18379
|
if (reader.isEndGroup()) {
|
|
18232
18380
|
break;
|
|
18233
18381
|
}
|
|
18234
18382
|
var field = reader.getFieldNumber();
|
|
18235
18383
|
switch (field) {
|
|
18384
|
+
case 1:
|
|
18385
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
18386
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
18387
|
+
msg.setStatus(value);
|
|
18388
|
+
break;
|
|
18389
|
+
case 2:
|
|
18390
|
+
var value = /** @type {!proto.gateway.web.v1.McpClientKind} */ (reader.readEnum());
|
|
18391
|
+
msg.setClientKind(value);
|
|
18392
|
+
break;
|
|
18393
|
+
case 3:
|
|
18394
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
18395
|
+
msg.setClientName(value);
|
|
18396
|
+
break;
|
|
18397
|
+
case 4:
|
|
18398
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
18399
|
+
msg.setClientHost(value);
|
|
18400
|
+
break;
|
|
18401
|
+
case 5:
|
|
18402
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
18403
|
+
msg.setRedirectOrigin(value);
|
|
18404
|
+
break;
|
|
18405
|
+
case 6:
|
|
18406
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
18407
|
+
msg.setRedirectIsNative(value);
|
|
18408
|
+
break;
|
|
18409
|
+
case 7:
|
|
18410
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
18411
|
+
msg.addScopes(value);
|
|
18412
|
+
break;
|
|
18413
|
+
case 8:
|
|
18414
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
18415
|
+
msg.setResource(value);
|
|
18416
|
+
break;
|
|
18417
|
+
case 9:
|
|
18418
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
18419
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
18420
|
+
msg.setExpiresAt(value);
|
|
18421
|
+
break;
|
|
18236
18422
|
default:
|
|
18237
18423
|
reader.skipField();
|
|
18238
18424
|
break;
|
|
@@ -18246,9 +18432,9 @@ proto.gateway.web.v1.GetProductFeaturesRequest.deserializeBinaryFromReader = fun
|
|
|
18246
18432
|
* Serializes the message to binary data (in protobuf wire format).
|
|
18247
18433
|
* @return {!Uint8Array}
|
|
18248
18434
|
*/
|
|
18249
|
-
proto.gateway.web.v1.
|
|
18435
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.serializeBinary = function() {
|
|
18250
18436
|
var writer = new jspb.BinaryWriter();
|
|
18251
|
-
proto.gateway.web.v1.
|
|
18437
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.serializeBinaryToWriter(this, writer);
|
|
18252
18438
|
return writer.getResultBuffer();
|
|
18253
18439
|
};
|
|
18254
18440
|
|
|
@@ -18256,18 +18442,1215 @@ proto.gateway.web.v1.GetProductFeaturesRequest.prototype.serializeBinary = funct
|
|
|
18256
18442
|
/**
|
|
18257
18443
|
* Serializes the given message to binary data (in protobuf wire
|
|
18258
18444
|
* format), writing to the given BinaryWriter.
|
|
18259
|
-
* @param {!proto.gateway.web.v1.
|
|
18445
|
+
* @param {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} message
|
|
18260
18446
|
* @param {!jspb.BinaryWriter} writer
|
|
18261
18447
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18262
18448
|
*/
|
|
18263
|
-
proto.gateway.web.v1.
|
|
18449
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.serializeBinaryToWriter = function(message, writer) {
|
|
18264
18450
|
var f = undefined;
|
|
18451
|
+
f = message.getStatus();
|
|
18452
|
+
if (f != null) {
|
|
18453
|
+
writer.writeMessage(
|
|
18454
|
+
1,
|
|
18455
|
+
f,
|
|
18456
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
18457
|
+
);
|
|
18458
|
+
}
|
|
18459
|
+
f = message.getClientKind();
|
|
18460
|
+
if (f !== 0.0) {
|
|
18461
|
+
writer.writeEnum(
|
|
18462
|
+
2,
|
|
18463
|
+
f
|
|
18464
|
+
);
|
|
18465
|
+
}
|
|
18466
|
+
f = message.getClientName();
|
|
18467
|
+
if (f.length > 0) {
|
|
18468
|
+
writer.writeString(
|
|
18469
|
+
3,
|
|
18470
|
+
f
|
|
18471
|
+
);
|
|
18472
|
+
}
|
|
18473
|
+
f = message.getClientHost();
|
|
18474
|
+
if (f.length > 0) {
|
|
18475
|
+
writer.writeString(
|
|
18476
|
+
4,
|
|
18477
|
+
f
|
|
18478
|
+
);
|
|
18479
|
+
}
|
|
18480
|
+
f = message.getRedirectOrigin();
|
|
18481
|
+
if (f.length > 0) {
|
|
18482
|
+
writer.writeString(
|
|
18483
|
+
5,
|
|
18484
|
+
f
|
|
18485
|
+
);
|
|
18486
|
+
}
|
|
18487
|
+
f = message.getRedirectIsNative();
|
|
18488
|
+
if (f) {
|
|
18489
|
+
writer.writeBool(
|
|
18490
|
+
6,
|
|
18491
|
+
f
|
|
18492
|
+
);
|
|
18493
|
+
}
|
|
18494
|
+
f = message.getScopesList();
|
|
18495
|
+
if (f.length > 0) {
|
|
18496
|
+
writer.writeRepeatedString(
|
|
18497
|
+
7,
|
|
18498
|
+
f
|
|
18499
|
+
);
|
|
18500
|
+
}
|
|
18501
|
+
f = message.getResource();
|
|
18502
|
+
if (f.length > 0) {
|
|
18503
|
+
writer.writeString(
|
|
18504
|
+
8,
|
|
18505
|
+
f
|
|
18506
|
+
);
|
|
18507
|
+
}
|
|
18508
|
+
f = message.getExpiresAt();
|
|
18509
|
+
if (f != null) {
|
|
18510
|
+
writer.writeMessage(
|
|
18511
|
+
9,
|
|
18512
|
+
f,
|
|
18513
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
18514
|
+
);
|
|
18515
|
+
}
|
|
18265
18516
|
};
|
|
18266
18517
|
|
|
18267
18518
|
|
|
18519
|
+
/**
|
|
18520
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
18521
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
18522
|
+
*/
|
|
18523
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.getStatus = function() {
|
|
18524
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
18525
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
18526
|
+
};
|
|
18527
|
+
|
|
18528
|
+
|
|
18529
|
+
/**
|
|
18530
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
18531
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} returns this
|
|
18532
|
+
*/
|
|
18533
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.setStatus = function(value) {
|
|
18534
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
18535
|
+
};
|
|
18536
|
+
|
|
18537
|
+
|
|
18538
|
+
/**
|
|
18539
|
+
* Clears the message field making it undefined.
|
|
18540
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} returns this
|
|
18541
|
+
*/
|
|
18542
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.clearStatus = function() {
|
|
18543
|
+
return this.setStatus(undefined);
|
|
18544
|
+
};
|
|
18545
|
+
|
|
18546
|
+
|
|
18547
|
+
/**
|
|
18548
|
+
* Returns whether this field is set.
|
|
18549
|
+
* @return {boolean}
|
|
18550
|
+
*/
|
|
18551
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.hasStatus = function() {
|
|
18552
|
+
return jspb.Message.getField(this, 1) != null;
|
|
18553
|
+
};
|
|
18554
|
+
|
|
18555
|
+
|
|
18556
|
+
/**
|
|
18557
|
+
* optional McpClientKind client_kind = 2;
|
|
18558
|
+
* @return {!proto.gateway.web.v1.McpClientKind}
|
|
18559
|
+
*/
|
|
18560
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.getClientKind = function() {
|
|
18561
|
+
return /** @type {!proto.gateway.web.v1.McpClientKind} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
18562
|
+
};
|
|
18563
|
+
|
|
18564
|
+
|
|
18565
|
+
/**
|
|
18566
|
+
* @param {!proto.gateway.web.v1.McpClientKind} value
|
|
18567
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} returns this
|
|
18568
|
+
*/
|
|
18569
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.setClientKind = function(value) {
|
|
18570
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
18571
|
+
};
|
|
18572
|
+
|
|
18573
|
+
|
|
18574
|
+
/**
|
|
18575
|
+
* optional string client_name = 3;
|
|
18576
|
+
* @return {string}
|
|
18577
|
+
*/
|
|
18578
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.getClientName = function() {
|
|
18579
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
18580
|
+
};
|
|
18581
|
+
|
|
18582
|
+
|
|
18583
|
+
/**
|
|
18584
|
+
* @param {string} value
|
|
18585
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} returns this
|
|
18586
|
+
*/
|
|
18587
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.setClientName = function(value) {
|
|
18588
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
18589
|
+
};
|
|
18590
|
+
|
|
18591
|
+
|
|
18592
|
+
/**
|
|
18593
|
+
* optional string client_host = 4;
|
|
18594
|
+
* @return {string}
|
|
18595
|
+
*/
|
|
18596
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.getClientHost = function() {
|
|
18597
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
18598
|
+
};
|
|
18599
|
+
|
|
18600
|
+
|
|
18601
|
+
/**
|
|
18602
|
+
* @param {string} value
|
|
18603
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} returns this
|
|
18604
|
+
*/
|
|
18605
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.setClientHost = function(value) {
|
|
18606
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
18607
|
+
};
|
|
18608
|
+
|
|
18609
|
+
|
|
18610
|
+
/**
|
|
18611
|
+
* optional string redirect_origin = 5;
|
|
18612
|
+
* @return {string}
|
|
18613
|
+
*/
|
|
18614
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.getRedirectOrigin = function() {
|
|
18615
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
18616
|
+
};
|
|
18617
|
+
|
|
18618
|
+
|
|
18619
|
+
/**
|
|
18620
|
+
* @param {string} value
|
|
18621
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} returns this
|
|
18622
|
+
*/
|
|
18623
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.setRedirectOrigin = function(value) {
|
|
18624
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
18625
|
+
};
|
|
18626
|
+
|
|
18627
|
+
|
|
18628
|
+
/**
|
|
18629
|
+
* optional bool redirect_is_native = 6;
|
|
18630
|
+
* @return {boolean}
|
|
18631
|
+
*/
|
|
18632
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.getRedirectIsNative = function() {
|
|
18633
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
18634
|
+
};
|
|
18635
|
+
|
|
18636
|
+
|
|
18637
|
+
/**
|
|
18638
|
+
* @param {boolean} value
|
|
18639
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} returns this
|
|
18640
|
+
*/
|
|
18641
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.setRedirectIsNative = function(value) {
|
|
18642
|
+
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
18643
|
+
};
|
|
18644
|
+
|
|
18645
|
+
|
|
18646
|
+
/**
|
|
18647
|
+
* repeated string scopes = 7;
|
|
18648
|
+
* @return {!Array<string>}
|
|
18649
|
+
*/
|
|
18650
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.getScopesList = function() {
|
|
18651
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
|
|
18652
|
+
};
|
|
18653
|
+
|
|
18654
|
+
|
|
18655
|
+
/**
|
|
18656
|
+
* @param {!Array<string>} value
|
|
18657
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} returns this
|
|
18658
|
+
*/
|
|
18659
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.setScopesList = function(value) {
|
|
18660
|
+
return jspb.Message.setField(this, 7, value || []);
|
|
18661
|
+
};
|
|
18662
|
+
|
|
18663
|
+
|
|
18664
|
+
/**
|
|
18665
|
+
* @param {string} value
|
|
18666
|
+
* @param {number=} opt_index
|
|
18667
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} returns this
|
|
18668
|
+
*/
|
|
18669
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.addScopes = function(value, opt_index) {
|
|
18670
|
+
return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
|
|
18671
|
+
};
|
|
18672
|
+
|
|
18673
|
+
|
|
18674
|
+
/**
|
|
18675
|
+
* Clears the list making it empty but non-null.
|
|
18676
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} returns this
|
|
18677
|
+
*/
|
|
18678
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.clearScopesList = function() {
|
|
18679
|
+
return this.setScopesList([]);
|
|
18680
|
+
};
|
|
18681
|
+
|
|
18682
|
+
|
|
18683
|
+
/**
|
|
18684
|
+
* optional string resource = 8;
|
|
18685
|
+
* @return {string}
|
|
18686
|
+
*/
|
|
18687
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.getResource = function() {
|
|
18688
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
18689
|
+
};
|
|
18690
|
+
|
|
18691
|
+
|
|
18692
|
+
/**
|
|
18693
|
+
* @param {string} value
|
|
18694
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} returns this
|
|
18695
|
+
*/
|
|
18696
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.setResource = function(value) {
|
|
18697
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
18698
|
+
};
|
|
18699
|
+
|
|
18700
|
+
|
|
18701
|
+
/**
|
|
18702
|
+
* optional google.protobuf.Timestamp expires_at = 9;
|
|
18703
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
18704
|
+
*/
|
|
18705
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.getExpiresAt = function() {
|
|
18706
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
18707
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 9));
|
|
18708
|
+
};
|
|
18709
|
+
|
|
18710
|
+
|
|
18711
|
+
/**
|
|
18712
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
18713
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} returns this
|
|
18714
|
+
*/
|
|
18715
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.setExpiresAt = function(value) {
|
|
18716
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
18717
|
+
};
|
|
18718
|
+
|
|
18719
|
+
|
|
18720
|
+
/**
|
|
18721
|
+
* Clears the message field making it undefined.
|
|
18722
|
+
* @return {!proto.gateway.web.v1.GetMcpAuthorizationRequestResponse} returns this
|
|
18723
|
+
*/
|
|
18724
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.clearExpiresAt = function() {
|
|
18725
|
+
return this.setExpiresAt(undefined);
|
|
18726
|
+
};
|
|
18727
|
+
|
|
18728
|
+
|
|
18729
|
+
/**
|
|
18730
|
+
* Returns whether this field is set.
|
|
18731
|
+
* @return {boolean}
|
|
18732
|
+
*/
|
|
18733
|
+
proto.gateway.web.v1.GetMcpAuthorizationRequestResponse.prototype.hasExpiresAt = function() {
|
|
18734
|
+
return jspb.Message.getField(this, 9) != null;
|
|
18735
|
+
};
|
|
18736
|
+
|
|
18737
|
+
|
|
18738
|
+
|
|
18739
|
+
|
|
18740
|
+
|
|
18741
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18742
|
+
/**
|
|
18743
|
+
* Creates an object representation of this proto.
|
|
18744
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18745
|
+
* Optional fields that are not set will be set to undefined.
|
|
18746
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18747
|
+
* For the list of reserved names please see:
|
|
18748
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18749
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18750
|
+
* JSPB instance for transitional soy proto support:
|
|
18751
|
+
* http://goto/soy-param-migration
|
|
18752
|
+
* @return {!Object}
|
|
18753
|
+
*/
|
|
18754
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
18755
|
+
return proto.gateway.web.v1.ApproveMcpAuthorizationRequest.toObject(opt_includeInstance, this);
|
|
18756
|
+
};
|
|
18757
|
+
|
|
18758
|
+
|
|
18759
|
+
/**
|
|
18760
|
+
* Static version of the {@see toObject} method.
|
|
18761
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18762
|
+
* the JSPB instance for transitional soy proto support:
|
|
18763
|
+
* http://goto/soy-param-migration
|
|
18764
|
+
* @param {!proto.gateway.web.v1.ApproveMcpAuthorizationRequest} msg The msg instance to transform.
|
|
18765
|
+
* @return {!Object}
|
|
18766
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18767
|
+
*/
|
|
18768
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationRequest.toObject = function(includeInstance, msg) {
|
|
18769
|
+
var f, obj = {
|
|
18770
|
+
requestId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
18771
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
18772
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
18773
|
+
};
|
|
18774
|
+
|
|
18775
|
+
if (includeInstance) {
|
|
18776
|
+
obj.$jspbMessageInstance = msg;
|
|
18777
|
+
}
|
|
18778
|
+
return obj;
|
|
18779
|
+
};
|
|
18780
|
+
}
|
|
18781
|
+
|
|
18782
|
+
|
|
18783
|
+
/**
|
|
18784
|
+
* Deserializes binary data (in protobuf wire format).
|
|
18785
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
18786
|
+
* @return {!proto.gateway.web.v1.ApproveMcpAuthorizationRequest}
|
|
18787
|
+
*/
|
|
18788
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationRequest.deserializeBinary = function(bytes) {
|
|
18789
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
18790
|
+
var msg = new proto.gateway.web.v1.ApproveMcpAuthorizationRequest;
|
|
18791
|
+
return proto.gateway.web.v1.ApproveMcpAuthorizationRequest.deserializeBinaryFromReader(msg, reader);
|
|
18792
|
+
};
|
|
18793
|
+
|
|
18794
|
+
|
|
18795
|
+
/**
|
|
18796
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
18797
|
+
* given reader into the given message object.
|
|
18798
|
+
* @param {!proto.gateway.web.v1.ApproveMcpAuthorizationRequest} msg The message object to deserialize into.
|
|
18799
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18800
|
+
* @return {!proto.gateway.web.v1.ApproveMcpAuthorizationRequest}
|
|
18801
|
+
*/
|
|
18802
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
18803
|
+
while (reader.nextField()) {
|
|
18804
|
+
if (reader.isEndGroup()) {
|
|
18805
|
+
break;
|
|
18806
|
+
}
|
|
18807
|
+
var field = reader.getFieldNumber();
|
|
18808
|
+
switch (field) {
|
|
18809
|
+
case 1:
|
|
18810
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
18811
|
+
msg.setRequestId(value);
|
|
18812
|
+
break;
|
|
18813
|
+
case 2:
|
|
18814
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
18815
|
+
msg.setOrganizationId(value);
|
|
18816
|
+
break;
|
|
18817
|
+
case 3:
|
|
18818
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
18819
|
+
msg.setProjectId(value);
|
|
18820
|
+
break;
|
|
18821
|
+
default:
|
|
18822
|
+
reader.skipField();
|
|
18823
|
+
break;
|
|
18824
|
+
}
|
|
18825
|
+
}
|
|
18826
|
+
return msg;
|
|
18827
|
+
};
|
|
18828
|
+
|
|
18829
|
+
|
|
18830
|
+
/**
|
|
18831
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
18832
|
+
* @return {!Uint8Array}
|
|
18833
|
+
*/
|
|
18834
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationRequest.prototype.serializeBinary = function() {
|
|
18835
|
+
var writer = new jspb.BinaryWriter();
|
|
18836
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationRequest.serializeBinaryToWriter(this, writer);
|
|
18837
|
+
return writer.getResultBuffer();
|
|
18838
|
+
};
|
|
18839
|
+
|
|
18840
|
+
|
|
18841
|
+
/**
|
|
18842
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
18843
|
+
* format), writing to the given BinaryWriter.
|
|
18844
|
+
* @param {!proto.gateway.web.v1.ApproveMcpAuthorizationRequest} message
|
|
18845
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18846
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18847
|
+
*/
|
|
18848
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
18849
|
+
var f = undefined;
|
|
18850
|
+
f = message.getRequestId();
|
|
18851
|
+
if (f.length > 0) {
|
|
18852
|
+
writer.writeString(
|
|
18853
|
+
1,
|
|
18854
|
+
f
|
|
18855
|
+
);
|
|
18856
|
+
}
|
|
18857
|
+
f = message.getOrganizationId();
|
|
18858
|
+
if (f.length > 0) {
|
|
18859
|
+
writer.writeString(
|
|
18860
|
+
2,
|
|
18861
|
+
f
|
|
18862
|
+
);
|
|
18863
|
+
}
|
|
18864
|
+
f = message.getProjectId();
|
|
18865
|
+
if (f.length > 0) {
|
|
18866
|
+
writer.writeString(
|
|
18867
|
+
3,
|
|
18868
|
+
f
|
|
18869
|
+
);
|
|
18870
|
+
}
|
|
18871
|
+
};
|
|
18872
|
+
|
|
18873
|
+
|
|
18874
|
+
/**
|
|
18875
|
+
* optional string request_id = 1;
|
|
18876
|
+
* @return {string}
|
|
18877
|
+
*/
|
|
18878
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationRequest.prototype.getRequestId = function() {
|
|
18879
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
18880
|
+
};
|
|
18881
|
+
|
|
18882
|
+
|
|
18883
|
+
/**
|
|
18884
|
+
* @param {string} value
|
|
18885
|
+
* @return {!proto.gateway.web.v1.ApproveMcpAuthorizationRequest} returns this
|
|
18886
|
+
*/
|
|
18887
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationRequest.prototype.setRequestId = function(value) {
|
|
18888
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
18889
|
+
};
|
|
18890
|
+
|
|
18891
|
+
|
|
18892
|
+
/**
|
|
18893
|
+
* optional string organization_id = 2;
|
|
18894
|
+
* @return {string}
|
|
18895
|
+
*/
|
|
18896
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationRequest.prototype.getOrganizationId = function() {
|
|
18897
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
18898
|
+
};
|
|
18899
|
+
|
|
18900
|
+
|
|
18901
|
+
/**
|
|
18902
|
+
* @param {string} value
|
|
18903
|
+
* @return {!proto.gateway.web.v1.ApproveMcpAuthorizationRequest} returns this
|
|
18904
|
+
*/
|
|
18905
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationRequest.prototype.setOrganizationId = function(value) {
|
|
18906
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
18907
|
+
};
|
|
18908
|
+
|
|
18909
|
+
|
|
18910
|
+
/**
|
|
18911
|
+
* optional string project_id = 3;
|
|
18912
|
+
* @return {string}
|
|
18913
|
+
*/
|
|
18914
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationRequest.prototype.getProjectId = function() {
|
|
18915
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
18916
|
+
};
|
|
18917
|
+
|
|
18918
|
+
|
|
18919
|
+
/**
|
|
18920
|
+
* @param {string} value
|
|
18921
|
+
* @return {!proto.gateway.web.v1.ApproveMcpAuthorizationRequest} returns this
|
|
18922
|
+
*/
|
|
18923
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationRequest.prototype.setProjectId = function(value) {
|
|
18924
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
18925
|
+
};
|
|
18926
|
+
|
|
18927
|
+
|
|
18928
|
+
|
|
18929
|
+
|
|
18930
|
+
|
|
18931
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18932
|
+
/**
|
|
18933
|
+
* Creates an object representation of this proto.
|
|
18934
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18935
|
+
* Optional fields that are not set will be set to undefined.
|
|
18936
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18937
|
+
* For the list of reserved names please see:
|
|
18938
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18939
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18940
|
+
* JSPB instance for transitional soy proto support:
|
|
18941
|
+
* http://goto/soy-param-migration
|
|
18942
|
+
* @return {!Object}
|
|
18943
|
+
*/
|
|
18944
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
18945
|
+
return proto.gateway.web.v1.ApproveMcpAuthorizationResponse.toObject(opt_includeInstance, this);
|
|
18946
|
+
};
|
|
18947
|
+
|
|
18948
|
+
|
|
18949
|
+
/**
|
|
18950
|
+
* Static version of the {@see toObject} method.
|
|
18951
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18952
|
+
* the JSPB instance for transitional soy proto support:
|
|
18953
|
+
* http://goto/soy-param-migration
|
|
18954
|
+
* @param {!proto.gateway.web.v1.ApproveMcpAuthorizationResponse} msg The msg instance to transform.
|
|
18955
|
+
* @return {!Object}
|
|
18956
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18957
|
+
*/
|
|
18958
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationResponse.toObject = function(includeInstance, msg) {
|
|
18959
|
+
var f, obj = {
|
|
18960
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
18961
|
+
redirectUrl: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
18962
|
+
};
|
|
18963
|
+
|
|
18964
|
+
if (includeInstance) {
|
|
18965
|
+
obj.$jspbMessageInstance = msg;
|
|
18966
|
+
}
|
|
18967
|
+
return obj;
|
|
18968
|
+
};
|
|
18969
|
+
}
|
|
18970
|
+
|
|
18971
|
+
|
|
18972
|
+
/**
|
|
18973
|
+
* Deserializes binary data (in protobuf wire format).
|
|
18974
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
18975
|
+
* @return {!proto.gateway.web.v1.ApproveMcpAuthorizationResponse}
|
|
18976
|
+
*/
|
|
18977
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationResponse.deserializeBinary = function(bytes) {
|
|
18978
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
18979
|
+
var msg = new proto.gateway.web.v1.ApproveMcpAuthorizationResponse;
|
|
18980
|
+
return proto.gateway.web.v1.ApproveMcpAuthorizationResponse.deserializeBinaryFromReader(msg, reader);
|
|
18981
|
+
};
|
|
18982
|
+
|
|
18983
|
+
|
|
18984
|
+
/**
|
|
18985
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
18986
|
+
* given reader into the given message object.
|
|
18987
|
+
* @param {!proto.gateway.web.v1.ApproveMcpAuthorizationResponse} msg The message object to deserialize into.
|
|
18988
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18989
|
+
* @return {!proto.gateway.web.v1.ApproveMcpAuthorizationResponse}
|
|
18990
|
+
*/
|
|
18991
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
18992
|
+
while (reader.nextField()) {
|
|
18993
|
+
if (reader.isEndGroup()) {
|
|
18994
|
+
break;
|
|
18995
|
+
}
|
|
18996
|
+
var field = reader.getFieldNumber();
|
|
18997
|
+
switch (field) {
|
|
18998
|
+
case 1:
|
|
18999
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
19000
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
19001
|
+
msg.setStatus(value);
|
|
19002
|
+
break;
|
|
19003
|
+
case 2:
|
|
19004
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
19005
|
+
msg.setRedirectUrl(value);
|
|
19006
|
+
break;
|
|
19007
|
+
default:
|
|
19008
|
+
reader.skipField();
|
|
19009
|
+
break;
|
|
19010
|
+
}
|
|
19011
|
+
}
|
|
19012
|
+
return msg;
|
|
19013
|
+
};
|
|
19014
|
+
|
|
19015
|
+
|
|
19016
|
+
/**
|
|
19017
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
19018
|
+
* @return {!Uint8Array}
|
|
19019
|
+
*/
|
|
19020
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationResponse.prototype.serializeBinary = function() {
|
|
19021
|
+
var writer = new jspb.BinaryWriter();
|
|
19022
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationResponse.serializeBinaryToWriter(this, writer);
|
|
19023
|
+
return writer.getResultBuffer();
|
|
19024
|
+
};
|
|
19025
|
+
|
|
19026
|
+
|
|
19027
|
+
/**
|
|
19028
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
19029
|
+
* format), writing to the given BinaryWriter.
|
|
19030
|
+
* @param {!proto.gateway.web.v1.ApproveMcpAuthorizationResponse} message
|
|
19031
|
+
* @param {!jspb.BinaryWriter} writer
|
|
19032
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19033
|
+
*/
|
|
19034
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
19035
|
+
var f = undefined;
|
|
19036
|
+
f = message.getStatus();
|
|
19037
|
+
if (f != null) {
|
|
19038
|
+
writer.writeMessage(
|
|
19039
|
+
1,
|
|
19040
|
+
f,
|
|
19041
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
19042
|
+
);
|
|
19043
|
+
}
|
|
19044
|
+
f = message.getRedirectUrl();
|
|
19045
|
+
if (f.length > 0) {
|
|
19046
|
+
writer.writeString(
|
|
19047
|
+
2,
|
|
19048
|
+
f
|
|
19049
|
+
);
|
|
19050
|
+
}
|
|
19051
|
+
};
|
|
19052
|
+
|
|
19053
|
+
|
|
19054
|
+
/**
|
|
19055
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
19056
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
19057
|
+
*/
|
|
19058
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationResponse.prototype.getStatus = function() {
|
|
19059
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
19060
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
19061
|
+
};
|
|
19062
|
+
|
|
19063
|
+
|
|
19064
|
+
/**
|
|
19065
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
19066
|
+
* @return {!proto.gateway.web.v1.ApproveMcpAuthorizationResponse} returns this
|
|
19067
|
+
*/
|
|
19068
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationResponse.prototype.setStatus = function(value) {
|
|
19069
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
19070
|
+
};
|
|
19071
|
+
|
|
19072
|
+
|
|
19073
|
+
/**
|
|
19074
|
+
* Clears the message field making it undefined.
|
|
19075
|
+
* @return {!proto.gateway.web.v1.ApproveMcpAuthorizationResponse} returns this
|
|
19076
|
+
*/
|
|
19077
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationResponse.prototype.clearStatus = function() {
|
|
19078
|
+
return this.setStatus(undefined);
|
|
19079
|
+
};
|
|
19080
|
+
|
|
19081
|
+
|
|
19082
|
+
/**
|
|
19083
|
+
* Returns whether this field is set.
|
|
19084
|
+
* @return {boolean}
|
|
19085
|
+
*/
|
|
19086
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationResponse.prototype.hasStatus = function() {
|
|
19087
|
+
return jspb.Message.getField(this, 1) != null;
|
|
19088
|
+
};
|
|
19089
|
+
|
|
19090
|
+
|
|
19091
|
+
/**
|
|
19092
|
+
* optional string redirect_url = 2;
|
|
19093
|
+
* @return {string}
|
|
19094
|
+
*/
|
|
19095
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationResponse.prototype.getRedirectUrl = function() {
|
|
19096
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
19097
|
+
};
|
|
19098
|
+
|
|
19099
|
+
|
|
19100
|
+
/**
|
|
19101
|
+
* @param {string} value
|
|
19102
|
+
* @return {!proto.gateway.web.v1.ApproveMcpAuthorizationResponse} returns this
|
|
19103
|
+
*/
|
|
19104
|
+
proto.gateway.web.v1.ApproveMcpAuthorizationResponse.prototype.setRedirectUrl = function(value) {
|
|
19105
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
19106
|
+
};
|
|
19107
|
+
|
|
19108
|
+
|
|
19109
|
+
|
|
19110
|
+
|
|
19111
|
+
|
|
19112
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
19113
|
+
/**
|
|
19114
|
+
* Creates an object representation of this proto.
|
|
19115
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
19116
|
+
* Optional fields that are not set will be set to undefined.
|
|
19117
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
19118
|
+
* For the list of reserved names please see:
|
|
19119
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
19120
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
19121
|
+
* JSPB instance for transitional soy proto support:
|
|
19122
|
+
* http://goto/soy-param-migration
|
|
19123
|
+
* @return {!Object}
|
|
19124
|
+
*/
|
|
19125
|
+
proto.gateway.web.v1.DenyMcpAuthorizationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
19126
|
+
return proto.gateway.web.v1.DenyMcpAuthorizationRequest.toObject(opt_includeInstance, this);
|
|
19127
|
+
};
|
|
19128
|
+
|
|
19129
|
+
|
|
19130
|
+
/**
|
|
19131
|
+
* Static version of the {@see toObject} method.
|
|
19132
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
19133
|
+
* the JSPB instance for transitional soy proto support:
|
|
19134
|
+
* http://goto/soy-param-migration
|
|
19135
|
+
* @param {!proto.gateway.web.v1.DenyMcpAuthorizationRequest} msg The msg instance to transform.
|
|
19136
|
+
* @return {!Object}
|
|
19137
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19138
|
+
*/
|
|
19139
|
+
proto.gateway.web.v1.DenyMcpAuthorizationRequest.toObject = function(includeInstance, msg) {
|
|
19140
|
+
var f, obj = {
|
|
19141
|
+
requestId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
19142
|
+
};
|
|
19143
|
+
|
|
19144
|
+
if (includeInstance) {
|
|
19145
|
+
obj.$jspbMessageInstance = msg;
|
|
19146
|
+
}
|
|
19147
|
+
return obj;
|
|
19148
|
+
};
|
|
19149
|
+
}
|
|
19150
|
+
|
|
19151
|
+
|
|
19152
|
+
/**
|
|
19153
|
+
* Deserializes binary data (in protobuf wire format).
|
|
19154
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
19155
|
+
* @return {!proto.gateway.web.v1.DenyMcpAuthorizationRequest}
|
|
19156
|
+
*/
|
|
19157
|
+
proto.gateway.web.v1.DenyMcpAuthorizationRequest.deserializeBinary = function(bytes) {
|
|
19158
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
19159
|
+
var msg = new proto.gateway.web.v1.DenyMcpAuthorizationRequest;
|
|
19160
|
+
return proto.gateway.web.v1.DenyMcpAuthorizationRequest.deserializeBinaryFromReader(msg, reader);
|
|
19161
|
+
};
|
|
19162
|
+
|
|
19163
|
+
|
|
19164
|
+
/**
|
|
19165
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
19166
|
+
* given reader into the given message object.
|
|
19167
|
+
* @param {!proto.gateway.web.v1.DenyMcpAuthorizationRequest} msg The message object to deserialize into.
|
|
19168
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
19169
|
+
* @return {!proto.gateway.web.v1.DenyMcpAuthorizationRequest}
|
|
19170
|
+
*/
|
|
19171
|
+
proto.gateway.web.v1.DenyMcpAuthorizationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
19172
|
+
while (reader.nextField()) {
|
|
19173
|
+
if (reader.isEndGroup()) {
|
|
19174
|
+
break;
|
|
19175
|
+
}
|
|
19176
|
+
var field = reader.getFieldNumber();
|
|
19177
|
+
switch (field) {
|
|
19178
|
+
case 1:
|
|
19179
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
19180
|
+
msg.setRequestId(value);
|
|
19181
|
+
break;
|
|
19182
|
+
default:
|
|
19183
|
+
reader.skipField();
|
|
19184
|
+
break;
|
|
19185
|
+
}
|
|
19186
|
+
}
|
|
19187
|
+
return msg;
|
|
19188
|
+
};
|
|
19189
|
+
|
|
19190
|
+
|
|
19191
|
+
/**
|
|
19192
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
19193
|
+
* @return {!Uint8Array}
|
|
19194
|
+
*/
|
|
19195
|
+
proto.gateway.web.v1.DenyMcpAuthorizationRequest.prototype.serializeBinary = function() {
|
|
19196
|
+
var writer = new jspb.BinaryWriter();
|
|
19197
|
+
proto.gateway.web.v1.DenyMcpAuthorizationRequest.serializeBinaryToWriter(this, writer);
|
|
19198
|
+
return writer.getResultBuffer();
|
|
19199
|
+
};
|
|
19200
|
+
|
|
19201
|
+
|
|
19202
|
+
/**
|
|
19203
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
19204
|
+
* format), writing to the given BinaryWriter.
|
|
19205
|
+
* @param {!proto.gateway.web.v1.DenyMcpAuthorizationRequest} message
|
|
19206
|
+
* @param {!jspb.BinaryWriter} writer
|
|
19207
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19208
|
+
*/
|
|
19209
|
+
proto.gateway.web.v1.DenyMcpAuthorizationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
19210
|
+
var f = undefined;
|
|
19211
|
+
f = message.getRequestId();
|
|
19212
|
+
if (f.length > 0) {
|
|
19213
|
+
writer.writeString(
|
|
19214
|
+
1,
|
|
19215
|
+
f
|
|
19216
|
+
);
|
|
19217
|
+
}
|
|
19218
|
+
};
|
|
19219
|
+
|
|
19220
|
+
|
|
19221
|
+
/**
|
|
19222
|
+
* optional string request_id = 1;
|
|
19223
|
+
* @return {string}
|
|
19224
|
+
*/
|
|
19225
|
+
proto.gateway.web.v1.DenyMcpAuthorizationRequest.prototype.getRequestId = function() {
|
|
19226
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
19227
|
+
};
|
|
19228
|
+
|
|
19229
|
+
|
|
19230
|
+
/**
|
|
19231
|
+
* @param {string} value
|
|
19232
|
+
* @return {!proto.gateway.web.v1.DenyMcpAuthorizationRequest} returns this
|
|
19233
|
+
*/
|
|
19234
|
+
proto.gateway.web.v1.DenyMcpAuthorizationRequest.prototype.setRequestId = function(value) {
|
|
19235
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
19236
|
+
};
|
|
19237
|
+
|
|
19238
|
+
|
|
19239
|
+
|
|
19240
|
+
|
|
19241
|
+
|
|
19242
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
19243
|
+
/**
|
|
19244
|
+
* Creates an object representation of this proto.
|
|
19245
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
19246
|
+
* Optional fields that are not set will be set to undefined.
|
|
19247
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
19248
|
+
* For the list of reserved names please see:
|
|
19249
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
19250
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
19251
|
+
* JSPB instance for transitional soy proto support:
|
|
19252
|
+
* http://goto/soy-param-migration
|
|
19253
|
+
* @return {!Object}
|
|
19254
|
+
*/
|
|
19255
|
+
proto.gateway.web.v1.DenyMcpAuthorizationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
19256
|
+
return proto.gateway.web.v1.DenyMcpAuthorizationResponse.toObject(opt_includeInstance, this);
|
|
19257
|
+
};
|
|
19258
|
+
|
|
19259
|
+
|
|
19260
|
+
/**
|
|
19261
|
+
* Static version of the {@see toObject} method.
|
|
19262
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
19263
|
+
* the JSPB instance for transitional soy proto support:
|
|
19264
|
+
* http://goto/soy-param-migration
|
|
19265
|
+
* @param {!proto.gateway.web.v1.DenyMcpAuthorizationResponse} msg The msg instance to transform.
|
|
19266
|
+
* @return {!Object}
|
|
19267
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19268
|
+
*/
|
|
19269
|
+
proto.gateway.web.v1.DenyMcpAuthorizationResponse.toObject = function(includeInstance, msg) {
|
|
19270
|
+
var f, obj = {
|
|
19271
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
19272
|
+
redirectUrl: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
19273
|
+
};
|
|
19274
|
+
|
|
19275
|
+
if (includeInstance) {
|
|
19276
|
+
obj.$jspbMessageInstance = msg;
|
|
19277
|
+
}
|
|
19278
|
+
return obj;
|
|
19279
|
+
};
|
|
19280
|
+
}
|
|
19281
|
+
|
|
19282
|
+
|
|
19283
|
+
/**
|
|
19284
|
+
* Deserializes binary data (in protobuf wire format).
|
|
19285
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
19286
|
+
* @return {!proto.gateway.web.v1.DenyMcpAuthorizationResponse}
|
|
19287
|
+
*/
|
|
19288
|
+
proto.gateway.web.v1.DenyMcpAuthorizationResponse.deserializeBinary = function(bytes) {
|
|
19289
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
19290
|
+
var msg = new proto.gateway.web.v1.DenyMcpAuthorizationResponse;
|
|
19291
|
+
return proto.gateway.web.v1.DenyMcpAuthorizationResponse.deserializeBinaryFromReader(msg, reader);
|
|
19292
|
+
};
|
|
19293
|
+
|
|
19294
|
+
|
|
19295
|
+
/**
|
|
19296
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
19297
|
+
* given reader into the given message object.
|
|
19298
|
+
* @param {!proto.gateway.web.v1.DenyMcpAuthorizationResponse} msg The message object to deserialize into.
|
|
19299
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
19300
|
+
* @return {!proto.gateway.web.v1.DenyMcpAuthorizationResponse}
|
|
19301
|
+
*/
|
|
19302
|
+
proto.gateway.web.v1.DenyMcpAuthorizationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
19303
|
+
while (reader.nextField()) {
|
|
19304
|
+
if (reader.isEndGroup()) {
|
|
19305
|
+
break;
|
|
19306
|
+
}
|
|
19307
|
+
var field = reader.getFieldNumber();
|
|
19308
|
+
switch (field) {
|
|
19309
|
+
case 1:
|
|
19310
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
19311
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
19312
|
+
msg.setStatus(value);
|
|
19313
|
+
break;
|
|
19314
|
+
case 2:
|
|
19315
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
19316
|
+
msg.setRedirectUrl(value);
|
|
19317
|
+
break;
|
|
19318
|
+
default:
|
|
19319
|
+
reader.skipField();
|
|
19320
|
+
break;
|
|
19321
|
+
}
|
|
19322
|
+
}
|
|
19323
|
+
return msg;
|
|
19324
|
+
};
|
|
19325
|
+
|
|
19326
|
+
|
|
19327
|
+
/**
|
|
19328
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
19329
|
+
* @return {!Uint8Array}
|
|
19330
|
+
*/
|
|
19331
|
+
proto.gateway.web.v1.DenyMcpAuthorizationResponse.prototype.serializeBinary = function() {
|
|
19332
|
+
var writer = new jspb.BinaryWriter();
|
|
19333
|
+
proto.gateway.web.v1.DenyMcpAuthorizationResponse.serializeBinaryToWriter(this, writer);
|
|
19334
|
+
return writer.getResultBuffer();
|
|
19335
|
+
};
|
|
19336
|
+
|
|
19337
|
+
|
|
19338
|
+
/**
|
|
19339
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
19340
|
+
* format), writing to the given BinaryWriter.
|
|
19341
|
+
* @param {!proto.gateway.web.v1.DenyMcpAuthorizationResponse} message
|
|
19342
|
+
* @param {!jspb.BinaryWriter} writer
|
|
19343
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19344
|
+
*/
|
|
19345
|
+
proto.gateway.web.v1.DenyMcpAuthorizationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
19346
|
+
var f = undefined;
|
|
19347
|
+
f = message.getStatus();
|
|
19348
|
+
if (f != null) {
|
|
19349
|
+
writer.writeMessage(
|
|
19350
|
+
1,
|
|
19351
|
+
f,
|
|
19352
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
19353
|
+
);
|
|
19354
|
+
}
|
|
19355
|
+
f = message.getRedirectUrl();
|
|
19356
|
+
if (f.length > 0) {
|
|
19357
|
+
writer.writeString(
|
|
19358
|
+
2,
|
|
19359
|
+
f
|
|
19360
|
+
);
|
|
19361
|
+
}
|
|
19362
|
+
};
|
|
19363
|
+
|
|
19364
|
+
|
|
19365
|
+
/**
|
|
19366
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
19367
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
19368
|
+
*/
|
|
19369
|
+
proto.gateway.web.v1.DenyMcpAuthorizationResponse.prototype.getStatus = function() {
|
|
19370
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
19371
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
19372
|
+
};
|
|
19373
|
+
|
|
19374
|
+
|
|
19375
|
+
/**
|
|
19376
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
19377
|
+
* @return {!proto.gateway.web.v1.DenyMcpAuthorizationResponse} returns this
|
|
19378
|
+
*/
|
|
19379
|
+
proto.gateway.web.v1.DenyMcpAuthorizationResponse.prototype.setStatus = function(value) {
|
|
19380
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
19381
|
+
};
|
|
19382
|
+
|
|
19383
|
+
|
|
19384
|
+
/**
|
|
19385
|
+
* Clears the message field making it undefined.
|
|
19386
|
+
* @return {!proto.gateway.web.v1.DenyMcpAuthorizationResponse} returns this
|
|
19387
|
+
*/
|
|
19388
|
+
proto.gateway.web.v1.DenyMcpAuthorizationResponse.prototype.clearStatus = function() {
|
|
19389
|
+
return this.setStatus(undefined);
|
|
19390
|
+
};
|
|
19391
|
+
|
|
19392
|
+
|
|
19393
|
+
/**
|
|
19394
|
+
* Returns whether this field is set.
|
|
19395
|
+
* @return {boolean}
|
|
19396
|
+
*/
|
|
19397
|
+
proto.gateway.web.v1.DenyMcpAuthorizationResponse.prototype.hasStatus = function() {
|
|
19398
|
+
return jspb.Message.getField(this, 1) != null;
|
|
19399
|
+
};
|
|
19400
|
+
|
|
19401
|
+
|
|
19402
|
+
/**
|
|
19403
|
+
* optional string redirect_url = 2;
|
|
19404
|
+
* @return {string}
|
|
19405
|
+
*/
|
|
19406
|
+
proto.gateway.web.v1.DenyMcpAuthorizationResponse.prototype.getRedirectUrl = function() {
|
|
19407
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
19408
|
+
};
|
|
19409
|
+
|
|
19410
|
+
|
|
19411
|
+
/**
|
|
19412
|
+
* @param {string} value
|
|
19413
|
+
* @return {!proto.gateway.web.v1.DenyMcpAuthorizationResponse} returns this
|
|
19414
|
+
*/
|
|
19415
|
+
proto.gateway.web.v1.DenyMcpAuthorizationResponse.prototype.setRedirectUrl = function(value) {
|
|
19416
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
19417
|
+
};
|
|
19418
|
+
|
|
19419
|
+
|
|
19420
|
+
|
|
19421
|
+
|
|
19422
|
+
|
|
19423
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
19424
|
+
/**
|
|
19425
|
+
* Creates an object representation of this proto.
|
|
19426
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
19427
|
+
* Optional fields that are not set will be set to undefined.
|
|
19428
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
19429
|
+
* For the list of reserved names please see:
|
|
19430
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
19431
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
19432
|
+
* JSPB instance for transitional soy proto support:
|
|
19433
|
+
* http://goto/soy-param-migration
|
|
19434
|
+
* @return {!Object}
|
|
19435
|
+
*/
|
|
19436
|
+
proto.gateway.web.v1.ProductFeatures.prototype.toObject = function(opt_includeInstance) {
|
|
19437
|
+
return proto.gateway.web.v1.ProductFeatures.toObject(opt_includeInstance, this);
|
|
19438
|
+
};
|
|
19439
|
+
|
|
19440
|
+
|
|
19441
|
+
/**
|
|
19442
|
+
* Static version of the {@see toObject} method.
|
|
19443
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
19444
|
+
* the JSPB instance for transitional soy proto support:
|
|
19445
|
+
* http://goto/soy-param-migration
|
|
19446
|
+
* @param {!proto.gateway.web.v1.ProductFeatures} msg The msg instance to transform.
|
|
19447
|
+
* @return {!Object}
|
|
19448
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19449
|
+
*/
|
|
19450
|
+
proto.gateway.web.v1.ProductFeatures.toObject = function(includeInstance, msg) {
|
|
19451
|
+
var f, obj = {
|
|
19452
|
+
betaInviteEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
19453
|
+
};
|
|
19454
|
+
|
|
19455
|
+
if (includeInstance) {
|
|
19456
|
+
obj.$jspbMessageInstance = msg;
|
|
19457
|
+
}
|
|
19458
|
+
return obj;
|
|
19459
|
+
};
|
|
19460
|
+
}
|
|
19461
|
+
|
|
19462
|
+
|
|
19463
|
+
/**
|
|
19464
|
+
* Deserializes binary data (in protobuf wire format).
|
|
19465
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
19466
|
+
* @return {!proto.gateway.web.v1.ProductFeatures}
|
|
19467
|
+
*/
|
|
19468
|
+
proto.gateway.web.v1.ProductFeatures.deserializeBinary = function(bytes) {
|
|
19469
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
19470
|
+
var msg = new proto.gateway.web.v1.ProductFeatures;
|
|
19471
|
+
return proto.gateway.web.v1.ProductFeatures.deserializeBinaryFromReader(msg, reader);
|
|
19472
|
+
};
|
|
19473
|
+
|
|
19474
|
+
|
|
19475
|
+
/**
|
|
19476
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
19477
|
+
* given reader into the given message object.
|
|
19478
|
+
* @param {!proto.gateway.web.v1.ProductFeatures} msg The message object to deserialize into.
|
|
19479
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
19480
|
+
* @return {!proto.gateway.web.v1.ProductFeatures}
|
|
19481
|
+
*/
|
|
19482
|
+
proto.gateway.web.v1.ProductFeatures.deserializeBinaryFromReader = function(msg, reader) {
|
|
19483
|
+
while (reader.nextField()) {
|
|
19484
|
+
if (reader.isEndGroup()) {
|
|
19485
|
+
break;
|
|
19486
|
+
}
|
|
19487
|
+
var field = reader.getFieldNumber();
|
|
19488
|
+
switch (field) {
|
|
19489
|
+
case 1:
|
|
19490
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
19491
|
+
msg.setBetaInviteEnabled(value);
|
|
19492
|
+
break;
|
|
19493
|
+
default:
|
|
19494
|
+
reader.skipField();
|
|
19495
|
+
break;
|
|
19496
|
+
}
|
|
19497
|
+
}
|
|
19498
|
+
return msg;
|
|
19499
|
+
};
|
|
19500
|
+
|
|
19501
|
+
|
|
19502
|
+
/**
|
|
19503
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
19504
|
+
* @return {!Uint8Array}
|
|
19505
|
+
*/
|
|
19506
|
+
proto.gateway.web.v1.ProductFeatures.prototype.serializeBinary = function() {
|
|
19507
|
+
var writer = new jspb.BinaryWriter();
|
|
19508
|
+
proto.gateway.web.v1.ProductFeatures.serializeBinaryToWriter(this, writer);
|
|
19509
|
+
return writer.getResultBuffer();
|
|
19510
|
+
};
|
|
19511
|
+
|
|
19512
|
+
|
|
19513
|
+
/**
|
|
19514
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
19515
|
+
* format), writing to the given BinaryWriter.
|
|
19516
|
+
* @param {!proto.gateway.web.v1.ProductFeatures} message
|
|
19517
|
+
* @param {!jspb.BinaryWriter} writer
|
|
19518
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19519
|
+
*/
|
|
19520
|
+
proto.gateway.web.v1.ProductFeatures.serializeBinaryToWriter = function(message, writer) {
|
|
19521
|
+
var f = undefined;
|
|
19522
|
+
f = message.getBetaInviteEnabled();
|
|
19523
|
+
if (f) {
|
|
19524
|
+
writer.writeBool(
|
|
19525
|
+
1,
|
|
19526
|
+
f
|
|
19527
|
+
);
|
|
19528
|
+
}
|
|
19529
|
+
};
|
|
19530
|
+
|
|
19531
|
+
|
|
19532
|
+
/**
|
|
19533
|
+
* optional bool beta_invite_enabled = 1;
|
|
19534
|
+
* @return {boolean}
|
|
19535
|
+
*/
|
|
19536
|
+
proto.gateway.web.v1.ProductFeatures.prototype.getBetaInviteEnabled = function() {
|
|
19537
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
19538
|
+
};
|
|
19539
|
+
|
|
19540
|
+
|
|
19541
|
+
/**
|
|
19542
|
+
* @param {boolean} value
|
|
19543
|
+
* @return {!proto.gateway.web.v1.ProductFeatures} returns this
|
|
19544
|
+
*/
|
|
19545
|
+
proto.gateway.web.v1.ProductFeatures.prototype.setBetaInviteEnabled = function(value) {
|
|
19546
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
19547
|
+
};
|
|
19548
|
+
|
|
19549
|
+
|
|
19550
|
+
|
|
19551
|
+
|
|
19552
|
+
|
|
19553
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
19554
|
+
/**
|
|
19555
|
+
* Creates an object representation of this proto.
|
|
19556
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
19557
|
+
* Optional fields that are not set will be set to undefined.
|
|
19558
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
19559
|
+
* For the list of reserved names please see:
|
|
19560
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
19561
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
19562
|
+
* JSPB instance for transitional soy proto support:
|
|
19563
|
+
* http://goto/soy-param-migration
|
|
19564
|
+
* @return {!Object}
|
|
19565
|
+
*/
|
|
19566
|
+
proto.gateway.web.v1.GetProductFeaturesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
19567
|
+
return proto.gateway.web.v1.GetProductFeaturesRequest.toObject(opt_includeInstance, this);
|
|
19568
|
+
};
|
|
19569
|
+
|
|
19570
|
+
|
|
19571
|
+
/**
|
|
19572
|
+
* Static version of the {@see toObject} method.
|
|
19573
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
19574
|
+
* the JSPB instance for transitional soy proto support:
|
|
19575
|
+
* http://goto/soy-param-migration
|
|
19576
|
+
* @param {!proto.gateway.web.v1.GetProductFeaturesRequest} msg The msg instance to transform.
|
|
19577
|
+
* @return {!Object}
|
|
19578
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19579
|
+
*/
|
|
19580
|
+
proto.gateway.web.v1.GetProductFeaturesRequest.toObject = function(includeInstance, msg) {
|
|
19581
|
+
var f, obj = {
|
|
19582
|
+
|
|
19583
|
+
};
|
|
19584
|
+
|
|
19585
|
+
if (includeInstance) {
|
|
19586
|
+
obj.$jspbMessageInstance = msg;
|
|
19587
|
+
}
|
|
19588
|
+
return obj;
|
|
19589
|
+
};
|
|
19590
|
+
}
|
|
19591
|
+
|
|
19592
|
+
|
|
19593
|
+
/**
|
|
19594
|
+
* Deserializes binary data (in protobuf wire format).
|
|
19595
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
19596
|
+
* @return {!proto.gateway.web.v1.GetProductFeaturesRequest}
|
|
19597
|
+
*/
|
|
19598
|
+
proto.gateway.web.v1.GetProductFeaturesRequest.deserializeBinary = function(bytes) {
|
|
19599
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
19600
|
+
var msg = new proto.gateway.web.v1.GetProductFeaturesRequest;
|
|
19601
|
+
return proto.gateway.web.v1.GetProductFeaturesRequest.deserializeBinaryFromReader(msg, reader);
|
|
19602
|
+
};
|
|
19603
|
+
|
|
19604
|
+
|
|
19605
|
+
/**
|
|
19606
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
19607
|
+
* given reader into the given message object.
|
|
19608
|
+
* @param {!proto.gateway.web.v1.GetProductFeaturesRequest} msg The message object to deserialize into.
|
|
19609
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
19610
|
+
* @return {!proto.gateway.web.v1.GetProductFeaturesRequest}
|
|
19611
|
+
*/
|
|
19612
|
+
proto.gateway.web.v1.GetProductFeaturesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
19613
|
+
while (reader.nextField()) {
|
|
19614
|
+
if (reader.isEndGroup()) {
|
|
19615
|
+
break;
|
|
19616
|
+
}
|
|
19617
|
+
var field = reader.getFieldNumber();
|
|
19618
|
+
switch (field) {
|
|
19619
|
+
default:
|
|
19620
|
+
reader.skipField();
|
|
19621
|
+
break;
|
|
19622
|
+
}
|
|
19623
|
+
}
|
|
19624
|
+
return msg;
|
|
19625
|
+
};
|
|
19626
|
+
|
|
19627
|
+
|
|
19628
|
+
/**
|
|
19629
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
19630
|
+
* @return {!Uint8Array}
|
|
19631
|
+
*/
|
|
19632
|
+
proto.gateway.web.v1.GetProductFeaturesRequest.prototype.serializeBinary = function() {
|
|
19633
|
+
var writer = new jspb.BinaryWriter();
|
|
19634
|
+
proto.gateway.web.v1.GetProductFeaturesRequest.serializeBinaryToWriter(this, writer);
|
|
19635
|
+
return writer.getResultBuffer();
|
|
19636
|
+
};
|
|
19637
|
+
|
|
19638
|
+
|
|
19639
|
+
/**
|
|
19640
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
19641
|
+
* format), writing to the given BinaryWriter.
|
|
19642
|
+
* @param {!proto.gateway.web.v1.GetProductFeaturesRequest} message
|
|
19643
|
+
* @param {!jspb.BinaryWriter} writer
|
|
19644
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19645
|
+
*/
|
|
19646
|
+
proto.gateway.web.v1.GetProductFeaturesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
19647
|
+
var f = undefined;
|
|
19648
|
+
};
|
|
19649
|
+
|
|
19650
|
+
|
|
19651
|
+
|
|
18268
19652
|
|
|
18269
19653
|
|
|
18270
|
-
|
|
18271
19654
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18272
19655
|
/**
|
|
18273
19656
|
* Creates an object representation of this proto.
|
|
@@ -18543,4 +19926,13 @@ proto.gateway.web.v1.InvitationStatus = {
|
|
|
18543
19926
|
INVITATION_STATUS_REVOKED: 3
|
|
18544
19927
|
};
|
|
18545
19928
|
|
|
19929
|
+
/**
|
|
19930
|
+
* @enum {number}
|
|
19931
|
+
*/
|
|
19932
|
+
proto.gateway.web.v1.McpClientKind = {
|
|
19933
|
+
MCP_CLIENT_KIND_UNSPECIFIED: 0,
|
|
19934
|
+
MCP_CLIENT_KIND_METADATA_DOCUMENT: 1,
|
|
19935
|
+
MCP_CLIENT_KIND_DYNAMIC: 2
|
|
19936
|
+
};
|
|
19937
|
+
|
|
18546
19938
|
goog.object.extend(exports, proto.gateway.web.v1);
|