-
Notifications
You must be signed in to change notification settings - Fork 55
/
plugin_pb.ts
200 lines (166 loc) · 8.32 KB
/
plugin_pb.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
// Copyright 2021-2024 Buf Technologies, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// @generated by protoc-gen-es v1.8.0 with parameter "ts_nocheck=false,target=ts"
// @generated from file buf/alpha/audit/v1alpha1/plugin.proto (package buf.alpha.audit.v1alpha1, syntax proto3)
/* eslint-disable */
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
import { Message, proto3 } from "@bufbuild/protobuf";
/**
* @generated from enum buf.alpha.audit.v1alpha1.BufAlphaRegistryV1Alpha1PluginVisibility
*/
export enum BufAlphaRegistryV1Alpha1PluginVisibility {
/**
* @generated from enum value: BUF_ALPHA_REGISTRY_V1_ALPHA1_PLUGIN_VISIBILITY_UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,
/**
* @generated from enum value: BUF_ALPHA_REGISTRY_V1_ALPHA1_PLUGIN_VISIBILITY_PUBLIC = 1;
*/
PUBLIC = 1,
/**
* @generated from enum value: BUF_ALPHA_REGISTRY_V1_ALPHA1_PLUGIN_VISIBILITY_PRIVATE = 2;
*/
PRIVATE = 2,
}
// Retrieve enum metadata with: proto3.getEnumType(BufAlphaRegistryV1Alpha1PluginVisibility)
proto3.util.setEnumType(BufAlphaRegistryV1Alpha1PluginVisibility, "buf.alpha.audit.v1alpha1.BufAlphaRegistryV1Alpha1PluginVisibility", [
{ no: 0, name: "BUF_ALPHA_REGISTRY_V1_ALPHA1_PLUGIN_VISIBILITY_UNSPECIFIED" },
{ no: 1, name: "BUF_ALPHA_REGISTRY_V1_ALPHA1_PLUGIN_VISIBILITY_PUBLIC" },
{ no: 2, name: "BUF_ALPHA_REGISTRY_V1_ALPHA1_PLUGIN_VISIBILITY_PRIVATE" },
]);
/**
* @generated from message buf.alpha.audit.v1alpha1.BufAlphaRegistryV1Alpha1PluginVersionMapping
*/
export class BufAlphaRegistryV1Alpha1PluginVersionMapping extends Message<BufAlphaRegistryV1Alpha1PluginVersionMapping> {
/**
* @generated from field: string plugin_owner = 1;
*/
pluginOwner = "";
/**
* @generated from field: string plugin_name = 2;
*/
pluginName = "";
/**
* @generated from field: string version = 3;
*/
version = "";
/**
* @generated from field: bool deleted = 4;
*/
deleted = false;
constructor(data?: PartialMessage<BufAlphaRegistryV1Alpha1PluginVersionMapping>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.audit.v1alpha1.BufAlphaRegistryV1Alpha1PluginVersionMapping";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "plugin_owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "plugin_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "deleted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BufAlphaRegistryV1Alpha1PluginVersionMapping {
return new BufAlphaRegistryV1Alpha1PluginVersionMapping().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BufAlphaRegistryV1Alpha1PluginVersionMapping {
return new BufAlphaRegistryV1Alpha1PluginVersionMapping().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BufAlphaRegistryV1Alpha1PluginVersionMapping {
return new BufAlphaRegistryV1Alpha1PluginVersionMapping().fromJsonString(jsonString, options);
}
static equals(a: BufAlphaRegistryV1Alpha1PluginVersionMapping | PlainMessage<BufAlphaRegistryV1Alpha1PluginVersionMapping> | undefined, b: BufAlphaRegistryV1Alpha1PluginVersionMapping | PlainMessage<BufAlphaRegistryV1Alpha1PluginVersionMapping> | undefined): boolean {
return proto3.util.equals(BufAlphaRegistryV1Alpha1PluginVersionMapping, a, b);
}
}
/**
* @generated from message buf.alpha.audit.v1alpha1.BufAlphaRegistryV1Alpha1PluginConfig
*/
export class BufAlphaRegistryV1Alpha1PluginConfig extends Message<BufAlphaRegistryV1Alpha1PluginConfig> {
/**
* @generated from field: string plugin_owner = 1;
*/
pluginOwner = "";
/**
* @generated from field: string plugin_name = 2;
*/
pluginName = "";
/**
* @generated from field: repeated string parameters = 3;
*/
parameters: string[] = [];
/**
* @generated from field: bool deleted = 4;
*/
deleted = false;
constructor(data?: PartialMessage<BufAlphaRegistryV1Alpha1PluginConfig>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.audit.v1alpha1.BufAlphaRegistryV1Alpha1PluginConfig";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "plugin_owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "plugin_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "parameters", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
{ no: 4, name: "deleted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BufAlphaRegistryV1Alpha1PluginConfig {
return new BufAlphaRegistryV1Alpha1PluginConfig().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BufAlphaRegistryV1Alpha1PluginConfig {
return new BufAlphaRegistryV1Alpha1PluginConfig().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BufAlphaRegistryV1Alpha1PluginConfig {
return new BufAlphaRegistryV1Alpha1PluginConfig().fromJsonString(jsonString, options);
}
static equals(a: BufAlphaRegistryV1Alpha1PluginConfig | PlainMessage<BufAlphaRegistryV1Alpha1PluginConfig> | undefined, b: BufAlphaRegistryV1Alpha1PluginConfig | PlainMessage<BufAlphaRegistryV1Alpha1PluginConfig> | undefined): boolean {
return proto3.util.equals(BufAlphaRegistryV1Alpha1PluginConfig, a, b);
}
}
/**
* @generated from message buf.alpha.audit.v1alpha1.BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary
*/
export class BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary extends Message<BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary> {
/**
* @generated from field: string name = 1;
*/
name = "";
/**
* @generated from field: string version = 2;
*/
version = "";
constructor(data?: PartialMessage<BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.audit.v1alpha1.BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary {
return new BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary {
return new BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary {
return new BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary().fromJsonString(jsonString, options);
}
static equals(a: BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary | PlainMessage<BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary> | undefined, b: BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary | PlainMessage<BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary> | undefined): boolean {
return proto3.util.equals(BufAlphaRegistryV1Alpha1PluginVersionRuntimeLibrary, a, b);
}
}