@marleena/trb-proto 0.1.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.
@@ -0,0 +1,67 @@
1
+ // source: google/api/field_behavior.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
+
24
+ var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
25
+ goog.object.extend(proto, google_protobuf_descriptor_pb);
26
+ goog.exportSymbol('proto.google.api.FieldBehavior', null, global);
27
+ goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global);
28
+ /**
29
+ * @enum {number}
30
+ */
31
+ proto.google.api.FieldBehavior = {
32
+ FIELD_BEHAVIOR_UNSPECIFIED: 0,
33
+ OPTIONAL: 1,
34
+ REQUIRED: 2,
35
+ OUTPUT_ONLY: 3,
36
+ INPUT_ONLY: 4,
37
+ IMMUTABLE: 5,
38
+ UNORDERED_LIST: 6,
39
+ NON_EMPTY_DEFAULT: 7
40
+ };
41
+
42
+
43
+ /**
44
+ * A tuple of {field number, class constructor} for the extension
45
+ * field named `fieldBehaviorList`.
46
+ * @type {!jspb.ExtensionFieldInfo<!Array<!proto.google.api.FieldBehavior>>}
47
+ */
48
+ proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo(
49
+ 1052,
50
+ {fieldBehaviorList: 0},
51
+ null,
52
+ /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
53
+ null),
54
+ 1);
55
+
56
+ google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo(
57
+ proto.google.api.fieldBehaviorList,
58
+ jspb.BinaryReader.prototype.readPackedEnum,
59
+ jspb.BinaryWriter.prototype.writePackedEnum,
60
+ undefined,
61
+ undefined,
62
+ true);
63
+ // This registers the extension field with the extended class, so that
64
+ // toObject() will function correctly.
65
+ google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList;
66
+
67
+ goog.object.extend(exports, proto.google.api);
@@ -0,0 +1,120 @@
1
+ import * as jspb from 'google-protobuf'
2
+
3
+
4
+
5
+ export class Http extends jspb.Message {
6
+ getRulesList(): Array<HttpRule>;
7
+ setRulesList(value: Array<HttpRule>): Http;
8
+ clearRulesList(): Http;
9
+ addRules(value?: HttpRule, index?: number): HttpRule;
10
+
11
+ getFullyDecodeReservedExpansion(): boolean;
12
+ setFullyDecodeReservedExpansion(value: boolean): Http;
13
+
14
+ serializeBinary(): Uint8Array;
15
+ toObject(includeInstance?: boolean): Http.AsObject;
16
+ static toObject(includeInstance: boolean, msg: Http): Http.AsObject;
17
+ static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void;
18
+ static deserializeBinary(bytes: Uint8Array): Http;
19
+ static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http;
20
+ }
21
+
22
+ export namespace Http {
23
+ export type AsObject = {
24
+ rulesList: Array<HttpRule.AsObject>,
25
+ fullyDecodeReservedExpansion: boolean,
26
+ }
27
+ }
28
+
29
+ export class HttpRule extends jspb.Message {
30
+ getSelector(): string;
31
+ setSelector(value: string): HttpRule;
32
+
33
+ getGet(): string;
34
+ setGet(value: string): HttpRule;
35
+
36
+ getPut(): string;
37
+ setPut(value: string): HttpRule;
38
+
39
+ getPost(): string;
40
+ setPost(value: string): HttpRule;
41
+
42
+ getDelete(): string;
43
+ setDelete(value: string): HttpRule;
44
+
45
+ getPatch(): string;
46
+ setPatch(value: string): HttpRule;
47
+
48
+ getCustom(): CustomHttpPattern | undefined;
49
+ setCustom(value?: CustomHttpPattern): HttpRule;
50
+ hasCustom(): boolean;
51
+ clearCustom(): HttpRule;
52
+
53
+ getBody(): string;
54
+ setBody(value: string): HttpRule;
55
+
56
+ getResponseBody(): string;
57
+ setResponseBody(value: string): HttpRule;
58
+
59
+ getAdditionalBindingsList(): Array<HttpRule>;
60
+ setAdditionalBindingsList(value: Array<HttpRule>): HttpRule;
61
+ clearAdditionalBindingsList(): HttpRule;
62
+ addAdditionalBindings(value?: HttpRule, index?: number): HttpRule;
63
+
64
+ getPatternCase(): HttpRule.PatternCase;
65
+
66
+ serializeBinary(): Uint8Array;
67
+ toObject(includeInstance?: boolean): HttpRule.AsObject;
68
+ static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject;
69
+ static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void;
70
+ static deserializeBinary(bytes: Uint8Array): HttpRule;
71
+ static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule;
72
+ }
73
+
74
+ export namespace HttpRule {
75
+ export type AsObject = {
76
+ selector: string,
77
+ get: string,
78
+ put: string,
79
+ post: string,
80
+ pb_delete: string,
81
+ patch: string,
82
+ custom?: CustomHttpPattern.AsObject,
83
+ body: string,
84
+ responseBody: string,
85
+ additionalBindingsList: Array<HttpRule.AsObject>,
86
+ }
87
+
88
+ export enum PatternCase {
89
+ PATTERN_NOT_SET = 0,
90
+ GET = 2,
91
+ PUT = 3,
92
+ POST = 4,
93
+ DELETE = 5,
94
+ PATCH = 6,
95
+ CUSTOM = 8,
96
+ }
97
+ }
98
+
99
+ export class CustomHttpPattern extends jspb.Message {
100
+ getKind(): string;
101
+ setKind(value: string): CustomHttpPattern;
102
+
103
+ getPath(): string;
104
+ setPath(value: string): CustomHttpPattern;
105
+
106
+ serializeBinary(): Uint8Array;
107
+ toObject(includeInstance?: boolean): CustomHttpPattern.AsObject;
108
+ static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject;
109
+ static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void;
110
+ static deserializeBinary(bytes: Uint8Array): CustomHttpPattern;
111
+ static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern;
112
+ }
113
+
114
+ export namespace CustomHttpPattern {
115
+ export type AsObject = {
116
+ kind: string,
117
+ path: string,
118
+ }
119
+ }
120
+