@replit/protocol 0.4.12 → 0.4.14

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/main/index.js CHANGED
@@ -60038,6 +60038,7 @@
60038
60038
  * @interface IReplspaceApiSSHTokenGetRequest
60039
60039
  * @property {string|null} [nonce] ReplspaceApiSSHTokenGetRequest nonce
60040
60040
  * @property {string|null} [replid] ReplspaceApiSSHTokenGetRequest replid
60041
+ * @property {google.protobuf.Timestamp|google.protobuf.ITimestamp|null} [before] ReplspaceApiSSHTokenGetRequest before
60041
60042
  */
60042
60043
 
60043
60044
  /**
@@ -60070,6 +60071,14 @@
60070
60071
  */
60071
60072
  ReplspaceApiSSHTokenGetRequest.prototype.replid = "";
60072
60073
 
60074
+ /**
60075
+ * ReplspaceApiSSHTokenGetRequest before.
60076
+ * @member {google.protobuf.Timestamp|null|undefined} before
60077
+ * @memberof replit.goval.api.ReplspaceApiSSHTokenGetRequest
60078
+ * @instance
60079
+ */
60080
+ ReplspaceApiSSHTokenGetRequest.prototype.before = null;
60081
+
60073
60082
  /**
60074
60083
  * Creates a new ReplspaceApiSSHTokenGetRequest instance using the specified properties.
60075
60084
  * @function create
@@ -60098,6 +60107,8 @@
60098
60107
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.nonce);
60099
60108
  if (message.replid != null && Object.hasOwnProperty.call(message, "replid"))
60100
60109
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.replid);
60110
+ if (message.before != null && Object.hasOwnProperty.call(message, "before"))
60111
+ $root.google.protobuf.Timestamp.encode(message.before, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
60101
60112
  return writer;
60102
60113
  };
60103
60114
 
@@ -60140,6 +60151,10 @@
60140
60151
  message.replid = reader.string();
60141
60152
  break;
60142
60153
  }
60154
+ case 3: {
60155
+ message.before = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
60156
+ break;
60157
+ }
60143
60158
  default:
60144
60159
  reader.skipType(tag & 7);
60145
60160
  break;
@@ -60181,6 +60196,11 @@
60181
60196
  if (message.replid != null && message.hasOwnProperty("replid"))
60182
60197
  if (!$util.isString(message.replid))
60183
60198
  return "replid: string expected";
60199
+ if (message.before != null && message.hasOwnProperty("before")) {
60200
+ var error = $root.google.protobuf.Timestamp.verify(message.before);
60201
+ if (error)
60202
+ return "before." + error;
60203
+ }
60184
60204
  return null;
60185
60205
  };
60186
60206
 
@@ -60200,6 +60220,11 @@
60200
60220
  message.nonce = String(object.nonce);
60201
60221
  if (object.replid != null)
60202
60222
  message.replid = String(object.replid);
60223
+ if (object.before != null) {
60224
+ if (typeof object.before !== "object")
60225
+ throw TypeError(".replit.goval.api.ReplspaceApiSSHTokenGetRequest.before: object expected");
60226
+ message.before = $root.google.protobuf.Timestamp.fromObject(object.before);
60227
+ }
60203
60228
  return message;
60204
60229
  };
60205
60230
 
@@ -60219,11 +60244,14 @@
60219
60244
  if (options.defaults) {
60220
60245
  object.nonce = "";
60221
60246
  object.replid = "";
60247
+ object.before = null;
60222
60248
  }
60223
60249
  if (message.nonce != null && message.hasOwnProperty("nonce"))
60224
60250
  object.nonce = message.nonce;
60225
60251
  if (message.replid != null && message.hasOwnProperty("replid"))
60226
60252
  object.replid = message.replid;
60253
+ if (message.before != null && message.hasOwnProperty("before"))
60254
+ object.before = $root.google.protobuf.Timestamp.toObject(message.before, options);
60227
60255
  return object;
60228
60256
  };
60229
60257
 
@@ -73605,6 +73633,7 @@
73605
73633
  * @property {boolean|null} [replexec] ReplToken replexec
73606
73634
  * @property {Array.<replit.goval.api.token.ReplToken.ExternalSecret|replit.goval.api.token.ReplToken.IExternalSecret>|null} [externalSecrets] ReplToken externalSecrets
73607
73635
  * @property {google.protobuf.Timestamp|google.protobuf.ITimestamp|null} [before] ReplToken before
73636
+ * @property {Array.<replit.goval.api.chamber.ChamberSecretName|replit.goval.api.chamber.IChamberSecretName>|null} [chamberSecrets] ReplToken chamberSecrets
73608
73637
  */
73609
73638
 
73610
73639
  /**
@@ -73618,6 +73647,7 @@
73618
73647
  this.flags = [];
73619
73648
  this.features = [];
73620
73649
  this.externalSecrets = [];
73650
+ this.chamberSecrets = [];
73621
73651
  if (properties)
73622
73652
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
73623
73653
  if (properties[keys[i]] != null)
@@ -73784,6 +73814,14 @@
73784
73814
  */
73785
73815
  ReplToken.prototype.before = null;
73786
73816
 
73817
+ /**
73818
+ * ReplToken chamberSecrets.
73819
+ * @member {Array.<replit.goval.api.chamber.ChamberSecretName>} chamberSecrets
73820
+ * @memberof replit.goval.api.token.ReplToken
73821
+ * @instance
73822
+ */
73823
+ ReplToken.prototype.chamberSecrets = $util.emptyArray;
73824
+
73787
73825
  // OneOf field names bound to virtual getters and setters
73788
73826
  var $oneOfFields;
73789
73827
 
