@google-cloud/discoveryengine 2.5.0 → 2.5.2
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/README.md +334 -419
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +14 -0
- package/build/protos/protos.d.ts +16 -518
- package/build/protos/protos.js +90 -1695
- package/build/protos/protos.json +37 -194
- package/package.json +1 -1
package/build/protos/protos.js
CHANGED
|
@@ -29669,6 +29669,7 @@
|
|
|
29669
29669
|
* @property {google.cloud.discoveryengine.v1.Session.State|null} [state] Session state
|
|
29670
29670
|
* @property {string|null} [userPseudoId] Session userPseudoId
|
|
29671
29671
|
* @property {Array.<google.cloud.discoveryengine.v1.Session.ITurn>|null} [turns] Session turns
|
|
29672
|
+
* @property {Array.<string>|null} [labels] Session labels
|
|
29672
29673
|
* @property {google.protobuf.ITimestamp|null} [startTime] Session startTime
|
|
29673
29674
|
* @property {google.protobuf.ITimestamp|null} [endTime] Session endTime
|
|
29674
29675
|
* @property {boolean|null} [isPinned] Session isPinned
|
|
@@ -29684,6 +29685,7 @@
|
|
|
29684
29685
|
*/
|
|
29685
29686
|
function Session(properties) {
|
|
29686
29687
|
this.turns = [];
|
|
29688
|
+
this.labels = [];
|
|
29687
29689
|
if (properties)
|
|
29688
29690
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
29689
29691
|
if (properties[keys[i]] != null)
|
|
@@ -29730,6 +29732,14 @@
|
|
|
29730
29732
|
*/
|
|
29731
29733
|
Session.prototype.turns = $util.emptyArray;
|
|
29732
29734
|
|
|
29735
|
+
/**
|
|
29736
|
+
* Session labels.
|
|
29737
|
+
* @member {Array.<string>} labels
|
|
29738
|
+
* @memberof google.cloud.discoveryengine.v1.Session
|
|
29739
|
+
* @instance
|
|
29740
|
+
*/
|
|
29741
|
+
Session.prototype.labels = $util.emptyArray;
|
|
29742
|
+
|
|
29733
29743
|
/**
|
|
29734
29744
|
* Session startTime.
|
|
29735
29745
|
* @member {google.protobuf.ITimestamp|null|undefined} startTime
|
|
@@ -29795,6 +29805,9 @@
|
|
|
29795
29805
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.displayName);
|
|
29796
29806
|
if (message.isPinned != null && Object.hasOwnProperty.call(message, "isPinned"))
|
|
29797
29807
|
writer.uint32(/* id 8, wireType 0 =*/64).bool(message.isPinned);
|
|
29808
|
+
if (message.labels != null && message.labels.length)
|
|
29809
|
+
for (var i = 0; i < message.labels.length; ++i)
|
|
29810
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.labels[i]);
|
|
29798
29811
|
return writer;
|
|
29799
29812
|
};
|
|
29800
29813
|
|
|
@@ -29853,6 +29866,12 @@
|
|
|
29853
29866
|
message.turns.push($root.google.cloud.discoveryengine.v1.Session.Turn.decode(reader, reader.uint32()));
|
|
29854
29867
|
break;
|
|
29855
29868
|
}
|
|
29869
|
+
case 9: {
|
|
29870
|
+
if (!(message.labels && message.labels.length))
|
|
29871
|
+
message.labels = [];
|
|
29872
|
+
message.labels.push(reader.string());
|
|
29873
|
+
break;
|
|
29874
|
+
}
|
|
29856
29875
|
case 5: {
|
|
29857
29876
|
message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
29858
29877
|
break;
|
|
@@ -29926,6 +29945,13 @@
|
|
|
29926
29945
|
return "turns." + error;
|
|
29927
29946
|
}
|
|
29928
29947
|
}
|
|
29948
|
+
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
29949
|
+
if (!Array.isArray(message.labels))
|
|
29950
|
+
return "labels: array expected";
|
|
29951
|
+
for (var i = 0; i < message.labels.length; ++i)
|
|
29952
|
+
if (!$util.isString(message.labels[i]))
|
|
29953
|
+
return "labels: string[] expected";
|
|
29954
|
+
}
|
|
29929
29955
|
if (message.startTime != null && message.hasOwnProperty("startTime")) {
|
|
29930
29956
|
var error = $root.google.protobuf.Timestamp.verify(message.startTime);
|
|
29931
29957
|
if (error)
|
|
@@ -29986,6 +30012,13 @@
|
|
|
29986
30012
|
message.turns[i] = $root.google.cloud.discoveryengine.v1.Session.Turn.fromObject(object.turns[i]);
|
|
29987
30013
|
}
|
|
29988
30014
|
}
|
|
30015
|
+
if (object.labels) {
|
|
30016
|
+
if (!Array.isArray(object.labels))
|
|
30017
|
+
throw TypeError(".google.cloud.discoveryengine.v1.Session.labels: array expected");
|
|
30018
|
+
message.labels = [];
|
|
30019
|
+
for (var i = 0; i < object.labels.length; ++i)
|
|
30020
|
+
message.labels[i] = String(object.labels[i]);
|
|
30021
|
+
}
|
|
29989
30022
|
if (object.startTime != null) {
|
|
29990
30023
|
if (typeof object.startTime !== "object")
|
|
29991
30024
|
throw TypeError(".google.cloud.discoveryengine.v1.Session.startTime: object expected");
|
|
@@ -30014,8 +30047,10 @@
|
|
|
30014
30047
|
if (!options)
|
|
30015
30048
|
options = {};
|
|
30016
30049
|
var object = {};
|
|
30017
|
-
if (options.arrays || options.defaults)
|
|
30050
|
+
if (options.arrays || options.defaults) {
|
|
30018
30051
|
object.turns = [];
|
|
30052
|
+
object.labels = [];
|
|
30053
|
+
}
|
|
30019
30054
|
if (options.defaults) {
|
|
30020
30055
|
object.name = "";
|
|
30021
30056
|
object.state = options.enums === String ? "STATE_UNSPECIFIED" : 0;
|
|
@@ -30044,6 +30079,11 @@
|
|
|
30044
30079
|
object.displayName = message.displayName;
|
|
30045
30080
|
if (message.isPinned != null && message.hasOwnProperty("isPinned"))
|
|
30046
30081
|
object.isPinned = message.isPinned;
|
|
30082
|
+
if (message.labels && message.labels.length) {
|
|
30083
|
+
object.labels = [];
|
|
30084
|
+
for (var j = 0; j < message.labels.length; ++j)
|
|
30085
|
+
object.labels[j] = message.labels[j];
|
|
30086
|
+
}
|
|
30047
30087
|
return object;
|
|
30048
30088
|
};
|
|
30049
30089
|
|
|
@@ -30082,6 +30122,7 @@
|
|
|
30082
30122
|
* @property {google.cloud.discoveryengine.v1.IQuery|null} [query] Turn query
|
|
30083
30123
|
* @property {string|null} [answer] Turn answer
|
|
30084
30124
|
* @property {google.cloud.discoveryengine.v1.IAnswer|null} [detailedAnswer] Turn detailedAnswer
|
|
30125
|
+
* @property {google.cloud.discoveryengine.v1.IAssistAnswer|null} [detailedAssistAnswer] Turn detailedAssistAnswer
|
|
30085
30126
|
* @property {Object.<string,string>|null} [queryConfig] Turn queryConfig
|
|
30086
30127
|
*/
|
|
30087
30128
|
|
|
@@ -30125,6 +30166,14 @@
|
|
|
30125
30166
|
*/
|
|
30126
30167
|
Turn.prototype.detailedAnswer = null;
|
|
30127
30168
|
|
|
30169
|
+
/**
|
|
30170
|
+
* Turn detailedAssistAnswer.
|
|
30171
|
+
* @member {google.cloud.discoveryengine.v1.IAssistAnswer|null|undefined} detailedAssistAnswer
|
|
30172
|
+
* @memberof google.cloud.discoveryengine.v1.Session.Turn
|
|
30173
|
+
* @instance
|
|
30174
|
+
*/
|
|
30175
|
+
Turn.prototype.detailedAssistAnswer = null;
|
|
30176
|
+
|
|
30128
30177
|
/**
|
|
30129
30178
|
* Turn queryConfig.
|
|
30130
30179
|
* @member {Object.<string,string>} queryConfig
|
|
@@ -30163,6 +30212,8 @@
|
|
|
30163
30212
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.answer);
|
|
30164
30213
|
if (message.detailedAnswer != null && Object.hasOwnProperty.call(message, "detailedAnswer"))
|
|
30165
30214
|
$root.google.cloud.discoveryengine.v1.Answer.encode(message.detailedAnswer, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
30215
|
+
if (message.detailedAssistAnswer != null && Object.hasOwnProperty.call(message, "detailedAssistAnswer"))
|
|
30216
|
+
$root.google.cloud.discoveryengine.v1.AssistAnswer.encode(message.detailedAssistAnswer, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
30166
30217
|
if (message.queryConfig != null && Object.hasOwnProperty.call(message, "queryConfig"))
|
|
30167
30218
|
for (var keys = Object.keys(message.queryConfig), i = 0; i < keys.length; ++i)
|
|
30168
30219
|
writer.uint32(/* id 16, wireType 2 =*/130).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.queryConfig[keys[i]]).ldelim();
|
|
@@ -30214,6 +30265,10 @@
|
|
|
30214
30265
|
message.detailedAnswer = $root.google.cloud.discoveryengine.v1.Answer.decode(reader, reader.uint32());
|
|
30215
30266
|
break;
|
|
30216
30267
|
}
|
|
30268
|
+
case 8: {
|
|
30269
|
+
message.detailedAssistAnswer = $root.google.cloud.discoveryengine.v1.AssistAnswer.decode(reader, reader.uint32());
|
|
30270
|
+
break;
|
|
30271
|
+
}
|
|
30217
30272
|
case 16: {
|
|
30218
30273
|
if (message.queryConfig === $util.emptyObject)
|
|
30219
30274
|
message.queryConfig = {};
|
|
@@ -30285,6 +30340,11 @@
|
|
|
30285
30340
|
if (error)
|
|
30286
30341
|
return "detailedAnswer." + error;
|
|
30287
30342
|
}
|
|
30343
|
+
if (message.detailedAssistAnswer != null && message.hasOwnProperty("detailedAssistAnswer")) {
|
|
30344
|
+
var error = $root.google.cloud.discoveryengine.v1.AssistAnswer.verify(message.detailedAssistAnswer);
|
|
30345
|
+
if (error)
|
|
30346
|
+
return "detailedAssistAnswer." + error;
|
|
30347
|
+
}
|
|
30288
30348
|
if (message.queryConfig != null && message.hasOwnProperty("queryConfig")) {
|
|
30289
30349
|
if (!$util.isObject(message.queryConfig))
|
|
30290
30350
|
return "queryConfig: object expected";
|
|
@@ -30320,6 +30380,11 @@
|
|
|
30320
30380
|
throw TypeError(".google.cloud.discoveryengine.v1.Session.Turn.detailedAnswer: object expected");
|
|
30321
30381
|
message.detailedAnswer = $root.google.cloud.discoveryengine.v1.Answer.fromObject(object.detailedAnswer);
|
|
30322
30382
|
}
|
|
30383
|
+
if (object.detailedAssistAnswer != null) {
|
|
30384
|
+
if (typeof object.detailedAssistAnswer !== "object")
|
|
30385
|
+
throw TypeError(".google.cloud.discoveryengine.v1.Session.Turn.detailedAssistAnswer: object expected");
|
|
30386
|
+
message.detailedAssistAnswer = $root.google.cloud.discoveryengine.v1.AssistAnswer.fromObject(object.detailedAssistAnswer);
|
|
30387
|
+
}
|
|
30323
30388
|
if (object.queryConfig) {
|
|
30324
30389
|
if (typeof object.queryConfig !== "object")
|
|
30325
30390
|
throw TypeError(".google.cloud.discoveryengine.v1.Session.Turn.queryConfig: object expected");
|
|
@@ -30349,6 +30414,7 @@
|
|
|
30349
30414
|
object.query = null;
|
|
30350
30415
|
object.answer = "";
|
|
30351
30416
|
object.detailedAnswer = null;
|
|
30417
|
+
object.detailedAssistAnswer = null;
|
|
30352
30418
|
}
|
|
30353
30419
|
if (message.query != null && message.hasOwnProperty("query"))
|
|
30354
30420
|
object.query = $root.google.cloud.discoveryengine.v1.Query.toObject(message.query, options);
|
|
@@ -30356,6 +30422,8 @@
|
|
|
30356
30422
|
object.answer = message.answer;
|
|
30357
30423
|
if (message.detailedAnswer != null && message.hasOwnProperty("detailedAnswer"))
|
|
30358
30424
|
object.detailedAnswer = $root.google.cloud.discoveryengine.v1.Answer.toObject(message.detailedAnswer, options);
|
|
30425
|
+
if (message.detailedAssistAnswer != null && message.hasOwnProperty("detailedAssistAnswer"))
|
|
30426
|
+
object.detailedAssistAnswer = $root.google.cloud.discoveryengine.v1.AssistAnswer.toObject(message.detailedAssistAnswer, options);
|
|
30359
30427
|
var keys2;
|
|
30360
30428
|
if (message.queryConfig && (keys2 = Object.keys(message.queryConfig)).length) {
|
|
30361
30429
|
object.queryConfig = {};
|
|
@@ -349675,7 +349743,6 @@
|
|
|
349675
349743
|
* @interface ICommonLanguageSettings
|
|
349676
349744
|
* @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri
|
|
349677
349745
|
* @property {Array.<google.api.ClientLibraryDestination>|null} [destinations] CommonLanguageSettings destinations
|
|
349678
|
-
* @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration
|
|
349679
349746
|
*/
|
|
349680
349747
|
|
|
349681
349748
|
/**
|
|
@@ -349710,14 +349777,6 @@
|
|
|
349710
349777
|
*/
|
|
349711
349778
|
CommonLanguageSettings.prototype.destinations = $util.emptyArray;
|
|
349712
349779
|
|
|
349713
|
-
/**
|
|
349714
|
-
* CommonLanguageSettings selectiveGapicGeneration.
|
|
349715
|
-
* @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration
|
|
349716
|
-
* @memberof google.api.CommonLanguageSettings
|
|
349717
|
-
* @instance
|
|
349718
|
-
*/
|
|
349719
|
-
CommonLanguageSettings.prototype.selectiveGapicGeneration = null;
|
|
349720
|
-
|
|
349721
349780
|
/**
|
|
349722
349781
|
* Creates a new CommonLanguageSettings instance using the specified properties.
|
|
349723
349782
|
* @function create
|
|
@@ -349750,8 +349809,6 @@
|
|
|
349750
349809
|
writer.int32(message.destinations[i]);
|
|
349751
349810
|
writer.ldelim();
|
|
349752
349811
|
}
|
|
349753
|
-
if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration"))
|
|
349754
|
-
$root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
349755
349812
|
return writer;
|
|
349756
349813
|
};
|
|
349757
349814
|
|
|
@@ -349803,10 +349860,6 @@
|
|
|
349803
349860
|
message.destinations.push(reader.int32());
|
|
349804
349861
|
break;
|
|
349805
349862
|
}
|
|
349806
|
-
case 3: {
|
|
349807
|
-
message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32());
|
|
349808
|
-
break;
|
|
349809
|
-
}
|
|
349810
349863
|
default:
|
|
349811
349864
|
reader.skipType(tag & 7);
|
|
349812
349865
|
break;
|
|
@@ -349858,11 +349911,6 @@
|
|
|
349858
349911
|
break;
|
|
349859
349912
|
}
|
|
349860
349913
|
}
|
|
349861
|
-
if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) {
|
|
349862
|
-
var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration);
|
|
349863
|
-
if (error)
|
|
349864
|
-
return "selectiveGapicGeneration." + error;
|
|
349865
|
-
}
|
|
349866
349914
|
return null;
|
|
349867
349915
|
};
|
|
349868
349916
|
|
|
@@ -349905,11 +349953,6 @@
|
|
|
349905
349953
|
break;
|
|
349906
349954
|
}
|
|
349907
349955
|
}
|
|
349908
|
-
if (object.selectiveGapicGeneration != null) {
|
|
349909
|
-
if (typeof object.selectiveGapicGeneration !== "object")
|
|
349910
|
-
throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected");
|
|
349911
|
-
message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration);
|
|
349912
|
-
}
|
|
349913
349956
|
return message;
|
|
349914
349957
|
};
|
|
349915
349958
|
|
|
@@ -349928,10 +349971,8 @@
|
|
|
349928
349971
|
var object = {};
|
|
349929
349972
|
if (options.arrays || options.defaults)
|
|
349930
349973
|
object.destinations = [];
|
|
349931
|
-
if (options.defaults)
|
|
349974
|
+
if (options.defaults)
|
|
349932
349975
|
object.referenceDocsUri = "";
|
|
349933
|
-
object.selectiveGapicGeneration = null;
|
|
349934
|
-
}
|
|
349935
349976
|
if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri"))
|
|
349936
349977
|
object.referenceDocsUri = message.referenceDocsUri;
|
|
349937
349978
|
if (message.destinations && message.destinations.length) {
|
|
@@ -349939,8 +349980,6 @@
|
|
|
349939
349980
|
for (var j = 0; j < message.destinations.length; ++j)
|
|
349940
349981
|
object.destinations[j] = options.enums === String ? $root.google.api.ClientLibraryDestination[message.destinations[j]] === undefined ? message.destinations[j] : $root.google.api.ClientLibraryDestination[message.destinations[j]] : message.destinations[j];
|
|
349941
349982
|
}
|
|
349942
|
-
if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration"))
|
|
349943
|
-
object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options);
|
|
349944
349983
|
return object;
|
|
349945
349984
|
};
|
|
349946
349985
|
|
|
@@ -351763,7 +351802,6 @@
|
|
|
351763
351802
|
* @memberof google.api
|
|
351764
351803
|
* @interface IPythonSettings
|
|
351765
351804
|
* @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common
|
|
351766
|
-
* @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures
|
|
351767
351805
|
*/
|
|
351768
351806
|
|
|
351769
351807
|
/**
|
|
@@ -351789,14 +351827,6 @@
|
|
|
351789
351827
|
*/
|
|
351790
351828
|
PythonSettings.prototype.common = null;
|
|
351791
351829
|
|
|
351792
|
-
/**
|
|
351793
|
-
* PythonSettings experimentalFeatures.
|
|
351794
|
-
* @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures
|
|
351795
|
-
* @memberof google.api.PythonSettings
|
|
351796
|
-
* @instance
|
|
351797
|
-
*/
|
|
351798
|
-
PythonSettings.prototype.experimentalFeatures = null;
|
|
351799
|
-
|
|
351800
351830
|
/**
|
|
351801
351831
|
* Creates a new PythonSettings instance using the specified properties.
|
|
351802
351832
|
* @function create
|
|
@@ -351823,8 +351853,6 @@
|
|
|
351823
351853
|
writer = $Writer.create();
|
|
351824
351854
|
if (message.common != null && Object.hasOwnProperty.call(message, "common"))
|
|
351825
351855
|
$root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
351826
|
-
if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures"))
|
|
351827
|
-
$root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
351828
351856
|
return writer;
|
|
351829
351857
|
};
|
|
351830
351858
|
|
|
@@ -351865,10 +351893,6 @@
|
|
|
351865
351893
|
message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
|
|
351866
351894
|
break;
|
|
351867
351895
|
}
|
|
351868
|
-
case 2: {
|
|
351869
|
-
message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32());
|
|
351870
|
-
break;
|
|
351871
|
-
}
|
|
351872
351896
|
default:
|
|
351873
351897
|
reader.skipType(tag & 7);
|
|
351874
351898
|
break;
|
|
@@ -351909,11 +351933,6 @@
|
|
|
351909
351933
|
if (error)
|
|
351910
351934
|
return "common." + error;
|
|
351911
351935
|
}
|
|
351912
|
-
if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) {
|
|
351913
|
-
var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures);
|
|
351914
|
-
if (error)
|
|
351915
|
-
return "experimentalFeatures." + error;
|
|
351916
|
-
}
|
|
351917
351936
|
return null;
|
|
351918
351937
|
};
|
|
351919
351938
|
|
|
@@ -351934,11 +351953,6 @@
|
|
|
351934
351953
|
throw TypeError(".google.api.PythonSettings.common: object expected");
|
|
351935
351954
|
message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
|
|
351936
351955
|
}
|
|
351937
|
-
if (object.experimentalFeatures != null) {
|
|
351938
|
-
if (typeof object.experimentalFeatures !== "object")
|
|
351939
|
-
throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected");
|
|
351940
|
-
message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures);
|
|
351941
|
-
}
|
|
351942
351956
|
return message;
|
|
351943
351957
|
};
|
|
351944
351958
|
|
|
@@ -351955,14 +351969,10 @@
|
|
|
351955
351969
|
if (!options)
|
|
351956
351970
|
options = {};
|
|
351957
351971
|
var object = {};
|
|
351958
|
-
if (options.defaults)
|
|
351972
|
+
if (options.defaults)
|
|
351959
351973
|
object.common = null;
|
|
351960
|
-
object.experimentalFeatures = null;
|
|
351961
|
-
}
|
|
351962
351974
|
if (message.common != null && message.hasOwnProperty("common"))
|
|
351963
351975
|
object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
|
|
351964
|
-
if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures"))
|
|
351965
|
-
object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options);
|
|
351966
351976
|
return object;
|
|
351967
351977
|
};
|
|
351968
351978
|
|
|
@@ -351992,258 +352002,6 @@
|
|
|
351992
352002
|
return typeUrlPrefix + "/google.api.PythonSettings";
|
|
351993
352003
|
};
|
|
351994
352004
|
|
|
351995
|
-
PythonSettings.ExperimentalFeatures = (function() {
|
|
351996
|
-
|
|
351997
|
-
/**
|
|
351998
|
-
* Properties of an ExperimentalFeatures.
|
|
351999
|
-
* @memberof google.api.PythonSettings
|
|
352000
|
-
* @interface IExperimentalFeatures
|
|
352001
|
-
* @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled
|
|
352002
|
-
* @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled
|
|
352003
|
-
* @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled
|
|
352004
|
-
*/
|
|
352005
|
-
|
|
352006
|
-
/**
|
|
352007
|
-
* Constructs a new ExperimentalFeatures.
|
|
352008
|
-
* @memberof google.api.PythonSettings
|
|
352009
|
-
* @classdesc Represents an ExperimentalFeatures.
|
|
352010
|
-
* @implements IExperimentalFeatures
|
|
352011
|
-
* @constructor
|
|
352012
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
|
|
352013
|
-
*/
|
|
352014
|
-
function ExperimentalFeatures(properties) {
|
|
352015
|
-
if (properties)
|
|
352016
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
352017
|
-
if (properties[keys[i]] != null)
|
|
352018
|
-
this[keys[i]] = properties[keys[i]];
|
|
352019
|
-
}
|
|
352020
|
-
|
|
352021
|
-
/**
|
|
352022
|
-
* ExperimentalFeatures restAsyncIoEnabled.
|
|
352023
|
-
* @member {boolean} restAsyncIoEnabled
|
|
352024
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
352025
|
-
* @instance
|
|
352026
|
-
*/
|
|
352027
|
-
ExperimentalFeatures.prototype.restAsyncIoEnabled = false;
|
|
352028
|
-
|
|
352029
|
-
/**
|
|
352030
|
-
* ExperimentalFeatures protobufPythonicTypesEnabled.
|
|
352031
|
-
* @member {boolean} protobufPythonicTypesEnabled
|
|
352032
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
352033
|
-
* @instance
|
|
352034
|
-
*/
|
|
352035
|
-
ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false;
|
|
352036
|
-
|
|
352037
|
-
/**
|
|
352038
|
-
* ExperimentalFeatures unversionedPackageDisabled.
|
|
352039
|
-
* @member {boolean} unversionedPackageDisabled
|
|
352040
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
352041
|
-
* @instance
|
|
352042
|
-
*/
|
|
352043
|
-
ExperimentalFeatures.prototype.unversionedPackageDisabled = false;
|
|
352044
|
-
|
|
352045
|
-
/**
|
|
352046
|
-
* Creates a new ExperimentalFeatures instance using the specified properties.
|
|
352047
|
-
* @function create
|
|
352048
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
352049
|
-
* @static
|
|
352050
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
|
|
352051
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance
|
|
352052
|
-
*/
|
|
352053
|
-
ExperimentalFeatures.create = function create(properties) {
|
|
352054
|
-
return new ExperimentalFeatures(properties);
|
|
352055
|
-
};
|
|
352056
|
-
|
|
352057
|
-
/**
|
|
352058
|
-
* Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
352059
|
-
* @function encode
|
|
352060
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
352061
|
-
* @static
|
|
352062
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
|
|
352063
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
352064
|
-
* @returns {$protobuf.Writer} Writer
|
|
352065
|
-
*/
|
|
352066
|
-
ExperimentalFeatures.encode = function encode(message, writer) {
|
|
352067
|
-
if (!writer)
|
|
352068
|
-
writer = $Writer.create();
|
|
352069
|
-
if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled"))
|
|
352070
|
-
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled);
|
|
352071
|
-
if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled"))
|
|
352072
|
-
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled);
|
|
352073
|
-
if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled"))
|
|
352074
|
-
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled);
|
|
352075
|
-
return writer;
|
|
352076
|
-
};
|
|
352077
|
-
|
|
352078
|
-
/**
|
|
352079
|
-
* Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
352080
|
-
* @function encodeDelimited
|
|
352081
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
352082
|
-
* @static
|
|
352083
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
|
|
352084
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
352085
|
-
* @returns {$protobuf.Writer} Writer
|
|
352086
|
-
*/
|
|
352087
|
-
ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) {
|
|
352088
|
-
return this.encode(message, writer).ldelim();
|
|
352089
|
-
};
|
|
352090
|
-
|
|
352091
|
-
/**
|
|
352092
|
-
* Decodes an ExperimentalFeatures message from the specified reader or buffer.
|
|
352093
|
-
* @function decode
|
|
352094
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
352095
|
-
* @static
|
|
352096
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
352097
|
-
* @param {number} [length] Message length if known beforehand
|
|
352098
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
|
352099
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
352100
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
352101
|
-
*/
|
|
352102
|
-
ExperimentalFeatures.decode = function decode(reader, length, error) {
|
|
352103
|
-
if (!(reader instanceof $Reader))
|
|
352104
|
-
reader = $Reader.create(reader);
|
|
352105
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures();
|
|
352106
|
-
while (reader.pos < end) {
|
|
352107
|
-
var tag = reader.uint32();
|
|
352108
|
-
if (tag === error)
|
|
352109
|
-
break;
|
|
352110
|
-
switch (tag >>> 3) {
|
|
352111
|
-
case 1: {
|
|
352112
|
-
message.restAsyncIoEnabled = reader.bool();
|
|
352113
|
-
break;
|
|
352114
|
-
}
|
|
352115
|
-
case 2: {
|
|
352116
|
-
message.protobufPythonicTypesEnabled = reader.bool();
|
|
352117
|
-
break;
|
|
352118
|
-
}
|
|
352119
|
-
case 3: {
|
|
352120
|
-
message.unversionedPackageDisabled = reader.bool();
|
|
352121
|
-
break;
|
|
352122
|
-
}
|
|
352123
|
-
default:
|
|
352124
|
-
reader.skipType(tag & 7);
|
|
352125
|
-
break;
|
|
352126
|
-
}
|
|
352127
|
-
}
|
|
352128
|
-
return message;
|
|
352129
|
-
};
|
|
352130
|
-
|
|
352131
|
-
/**
|
|
352132
|
-
* Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited.
|
|
352133
|
-
* @function decodeDelimited
|
|
352134
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
352135
|
-
* @static
|
|
352136
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
352137
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
|
352138
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
352139
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
352140
|
-
*/
|
|
352141
|
-
ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) {
|
|
352142
|
-
if (!(reader instanceof $Reader))
|
|
352143
|
-
reader = new $Reader(reader);
|
|
352144
|
-
return this.decode(reader, reader.uint32());
|
|
352145
|
-
};
|
|
352146
|
-
|
|
352147
|
-
/**
|
|
352148
|
-
* Verifies an ExperimentalFeatures message.
|
|
352149
|
-
* @function verify
|
|
352150
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
352151
|
-
* @static
|
|
352152
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
352153
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
352154
|
-
*/
|
|
352155
|
-
ExperimentalFeatures.verify = function verify(message) {
|
|
352156
|
-
if (typeof message !== "object" || message === null)
|
|
352157
|
-
return "object expected";
|
|
352158
|
-
if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
|
|
352159
|
-
if (typeof message.restAsyncIoEnabled !== "boolean")
|
|
352160
|
-
return "restAsyncIoEnabled: boolean expected";
|
|
352161
|
-
if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
|
|
352162
|
-
if (typeof message.protobufPythonicTypesEnabled !== "boolean")
|
|
352163
|
-
return "protobufPythonicTypesEnabled: boolean expected";
|
|
352164
|
-
if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
|
|
352165
|
-
if (typeof message.unversionedPackageDisabled !== "boolean")
|
|
352166
|
-
return "unversionedPackageDisabled: boolean expected";
|
|
352167
|
-
return null;
|
|
352168
|
-
};
|
|
352169
|
-
|
|
352170
|
-
/**
|
|
352171
|
-
* Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types.
|
|
352172
|
-
* @function fromObject
|
|
352173
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
352174
|
-
* @static
|
|
352175
|
-
* @param {Object.<string,*>} object Plain object
|
|
352176
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
|
352177
|
-
*/
|
|
352178
|
-
ExperimentalFeatures.fromObject = function fromObject(object) {
|
|
352179
|
-
if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures)
|
|
352180
|
-
return object;
|
|
352181
|
-
var message = new $root.google.api.PythonSettings.ExperimentalFeatures();
|
|
352182
|
-
if (object.restAsyncIoEnabled != null)
|
|
352183
|
-
message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled);
|
|
352184
|
-
if (object.protobufPythonicTypesEnabled != null)
|
|
352185
|
-
message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled);
|
|
352186
|
-
if (object.unversionedPackageDisabled != null)
|
|
352187
|
-
message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled);
|
|
352188
|
-
return message;
|
|
352189
|
-
};
|
|
352190
|
-
|
|
352191
|
-
/**
|
|
352192
|
-
* Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified.
|
|
352193
|
-
* @function toObject
|
|
352194
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
352195
|
-
* @static
|
|
352196
|
-
* @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures
|
|
352197
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
352198
|
-
* @returns {Object.<string,*>} Plain object
|
|
352199
|
-
*/
|
|
352200
|
-
ExperimentalFeatures.toObject = function toObject(message, options) {
|
|
352201
|
-
if (!options)
|
|
352202
|
-
options = {};
|
|
352203
|
-
var object = {};
|
|
352204
|
-
if (options.defaults) {
|
|
352205
|
-
object.restAsyncIoEnabled = false;
|
|
352206
|
-
object.protobufPythonicTypesEnabled = false;
|
|
352207
|
-
object.unversionedPackageDisabled = false;
|
|
352208
|
-
}
|
|
352209
|
-
if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
|
|
352210
|
-
object.restAsyncIoEnabled = message.restAsyncIoEnabled;
|
|
352211
|
-
if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
|
|
352212
|
-
object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled;
|
|
352213
|
-
if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
|
|
352214
|
-
object.unversionedPackageDisabled = message.unversionedPackageDisabled;
|
|
352215
|
-
return object;
|
|
352216
|
-
};
|
|
352217
|
-
|
|
352218
|
-
/**
|
|
352219
|
-
* Converts this ExperimentalFeatures to JSON.
|
|
352220
|
-
* @function toJSON
|
|
352221
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
352222
|
-
* @instance
|
|
352223
|
-
* @returns {Object.<string,*>} JSON object
|
|
352224
|
-
*/
|
|
352225
|
-
ExperimentalFeatures.prototype.toJSON = function toJSON() {
|
|
352226
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
352227
|
-
};
|
|
352228
|
-
|
|
352229
|
-
/**
|
|
352230
|
-
* Gets the default type url for ExperimentalFeatures
|
|
352231
|
-
* @function getTypeUrl
|
|
352232
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
352233
|
-
* @static
|
|
352234
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
352235
|
-
* @returns {string} The default type url
|
|
352236
|
-
*/
|
|
352237
|
-
ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
352238
|
-
if (typeUrlPrefix === undefined) {
|
|
352239
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
352240
|
-
}
|
|
352241
|
-
return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures";
|
|
352242
|
-
};
|
|
352243
|
-
|
|
352244
|
-
return ExperimentalFeatures;
|
|
352245
|
-
})();
|
|
352246
|
-
|
|
352247
352005
|
return PythonSettings;
|
|
352248
352006
|
})();
|
|
352249
352007
|
|
|
@@ -353120,7 +352878,6 @@
|
|
|
353120
352878
|
* @memberof google.api
|
|
353121
352879
|
* @interface IGoSettings
|
|
353122
352880
|
* @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common
|
|
353123
|
-
* @property {Object.<string,string>|null} [renamedServices] GoSettings renamedServices
|
|
353124
352881
|
*/
|
|
353125
352882
|
|
|
353126
352883
|
/**
|
|
@@ -353132,7 +352889,6 @@
|
|
|
353132
352889
|
* @param {google.api.IGoSettings=} [properties] Properties to set
|
|
353133
352890
|
*/
|
|
353134
352891
|
function GoSettings(properties) {
|
|
353135
|
-
this.renamedServices = {};
|
|
353136
352892
|
if (properties)
|
|
353137
352893
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
353138
352894
|
if (properties[keys[i]] != null)
|
|
@@ -353147,14 +352903,6 @@
|
|
|
353147
352903
|
*/
|
|
353148
352904
|
GoSettings.prototype.common = null;
|
|
353149
352905
|
|
|
353150
|
-
/**
|
|
353151
|
-
* GoSettings renamedServices.
|
|
353152
|
-
* @member {Object.<string,string>} renamedServices
|
|
353153
|
-
* @memberof google.api.GoSettings
|
|
353154
|
-
* @instance
|
|
353155
|
-
*/
|
|
353156
|
-
GoSettings.prototype.renamedServices = $util.emptyObject;
|
|
353157
|
-
|
|
353158
352906
|
/**
|
|
353159
352907
|
* Creates a new GoSettings instance using the specified properties.
|
|
353160
352908
|
* @function create
|
|
@@ -353181,9 +352929,6 @@
|
|
|
353181
352929
|
writer = $Writer.create();
|
|
353182
352930
|
if (message.common != null && Object.hasOwnProperty.call(message, "common"))
|
|
353183
352931
|
$root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
353184
|
-
if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices"))
|
|
353185
|
-
for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i)
|
|
353186
|
-
writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedServices[keys[i]]).ldelim();
|
|
353187
352932
|
return writer;
|
|
353188
352933
|
};
|
|
353189
352934
|
|
|
@@ -353214,7 +352959,7 @@
|
|
|
353214
352959
|
GoSettings.decode = function decode(reader, length, error) {
|
|
353215
352960
|
if (!(reader instanceof $Reader))
|
|
353216
352961
|
reader = $Reader.create(reader);
|
|
353217
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings()
|
|
352962
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings();
|
|
353218
352963
|
while (reader.pos < end) {
|
|
353219
352964
|
var tag = reader.uint32();
|
|
353220
352965
|
if (tag === error)
|
|
@@ -353224,29 +352969,6 @@
|
|
|
353224
352969
|
message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
|
|
353225
352970
|
break;
|
|
353226
352971
|
}
|
|
353227
|
-
case 2: {
|
|
353228
|
-
if (message.renamedServices === $util.emptyObject)
|
|
353229
|
-
message.renamedServices = {};
|
|
353230
|
-
var end2 = reader.uint32() + reader.pos;
|
|
353231
|
-
key = "";
|
|
353232
|
-
value = "";
|
|
353233
|
-
while (reader.pos < end2) {
|
|
353234
|
-
var tag2 = reader.uint32();
|
|
353235
|
-
switch (tag2 >>> 3) {
|
|
353236
|
-
case 1:
|
|
353237
|
-
key = reader.string();
|
|
353238
|
-
break;
|
|
353239
|
-
case 2:
|
|
353240
|
-
value = reader.string();
|
|
353241
|
-
break;
|
|
353242
|
-
default:
|
|
353243
|
-
reader.skipType(tag2 & 7);
|
|
353244
|
-
break;
|
|
353245
|
-
}
|
|
353246
|
-
}
|
|
353247
|
-
message.renamedServices[key] = value;
|
|
353248
|
-
break;
|
|
353249
|
-
}
|
|
353250
352972
|
default:
|
|
353251
352973
|
reader.skipType(tag & 7);
|
|
353252
352974
|
break;
|
|
@@ -353287,14 +353009,6 @@
|
|
|
353287
353009
|
if (error)
|
|
353288
353010
|
return "common." + error;
|
|
353289
353011
|
}
|
|
353290
|
-
if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) {
|
|
353291
|
-
if (!$util.isObject(message.renamedServices))
|
|
353292
|
-
return "renamedServices: object expected";
|
|
353293
|
-
var key = Object.keys(message.renamedServices);
|
|
353294
|
-
for (var i = 0; i < key.length; ++i)
|
|
353295
|
-
if (!$util.isString(message.renamedServices[key[i]]))
|
|
353296
|
-
return "renamedServices: string{k:string} expected";
|
|
353297
|
-
}
|
|
353298
353012
|
return null;
|
|
353299
353013
|
};
|
|
353300
353014
|
|
|
@@ -353315,13 +353029,6 @@
|
|
|
353315
353029
|
throw TypeError(".google.api.GoSettings.common: object expected");
|
|
353316
353030
|
message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
|
|
353317
353031
|
}
|
|
353318
|
-
if (object.renamedServices) {
|
|
353319
|
-
if (typeof object.renamedServices !== "object")
|
|
353320
|
-
throw TypeError(".google.api.GoSettings.renamedServices: object expected");
|
|
353321
|
-
message.renamedServices = {};
|
|
353322
|
-
for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i)
|
|
353323
|
-
message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]);
|
|
353324
|
-
}
|
|
353325
353032
|
return message;
|
|
353326
353033
|
};
|
|
353327
353034
|
|
|
@@ -353338,18 +353045,10 @@
|
|
|
353338
353045
|
if (!options)
|
|
353339
353046
|
options = {};
|
|
353340
353047
|
var object = {};
|
|
353341
|
-
if (options.objects || options.defaults)
|
|
353342
|
-
object.renamedServices = {};
|
|
353343
353048
|
if (options.defaults)
|
|
353344
353049
|
object.common = null;
|
|
353345
353050
|
if (message.common != null && message.hasOwnProperty("common"))
|
|
353346
353051
|
object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
|
|
353347
|
-
var keys2;
|
|
353348
|
-
if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) {
|
|
353349
|
-
object.renamedServices = {};
|
|
353350
|
-
for (var j = 0; j < keys2.length; ++j)
|
|
353351
|
-
object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]];
|
|
353352
|
-
}
|
|
353353
353052
|
return object;
|
|
353354
353053
|
};
|
|
353355
353054
|
|
|
@@ -353988,251 +353687,6 @@
|
|
|
353988
353687
|
return values;
|
|
353989
353688
|
})();
|
|
353990
353689
|
|
|
353991
|
-
api.SelectiveGapicGeneration = (function() {
|
|
353992
|
-
|
|
353993
|
-
/**
|
|
353994
|
-
* Properties of a SelectiveGapicGeneration.
|
|
353995
|
-
* @memberof google.api
|
|
353996
|
-
* @interface ISelectiveGapicGeneration
|
|
353997
|
-
* @property {Array.<string>|null} [methods] SelectiveGapicGeneration methods
|
|
353998
|
-
* @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal
|
|
353999
|
-
*/
|
|
354000
|
-
|
|
354001
|
-
/**
|
|
354002
|
-
* Constructs a new SelectiveGapicGeneration.
|
|
354003
|
-
* @memberof google.api
|
|
354004
|
-
* @classdesc Represents a SelectiveGapicGeneration.
|
|
354005
|
-
* @implements ISelectiveGapicGeneration
|
|
354006
|
-
* @constructor
|
|
354007
|
-
* @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
|
|
354008
|
-
*/
|
|
354009
|
-
function SelectiveGapicGeneration(properties) {
|
|
354010
|
-
this.methods = [];
|
|
354011
|
-
if (properties)
|
|
354012
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
354013
|
-
if (properties[keys[i]] != null)
|
|
354014
|
-
this[keys[i]] = properties[keys[i]];
|
|
354015
|
-
}
|
|
354016
|
-
|
|
354017
|
-
/**
|
|
354018
|
-
* SelectiveGapicGeneration methods.
|
|
354019
|
-
* @member {Array.<string>} methods
|
|
354020
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
354021
|
-
* @instance
|
|
354022
|
-
*/
|
|
354023
|
-
SelectiveGapicGeneration.prototype.methods = $util.emptyArray;
|
|
354024
|
-
|
|
354025
|
-
/**
|
|
354026
|
-
* SelectiveGapicGeneration generateOmittedAsInternal.
|
|
354027
|
-
* @member {boolean} generateOmittedAsInternal
|
|
354028
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
354029
|
-
* @instance
|
|
354030
|
-
*/
|
|
354031
|
-
SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false;
|
|
354032
|
-
|
|
354033
|
-
/**
|
|
354034
|
-
* Creates a new SelectiveGapicGeneration instance using the specified properties.
|
|
354035
|
-
* @function create
|
|
354036
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
354037
|
-
* @static
|
|
354038
|
-
* @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
|
|
354039
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance
|
|
354040
|
-
*/
|
|
354041
|
-
SelectiveGapicGeneration.create = function create(properties) {
|
|
354042
|
-
return new SelectiveGapicGeneration(properties);
|
|
354043
|
-
};
|
|
354044
|
-
|
|
354045
|
-
/**
|
|
354046
|
-
* Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
354047
|
-
* @function encode
|
|
354048
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
354049
|
-
* @static
|
|
354050
|
-
* @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
|
|
354051
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
354052
|
-
* @returns {$protobuf.Writer} Writer
|
|
354053
|
-
*/
|
|
354054
|
-
SelectiveGapicGeneration.encode = function encode(message, writer) {
|
|
354055
|
-
if (!writer)
|
|
354056
|
-
writer = $Writer.create();
|
|
354057
|
-
if (message.methods != null && message.methods.length)
|
|
354058
|
-
for (var i = 0; i < message.methods.length; ++i)
|
|
354059
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]);
|
|
354060
|
-
if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal"))
|
|
354061
|
-
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal);
|
|
354062
|
-
return writer;
|
|
354063
|
-
};
|
|
354064
|
-
|
|
354065
|
-
/**
|
|
354066
|
-
* Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
354067
|
-
* @function encodeDelimited
|
|
354068
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
354069
|
-
* @static
|
|
354070
|
-
* @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
|
|
354071
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
354072
|
-
* @returns {$protobuf.Writer} Writer
|
|
354073
|
-
*/
|
|
354074
|
-
SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) {
|
|
354075
|
-
return this.encode(message, writer).ldelim();
|
|
354076
|
-
};
|
|
354077
|
-
|
|
354078
|
-
/**
|
|
354079
|
-
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer.
|
|
354080
|
-
* @function decode
|
|
354081
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
354082
|
-
* @static
|
|
354083
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
354084
|
-
* @param {number} [length] Message length if known beforehand
|
|
354085
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
|
354086
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
354087
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
354088
|
-
*/
|
|
354089
|
-
SelectiveGapicGeneration.decode = function decode(reader, length, error) {
|
|
354090
|
-
if (!(reader instanceof $Reader))
|
|
354091
|
-
reader = $Reader.create(reader);
|
|
354092
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration();
|
|
354093
|
-
while (reader.pos < end) {
|
|
354094
|
-
var tag = reader.uint32();
|
|
354095
|
-
if (tag === error)
|
|
354096
|
-
break;
|
|
354097
|
-
switch (tag >>> 3) {
|
|
354098
|
-
case 1: {
|
|
354099
|
-
if (!(message.methods && message.methods.length))
|
|
354100
|
-
message.methods = [];
|
|
354101
|
-
message.methods.push(reader.string());
|
|
354102
|
-
break;
|
|
354103
|
-
}
|
|
354104
|
-
case 2: {
|
|
354105
|
-
message.generateOmittedAsInternal = reader.bool();
|
|
354106
|
-
break;
|
|
354107
|
-
}
|
|
354108
|
-
default:
|
|
354109
|
-
reader.skipType(tag & 7);
|
|
354110
|
-
break;
|
|
354111
|
-
}
|
|
354112
|
-
}
|
|
354113
|
-
return message;
|
|
354114
|
-
};
|
|
354115
|
-
|
|
354116
|
-
/**
|
|
354117
|
-
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited.
|
|
354118
|
-
* @function decodeDelimited
|
|
354119
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
354120
|
-
* @static
|
|
354121
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
354122
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
|
354123
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
354124
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
354125
|
-
*/
|
|
354126
|
-
SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) {
|
|
354127
|
-
if (!(reader instanceof $Reader))
|
|
354128
|
-
reader = new $Reader(reader);
|
|
354129
|
-
return this.decode(reader, reader.uint32());
|
|
354130
|
-
};
|
|
354131
|
-
|
|
354132
|
-
/**
|
|
354133
|
-
* Verifies a SelectiveGapicGeneration message.
|
|
354134
|
-
* @function verify
|
|
354135
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
354136
|
-
* @static
|
|
354137
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
354138
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
354139
|
-
*/
|
|
354140
|
-
SelectiveGapicGeneration.verify = function verify(message) {
|
|
354141
|
-
if (typeof message !== "object" || message === null)
|
|
354142
|
-
return "object expected";
|
|
354143
|
-
if (message.methods != null && message.hasOwnProperty("methods")) {
|
|
354144
|
-
if (!Array.isArray(message.methods))
|
|
354145
|
-
return "methods: array expected";
|
|
354146
|
-
for (var i = 0; i < message.methods.length; ++i)
|
|
354147
|
-
if (!$util.isString(message.methods[i]))
|
|
354148
|
-
return "methods: string[] expected";
|
|
354149
|
-
}
|
|
354150
|
-
if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
|
|
354151
|
-
if (typeof message.generateOmittedAsInternal !== "boolean")
|
|
354152
|
-
return "generateOmittedAsInternal: boolean expected";
|
|
354153
|
-
return null;
|
|
354154
|
-
};
|
|
354155
|
-
|
|
354156
|
-
/**
|
|
354157
|
-
* Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types.
|
|
354158
|
-
* @function fromObject
|
|
354159
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
354160
|
-
* @static
|
|
354161
|
-
* @param {Object.<string,*>} object Plain object
|
|
354162
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
|
354163
|
-
*/
|
|
354164
|
-
SelectiveGapicGeneration.fromObject = function fromObject(object) {
|
|
354165
|
-
if (object instanceof $root.google.api.SelectiveGapicGeneration)
|
|
354166
|
-
return object;
|
|
354167
|
-
var message = new $root.google.api.SelectiveGapicGeneration();
|
|
354168
|
-
if (object.methods) {
|
|
354169
|
-
if (!Array.isArray(object.methods))
|
|
354170
|
-
throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected");
|
|
354171
|
-
message.methods = [];
|
|
354172
|
-
for (var i = 0; i < object.methods.length; ++i)
|
|
354173
|
-
message.methods[i] = String(object.methods[i]);
|
|
354174
|
-
}
|
|
354175
|
-
if (object.generateOmittedAsInternal != null)
|
|
354176
|
-
message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal);
|
|
354177
|
-
return message;
|
|
354178
|
-
};
|
|
354179
|
-
|
|
354180
|
-
/**
|
|
354181
|
-
* Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified.
|
|
354182
|
-
* @function toObject
|
|
354183
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
354184
|
-
* @static
|
|
354185
|
-
* @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration
|
|
354186
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
354187
|
-
* @returns {Object.<string,*>} Plain object
|
|
354188
|
-
*/
|
|
354189
|
-
SelectiveGapicGeneration.toObject = function toObject(message, options) {
|
|
354190
|
-
if (!options)
|
|
354191
|
-
options = {};
|
|
354192
|
-
var object = {};
|
|
354193
|
-
if (options.arrays || options.defaults)
|
|
354194
|
-
object.methods = [];
|
|
354195
|
-
if (options.defaults)
|
|
354196
|
-
object.generateOmittedAsInternal = false;
|
|
354197
|
-
if (message.methods && message.methods.length) {
|
|
354198
|
-
object.methods = [];
|
|
354199
|
-
for (var j = 0; j < message.methods.length; ++j)
|
|
354200
|
-
object.methods[j] = message.methods[j];
|
|
354201
|
-
}
|
|
354202
|
-
if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
|
|
354203
|
-
object.generateOmittedAsInternal = message.generateOmittedAsInternal;
|
|
354204
|
-
return object;
|
|
354205
|
-
};
|
|
354206
|
-
|
|
354207
|
-
/**
|
|
354208
|
-
* Converts this SelectiveGapicGeneration to JSON.
|
|
354209
|
-
* @function toJSON
|
|
354210
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
354211
|
-
* @instance
|
|
354212
|
-
* @returns {Object.<string,*>} JSON object
|
|
354213
|
-
*/
|
|
354214
|
-
SelectiveGapicGeneration.prototype.toJSON = function toJSON() {
|
|
354215
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
354216
|
-
};
|
|
354217
|
-
|
|
354218
|
-
/**
|
|
354219
|
-
* Gets the default type url for SelectiveGapicGeneration
|
|
354220
|
-
* @function getTypeUrl
|
|
354221
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
354222
|
-
* @static
|
|
354223
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
354224
|
-
* @returns {string} The default type url
|
|
354225
|
-
*/
|
|
354226
|
-
SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
354227
|
-
if (typeUrlPrefix === undefined) {
|
|
354228
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
354229
|
-
}
|
|
354230
|
-
return typeUrlPrefix + "/google.api.SelectiveGapicGeneration";
|
|
354231
|
-
};
|
|
354232
|
-
|
|
354233
|
-
return SelectiveGapicGeneration;
|
|
354234
|
-
})();
|
|
354235
|
-
|
|
354236
353690
|
/**
|
|
354237
353691
|
* LaunchStage enum.
|
|
354238
353692
|
* @name google.api.LaunchStage
|
|
@@ -354785,7 +354239,6 @@
|
|
|
354785
354239
|
* @name google.protobuf.Edition
|
|
354786
354240
|
* @enum {number}
|
|
354787
354241
|
* @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value
|
|
354788
|
-
* @property {number} EDITION_LEGACY=900 EDITION_LEGACY value
|
|
354789
354242
|
* @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value
|
|
354790
354243
|
* @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value
|
|
354791
354244
|
* @property {number} EDITION_2023=1000 EDITION_2023 value
|
|
@@ -354800,7 +354253,6 @@
|
|
|
354800
354253
|
protobuf.Edition = (function() {
|
|
354801
354254
|
var valuesById = {}, values = Object.create(valuesById);
|
|
354802
354255
|
values[valuesById[0] = "EDITION_UNKNOWN"] = 0;
|
|
354803
|
-
values[valuesById[900] = "EDITION_LEGACY"] = 900;
|
|
354804
354256
|
values[valuesById[998] = "EDITION_PROTO2"] = 998;
|
|
354805
354257
|
values[valuesById[999] = "EDITION_PROTO3"] = 999;
|
|
354806
354258
|
values[valuesById[1000] = "EDITION_2023"] = 1000;
|
|
@@ -354825,7 +354277,6 @@
|
|
|
354825
354277
|
* @property {Array.<string>|null} [dependency] FileDescriptorProto dependency
|
|
354826
354278
|
* @property {Array.<number>|null} [publicDependency] FileDescriptorProto publicDependency
|
|
354827
354279
|
* @property {Array.<number>|null} [weakDependency] FileDescriptorProto weakDependency
|
|
354828
|
-
* @property {Array.<string>|null} [optionDependency] FileDescriptorProto optionDependency
|
|
354829
354280
|
* @property {Array.<google.protobuf.IDescriptorProto>|null} [messageType] FileDescriptorProto messageType
|
|
354830
354281
|
* @property {Array.<google.protobuf.IEnumDescriptorProto>|null} [enumType] FileDescriptorProto enumType
|
|
354831
354282
|
* @property {Array.<google.protobuf.IServiceDescriptorProto>|null} [service] FileDescriptorProto service
|
|
@@ -354848,7 +354299,6 @@
|
|
|
354848
354299
|
this.dependency = [];
|
|
354849
354300
|
this.publicDependency = [];
|
|
354850
354301
|
this.weakDependency = [];
|
|
354851
|
-
this.optionDependency = [];
|
|
354852
354302
|
this.messageType = [];
|
|
354853
354303
|
this.enumType = [];
|
|
354854
354304
|
this.service = [];
|
|
@@ -354899,14 +354349,6 @@
|
|
|
354899
354349
|
*/
|
|
354900
354350
|
FileDescriptorProto.prototype.weakDependency = $util.emptyArray;
|
|
354901
354351
|
|
|
354902
|
-
/**
|
|
354903
|
-
* FileDescriptorProto optionDependency.
|
|
354904
|
-
* @member {Array.<string>} optionDependency
|
|
354905
|
-
* @memberof google.protobuf.FileDescriptorProto
|
|
354906
|
-
* @instance
|
|
354907
|
-
*/
|
|
354908
|
-
FileDescriptorProto.prototype.optionDependency = $util.emptyArray;
|
|
354909
|
-
|
|
354910
354352
|
/**
|
|
354911
354353
|
* FileDescriptorProto messageType.
|
|
354912
354354
|
* @member {Array.<google.protobuf.IDescriptorProto>} messageType
|
|
@@ -355028,9 +354470,6 @@
|
|
|
355028
354470
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax);
|
|
355029
354471
|
if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
|
|
355030
354472
|
writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition);
|
|
355031
|
-
if (message.optionDependency != null && message.optionDependency.length)
|
|
355032
|
-
for (var i = 0; i < message.optionDependency.length; ++i)
|
|
355033
|
-
writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]);
|
|
355034
354473
|
return writer;
|
|
355035
354474
|
};
|
|
355036
354475
|
|
|
@@ -355103,12 +354542,6 @@
|
|
|
355103
354542
|
message.weakDependency.push(reader.int32());
|
|
355104
354543
|
break;
|
|
355105
354544
|
}
|
|
355106
|
-
case 15: {
|
|
355107
|
-
if (!(message.optionDependency && message.optionDependency.length))
|
|
355108
|
-
message.optionDependency = [];
|
|
355109
|
-
message.optionDependency.push(reader.string());
|
|
355110
|
-
break;
|
|
355111
|
-
}
|
|
355112
354545
|
case 4: {
|
|
355113
354546
|
if (!(message.messageType && message.messageType.length))
|
|
355114
354547
|
message.messageType = [];
|
|
@@ -355211,13 +354644,6 @@
|
|
|
355211
354644
|
if (!$util.isInteger(message.weakDependency[i]))
|
|
355212
354645
|
return "weakDependency: integer[] expected";
|
|
355213
354646
|
}
|
|
355214
|
-
if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) {
|
|
355215
|
-
if (!Array.isArray(message.optionDependency))
|
|
355216
|
-
return "optionDependency: array expected";
|
|
355217
|
-
for (var i = 0; i < message.optionDependency.length; ++i)
|
|
355218
|
-
if (!$util.isString(message.optionDependency[i]))
|
|
355219
|
-
return "optionDependency: string[] expected";
|
|
355220
|
-
}
|
|
355221
354647
|
if (message.messageType != null && message.hasOwnProperty("messageType")) {
|
|
355222
354648
|
if (!Array.isArray(message.messageType))
|
|
355223
354649
|
return "messageType: array expected";
|
|
@@ -355272,7 +354698,6 @@
|
|
|
355272
354698
|
default:
|
|
355273
354699
|
return "edition: enum value expected";
|
|
355274
354700
|
case 0:
|
|
355275
|
-
case 900:
|
|
355276
354701
|
case 998:
|
|
355277
354702
|
case 999:
|
|
355278
354703
|
case 1000:
|
|
@@ -355325,13 +354750,6 @@
|
|
|
355325
354750
|
for (var i = 0; i < object.weakDependency.length; ++i)
|
|
355326
354751
|
message.weakDependency[i] = object.weakDependency[i] | 0;
|
|
355327
354752
|
}
|
|
355328
|
-
if (object.optionDependency) {
|
|
355329
|
-
if (!Array.isArray(object.optionDependency))
|
|
355330
|
-
throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected");
|
|
355331
|
-
message.optionDependency = [];
|
|
355332
|
-
for (var i = 0; i < object.optionDependency.length; ++i)
|
|
355333
|
-
message.optionDependency[i] = String(object.optionDependency[i]);
|
|
355334
|
-
}
|
|
355335
354753
|
if (object.messageType) {
|
|
355336
354754
|
if (!Array.isArray(object.messageType))
|
|
355337
354755
|
throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected");
|
|
@@ -355395,10 +354813,6 @@
|
|
|
355395
354813
|
case 0:
|
|
355396
354814
|
message.edition = 0;
|
|
355397
354815
|
break;
|
|
355398
|
-
case "EDITION_LEGACY":
|
|
355399
|
-
case 900:
|
|
355400
|
-
message.edition = 900;
|
|
355401
|
-
break;
|
|
355402
354816
|
case "EDITION_PROTO2":
|
|
355403
354817
|
case 998:
|
|
355404
354818
|
message.edition = 998;
|
|
@@ -355464,7 +354878,6 @@
|
|
|
355464
354878
|
object.extension = [];
|
|
355465
354879
|
object.publicDependency = [];
|
|
355466
354880
|
object.weakDependency = [];
|
|
355467
|
-
object.optionDependency = [];
|
|
355468
354881
|
}
|
|
355469
354882
|
if (options.defaults) {
|
|
355470
354883
|
object.name = "";
|
|
@@ -355521,11 +354934,6 @@
|
|
|
355521
354934
|
object.syntax = message.syntax;
|
|
355522
354935
|
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
355523
354936
|
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
|
355524
|
-
if (message.optionDependency && message.optionDependency.length) {
|
|
355525
|
-
object.optionDependency = [];
|
|
355526
|
-
for (var j = 0; j < message.optionDependency.length; ++j)
|
|
355527
|
-
object.optionDependency[j] = message.optionDependency[j];
|
|
355528
|
-
}
|
|
355529
354937
|
return object;
|
|
355530
354938
|
};
|
|
355531
354939
|
|
|
@@ -355574,7 +354982,6 @@
|
|
|
355574
354982
|
* @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options
|
|
355575
354983
|
* @property {Array.<google.protobuf.DescriptorProto.IReservedRange>|null} [reservedRange] DescriptorProto reservedRange
|
|
355576
354984
|
* @property {Array.<string>|null} [reservedName] DescriptorProto reservedName
|
|
355577
|
-
* @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility
|
|
355578
354985
|
*/
|
|
355579
354986
|
|
|
355580
354987
|
/**
|
|
@@ -355680,14 +355087,6 @@
|
|
|
355680
355087
|
*/
|
|
355681
355088
|
DescriptorProto.prototype.reservedName = $util.emptyArray;
|
|
355682
355089
|
|
|
355683
|
-
/**
|
|
355684
|
-
* DescriptorProto visibility.
|
|
355685
|
-
* @member {google.protobuf.SymbolVisibility} visibility
|
|
355686
|
-
* @memberof google.protobuf.DescriptorProto
|
|
355687
|
-
* @instance
|
|
355688
|
-
*/
|
|
355689
|
-
DescriptorProto.prototype.visibility = 0;
|
|
355690
|
-
|
|
355691
355090
|
/**
|
|
355692
355091
|
* Creates a new DescriptorProto instance using the specified properties.
|
|
355693
355092
|
* @function create
|
|
@@ -355740,8 +355139,6 @@
|
|
|
355740
355139
|
if (message.reservedName != null && message.reservedName.length)
|
|
355741
355140
|
for (var i = 0; i < message.reservedName.length; ++i)
|
|
355742
355141
|
writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]);
|
|
355743
|
-
if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
|
|
355744
|
-
writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility);
|
|
355745
355142
|
return writer;
|
|
355746
355143
|
};
|
|
355747
355144
|
|
|
@@ -355834,10 +355231,6 @@
|
|
|
355834
355231
|
message.reservedName.push(reader.string());
|
|
355835
355232
|
break;
|
|
355836
355233
|
}
|
|
355837
|
-
case 11: {
|
|
355838
|
-
message.visibility = reader.int32();
|
|
355839
|
-
break;
|
|
355840
|
-
}
|
|
355841
355234
|
default:
|
|
355842
355235
|
reader.skipType(tag & 7);
|
|
355843
355236
|
break;
|
|
@@ -355951,15 +355344,6 @@
|
|
|
355951
355344
|
if (!$util.isString(message.reservedName[i]))
|
|
355952
355345
|
return "reservedName: string[] expected";
|
|
355953
355346
|
}
|
|
355954
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
355955
|
-
switch (message.visibility) {
|
|
355956
|
-
default:
|
|
355957
|
-
return "visibility: enum value expected";
|
|
355958
|
-
case 0:
|
|
355959
|
-
case 1:
|
|
355960
|
-
case 2:
|
|
355961
|
-
break;
|
|
355962
|
-
}
|
|
355963
355347
|
return null;
|
|
355964
355348
|
};
|
|
355965
355349
|
|
|
@@ -356059,26 +355443,6 @@
|
|
|
356059
355443
|
for (var i = 0; i < object.reservedName.length; ++i)
|
|
356060
355444
|
message.reservedName[i] = String(object.reservedName[i]);
|
|
356061
355445
|
}
|
|
356062
|
-
switch (object.visibility) {
|
|
356063
|
-
default:
|
|
356064
|
-
if (typeof object.visibility === "number") {
|
|
356065
|
-
message.visibility = object.visibility;
|
|
356066
|
-
break;
|
|
356067
|
-
}
|
|
356068
|
-
break;
|
|
356069
|
-
case "VISIBILITY_UNSET":
|
|
356070
|
-
case 0:
|
|
356071
|
-
message.visibility = 0;
|
|
356072
|
-
break;
|
|
356073
|
-
case "VISIBILITY_LOCAL":
|
|
356074
|
-
case 1:
|
|
356075
|
-
message.visibility = 1;
|
|
356076
|
-
break;
|
|
356077
|
-
case "VISIBILITY_EXPORT":
|
|
356078
|
-
case 2:
|
|
356079
|
-
message.visibility = 2;
|
|
356080
|
-
break;
|
|
356081
|
-
}
|
|
356082
355446
|
return message;
|
|
356083
355447
|
};
|
|
356084
355448
|
|
|
@@ -356108,7 +355472,6 @@
|
|
|
356108
355472
|
if (options.defaults) {
|
|
356109
355473
|
object.name = "";
|
|
356110
355474
|
object.options = null;
|
|
356111
|
-
object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
|
|
356112
355475
|
}
|
|
356113
355476
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
356114
355477
|
object.name = message.name;
|
|
@@ -356154,8 +355517,6 @@
|
|
|
356154
355517
|
for (var j = 0; j < message.reservedName.length; ++j)
|
|
356155
355518
|
object.reservedName[j] = message.reservedName[j];
|
|
356156
355519
|
}
|
|
356157
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
356158
|
-
object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
|
|
356159
355520
|
return object;
|
|
356160
355521
|
};
|
|
356161
355522
|
|
|
@@ -358200,7 +357561,6 @@
|
|
|
358200
357561
|
* @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options
|
|
358201
357562
|
* @property {Array.<google.protobuf.EnumDescriptorProto.IEnumReservedRange>|null} [reservedRange] EnumDescriptorProto reservedRange
|
|
358202
357563
|
* @property {Array.<string>|null} [reservedName] EnumDescriptorProto reservedName
|
|
358203
|
-
* @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility
|
|
358204
357564
|
*/
|
|
358205
357565
|
|
|
358206
357566
|
/**
|
|
@@ -358261,14 +357621,6 @@
|
|
|
358261
357621
|
*/
|
|
358262
357622
|
EnumDescriptorProto.prototype.reservedName = $util.emptyArray;
|
|
358263
357623
|
|
|
358264
|
-
/**
|
|
358265
|
-
* EnumDescriptorProto visibility.
|
|
358266
|
-
* @member {google.protobuf.SymbolVisibility} visibility
|
|
358267
|
-
* @memberof google.protobuf.EnumDescriptorProto
|
|
358268
|
-
* @instance
|
|
358269
|
-
*/
|
|
358270
|
-
EnumDescriptorProto.prototype.visibility = 0;
|
|
358271
|
-
|
|
358272
357624
|
/**
|
|
358273
357625
|
* Creates a new EnumDescriptorProto instance using the specified properties.
|
|
358274
357626
|
* @function create
|
|
@@ -358306,8 +357658,6 @@
|
|
|
358306
357658
|
if (message.reservedName != null && message.reservedName.length)
|
|
358307
357659
|
for (var i = 0; i < message.reservedName.length; ++i)
|
|
358308
357660
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]);
|
|
358309
|
-
if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
|
|
358310
|
-
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility);
|
|
358311
357661
|
return writer;
|
|
358312
357662
|
};
|
|
358313
357663
|
|
|
@@ -358370,10 +357720,6 @@
|
|
|
358370
357720
|
message.reservedName.push(reader.string());
|
|
358371
357721
|
break;
|
|
358372
357722
|
}
|
|
358373
|
-
case 6: {
|
|
358374
|
-
message.visibility = reader.int32();
|
|
358375
|
-
break;
|
|
358376
|
-
}
|
|
358377
357723
|
default:
|
|
358378
357724
|
reader.skipType(tag & 7);
|
|
358379
357725
|
break;
|
|
@@ -358442,15 +357788,6 @@
|
|
|
358442
357788
|
if (!$util.isString(message.reservedName[i]))
|
|
358443
357789
|
return "reservedName: string[] expected";
|
|
358444
357790
|
}
|
|
358445
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
358446
|
-
switch (message.visibility) {
|
|
358447
|
-
default:
|
|
358448
|
-
return "visibility: enum value expected";
|
|
358449
|
-
case 0:
|
|
358450
|
-
case 1:
|
|
358451
|
-
case 2:
|
|
358452
|
-
break;
|
|
358453
|
-
}
|
|
358454
357791
|
return null;
|
|
358455
357792
|
};
|
|
358456
357793
|
|
|
@@ -358500,26 +357837,6 @@
|
|
|
358500
357837
|
for (var i = 0; i < object.reservedName.length; ++i)
|
|
358501
357838
|
message.reservedName[i] = String(object.reservedName[i]);
|
|
358502
357839
|
}
|
|
358503
|
-
switch (object.visibility) {
|
|
358504
|
-
default:
|
|
358505
|
-
if (typeof object.visibility === "number") {
|
|
358506
|
-
message.visibility = object.visibility;
|
|
358507
|
-
break;
|
|
358508
|
-
}
|
|
358509
|
-
break;
|
|
358510
|
-
case "VISIBILITY_UNSET":
|
|
358511
|
-
case 0:
|
|
358512
|
-
message.visibility = 0;
|
|
358513
|
-
break;
|
|
358514
|
-
case "VISIBILITY_LOCAL":
|
|
358515
|
-
case 1:
|
|
358516
|
-
message.visibility = 1;
|
|
358517
|
-
break;
|
|
358518
|
-
case "VISIBILITY_EXPORT":
|
|
358519
|
-
case 2:
|
|
358520
|
-
message.visibility = 2;
|
|
358521
|
-
break;
|
|
358522
|
-
}
|
|
358523
357840
|
return message;
|
|
358524
357841
|
};
|
|
358525
357842
|
|
|
@@ -358544,7 +357861,6 @@
|
|
|
358544
357861
|
if (options.defaults) {
|
|
358545
357862
|
object.name = "";
|
|
358546
357863
|
object.options = null;
|
|
358547
|
-
object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
|
|
358548
357864
|
}
|
|
358549
357865
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
358550
357866
|
object.name = message.name;
|
|
@@ -358565,8 +357881,6 @@
|
|
|
358565
357881
|
for (var j = 0; j < message.reservedName.length; ++j)
|
|
358566
357882
|
object.reservedName[j] = message.reservedName[j];
|
|
358567
357883
|
}
|
|
358568
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
358569
|
-
object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
|
|
358570
357884
|
return object;
|
|
358571
357885
|
};
|
|
358572
357886
|
|
|
@@ -360885,7 +360199,6 @@
|
|
|
360885
360199
|
* @property {Array.<google.protobuf.FieldOptions.OptionTargetType>|null} [targets] FieldOptions targets
|
|
360886
360200
|
* @property {Array.<google.protobuf.FieldOptions.IEditionDefault>|null} [editionDefaults] FieldOptions editionDefaults
|
|
360887
360201
|
* @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features
|
|
360888
|
-
* @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport
|
|
360889
360202
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] FieldOptions uninterpretedOption
|
|
360890
360203
|
* @property {Array.<google.api.FieldBehavior>|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior
|
|
360891
360204
|
* @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference
|
|
@@ -361006,14 +360319,6 @@
|
|
|
361006
360319
|
*/
|
|
361007
360320
|
FieldOptions.prototype.features = null;
|
|
361008
360321
|
|
|
361009
|
-
/**
|
|
361010
|
-
* FieldOptions featureSupport.
|
|
361011
|
-
* @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
|
|
361012
|
-
* @memberof google.protobuf.FieldOptions
|
|
361013
|
-
* @instance
|
|
361014
|
-
*/
|
|
361015
|
-
FieldOptions.prototype.featureSupport = null;
|
|
361016
|
-
|
|
361017
360322
|
/**
|
|
361018
360323
|
* FieldOptions uninterpretedOption.
|
|
361019
360324
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -361088,8 +360393,6 @@
|
|
|
361088
360393
|
$root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
361089
360394
|
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
361090
360395
|
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
361091
|
-
if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
|
|
361092
|
-
$root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
|
361093
360396
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
361094
360397
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
361095
360398
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -361191,10 +360494,6 @@
|
|
|
361191
360494
|
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
361192
360495
|
break;
|
|
361193
360496
|
}
|
|
361194
|
-
case 22: {
|
|
361195
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
|
|
361196
|
-
break;
|
|
361197
|
-
}
|
|
361198
360497
|
case 999: {
|
|
361199
360498
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
361200
360499
|
message.uninterpretedOption = [];
|
|
@@ -361330,11 +360629,6 @@
|
|
|
361330
360629
|
if (error)
|
|
361331
360630
|
return "features." + error;
|
|
361332
360631
|
}
|
|
361333
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
|
|
361334
|
-
var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
|
|
361335
|
-
if (error)
|
|
361336
|
-
return "featureSupport." + error;
|
|
361337
|
-
}
|
|
361338
360632
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
361339
360633
|
if (!Array.isArray(message.uninterpretedOption))
|
|
361340
360634
|
return "uninterpretedOption: array expected";
|
|
@@ -361523,11 +360817,6 @@
|
|
|
361523
360817
|
throw TypeError(".google.protobuf.FieldOptions.features: object expected");
|
|
361524
360818
|
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
361525
360819
|
}
|
|
361526
|
-
if (object.featureSupport != null) {
|
|
361527
|
-
if (typeof object.featureSupport !== "object")
|
|
361528
|
-
throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected");
|
|
361529
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
|
|
361530
|
-
}
|
|
361531
360820
|
if (object.uninterpretedOption) {
|
|
361532
360821
|
if (!Array.isArray(object.uninterpretedOption))
|
|
361533
360822
|
throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected");
|
|
@@ -361625,7 +360914,6 @@
|
|
|
361625
360914
|
object.debugRedact = false;
|
|
361626
360915
|
object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0;
|
|
361627
360916
|
object.features = null;
|
|
361628
|
-
object.featureSupport = null;
|
|
361629
360917
|
object[".google.api.resourceReference"] = null;
|
|
361630
360918
|
}
|
|
361631
360919
|
if (message.ctype != null && message.hasOwnProperty("ctype"))
|
|
@@ -361658,8 +360946,6 @@
|
|
|
361658
360946
|
}
|
|
361659
360947
|
if (message.features != null && message.hasOwnProperty("features"))
|
|
361660
360948
|
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
361661
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
|
|
361662
|
-
object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
|
|
361663
360949
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
361664
360950
|
object.uninterpretedOption = [];
|
|
361665
360951
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -361932,7 +361218,6 @@
|
|
|
361932
361218
|
default:
|
|
361933
361219
|
return "edition: enum value expected";
|
|
361934
361220
|
case 0:
|
|
361935
|
-
case 900:
|
|
361936
361221
|
case 998:
|
|
361937
361222
|
case 999:
|
|
361938
361223
|
case 1000:
|
|
@@ -361974,10 +361259,6 @@
|
|
|
361974
361259
|
case 0:
|
|
361975
361260
|
message.edition = 0;
|
|
361976
361261
|
break;
|
|
361977
|
-
case "EDITION_LEGACY":
|
|
361978
|
-
case 900:
|
|
361979
|
-
message.edition = 900;
|
|
361980
|
-
break;
|
|
361981
361262
|
case "EDITION_PROTO2":
|
|
361982
361263
|
case 998:
|
|
361983
361264
|
message.edition = 998;
|
|
@@ -362077,488 +361358,6 @@
|
|
|
362077
361358
|
return EditionDefault;
|
|
362078
361359
|
})();
|
|
362079
361360
|
|
|
362080
|
-
FieldOptions.FeatureSupport = (function() {
|
|
362081
|
-
|
|
362082
|
-
/**
|
|
362083
|
-
* Properties of a FeatureSupport.
|
|
362084
|
-
* @memberof google.protobuf.FieldOptions
|
|
362085
|
-
* @interface IFeatureSupport
|
|
362086
|
-
* @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced
|
|
362087
|
-
* @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated
|
|
362088
|
-
* @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning
|
|
362089
|
-
* @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved
|
|
362090
|
-
*/
|
|
362091
|
-
|
|
362092
|
-
/**
|
|
362093
|
-
* Constructs a new FeatureSupport.
|
|
362094
|
-
* @memberof google.protobuf.FieldOptions
|
|
362095
|
-
* @classdesc Represents a FeatureSupport.
|
|
362096
|
-
* @implements IFeatureSupport
|
|
362097
|
-
* @constructor
|
|
362098
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
|
|
362099
|
-
*/
|
|
362100
|
-
function FeatureSupport(properties) {
|
|
362101
|
-
if (properties)
|
|
362102
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
362103
|
-
if (properties[keys[i]] != null)
|
|
362104
|
-
this[keys[i]] = properties[keys[i]];
|
|
362105
|
-
}
|
|
362106
|
-
|
|
362107
|
-
/**
|
|
362108
|
-
* FeatureSupport editionIntroduced.
|
|
362109
|
-
* @member {google.protobuf.Edition} editionIntroduced
|
|
362110
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
362111
|
-
* @instance
|
|
362112
|
-
*/
|
|
362113
|
-
FeatureSupport.prototype.editionIntroduced = 0;
|
|
362114
|
-
|
|
362115
|
-
/**
|
|
362116
|
-
* FeatureSupport editionDeprecated.
|
|
362117
|
-
* @member {google.protobuf.Edition} editionDeprecated
|
|
362118
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
362119
|
-
* @instance
|
|
362120
|
-
*/
|
|
362121
|
-
FeatureSupport.prototype.editionDeprecated = 0;
|
|
362122
|
-
|
|
362123
|
-
/**
|
|
362124
|
-
* FeatureSupport deprecationWarning.
|
|
362125
|
-
* @member {string} deprecationWarning
|
|
362126
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
362127
|
-
* @instance
|
|
362128
|
-
*/
|
|
362129
|
-
FeatureSupport.prototype.deprecationWarning = "";
|
|
362130
|
-
|
|
362131
|
-
/**
|
|
362132
|
-
* FeatureSupport editionRemoved.
|
|
362133
|
-
* @member {google.protobuf.Edition} editionRemoved
|
|
362134
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
362135
|
-
* @instance
|
|
362136
|
-
*/
|
|
362137
|
-
FeatureSupport.prototype.editionRemoved = 0;
|
|
362138
|
-
|
|
362139
|
-
/**
|
|
362140
|
-
* Creates a new FeatureSupport instance using the specified properties.
|
|
362141
|
-
* @function create
|
|
362142
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
362143
|
-
* @static
|
|
362144
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
|
|
362145
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance
|
|
362146
|
-
*/
|
|
362147
|
-
FeatureSupport.create = function create(properties) {
|
|
362148
|
-
return new FeatureSupport(properties);
|
|
362149
|
-
};
|
|
362150
|
-
|
|
362151
|
-
/**
|
|
362152
|
-
* Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
362153
|
-
* @function encode
|
|
362154
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
362155
|
-
* @static
|
|
362156
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
|
|
362157
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
362158
|
-
* @returns {$protobuf.Writer} Writer
|
|
362159
|
-
*/
|
|
362160
|
-
FeatureSupport.encode = function encode(message, writer) {
|
|
362161
|
-
if (!writer)
|
|
362162
|
-
writer = $Writer.create();
|
|
362163
|
-
if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced"))
|
|
362164
|
-
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced);
|
|
362165
|
-
if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated"))
|
|
362166
|
-
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated);
|
|
362167
|
-
if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning"))
|
|
362168
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning);
|
|
362169
|
-
if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved"))
|
|
362170
|
-
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved);
|
|
362171
|
-
return writer;
|
|
362172
|
-
};
|
|
362173
|
-
|
|
362174
|
-
/**
|
|
362175
|
-
* Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
362176
|
-
* @function encodeDelimited
|
|
362177
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
362178
|
-
* @static
|
|
362179
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
|
|
362180
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
362181
|
-
* @returns {$protobuf.Writer} Writer
|
|
362182
|
-
*/
|
|
362183
|
-
FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) {
|
|
362184
|
-
return this.encode(message, writer).ldelim();
|
|
362185
|
-
};
|
|
362186
|
-
|
|
362187
|
-
/**
|
|
362188
|
-
* Decodes a FeatureSupport message from the specified reader or buffer.
|
|
362189
|
-
* @function decode
|
|
362190
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
362191
|
-
* @static
|
|
362192
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
362193
|
-
* @param {number} [length] Message length if known beforehand
|
|
362194
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
|
362195
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
362196
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
362197
|
-
*/
|
|
362198
|
-
FeatureSupport.decode = function decode(reader, length, error) {
|
|
362199
|
-
if (!(reader instanceof $Reader))
|
|
362200
|
-
reader = $Reader.create(reader);
|
|
362201
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport();
|
|
362202
|
-
while (reader.pos < end) {
|
|
362203
|
-
var tag = reader.uint32();
|
|
362204
|
-
if (tag === error)
|
|
362205
|
-
break;
|
|
362206
|
-
switch (tag >>> 3) {
|
|
362207
|
-
case 1: {
|
|
362208
|
-
message.editionIntroduced = reader.int32();
|
|
362209
|
-
break;
|
|
362210
|
-
}
|
|
362211
|
-
case 2: {
|
|
362212
|
-
message.editionDeprecated = reader.int32();
|
|
362213
|
-
break;
|
|
362214
|
-
}
|
|
362215
|
-
case 3: {
|
|
362216
|
-
message.deprecationWarning = reader.string();
|
|
362217
|
-
break;
|
|
362218
|
-
}
|
|
362219
|
-
case 4: {
|
|
362220
|
-
message.editionRemoved = reader.int32();
|
|
362221
|
-
break;
|
|
362222
|
-
}
|
|
362223
|
-
default:
|
|
362224
|
-
reader.skipType(tag & 7);
|
|
362225
|
-
break;
|
|
362226
|
-
}
|
|
362227
|
-
}
|
|
362228
|
-
return message;
|
|
362229
|
-
};
|
|
362230
|
-
|
|
362231
|
-
/**
|
|
362232
|
-
* Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
|
|
362233
|
-
* @function decodeDelimited
|
|
362234
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
362235
|
-
* @static
|
|
362236
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
362237
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
|
362238
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
362239
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
362240
|
-
*/
|
|
362241
|
-
FeatureSupport.decodeDelimited = function decodeDelimited(reader) {
|
|
362242
|
-
if (!(reader instanceof $Reader))
|
|
362243
|
-
reader = new $Reader(reader);
|
|
362244
|
-
return this.decode(reader, reader.uint32());
|
|
362245
|
-
};
|
|
362246
|
-
|
|
362247
|
-
/**
|
|
362248
|
-
* Verifies a FeatureSupport message.
|
|
362249
|
-
* @function verify
|
|
362250
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
362251
|
-
* @static
|
|
362252
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
362253
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
362254
|
-
*/
|
|
362255
|
-
FeatureSupport.verify = function verify(message) {
|
|
362256
|
-
if (typeof message !== "object" || message === null)
|
|
362257
|
-
return "object expected";
|
|
362258
|
-
if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced"))
|
|
362259
|
-
switch (message.editionIntroduced) {
|
|
362260
|
-
default:
|
|
362261
|
-
return "editionIntroduced: enum value expected";
|
|
362262
|
-
case 0:
|
|
362263
|
-
case 900:
|
|
362264
|
-
case 998:
|
|
362265
|
-
case 999:
|
|
362266
|
-
case 1000:
|
|
362267
|
-
case 1001:
|
|
362268
|
-
case 1:
|
|
362269
|
-
case 2:
|
|
362270
|
-
case 99997:
|
|
362271
|
-
case 99998:
|
|
362272
|
-
case 99999:
|
|
362273
|
-
case 2147483647:
|
|
362274
|
-
break;
|
|
362275
|
-
}
|
|
362276
|
-
if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated"))
|
|
362277
|
-
switch (message.editionDeprecated) {
|
|
362278
|
-
default:
|
|
362279
|
-
return "editionDeprecated: enum value expected";
|
|
362280
|
-
case 0:
|
|
362281
|
-
case 900:
|
|
362282
|
-
case 998:
|
|
362283
|
-
case 999:
|
|
362284
|
-
case 1000:
|
|
362285
|
-
case 1001:
|
|
362286
|
-
case 1:
|
|
362287
|
-
case 2:
|
|
362288
|
-
case 99997:
|
|
362289
|
-
case 99998:
|
|
362290
|
-
case 99999:
|
|
362291
|
-
case 2147483647:
|
|
362292
|
-
break;
|
|
362293
|
-
}
|
|
362294
|
-
if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
|
|
362295
|
-
if (!$util.isString(message.deprecationWarning))
|
|
362296
|
-
return "deprecationWarning: string expected";
|
|
362297
|
-
if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
|
|
362298
|
-
switch (message.editionRemoved) {
|
|
362299
|
-
default:
|
|
362300
|
-
return "editionRemoved: enum value expected";
|
|
362301
|
-
case 0:
|
|
362302
|
-
case 900:
|
|
362303
|
-
case 998:
|
|
362304
|
-
case 999:
|
|
362305
|
-
case 1000:
|
|
362306
|
-
case 1001:
|
|
362307
|
-
case 1:
|
|
362308
|
-
case 2:
|
|
362309
|
-
case 99997:
|
|
362310
|
-
case 99998:
|
|
362311
|
-
case 99999:
|
|
362312
|
-
case 2147483647:
|
|
362313
|
-
break;
|
|
362314
|
-
}
|
|
362315
|
-
return null;
|
|
362316
|
-
};
|
|
362317
|
-
|
|
362318
|
-
/**
|
|
362319
|
-
* Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
|
|
362320
|
-
* @function fromObject
|
|
362321
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
362322
|
-
* @static
|
|
362323
|
-
* @param {Object.<string,*>} object Plain object
|
|
362324
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
|
362325
|
-
*/
|
|
362326
|
-
FeatureSupport.fromObject = function fromObject(object) {
|
|
362327
|
-
if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport)
|
|
362328
|
-
return object;
|
|
362329
|
-
var message = new $root.google.protobuf.FieldOptions.FeatureSupport();
|
|
362330
|
-
switch (object.editionIntroduced) {
|
|
362331
|
-
default:
|
|
362332
|
-
if (typeof object.editionIntroduced === "number") {
|
|
362333
|
-
message.editionIntroduced = object.editionIntroduced;
|
|
362334
|
-
break;
|
|
362335
|
-
}
|
|
362336
|
-
break;
|
|
362337
|
-
case "EDITION_UNKNOWN":
|
|
362338
|
-
case 0:
|
|
362339
|
-
message.editionIntroduced = 0;
|
|
362340
|
-
break;
|
|
362341
|
-
case "EDITION_LEGACY":
|
|
362342
|
-
case 900:
|
|
362343
|
-
message.editionIntroduced = 900;
|
|
362344
|
-
break;
|
|
362345
|
-
case "EDITION_PROTO2":
|
|
362346
|
-
case 998:
|
|
362347
|
-
message.editionIntroduced = 998;
|
|
362348
|
-
break;
|
|
362349
|
-
case "EDITION_PROTO3":
|
|
362350
|
-
case 999:
|
|
362351
|
-
message.editionIntroduced = 999;
|
|
362352
|
-
break;
|
|
362353
|
-
case "EDITION_2023":
|
|
362354
|
-
case 1000:
|
|
362355
|
-
message.editionIntroduced = 1000;
|
|
362356
|
-
break;
|
|
362357
|
-
case "EDITION_2024":
|
|
362358
|
-
case 1001:
|
|
362359
|
-
message.editionIntroduced = 1001;
|
|
362360
|
-
break;
|
|
362361
|
-
case "EDITION_1_TEST_ONLY":
|
|
362362
|
-
case 1:
|
|
362363
|
-
message.editionIntroduced = 1;
|
|
362364
|
-
break;
|
|
362365
|
-
case "EDITION_2_TEST_ONLY":
|
|
362366
|
-
case 2:
|
|
362367
|
-
message.editionIntroduced = 2;
|
|
362368
|
-
break;
|
|
362369
|
-
case "EDITION_99997_TEST_ONLY":
|
|
362370
|
-
case 99997:
|
|
362371
|
-
message.editionIntroduced = 99997;
|
|
362372
|
-
break;
|
|
362373
|
-
case "EDITION_99998_TEST_ONLY":
|
|
362374
|
-
case 99998:
|
|
362375
|
-
message.editionIntroduced = 99998;
|
|
362376
|
-
break;
|
|
362377
|
-
case "EDITION_99999_TEST_ONLY":
|
|
362378
|
-
case 99999:
|
|
362379
|
-
message.editionIntroduced = 99999;
|
|
362380
|
-
break;
|
|
362381
|
-
case "EDITION_MAX":
|
|
362382
|
-
case 2147483647:
|
|
362383
|
-
message.editionIntroduced = 2147483647;
|
|
362384
|
-
break;
|
|
362385
|
-
}
|
|
362386
|
-
switch (object.editionDeprecated) {
|
|
362387
|
-
default:
|
|
362388
|
-
if (typeof object.editionDeprecated === "number") {
|
|
362389
|
-
message.editionDeprecated = object.editionDeprecated;
|
|
362390
|
-
break;
|
|
362391
|
-
}
|
|
362392
|
-
break;
|
|
362393
|
-
case "EDITION_UNKNOWN":
|
|
362394
|
-
case 0:
|
|
362395
|
-
message.editionDeprecated = 0;
|
|
362396
|
-
break;
|
|
362397
|
-
case "EDITION_LEGACY":
|
|
362398
|
-
case 900:
|
|
362399
|
-
message.editionDeprecated = 900;
|
|
362400
|
-
break;
|
|
362401
|
-
case "EDITION_PROTO2":
|
|
362402
|
-
case 998:
|
|
362403
|
-
message.editionDeprecated = 998;
|
|
362404
|
-
break;
|
|
362405
|
-
case "EDITION_PROTO3":
|
|
362406
|
-
case 999:
|
|
362407
|
-
message.editionDeprecated = 999;
|
|
362408
|
-
break;
|
|
362409
|
-
case "EDITION_2023":
|
|
362410
|
-
case 1000:
|
|
362411
|
-
message.editionDeprecated = 1000;
|
|
362412
|
-
break;
|
|
362413
|
-
case "EDITION_2024":
|
|
362414
|
-
case 1001:
|
|
362415
|
-
message.editionDeprecated = 1001;
|
|
362416
|
-
break;
|
|
362417
|
-
case "EDITION_1_TEST_ONLY":
|
|
362418
|
-
case 1:
|
|
362419
|
-
message.editionDeprecated = 1;
|
|
362420
|
-
break;
|
|
362421
|
-
case "EDITION_2_TEST_ONLY":
|
|
362422
|
-
case 2:
|
|
362423
|
-
message.editionDeprecated = 2;
|
|
362424
|
-
break;
|
|
362425
|
-
case "EDITION_99997_TEST_ONLY":
|
|
362426
|
-
case 99997:
|
|
362427
|
-
message.editionDeprecated = 99997;
|
|
362428
|
-
break;
|
|
362429
|
-
case "EDITION_99998_TEST_ONLY":
|
|
362430
|
-
case 99998:
|
|
362431
|
-
message.editionDeprecated = 99998;
|
|
362432
|
-
break;
|
|
362433
|
-
case "EDITION_99999_TEST_ONLY":
|
|
362434
|
-
case 99999:
|
|
362435
|
-
message.editionDeprecated = 99999;
|
|
362436
|
-
break;
|
|
362437
|
-
case "EDITION_MAX":
|
|
362438
|
-
case 2147483647:
|
|
362439
|
-
message.editionDeprecated = 2147483647;
|
|
362440
|
-
break;
|
|
362441
|
-
}
|
|
362442
|
-
if (object.deprecationWarning != null)
|
|
362443
|
-
message.deprecationWarning = String(object.deprecationWarning);
|
|
362444
|
-
switch (object.editionRemoved) {
|
|
362445
|
-
default:
|
|
362446
|
-
if (typeof object.editionRemoved === "number") {
|
|
362447
|
-
message.editionRemoved = object.editionRemoved;
|
|
362448
|
-
break;
|
|
362449
|
-
}
|
|
362450
|
-
break;
|
|
362451
|
-
case "EDITION_UNKNOWN":
|
|
362452
|
-
case 0:
|
|
362453
|
-
message.editionRemoved = 0;
|
|
362454
|
-
break;
|
|
362455
|
-
case "EDITION_LEGACY":
|
|
362456
|
-
case 900:
|
|
362457
|
-
message.editionRemoved = 900;
|
|
362458
|
-
break;
|
|
362459
|
-
case "EDITION_PROTO2":
|
|
362460
|
-
case 998:
|
|
362461
|
-
message.editionRemoved = 998;
|
|
362462
|
-
break;
|
|
362463
|
-
case "EDITION_PROTO3":
|
|
362464
|
-
case 999:
|
|
362465
|
-
message.editionRemoved = 999;
|
|
362466
|
-
break;
|
|
362467
|
-
case "EDITION_2023":
|
|
362468
|
-
case 1000:
|
|
362469
|
-
message.editionRemoved = 1000;
|
|
362470
|
-
break;
|
|
362471
|
-
case "EDITION_2024":
|
|
362472
|
-
case 1001:
|
|
362473
|
-
message.editionRemoved = 1001;
|
|
362474
|
-
break;
|
|
362475
|
-
case "EDITION_1_TEST_ONLY":
|
|
362476
|
-
case 1:
|
|
362477
|
-
message.editionRemoved = 1;
|
|
362478
|
-
break;
|
|
362479
|
-
case "EDITION_2_TEST_ONLY":
|
|
362480
|
-
case 2:
|
|
362481
|
-
message.editionRemoved = 2;
|
|
362482
|
-
break;
|
|
362483
|
-
case "EDITION_99997_TEST_ONLY":
|
|
362484
|
-
case 99997:
|
|
362485
|
-
message.editionRemoved = 99997;
|
|
362486
|
-
break;
|
|
362487
|
-
case "EDITION_99998_TEST_ONLY":
|
|
362488
|
-
case 99998:
|
|
362489
|
-
message.editionRemoved = 99998;
|
|
362490
|
-
break;
|
|
362491
|
-
case "EDITION_99999_TEST_ONLY":
|
|
362492
|
-
case 99999:
|
|
362493
|
-
message.editionRemoved = 99999;
|
|
362494
|
-
break;
|
|
362495
|
-
case "EDITION_MAX":
|
|
362496
|
-
case 2147483647:
|
|
362497
|
-
message.editionRemoved = 2147483647;
|
|
362498
|
-
break;
|
|
362499
|
-
}
|
|
362500
|
-
return message;
|
|
362501
|
-
};
|
|
362502
|
-
|
|
362503
|
-
/**
|
|
362504
|
-
* Creates a plain object from a FeatureSupport message. Also converts values to other types if specified.
|
|
362505
|
-
* @function toObject
|
|
362506
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
362507
|
-
* @static
|
|
362508
|
-
* @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport
|
|
362509
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
362510
|
-
* @returns {Object.<string,*>} Plain object
|
|
362511
|
-
*/
|
|
362512
|
-
FeatureSupport.toObject = function toObject(message, options) {
|
|
362513
|
-
if (!options)
|
|
362514
|
-
options = {};
|
|
362515
|
-
var object = {};
|
|
362516
|
-
if (options.defaults) {
|
|
362517
|
-
object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
362518
|
-
object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
362519
|
-
object.deprecationWarning = "";
|
|
362520
|
-
object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
362521
|
-
}
|
|
362522
|
-
if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced"))
|
|
362523
|
-
object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced;
|
|
362524
|
-
if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated"))
|
|
362525
|
-
object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated;
|
|
362526
|
-
if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
|
|
362527
|
-
object.deprecationWarning = message.deprecationWarning;
|
|
362528
|
-
if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
|
|
362529
|
-
object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved;
|
|
362530
|
-
return object;
|
|
362531
|
-
};
|
|
362532
|
-
|
|
362533
|
-
/**
|
|
362534
|
-
* Converts this FeatureSupport to JSON.
|
|
362535
|
-
* @function toJSON
|
|
362536
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
362537
|
-
* @instance
|
|
362538
|
-
* @returns {Object.<string,*>} JSON object
|
|
362539
|
-
*/
|
|
362540
|
-
FeatureSupport.prototype.toJSON = function toJSON() {
|
|
362541
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
362542
|
-
};
|
|
362543
|
-
|
|
362544
|
-
/**
|
|
362545
|
-
* Gets the default type url for FeatureSupport
|
|
362546
|
-
* @function getTypeUrl
|
|
362547
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
362548
|
-
* @static
|
|
362549
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
362550
|
-
* @returns {string} The default type url
|
|
362551
|
-
*/
|
|
362552
|
-
FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
362553
|
-
if (typeUrlPrefix === undefined) {
|
|
362554
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
362555
|
-
}
|
|
362556
|
-
return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport";
|
|
362557
|
-
};
|
|
362558
|
-
|
|
362559
|
-
return FeatureSupport;
|
|
362560
|
-
})();
|
|
362561
|
-
|
|
362562
361361
|
return FieldOptions;
|
|
362563
361362
|
})();
|
|
362564
361363
|
|
|
@@ -363151,7 +361950,6 @@
|
|
|
363151
361950
|
* @property {boolean|null} [deprecated] EnumValueOptions deprecated
|
|
363152
361951
|
* @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features
|
|
363153
361952
|
* @property {boolean|null} [debugRedact] EnumValueOptions debugRedact
|
|
363154
|
-
* @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport
|
|
363155
361953
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] EnumValueOptions uninterpretedOption
|
|
363156
361954
|
*/
|
|
363157
361955
|
|
|
@@ -363195,14 +361993,6 @@
|
|
|
363195
361993
|
*/
|
|
363196
361994
|
EnumValueOptions.prototype.debugRedact = false;
|
|
363197
361995
|
|
|
363198
|
-
/**
|
|
363199
|
-
* EnumValueOptions featureSupport.
|
|
363200
|
-
* @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
|
|
363201
|
-
* @memberof google.protobuf.EnumValueOptions
|
|
363202
|
-
* @instance
|
|
363203
|
-
*/
|
|
363204
|
-
EnumValueOptions.prototype.featureSupport = null;
|
|
363205
|
-
|
|
363206
361996
|
/**
|
|
363207
361997
|
* EnumValueOptions uninterpretedOption.
|
|
363208
361998
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -363241,8 +362031,6 @@
|
|
|
363241
362031
|
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
363242
362032
|
if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact"))
|
|
363243
362033
|
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact);
|
|
363244
|
-
if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
|
|
363245
|
-
$root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
363246
362034
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
363247
362035
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
363248
362036
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -363294,10 +362082,6 @@
|
|
|
363294
362082
|
message.debugRedact = reader.bool();
|
|
363295
362083
|
break;
|
|
363296
362084
|
}
|
|
363297
|
-
case 4: {
|
|
363298
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
|
|
363299
|
-
break;
|
|
363300
|
-
}
|
|
363301
362085
|
case 999: {
|
|
363302
362086
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
363303
362087
|
message.uninterpretedOption = [];
|
|
@@ -363350,11 +362134,6 @@
|
|
|
363350
362134
|
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
|
|
363351
362135
|
if (typeof message.debugRedact !== "boolean")
|
|
363352
362136
|
return "debugRedact: boolean expected";
|
|
363353
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
|
|
363354
|
-
var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
|
|
363355
|
-
if (error)
|
|
363356
|
-
return "featureSupport." + error;
|
|
363357
|
-
}
|
|
363358
362137
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
363359
362138
|
if (!Array.isArray(message.uninterpretedOption))
|
|
363360
362139
|
return "uninterpretedOption: array expected";
|
|
@@ -363388,11 +362167,6 @@
|
|
|
363388
362167
|
}
|
|
363389
362168
|
if (object.debugRedact != null)
|
|
363390
362169
|
message.debugRedact = Boolean(object.debugRedact);
|
|
363391
|
-
if (object.featureSupport != null) {
|
|
363392
|
-
if (typeof object.featureSupport !== "object")
|
|
363393
|
-
throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected");
|
|
363394
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
|
|
363395
|
-
}
|
|
363396
362170
|
if (object.uninterpretedOption) {
|
|
363397
362171
|
if (!Array.isArray(object.uninterpretedOption))
|
|
363398
362172
|
throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");
|
|
@@ -363425,7 +362199,6 @@
|
|
|
363425
362199
|
object.deprecated = false;
|
|
363426
362200
|
object.features = null;
|
|
363427
362201
|
object.debugRedact = false;
|
|
363428
|
-
object.featureSupport = null;
|
|
363429
362202
|
}
|
|
363430
362203
|
if (message.deprecated != null && message.hasOwnProperty("deprecated"))
|
|
363431
362204
|
object.deprecated = message.deprecated;
|
|
@@ -363433,8 +362206,6 @@
|
|
|
363433
362206
|
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
363434
362207
|
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
|
|
363435
362208
|
object.debugRedact = message.debugRedact;
|
|
363436
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
|
|
363437
|
-
object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
|
|
363438
362209
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
363439
362210
|
object.uninterpretedOption = [];
|
|
363440
362211
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -364902,8 +363673,6 @@
|
|
|
364902
363673
|
* @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation
|
|
364903
363674
|
* @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding
|
|
364904
363675
|
* @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat
|
|
364905
|
-
* @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle
|
|
364906
|
-
* @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility
|
|
364907
363676
|
*/
|
|
364908
363677
|
|
|
364909
363678
|
/**
|
|
@@ -364969,22 +363738,6 @@
|
|
|
364969
363738
|
*/
|
|
364970
363739
|
FeatureSet.prototype.jsonFormat = 0;
|
|
364971
363740
|
|
|
364972
|
-
/**
|
|
364973
|
-
* FeatureSet enforceNamingStyle.
|
|
364974
|
-
* @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle
|
|
364975
|
-
* @memberof google.protobuf.FeatureSet
|
|
364976
|
-
* @instance
|
|
364977
|
-
*/
|
|
364978
|
-
FeatureSet.prototype.enforceNamingStyle = 0;
|
|
364979
|
-
|
|
364980
|
-
/**
|
|
364981
|
-
* FeatureSet defaultSymbolVisibility.
|
|
364982
|
-
* @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility
|
|
364983
|
-
* @memberof google.protobuf.FeatureSet
|
|
364984
|
-
* @instance
|
|
364985
|
-
*/
|
|
364986
|
-
FeatureSet.prototype.defaultSymbolVisibility = 0;
|
|
364987
|
-
|
|
364988
363741
|
/**
|
|
364989
363742
|
* Creates a new FeatureSet instance using the specified properties.
|
|
364990
363743
|
* @function create
|
|
@@ -365021,10 +363774,6 @@
|
|
|
365021
363774
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding);
|
|
365022
363775
|
if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat"))
|
|
365023
363776
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat);
|
|
365024
|
-
if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle"))
|
|
365025
|
-
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle);
|
|
365026
|
-
if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility"))
|
|
365027
|
-
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility);
|
|
365028
363777
|
return writer;
|
|
365029
363778
|
};
|
|
365030
363779
|
|
|
@@ -365085,14 +363834,6 @@
|
|
|
365085
363834
|
message.jsonFormat = reader.int32();
|
|
365086
363835
|
break;
|
|
365087
363836
|
}
|
|
365088
|
-
case 7: {
|
|
365089
|
-
message.enforceNamingStyle = reader.int32();
|
|
365090
|
-
break;
|
|
365091
|
-
}
|
|
365092
|
-
case 8: {
|
|
365093
|
-
message.defaultSymbolVisibility = reader.int32();
|
|
365094
|
-
break;
|
|
365095
|
-
}
|
|
365096
363837
|
default:
|
|
365097
363838
|
reader.skipType(tag & 7);
|
|
365098
363839
|
break;
|
|
@@ -365183,26 +363924,6 @@
|
|
|
365183
363924
|
case 2:
|
|
365184
363925
|
break;
|
|
365185
363926
|
}
|
|
365186
|
-
if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
|
|
365187
|
-
switch (message.enforceNamingStyle) {
|
|
365188
|
-
default:
|
|
365189
|
-
return "enforceNamingStyle: enum value expected";
|
|
365190
|
-
case 0:
|
|
365191
|
-
case 1:
|
|
365192
|
-
case 2:
|
|
365193
|
-
break;
|
|
365194
|
-
}
|
|
365195
|
-
if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
|
|
365196
|
-
switch (message.defaultSymbolVisibility) {
|
|
365197
|
-
default:
|
|
365198
|
-
return "defaultSymbolVisibility: enum value expected";
|
|
365199
|
-
case 0:
|
|
365200
|
-
case 1:
|
|
365201
|
-
case 2:
|
|
365202
|
-
case 3:
|
|
365203
|
-
case 4:
|
|
365204
|
-
break;
|
|
365205
|
-
}
|
|
365206
363927
|
return null;
|
|
365207
363928
|
};
|
|
365208
363929
|
|
|
@@ -365342,54 +364063,6 @@
|
|
|
365342
364063
|
message.jsonFormat = 2;
|
|
365343
364064
|
break;
|
|
365344
364065
|
}
|
|
365345
|
-
switch (object.enforceNamingStyle) {
|
|
365346
|
-
default:
|
|
365347
|
-
if (typeof object.enforceNamingStyle === "number") {
|
|
365348
|
-
message.enforceNamingStyle = object.enforceNamingStyle;
|
|
365349
|
-
break;
|
|
365350
|
-
}
|
|
365351
|
-
break;
|
|
365352
|
-
case "ENFORCE_NAMING_STYLE_UNKNOWN":
|
|
365353
|
-
case 0:
|
|
365354
|
-
message.enforceNamingStyle = 0;
|
|
365355
|
-
break;
|
|
365356
|
-
case "STYLE2024":
|
|
365357
|
-
case 1:
|
|
365358
|
-
message.enforceNamingStyle = 1;
|
|
365359
|
-
break;
|
|
365360
|
-
case "STYLE_LEGACY":
|
|
365361
|
-
case 2:
|
|
365362
|
-
message.enforceNamingStyle = 2;
|
|
365363
|
-
break;
|
|
365364
|
-
}
|
|
365365
|
-
switch (object.defaultSymbolVisibility) {
|
|
365366
|
-
default:
|
|
365367
|
-
if (typeof object.defaultSymbolVisibility === "number") {
|
|
365368
|
-
message.defaultSymbolVisibility = object.defaultSymbolVisibility;
|
|
365369
|
-
break;
|
|
365370
|
-
}
|
|
365371
|
-
break;
|
|
365372
|
-
case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN":
|
|
365373
|
-
case 0:
|
|
365374
|
-
message.defaultSymbolVisibility = 0;
|
|
365375
|
-
break;
|
|
365376
|
-
case "EXPORT_ALL":
|
|
365377
|
-
case 1:
|
|
365378
|
-
message.defaultSymbolVisibility = 1;
|
|
365379
|
-
break;
|
|
365380
|
-
case "EXPORT_TOP_LEVEL":
|
|
365381
|
-
case 2:
|
|
365382
|
-
message.defaultSymbolVisibility = 2;
|
|
365383
|
-
break;
|
|
365384
|
-
case "LOCAL_ALL":
|
|
365385
|
-
case 3:
|
|
365386
|
-
message.defaultSymbolVisibility = 3;
|
|
365387
|
-
break;
|
|
365388
|
-
case "STRICT":
|
|
365389
|
-
case 4:
|
|
365390
|
-
message.defaultSymbolVisibility = 4;
|
|
365391
|
-
break;
|
|
365392
|
-
}
|
|
365393
364066
|
return message;
|
|
365394
364067
|
};
|
|
365395
364068
|
|
|
@@ -365413,8 +364086,6 @@
|
|
|
365413
364086
|
object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0;
|
|
365414
364087
|
object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0;
|
|
365415
364088
|
object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0;
|
|
365416
|
-
object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0;
|
|
365417
|
-
object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0;
|
|
365418
364089
|
}
|
|
365419
364090
|
if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence"))
|
|
365420
364091
|
object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence;
|
|
@@ -365428,10 +364099,6 @@
|
|
|
365428
364099
|
object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding;
|
|
365429
364100
|
if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat"))
|
|
365430
364101
|
object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat;
|
|
365431
|
-
if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
|
|
365432
|
-
object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle;
|
|
365433
|
-
if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
|
|
365434
|
-
object.defaultSymbolVisibility = options.enums === String ? $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] === undefined ? message.defaultSymbolVisibility : $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] : message.defaultSymbolVisibility;
|
|
365435
364102
|
return object;
|
|
365436
364103
|
};
|
|
365437
364104
|
|
|
@@ -365559,219 +364226,6 @@
|
|
|
365559
364226
|
return values;
|
|
365560
364227
|
})();
|
|
365561
364228
|
|
|
365562
|
-
/**
|
|
365563
|
-
* EnforceNamingStyle enum.
|
|
365564
|
-
* @name google.protobuf.FeatureSet.EnforceNamingStyle
|
|
365565
|
-
* @enum {number}
|
|
365566
|
-
* @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value
|
|
365567
|
-
* @property {number} STYLE2024=1 STYLE2024 value
|
|
365568
|
-
* @property {number} STYLE_LEGACY=2 STYLE_LEGACY value
|
|
365569
|
-
*/
|
|
365570
|
-
FeatureSet.EnforceNamingStyle = (function() {
|
|
365571
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
365572
|
-
values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0;
|
|
365573
|
-
values[valuesById[1] = "STYLE2024"] = 1;
|
|
365574
|
-
values[valuesById[2] = "STYLE_LEGACY"] = 2;
|
|
365575
|
-
return values;
|
|
365576
|
-
})();
|
|
365577
|
-
|
|
365578
|
-
FeatureSet.VisibilityFeature = (function() {
|
|
365579
|
-
|
|
365580
|
-
/**
|
|
365581
|
-
* Properties of a VisibilityFeature.
|
|
365582
|
-
* @memberof google.protobuf.FeatureSet
|
|
365583
|
-
* @interface IVisibilityFeature
|
|
365584
|
-
*/
|
|
365585
|
-
|
|
365586
|
-
/**
|
|
365587
|
-
* Constructs a new VisibilityFeature.
|
|
365588
|
-
* @memberof google.protobuf.FeatureSet
|
|
365589
|
-
* @classdesc Represents a VisibilityFeature.
|
|
365590
|
-
* @implements IVisibilityFeature
|
|
365591
|
-
* @constructor
|
|
365592
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
|
|
365593
|
-
*/
|
|
365594
|
-
function VisibilityFeature(properties) {
|
|
365595
|
-
if (properties)
|
|
365596
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
365597
|
-
if (properties[keys[i]] != null)
|
|
365598
|
-
this[keys[i]] = properties[keys[i]];
|
|
365599
|
-
}
|
|
365600
|
-
|
|
365601
|
-
/**
|
|
365602
|
-
* Creates a new VisibilityFeature instance using the specified properties.
|
|
365603
|
-
* @function create
|
|
365604
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
365605
|
-
* @static
|
|
365606
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
|
|
365607
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance
|
|
365608
|
-
*/
|
|
365609
|
-
VisibilityFeature.create = function create(properties) {
|
|
365610
|
-
return new VisibilityFeature(properties);
|
|
365611
|
-
};
|
|
365612
|
-
|
|
365613
|
-
/**
|
|
365614
|
-
* Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
365615
|
-
* @function encode
|
|
365616
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
365617
|
-
* @static
|
|
365618
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
|
|
365619
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
365620
|
-
* @returns {$protobuf.Writer} Writer
|
|
365621
|
-
*/
|
|
365622
|
-
VisibilityFeature.encode = function encode(message, writer) {
|
|
365623
|
-
if (!writer)
|
|
365624
|
-
writer = $Writer.create();
|
|
365625
|
-
return writer;
|
|
365626
|
-
};
|
|
365627
|
-
|
|
365628
|
-
/**
|
|
365629
|
-
* Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
365630
|
-
* @function encodeDelimited
|
|
365631
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
365632
|
-
* @static
|
|
365633
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
|
|
365634
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
365635
|
-
* @returns {$protobuf.Writer} Writer
|
|
365636
|
-
*/
|
|
365637
|
-
VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) {
|
|
365638
|
-
return this.encode(message, writer).ldelim();
|
|
365639
|
-
};
|
|
365640
|
-
|
|
365641
|
-
/**
|
|
365642
|
-
* Decodes a VisibilityFeature message from the specified reader or buffer.
|
|
365643
|
-
* @function decode
|
|
365644
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
365645
|
-
* @static
|
|
365646
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
365647
|
-
* @param {number} [length] Message length if known beforehand
|
|
365648
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
|
365649
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
365650
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
365651
|
-
*/
|
|
365652
|
-
VisibilityFeature.decode = function decode(reader, length, error) {
|
|
365653
|
-
if (!(reader instanceof $Reader))
|
|
365654
|
-
reader = $Reader.create(reader);
|
|
365655
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature();
|
|
365656
|
-
while (reader.pos < end) {
|
|
365657
|
-
var tag = reader.uint32();
|
|
365658
|
-
if (tag === error)
|
|
365659
|
-
break;
|
|
365660
|
-
switch (tag >>> 3) {
|
|
365661
|
-
default:
|
|
365662
|
-
reader.skipType(tag & 7);
|
|
365663
|
-
break;
|
|
365664
|
-
}
|
|
365665
|
-
}
|
|
365666
|
-
return message;
|
|
365667
|
-
};
|
|
365668
|
-
|
|
365669
|
-
/**
|
|
365670
|
-
* Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
|
|
365671
|
-
* @function decodeDelimited
|
|
365672
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
365673
|
-
* @static
|
|
365674
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
365675
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
|
365676
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
365677
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
365678
|
-
*/
|
|
365679
|
-
VisibilityFeature.decodeDelimited = function decodeDelimited(reader) {
|
|
365680
|
-
if (!(reader instanceof $Reader))
|
|
365681
|
-
reader = new $Reader(reader);
|
|
365682
|
-
return this.decode(reader, reader.uint32());
|
|
365683
|
-
};
|
|
365684
|
-
|
|
365685
|
-
/**
|
|
365686
|
-
* Verifies a VisibilityFeature message.
|
|
365687
|
-
* @function verify
|
|
365688
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
365689
|
-
* @static
|
|
365690
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
365691
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
365692
|
-
*/
|
|
365693
|
-
VisibilityFeature.verify = function verify(message) {
|
|
365694
|
-
if (typeof message !== "object" || message === null)
|
|
365695
|
-
return "object expected";
|
|
365696
|
-
return null;
|
|
365697
|
-
};
|
|
365698
|
-
|
|
365699
|
-
/**
|
|
365700
|
-
* Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
|
|
365701
|
-
* @function fromObject
|
|
365702
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
365703
|
-
* @static
|
|
365704
|
-
* @param {Object.<string,*>} object Plain object
|
|
365705
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
|
365706
|
-
*/
|
|
365707
|
-
VisibilityFeature.fromObject = function fromObject(object) {
|
|
365708
|
-
if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature)
|
|
365709
|
-
return object;
|
|
365710
|
-
return new $root.google.protobuf.FeatureSet.VisibilityFeature();
|
|
365711
|
-
};
|
|
365712
|
-
|
|
365713
|
-
/**
|
|
365714
|
-
* Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
|
|
365715
|
-
* @function toObject
|
|
365716
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
365717
|
-
* @static
|
|
365718
|
-
* @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature
|
|
365719
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
365720
|
-
* @returns {Object.<string,*>} Plain object
|
|
365721
|
-
*/
|
|
365722
|
-
VisibilityFeature.toObject = function toObject() {
|
|
365723
|
-
return {};
|
|
365724
|
-
};
|
|
365725
|
-
|
|
365726
|
-
/**
|
|
365727
|
-
* Converts this VisibilityFeature to JSON.
|
|
365728
|
-
* @function toJSON
|
|
365729
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
365730
|
-
* @instance
|
|
365731
|
-
* @returns {Object.<string,*>} JSON object
|
|
365732
|
-
*/
|
|
365733
|
-
VisibilityFeature.prototype.toJSON = function toJSON() {
|
|
365734
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
365735
|
-
};
|
|
365736
|
-
|
|
365737
|
-
/**
|
|
365738
|
-
* Gets the default type url for VisibilityFeature
|
|
365739
|
-
* @function getTypeUrl
|
|
365740
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
365741
|
-
* @static
|
|
365742
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
365743
|
-
* @returns {string} The default type url
|
|
365744
|
-
*/
|
|
365745
|
-
VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
365746
|
-
if (typeUrlPrefix === undefined) {
|
|
365747
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
365748
|
-
}
|
|
365749
|
-
return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature";
|
|
365750
|
-
};
|
|
365751
|
-
|
|
365752
|
-
/**
|
|
365753
|
-
* DefaultSymbolVisibility enum.
|
|
365754
|
-
* @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility
|
|
365755
|
-
* @enum {number}
|
|
365756
|
-
* @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value
|
|
365757
|
-
* @property {number} EXPORT_ALL=1 EXPORT_ALL value
|
|
365758
|
-
* @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value
|
|
365759
|
-
* @property {number} LOCAL_ALL=3 LOCAL_ALL value
|
|
365760
|
-
* @property {number} STRICT=4 STRICT value
|
|
365761
|
-
*/
|
|
365762
|
-
VisibilityFeature.DefaultSymbolVisibility = (function() {
|
|
365763
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
365764
|
-
values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0;
|
|
365765
|
-
values[valuesById[1] = "EXPORT_ALL"] = 1;
|
|
365766
|
-
values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2;
|
|
365767
|
-
values[valuesById[3] = "LOCAL_ALL"] = 3;
|
|
365768
|
-
values[valuesById[4] = "STRICT"] = 4;
|
|
365769
|
-
return values;
|
|
365770
|
-
})();
|
|
365771
|
-
|
|
365772
|
-
return VisibilityFeature;
|
|
365773
|
-
})();
|
|
365774
|
-
|
|
365775
364229
|
return FeatureSet;
|
|
365776
364230
|
})();
|
|
365777
364231
|
|
|
@@ -365956,7 +364410,6 @@
|
|
|
365956
364410
|
default:
|
|
365957
364411
|
return "minimumEdition: enum value expected";
|
|
365958
364412
|
case 0:
|
|
365959
|
-
case 900:
|
|
365960
364413
|
case 998:
|
|
365961
364414
|
case 999:
|
|
365962
364415
|
case 1000:
|
|
@@ -365974,7 +364427,6 @@
|
|
|
365974
364427
|
default:
|
|
365975
364428
|
return "maximumEdition: enum value expected";
|
|
365976
364429
|
case 0:
|
|
365977
|
-
case 900:
|
|
365978
364430
|
case 998:
|
|
365979
364431
|
case 999:
|
|
365980
364432
|
case 1000:
|
|
@@ -366023,10 +364475,6 @@
|
|
|
366023
364475
|
case 0:
|
|
366024
364476
|
message.minimumEdition = 0;
|
|
366025
364477
|
break;
|
|
366026
|
-
case "EDITION_LEGACY":
|
|
366027
|
-
case 900:
|
|
366028
|
-
message.minimumEdition = 900;
|
|
366029
|
-
break;
|
|
366030
364478
|
case "EDITION_PROTO2":
|
|
366031
364479
|
case 998:
|
|
366032
364480
|
message.minimumEdition = 998;
|
|
@@ -366079,10 +364527,6 @@
|
|
|
366079
364527
|
case 0:
|
|
366080
364528
|
message.maximumEdition = 0;
|
|
366081
364529
|
break;
|
|
366082
|
-
case "EDITION_LEGACY":
|
|
366083
|
-
case 900:
|
|
366084
|
-
message.maximumEdition = 900;
|
|
366085
|
-
break;
|
|
366086
364530
|
case "EDITION_PROTO2":
|
|
366087
364531
|
case 998:
|
|
366088
364532
|
message.maximumEdition = 998;
|
|
@@ -366191,8 +364635,7 @@
|
|
|
366191
364635
|
* @memberof google.protobuf.FeatureSetDefaults
|
|
366192
364636
|
* @interface IFeatureSetEditionDefault
|
|
366193
364637
|
* @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition
|
|
366194
|
-
* @property {google.protobuf.IFeatureSet|null} [
|
|
366195
|
-
* @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures
|
|
364638
|
+
* @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features
|
|
366196
364639
|
*/
|
|
366197
364640
|
|
|
366198
364641
|
/**
|
|
@@ -366219,20 +364662,12 @@
|
|
|
366219
364662
|
FeatureSetEditionDefault.prototype.edition = 0;
|
|
366220
364663
|
|
|
366221
364664
|
/**
|
|
366222
|
-
* FeatureSetEditionDefault
|
|
366223
|
-
* @member {google.protobuf.IFeatureSet|null|undefined}
|
|
366224
|
-
* @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
366225
|
-
* @instance
|
|
366226
|
-
*/
|
|
366227
|
-
FeatureSetEditionDefault.prototype.overridableFeatures = null;
|
|
366228
|
-
|
|
366229
|
-
/**
|
|
366230
|
-
* FeatureSetEditionDefault fixedFeatures.
|
|
366231
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures
|
|
364665
|
+
* FeatureSetEditionDefault features.
|
|
364666
|
+
* @member {google.protobuf.IFeatureSet|null|undefined} features
|
|
366232
364667
|
* @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
366233
364668
|
* @instance
|
|
366234
364669
|
*/
|
|
366235
|
-
FeatureSetEditionDefault.prototype.
|
|
364670
|
+
FeatureSetEditionDefault.prototype.features = null;
|
|
366236
364671
|
|
|
366237
364672
|
/**
|
|
366238
364673
|
* Creates a new FeatureSetEditionDefault instance using the specified properties.
|
|
@@ -366258,12 +364693,10 @@
|
|
|
366258
364693
|
FeatureSetEditionDefault.encode = function encode(message, writer) {
|
|
366259
364694
|
if (!writer)
|
|
366260
364695
|
writer = $Writer.create();
|
|
364696
|
+
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
364697
|
+
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
366261
364698
|
if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
|
|
366262
364699
|
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition);
|
|
366263
|
-
if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures"))
|
|
366264
|
-
$root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
366265
|
-
if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures"))
|
|
366266
|
-
$root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
366267
364700
|
return writer;
|
|
366268
364701
|
};
|
|
366269
364702
|
|
|
@@ -366304,12 +364737,8 @@
|
|
|
366304
364737
|
message.edition = reader.int32();
|
|
366305
364738
|
break;
|
|
366306
364739
|
}
|
|
366307
|
-
case
|
|
366308
|
-
message.
|
|
366309
|
-
break;
|
|
366310
|
-
}
|
|
366311
|
-
case 5: {
|
|
366312
|
-
message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
364740
|
+
case 2: {
|
|
364741
|
+
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
366313
364742
|
break;
|
|
366314
364743
|
}
|
|
366315
364744
|
default:
|
|
@@ -366352,7 +364781,6 @@
|
|
|
366352
364781
|
default:
|
|
366353
364782
|
return "edition: enum value expected";
|
|
366354
364783
|
case 0:
|
|
366355
|
-
case 900:
|
|
366356
364784
|
case 998:
|
|
366357
364785
|
case 999:
|
|
366358
364786
|
case 1000:
|
|
@@ -366365,15 +364793,10 @@
|
|
|
366365
364793
|
case 2147483647:
|
|
366366
364794
|
break;
|
|
366367
364795
|
}
|
|
366368
|
-
if (message.
|
|
366369
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.
|
|
364796
|
+
if (message.features != null && message.hasOwnProperty("features")) {
|
|
364797
|
+
var error = $root.google.protobuf.FeatureSet.verify(message.features);
|
|
366370
364798
|
if (error)
|
|
366371
|
-
return "
|
|
366372
|
-
}
|
|
366373
|
-
if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) {
|
|
366374
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures);
|
|
366375
|
-
if (error)
|
|
366376
|
-
return "fixedFeatures." + error;
|
|
364799
|
+
return "features." + error;
|
|
366377
364800
|
}
|
|
366378
364801
|
return null;
|
|
366379
364802
|
};
|
|
@@ -366401,10 +364824,6 @@
|
|
|
366401
364824
|
case 0:
|
|
366402
364825
|
message.edition = 0;
|
|
366403
364826
|
break;
|
|
366404
|
-
case "EDITION_LEGACY":
|
|
366405
|
-
case 900:
|
|
366406
|
-
message.edition = 900;
|
|
366407
|
-
break;
|
|
366408
364827
|
case "EDITION_PROTO2":
|
|
366409
364828
|
case 998:
|
|
366410
364829
|
message.edition = 998;
|
|
@@ -366446,15 +364865,10 @@
|
|
|
366446
364865
|
message.edition = 2147483647;
|
|
366447
364866
|
break;
|
|
366448
364867
|
}
|
|
366449
|
-
if (object.
|
|
366450
|
-
if (typeof object.
|
|
366451
|
-
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.
|
|
366452
|
-
message.
|
|
366453
|
-
}
|
|
366454
|
-
if (object.fixedFeatures != null) {
|
|
366455
|
-
if (typeof object.fixedFeatures !== "object")
|
|
366456
|
-
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected");
|
|
366457
|
-
message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures);
|
|
364868
|
+
if (object.features != null) {
|
|
364869
|
+
if (typeof object.features !== "object")
|
|
364870
|
+
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected");
|
|
364871
|
+
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
366458
364872
|
}
|
|
366459
364873
|
return message;
|
|
366460
364874
|
};
|
|
@@ -366473,16 +364887,13 @@
|
|
|
366473
364887
|
options = {};
|
|
366474
364888
|
var object = {};
|
|
366475
364889
|
if (options.defaults) {
|
|
364890
|
+
object.features = null;
|
|
366476
364891
|
object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
366477
|
-
object.overridableFeatures = null;
|
|
366478
|
-
object.fixedFeatures = null;
|
|
366479
364892
|
}
|
|
364893
|
+
if (message.features != null && message.hasOwnProperty("features"))
|
|
364894
|
+
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
366480
364895
|
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
366481
364896
|
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
|
366482
|
-
if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures"))
|
|
366483
|
-
object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options);
|
|
366484
|
-
if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures"))
|
|
366485
|
-
object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options);
|
|
366486
364897
|
return object;
|
|
366487
364898
|
};
|
|
366488
364899
|
|
|
@@ -367697,22 +366108,6 @@
|
|
|
367697
366108
|
return GeneratedCodeInfo;
|
|
367698
366109
|
})();
|
|
367699
366110
|
|
|
367700
|
-
/**
|
|
367701
|
-
* SymbolVisibility enum.
|
|
367702
|
-
* @name google.protobuf.SymbolVisibility
|
|
367703
|
-
* @enum {number}
|
|
367704
|
-
* @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value
|
|
367705
|
-
* @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value
|
|
367706
|
-
* @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value
|
|
367707
|
-
*/
|
|
367708
|
-
protobuf.SymbolVisibility = (function() {
|
|
367709
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
367710
|
-
values[valuesById[0] = "VISIBILITY_UNSET"] = 0;
|
|
367711
|
-
values[valuesById[1] = "VISIBILITY_LOCAL"] = 1;
|
|
367712
|
-
values[valuesById[2] = "VISIBILITY_EXPORT"] = 2;
|
|
367713
|
-
return values;
|
|
367714
|
-
})();
|
|
367715
|
-
|
|
367716
366111
|
protobuf.Struct = (function() {
|
|
367717
366112
|
|
|
367718
366113
|
/**
|