@google-cloud/pubsub 3.2.1 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +3 -2
  3. package/build/protos/google/pubsub/v1/pubsub.proto +65 -43
  4. package/build/protos/google/pubsub/v1/schema.proto +138 -16
  5. package/build/protos/protos.d.ts +2513 -373
  6. package/build/protos/protos.js +6492 -1101
  7. package/build/protos/protos.json +522 -36
  8. package/build/src/ack-metadata.d.ts +1 -1
  9. package/build/src/iam.d.ts +7 -7
  10. package/build/src/iam.js.map +1 -1
  11. package/build/src/message-queues.d.ts +1 -1
  12. package/build/src/publisher/index.d.ts +1 -1
  13. package/build/src/publisher/index.js +2 -2
  14. package/build/src/publisher/index.js.map +1 -1
  15. package/build/src/publisher/message-queues.d.ts +29 -1
  16. package/build/src/publisher/message-queues.js +32 -2
  17. package/build/src/publisher/message-queues.js.map +1 -1
  18. package/build/src/publisher/pubsub-message.d.ts +1 -1
  19. package/build/src/pubsub.d.ts +19 -19
  20. package/build/src/schema.d.ts +6 -6
  21. package/build/src/snapshot.d.ts +4 -4
  22. package/build/src/subscriber.d.ts +4 -4
  23. package/build/src/subscriber.js +1 -3
  24. package/build/src/subscriber.js.map +1 -1
  25. package/build/src/subscription.d.ts +21 -21
  26. package/build/src/temporal.d.ts +1 -1
  27. package/build/src/topic.d.ts +17 -17
  28. package/build/src/v1/index.js +1 -1
  29. package/build/src/v1/publisher_client.d.ts +20 -20
  30. package/build/src/v1/publisher_client.js +15 -13
  31. package/build/src/v1/publisher_client.js.map +1 -1
  32. package/build/src/v1/schema_service_client.d.ts +193 -20
  33. package/build/src/v1/schema_service_client.js +189 -13
  34. package/build/src/v1/schema_service_client.js.map +1 -1
  35. package/build/src/v1/schema_service_client_config.json +16 -0
  36. package/build/src/v1/subscriber_client.d.ts +54 -60
  37. package/build/src/v1/subscriber_client.js +19 -17
  38. package/build/src/v1/subscriber_client.js.map +1 -1
  39. package/build/src/v1/subscriber_client_config.json +7 -1
  40. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- // Copyright 2022 Google LLC
1
+ // Copyright 2023 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -341,6 +341,12 @@ export namespace google {
341
341
 
342
342
  /** SchemaSettings encoding */
343
343
  encoding?: (google.pubsub.v1.Encoding|keyof typeof google.pubsub.v1.Encoding|null);
344
+
345
+ /** SchemaSettings firstRevisionId */
346
+ firstRevisionId?: (string|null);
347
+
348
+ /** SchemaSettings lastRevisionId */
349
+ lastRevisionId?: (string|null);
344
350
  }
345
351
 
346
352
  /** Represents a SchemaSettings. */
@@ -358,6 +364,12 @@ export namespace google {
358
364
  /** SchemaSettings encoding. */
359
365
  public encoding: (google.pubsub.v1.Encoding|keyof typeof google.pubsub.v1.Encoding);
360
366
 
367
+ /** SchemaSettings firstRevisionId. */
368
+ public firstRevisionId: string;
369
+
370
+ /** SchemaSettings lastRevisionId. */
371
+ public lastRevisionId: string;
372
+
361
373
  /**
362
374
  * Creates a new SchemaSettings instance using the specified properties.
363
375
  * @param [properties] Properties to set
@@ -4634,6 +4646,9 @@ export namespace google {
4634
4646
 
4635
4647
  /** AcknowledgeConfirmation unorderedAckIds */
4636
4648
  unorderedAckIds?: (string[]|null);
4649
+
4650
+ /** AcknowledgeConfirmation temporaryFailedAckIds */
4651
+ temporaryFailedAckIds?: (string[]|null);
4637
4652
  }
4638
4653
 
4639
4654
  /** Represents an AcknowledgeConfirmation. */
@@ -4654,6 +4669,9 @@ export namespace google {
4654
4669
  /** AcknowledgeConfirmation unorderedAckIds. */
4655
4670
  public unorderedAckIds: string[];
4656
4671
 
4672
+ /** AcknowledgeConfirmation temporaryFailedAckIds. */
4673
+ public temporaryFailedAckIds: string[];
4674
+
4657
4675
  /**
4658
4676
  * Creates a new AcknowledgeConfirmation instance using the specified properties.
4659
4677
  * @param [properties] Properties to set
@@ -4740,6 +4758,9 @@ export namespace google {
4740
4758
 
4741
4759
  /** ModifyAckDeadlineConfirmation invalidAckIds */
4742
4760
  invalidAckIds?: (string[]|null);
4761
+
4762
+ /** ModifyAckDeadlineConfirmation temporaryFailedAckIds */
4763
+ temporaryFailedAckIds?: (string[]|null);
4743
4764
  }
4744
4765
 
4745
4766
  /** Represents a ModifyAckDeadlineConfirmation. */
@@ -4757,6 +4778,9 @@ export namespace google {
4757
4778
  /** ModifyAckDeadlineConfirmation invalidAckIds. */
4758
4779
  public invalidAckIds: string[];
4759
4780
 
4781
+ /** ModifyAckDeadlineConfirmation temporaryFailedAckIds. */
4782
+ public temporaryFailedAckIds: string[];
4783
+
4760
4784
  /**
4761
4785
  * Creates a new ModifyAckDeadlineConfirmation instance using the specified properties.
4762
4786
  * @param [properties] Properties to set
@@ -5937,6 +5961,62 @@ export namespace google {
5937
5961
  */
5938
5962
  public listSchemas(request: google.pubsub.v1.IListSchemasRequest): Promise<google.pubsub.v1.ListSchemasResponse>;
5939
5963
 
5964
+ /**
5965
+ * Calls ListSchemaRevisions.
5966
+ * @param request ListSchemaRevisionsRequest message or plain object
5967
+ * @param callback Node-style callback called with the error, if any, and ListSchemaRevisionsResponse
5968
+ */
5969
+ public listSchemaRevisions(request: google.pubsub.v1.IListSchemaRevisionsRequest, callback: google.pubsub.v1.SchemaService.ListSchemaRevisionsCallback): void;
5970
+
5971
+ /**
5972
+ * Calls ListSchemaRevisions.
5973
+ * @param request ListSchemaRevisionsRequest message or plain object
5974
+ * @returns Promise
5975
+ */
5976
+ public listSchemaRevisions(request: google.pubsub.v1.IListSchemaRevisionsRequest): Promise<google.pubsub.v1.ListSchemaRevisionsResponse>;
5977
+
5978
+ /**
5979
+ * Calls CommitSchema.
5980
+ * @param request CommitSchemaRequest message or plain object
5981
+ * @param callback Node-style callback called with the error, if any, and Schema
5982
+ */
5983
+ public commitSchema(request: google.pubsub.v1.ICommitSchemaRequest, callback: google.pubsub.v1.SchemaService.CommitSchemaCallback): void;
5984
+
5985
+ /**
5986
+ * Calls CommitSchema.
5987
+ * @param request CommitSchemaRequest message or plain object
5988
+ * @returns Promise
5989
+ */
5990
+ public commitSchema(request: google.pubsub.v1.ICommitSchemaRequest): Promise<google.pubsub.v1.Schema>;
5991
+
5992
+ /**
5993
+ * Calls RollbackSchema.
5994
+ * @param request RollbackSchemaRequest message or plain object
5995
+ * @param callback Node-style callback called with the error, if any, and Schema
5996
+ */
5997
+ public rollbackSchema(request: google.pubsub.v1.IRollbackSchemaRequest, callback: google.pubsub.v1.SchemaService.RollbackSchemaCallback): void;
5998
+
5999
+ /**
6000
+ * Calls RollbackSchema.
6001
+ * @param request RollbackSchemaRequest message or plain object
6002
+ * @returns Promise
6003
+ */
6004
+ public rollbackSchema(request: google.pubsub.v1.IRollbackSchemaRequest): Promise<google.pubsub.v1.Schema>;
6005
+
6006
+ /**
6007
+ * Calls DeleteSchemaRevision.
6008
+ * @param request DeleteSchemaRevisionRequest message or plain object
6009
+ * @param callback Node-style callback called with the error, if any, and Schema
6010
+ */
6011
+ public deleteSchemaRevision(request: google.pubsub.v1.IDeleteSchemaRevisionRequest, callback: google.pubsub.v1.SchemaService.DeleteSchemaRevisionCallback): void;
6012
+
6013
+ /**
6014
+ * Calls DeleteSchemaRevision.
6015
+ * @param request DeleteSchemaRevisionRequest message or plain object
6016
+ * @returns Promise
6017
+ */
6018
+ public deleteSchemaRevision(request: google.pubsub.v1.IDeleteSchemaRevisionRequest): Promise<google.pubsub.v1.Schema>;
6019
+
5940
6020
  /**
5941
6021
  * Calls DeleteSchema.
5942
6022
  * @param request DeleteSchemaRequest message or plain object
@@ -6003,6 +6083,34 @@ export namespace google {
6003
6083
  */
6004
6084
  type ListSchemasCallback = (error: (Error|null), response?: google.pubsub.v1.ListSchemasResponse) => void;
6005
6085
 
6086
+ /**
6087
+ * Callback as used by {@link google.pubsub.v1.SchemaService|listSchemaRevisions}.
6088
+ * @param error Error, if any
6089
+ * @param [response] ListSchemaRevisionsResponse
6090
+ */
6091
+ type ListSchemaRevisionsCallback = (error: (Error|null), response?: google.pubsub.v1.ListSchemaRevisionsResponse) => void;
6092
+
6093
+ /**
6094
+ * Callback as used by {@link google.pubsub.v1.SchemaService|commitSchema}.
6095
+ * @param error Error, if any
6096
+ * @param [response] Schema
6097
+ */
6098
+ type CommitSchemaCallback = (error: (Error|null), response?: google.pubsub.v1.Schema) => void;
6099
+
6100
+ /**
6101
+ * Callback as used by {@link google.pubsub.v1.SchemaService|rollbackSchema}.
6102
+ * @param error Error, if any
6103
+ * @param [response] Schema
6104
+ */
6105
+ type RollbackSchemaCallback = (error: (Error|null), response?: google.pubsub.v1.Schema) => void;
6106
+
6107
+ /**
6108
+ * Callback as used by {@link google.pubsub.v1.SchemaService|deleteSchemaRevision}.
6109
+ * @param error Error, if any
6110
+ * @param [response] Schema
6111
+ */
6112
+ type DeleteSchemaRevisionCallback = (error: (Error|null), response?: google.pubsub.v1.Schema) => void;
6113
+
6006
6114
  /**
6007
6115
  * Callback as used by {@link google.pubsub.v1.SchemaService|deleteSchema}.
6008
6116
  * @param error Error, if any
@@ -6036,6 +6144,12 @@ export namespace google {
6036
6144
 
6037
6145
  /** Schema definition */
6038
6146
  definition?: (string|null);
6147
+
6148
+ /** Schema revisionId */
6149
+ revisionId?: (string|null);
6150
+
6151
+ /** Schema revisionCreateTime */
6152
+ revisionCreateTime?: (google.protobuf.ITimestamp|null);
6039
6153
  }
6040
6154
 
6041
6155
  /** Represents a Schema. */