@@ -73865,6 +73903,9 @@
73865
73903
  $root.replit.goval.api.token.ReplToken.ExternalSecret.encode(message.externalSecrets[i], writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
73866
73904
  if (message.before != null && Object.hasOwnProperty.call(message, "before"))
73867
73905
  $root.google.protobuf.Timestamp.encode(message.before, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
73906
+ if (message.chamberSecrets != null && message.chamberSecrets.length)
73907
+ for (var i = 0; i < message.chamberSecrets.length; ++i)
73908
+ $root.replit.goval.api.chamber.ChamberSecretName.encode(message.chamberSecrets[i], writer.uint32(/* id 24, wireType 2 =*/194).fork()).ldelim();
73868
73909
  return writer;
73869
73910
  };
73870
73911
 
@@ -73985,6 +74026,12 @@
73985
74026
  message.before = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
73986
74027
  break;
73987
74028
  }
74029
+ case 24: {
74030
+ if (!(message.chamberSecrets && message.chamberSecrets.length))
74031
+ message.chamberSecrets = [];
74032
+ message.chamberSecrets.push($root.replit.goval.api.chamber.ChamberSecretName.decode(reader, reader.uint32()));
74033
+ break;
74034
+ }
73988
74035
  default:
73989
74036
  reader.skipType(tag & 7);
73990
74037
  break;
@@ -74146,6 +74193,15 @@
74146
74193
  if (error)
74147
74194
  return "before." + error;
74148
74195
  }
74196
+ if (message.chamberSecrets != null && message.hasOwnProperty("chamberSecrets")) {
74197
+ if (!Array.isArray(message.chamberSecrets))
74198
+ return "chamberSecrets: array expected";
74199
+ for (var i = 0; i < message.chamberSecrets.length; ++i) {
74200
+ var error = $root.replit.goval.api.chamber.ChamberSecretName.verify(message.chamberSecrets[i]);
74201
+ if (error)
74202
+ return "chamberSecrets." + error;
74203
+ }
74204
+ }
74149
74205
  return null;
74150
74206
  };
74151
74207
 
@@ -74299,6 +74355,16 @@
74299
74355
  throw TypeError(".replit.goval.api.token.ReplToken.before: object expected");
74300
74356
  message.before = $root.google.protobuf.Timestamp.fromObject(object.before);
74301
74357
  }
74358
+ if (object.chamberSecrets) {
74359
+ if (!Array.isArray(object.chamberSecrets))
74360
+ throw TypeError(".replit.goval.api.token.ReplToken.chamberSecrets: array expected");
74361
+ message.chamberSecrets = [];
74362
+ for (var i = 0; i < object.chamberSecrets.length; ++i) {
74363
+ if (typeof object.chamberSecrets[i] !== "object")
74364
+ throw TypeError(".replit.goval.api.token.ReplToken.chamberSecrets: object expected");
74365
+ message.chamberSecrets[i] = $root.replit.goval.api.chamber.ChamberSecretName.fromObject(object.chamberSecrets[i]);
74366
+ }
74367
+ }
74302
74368
  return message;
74303
74369
  };
74304
74370
 
@@ -74319,6 +74385,7 @@
74319
74385
  object.flags = [];
74320
74386
  object.features = [];
74321
74387
  object.externalSecrets = [];
74388
+ object.chamberSecrets = [];
74322
74389
  }
74323
74390
  if (options.defaults) {
74324
74391
  object.iat = null;
@@ -74394,6 +74461,11 @@
74394
74461
  }
74395
74462
  if (message.before != null && message.hasOwnProperty("before"))
74396
74463
  object.before = $root.google.protobuf.Timestamp.toObject(message.before, options);
74464
+ if (message.chamberSecrets && message.chamberSecrets.length) {
74465
+ object.chamberSecrets = [];
74466
+ for (var j = 0; j < message.chamberSecrets.length; ++j)
74467
+ object.chamberSecrets[j] = $root.replit.goval.api.chamber.ChamberSecretName.toObject(message.chamberSecrets[j], options);
74468
+ }
74397
74469
  return object;
74398
74470
  };
74399
74471
 
@@ -79868,8 +79940,6 @@
79868
79940
  * @property {string|null} [continent] CreateReplRequest continent
79869
79941
  * @property {replit.goval.api.lore.ReplLocation|replit.goval.api.lore.IReplLocation|null} [replLocation] CreateReplRequest replLocation
79870
79942
  * @property {replit.goval.api.lore.CreateReplRequest.SourceRepl|replit.goval.api.lore.CreateReplRequest.ISourceRepl|null} [sourceRepl] CreateReplRequest sourceRepl
79871
- * @property {replit.goval.api.lore.CreateReplRequest.SourceFiles|replit.goval.api.lore.CreateReplRequest.ISourceFiles|null} [sourceFiles] CreateReplRequest sourceFiles
79872
- * @property {string|null} [overrideFilesBucket] CreateReplRequest overrideFilesBucket
79873
79943
  */
79874
79944
 
79875
79945
  /**
@@ -79926,22 +79996,6 @@
79926
79996
  */
79927
79997
  CreateReplRequest.prototype.sourceRepl = null;
79928
79998
 
79929
- /**
79930
- * CreateReplRequest sourceFiles.
79931
- * @member {replit.goval.api.lore.CreateReplRequest.SourceFiles|null|undefined} sourceFiles
79932
- * @memberof replit.goval.api.lore.CreateReplRequest
79933
- * @instance
79934
- */
79935
- CreateReplRequest.prototype.sourceFiles = null;
79936
-
79937
- /**
79938
- * CreateReplRequest overrideFilesBucket.
79939
- * @member {string} overrideFilesBucket
79940
- * @memberof replit.goval.api.lore.CreateReplRequest
79941
- * @instance
79942
- */
79943
- CreateReplRequest.prototype.overrideFilesBucket = "";
79944
-
79945
79999
  // OneOf field names bound to virtual getters and setters
79946
80000
  var $oneOfFields;
79947
80001
 
@@ -79956,17 +80010,6 @@
79956
80010
  set: $util.oneOfSetter($oneOfFields)
79957
80011
  });
79958
80012
 
79959
- /**
79960
- * CreateReplRequest source.
79961
- * @member {"sourceRepl"|"sourceFiles"|undefined} source
79962
- * @memberof replit.goval.api.lore.CreateReplRequest
79963
- * @instance
79964
- */
79965
- Object.defineProperty(CreateReplRequest.prototype, "source", {
79966
- get: $util.oneOfGetter($oneOfFields = ["sourceRepl", "sourceFiles"]),
79967
- set: $util.oneOfSetter($oneOfFields)
79968
- });
79969
-
79970
80013
  /**
79971
80014
  * Creates a new CreateReplRequest instance using the specified properties.
79972
80015
  * @function create
@@ -79997,10 +80040,6 @@
79997
80040
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.cluster);
79998
80041
  if (message.sourceRepl != null && Object.hasOwnProperty.call(message, "sourceRepl"))
79999
80042
  $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.encode(message.sourceRepl, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
80000
- if (message.sourceFiles != null && Object.hasOwnProperty.call(message, "sourceFiles"))
80001
- $root.replit.goval.api.lore.CreateReplRequest.SourceFiles.encode(message.sourceFiles, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
80002
- if (message.overrideFilesBucket != null && Object.hasOwnProperty.call(message, "overrideFilesBucket"))
80003
- writer.uint32(/* id 5, wireType 2 =*/42).string(message.overrideFilesBucket);
80004
80043
  if (message.continent != null && Object.hasOwnProperty.call(message, "continent"))
80005
80044
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.continent);
80006
80045
  if (message.replLocation != null && Object.hasOwnProperty.call(message, "replLocation"))
@@ -80059,14 +80098,6 @@
80059
80098
  message.sourceRepl = $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.decode(reader, reader.uint32());
80060
80099
  break;
80061
80100
  }
80062
- case 4: {
80063
- message.sourceFiles = $root.replit.goval.api.lore.CreateReplRequest.SourceFiles.decode(reader, reader.uint32());
80064
- break;
80065
- }
80066
- case 5: {
80067
- message.overrideFilesBucket = reader.string();
80068
- break;
80069
- }
80070
80101
  default:
80071
80102
  reader.skipType(tag & 7);
80072
80103
  break;
@@ -80126,26 +80157,10 @@
80126
80157
  return "replLocation." + error;
80127
80158
  }
80128
80159
  if (message.sourceRepl != null && message.hasOwnProperty("sourceRepl")) {
80129
- properties.source = 1;
80130
- {
80131
- var error = $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.verify(message.sourceRepl);
80132
- if (error)
80133
- return "sourceRepl." + error;
80134
- }
80135
- }
80136
- if (message.sourceFiles != null && message.hasOwnProperty("sourceFiles")) {
80137
- if (properties.source === 1)
80138
- return "source: multiple values";
80139
- properties.source = 1;
80140
- {
80141
- var error = $root.replit.goval.api.lore.CreateReplRequest.SourceFiles.verify(message.sourceFiles);
80142
- if (error)
80143
- return "sourceFiles." + error;
80144
- }
80160
+ var error = $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.verify(message.sourceRepl);
80161
+ if (error)
80162
+ return "sourceRepl." + error;
80145
80163
  }
80146
- if (message.overrideFilesBucket != null && message.hasOwnProperty("overrideFilesBucket"))
80147
- if (!$util.isString(message.overrideFilesBucket))
80148
- return "overrideFilesBucket: string expected";
80149
80164
  return null;
80150
80165
  };
80151
80166
 
@@ -80180,13 +80195,6 @@
80180
80195
  throw TypeError(".replit.goval.api.lore.CreateReplRequest.sourceRepl: object expected");
80181
80196
  message.sourceRepl = $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.fromObject(object.sourceRepl);
80182
80197
  }
80183
- if (object.sourceFiles != null) {
80184
- if (typeof object.sourceFiles !== "object")
80185
- throw TypeError(".replit.goval.api.lore.CreateReplRequest.sourceFiles: object expected");
80186
- message.sourceFiles = $root.replit.goval.api.lore.CreateReplRequest.SourceFiles.fromObject(object.sourceFiles);
80187
- }
80188
- if (object.overrideFilesBucket != null)
80189
- message.overrideFilesBucket = String(object.overrideFilesBucket);
80190
80198
  return message;
80191
80199
  };
80192
80200
 
@@ -80205,7 +80213,7 @@
80205
80213
  var object = {};
80206
80214
  if (options.defaults) {
80207
80215
  object.repl = null;
80208
- object.overrideFilesBucket = "";
80216
+ object.sourceRepl = null;
80209
80217
  object.replLocation = null;
80210
80218
  }
80211
80219
  if (message.repl != null && message.hasOwnProperty("repl"))
@@ -80215,18 +80223,8 @@
80215
80223
  if (options.oneofs)
80216
80224
  object.location = "cluster";
80217
80225
  }
80218
- if (message.sourceRepl != null && message.hasOwnProperty("sourceRepl")) {
80226
+ if (message.sourceRepl != null && message.hasOwnProperty("sourceRepl"))
80219
80227
  object.sourceRepl = $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.toObject(message.sourceRepl, options);
80220
- if (options.oneofs)
80221
- object.source = "sourceRepl";
80222
- }
80223
- if (message.sourceFiles != null && message.hasOwnProperty("sourceFiles")) {
80224
- object.sourceFiles = $root.replit.goval.api.lore.CreateReplRequest.SourceFiles.toObject(message.sourceFiles, options);
80225
- if (options.oneofs)
80226
- object.source = "sourceFiles";
80227
- }
80228
- if (message.overrideFilesBucket != null && message.hasOwnProperty("overrideFilesBucket"))
80229
- object.overrideFilesBucket = message.overrideFilesBucket;
80230
80228
  if (message.continent != null && message.hasOwnProperty("continent")) {
80231
80229
  object.continent = message.continent;
80232
80230
  if (options.oneofs)
@@ -80724,229 +80722,6 @@
80724
80722
  return File;
80725
80723
  })();