@@ -6056,6 +6170,12 @@ export namespace google {
6056
6170
  /** Schema definition. */
6057
6171
  public definition: string;
6058
6172
 
6173
+ /** Schema revisionId. */
6174
+ public revisionId: string;
6175
+
6176
+ /** Schema revisionCreateTime. */
6177
+ public revisionCreateTime?: (google.protobuf.ITimestamp|null);
6178
+
6059
6179
  /**
6060
6180
  * Creates a new Schema instance using the specified properties.
6061
6181
  * @param [properties] Properties to set
@@ -6144,6 +6264,13 @@ export namespace google {
6144
6264
  }
6145
6265
  }
6146
6266
 
6267
+ /** SchemaView enum. */
6268
+ enum SchemaView {
6269
+ SCHEMA_VIEW_UNSPECIFIED = 0,
6270
+ BASIC = 1,
6271
+ FULL = 2
6272
+ }
6273
+
6147
6274
  /** Properties of a CreateSchemaRequest. */
6148
6275
  interface ICreateSchemaRequest {
6149
6276
 
@@ -6253,13 +6380,6 @@ export namespace google {
6253
6380
  public static getTypeUrl(typeUrlPrefix?: string): string;
6254
6381
  }
6255
6382
 
6256
- /** SchemaView enum. */
6257
- enum SchemaView {
6258
- SCHEMA_VIEW_UNSPECIFIED = 0,
6259
- BASIC = 1,
6260
- FULL = 2
6261
- }
6262
-
6263
6383
  /** Properties of a GetSchemaRequest. */
6264
6384
  interface IGetSchemaRequest {
6265
6385
 
@@ -6581,884 +6701,2853 @@ export namespace google {
6581
6701
  public static getTypeUrl(typeUrlPrefix?: string): string;
6582
6702
  }
6583
6703
 
6584
- /** Properties of a DeleteSchemaRequest. */
6585
- interface IDeleteSchemaRequest {
6704
+ /** Properties of a ListSchemaRevisionsRequest. */
6705
+ interface IListSchemaRevisionsRequest {
6586
6706
 
6587
- /** DeleteSchemaRequest name */
6707
+ /** ListSchemaRevisionsRequest name */
6588
6708
  name?: (string|null);
6709
+
6710
+ /** ListSchemaRevisionsRequest view */
6711
+ view?: (google.pubsub.v1.SchemaView|keyof typeof google.pubsub.v1.SchemaView|null);
6712
+
6713
+ /** ListSchemaRevisionsRequest pageSize */
6714
+ pageSize?: (number|null);
6715
+
6716
+ /** ListSchemaRevisionsRequest pageToken */
6717
+ pageToken?: (string|null);
6589
6718
  }
6590
6719
 
6591
- /** Represents a DeleteSchemaRequest. */
6592
- class DeleteSchemaRequest implements IDeleteSchemaRequest {
6720
+ /** Represents a ListSchemaRevisionsRequest. */
6721
+ class ListSchemaRevisionsRequest implements IListSchemaRevisionsRequest {
6593
6722
 
6594
6723
  /**
6595
- * Constructs a new DeleteSchemaRequest.
6724
+ * Constructs a new ListSchemaRevisionsRequest.
6596
6725
  * @param [properties] Properties to set
6597
6726
  */
6598
- constructor(properties?: google.pubsub.v1.IDeleteSchemaRequest);
6727
+ constructor(properties?: google.pubsub.v1.IListSchemaRevisionsRequest);
6599
6728
 
6600
- /** DeleteSchemaRequest name. */
6729
+ /** ListSchemaRevisionsRequest name. */
6601
6730
  public name: string;
6602
6731
 
6732
+ /** ListSchemaRevisionsRequest view. */
6733
+ public view: (google.pubsub.v1.SchemaView|keyof typeof google.pubsub.v1.SchemaView);
6734
+
6735
+ /** ListSchemaRevisionsRequest pageSize. */
6736
+ public pageSize: number;
6737
+
6738
+ /** ListSchemaRevisionsRequest pageToken. */
6739
+ public pageToken: string;
6740
+
6603
6741
  /**
6604
- * Creates a new DeleteSchemaRequest instance using the specified properties.
6742
+ * Creates a new ListSchemaRevisionsRequest instance using the specified properties.
6605
6743
  * @param [properties] Properties to set
6606
- * @returns DeleteSchemaRequest instance
6744
+ * @returns ListSchemaRevisionsRequest instance
6607
6745
  */
6608
- public static create(properties?: google.pubsub.v1.IDeleteSchemaRequest): google.pubsub.v1.DeleteSchemaRequest;
6746
+ public static create(properties?: google.pubsub.v1.IListSchemaRevisionsRequest): google.pubsub.v1.ListSchemaRevisionsRequest;
6609
6747
 
6610
6748
  /**
6611
- * Encodes the specified DeleteSchemaRequest message. Does not implicitly {@link google.pubsub.v1.DeleteSchemaRequest.verify|verify} messages.
6612
- * @param message DeleteSchemaRequest message or plain object to encode
6749
+ * Encodes the specified ListSchemaRevisionsRequest message. Does not implicitly {@link google.pubsub.v1.ListSchemaRevisionsRequest.verify|verify} messages.
6750
+ * @param message ListSchemaRevisionsRequest message or plain object to encode
6613
6751
  * @param [writer] Writer to encode to
6614
6752
  * @returns Writer
6615
6753
  */
6616
- public static encode(message: google.pubsub.v1.IDeleteSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6754
+ public static encode(message: google.pubsub.v1.IListSchemaRevisionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6617
6755
 
6618
6756
  /**
6619
- * Encodes the specified DeleteSchemaRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.DeleteSchemaRequest.verify|verify} messages.
6620
- * @param message DeleteSchemaRequest message or plain object to encode
6757
+ * Encodes the specified ListSchemaRevisionsRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ListSchemaRevisionsRequest.verify|verify} messages.
6758
+ * @param message ListSchemaRevisionsRequest message or plain object to encode
6621
6759
  * @param [writer] Writer to encode to
6622
6760
  * @returns Writer
6623
6761
  */
6624
- public static encodeDelimited(message: google.pubsub.v1.IDeleteSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6762
+ public static encodeDelimited(message: google.pubsub.v1.IListSchemaRevisionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6625
6763
 
6626
6764
  /**
6627
- * Decodes a DeleteSchemaRequest message from the specified reader or buffer.
6765
+ * Decodes a ListSchemaRevisionsRequest message from the specified reader or buffer.
6628
6766
  * @param reader Reader or buffer to decode from
6629
6767
  * @param [length] Message length if known beforehand
6630
- * @returns DeleteSchemaRequest
6768
+ * @returns ListSchemaRevisionsRequest
6631
6769
  * @throws {Error} If the payload is not a reader or valid buffer
6632
6770
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
6633
6771
  */
6634
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.DeleteSchemaRequest;
6772
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListSchemaRevisionsRequest;
6635
6773
 
6636
6774
  /**
6637
- * Decodes a DeleteSchemaRequest message from the specified reader or buffer, length delimited.
6775
+ * Decodes a ListSchemaRevisionsRequest message from the specified reader or buffer, length delimited.
6638
6776
  * @param reader Reader or buffer to decode from
6639
- * @returns DeleteSchemaRequest
6777
+ * @returns ListSchemaRevisionsRequest
6640
6778
  * @throws {Error} If the payload is not a reader or valid buffer
6641
6779
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
6642
6780
  */
6643
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.DeleteSchemaRequest;
6781
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListSchemaRevisionsRequest;
6644
6782
 
6645
6783
  /**
6646
- * Verifies a DeleteSchemaRequest message.
6784
+ * Verifies a ListSchemaRevisionsRequest message.
6647
6785
  * @param message Plain object to verify
6648
6786
  * @returns `null` if valid, otherwise the reason why it is not
6649
6787
  */
6650
6788
  public static verify(message: { [k: string]: any }): (string|null);
6651
6789
 
6652
6790
  /**
6653
- * Creates a DeleteSchemaRequest message from a plain object. Also converts values to their respective internal types.
6791
+ * Creates a ListSchemaRevisionsRequest message from a plain object. Also converts values to their respective internal types.
6654
6792
  * @param object Plain object
6655
- * @returns DeleteSchemaRequest
6793
+ * @returns ListSchemaRevisionsRequest
6656
6794
  */
6657
- public static fromObject(object: { [k: string]: any }): google.pubsub.v1.DeleteSchemaRequest;
6795
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListSchemaRevisionsRequest;
6658
6796
 
6659
6797
  /**
6660
- * Creates a plain object from a DeleteSchemaRequest message. Also converts values to other types if specified.
6661
- * @param message DeleteSchemaRequest
6798
+ * Creates a plain object from a ListSchemaRevisionsRequest message. Also converts values to other types if specified.
6799
+ * @param message ListSchemaRevisionsRequest
6662
6800
  * @param [options] Conversion options
6663
6801
  * @returns Plain object
6664
6802
  */
6665
- public static toObject(message: google.pubsub.v1.DeleteSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
6803
+ public static toObject(message: google.pubsub.v1.ListSchemaRevisionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
6666
6804
 
6667
6805
  /**
6668
- * Converts this DeleteSchemaRequest to JSON.
6806
+ * Converts this ListSchemaRevisionsRequest to JSON.
6669
6807
  * @returns JSON object
6670
6808
  */
6671
6809
  public toJSON(): { [k: string]: any };
6672
6810
 
6673
6811
  /**
6674
- * Gets the default type url for DeleteSchemaRequest
6812
+ * Gets the default type url for ListSchemaRevisionsRequest
6675
6813
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6676
6814
  * @returns The default type url
6677
6815
  */
6678
6816
  public static getTypeUrl(typeUrlPrefix?: string): string;
6679
6817
  }
6680
6818
 
6681
- /** Properties of a ValidateSchemaRequest. */
6682
- interface IValidateSchemaRequest {
6819
+ /** Properties of a ListSchemaRevisionsResponse. */
6820
+ interface IListSchemaRevisionsResponse {
6683
6821
 
6684
- /** ValidateSchemaRequest parent */
6685
- parent?: (string|null);
6822
+ /** ListSchemaRevisionsResponse schemas */
6823
+ schemas?: (google.pubsub.v1.ISchema[]|null);
6686
6824
 
6687
- /** ValidateSchemaRequest schema */
6688
- schema?: (google.pubsub.v1.ISchema|null);
6825
+ /** ListSchemaRevisionsResponse nextPageToken */
6826
+ nextPageToken?: (string|null);
6689
6827
  }
6690
6828
 
6691
- /** Represents a ValidateSchemaRequest. */
6692
- class ValidateSchemaRequest implements IValidateSchemaRequest {
6829
+ /** Represents a ListSchemaRevisionsResponse. */
6830
+ class ListSchemaRevisionsResponse implements IListSchemaRevisionsResponse {
6693
6831
 
6694
6832
  /**
6695
- * Constructs a new ValidateSchemaRequest.
6833
+ * Constructs a new ListSchemaRevisionsResponse.
6696
6834
  * @param [properties] Properties to set
6697
6835
  */
6698
- constructor(properties?: google.pubsub.v1.IValidateSchemaRequest);
6836
+ constructor(properties?: google.pubsub.v1.IListSchemaRevisionsResponse);
6699
6837
 
6700
- /** ValidateSchemaRequest parent. */
6701
- public parent: string;
6838
+ /** ListSchemaRevisionsResponse schemas. */
6839
+ public schemas: google.pubsub.v1.ISchema[];
6702
6840
 
6703
- /** ValidateSchemaRequest schema. */
6704
- public schema?: (google.pubsub.v1.ISchema|null);
6841
+ /** ListSchemaRevisionsResponse nextPageToken. */
6842
+ public nextPageToken: string;
6705
6843
 
6706
6844
  /**
6707
- * Creates a new ValidateSchemaRequest instance using the specified properties.
6845
+ * Creates a new ListSchemaRevisionsResponse instance using the specified properties.
6708
6846
  * @param [properties] Properties to set
6709
- * @returns ValidateSchemaRequest instance
6847
+ * @returns ListSchemaRevisionsResponse instance
6710
6848
  */
6711
- public static create(properties?: google.pubsub.v1.IValidateSchemaRequest): google.pubsub.v1.ValidateSchemaRequest;
6849
+ public static create(properties?: google.pubsub.v1.IListSchemaRevisionsResponse): google.pubsub.v1.ListSchemaRevisionsResponse;
6712
6850
 
6713
6851
  /**
6714
- * Encodes the specified ValidateSchemaRequest message. Does not implicitly {@link google.pubsub.v1.ValidateSchemaRequest.verify|verify} messages.
6715
- * @param message ValidateSchemaRequest message or plain object to encode
6852
+ * Encodes the specified ListSchemaRevisionsResponse message. Does not implicitly {@link google.pubsub.v1.ListSchemaRevisionsResponse.verify|verify} messages.
6853
+ * @param message ListSchemaRevisionsResponse message or plain object to encode
6716
6854
  * @param [writer] Writer to encode to
6717
6855
  * @returns Writer
6718
6856
  */
6719
- public static encode(message: google.pubsub.v1.IValidateSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6857
+ public static encode(message: google.pubsub.v1.IListSchemaRevisionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
6720
6858
 
6721
6859
  /**
6722
- * Encodes the specified ValidateSchemaRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ValidateSchemaRequest.verify|verify} messages.
6723
- * @param message ValidateSchemaRequest message or plain object to encode
6860
+ * Encodes the specified ListSchemaRevisionsResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.ListSchemaRevisionsResponse.verify|verify} messages.
6861
+ * @param message ListSchemaRevisionsResponse message or plain object to encode
6724
6862
  * @param [writer] Writer to encode to
6725
6863
  * @returns Writer
6726
6864
  */
6727
- public static encodeDelimited(message: google.pubsub.v1.IValidateSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6865
+ public static encodeDelimited(message: google.pubsub.v1.IListSchemaRevisionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
6728
6866
 
6729
6867
  /**
6730
- * Decodes a ValidateSchemaRequest message from the specified reader or buffer.
6868
+ * Decodes a ListSchemaRevisionsResponse message from the specified reader or buffer.
6731
6869
  * @param reader Reader or buffer to decode from
6732
6870
  * @param [length] Message length if known beforehand
6733
- * @returns ValidateSchemaRequest
6871
+ * @returns ListSchemaRevisionsResponse
6734
6872
  * @throws {Error} If the payload is not a reader or valid buffer
6735
6873
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
6736
6874
  */
6737
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ValidateSchemaRequest;
6875
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListSchemaRevisionsResponse;
6738
6876
 
6739
6877
  /**
6740
- * Decodes a ValidateSchemaRequest message from the specified reader or buffer, length delimited.
6878
+ * Decodes a ListSchemaRevisionsResponse message from the specified reader or buffer, length delimited.
6741
6879
  * @param reader Reader or buffer to decode from
6742
- * @returns ValidateSchemaRequest
6880
+ * @returns ListSchemaRevisionsResponse
6743
6881
  * @throws {Error} If the payload is not a reader or valid buffer
6744
6882
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
6745
6883
  */
6746
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ValidateSchemaRequest;
6884
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListSchemaRevisionsResponse;
6747
6885
 
6748
6886
  /**
6749
- * Verifies a ValidateSchemaRequest message.
6887
+ * Verifies a ListSchemaRevisionsResponse message.
6750
6888
  * @param message Plain object to verify
6751
6889
  * @returns `null` if valid, otherwise the reason why it is not
6752
6890
  */
6753
6891
  public static verify(message: { [k: string]: any }): (string|null);
6754
6892
 
6755
6893
  /**
6756
- * Creates a ValidateSchemaRequest message from a plain object. Also converts values to their respective internal types.
6894
+ * Creates a ListSchemaRevisionsResponse message from a plain object. Also converts values to their respective internal types.
6757
6895
  * @param object Plain object
6758
- * @returns ValidateSchemaRequest
6896
+ * @returns ListSchemaRevisionsResponse
6759
6897
  */
6760
- public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ValidateSchemaRequest;
6898
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListSchemaRevisionsResponse;
6761
6899
 
6762
6900
  /**
6763
- * Creates a plain object from a ValidateSchemaRequest message. Also converts values to other types if specified.
6764
- * @param message ValidateSchemaRequest
6901
+ * Creates a plain object from a ListSchemaRevisionsResponse message. Also converts values to other types if specified.
6902
+ * @param message ListSchemaRevisionsResponse
6765
6903
  * @param [options] Conversion options
6766
6904
  * @returns Plain object
6767
6905
  */
6768
- public static toObject(message: google.pubsub.v1.ValidateSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
6906
+ public static toObject(message: google.pubsub.v1.ListSchemaRevisionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
6769
6907
 
6770
6908
  /**
6771
- * Converts this ValidateSchemaRequest to JSON.
6909
+ * Converts this ListSchemaRevisionsResponse to JSON.
6772
6910
  * @returns JSON object
6773
6911
  */
6774
6912
  public toJSON(): { [k: string]: any };
6775
6913
 
6776
6914
  /**
6777
- * Gets the default type url for ValidateSchemaRequest
6915
+ * Gets the default type url for ListSchemaRevisionsResponse
6778
6916
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6779
6917
  * @returns The default type url
6780
6918
  */
6781
6919
  public static getTypeUrl(typeUrlPrefix?: string): string;
6782
6920
  }
6783
6921
 
6784
- /** Properties of a ValidateSchemaResponse. */
6785
- interface IValidateSchemaResponse {
6922
+ /** Properties of a CommitSchemaRequest. */
6923
+ interface ICommitSchemaRequest {
6924
+
6925
+ /** CommitSchemaRequest name */
6926
+ name?: (string|null);
6927
+
6928
+ /** CommitSchemaRequest schema */
6929
+ schema?: (google.pubsub.v1.ISchema|null);
6786
6930
  }
6787
6931
 
6788
- /** Represents a ValidateSchemaResponse. */
6789
- class ValidateSchemaResponse implements IValidateSchemaResponse {
6932
+ /** Represents a CommitSchemaRequest. */
6933
+ class CommitSchemaRequest implements ICommitSchemaRequest {
6790
6934
 
6791
6935
  /**
6792
- * Constructs a new ValidateSchemaResponse.
6936
+ * Constructs a new CommitSchemaRequest.
6793
6937
  * @param [properties] Properties to set
6794
6938
  */
6795
- constructor(properties?: google.pubsub.v1.IValidateSchemaResponse);
6939
+ constructor(properties?: google.pubsub.v1.ICommitSchemaRequest);
6940
+
6941
+ /** CommitSchemaRequest name. */
6942
+ public name: string;
6943
+
6944
+ /** CommitSchemaRequest schema. */
6945
+ public schema?: (google.pubsub.v1.ISchema|null);
6796
6946
 
6797
6947
  /**
6798
- * Creates a new ValidateSchemaResponse instance using the specified properties.
6948
+ * Creates a new CommitSchemaRequest instance using the specified properties.
6799
6949
  * @param [properties] Properties to set
6800
- * @returns ValidateSchemaResponse instance
6950
+ * @returns CommitSchemaRequest instance
6801
6951
  */
6802
- public static create(properties?: google.pubsub.v1.IValidateSchemaResponse): google.pubsub.v1.ValidateSchemaResponse;
6952
+ public static create(properties?: google.pubsub.v1.ICommitSchemaRequest): google.pubsub.v1.CommitSchemaRequest;
6803
6953
 
6804
6954
  /**
6805
- * Encodes the specified ValidateSchemaResponse message. Does not implicitly {@link google.pubsub.v1.ValidateSchemaResponse.verify|verify} messages.
6806
- * @param message ValidateSchemaResponse message or plain object to encode
6955
+ * Encodes the specified CommitSchemaRequest message. Does not implicitly {@link google.pubsub.v1.CommitSchemaRequest.verify|verify} messages.
6956
+ * @param message CommitSchemaRequest message or plain object to encode
6807
6957
  * @param [writer] Writer to encode to
6808
6958
  * @returns Writer
6809
6959
  */
6810
- public static encode(message: google.pubsub.v1.IValidateSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer;
6960
+ public static encode(message: google.pubsub.v1.ICommitSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6811
6961
 
6812
6962
  /**
6813
- * Encodes the specified ValidateSchemaResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.ValidateSchemaResponse.verify|verify} messages.
6814
- * @param message ValidateSchemaResponse message or plain object to encode
6963
+ * Encodes the specified CommitSchemaRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.CommitSchemaRequest.verify|verify} messages.
6964
+ * @param message CommitSchemaRequest message or plain object to encode
6815
6965
  * @param [writer] Writer to encode to
6816
6966
  * @returns Writer
6817
6967
  */
6818
- public static encodeDelimited(message: google.pubsub.v1.IValidateSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer;
6968
+ public static encodeDelimited(message: google.pubsub.v1.ICommitSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6819
6969
 
6820
6970
  /**
6821
- * Decodes a ValidateSchemaResponse message from the specified reader or buffer.
6971
+ * Decodes a CommitSchemaRequest message from the specified reader or buffer.
6822
6972
  * @param reader Reader or buffer to decode from
6823
6973
  * @param [length] Message length if known beforehand
6824
- * @returns ValidateSchemaResponse
6974
+ * @returns CommitSchemaRequest
6825
6975
  * @throws {Error} If the payload is not a reader or valid buffer
6826
6976
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
6827
6977
  */
6828
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ValidateSchemaResponse;
6978
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.CommitSchemaRequest;
6829
6979
 
6830
6980
  /**
6831
- * Decodes a ValidateSchemaResponse message from the specified reader or buffer, length delimited.
6981
+ * Decodes a CommitSchemaRequest message from the specified reader or buffer, length delimited.
6832
6982
  * @param reader Reader or buffer to decode from
6833
- * @returns ValidateSchemaResponse
6983
+ * @returns CommitSchemaRequest
6834
6984
  * @throws {Error} If the payload is not a reader or valid buffer
6835
6985
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
6836
6986
  */
6837
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ValidateSchemaResponse;
6987
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.CommitSchemaRequest;
6838
6988
 
6839
6989
  /**
6840
- * Verifies a ValidateSchemaResponse message.
6990
+ * Verifies a CommitSchemaRequest message.
6841
6991
  * @param message Plain object to verify
6842
6992
  * @returns `null` if valid, otherwise the reason why it is not
6843
6993
  */
6844
6994
  public static verify(message: { [k: string]: any }): (string|null);
6845
6995
 
6846
6996
  /**
6847
- * Creates a ValidateSchemaResponse message from a plain object. Also converts values to their respective internal types.
6997
+ * Creates a CommitSchemaRequest message from a plain object. Also converts values to their respective internal types.
6848
6998
  * @param object Plain object
6849
- * @returns ValidateSchemaResponse
6999
+ * @returns CommitSchemaRequest
6850
7000
  */
6851
- public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ValidateSchemaResponse;
7001
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.CommitSchemaRequest;
6852
7002
 
6853
7003
  /**
6854
- * Creates a plain object from a ValidateSchemaResponse message. Also converts values to other types if specified.
6855
- * @param message ValidateSchemaResponse
7004
+ * Creates a plain object from a CommitSchemaRequest message. Also converts values to other types if specified.
7005
+ * @param message CommitSchemaRequest
6856
7006
  * @param [options] Conversion options
6857
7007
  * @returns Plain object
6858
7008
  */
6859
- public static toObject(message: google.pubsub.v1.ValidateSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
7009
+ public static toObject(message: google.pubsub.v1.CommitSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
6860
7010
 
6861
7011
  /**
6862
- * Converts this ValidateSchemaResponse to JSON.
7012
+ * Converts this CommitSchemaRequest to JSON.
6863
7013
  * @returns JSON object
6864
7014
  */
6865
7015
  public toJSON(): { [k: string]: any };
6866
7016
 
6867
7017
  /**
6868
- * Gets the default type url for ValidateSchemaResponse
7018
+ * Gets the default type url for CommitSchemaRequest
6869
7019
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6870
7020
  * @returns The default type url
6871
7021
  */
6872
7022
  public static getTypeUrl(typeUrlPrefix?: string): string;
6873
7023
  }
6874
7024
 
6875
- /** Properties of a ValidateMessageRequest. */
6876
- interface IValidateMessageRequest {
6877
-
6878
- /** ValidateMessageRequest parent */
6879
- parent?: (string|null);
7025
+ /** Properties of a RollbackSchemaRequest. */
7026
+ interface IRollbackSchemaRequest {
6880
7027
 
6881
- /** ValidateMessageRequest name */
7028
+ /** RollbackSchemaRequest name */
6882
7029
  name?: (string|null);
6883
7030
 
6884
- /** ValidateMessageRequest schema */
6885
- schema?: (google.pubsub.v1.ISchema|null);
6886
-
6887
- /** ValidateMessageRequest message */
6888
- message?: (Uint8Array|string|null);
6889
-
6890
- /** ValidateMessageRequest encoding */
6891
- encoding?: (google.pubsub.v1.Encoding|keyof typeof google.pubsub.v1.Encoding|null);
7031
+ /** RollbackSchemaRequest revisionId */
7032
+ revisionId?: (string|null);
6892
7033
  }
6893
7034
 
6894
- /** Represents a ValidateMessageRequest. */
6895
- class ValidateMessageRequest implements IValidateMessageRequest {
7035
+ /** Represents a RollbackSchemaRequest. */
7036
+ class RollbackSchemaRequest implements IRollbackSchemaRequest {
6896
7037
 
6897
7038
  /**
6898
- * Constructs a new ValidateMessageRequest.
7039
+ * Constructs a new RollbackSchemaRequest.
6899
7040
  * @param [properties] Properties to set
6900
7041
  */
6901
- constructor(properties?: google.pubsub.v1.IValidateMessageRequest);
6902
-
6903
- /** ValidateMessageRequest parent. */
6904
- public parent: string;
6905
-
6906
- /** ValidateMessageRequest name. */
6907
- public name?: (string|null);
7042
+ constructor(properties?: google.pubsub.v1.IRollbackSchemaRequest);
6908
7043
 
6909
- /** ValidateMessageRequest schema. */
6910
- public schema?: (google.pubsub.v1.ISchema|null);
6911
-
6912
- /** ValidateMessageRequest message. */
6913
- public message: (Uint8Array|string);
6914
-
6915
- /** ValidateMessageRequest encoding. */
6916
- public encoding: (google.pubsub.v1.Encoding|keyof typeof google.pubsub.v1.Encoding);
7044
+ /** RollbackSchemaRequest name. */
7045
+ public name: string;
6917
7046
 
6918
- /** ValidateMessageRequest schemaSpec. */
6919
- public schemaSpec?: ("name"|"schema");
7047
+ /** RollbackSchemaRequest revisionId. */
7048
+ public revisionId: string;
6920
7049
 
6921
7050
  /**
6922
- * Creates a new ValidateMessageRequest instance using the specified properties.
7051
+ * Creates a new RollbackSchemaRequest instance using the specified properties.
6923
7052
  * @param [properties] Properties to set
6924
- * @returns ValidateMessageRequest instance
7053
+ * @returns RollbackSchemaRequest instance
6925
7054
  */
6926
- public static create(properties?: google.pubsub.v1.IValidateMessageRequest): google.pubsub.v1.ValidateMessageRequest;
7055
+ public static create(properties?: google.pubsub.v1.IRollbackSchemaRequest): google.pubsub.v1.RollbackSchemaRequest;
6927
7056
 
6928
7057
  /**
6929
- * Encodes the specified ValidateMessageRequest message. Does not implicitly {@link google.pubsub.v1.ValidateMessageRequest.verify|verify} messages.
6930
- * @param message ValidateMessageRequest message or plain object to encode
7058
+ * Encodes the specified RollbackSchemaRequest message. Does not implicitly {@link google.pubsub.v1.RollbackSchemaRequest.verify|verify} messages.
7059
+ * @param message RollbackSchemaRequest message or plain object to encode
6931
7060
  * @param [writer] Writer to encode to
6932
7061
  * @returns Writer
6933
7062
  */
6934
- public static encode(message: google.pubsub.v1.IValidateMessageRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7063
+ public static encode(message: google.pubsub.v1.IRollbackSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6935
7064
 
6936
7065
  /**
6937
- * Encodes the specified ValidateMessageRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ValidateMessageRequest.verify|verify} messages.
6938
- * @param message ValidateMessageRequest message or plain object to encode
7066
+ * Encodes the specified RollbackSchemaRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.RollbackSchemaRequest.verify|verify} messages.
7067
+ * @param message RollbackSchemaRequest message or plain object to encode
6939
7068
  * @param [writer] Writer to encode to
6940
7069
  * @returns Writer
6941
7070
  */
6942
- public static encodeDelimited(message: google.pubsub.v1.IValidateMessageRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7071
+ public static encodeDelimited(message: google.pubsub.v1.IRollbackSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6943
7072
 
6944
7073
  /**
6945
- * Decodes a ValidateMessageRequest message from the specified reader or buffer.
7074
+ * Decodes a RollbackSchemaRequest message from the specified reader or buffer.
6946
7075
  * @param reader Reader or buffer to decode from
6947
7076
  * @param [length] Message length if known beforehand
6948
- * @returns ValidateMessageRequest
7077
+ * @returns RollbackSchemaRequest
6949
7078
  * @throws {Error} If the payload is not a reader or valid buffer
6950
7079
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
6951
7080
  */
6952
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ValidateMessageRequest;
7081
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.RollbackSchemaRequest;
6953
7082
 
6954
7083
  /**
6955
- * Decodes a ValidateMessageRequest message from the specified reader or buffer, length delimited.
7084
+ * Decodes a RollbackSchemaRequest message from the specified reader or buffer, length delimited.
6956
7085
  * @param reader Reader or buffer to decode from
6957
- * @returns ValidateMessageRequest
7086
+ * @returns RollbackSchemaRequest
6958
7087
  * @throws {Error} If the payload is not a reader or valid buffer
6959
7088
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
6960
7089
  */
6961
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ValidateMessageRequest;
7090
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.RollbackSchemaRequest;
6962
7091
 
6963
7092
  /**
6964
- * Verifies a ValidateMessageRequest message.
7093
+ * Verifies a RollbackSchemaRequest message.
6965
7094
  * @param message Plain object to verify
6966
7095
  * @returns `null` if valid, otherwise the reason why it is not
6967
7096
  */
6968
7097
  public static verify(message: { [k: string]: any }): (string|null);
6969
7098
 
6970
7099
  /**
6971
- * Creates a ValidateMessageRequest message from a plain object. Also converts values to their respective internal types.
7100
+ * Creates a RollbackSchemaRequest message from a plain object. Also converts values to their respective internal types.
6972
7101
  * @param object Plain object
6973
- * @returns ValidateMessageRequest
7102
+ * @returns RollbackSchemaRequest
6974
7103
  */
6975
- public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ValidateMessageRequest;
7104
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.RollbackSchemaRequest;
6976
7105
 
6977
7106
  /**
6978
- * Creates a plain object from a ValidateMessageRequest message. Also converts values to other types if specified.
6979
- * @param message ValidateMessageRequest
7107
+ * Creates a plain object from a RollbackSchemaRequest message. Also converts values to other types if specified.
7108
+ * @param message RollbackSchemaRequest
6980
7109
  * @param [options] Conversion options
6981
7110
  * @returns Plain object
6982
7111
  */
6983
- public static toObject(message: google.pubsub.v1.ValidateMessageRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
7112
+ public static toObject(message: google.pubsub.v1.RollbackSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
6984
7113
 
6985
7114
  /**
6986
- * Converts this ValidateMessageRequest to JSON.
7115
+ * Converts this RollbackSchemaRequest to JSON.
6987
7116
  * @returns JSON object
6988
7117
  */
6989
7118
  public toJSON(): { [k: string]: any };
6990
7119
 
6991
7120
  /**
6992
- * Gets the default type url for ValidateMessageRequest
7121
+ * Gets the default type url for RollbackSchemaRequest
6993
7122
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6994
7123
  * @returns The default type url
6995
7124
  */
6996
7125
  public static getTypeUrl(typeUrlPrefix?: string): string;
6997
7126
  }
6998
7127
 
6999
- /** Properties of a ValidateMessageResponse. */
7000
- interface IValidateMessageResponse {
7128
+ /** Properties of a DeleteSchemaRevisionRequest. */
7129
+ interface IDeleteSchemaRevisionRequest {
7130
+
7131
+ /** DeleteSchemaRevisionRequest name */
7132
+ name?: (string|null);
7133
+
7134
+ /** DeleteSchemaRevisionRequest revisionId */
7135
+ revisionId?: (string|null);
7001
7136
  }
7002
7137
 
7003
- /** Represents a ValidateMessageResponse. */
7004
- class ValidateMessageResponse implements IValidateMessageResponse {
7138
+ /** Represents a DeleteSchemaRevisionRequest. */
7139
+ class DeleteSchemaRevisionRequest implements IDeleteSchemaRevisionRequest {
7005
7140
 
7006
7141
  /**
7007
- * Constructs a new ValidateMessageResponse.
7142
+ * Constructs a new DeleteSchemaRevisionRequest.
7008
7143
  * @param [properties] Properties to set
7009
7144
  */
7010
- constructor(properties?: google.pubsub.v1.IValidateMessageResponse);
7145
+ constructor(properties?: google.pubsub.v1.IDeleteSchemaRevisionRequest);
7146
+
7147
+ /** DeleteSchemaRevisionRequest name. */
7148
+ public name: string;
7149
+
7150
+ /** DeleteSchemaRevisionRequest revisionId. */
7151
+ public revisionId: string;
7011
7152
 
7012
7153
  /**
7013
- * Creates a new ValidateMessageResponse instance using the specified properties.
7154
+ * Creates a new DeleteSchemaRevisionRequest instance using the specified properties.
7014
7155
  * @param [properties] Properties to set
7015
- * @returns ValidateMessageResponse instance
7156
+ * @returns DeleteSchemaRevisionRequest instance
7016
7157
  */
7017
- public static create(properties?: google.pubsub.v1.IValidateMessageResponse): google.pubsub.v1.ValidateMessageResponse;
7158
+ public static create(properties?: google.pubsub.v1.IDeleteSchemaRevisionRequest): google.pubsub.v1.DeleteSchemaRevisionRequest;
7018
7159
 
7019
7160
  /**
7020
- * Encodes the specified ValidateMessageResponse message. Does not implicitly {@link google.pubsub.v1.ValidateMessageResponse.verify|verify} messages.
7021
- * @param message ValidateMessageResponse message or plain object to encode
7161
+ * Encodes the specified DeleteSchemaRevisionRequest message. Does not implicitly {@link google.pubsub.v1.DeleteSchemaRevisionRequest.verify|verify} messages.
7162
+ * @param message DeleteSchemaRevisionRequest message or plain object to encode
7022
7163
  * @param [writer] Writer to encode to
7023
7164
  * @returns Writer
7024
7165
  */
7025
- public static encode(message: google.pubsub.v1.IValidateMessageResponse, writer?: $protobuf.Writer): $protobuf.Writer;
7166
+ public static encode(message: google.pubsub.v1.IDeleteSchemaRevisionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7026
7167
 
7027
7168
  /**
7028
- * Encodes the specified ValidateMessageResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.ValidateMessageResponse.verify|verify} messages.
7029
- * @param message ValidateMessageResponse message or plain object to encode
7169
+ * Encodes the specified DeleteSchemaRevisionRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.DeleteSchemaRevisionRequest.verify|verify} messages.
7170
+ * @param message DeleteSchemaRevisionRequest message or plain object to encode
7030
7171
  * @param [writer] Writer to encode to
7031
7172
  * @returns Writer
7032
7173
  */
7033
- public static encodeDelimited(message: google.pubsub.v1.IValidateMessageResponse, writer?: $protobuf.Writer): $protobuf.Writer;
7174
+ public static encodeDelimited(message: google.pubsub.v1.IDeleteSchemaRevisionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7034
7175
 
7035
7176
  /**
7036
- * Decodes a ValidateMessageResponse message from the specified reader or buffer.
7177
+ * Decodes a DeleteSchemaRevisionRequest message from the specified reader or buffer.
7037
7178
  * @param reader Reader or buffer to decode from
7038
7179
  * @param [length] Message length if known beforehand
7039
- * @returns ValidateMessageResponse
7180
+ * @returns DeleteSchemaRevisionRequest
7040
7181
  * @throws {Error} If the payload is not a reader or valid buffer
7041
7182
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
7042
7183
  */
7043
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ValidateMessageResponse;
7184
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.DeleteSchemaRevisionRequest;
7044
7185
 
7045
7186
  /**
7046
- * Decodes a ValidateMessageResponse message from the specified reader or buffer, length delimited.
7187
+ * Decodes a DeleteSchemaRevisionRequest message from the specified reader or buffer, length delimited.
7047
7188
  * @param reader Reader or buffer to decode from
7048
- * @returns ValidateMessageResponse
7189
+ * @returns DeleteSchemaRevisionRequest
7049
7190
  * @throws {Error} If the payload is not a reader or valid buffer
7050
7191
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
7051
7192
  */
7052
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ValidateMessageResponse;
7193
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.DeleteSchemaRevisionRequest;
7053
7194
 
7054
7195
  /**
7055
- * Verifies a ValidateMessageResponse message.
7196
+ * Verifies a DeleteSchemaRevisionRequest message.
7056
7197
  * @param message Plain object to verify
7057
7198
  * @returns `null` if valid, otherwise the reason why it is not
7058
7199
  */
7059
7200
  public static verify(message: { [k: string]: any }): (string|null);
7060
7201
 
7061
7202
  /**
7062
- * Creates a ValidateMessageResponse message from a plain object. Also converts values to their respective internal types.
7203
+ * Creates a DeleteSchemaRevisionRequest message from a plain object. Also converts values to their respective internal types.
7063
7204
  * @param object Plain object
7064
- * @returns ValidateMessageResponse
7205
+ * @returns DeleteSchemaRevisionRequest
7065
7206
  */
7066
- public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ValidateMessageResponse;
7207
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.DeleteSchemaRevisionRequest;
7067
7208
 
7068
7209
  /**
7069
- * Creates a plain object from a ValidateMessageResponse message. Also converts values to other types if specified.
7070
- * @param message ValidateMessageResponse
7210
+ * Creates a plain object from a DeleteSchemaRevisionRequest message. Also converts values to other types if specified.
7211
+ * @param message DeleteSchemaRevisionRequest
7071
7212
  * @param [options] Conversion options
7072
7213
  * @returns Plain object
7073
7214
  */
7074
- public static toObject(message: google.pubsub.v1.ValidateMessageResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
7215
+ public static toObject(message: google.pubsub.v1.DeleteSchemaRevisionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
7075
7216
 
7076
7217
  /**
7077
- * Converts this ValidateMessageResponse to JSON.
7218
+ * Converts this DeleteSchemaRevisionRequest to JSON.
7078
7219
  * @returns JSON object
7079
7220
  */
7080
7221
  public toJSON(): { [k: string]: any };
7081
7222
 
7082
7223
  /**
7083
- * Gets the default type url for ValidateMessageResponse
7224
+ * Gets the default type url for DeleteSchemaRevisionRequest
7084
7225
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7085
7226
  * @returns The default type url
7086
7227
  */
7087
7228
  public static getTypeUrl(typeUrlPrefix?: string): string;
7088
7229
  }
7089
7230
 
7090
- /** Encoding enum. */
7091
- enum Encoding {
7092
- ENCODING_UNSPECIFIED = 0,
7093
- JSON = 1,
7094
- BINARY = 2
7231
+ /** Properties of a DeleteSchemaRequest. */
7232
+ interface IDeleteSchemaRequest {
7233
+
7234
+ /** DeleteSchemaRequest name */
7235
+ name?: (string|null);
7095
7236
  }
7096
- }
7097
- }
7098
7237
 
7099
- /** Namespace api. */
7100
- namespace api {
7238
+ /** Represents a DeleteSchemaRequest. */
7239
+ class DeleteSchemaRequest implements IDeleteSchemaRequest {
7101
7240
 
7102
- /** Properties of a Http. */
7103
- interface IHttp {
7241
+ /**
7242
+ * Constructs a new DeleteSchemaRequest.
7243
+ * @param [properties] Properties to set
7244
+ */
7245
+ constructor(properties?: google.pubsub.v1.IDeleteSchemaRequest);
7104
7246
 
7105
- /** Http rules */
7106
- rules?: (google.api.IHttpRule[]|null);
7247
+ /** DeleteSchemaRequest name. */
7248
+ public name: string;
7107
7249
 
7108
- /** Http fullyDecodeReservedExpansion */
7109
- fullyDecodeReservedExpansion?: (boolean|null);
7250
+ /**
7251
+ * Creates a new DeleteSchemaRequest instance using the specified properties.
7252
+ * @param [properties] Properties to set
7253
+ * @returns DeleteSchemaRequest instance
7254
+ */
7255
+ public static create(properties?: google.pubsub.v1.IDeleteSchemaRequest): google.pubsub.v1.DeleteSchemaRequest;
7256
+
7257
+ /**
7258
+ * Encodes the specified DeleteSchemaRequest message. Does not implicitly {@link google.pubsub.v1.DeleteSchemaRequest.verify|verify} messages.
7259
+ * @param message DeleteSchemaRequest message or plain object to encode
7260
+ * @param [writer] Writer to encode to
7261
+ * @returns Writer
7262
+ */
7263
+ public static encode(message: google.pubsub.v1.IDeleteSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7264
+
7265
+ /**
7266
+ * Encodes the specified DeleteSchemaRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.DeleteSchemaRequest.verify|verify} messages.
7267
+ * @param message DeleteSchemaRequest message or plain object to encode
7268
+ * @param [writer] Writer to encode to
7269
+ * @returns Writer
7270
+ */
7271
+ public static encodeDelimited(message: google.pubsub.v1.IDeleteSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7272
+
7273
+ /**
7274
+ * Decodes a DeleteSchemaRequest message from the specified reader or buffer.
7275
+ * @param reader Reader or buffer to decode from
7276
+ * @param [length] Message length if known beforehand
7277
+ * @returns DeleteSchemaRequest
7278
+ * @throws {Error} If the payload is not a reader or valid buffer
7279
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7280
+ */
7281
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.DeleteSchemaRequest;
7282
+
7283
+ /**
7284
+ * Decodes a DeleteSchemaRequest message from the specified reader or buffer, length delimited.
7285
+ * @param reader Reader or buffer to decode from
7286
+ * @returns DeleteSchemaRequest
7287
+ * @throws {Error} If the payload is not a reader or valid buffer
7288
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7289
+ */
7290
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.DeleteSchemaRequest;
7291
+
7292
+ /**
7293
+ * Verifies a DeleteSchemaRequest message.
7294
+ * @param message Plain object to verify
7295
+ * @returns `null` if valid, otherwise the reason why it is not
7296
+ */
7297
+ public static verify(message: { [k: string]: any }): (string|null);
7298
+
7299
+ /**
7300
+ * Creates a DeleteSchemaRequest message from a plain object. Also converts values to their respective internal types.
7301
+ * @param object Plain object
7302
+ * @returns DeleteSchemaRequest
7303
+ */
7304
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.DeleteSchemaRequest;
7305
+
7306
+ /**
7307
+ * Creates a plain object from a DeleteSchemaRequest message. Also converts values to other types if specified.
7308
+ * @param message DeleteSchemaRequest
7309
+ * @param [options] Conversion options
7310
+ * @returns Plain object
7311
+ */
7312
+ public static toObject(message: google.pubsub.v1.DeleteSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
7313
+
7314
+ /**
7315
+ * Converts this DeleteSchemaRequest to JSON.
7316
+ * @returns JSON object
7317
+ */
7318
+ public toJSON(): { [k: string]: any };
7319
+
7320
+ /**
7321
+ * Gets the default type url for DeleteSchemaRequest
7322
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7323
+ * @returns The default type url
7324
+ */
7325
+ public static getTypeUrl(typeUrlPrefix?: string): string;
7326
+ }
7327
+
7328
+ /** Properties of a ValidateSchemaRequest. */
7329
+ interface IValidateSchemaRequest {
7330
+
7331
+ /** ValidateSchemaRequest parent */
7332
+ parent?: (string|null);
7333
+
7334
+ /** ValidateSchemaRequest schema */
7335
+ schema?: (google.pubsub.v1.ISchema|null);
7336
+ }
7337
+
7338
+ /** Represents a ValidateSchemaRequest. */
7339
+ class ValidateSchemaRequest implements IValidateSchemaRequest {
7340
+
7341
+ /**
7342
+ * Constructs a new ValidateSchemaRequest.
7343
+ * @param [properties] Properties to set
7344
+ */
7345
+ constructor(properties?: google.pubsub.v1.IValidateSchemaRequest);
7346
+
7347
+ /** ValidateSchemaRequest parent. */
7348
+ public parent: string;
7349
+
7350
+ /** ValidateSchemaRequest schema. */
7351
+ public schema?: (google.pubsub.v1.ISchema|null);
7352
+
7353
+ /**
7354
+ * Creates a new ValidateSchemaRequest instance using the specified properties.
7355
+ * @param [properties] Properties to set
7356
+ * @returns ValidateSchemaRequest instance
7357
+ */
7358
+ public static create(properties?: google.pubsub.v1.IValidateSchemaRequest): google.pubsub.v1.ValidateSchemaRequest;
7359
+
7360
+ /**
7361
+ * Encodes the specified ValidateSchemaRequest message. Does not implicitly {@link google.pubsub.v1.ValidateSchemaRequest.verify|verify} messages.
7362
+ * @param message ValidateSchemaRequest message or plain object to encode
7363
+ * @param [writer] Writer to encode to
7364
+ * @returns Writer
7365
+ */
7366
+ public static encode(message: google.pubsub.v1.IValidateSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7367
+
7368
+ /**
7369
+ * Encodes the specified ValidateSchemaRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ValidateSchemaRequest.verify|verify} messages.
7370
+ * @param message ValidateSchemaRequest message or plain object to encode
7371
+ * @param [writer] Writer to encode to
7372
+ * @returns Writer
7373
+ */
7374
+ public static encodeDelimited(message: google.pubsub.v1.IValidateSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7375
+
7376
+ /**
7377
+ * Decodes a ValidateSchemaRequest message from the specified reader or buffer.
7378
+ * @param reader Reader or buffer to decode from
7379
+ * @param [length] Message length if known beforehand
7380
+ * @returns ValidateSchemaRequest
7381
+ * @throws {Error} If the payload is not a reader or valid buffer
7382
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7383
+ */
7384
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ValidateSchemaRequest;
7385
+
7386
+ /**
7387
+ * Decodes a ValidateSchemaRequest message from the specified reader or buffer, length delimited.
7388
+ * @param reader Reader or buffer to decode from
7389
+ * @returns ValidateSchemaRequest
7390
+ * @throws {Error} If the payload is not a reader or valid buffer
7391
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7392
+ */
7393
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ValidateSchemaRequest;
7394
+
7395
+ /**
7396
+ * Verifies a ValidateSchemaRequest message.
7397
+ * @param message Plain object to verify
7398
+ * @returns `null` if valid, otherwise the reason why it is not
7399
+ */
7400
+ public static verify(message: { [k: string]: any }): (string|null);
7401
+
7402
+ /**
7403
+ * Creates a ValidateSchemaRequest message from a plain object. Also converts values to their respective internal types.
7404
+ * @param object Plain object
7405
+ * @returns ValidateSchemaRequest
7406
+ */
7407
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ValidateSchemaRequest;
7408
+
7409
+ /**
7410
+ * Creates a plain object from a ValidateSchemaRequest message. Also converts values to other types if specified.
7411
+ * @param message ValidateSchemaRequest
7412
+ * @param [options] Conversion options
7413
+ * @returns Plain object
7414
+ */
7415
+ public static toObject(message: google.pubsub.v1.ValidateSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
7416
+
7417
+ /**
7418
+ * Converts this ValidateSchemaRequest to JSON.
7419
+ * @returns JSON object
7420
+ */
7421
+ public toJSON(): { [k: string]: any };
7422
+
7423
+ /**
7424
+ * Gets the default type url for ValidateSchemaRequest
7425
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7426
+ * @returns The default type url
7427
+ */
7428
+ public static getTypeUrl(typeUrlPrefix?: string): string;
7429
+ }
7430
+
7431
+ /** Properties of a ValidateSchemaResponse. */
7432
+ interface IValidateSchemaResponse {
7433
+ }
7434
+
7435
+ /** Represents a ValidateSchemaResponse. */
7436
+ class ValidateSchemaResponse implements IValidateSchemaResponse {
7437
+
7438
+ /**
7439
+ * Constructs a new ValidateSchemaResponse.
7440
+ * @param [properties] Properties to set
7441
+ */
7442
+ constructor(properties?: google.pubsub.v1.IValidateSchemaResponse);
7443
+
7444
+ /**
7445
+ * Creates a new ValidateSchemaResponse instance using the specified properties.
7446
+ * @param [properties] Properties to set
7447
+ * @returns ValidateSchemaResponse instance
7448
+ */
7449
+ public static create(properties?: google.pubsub.v1.IValidateSchemaResponse): google.pubsub.v1.ValidateSchemaResponse;
7450
+
7451
+ /**
7452
+ * Encodes the specified ValidateSchemaResponse message. Does not implicitly {@link google.pubsub.v1.ValidateSchemaResponse.verify|verify} messages.
7453
+ * @param message ValidateSchemaResponse message or plain object to encode
7454
+ * @param [writer] Writer to encode to
7455
+ * @returns Writer
7456
+ */
7457
+ public static encode(message: google.pubsub.v1.IValidateSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer;
7458
+
7459
+ /**
7460
+ * Encodes the specified ValidateSchemaResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.ValidateSchemaResponse.verify|verify} messages.
7461
+ * @param message ValidateSchemaResponse message or plain object to encode
7462
+ * @param [writer] Writer to encode to
7463
+ * @returns Writer
7464
+ */
7465
+ public static encodeDelimited(message: google.pubsub.v1.IValidateSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer;
7466
+
7467
+ /**
7468
+ * Decodes a ValidateSchemaResponse message from the specified reader or buffer.
7469
+ * @param reader Reader or buffer to decode from
7470
+ * @param [length] Message length if known beforehand
7471
+ * @returns ValidateSchemaResponse
7472
+ * @throws {Error} If the payload is not a reader or valid buffer
7473
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7474
+ */
7475
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ValidateSchemaResponse;
7476
+
7477
+ /**
7478
+ * Decodes a ValidateSchemaResponse message from the specified reader or buffer, length delimited.
7479
+ * @param reader Reader or buffer to decode from
7480
+ * @returns ValidateSchemaResponse
7481
+ * @throws {Error} If the payload is not a reader or valid buffer
7482
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7483
+ */
7484
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ValidateSchemaResponse;
7485
+
7486
+ /**
7487
+ * Verifies a ValidateSchemaResponse message.
7488
+ * @param message Plain object to verify
7489
+ * @returns `null` if valid, otherwise the reason why it is not
7490
+ */
7491
+ public static verify(message: { [k: string]: any }): (string|null);
7492
+
7493
+ /**
7494
+ * Creates a ValidateSchemaResponse message from a plain object. Also converts values to their respective internal types.
7495
+ * @param object Plain object
7496
+ * @returns ValidateSchemaResponse
7497
+ */
7498
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ValidateSchemaResponse;
7499
+
7500
+ /**
7501
+ * Creates a plain object from a ValidateSchemaResponse message. Also converts values to other types if specified.
7502
+ * @param message ValidateSchemaResponse
7503
+ * @param [options] Conversion options
7504
+ * @returns Plain object
7505
+ */
7506
+ public static toObject(message: google.pubsub.v1.ValidateSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
7507
+
7508
+ /**
7509
+ * Converts this ValidateSchemaResponse to JSON.
7510
+ * @returns JSON object
7511
+ */
7512
+ public toJSON(): { [k: string]: any };
7513
+
7514
+ /**
7515
+ * Gets the default type url for ValidateSchemaResponse
7516
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7517
+ * @returns The default type url
7518
+ */
7519
+ public static getTypeUrl(typeUrlPrefix?: string): string;
7520
+ }
7521
+
7522
+ /** Properties of a ValidateMessageRequest. */
7523
+ interface IValidateMessageRequest {
7524
+
7525
+ /** ValidateMessageRequest parent */
7526
+ parent?: (string|null);
7527
+
7528
+ /** ValidateMessageRequest name */
7529
+ name?: (string|null);
7530
+
7531
+ /** ValidateMessageRequest schema */
7532
+ schema?: (google.pubsub.v1.ISchema|null);
7533
+
7534
+ /** ValidateMessageRequest message */
7535
+ message?: (Uint8Array|string|null);
7536
+
7537
+ /** ValidateMessageRequest encoding */
7538
+ encoding?: (google.pubsub.v1.Encoding|keyof typeof google.pubsub.v1.Encoding|null);
7539
+ }
7540
+
7541
+ /** Represents a ValidateMessageRequest. */
7542
+ class ValidateMessageRequest implements IValidateMessageRequest {
7543
+
7544
+ /**
7545
+ * Constructs a new ValidateMessageRequest.
7546
+ * @param [properties] Properties to set
7547
+ */
7548
+ constructor(properties?: google.pubsub.v1.IValidateMessageRequest);
7549
+
7550
+ /** ValidateMessageRequest parent. */
7551
+ public parent: string;
7552
+
7553
+ /** ValidateMessageRequest name. */
7554
+ public name?: (string|null);
7555
+
7556
+ /** ValidateMessageRequest schema. */
7557
+ public schema?: (google.pubsub.v1.ISchema|null);
7558
+
7559
+ /** ValidateMessageRequest message. */
7560
+ public message: (Uint8Array|string);
7561
+
7562
+ /** ValidateMessageRequest encoding. */
7563
+ public encoding: (google.pubsub.v1.Encoding|keyof typeof google.pubsub.v1.Encoding);
7564
+
7565
+ /** ValidateMessageRequest schemaSpec. */
7566
+ public schemaSpec?: ("name"|"schema");
7567
+
7568
+ /**
7569
+ * Creates a new ValidateMessageRequest instance using the specified properties.
7570
+ * @param [properties] Properties to set
7571
+ * @returns ValidateMessageRequest instance
7572
+ */
7573
+ public static create(properties?: google.pubsub.v1.IValidateMessageRequest): google.pubsub.v1.ValidateMessageRequest;
7574
+
7575
+ /**
7576
+ * Encodes the specified ValidateMessageRequest message. Does not implicitly {@link google.pubsub.v1.ValidateMessageRequest.verify|verify} messages.
7577
+ * @param message ValidateMessageRequest message or plain object to encode
7578
+ * @param [writer] Writer to encode to
7579
+ * @returns Writer
7580
+ */
7581
+ public static encode(message: google.pubsub.v1.IValidateMessageRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7582
+
7583
+ /**
7584
+ * Encodes the specified ValidateMessageRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ValidateMessageRequest.verify|verify} messages.
7585
+ * @param message ValidateMessageRequest message or plain object to encode
7586
+ * @param [writer] Writer to encode to
7587
+ * @returns Writer
7588
+ */
7589
+ public static encodeDelimited(message: google.pubsub.v1.IValidateMessageRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7590
+
7591
+ /**
7592
+ * Decodes a ValidateMessageRequest message from the specified reader or buffer.
7593
+ * @param reader Reader or buffer to decode from
7594
+ * @param [length] Message length if known beforehand
7595
+ * @returns ValidateMessageRequest
7596
+ * @throws {Error} If the payload is not a reader or valid buffer
7597
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7598
+ */
7599
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ValidateMessageRequest;
7600
+
7601
+ /**
7602
+ * Decodes a ValidateMessageRequest message from the specified reader or buffer, length delimited.
7603
+ * @param reader Reader or buffer to decode from
7604
+ * @returns ValidateMessageRequest
7605
+ * @throws {Error} If the payload is not a reader or valid buffer
7606
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7607
+ */
7608
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ValidateMessageRequest;
7609
+
7610
+ /**
7611
+ * Verifies a ValidateMessageRequest message.
7612
+ * @param message Plain object to verify
7613
+ * @returns `null` if valid, otherwise the reason why it is not
7614
+ */
7615
+ public static verify(message: { [k: string]: any }): (string|null);
7616
+
7617
+ /**
7618
+ * Creates a ValidateMessageRequest message from a plain object. Also converts values to their respective internal types.
7619
+ * @param object Plain object
7620
+ * @returns ValidateMessageRequest
7621
+ */
7622
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ValidateMessageRequest;
7623
+
7624
+ /**
7625
+ * Creates a plain object from a ValidateMessageRequest message. Also converts values to other types if specified.
7626
+ * @param message ValidateMessageRequest
7627
+ * @param [options] Conversion options
7628
+ * @returns Plain object
7629
+ */
7630
+ public static toObject(message: google.pubsub.v1.ValidateMessageRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
7631
+
7632
+ /**
7633
+ * Converts this ValidateMessageRequest to JSON.
7634
+ * @returns JSON object
7635
+ */
7636
+ public toJSON(): { [k: string]: any };
7637
+
7638
+ /**
7639
+ * Gets the default type url for ValidateMessageRequest
7640
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7641
+ * @returns The default type url
7642
+ */
7643
+ public static getTypeUrl(typeUrlPrefix?: string): string;
7644
+ }
7645
+
7646
+ /** Properties of a ValidateMessageResponse. */
7647
+ interface IValidateMessageResponse {
7648
+ }
7649
+
7650
+ /** Represents a ValidateMessageResponse. */
7651
+ class ValidateMessageResponse implements IValidateMessageResponse {
7652
+
7653
+ /**
7654
+ * Constructs a new ValidateMessageResponse.
7655
+ * @param [properties] Properties to set
7656
+ */
7657
+ constructor(properties?: google.pubsub.v1.IValidateMessageResponse);
7658
+
7659
+ /**
7660
+ * Creates a new ValidateMessageResponse instance using the specified properties.
7661
+ * @param [properties] Properties to set
7662
+ * @returns ValidateMessageResponse instance
7663
+ */
7664
+ public static create(properties?: google.pubsub.v1.IValidateMessageResponse): google.pubsub.v1.ValidateMessageResponse;
7665
+
7666
+ /**
7667
+ * Encodes the specified ValidateMessageResponse message. Does not implicitly {@link google.pubsub.v1.ValidateMessageResponse.verify|verify} messages.
7668
+ * @param message ValidateMessageResponse message or plain object to encode
7669
+ * @param [writer] Writer to encode to
7670
+ * @returns Writer
7671
+ */
7672
+ public static encode(message: google.pubsub.v1.IValidateMessageResponse, writer?: $protobuf.Writer): $protobuf.Writer;
7673
+
7674
+ /**
7675
+ * Encodes the specified ValidateMessageResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.ValidateMessageResponse.verify|verify} messages.
7676
+ * @param message ValidateMessageResponse message or plain object to encode
7677
+ * @param [writer] Writer to encode to
7678
+ * @returns Writer
7679
+ */
7680
+ public static encodeDelimited(message: google.pubsub.v1.IValidateMessageResponse, writer?: $protobuf.Writer): $protobuf.Writer;
7681
+
7682
+ /**
7683
+ * Decodes a ValidateMessageResponse message from the specified reader or buffer.
7684
+ * @param reader Reader or buffer to decode from
7685
+ * @param [length] Message length if known beforehand
7686
+ * @returns ValidateMessageResponse
7687
+ * @throws {Error} If the payload is not a reader or valid buffer
7688
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7689
+ */
7690
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ValidateMessageResponse;
7691
+
7692
+ /**
7693
+ * Decodes a ValidateMessageResponse message from the specified reader or buffer, length delimited.
7694
+ * @param reader Reader or buffer to decode from
7695
+ * @returns ValidateMessageResponse
7696
+ * @throws {Error} If the payload is not a reader or valid buffer
7697
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7698
+ */
7699
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ValidateMessageResponse;
7700
+
7701
+ /**
7702
+ * Verifies a ValidateMessageResponse message.
7703
+ * @param message Plain object to verify
7704
+ * @returns `null` if valid, otherwise the reason why it is not
7705
+ */
7706
+ public static verify(message: { [k: string]: any }): (string|null);
7707
+
7708
+ /**
7709
+ * Creates a ValidateMessageResponse message from a plain object. Also converts values to their respective internal types.
7710
+ * @param object Plain object
7711
+ * @returns ValidateMessageResponse
7712
+ */
7713
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ValidateMessageResponse;
7714
+
7715
+ /**
7716
+ * Creates a plain object from a ValidateMessageResponse message. Also converts values to other types if specified.
7717
+ * @param message ValidateMessageResponse
7718
+ * @param [options] Conversion options
7719
+ * @returns Plain object
7720
+ */
7721
+ public static toObject(message: google.pubsub.v1.ValidateMessageResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
7722
+
7723
+ /**
7724
+ * Converts this ValidateMessageResponse to JSON.
7725
+ * @returns JSON object
7726
+ */
7727
+ public toJSON(): { [k: string]: any };
7728
+
7729
+ /**
7730
+ * Gets the default type url for ValidateMessageResponse
7731
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7732
+ * @returns The default type url
7733
+ */
7734
+ public static getTypeUrl(typeUrlPrefix?: string): string;
7735
+ }
7736
+
7737
+ /** Encoding enum. */
7738
+ enum Encoding {
7739
+ ENCODING_UNSPECIFIED = 0,
7740
+ JSON = 1,
7741
+ BINARY = 2
7742
+ }
7743
+ }
7744
+ }
7745
+
7746
+ /** Namespace api. */
7747
+ namespace api {
7748
+
7749
+ /** Properties of a Http. */
7750
+ interface IHttp {
7751
+
7752
+ /** Http rules */
7753
+ rules?: (google.api.IHttpRule[]|null);
7754
+
7755
+ /** Http fullyDecodeReservedExpansion */
7756
+ fullyDecodeReservedExpansion?: (boolean|null);
7757
+ }
7758
+
7759
+ /** Represents a Http. */
7760
+ class Http implements IHttp {
7761
+
7762
+ /**
7763
+ * Constructs a new Http.
7764
+ * @param [properties] Properties to set
7765
+ */
7766
+ constructor(properties?: google.api.IHttp);
7767
+
7768
+ /** Http rules. */
7769
+ public rules: google.api.IHttpRule[];
7770
+
7771
+ /** Http fullyDecodeReservedExpansion. */
7772
+ public fullyDecodeReservedExpansion: boolean;
7773
+
7774
+ /**
7775
+ * Creates a new Http instance using the specified properties.
7776
+ * @param [properties] Properties to set
7777
+ * @returns Http instance
7778
+ */
7779
+ public static create(properties?: google.api.IHttp): google.api.Http;
7780
+
7781
+ /**
7782
+ * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
7783
+ * @param message Http message or plain object to encode
7784
+ * @param [writer] Writer to encode to
7785
+ * @returns Writer
7786
+ */
7787
+ public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
7788
+
7789
+ /**
7790
+ * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
7791
+ * @param message Http message or plain object to encode
7792
+ * @param [writer] Writer to encode to
7793
+ * @returns Writer
7794
+ */
7795
+ public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
7796
+
7797
+ /**
7798
+ * Decodes a Http message from the specified reader or buffer.
7799
+ * @param reader Reader or buffer to decode from
7800
+ * @param [length] Message length if known beforehand
7801
+ * @returns Http
7802
+ * @throws {Error} If the payload is not a reader or valid buffer
7803
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7804
+ */
7805
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
7806
+
7807
+ /**
7808
+ * Decodes a Http message from the specified reader or buffer, length delimited.
7809
+ * @param reader Reader or buffer to decode from
7810
+ * @returns Http
7811
+ * @throws {Error} If the payload is not a reader or valid buffer
7812
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7813
+ */
7814
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
7815
+
7816
+ /**
7817
+ * Verifies a Http message.
7818
+ * @param message Plain object to verify
7819
+ * @returns `null` if valid, otherwise the reason why it is not
7820
+ */
7821
+ public static verify(message: { [k: string]: any }): (string|null);
7822
+
7823
+ /**
7824
+ * Creates a Http message from a plain object. Also converts values to their respective internal types.
7825
+ * @param object Plain object
7826
+ * @returns Http
7827
+ */
7828
+ public static fromObject(object: { [k: string]: any }): google.api.Http;
7829
+
7830
+ /**
7831
+ * Creates a plain object from a Http message. Also converts values to other types if specified.
7832
+ * @param message Http
7833
+ * @param [options] Conversion options
7834
+ * @returns Plain object
7835
+ */
7836
+ public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
7837
+
7838
+ /**
7839
+ * Converts this Http to JSON.
7840
+ * @returns JSON object
7841
+ */
7842
+ public toJSON(): { [k: string]: any };
7843
+
7844
+ /**
7845
+ * Gets the default type url for Http
7846
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7847
+ * @returns The default type url
7848
+ */
7849
+ public static getTypeUrl(typeUrlPrefix?: string): string;
7850
+ }
7851
+
7852
+ /** Properties of a HttpRule. */
7853
+ interface IHttpRule {
7854
+
7855
+ /** HttpRule selector */
7856
+ selector?: (string|null);
7857
+
7858
+ /** HttpRule get */
7859
+ get?: (string|null);
7860
+
7861
+ /** HttpRule put */
7862
+ put?: (string|null);
7863
+
7864
+ /** HttpRule post */
7865
+ post?: (string|null);
7866
+
7867
+ /** HttpRule delete */
7868
+ "delete"?: (string|null);
7869
+
7870
+ /** HttpRule patch */
7871
+ patch?: (string|null);
7872
+
7873
+ /** HttpRule custom */
7874
+ custom?: (google.api.ICustomHttpPattern|null);
7875
+
7876
+ /** HttpRule body */
7877
+ body?: (string|null);
7878
+
7879
+ /** HttpRule responseBody */
7880
+ responseBody?: (string|null);
7881
+
7882
+ /** HttpRule additionalBindings */
7883
+ additionalBindings?: (google.api.IHttpRule[]|null);
7884
+ }
7885
+
7886
+ /** Represents a HttpRule. */
7887
+ class HttpRule implements IHttpRule {
7888
+
7889
+ /**
7890
+ * Constructs a new HttpRule.
7891
+ * @param [properties] Properties to set
7892
+ */
7893
+ constructor(properties?: google.api.IHttpRule);
7894
+
7895
+ /** HttpRule selector. */
7896
+ public selector: string;
7897
+
7898
+ /** HttpRule get. */
7899
+ public get?: (string|null);
7900
+
7901
+ /** HttpRule put. */
7902
+ public put?: (string|null);
7903
+
7904
+ /** HttpRule post. */
7905
+ public post?: (string|null);
7906
+
7907
+ /** HttpRule delete. */
7908
+ public delete?: (string|null);
7909
+
7910
+ /** HttpRule patch. */
7911
+ public patch?: (string|null);
7912
+
7913
+ /** HttpRule custom. */
7914
+ public custom?: (google.api.ICustomHttpPattern|null);
7915
+
7916
+ /** HttpRule body. */
7917
+ public body: string;
7918
+
7919
+ /** HttpRule responseBody. */
7920
+ public responseBody: string;
7921
+
7922
+ /** HttpRule additionalBindings. */
7923
+ public additionalBindings: google.api.IHttpRule[];
7924
+
7925
+ /** HttpRule pattern. */
7926
+ public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
7927
+
7928
+ /**
7929
+ * Creates a new HttpRule instance using the specified properties.
7930
+ * @param [properties] Properties to set
7931
+ * @returns HttpRule instance
7932
+ */
7933
+ public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
7934
+
7935
+ /**
7936
+ * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
7937
+ * @param message HttpRule message or plain object to encode
7938
+ * @param [writer] Writer to encode to
7939
+ * @returns Writer
7940
+ */
7941
+ public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
7942
+
7943
+ /**
7944
+ * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
7945
+ * @param message HttpRule message or plain object to encode
7946
+ * @param [writer] Writer to encode to
7947
+ * @returns Writer
7948
+ */
7949
+ public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
7950
+
7951
+ /**
7952
+ * Decodes a HttpRule message from the specified reader or buffer.
7953
+ * @param reader Reader or buffer to decode from
7954
+ * @param [length] Message length if known beforehand
7955
+ * @returns HttpRule
7956
+ * @throws {Error} If the payload is not a reader or valid buffer
7957
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7958
+ */
7959
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
7960
+
7961
+ /**
7962
+ * Decodes a HttpRule message from the specified reader or buffer, length delimited.
7963
+ * @param reader Reader or buffer to decode from
7964
+ * @returns HttpRule
7965
+ * @throws {Error} If the payload is not a reader or valid buffer
7966
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7967
+ */
7968
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
7969
+
7970
+ /**
7971
+ * Verifies a HttpRule message.
7972
+ * @param message Plain object to verify
7973
+ * @returns `null` if valid, otherwise the reason why it is not
7974
+ */
7975
+ public static verify(message: { [k: string]: any }): (string|null);
7976
+
7977
+ /**
7978
+ * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
7979
+ * @param object Plain object
7980
+ * @returns HttpRule
7981
+ */
7982
+ public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
7983
+
7984
+ /**
7985
+ * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
7986
+ * @param message HttpRule
7987
+ * @param [options] Conversion options
7988
+ * @returns Plain object
7989
+ */
7990
+ public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
7991
+
7992
+ /**
7993
+ * Converts this HttpRule to JSON.
7994
+ * @returns JSON object
7995
+ */
7996
+ public toJSON(): { [k: string]: any };
7997
+
7998
+ /**
7999
+ * Gets the default type url for HttpRule
8000
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8001
+ * @returns The default type url
8002
+ */
8003
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8004
+ }
8005
+
8006
+ /** Properties of a CustomHttpPattern. */
8007
+ interface ICustomHttpPattern {
8008
+
8009
+ /** CustomHttpPattern kind */
8010
+ kind?: (string|null);
8011
+
8012
+ /** CustomHttpPattern path */
8013
+ path?: (string|null);
8014
+ }
8015
+
8016
+ /** Represents a CustomHttpPattern. */
8017
+ class CustomHttpPattern implements ICustomHttpPattern {
8018
+
8019
+ /**
8020
+ * Constructs a new CustomHttpPattern.
8021
+ * @param [properties] Properties to set
8022
+ */
8023
+ constructor(properties?: google.api.ICustomHttpPattern);
8024
+
8025
+ /** CustomHttpPattern kind. */
8026
+ public kind: string;
8027
+
8028
+ /** CustomHttpPattern path. */
8029
+ public path: string;
8030
+
8031
+ /**
8032
+ * Creates a new CustomHttpPattern instance using the specified properties.
8033
+ * @param [properties] Properties to set
8034
+ * @returns CustomHttpPattern instance
8035
+ */
8036
+ public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
8037
+
8038
+ /**
8039
+ * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
8040
+ * @param message CustomHttpPattern message or plain object to encode
8041
+ * @param [writer] Writer to encode to
8042
+ * @returns Writer
8043
+ */
8044
+ public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
8045
+
8046
+ /**
8047
+ * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
8048
+ * @param message CustomHttpPattern message or plain object to encode
8049
+ * @param [writer] Writer to encode to
8050
+ * @returns Writer
8051
+ */
8052
+ public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
8053
+
8054
+ /**
8055
+ * Decodes a CustomHttpPattern message from the specified reader or buffer.
8056
+ * @param reader Reader or buffer to decode from
8057
+ * @param [length] Message length if known beforehand
8058
+ * @returns CustomHttpPattern
8059
+ * @throws {Error} If the payload is not a reader or valid buffer
8060
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8061
+ */
8062
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
8063
+
8064
+ /**
8065
+ * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
8066
+ * @param reader Reader or buffer to decode from
8067
+ * @returns CustomHttpPattern
8068
+ * @throws {Error} If the payload is not a reader or valid buffer
8069
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8070
+ */
8071
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
8072
+
8073
+ /**
8074
+ * Verifies a CustomHttpPattern message.
8075
+ * @param message Plain object to verify
8076
+ * @returns `null` if valid, otherwise the reason why it is not
8077
+ */
8078
+ public static verify(message: { [k: string]: any }): (string|null);
8079
+
8080
+ /**
8081
+ * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
8082
+ * @param object Plain object
8083
+ * @returns CustomHttpPattern
8084
+ */
8085
+ public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
8086
+
8087
+ /**
8088
+ * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
8089
+ * @param message CustomHttpPattern
8090
+ * @param [options] Conversion options
8091
+ * @returns Plain object
8092
+ */
8093
+ public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
8094
+
8095
+ /**
8096
+ * Converts this CustomHttpPattern to JSON.
8097
+ * @returns JSON object
8098
+ */
8099
+ public toJSON(): { [k: string]: any };
8100
+
8101
+ /**
8102
+ * Gets the default type url for CustomHttpPattern
8103
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8104
+ * @returns The default type url
8105
+ */
8106
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8107
+ }
8108
+
8109
+ /** Properties of a CommonLanguageSettings. */
8110
+ interface ICommonLanguageSettings {
8111
+
8112
+ /** CommonLanguageSettings referenceDocsUri */
8113
+ referenceDocsUri?: (string|null);
8114
+
8115
+ /** CommonLanguageSettings destinations */
8116
+ destinations?: (google.api.ClientLibraryDestination[]|null);
8117
+ }
8118
+
8119
+ /** Represents a CommonLanguageSettings. */
8120
+ class CommonLanguageSettings implements ICommonLanguageSettings {
8121
+
8122
+ /**
8123
+ * Constructs a new CommonLanguageSettings.
8124
+ * @param [properties] Properties to set
8125
+ */
8126
+ constructor(properties?: google.api.ICommonLanguageSettings);
8127
+
8128
+ /** CommonLanguageSettings referenceDocsUri. */
8129
+ public referenceDocsUri: string;
8130
+
8131
+ /** CommonLanguageSettings destinations. */
8132
+ public destinations: google.api.ClientLibraryDestination[];
8133
+
8134
+ /**
8135
+ * Creates a new CommonLanguageSettings instance using the specified properties.
8136
+ * @param [properties] Properties to set
8137
+ * @returns CommonLanguageSettings instance
8138
+ */
8139
+ public static create(properties?: google.api.ICommonLanguageSettings): google.api.CommonLanguageSettings;
8140
+
8141
+ /**
8142
+ * Encodes the specified CommonLanguageSettings message. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages.
8143
+ * @param message CommonLanguageSettings message or plain object to encode
8144
+ * @param [writer] Writer to encode to
8145
+ * @returns Writer
8146
+ */
8147
+ public static encode(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
8148
+
8149
+ /**
8150
+ * Encodes the specified CommonLanguageSettings message, length delimited. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages.
8151
+ * @param message CommonLanguageSettings message or plain object to encode
8152
+ * @param [writer] Writer to encode to
8153
+ * @returns Writer
8154
+ */
8155
+ public static encodeDelimited(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
8156
+
8157
+ /**
8158
+ * Decodes a CommonLanguageSettings message from the specified reader or buffer.
8159
+ * @param reader Reader or buffer to decode from
8160
+ * @param [length] Message length if known beforehand
8161
+ * @returns CommonLanguageSettings
8162
+ * @throws {Error} If the payload is not a reader or valid buffer
8163
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8164
+ */
8165
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CommonLanguageSettings;
8166
+
8167
+ /**
8168
+ * Decodes a CommonLanguageSettings message from the specified reader or buffer, length delimited.
8169
+ * @param reader Reader or buffer to decode from
8170
+ * @returns CommonLanguageSettings
8171
+ * @throws {Error} If the payload is not a reader or valid buffer
8172
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8173
+ */
8174
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CommonLanguageSettings;
8175
+
8176
+ /**
8177
+ * Verifies a CommonLanguageSettings message.
8178
+ * @param message Plain object to verify
8179
+ * @returns `null` if valid, otherwise the reason why it is not
8180
+ */
8181
+ public static verify(message: { [k: string]: any }): (string|null);
8182
+
8183
+ /**
8184
+ * Creates a CommonLanguageSettings message from a plain object. Also converts values to their respective internal types.
8185
+ * @param object Plain object
8186
+ * @returns CommonLanguageSettings
8187
+ */
8188
+ public static fromObject(object: { [k: string]: any }): google.api.CommonLanguageSettings;
8189
+
8190
+ /**
8191
+ * Creates a plain object from a CommonLanguageSettings message. Also converts values to other types if specified.
8192
+ * @param message CommonLanguageSettings
8193
+ * @param [options] Conversion options
8194
+ * @returns Plain object
8195
+ */
8196
+ public static toObject(message: google.api.CommonLanguageSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
8197
+
8198
+ /**
8199
+ * Converts this CommonLanguageSettings to JSON.
8200
+ * @returns JSON object
8201
+ */
8202
+ public toJSON(): { [k: string]: any };
8203
+
8204
+ /**
8205
+ * Gets the default type url for CommonLanguageSettings
8206
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8207
+ * @returns The default type url
8208
+ */
8209
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8210
+ }
8211
+
8212
+ /** Properties of a ClientLibrarySettings. */
8213
+ interface IClientLibrarySettings {
8214
+
8215
+ /** ClientLibrarySettings version */
8216
+ version?: (string|null);
8217
+
8218
+ /** ClientLibrarySettings launchStage */
8219
+ launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null);
8220
+
8221
+ /** ClientLibrarySettings restNumericEnums */
8222
+ restNumericEnums?: (boolean|null);
8223
+
8224
+ /** ClientLibrarySettings javaSettings */
8225
+ javaSettings?: (google.api.IJavaSettings|null);
8226
+
8227
+ /** ClientLibrarySettings cppSettings */
8228
+ cppSettings?: (google.api.ICppSettings|null);
8229
+
8230
+ /** ClientLibrarySettings phpSettings */
8231
+ phpSettings?: (google.api.IPhpSettings|null);
8232
+
8233
+ /** ClientLibrarySettings pythonSettings */
8234
+ pythonSettings?: (google.api.IPythonSettings|null);
8235
+
8236
+ /** ClientLibrarySettings nodeSettings */
8237
+ nodeSettings?: (google.api.INodeSettings|null);
8238
+
8239
+ /** ClientLibrarySettings dotnetSettings */
8240
+ dotnetSettings?: (google.api.IDotnetSettings|null);
8241
+
8242
+ /** ClientLibrarySettings rubySettings */
8243
+ rubySettings?: (google.api.IRubySettings|null);
8244
+
8245
+ /** ClientLibrarySettings goSettings */
8246
+ goSettings?: (google.api.IGoSettings|null);
8247
+ }
8248
+
8249
+ /** Represents a ClientLibrarySettings. */
8250
+ class ClientLibrarySettings implements IClientLibrarySettings {
8251
+
8252
+ /**
8253
+ * Constructs a new ClientLibrarySettings.
8254
+ * @param [properties] Properties to set
8255
+ */
8256
+ constructor(properties?: google.api.IClientLibrarySettings);
8257
+
8258
+ /** ClientLibrarySettings version. */
8259
+ public version: string;
8260
+
8261
+ /** ClientLibrarySettings launchStage. */
8262
+ public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage);
8263
+
8264
+ /** ClientLibrarySettings restNumericEnums. */
8265
+ public restNumericEnums: boolean;
8266
+
8267
+ /** ClientLibrarySettings javaSettings. */
8268
+ public javaSettings?: (google.api.IJavaSettings|null);
8269
+
8270
+ /** ClientLibrarySettings cppSettings. */
8271
+ public cppSettings?: (google.api.ICppSettings|null);
8272
+
8273
+ /** ClientLibrarySettings phpSettings. */
8274
+ public phpSettings?: (google.api.IPhpSettings|null);
8275
+
8276
+ /** ClientLibrarySettings pythonSettings. */
8277
+ public pythonSettings?: (google.api.IPythonSettings|null);
8278
+
8279
+ /** ClientLibrarySettings nodeSettings. */
8280
+ public nodeSettings?: (google.api.INodeSettings|null);
8281
+
8282
+ /** ClientLibrarySettings dotnetSettings. */
8283
+ public dotnetSettings?: (google.api.IDotnetSettings|null);
8284
+
8285
+ /** ClientLibrarySettings rubySettings. */
8286
+ public rubySettings?: (google.api.IRubySettings|null);
8287
+
8288
+ /** ClientLibrarySettings goSettings. */
8289
+ public goSettings?: (google.api.IGoSettings|null);
8290
+
8291
+ /**
8292
+ * Creates a new ClientLibrarySettings instance using the specified properties.
8293
+ * @param [properties] Properties to set
8294
+ * @returns ClientLibrarySettings instance
8295
+ */
8296
+ public static create(properties?: google.api.IClientLibrarySettings): google.api.ClientLibrarySettings;
8297
+
8298
+ /**
8299
+ * Encodes the specified ClientLibrarySettings message. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages.
8300
+ * @param message ClientLibrarySettings message or plain object to encode
8301
+ * @param [writer] Writer to encode to
8302
+ * @returns Writer
8303
+ */
8304
+ public static encode(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
8305
+
8306
+ /**
8307
+ * Encodes the specified ClientLibrarySettings message, length delimited. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages.
8308
+ * @param message ClientLibrarySettings message or plain object to encode
8309
+ * @param [writer] Writer to encode to
8310
+ * @returns Writer
8311
+ */
8312
+ public static encodeDelimited(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
8313
+
8314
+ /**
8315
+ * Decodes a ClientLibrarySettings message from the specified reader or buffer.
8316
+ * @param reader Reader or buffer to decode from
8317
+ * @param [length] Message length if known beforehand
8318
+ * @returns ClientLibrarySettings
8319
+ * @throws {Error} If the payload is not a reader or valid buffer
8320
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8321
+ */
8322
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ClientLibrarySettings;
8323
+
8324
+ /**
8325
+ * Decodes a ClientLibrarySettings message from the specified reader or buffer, length delimited.
8326
+ * @param reader Reader or buffer to decode from
8327
+ * @returns ClientLibrarySettings
8328
+ * @throws {Error} If the payload is not a reader or valid buffer
8329
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8330
+ */
8331
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ClientLibrarySettings;
8332
+
8333
+ /**
8334
+ * Verifies a ClientLibrarySettings message.
8335
+ * @param message Plain object to verify
8336
+ * @returns `null` if valid, otherwise the reason why it is not
8337
+ */
8338
+ public static verify(message: { [k: string]: any }): (string|null);
8339
+
8340
+ /**
8341
+ * Creates a ClientLibrarySettings message from a plain object. Also converts values to their respective internal types.
8342
+ * @param object Plain object
8343
+ * @returns ClientLibrarySettings
8344
+ */
8345
+ public static fromObject(object: { [k: string]: any }): google.api.ClientLibrarySettings;
8346
+
8347
+ /**
8348
+ * Creates a plain object from a ClientLibrarySettings message. Also converts values to other types if specified.
8349
+ * @param message ClientLibrarySettings
8350
+ * @param [options] Conversion options
8351
+ * @returns Plain object
8352
+ */
8353
+ public static toObject(message: google.api.ClientLibrarySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
8354
+
8355
+ /**
8356
+ * Converts this ClientLibrarySettings to JSON.
8357
+ * @returns JSON object
8358
+ */
8359
+ public toJSON(): { [k: string]: any };
8360
+
8361
+ /**
8362
+ * Gets the default type url for ClientLibrarySettings
8363
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8364
+ * @returns The default type url
8365
+ */
8366
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8367
+ }
8368
+
8369
+ /** Properties of a Publishing. */
8370
+ interface IPublishing {
8371
+
8372
+ /** Publishing methodSettings */
8373
+ methodSettings?: (google.api.IMethodSettings[]|null);
8374
+
8375
+ /** Publishing newIssueUri */
8376
+ newIssueUri?: (string|null);
8377
+
8378
+ /** Publishing documentationUri */
8379
+ documentationUri?: (string|null);
8380
+
8381
+ /** Publishing apiShortName */
8382
+ apiShortName?: (string|null);
8383
+
8384
+ /** Publishing githubLabel */
8385
+ githubLabel?: (string|null);
8386
+
8387
+ /** Publishing codeownerGithubTeams */
8388
+ codeownerGithubTeams?: (string[]|null);
8389
+
8390
+ /** Publishing docTagPrefix */
8391
+ docTagPrefix?: (string|null);
8392
+
8393
+ /** Publishing organization */
8394
+ organization?: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization|null);
8395
+
8396
+ /** Publishing librarySettings */
8397
+ librarySettings?: (google.api.IClientLibrarySettings[]|null);
8398
+ }
8399
+
8400
+ /** Represents a Publishing. */
8401
+ class Publishing implements IPublishing {
8402
+
8403
+ /**
8404
+ * Constructs a new Publishing.
8405
+ * @param [properties] Properties to set
8406
+ */
8407
+ constructor(properties?: google.api.IPublishing);
8408
+
8409
+ /** Publishing methodSettings. */
8410
+ public methodSettings: google.api.IMethodSettings[];
8411
+
8412
+ /** Publishing newIssueUri. */
8413
+ public newIssueUri: string;
8414
+
8415
+ /** Publishing documentationUri. */
8416
+ public documentationUri: string;
8417
+
8418
+ /** Publishing apiShortName. */
8419
+ public apiShortName: string;
8420
+
8421
+ /** Publishing githubLabel. */
8422
+ public githubLabel: string;
8423
+
8424
+ /** Publishing codeownerGithubTeams. */
8425
+ public codeownerGithubTeams: string[];
8426
+
8427
+ /** Publishing docTagPrefix. */
8428
+ public docTagPrefix: string;
8429
+
8430
+ /** Publishing organization. */
8431
+ public organization: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization);
8432
+
8433
+ /** Publishing librarySettings. */
8434
+ public librarySettings: google.api.IClientLibrarySettings[];
8435
+
8436
+ /**
8437
+ * Creates a new Publishing instance using the specified properties.
8438
+ * @param [properties] Properties to set
8439
+ * @returns Publishing instance
8440
+ */
8441
+ public static create(properties?: google.api.IPublishing): google.api.Publishing;
8442
+
8443
+ /**
8444
+ * Encodes the specified Publishing message. Does not implicitly {@link google.api.Publishing.verify|verify} messages.
8445
+ * @param message Publishing message or plain object to encode
8446
+ * @param [writer] Writer to encode to
8447
+ * @returns Writer
8448
+ */
8449
+ public static encode(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
8450
+
8451
+ /**
8452
+ * Encodes the specified Publishing message, length delimited. Does not implicitly {@link google.api.Publishing.verify|verify} messages.
8453
+ * @param message Publishing message or plain object to encode
8454
+ * @param [writer] Writer to encode to
8455
+ * @returns Writer
8456
+ */
8457
+ public static encodeDelimited(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
8458
+
8459
+ /**
8460
+ * Decodes a Publishing message from the specified reader or buffer.
8461
+ * @param reader Reader or buffer to decode from
8462
+ * @param [length] Message length if known beforehand
8463
+ * @returns Publishing
8464
+ * @throws {Error} If the payload is not a reader or valid buffer
8465
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8466
+ */
8467
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Publishing;
8468
+
8469
+ /**
8470
+ * Decodes a Publishing message from the specified reader or buffer, length delimited.
8471
+ * @param reader Reader or buffer to decode from
8472
+ * @returns Publishing
8473
+ * @throws {Error} If the payload is not a reader or valid buffer
8474
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8475
+ */
8476
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Publishing;
8477
+
8478
+ /**
8479
+ * Verifies a Publishing message.
8480
+ * @param message Plain object to verify
8481
+ * @returns `null` if valid, otherwise the reason why it is not
8482
+ */
8483
+ public static verify(message: { [k: string]: any }): (string|null);
8484
+
8485
+ /**
8486
+ * Creates a Publishing message from a plain object. Also converts values to their respective internal types.
8487
+ * @param object Plain object
8488
+ * @returns Publishing
8489
+ */
8490
+ public static fromObject(object: { [k: string]: any }): google.api.Publishing;
8491
+
8492
+ /**
8493
+ * Creates a plain object from a Publishing message. Also converts values to other types if specified.
8494
+ * @param message Publishing
8495
+ * @param [options] Conversion options
8496
+ * @returns Plain object
8497
+ */
8498
+ public static toObject(message: google.api.Publishing, options?: $protobuf.IConversionOptions): { [k: string]: any };
8499
+
8500
+ /**
8501
+ * Converts this Publishing to JSON.
8502
+ * @returns JSON object
8503
+ */
8504
+ public toJSON(): { [k: string]: any };
8505
+
8506
+ /**
8507
+ * Gets the default type url for Publishing
8508
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8509
+ * @returns The default type url
8510
+ */
8511
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8512
+ }
8513
+
8514
+ /** Properties of a JavaSettings. */
8515
+ interface IJavaSettings {
8516
+
8517
+ /** JavaSettings libraryPackage */
8518
+ libraryPackage?: (string|null);
8519
+
8520
+ /** JavaSettings serviceClassNames */
8521
+ serviceClassNames?: ({ [k: string]: string }|null);
8522
+
8523
+ /** JavaSettings common */
8524
+ common?: (google.api.ICommonLanguageSettings|null);
8525
+ }
8526
+
8527
+ /** Represents a JavaSettings. */
8528
+ class JavaSettings implements IJavaSettings {
8529
+
8530
+ /**
8531
+ * Constructs a new JavaSettings.
8532
+ * @param [properties] Properties to set
8533
+ */
8534
+ constructor(properties?: google.api.IJavaSettings);
8535
+
8536
+ /** JavaSettings libraryPackage. */
8537
+ public libraryPackage: string;
8538
+
8539
+ /** JavaSettings serviceClassNames. */
8540
+ public serviceClassNames: { [k: string]: string };
8541
+
8542
+ /** JavaSettings common. */
8543
+ public common?: (google.api.ICommonLanguageSettings|null);
8544
+
8545
+ /**
8546
+ * Creates a new JavaSettings instance using the specified properties.
8547
+ * @param [properties] Properties to set
8548
+ * @returns JavaSettings instance
8549
+ */
8550
+ public static create(properties?: google.api.IJavaSettings): google.api.JavaSettings;
8551
+
8552
+ /**
8553
+ * Encodes the specified JavaSettings message. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
8554
+ * @param message JavaSettings message or plain object to encode
8555
+ * @param [writer] Writer to encode to
8556
+ * @returns Writer
8557
+ */
8558
+ public static encode(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
8559
+
8560
+ /**
8561
+ * Encodes the specified JavaSettings message, length delimited. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
8562
+ * @param message JavaSettings message or plain object to encode
8563
+ * @param [writer] Writer to encode to
8564
+ * @returns Writer
8565
+ */
8566
+ public static encodeDelimited(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
8567
+
8568
+ /**
8569
+ * Decodes a JavaSettings message from the specified reader or buffer.
8570
+ * @param reader Reader or buffer to decode from
8571
+ * @param [length] Message length if known beforehand
8572
+ * @returns JavaSettings
8573
+ * @throws {Error} If the payload is not a reader or valid buffer
8574
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8575
+ */
8576
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.JavaSettings;
8577
+
8578
+ /**
8579
+ * Decodes a JavaSettings message from the specified reader or buffer, length delimited.
8580
+ * @param reader Reader or buffer to decode from
8581
+ * @returns JavaSettings
8582
+ * @throws {Error} If the payload is not a reader or valid buffer
8583
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8584
+ */
8585
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.JavaSettings;
8586
+
8587
+ /**
8588
+ * Verifies a JavaSettings message.
8589
+ * @param message Plain object to verify
8590
+ * @returns `null` if valid, otherwise the reason why it is not
8591
+ */
8592
+ public static verify(message: { [k: string]: any }): (string|null);
8593
+
8594
+ /**
8595
+ * Creates a JavaSettings message from a plain object. Also converts values to their respective internal types.
8596
+ * @param object Plain object
8597
+ * @returns JavaSettings
8598
+ */
8599
+ public static fromObject(object: { [k: string]: any }): google.api.JavaSettings;
8600
+
8601
+ /**
8602
+ * Creates a plain object from a JavaSettings message. Also converts values to other types if specified.
8603
+ * @param message JavaSettings
8604
+ * @param [options] Conversion options
8605
+ * @returns Plain object
8606
+ */
8607
+ public static toObject(message: google.api.JavaSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
8608
+
8609
+ /**
8610
+ * Converts this JavaSettings to JSON.
8611
+ * @returns JSON object
8612
+ */
8613
+ public toJSON(): { [k: string]: any };
8614
+
8615
+ /**
8616
+ * Gets the default type url for JavaSettings
8617
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8618
+ * @returns The default type url
8619
+ */
8620
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8621
+ }
8622
+
8623
+ /** Properties of a CppSettings. */
8624
+ interface ICppSettings {
8625
+
8626
+ /** CppSettings common */
8627
+ common?: (google.api.ICommonLanguageSettings|null);
8628
+ }
8629
+
8630
+ /** Represents a CppSettings. */
8631
+ class CppSettings implements ICppSettings {
8632
+
8633
+ /**
8634
+ * Constructs a new CppSettings.
8635
+ * @param [properties] Properties to set
8636
+ */
8637
+ constructor(properties?: google.api.ICppSettings);
8638
+
8639
+ /** CppSettings common. */
8640
+ public common?: (google.api.ICommonLanguageSettings|null);
8641
+
8642
+ /**
8643
+ * Creates a new CppSettings instance using the specified properties.
8644
+ * @param [properties] Properties to set
8645
+ * @returns CppSettings instance
8646
+ */
8647
+ public static create(properties?: google.api.ICppSettings): google.api.CppSettings;
8648
+
8649
+ /**
8650
+ * Encodes the specified CppSettings message. Does not implicitly {@link google.api.CppSettings.verify|verify} messages.
8651
+ * @param message CppSettings message or plain object to encode
8652
+ * @param [writer] Writer to encode to
8653
+ * @returns Writer
8654
+ */
8655
+ public static encode(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
8656
+
8657
+ /**
8658
+ * Encodes the specified CppSettings message, length delimited. Does not implicitly {@link google.api.CppSettings.verify|verify} messages.
8659
+ * @param message CppSettings message or plain object to encode
8660
+ * @param [writer] Writer to encode to
8661
+ * @returns Writer
8662
+ */
8663
+ public static encodeDelimited(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
8664
+
8665
+ /**
8666
+ * Decodes a CppSettings message from the specified reader or buffer.
8667
+ * @param reader Reader or buffer to decode from
8668
+ * @param [length] Message length if known beforehand
8669
+ * @returns CppSettings
8670
+ * @throws {Error} If the payload is not a reader or valid buffer
8671
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8672
+ */
8673
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CppSettings;
8674
+
8675
+ /**
8676
+ * Decodes a CppSettings message from the specified reader or buffer, length delimited.
8677
+ * @param reader Reader or buffer to decode from
8678
+ * @returns CppSettings
8679
+ * @throws {Error} If the payload is not a reader or valid buffer
8680
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8681
+ */
8682
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CppSettings;
8683
+
8684
+ /**
8685
+ * Verifies a CppSettings message.
8686
+ * @param message Plain object to verify
8687
+ * @returns `null` if valid, otherwise the reason why it is not
8688
+ */
8689
+ public static verify(message: { [k: string]: any }): (string|null);
8690
+
8691
+ /**
8692
+ * Creates a CppSettings message from a plain object. Also converts values to their respective internal types.
8693
+ * @param object Plain object
8694
+ * @returns CppSettings
8695
+ */
8696
+ public static fromObject(object: { [k: string]: any }): google.api.CppSettings;
8697
+
8698
+ /**
8699
+ * Creates a plain object from a CppSettings message. Also converts values to other types if specified.
8700
+ * @param message CppSettings
8701
+ * @param [options] Conversion options
8702
+ * @returns Plain object
8703
+ */
8704
+ public static toObject(message: google.api.CppSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
8705
+
8706
+ /**
8707
+ * Converts this CppSettings to JSON.
8708
+ * @returns JSON object
8709
+ */
8710
+ public toJSON(): { [k: string]: any };
8711
+
8712
+ /**
8713
+ * Gets the default type url for CppSettings
8714
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8715
+ * @returns The default type url
8716
+ */
8717
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8718
+ }
8719
+
8720
+ /** Properties of a PhpSettings. */
8721
+ interface IPhpSettings {
8722
+
8723
+ /** PhpSettings common */
8724
+ common?: (google.api.ICommonLanguageSettings|null);
8725
+ }
8726
+
8727
+ /** Represents a PhpSettings. */
8728
+ class PhpSettings implements IPhpSettings {
8729
+
8730
+ /**
8731
+ * Constructs a new PhpSettings.
8732
+ * @param [properties] Properties to set
8733
+ */
8734
+ constructor(properties?: google.api.IPhpSettings);
8735
+
8736
+ /** PhpSettings common. */
8737
+ public common?: (google.api.ICommonLanguageSettings|null);
8738
+
8739
+ /**
8740
+ * Creates a new PhpSettings instance using the specified properties.
8741
+ * @param [properties] Properties to set
8742
+ * @returns PhpSettings instance
8743
+ */
8744
+ public static create(properties?: google.api.IPhpSettings): google.api.PhpSettings;
8745
+
8746
+ /**
8747
+ * Encodes the specified PhpSettings message. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages.
8748
+ * @param message PhpSettings message or plain object to encode
8749
+ * @param [writer] Writer to encode to
8750
+ * @returns Writer
8751
+ */
8752
+ public static encode(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
8753
+
8754
+ /**
8755
+ * Encodes the specified PhpSettings message, length delimited. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages.
8756
+ * @param message PhpSettings message or plain object to encode
8757
+ * @param [writer] Writer to encode to
8758
+ * @returns Writer
8759
+ */
8760
+ public static encodeDelimited(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
8761
+
8762
+ /**
8763
+ * Decodes a PhpSettings message from the specified reader or buffer.
8764
+ * @param reader Reader or buffer to decode from
8765
+ * @param [length] Message length if known beforehand
8766
+ * @returns PhpSettings
8767
+ * @throws {Error} If the payload is not a reader or valid buffer
8768
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8769
+ */
8770
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PhpSettings;
8771
+
8772
+ /**
8773
+ * Decodes a PhpSettings message from the specified reader or buffer, length delimited.
8774
+ * @param reader Reader or buffer to decode from
8775
+ * @returns PhpSettings
8776
+ * @throws {Error} If the payload is not a reader or valid buffer
8777
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8778
+ */
8779
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PhpSettings;
8780
+
8781
+ /**
8782
+ * Verifies a PhpSettings message.
8783
+ * @param message Plain object to verify
8784
+ * @returns `null` if valid, otherwise the reason why it is not
8785
+ */
8786
+ public static verify(message: { [k: string]: any }): (string|null);
8787
+
8788
+ /**
8789
+ * Creates a PhpSettings message from a plain object. Also converts values to their respective internal types.
8790
+ * @param object Plain object
8791
+ * @returns PhpSettings
8792
+ */
8793
+ public static fromObject(object: { [k: string]: any }): google.api.PhpSettings;
8794
+
8795
+ /**
8796
+ * Creates a plain object from a PhpSettings message. Also converts values to other types if specified.
8797
+ * @param message PhpSettings
8798
+ * @param [options] Conversion options
8799
+ * @returns Plain object
8800
+ */
8801
+ public static toObject(message: google.api.PhpSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
8802
+
8803
+ /**
8804
+ * Converts this PhpSettings to JSON.
8805
+ * @returns JSON object
8806
+ */
8807
+ public toJSON(): { [k: string]: any };
8808
+
8809
+ /**
8810
+ * Gets the default type url for PhpSettings
8811
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8812
+ * @returns The default type url
8813
+ */
8814
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8815
+ }
8816
+
8817
+ /** Properties of a PythonSettings. */
8818
+ interface IPythonSettings {
8819
+
8820
+ /** PythonSettings common */
8821
+ common?: (google.api.ICommonLanguageSettings|null);
8822
+ }
8823
+
8824
+ /** Represents a PythonSettings. */
8825
+ class PythonSettings implements IPythonSettings {
8826
+
8827
+ /**
8828
+ * Constructs a new PythonSettings.
8829
+ * @param [properties] Properties to set
8830
+ */
8831
+ constructor(properties?: google.api.IPythonSettings);
8832
+
8833
+ /** PythonSettings common. */
8834
+ public common?: (google.api.ICommonLanguageSettings|null);
8835
+
8836
+ /**
8837
+ * Creates a new PythonSettings instance using the specified properties.
8838
+ * @param [properties] Properties to set
8839
+ * @returns PythonSettings instance
8840
+ */
8841
+ public static create(properties?: google.api.IPythonSettings): google.api.PythonSettings;
8842
+
8843
+ /**
8844
+ * Encodes the specified PythonSettings message. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages.
8845
+ * @param message PythonSettings message or plain object to encode
8846
+ * @param [writer] Writer to encode to
8847
+ * @returns Writer
8848
+ */
8849
+ public static encode(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
8850
+
8851
+ /**
8852
+ * Encodes the specified PythonSettings message, length delimited. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages.
8853
+ * @param message PythonSettings message or plain object to encode
8854
+ * @param [writer] Writer to encode to
8855
+ * @returns Writer
8856
+ */
8857
+ public static encodeDelimited(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
8858
+
8859
+ /**
8860
+ * Decodes a PythonSettings message from the specified reader or buffer.
8861
+ * @param reader Reader or buffer to decode from
8862
+ * @param [length] Message length if known beforehand
8863
+ * @returns PythonSettings
8864
+ * @throws {Error} If the payload is not a reader or valid buffer
8865
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8866
+ */
8867
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings;
8868
+
8869
+ /**
8870
+ * Decodes a PythonSettings message from the specified reader or buffer, length delimited.
8871
+ * @param reader Reader or buffer to decode from
8872
+ * @returns PythonSettings
8873
+ * @throws {Error} If the payload is not a reader or valid buffer
8874
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8875
+ */
8876
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings;
8877
+
8878
+ /**
8879
+ * Verifies a PythonSettings message.
8880
+ * @param message Plain object to verify
8881
+ * @returns `null` if valid, otherwise the reason why it is not
8882
+ */
8883
+ public static verify(message: { [k: string]: any }): (string|null);
8884
+
8885
+ /**
8886
+ * Creates a PythonSettings message from a plain object. Also converts values to their respective internal types.
8887
+ * @param object Plain object
8888
+ * @returns PythonSettings
8889
+ */
8890
+ public static fromObject(object: { [k: string]: any }): google.api.PythonSettings;
8891
+
8892
+ /**
8893
+ * Creates a plain object from a PythonSettings message. Also converts values to other types if specified.
8894
+ * @param message PythonSettings
8895
+ * @param [options] Conversion options
8896
+ * @returns Plain object
8897
+ */
8898
+ public static toObject(message: google.api.PythonSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
8899
+
8900
+ /**
8901
+ * Converts this PythonSettings to JSON.
8902
+ * @returns JSON object
8903
+ */
8904
+ public toJSON(): { [k: string]: any };
8905
+
8906
+ /**
8907
+ * Gets the default type url for PythonSettings
8908
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8909
+ * @returns The default type url
8910
+ */
8911
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8912
+ }
8913
+
8914
+ /** Properties of a NodeSettings. */
8915
+ interface INodeSettings {
8916
+
8917
+ /** NodeSettings common */
8918
+ common?: (google.api.ICommonLanguageSettings|null);
8919
+ }
8920
+
8921
+ /** Represents a NodeSettings. */
8922
+ class NodeSettings implements INodeSettings {
8923
+
8924
+ /**
8925
+ * Constructs a new NodeSettings.
8926
+ * @param [properties] Properties to set
8927
+ */
8928
+ constructor(properties?: google.api.INodeSettings);
8929
+
8930
+ /** NodeSettings common. */
8931
+ public common?: (google.api.ICommonLanguageSettings|null);
8932
+
8933
+ /**
8934
+ * Creates a new NodeSettings instance using the specified properties.
8935
+ * @param [properties] Properties to set
8936
+ * @returns NodeSettings instance
8937
+ */
8938
+ public static create(properties?: google.api.INodeSettings): google.api.NodeSettings;
8939
+
8940
+ /**
8941
+ * Encodes the specified NodeSettings message. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages.
8942
+ * @param message NodeSettings message or plain object to encode
8943
+ * @param [writer] Writer to encode to
8944
+ * @returns Writer
8945
+ */
8946
+ public static encode(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
8947
+
8948
+ /**
8949
+ * Encodes the specified NodeSettings message, length delimited. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages.
8950
+ * @param message NodeSettings message or plain object to encode
8951
+ * @param [writer] Writer to encode to
8952
+ * @returns Writer
8953
+ */
8954
+ public static encodeDelimited(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
8955
+
8956
+ /**
8957
+ * Decodes a NodeSettings message from the specified reader or buffer.
8958
+ * @param reader Reader or buffer to decode from
8959
+ * @param [length] Message length if known beforehand
8960
+ * @returns NodeSettings
8961
+ * @throws {Error} If the payload is not a reader or valid buffer
8962
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8963
+ */
8964
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.NodeSettings;
8965
+
8966
+ /**
8967
+ * Decodes a NodeSettings message from the specified reader or buffer, length delimited.
8968
+ * @param reader Reader or buffer to decode from
8969
+ * @returns NodeSettings
8970
+ * @throws {Error} If the payload is not a reader or valid buffer
8971
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8972
+ */
8973
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.NodeSettings;
8974
+
8975
+ /**
8976
+ * Verifies a NodeSettings message.
8977
+ * @param message Plain object to verify
8978
+ * @returns `null` if valid, otherwise the reason why it is not
8979
+ */
8980
+ public static verify(message: { [k: string]: any }): (string|null);
8981
+
8982
+ /**
8983
+ * Creates a NodeSettings message from a plain object. Also converts values to their respective internal types.
8984
+ * @param object Plain object
8985
+ * @returns NodeSettings
8986
+ */
8987
+ public static fromObject(object: { [k: string]: any }): google.api.NodeSettings;
8988
+
8989
+ /**
8990
+ * Creates a plain object from a NodeSettings message. Also converts values to other types if specified.
8991
+ * @param message NodeSettings
8992
+ * @param [options] Conversion options
8993
+ * @returns Plain object
8994
+ */
8995
+ public static toObject(message: google.api.NodeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
8996
+
8997
+ /**
8998
+ * Converts this NodeSettings to JSON.
8999
+ * @returns JSON object
9000
+ */
9001
+ public toJSON(): { [k: string]: any };
9002
+
9003
+ /**
9004
+ * Gets the default type url for NodeSettings
9005
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9006
+ * @returns The default type url
9007
+ */
9008
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9009
+ }
9010
+
9011
+ /** Properties of a DotnetSettings. */
9012
+ interface IDotnetSettings {
9013
+
9014
+ /** DotnetSettings common */
9015
+ common?: (google.api.ICommonLanguageSettings|null);
9016
+ }
9017
+
9018
+ /** Represents a DotnetSettings. */
9019
+ class DotnetSettings implements IDotnetSettings {
9020
+
9021
+ /**
9022
+ * Constructs a new DotnetSettings.
9023
+ * @param [properties] Properties to set
9024
+ */
9025
+ constructor(properties?: google.api.IDotnetSettings);
9026
+
9027
+ /** DotnetSettings common. */
9028
+ public common?: (google.api.ICommonLanguageSettings|null);
9029
+
9030
+ /**
9031
+ * Creates a new DotnetSettings instance using the specified properties.
9032
+ * @param [properties] Properties to set
9033
+ * @returns DotnetSettings instance
9034
+ */
9035
+ public static create(properties?: google.api.IDotnetSettings): google.api.DotnetSettings;
9036
+
9037
+ /**
9038
+ * Encodes the specified DotnetSettings message. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
9039
+ * @param message DotnetSettings message or plain object to encode
9040
+ * @param [writer] Writer to encode to
9041
+ * @returns Writer
9042
+ */
9043
+ public static encode(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9044
+
9045
+ /**
9046
+ * Encodes the specified DotnetSettings message, length delimited. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
9047
+ * @param message DotnetSettings message or plain object to encode
9048
+ * @param [writer] Writer to encode to
9049
+ * @returns Writer
9050
+ */
9051
+ public static encodeDelimited(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9052
+
9053
+ /**
9054
+ * Decodes a DotnetSettings message from the specified reader or buffer.
9055
+ * @param reader Reader or buffer to decode from
9056
+ * @param [length] Message length if known beforehand
9057
+ * @returns DotnetSettings
9058
+ * @throws {Error} If the payload is not a reader or valid buffer
9059
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9060
+ */
9061
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.DotnetSettings;
9062
+
9063
+ /**
9064
+ * Decodes a DotnetSettings message from the specified reader or buffer, length delimited.
9065
+ * @param reader Reader or buffer to decode from
9066
+ * @returns DotnetSettings
9067
+ * @throws {Error} If the payload is not a reader or valid buffer
9068
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9069
+ */
9070
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.DotnetSettings;
9071
+
9072
+ /**
9073
+ * Verifies a DotnetSettings message.
9074
+ * @param message Plain object to verify
9075
+ * @returns `null` if valid, otherwise the reason why it is not
9076
+ */
9077
+ public static verify(message: { [k: string]: any }): (string|null);
9078
+
9079
+ /**
9080
+ * Creates a DotnetSettings message from a plain object. Also converts values to their respective internal types.
9081
+ * @param object Plain object
9082
+ * @returns DotnetSettings
9083
+ */
9084
+ public static fromObject(object: { [k: string]: any }): google.api.DotnetSettings;
9085
+
9086
+ /**
9087
+ * Creates a plain object from a DotnetSettings message. Also converts values to other types if specified.
9088
+ * @param message DotnetSettings
9089
+ * @param [options] Conversion options
9090
+ * @returns Plain object
9091
+ */
9092
+ public static toObject(message: google.api.DotnetSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
9093
+
9094
+ /**
9095
+ * Converts this DotnetSettings to JSON.
9096
+ * @returns JSON object
9097
+ */
9098
+ public toJSON(): { [k: string]: any };
9099
+
9100
+ /**
9101
+ * Gets the default type url for DotnetSettings
9102
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9103
+ * @returns The default type url
9104
+ */
9105
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9106
+ }
9107
+
9108
+ /** Properties of a RubySettings. */
9109
+ interface IRubySettings {
9110
+
9111
+ /** RubySettings common */
9112
+ common?: (google.api.ICommonLanguageSettings|null);
7110
9113
  }
7111
9114
 
7112
- /** Represents a Http. */
7113
- class Http implements IHttp {
9115
+ /** Represents a RubySettings. */
9116
+ class RubySettings implements IRubySettings {
7114
9117
 
7115
9118
  /**
7116
- * Constructs a new Http.
9119
+ * Constructs a new RubySettings.
7117
9120
  * @param [properties] Properties to set
7118
9121
  */
7119
- constructor(properties?: google.api.IHttp);
7120
-
7121
- /** Http rules. */
7122
- public rules: google.api.IHttpRule[];
9122
+ constructor(properties?: google.api.IRubySettings);
7123
9123
 
7124
- /** Http fullyDecodeReservedExpansion. */
7125
- public fullyDecodeReservedExpansion: boolean;
9124
+ /** RubySettings common. */
9125
+ public common?: (google.api.ICommonLanguageSettings|null);
7126
9126
 
7127
9127
  /**
7128
- * Creates a new Http instance using the specified properties.
9128
+ * Creates a new RubySettings instance using the specified properties.
7129
9129
  * @param [properties] Properties to set
7130
- * @returns Http instance
9130
+ * @returns RubySettings instance
7131
9131
  */
7132
- public static create(properties?: google.api.IHttp): google.api.Http;
9132
+ public static create(properties?: google.api.IRubySettings): google.api.RubySettings;
7133
9133
 
7134
9134
  /**
7135
- * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
7136
- * @param message Http message or plain object to encode
9135
+ * Encodes the specified RubySettings message. Does not implicitly {@link google.api.RubySettings.verify|verify} messages.
9136
+ * @param message RubySettings message or plain object to encode
7137
9137
  * @param [writer] Writer to encode to
7138
9138
  * @returns Writer
7139
9139
  */
7140
- public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
9140
+ public static encode(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
7141
9141
 
7142
9142
  /**
7143
- * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
7144
- * @param message Http message or plain object to encode
9143
+ * Encodes the specified RubySettings message, length delimited. Does not implicitly {@link google.api.RubySettings.verify|verify} messages.
9144
+ * @param message RubySettings message or plain object to encode
7145
9145
  * @param [writer] Writer to encode to
7146
9146
  * @returns Writer
7147
9147
  */
7148
- public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
9148
+ public static encodeDelimited(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
7149
9149
 
7150
9150
  /**
7151
- * Decodes a Http message from the specified reader or buffer.
9151
+ * Decodes a RubySettings message from the specified reader or buffer.
7152
9152
  * @param reader Reader or buffer to decode from
7153
9153
  * @param [length] Message length if known beforehand
7154
- * @returns Http
9154
+ * @returns RubySettings
7155
9155
  * @throws {Error} If the payload is not a reader or valid buffer
7156
9156
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
7157
9157
  */
7158
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
9158
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.RubySettings;
7159
9159
 
7160
9160
  /**
7161
- * Decodes a Http message from the specified reader or buffer, length delimited.
9161
+ * Decodes a RubySettings message from the specified reader or buffer, length delimited.
7162
9162
  * @param reader Reader or buffer to decode from
7163
- * @returns Http
9163
+ * @returns RubySettings
7164
9164
  * @throws {Error} If the payload is not a reader or valid buffer
7165
9165
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
7166
9166
  */
7167
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
9167
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.RubySettings;
7168
9168
 
7169
9169
  /**
7170
- * Verifies a Http message.
9170
+ * Verifies a RubySettings message.
7171
9171
  * @param message Plain object to verify
7172
9172
  * @returns `null` if valid, otherwise the reason why it is not
7173
9173
  */
7174
9174
  public static verify(message: { [k: string]: any }): (string|null);
7175
9175
 
7176
9176
  /**
7177
- * Creates a Http message from a plain object. Also converts values to their respective internal types.
9177
+ * Creates a RubySettings message from a plain object. Also converts values to their respective internal types.
7178
9178
  * @param object Plain object
7179
- * @returns Http
9179
+ * @returns RubySettings
7180
9180
  */
7181
- public static fromObject(object: { [k: string]: any }): google.api.Http;
9181
+ public static fromObject(object: { [k: string]: any }): google.api.RubySettings;
7182
9182
 
7183
9183
  /**
7184
- * Creates a plain object from a Http message. Also converts values to other types if specified.
7185
- * @param message Http
9184
+ * Creates a plain object from a RubySettings message. Also converts values to other types if specified.
9185
+ * @param message RubySettings
7186
9186
  * @param [options] Conversion options
7187
9187
  * @returns Plain object
7188
9188
  */
7189
- public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
9189
+ public static toObject(message: google.api.RubySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
7190
9190
 
7191
9191
  /**
7192
- * Converts this Http to JSON.
9192
+ * Converts this RubySettings to JSON.
7193
9193
  * @returns JSON object
7194
9194
  */
7195
9195
  public toJSON(): { [k: string]: any };
7196
9196
 
7197
9197
  /**
7198
- * Gets the default type url for Http
9198
+ * Gets the default type url for RubySettings
7199
9199
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7200
9200
  * @returns The default type url
7201
9201
  */
7202
9202
  public static getTypeUrl(typeUrlPrefix?: string): string;
7203
9203
  }
7204
9204
 
7205
- /** Properties of a HttpRule. */
7206
- interface IHttpRule {
7207
-
7208
- /** HttpRule selector */
7209
- selector?: (string|null);
7210
-
7211
- /** HttpRule get */
7212
- get?: (string|null);
7213
-
7214
- /** HttpRule put */
7215
- put?: (string|null);
7216
-
7217
- /** HttpRule post */
7218
- post?: (string|null);
7219
-
7220
- /** HttpRule delete */
7221
- "delete"?: (string|null);
7222
-
7223
- /** HttpRule patch */
7224
- patch?: (string|null);
7225
-
7226
- /** HttpRule custom */
7227
- custom?: (google.api.ICustomHttpPattern|null);
7228
-
7229
- /** HttpRule body */
7230
- body?: (string|null);
7231
-
7232
- /** HttpRule responseBody */
7233
- responseBody?: (string|null);
9205
+ /** Properties of a GoSettings. */
9206
+ interface IGoSettings {
7234
9207
 
7235
- /** HttpRule additionalBindings */
7236
- additionalBindings?: (google.api.IHttpRule[]|null);
9208
+ /** GoSettings common */
9209
+ common?: (google.api.ICommonLanguageSettings|null);
7237
9210
  }
7238
9211
 
7239
- /** Represents a HttpRule. */
7240
- class HttpRule implements IHttpRule {
9212
+ /** Represents a GoSettings. */
9213
+ class GoSettings implements IGoSettings {
7241
9214
 
7242
9215
  /**
7243
- * Constructs a new HttpRule.
9216
+ * Constructs a new GoSettings.
7244
9217
  * @param [properties] Properties to set
7245
9218
  */
7246
- constructor(properties?: google.api.IHttpRule);
7247
-
7248
- /** HttpRule selector. */
7249
- public selector: string;
7250
-
7251
- /** HttpRule get. */
7252
- public get?: (string|null);
7253
-
7254
- /** HttpRule put. */
7255
- public put?: (string|null);
7256
-
7257
- /** HttpRule post. */
7258
- public post?: (string|null);
7259
-
7260
- /** HttpRule delete. */
7261
- public delete?: (string|null);
7262
-
7263
- /** HttpRule patch. */
7264
- public patch?: (string|null);
7265
-
7266
- /** HttpRule custom. */
7267
- public custom?: (google.api.ICustomHttpPattern|null);
7268
-
7269
- /** HttpRule body. */
7270
- public body: string;
7271
-
7272
- /** HttpRule responseBody. */
7273
- public responseBody: string;
9219
+ constructor(properties?: google.api.IGoSettings);
7274
9220
 
7275
- /** HttpRule additionalBindings. */
7276
- public additionalBindings: google.api.IHttpRule[];
7277
-
7278
- /** HttpRule pattern. */
7279
- public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
9221
+ /** GoSettings common. */
9222
+ public common?: (google.api.ICommonLanguageSettings|null);
7280
9223
 
7281
9224
  /**
7282
- * Creates a new HttpRule instance using the specified properties.
9225
+ * Creates a new GoSettings instance using the specified properties.
7283
9226
  * @param [properties] Properties to set
7284
- * @returns HttpRule instance
9227
+ * @returns GoSettings instance
7285
9228
  */
7286
- public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
9229
+ public static create(properties?: google.api.IGoSettings): google.api.GoSettings;
7287
9230
 
7288
9231
  /**
7289
- * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
7290
- * @param message HttpRule message or plain object to encode
9232
+ * Encodes the specified GoSettings message. Does not implicitly {@link google.api.GoSettings.verify|verify} messages.
9233
+ * @param message GoSettings message or plain object to encode
7291
9234
  * @param [writer] Writer to encode to
7292
9235
  * @returns Writer
7293
9236
  */
7294
- public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
9237
+ public static encode(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
7295
9238
 
7296
9239
  /**
7297
- * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
7298
- * @param message HttpRule message or plain object to encode
9240
+ * Encodes the specified GoSettings message, length delimited. Does not implicitly {@link google.api.GoSettings.verify|verify} messages.
9241
+ * @param message GoSettings message or plain object to encode
7299
9242
  * @param [writer] Writer to encode to
7300
9243
  * @returns Writer
7301
9244
  */
7302
- public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
9245
+ public static encodeDelimited(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
7303
9246
 
7304
9247
  /**
7305
- * Decodes a HttpRule message from the specified reader or buffer.
9248
+ * Decodes a GoSettings message from the specified reader or buffer.
7306
9249
  * @param reader Reader or buffer to decode from
7307
9250
  * @param [length] Message length if known beforehand
7308
- * @returns HttpRule
9251
+ * @returns GoSettings
7309
9252
  * @throws {Error} If the payload is not a reader or valid buffer
7310
9253
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
7311
9254
  */
7312
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
9255
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.GoSettings;
7313
9256
 
7314
9257
  /**
7315
- * Decodes a HttpRule message from the specified reader or buffer, length delimited.
9258
+ * Decodes a GoSettings message from the specified reader or buffer, length delimited.
7316
9259
  * @param reader Reader or buffer to decode from
7317
- * @returns HttpRule
9260
+ * @returns GoSettings
7318
9261
  * @throws {Error} If the payload is not a reader or valid buffer
7319
9262
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
7320
9263
  */
7321
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
9264
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.GoSettings;
7322
9265
 
7323
9266
  /**
7324
- * Verifies a HttpRule message.
9267
+ * Verifies a GoSettings message.
7325
9268
  * @param message Plain object to verify
7326
9269
  * @returns `null` if valid, otherwise the reason why it is not
7327
9270
  */
7328
9271
  public static verify(message: { [k: string]: any }): (string|null);
7329
9272
 
7330
9273
  /**
7331
- * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
9274
+ * Creates a GoSettings message from a plain object. Also converts values to their respective internal types.
7332
9275
  * @param object Plain object
7333
- * @returns HttpRule
9276
+ * @returns GoSettings
7334
9277
  */
7335
- public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
9278
+ public static fromObject(object: { [k: string]: any }): google.api.GoSettings;
7336
9279
 
7337
9280
  /**
7338
- * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
7339
- * @param message HttpRule
9281
+ * Creates a plain object from a GoSettings message. Also converts values to other types if specified.
9282
+ * @param message GoSettings
7340
9283
  * @param [options] Conversion options
7341
9284
  * @returns Plain object
7342
9285
  */
7343
- public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
9286
+ public static toObject(message: google.api.GoSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
7344
9287
 
7345
9288
  /**
7346
- * Converts this HttpRule to JSON.
9289
+ * Converts this GoSettings to JSON.
7347
9290
  * @returns JSON object
7348
9291
  */
7349
9292
  public toJSON(): { [k: string]: any };
7350
9293
 
7351
9294
  /**
7352
- * Gets the default type url for HttpRule
9295
+ * Gets the default type url for GoSettings
7353
9296
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7354
9297
  * @returns The default type url
7355
9298
  */
7356
9299
  public static getTypeUrl(typeUrlPrefix?: string): string;
7357
9300
  }
7358
9301
 
7359
- /** Properties of a CustomHttpPattern. */
7360
- interface ICustomHttpPattern {
9302
+ /** Properties of a MethodSettings. */
9303
+ interface IMethodSettings {
7361
9304
 
7362
- /** CustomHttpPattern kind */
7363
- kind?: (string|null);
9305
+ /** MethodSettings selector */
9306
+ selector?: (string|null);
7364
9307
 
7365
- /** CustomHttpPattern path */
7366
- path?: (string|null);
9308
+ /** MethodSettings longRunning */
9309
+ longRunning?: (google.api.MethodSettings.ILongRunning|null);
7367
9310
  }
7368
9311
 
7369
- /** Represents a CustomHttpPattern. */
7370
- class CustomHttpPattern implements ICustomHttpPattern {
9312
+ /** Represents a MethodSettings. */
9313
+ class MethodSettings implements IMethodSettings {
7371
9314
 
7372
9315
  /**
7373
- * Constructs a new CustomHttpPattern.
9316
+ * Constructs a new MethodSettings.
7374
9317
  * @param [properties] Properties to set
7375
9318
  */
7376
- constructor(properties?: google.api.ICustomHttpPattern);
9319
+ constructor(properties?: google.api.IMethodSettings);
7377
9320
 
7378
- /** CustomHttpPattern kind. */
7379
- public kind: string;
9321
+ /** MethodSettings selector. */
9322
+ public selector: string;
7380
9323
 
7381
- /** CustomHttpPattern path. */
7382
- public path: string;
9324
+ /** MethodSettings longRunning. */
9325
+ public longRunning?: (google.api.MethodSettings.ILongRunning|null);
7383
9326
 
7384
9327
  /**
7385
- * Creates a new CustomHttpPattern instance using the specified properties.
9328
+ * Creates a new MethodSettings instance using the specified properties.
7386
9329
  * @param [properties] Properties to set
7387
- * @returns CustomHttpPattern instance
9330
+ * @returns MethodSettings instance
7388
9331
  */
7389
- public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
9332
+ public static create(properties?: google.api.IMethodSettings): google.api.MethodSettings;
7390
9333
 
7391
9334
  /**
7392
- * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
7393
- * @param message CustomHttpPattern message or plain object to encode
9335
+ * Encodes the specified MethodSettings message. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages.
9336
+ * @param message MethodSettings message or plain object to encode
7394
9337
  * @param [writer] Writer to encode to
7395
9338
  * @returns Writer
7396
9339
  */
7397
- public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
9340
+ public static encode(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
7398
9341
 
7399
9342
  /**
7400
- * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
7401
- * @param message CustomHttpPattern message or plain object to encode
9343
+ * Encodes the specified MethodSettings message, length delimited. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages.
9344
+ * @param message MethodSettings message or plain object to encode
7402
9345
  * @param [writer] Writer to encode to
7403
9346
  * @returns Writer
7404
9347
  */
7405
- public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
9348
+ public static encodeDelimited(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
7406
9349
 
7407
9350
  /**
7408
- * Decodes a CustomHttpPattern message from the specified reader or buffer.
9351
+ * Decodes a MethodSettings message from the specified reader or buffer.
7409
9352
  * @param reader Reader or buffer to decode from
7410
9353
  * @param [length] Message length if known beforehand
7411
- * @returns CustomHttpPattern
9354
+ * @returns MethodSettings
7412
9355
  * @throws {Error} If the payload is not a reader or valid buffer
7413
9356
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
7414
9357
  */
7415
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
9358
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings;
7416
9359
 
7417
9360
  /**
7418
- * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
9361
+ * Decodes a MethodSettings message from the specified reader or buffer, length delimited.
7419
9362
  * @param reader Reader or buffer to decode from
7420
- * @returns CustomHttpPattern
9363
+ * @returns MethodSettings
7421
9364
  * @throws {Error} If the payload is not a reader or valid buffer
7422
9365
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
7423
9366
  */
7424
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
9367
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings;
7425
9368
 
7426
9369
  /**
7427
- * Verifies a CustomHttpPattern message.
9370
+ * Verifies a MethodSettings message.
7428
9371
  * @param message Plain object to verify
7429
9372
  * @returns `null` if valid, otherwise the reason why it is not
7430
9373
  */
7431
9374
  public static verify(message: { [k: string]: any }): (string|null);
7432
9375
 
7433
9376
  /**
7434
- * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
9377
+ * Creates a MethodSettings message from a plain object. Also converts values to their respective internal types.
7435
9378
  * @param object Plain object
7436
- * @returns CustomHttpPattern
9379
+ * @returns MethodSettings
7437
9380
  */
7438
- public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
9381
+ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings;
7439
9382
 
7440
9383
  /**
7441
- * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
7442
- * @param message CustomHttpPattern
9384
+ * Creates a plain object from a MethodSettings message. Also converts values to other types if specified.
9385
+ * @param message MethodSettings
7443
9386
  * @param [options] Conversion options
7444
9387
  * @returns Plain object
7445
9388
  */
7446
- public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
9389
+ public static toObject(message: google.api.MethodSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
7447
9390
 
7448
9391
  /**
7449
- * Converts this CustomHttpPattern to JSON.
9392
+ * Converts this MethodSettings to JSON.
7450
9393
  * @returns JSON object
7451
9394
  */
7452
9395
  public toJSON(): { [k: string]: any };
7453
9396
 
7454
9397
  /**
7455
- * Gets the default type url for CustomHttpPattern
9398
+ * Gets the default type url for MethodSettings
7456
9399
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7457
9400
  * @returns The default type url
7458
9401
  */
7459
9402
  public static getTypeUrl(typeUrlPrefix?: string): string;
7460
9403
  }
7461
9404
 
9405
+ namespace MethodSettings {
9406
+
9407
+ /** Properties of a LongRunning. */
9408
+ interface ILongRunning {
9409
+
9410
+ /** LongRunning initialPollDelay */
9411
+ initialPollDelay?: (google.protobuf.IDuration|null);
9412
+
9413
+ /** LongRunning pollDelayMultiplier */
9414
+ pollDelayMultiplier?: (number|null);
9415
+
9416
+ /** LongRunning maxPollDelay */
9417
+ maxPollDelay?: (google.protobuf.IDuration|null);
9418
+
9419
+ /** LongRunning totalPollTimeout */
9420
+ totalPollTimeout?: (google.protobuf.IDuration|null);
9421
+ }
9422
+
9423
+ /** Represents a LongRunning. */
9424
+ class LongRunning implements ILongRunning {
9425
+
9426
+ /**
9427
+ * Constructs a new LongRunning.
9428
+ * @param [properties] Properties to set
9429
+ */
9430
+ constructor(properties?: google.api.MethodSettings.ILongRunning);
9431
+
9432
+ /** LongRunning initialPollDelay. */
9433
+ public initialPollDelay?: (google.protobuf.IDuration|null);
9434
+
9435
+ /** LongRunning pollDelayMultiplier. */
9436
+ public pollDelayMultiplier: number;
9437
+
9438
+ /** LongRunning maxPollDelay. */
9439
+ public maxPollDelay?: (google.protobuf.IDuration|null);
9440
+
9441
+ /** LongRunning totalPollTimeout. */
9442
+ public totalPollTimeout?: (google.protobuf.IDuration|null);
9443
+
9444
+ /**
9445
+ * Creates a new LongRunning instance using the specified properties.
9446
+ * @param [properties] Properties to set
9447
+ * @returns LongRunning instance
9448
+ */
9449
+ public static create(properties?: google.api.MethodSettings.ILongRunning): google.api.MethodSettings.LongRunning;
9450
+
9451
+ /**
9452
+ * Encodes the specified LongRunning message. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages.
9453
+ * @param message LongRunning message or plain object to encode
9454
+ * @param [writer] Writer to encode to
9455
+ * @returns Writer
9456
+ */
9457
+ public static encode(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
9458
+
9459
+ /**
9460
+ * Encodes the specified LongRunning message, length delimited. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages.
9461
+ * @param message LongRunning message or plain object to encode
9462
+ * @param [writer] Writer to encode to
9463
+ * @returns Writer
9464
+ */
9465
+ public static encodeDelimited(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
9466
+
9467
+ /**
9468
+ * Decodes a LongRunning message from the specified reader or buffer.
9469
+ * @param reader Reader or buffer to decode from
9470
+ * @param [length] Message length if known beforehand
9471
+ * @returns LongRunning
9472
+ * @throws {Error} If the payload is not a reader or valid buffer
9473
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9474
+ */
9475
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings.LongRunning;
9476
+
9477
+ /**
9478
+ * Decodes a LongRunning message from the specified reader or buffer, length delimited.
9479
+ * @param reader Reader or buffer to decode from
9480
+ * @returns LongRunning
9481
+ * @throws {Error} If the payload is not a reader or valid buffer
9482
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9483
+ */
9484
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings.LongRunning;
9485
+
9486
+ /**
9487
+ * Verifies a LongRunning message.
9488
+ * @param message Plain object to verify
9489
+ * @returns `null` if valid, otherwise the reason why it is not
9490
+ */
9491
+ public static verify(message: { [k: string]: any }): (string|null);
9492
+
9493
+ /**
9494
+ * Creates a LongRunning message from a plain object. Also converts values to their respective internal types.
9495
+ * @param object Plain object
9496
+ * @returns LongRunning
9497
+ */
9498
+ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings.LongRunning;
9499
+
9500
+ /**
9501
+ * Creates a plain object from a LongRunning message. Also converts values to other types if specified.
9502
+ * @param message LongRunning
9503
+ * @param [options] Conversion options
9504
+ * @returns Plain object
9505
+ */
9506
+ public static toObject(message: google.api.MethodSettings.LongRunning, options?: $protobuf.IConversionOptions): { [k: string]: any };
9507
+
9508
+ /**
9509
+ * Converts this LongRunning to JSON.
9510
+ * @returns JSON object
9511
+ */
9512
+ public toJSON(): { [k: string]: any };
9513
+
9514
+ /**
9515
+ * Gets the default type url for LongRunning
9516
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9517
+ * @returns The default type url
9518
+ */
9519
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9520
+ }
9521
+ }
9522
+
9523
+ /** ClientLibraryOrganization enum. */
9524
+ enum ClientLibraryOrganization {
9525
+ CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0,
9526
+ CLOUD = 1,
9527
+ ADS = 2,
9528
+ PHOTOS = 3,
9529
+ STREET_VIEW = 4
9530
+ }
9531
+
9532
+ /** ClientLibraryDestination enum. */
9533
+ enum ClientLibraryDestination {
9534
+ CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0,
9535
+ GITHUB = 10,
9536
+ PACKAGE_MANAGER = 20
9537
+ }
9538
+
9539
+ /** LaunchStage enum. */
9540
+ enum LaunchStage {
9541
+ LAUNCH_STAGE_UNSPECIFIED = 0,
9542
+ UNIMPLEMENTED = 6,
9543
+ PRELAUNCH = 7,
9544
+ EARLY_ACCESS = 1,
9545
+ ALPHA = 2,
9546
+ BETA = 3,
9547
+ GA = 4,
9548
+ DEPRECATED = 5
9549
+ }
9550
+
7462
9551
  /** FieldBehavior enum. */
7463
9552
  enum FieldBehavior {
7464
9553
  FIELD_BEHAVIOR_UNSPECIFIED = 0,
@@ -9565,6 +11654,9 @@ export namespace google {
9565
11654
  /** MessageOptions mapEntry */
9566
11655
  mapEntry?: (boolean|null);
9567
11656
 
11657
+ /** MessageOptions deprecatedLegacyJsonFieldConflicts */
11658
+ deprecatedLegacyJsonFieldConflicts?: (boolean|null);
11659
+
9568
11660
  /** MessageOptions uninterpretedOption */
9569
11661
  uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
9570
11662
 
@@ -9593,6 +11685,9 @@ export namespace google {
9593
11685
  /** MessageOptions mapEntry. */
9594
11686
  public mapEntry: boolean;
9595
11687
 
11688
+ /** MessageOptions deprecatedLegacyJsonFieldConflicts. */
11689
+ public deprecatedLegacyJsonFieldConflicts: boolean;
11690
+
9596
11691
  /** MessageOptions uninterpretedOption. */
9597
11692
  public uninterpretedOption: google.protobuf.IUninterpretedOption[];
9598
11693
 
@@ -9698,6 +11793,15 @@ export namespace google {
9698
11793
  /** FieldOptions weak */
9699
11794
  weak?: (boolean|null);
9700
11795
 
11796
+ /** FieldOptions debugRedact */
11797
+ debugRedact?: (boolean|null);
11798
+
11799
+ /** FieldOptions retention */
11800
+ retention?: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention|null);
11801
+
11802
+ /** FieldOptions target */
11803
+ target?: (google.protobuf.FieldOptions.OptionTargetType|keyof typeof google.protobuf.FieldOptions.OptionTargetType|null);
11804
+
9701
11805
  /** FieldOptions uninterpretedOption */
9702
11806
  uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
9703
11807
 
@@ -9738,6 +11842,15 @@ export namespace google {
9738
11842
  /** FieldOptions weak. */
9739
11843
  public weak: boolean;
9740
11844
 
11845
+ /** FieldOptions debugRedact. */
11846
+ public debugRedact: boolean;
11847
+
11848
+ /** FieldOptions retention. */
11849
+ public retention: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention);
11850
+
11851
+ /** FieldOptions target. */
11852
+ public target: (google.protobuf.FieldOptions.OptionTargetType|keyof typeof google.protobuf.FieldOptions.OptionTargetType);
11853
+
9741
11854
  /** FieldOptions uninterpretedOption. */
9742
11855
  public uninterpretedOption: google.protobuf.IUninterpretedOption[];
9743
11856
 
@@ -9834,6 +11947,27 @@ export namespace google {
9834
11947
  JS_STRING = 1,
9835
11948
  JS_NUMBER = 2
9836
11949
  }
11950
+
11951
+ /** OptionRetention enum. */
11952
+ enum OptionRetention {
11953
+ RETENTION_UNKNOWN = 0,
11954
+ RETENTION_RUNTIME = 1,
11955
+ RETENTION_SOURCE = 2
11956
+ }
11957
+
11958
+ /** OptionTargetType enum. */
11959
+ enum OptionTargetType {
11960
+ TARGET_TYPE_UNKNOWN = 0,
11961
+ TARGET_TYPE_FILE = 1,
11962
+ TARGET_TYPE_EXTENSION_RANGE = 2,
11963
+ TARGET_TYPE_MESSAGE = 3,
11964
+ TARGET_TYPE_FIELD = 4,
11965
+ TARGET_TYPE_ONEOF = 5,
11966
+ TARGET_TYPE_ENUM = 6,
11967
+ TARGET_TYPE_ENUM_ENTRY = 7,
11968
+ TARGET_TYPE_SERVICE = 8,
11969
+ TARGET_TYPE_METHOD = 9
11970
+ }
9837
11971
  }
9838
11972
 
9839
11973
  /** Properties of an OneofOptions. */
@@ -9942,6 +12076,9 @@ export namespace google {
9942
12076
  /** EnumOptions deprecated */
9943
12077
  deprecated?: (boolean|null);
9944
12078
 
12079
+ /** EnumOptions deprecatedLegacyJsonFieldConflicts */
12080
+ deprecatedLegacyJsonFieldConflicts?: (boolean|null);
12081
+
9945
12082
  /** EnumOptions uninterpretedOption */
9946
12083
  uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
9947
12084
  }
@@ -9961,6 +12098,9 @@ export namespace google {
9961
12098
  /** EnumOptions deprecated. */
9962
12099
  public deprecated: boolean;
9963
12100
 
12101
+ /** EnumOptions deprecatedLegacyJsonFieldConflicts. */
12102
+ public deprecatedLegacyJsonFieldConflicts: boolean;
12103
+
9964
12104
  /** EnumOptions uninterpretedOption. */
9965
12105
  public uninterpretedOption: google.protobuf.IUninterpretedOption[];
9966
12106