80726
80724
 
80727
- CreateReplRequest.SourceFiles = (function() {
80728
-
80729
- /**
80730
- * Properties of a SourceFiles.
80731
- * @memberof replit.goval.api.lore.CreateReplRequest
80732
- * @interface ISourceFiles
80733
- * @property {Array.<replit.goval.api.lore.CreateReplRequest.File|replit.goval.api.lore.CreateReplRequest.IFile>|null} [files] SourceFiles files
80734
- */
80735
-
80736
- /**
80737
- * Constructs a new SourceFiles.
80738
- * @memberof replit.goval.api.lore.CreateReplRequest
80739
- * @classdesc Represents a SourceFiles.
80740
- * @constructor
80741
- * @param {replit.goval.api.lore.CreateReplRequest.ISourceFiles=} [properties] Properties to set
80742
- */
80743
- function SourceFiles(properties) {
80744
- this.files = [];
80745
- if (properties)
80746
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
80747
- if (properties[keys[i]] != null)
80748
- this[keys[i]] = properties[keys[i]];
80749
- }
80750
-
80751
- /**
80752
- * SourceFiles files.
80753
- * @member {Array.<replit.goval.api.lore.CreateReplRequest.File>} files
80754
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80755
- * @instance
80756
- */
80757
- SourceFiles.prototype.files = $util.emptyArray;
80758
-
80759
- /**
80760
- * Creates a new SourceFiles instance using the specified properties.
80761
- * @function create
80762
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80763
- * @static
80764
- * @param {replit.goval.api.lore.CreateReplRequest.ISourceFiles=} [properties] Properties to set
80765
- * @returns {replit.goval.api.lore.CreateReplRequest.SourceFiles} SourceFiles instance
80766
- */
80767
- SourceFiles.create = function create(properties) {
80768
- return SourceFiles.fromObject(properties);
80769
- };
80770
-
80771
- /**
80772
- * Encodes the specified SourceFiles message. Does not implicitly {@link replit.goval.api.lore.CreateReplRequest.SourceFiles.verify|verify} messages.
80773
- * @function encode
80774
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80775
- * @static
80776
- * @param {replit.goval.api.lore.CreateReplRequest.SourceFiles} message SourceFiles message or plain object to encode
80777
- * @param {$protobuf.Writer} [writer] Writer to encode to
80778
- * @returns {$protobuf.Writer} Writer
80779
- */
80780
- SourceFiles.encode = function encode(message, writer) {
80781
- if (!writer)
80782
- writer = $Writer.create();
80783
- if (message.files != null && message.files.length)
80784
- for (var i = 0; i < message.files.length; ++i)
80785
- $root.replit.goval.api.lore.CreateReplRequest.File.encode(message.files[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
80786
- return writer;
80787
- };
80788
-
80789
- /**
80790
- * Encodes the specified SourceFiles message, length delimited. Does not implicitly {@link replit.goval.api.lore.CreateReplRequest.SourceFiles.verify|verify} messages.
80791
- * @function encodeDelimited
80792
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80793
- * @static
80794
- * @param {replit.goval.api.lore.CreateReplRequest.SourceFiles} message SourceFiles message or plain object to encode
80795
- * @param {$protobuf.Writer} [writer] Writer to encode to
80796
- * @returns {$protobuf.Writer} Writer
80797
- */
80798
- SourceFiles.encodeDelimited = function encodeDelimited(message, writer) {
80799
- return this.encode(message, writer).ldelim();
80800
- };
80801
-
80802
- /**
80803
- * Decodes a SourceFiles message from the specified reader or buffer.
80804
- * @function decode
80805
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80806
- * @static
80807
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
80808
- * @param {number} [length] Message length if known beforehand
80809
- * @returns {replit.goval.api.lore.CreateReplRequest.SourceFiles} SourceFiles
80810
- * @throws {Error} If the payload is not a reader or valid buffer
80811
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
80812
- */
80813
- SourceFiles.decode = function decode(reader, length) {
80814
- if (!(reader instanceof $Reader))
80815
- reader = $Reader.create(reader);
80816
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.CreateReplRequest.SourceFiles();
80817
- while (reader.pos < end) {
80818
- var tag = reader.uint32();
80819
- switch (tag >>> 3) {
80820
- case 1: {
80821
- if (!(message.files && message.files.length))
80822
- message.files = [];
80823
- message.files.push($root.replit.goval.api.lore.CreateReplRequest.File.decode(reader, reader.uint32()));
80824
- break;
80825
- }
80826
- default:
80827
- reader.skipType(tag & 7);
80828
- break;
80829
- }
80830
- }
80831
- return message;
80832
- };
80833
-
80834
- /**
80835
- * Decodes a SourceFiles message from the specified reader or buffer, length delimited.
80836
- * @function decodeDelimited
80837
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80838
- * @static
80839
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
80840
- * @returns {replit.goval.api.lore.CreateReplRequest.SourceFiles} SourceFiles
80841
- * @throws {Error} If the payload is not a reader or valid buffer
80842
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
80843
- */
80844
- SourceFiles.decodeDelimited = function decodeDelimited(reader) {
80845
- if (!(reader instanceof $Reader))
80846
- reader = new $Reader(reader);
80847
- return this.decode(reader, reader.uint32());
80848
- };
80849
-
80850
- /**
80851
- * Verifies a SourceFiles message.
80852
- * @function verify
80853
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80854
- * @static
80855
- * @param {Object.<string,*>} message Plain object to verify
80856
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
80857
- */
80858
- SourceFiles.verify = function verify(message) {
80859
- if (typeof message !== "object" || message === null)
80860
- return "object expected";
80861
- if (message.files != null && message.hasOwnProperty("files")) {
80862
- if (!Array.isArray(message.files))
80863
- return "files: array expected";
80864
- for (var i = 0; i < message.files.length; ++i) {
80865
- var error = $root.replit.goval.api.lore.CreateReplRequest.File.verify(message.files[i]);
80866
- if (error)
80867
- return "files." + error;
80868
- }
80869
- }
80870
- return null;
80871
- };
80872
-
80873
- /**
80874
- * Creates a SourceFiles message from a plain object. Also converts values to their respective internal types.
80875
- * @function fromObject
80876
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80877
- * @static
80878
- * @param {Object.<string,*>} object Plain object
80879
- * @returns {replit.goval.api.lore.CreateReplRequest.SourceFiles} SourceFiles
80880
- */
80881
- SourceFiles.fromObject = function fromObject(object) {
80882
- if (object instanceof $root.replit.goval.api.lore.CreateReplRequest.SourceFiles)
80883
- return object;
80884
- var message = new $root.replit.goval.api.lore.CreateReplRequest.SourceFiles();
80885
- if (object.files) {
80886
- if (!Array.isArray(object.files))
80887
- throw TypeError(".replit.goval.api.lore.CreateReplRequest.SourceFiles.files: array expected");
80888
- message.files = [];
80889
- for (var i = 0; i < object.files.length; ++i) {
80890
- if (typeof object.files[i] !== "object")
80891
- throw TypeError(".replit.goval.api.lore.CreateReplRequest.SourceFiles.files: object expected");
80892
- message.files[i] = $root.replit.goval.api.lore.CreateReplRequest.File.fromObject(object.files[i]);
80893
- }
80894
- }
80895
- return message;
80896
- };
80897
-
80898
- /**
80899
- * Creates a plain object from a SourceFiles message. Also converts values to other types if specified.
80900
- * @function toObject
80901
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80902
- * @static
80903
- * @param {replit.goval.api.lore.CreateReplRequest.SourceFiles} message SourceFiles
80904
- * @param {$protobuf.IConversionOptions} [options] Conversion options
80905
- * @returns {Object.<string,*>} Plain object
80906
- */
80907
- SourceFiles.toObject = function toObject(message, options) {
80908
- if (!options)
80909
- options = {};
80910
- var object = {};
80911
- if (options.arrays || options.defaults)
80912
- object.files = [];
80913
- if (message.files && message.files.length) {
80914
- object.files = [];
80915
- for (var j = 0; j < message.files.length; ++j)
80916
- object.files[j] = $root.replit.goval.api.lore.CreateReplRequest.File.toObject(message.files[j], options);
80917
- }
80918
- return object;
80919
- };
80920
-
80921
- /**
80922
- * Converts this SourceFiles to JSON.
80923
- * @function toJSON
80924
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80925
- * @instance
80926
- * @returns {Object.<string,*>} JSON object
80927
- */
80928
- SourceFiles.prototype.toJSON = function toJSON() {
80929
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
80930
- };
80931
-
80932
- /**
80933
- * Gets the default type url for SourceFiles
80934
- * @function getTypeUrl
80935
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80936
- * @static
80937
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
80938
- * @returns {string} The default type url
80939
- */
80940
- SourceFiles.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
80941
- if (typeUrlPrefix === undefined) {
80942
- typeUrlPrefix = "type.googleapis.com";
80943
- }
80944
- return typeUrlPrefix + "/replit.goval.api.lore.CreateReplRequest.SourceFiles";
80945
- };
80946
-
80947
- return SourceFiles;
80948
- })();
80949
-
80950
80725
  CreateReplRequest.Buckets = (function() {
80951
80726
 
80952
80727
  /**
@@ -93986,6 +93761,493 @@
93986
93761
  return UserPowerUps;
93987
93762
  })();
93988
93763
 
93764
+ api.chamber = (function() {
93765
+
93766
+ /**
93767
+ * Namespace chamber.
93768
+ * @memberof replit.goval.api
93769
+ * @namespace
93770
+ */
93771
+ var chamber = {};
93772
+
93773
+ chamber.OrgSecret = (function() {
93774
+
93775
+ /**
93776
+ * Properties of an OrgSecret.
93777
+ * @memberof replit.goval.api.chamber
93778
+ * @interface IOrgSecret
93779
+ * @property {string|null} [orgId] OrgSecret orgId
93780
+ * @property {string|null} [name] OrgSecret name
93781
+ * @property {string|null} [version] OrgSecret version
93782
+ */
93783
+
93784
+ /**
93785
+ * Constructs a new OrgSecret.
93786
+ * @memberof replit.goval.api.chamber
93787
+ * @classdesc Represents an OrgSecret.
93788
+ * @constructor
93789
+ * @param {replit.goval.api.chamber.IOrgSecret=} [properties] Properties to set
93790
+ */
93791
+ function OrgSecret(properties) {
93792
+ if (properties)
93793
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
93794
+ if (properties[keys[i]] != null)
93795
+ this[keys[i]] = properties[keys[i]];
93796
+ }
93797
+
93798
+ /**
93799
+ * OrgSecret orgId.
93800
+ * @member {string} orgId
93801
+ * @memberof replit.goval.api.chamber.OrgSecret
93802
+ * @instance
93803
+ */
93804
+ OrgSecret.prototype.orgId = "";
93805
+
93806
+ /**
93807
+ * OrgSecret name.
93808
+ * @member {string} name
93809
+ * @memberof replit.goval.api.chamber.OrgSecret
93810
+ * @instance
93811
+ */
93812
+ OrgSecret.prototype.name = "";
93813
+
93814
+ /**
93815
+ * OrgSecret version.
93816
+ * @member {string} version
93817
+ * @memberof replit.goval.api.chamber.OrgSecret
93818
+ * @instance
93819
+ */
93820
+ OrgSecret.prototype.version = "";
93821
+
93822
+ /**
93823
+ * Creates a new OrgSecret instance using the specified properties.
93824
+ * @function create
93825
+ * @memberof replit.goval.api.chamber.OrgSecret
93826
+ * @static
93827
+ * @param {replit.goval.api.chamber.IOrgSecret=} [properties] Properties to set
93828
+ * @returns {replit.goval.api.chamber.OrgSecret} OrgSecret instance
93829
+ */
93830
+ OrgSecret.create = function create(properties) {
93831
+ return OrgSecret.fromObject(properties);
93832
+ };
93833
+
93834
+ /**
93835
+ * Encodes the specified OrgSecret message. Does not implicitly {@link replit.goval.api.chamber.OrgSecret.verify|verify} messages.
93836
+ * @function encode
93837
+ * @memberof replit.goval.api.chamber.OrgSecret
93838
+ * @static
93839
+ * @param {replit.goval.api.chamber.OrgSecret} message OrgSecret message or plain object to encode
93840
+ * @param {$protobuf.Writer} [writer] Writer to encode to
93841
+ * @returns {$protobuf.Writer} Writer
93842
+ */
93843
+ OrgSecret.encode = function encode(message, writer) {
93844
+ if (!writer)
93845
+ writer = $Writer.create();
93846
+ if (message.orgId != null && Object.hasOwnProperty.call(message, "orgId"))
93847
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.orgId);
93848
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
93849
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.name);
93850
+ if (message.version != null && Object.hasOwnProperty.call(message, "version"))
93851
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.version);
93852
+ return writer;
93853
+ };
93854
+
93855
+ /**
93856
+ * Encodes the specified OrgSecret message, length delimited. Does not implicitly {@link replit.goval.api.chamber.OrgSecret.verify|verify} messages.
93857
+ * @function encodeDelimited
93858
+ * @memberof replit.goval.api.chamber.OrgSecret
93859
+ * @static
93860
+ * @param {replit.goval.api.chamber.OrgSecret} message OrgSecret message or plain object to encode
93861
+ * @param {$protobuf.Writer} [writer] Writer to encode to
93862
+ * @returns {$protobuf.Writer} Writer
93863
+ */
93864
+ OrgSecret.encodeDelimited = function encodeDelimited(message, writer) {
93865
+ return this.encode(message, writer).ldelim();
93866
+ };
93867
+
93868
+ /**
93869
+ * Decodes an OrgSecret message from the specified reader or buffer.
93870
+ * @function decode
93871
+ * @memberof replit.goval.api.chamber.OrgSecret
93872
+ * @static
93873
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
93874
+ * @param {number} [length] Message length if known beforehand
93875
+ * @returns {replit.goval.api.chamber.OrgSecret} OrgSecret
93876
+ * @throws {Error} If the payload is not a reader or valid buffer
93877
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
93878
+ */
93879
+ OrgSecret.decode = function decode(reader, length) {
93880
+ if (!(reader instanceof $Reader))
93881
+ reader = $Reader.create(reader);
93882
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.chamber.OrgSecret();
93883
+ while (reader.pos < end) {
93884
+ var tag = reader.uint32();
93885
+ switch (tag >>> 3) {
93886
+ case 1: {
93887
+ message.orgId = reader.string();
93888
+ break;
93889
+ }
93890
+ case 2: {
93891
+ message.name = reader.string();
93892
+ break;
93893
+ }
93894
+ case 3: {
93895
+ message.version = reader.string();
93896
+ break;
93897
+ }
93898
+ default:
93899
+ reader.skipType(tag & 7);
93900
+ break;
93901
+ }
93902
+ }
93903
+ return message;
93904
+ };
93905
+
93906
+ /**
93907
+ * Decodes an OrgSecret message from the specified reader or buffer, length delimited.
93908
+ * @function decodeDelimited
93909
+ * @memberof replit.goval.api.chamber.OrgSecret
93910
+ * @static
93911
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
93912
+ * @returns {replit.goval.api.chamber.OrgSecret} OrgSecret
93913
+ * @throws {Error} If the payload is not a reader or valid buffer
93914
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
93915
+ */
93916
+ OrgSecret.decodeDelimited = function decodeDelimited(reader) {
93917
+ if (!(reader instanceof $Reader))
93918
+ reader = new $Reader(reader);
93919
+ return this.decode(reader, reader.uint32());
93920
+ };
93921
+
93922
+ /**
93923
+ * Verifies an OrgSecret message.
93924
+ * @function verify
93925
+ * @memberof replit.goval.api.chamber.OrgSecret
93926
+ * @static
93927
+ * @param {Object.<string,*>} message Plain object to verify
93928
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
93929
+ */
93930
+ OrgSecret.verify = function verify(message) {
93931
+ if (typeof message !== "object" || message === null)
93932
+ return "object expected";
93933
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
93934
+ if (!$util.isString(message.orgId))
93935
+ return "orgId: string expected";
93936
+ if (message.name != null && message.hasOwnProperty("name"))
93937
+ if (!$util.isString(message.name))
93938
+ return "name: string expected";
93939
+ if (message.version != null && message.hasOwnProperty("version"))
93940
+ if (!$util.isString(message.version))
93941
+ return "version: string expected";
93942
+ return null;
93943
+ };
93944
+
93945
+ /**
93946
+ * Creates an OrgSecret message from a plain object. Also converts values to their respective internal types.
93947
+ * @function fromObject
93948
+ * @memberof replit.goval.api.chamber.OrgSecret
93949
+ * @static
93950
+ * @param {Object.<string,*>} object Plain object
93951
+ * @returns {replit.goval.api.chamber.OrgSecret} OrgSecret
93952
+ */
93953
+ OrgSecret.fromObject = function fromObject(object) {
93954
+ if (object instanceof $root.replit.goval.api.chamber.OrgSecret)
93955
+ return object;
93956
+ var message = new $root.replit.goval.api.chamber.OrgSecret();
93957
+ if (object.orgId != null)
93958
+ message.orgId = String(object.orgId);
93959
+ if (object.name != null)
93960
+ message.name = String(object.name);
93961
+ if (object.version != null)
93962
+ message.version = String(object.version);
93963
+ return message;
93964
+ };
93965
+
93966
+ /**
93967
+ * Creates a plain object from an OrgSecret message. Also converts values to other types if specified.
93968
+ * @function toObject
93969
+ * @memberof replit.goval.api.chamber.OrgSecret
93970
+ * @static
93971
+ * @param {replit.goval.api.chamber.OrgSecret} message OrgSecret
93972
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
93973
+ * @returns {Object.<string,*>} Plain object
93974
+ */
93975
+ OrgSecret.toObject = function toObject(message, options) {
93976
+ if (!options)
93977
+ options = {};
93978
+ var object = {};
93979
+ if (options.defaults) {
93980
+ object.orgId = "";
93981
+ object.name = "";
93982
+ object.version = "";
93983
+ }
93984
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
93985
+ object.orgId = message.orgId;
93986
+ if (message.name != null && message.hasOwnProperty("name"))
93987
+ object.name = message.name;
93988
+ if (message.version != null && message.hasOwnProperty("version"))
93989
+ object.version = message.version;
93990
+ return object;
93991
+ };
93992
+
93993
+ /**
93994
+ * Converts this OrgSecret to JSON.
93995
+ * @function toJSON
93996
+ * @memberof replit.goval.api.chamber.OrgSecret
93997
+ * @instance
93998
+ * @returns {Object.<string,*>} JSON object
93999
+ */
94000
+ OrgSecret.prototype.toJSON = function toJSON() {
94001
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
94002
+ };
94003
+
94004
+ /**
94005
+ * Gets the default type url for OrgSecret
94006
+ * @function getTypeUrl
94007
+ * @memberof replit.goval.api.chamber.OrgSecret
94008
+ * @static
94009
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
94010
+ * @returns {string} The default type url
94011
+ */
94012
+ OrgSecret.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
94013
+ if (typeUrlPrefix === undefined) {
94014
+ typeUrlPrefix = "type.googleapis.com";
94015
+ }
94016
+ return typeUrlPrefix + "/replit.goval.api.chamber.OrgSecret";
94017
+ };
94018
+
94019
+ return OrgSecret;
94020
+ })();
94021
+
94022
+ chamber.ChamberSecretName = (function() {
94023
+
94024
+ /**
94025
+ * Properties of a ChamberSecretName.
94026
+ * @memberof replit.goval.api.chamber
94027
+ * @interface IChamberSecretName
94028
+ * @property {replit.goval.api.chamber.OrgSecret|replit.goval.api.chamber.IOrgSecret|null} [orgSecret] ChamberSecretName orgSecret
94029
+ */
94030
+
94031
+ /**
94032
+ * Constructs a new ChamberSecretName.
94033
+ * @memberof replit.goval.api.chamber
94034
+ * @classdesc Represents a ChamberSecretName.
94035
+ * @constructor
94036
+ * @param {replit.goval.api.chamber.IChamberSecretName=} [properties] Properties to set
94037
+ */
94038
+ function ChamberSecretName(properties) {
94039
+ if (properties)
94040
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
94041
+ if (properties[keys[i]] != null)
94042
+ this[keys[i]] = properties[keys[i]];
94043
+ }
94044
+
94045
+ /**
94046
+ * ChamberSecretName orgSecret.
94047
+ * @member {replit.goval.api.chamber.OrgSecret|null|undefined} orgSecret
94048
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94049
+ * @instance
94050
+ */
94051
+ ChamberSecretName.prototype.orgSecret = null;
94052
+
94053
+ // OneOf field names bound to virtual getters and setters
94054
+ var $oneOfFields;
94055
+
94056
+ /**
94057
+ * ChamberSecretName secretType.
94058
+ * @member {"orgSecret"|undefined} secretType
94059
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94060
+ * @instance
94061
+ */
94062
+ Object.defineProperty(ChamberSecretName.prototype, "secretType", {
94063
+ get: $util.oneOfGetter($oneOfFields = ["orgSecret"]),
94064
+ set: $util.oneOfSetter($oneOfFields)
94065
+ });
94066
+
94067
+ /**
94068
+ * Creates a new ChamberSecretName instance using the specified properties.
94069
+ * @function create
94070
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94071
+ * @static
94072
+ * @param {replit.goval.api.chamber.IChamberSecretName=} [properties] Properties to set
94073
+ * @returns {replit.goval.api.chamber.ChamberSecretName} ChamberSecretName instance
94074
+ */
94075
+ ChamberSecretName.create = function create(properties) {
94076
+ return ChamberSecretName.fromObject(properties);
94077
+ };
94078
+
94079
+ /**
94080
+ * Encodes the specified ChamberSecretName message. Does not implicitly {@link replit.goval.api.chamber.ChamberSecretName.verify|verify} messages.
94081
+ * @function encode
94082
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94083
+ * @static
94084
+ * @param {replit.goval.api.chamber.ChamberSecretName} message ChamberSecretName message or plain object to encode
94085
+ * @param {$protobuf.Writer} [writer] Writer to encode to
94086
+ * @returns {$protobuf.Writer} Writer
94087
+ */
94088
+ ChamberSecretName.encode = function encode(message, writer) {
94089
+ if (!writer)
94090
+ writer = $Writer.create();
94091
+ if (message.orgSecret != null && Object.hasOwnProperty.call(message, "orgSecret"))
94092
+ $root.replit.goval.api.chamber.OrgSecret.encode(message.orgSecret, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
94093
+ return writer;
94094
+ };
94095
+
94096
+ /**
94097
+ * Encodes the specified ChamberSecretName message, length delimited. Does not implicitly {@link replit.goval.api.chamber.ChamberSecretName.verify|verify} messages.
94098
+ * @function encodeDelimited
94099
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94100
+ * @static
94101
+ * @param {replit.goval.api.chamber.ChamberSecretName} message ChamberSecretName message or plain object to encode
94102
+ * @param {$protobuf.Writer} [writer] Writer to encode to
94103
+ * @returns {$protobuf.Writer} Writer
94104
+ */
94105
+ ChamberSecretName.encodeDelimited = function encodeDelimited(message, writer) {
94106
+ return this.encode(message, writer).ldelim();
94107
+ };
94108
+
94109
+ /**
94110
+ * Decodes a ChamberSecretName message from the specified reader or buffer.
94111
+ * @function decode
94112
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94113
+ * @static
94114
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
94115
+ * @param {number} [length] Message length if known beforehand
94116
+ * @returns {replit.goval.api.chamber.ChamberSecretName} ChamberSecretName
94117
+ * @throws {Error} If the payload is not a reader or valid buffer
94118
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
94119
+ */
94120
+ ChamberSecretName.decode = function decode(reader, length) {
94121
+ if (!(reader instanceof $Reader))
94122
+ reader = $Reader.create(reader);
94123
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.chamber.ChamberSecretName();
94124
+ while (reader.pos < end) {
94125
+ var tag = reader.uint32();
94126
+ switch (tag >>> 3) {
94127
+ case 1: {
94128
+ message.orgSecret = $root.replit.goval.api.chamber.OrgSecret.decode(reader, reader.uint32());
94129
+ break;
94130
+ }
94131
+ default:
94132
+ reader.skipType(tag & 7);
94133
+ break;
94134
+ }
94135
+ }
94136
+ return message;
94137
+ };
94138
+
94139
+ /**
94140
+ * Decodes a ChamberSecretName message from the specified reader or buffer, length delimited.
94141
+ * @function decodeDelimited
94142
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94143
+ * @static
94144
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
94145
+ * @returns {replit.goval.api.chamber.ChamberSecretName} ChamberSecretName
94146
+ * @throws {Error} If the payload is not a reader or valid buffer
94147
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
94148
+ */
94149
+ ChamberSecretName.decodeDelimited = function decodeDelimited(reader) {
94150
+ if (!(reader instanceof $Reader))
94151
+ reader = new $Reader(reader);
94152
+ return this.decode(reader, reader.uint32());
94153
+ };
94154
+
94155
+ /**
94156
+ * Verifies a ChamberSecretName message.
94157
+ * @function verify
94158
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94159
+ * @static
94160
+ * @param {Object.<string,*>} message Plain object to verify
94161
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
94162
+ */
94163
+ ChamberSecretName.verify = function verify(message) {
94164
+ if (typeof message !== "object" || message === null)
94165
+ return "object expected";
94166
+ var properties = {};
94167
+ if (message.orgSecret != null && message.hasOwnProperty("orgSecret")) {
94168
+ properties.secretType = 1;
94169
+ {
94170
+ var error = $root.replit.goval.api.chamber.OrgSecret.verify(message.orgSecret);
94171
+ if (error)
94172
+ return "orgSecret." + error;
94173
+ }
94174
+ }
94175
+ return null;
94176
+ };
94177
+
94178
+ /**
94179
+ * Creates a ChamberSecretName message from a plain object. Also converts values to their respective internal types.
94180
+ * @function fromObject
94181
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94182
+ * @static
94183
+ * @param {Object.<string,*>} object Plain object
94184
+ * @returns {replit.goval.api.chamber.ChamberSecretName} ChamberSecretName
94185
+ */
94186
+ ChamberSecretName.fromObject = function fromObject(object) {
94187
+ if (object instanceof $root.replit.goval.api.chamber.ChamberSecretName)
94188
+ return object;
94189
+ var message = new $root.replit.goval.api.chamber.ChamberSecretName();
94190
+ if (object.orgSecret != null) {
94191
+ if (typeof object.orgSecret !== "object")
94192
+ throw TypeError(".replit.goval.api.chamber.ChamberSecretName.orgSecret: object expected");
94193
+ message.orgSecret = $root.replit.goval.api.chamber.OrgSecret.fromObject(object.orgSecret);
94194
+ }
94195
+ return message;
94196
+ };
94197
+
94198
+ /**
94199
+ * Creates a plain object from a ChamberSecretName message. Also converts values to other types if specified.
94200
+ * @function toObject
94201
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94202
+ * @static
94203
+ * @param {replit.goval.api.chamber.ChamberSecretName} message ChamberSecretName
94204
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
94205
+ * @returns {Object.<string,*>} Plain object
94206
+ */
94207
+ ChamberSecretName.toObject = function toObject(message, options) {
94208
+ if (!options)
94209
+ options = {};
94210
+ var object = {};
94211
+ if (message.orgSecret != null && message.hasOwnProperty("orgSecret")) {
94212
+ object.orgSecret = $root.replit.goval.api.chamber.OrgSecret.toObject(message.orgSecret, options);
94213
+ if (options.oneofs)
94214
+ object.secretType = "orgSecret";
94215
+ }
94216
+ return object;
94217
+ };
94218
+
94219
+ /**
94220
+ * Converts this ChamberSecretName to JSON.
94221
+ * @function toJSON
94222
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94223
+ * @instance
94224
+ * @returns {Object.<string,*>} JSON object
94225
+ */
94226
+ ChamberSecretName.prototype.toJSON = function toJSON() {
94227
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
94228
+ };
94229
+
94230
+ /**
94231
+ * Gets the default type url for ChamberSecretName
94232
+ * @function getTypeUrl
94233
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94234
+ * @static
94235
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
94236
+ * @returns {string} The default type url
94237
+ */
94238
+ ChamberSecretName.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
94239
+ if (typeUrlPrefix === undefined) {
94240
+ typeUrlPrefix = "type.googleapis.com";
94241
+ }
94242
+ return typeUrlPrefix + "/replit.goval.api.chamber.ChamberSecretName";
94243
+ };
94244
+
94245
+ return ChamberSecretName;
94246
+ })();
94247
+
94248
+ return chamber;
94249
+ })();
94250
+
93989
94251
  return api;
93990
94252
  })();
93991
94253