@daocloud-proto/skoala 0.48.1 → 0.49.0-26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{google/protobuf/field_mask.pb.ts → api/crds/version.pb.ts} +5 -2
- package/api/hosted/v1alpha3/ai_gateway.pb.ts +32 -0
- package/api/hosted/v1alpha3/gateway_api.pb.ts +412 -0
- package/package.json +3 -3
- package/alert/v1alpha1/alert.pb.ts +0 -433
- package/alert/v1alpha1/inhibition.pb.ts +0 -56
- package/alert/v1alpha1/notify.pb.ts +0 -250
- package/alert/v1alpha1/silence.pb.ts +0 -85
- package/alert/v1alpha1/type.pb.ts +0 -55
- package/event/v1alpha1/event.pb.ts +0 -137
- package/feature_gate/v1alpha1/feature_gate.pb.ts +0 -31
- package/github.com/mwitkow/go-proto-validators/validator.pb.ts +0 -29
- package/gogoproto/gogo.pb.ts +0 -1
- package/google/api/annotations.pb.ts +0 -1
- package/google/api/http.pb.ts +0 -34
- package/google/api/httpbody.pb.ts +0 -12
- package/google/protobuf/any.pb.ts +0 -9
- package/google/protobuf/api.pb.ts +0 -32
- package/google/protobuf/descriptor.pb.ts +0 -262
- package/google/protobuf/duration.pb.ts +0 -9
- package/google/protobuf/empty.pb.ts +0 -7
- package/google/protobuf/struct.pb.ts +0 -33
- package/google/protobuf/timestamp.pb.ts +0 -9
- package/google/protobuf/type.pb.ts +0 -83
- package/google/protobuf/wrappers.pb.ts +0 -40
- package/google/rpc/status.pb.ts +0 -12
- package/graph/v1alpha1/graph.pb.ts +0 -175
- package/log/v1alpha1/log.pb.ts +0 -163
- package/metric/v1alpha1/metric.pb.ts +0 -116
- package/net_flow/v1alpha1/net_flow.pb.ts +0 -8
- package/openapi/annotations.pb.ts +0 -1
- package/openapi/openapiv2.pb.ts +0 -193
- package/overview/v1alpha1/overview.pb.ts +0 -95
- package/probes/v1alpha1/probe.pb.ts +0 -132
- package/resource/v1alpha1/cluster.pb.ts +0 -156
- package/resource/v1alpha1/job.pb.ts +0 -113
- package/resource/v1alpha1/namespace.pb.ts +0 -43
- package/resource/v1alpha1/node.pb.ts +0 -96
- package/resource/v1alpha1/pod.pb.ts +0 -112
- package/resource/v1alpha1/service.pb.ts +0 -62
- package/resource/v1alpha1/type.pb.ts +0 -26
- package/resource/v1alpha1/workload.pb.ts +0 -98
- package/span_metric/v1alpha1/otelspankind.pb.ts +0 -14
- package/span_metric/v1alpha1/span_metric.pb.ts +0 -142
- package/tracing/v1alpha1/model.pb.ts +0 -95
- package/tracing/v1alpha1/query.pb.ts +0 -43
- package/tracing/v1alpha1/tracing.pb.ts +0 -64
- package/type/v1alpha1/objectmeta.pb.ts +0 -67
- package/type/v1alpha1/page.pb.ts +0 -11
- package/user/v1alpha1/user.pb.ts +0 -23
- package/validate/validate.pb.ts +0 -266
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
/*
|
|
4
|
-
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import * as InsightIoApiAlertV1alpha1Alert from "./alert.pb"
|
|
8
|
-
|
|
9
|
-
export enum matchType {
|
|
10
|
-
MATCH_TYPE_UNSPECIFIED = "MATCH_TYPE_UNSPECIFIED",
|
|
11
|
-
EQUAL = "EQUAL",
|
|
12
|
-
NOT_EQUAL = "NOT_EQUAL",
|
|
13
|
-
REGEXP = "REGEXP",
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export type SilenceName = {
|
|
17
|
-
name?: string
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export type CreateSilenceRequest = {
|
|
21
|
-
name?: string
|
|
22
|
-
clusterName?: string
|
|
23
|
-
namespace?: string
|
|
24
|
-
description?: string
|
|
25
|
-
matches?: match[]
|
|
26
|
-
activeTimeInterval?: timeInterval
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type Silence = {
|
|
30
|
-
id?: string
|
|
31
|
-
name?: string
|
|
32
|
-
clusterName?: string
|
|
33
|
-
namespace?: string
|
|
34
|
-
description?: string
|
|
35
|
-
matches?: match[]
|
|
36
|
-
activeTimeInterval?: timeInterval
|
|
37
|
-
expired?: boolean
|
|
38
|
-
createAt?: string
|
|
39
|
-
updateAt?: string
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export type UpdateSilenceRequest = {
|
|
43
|
-
id?: string
|
|
44
|
-
description?: string
|
|
45
|
-
matches?: match[]
|
|
46
|
-
activeTimeInterval?: timeInterval
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export type match = {
|
|
50
|
-
type?: matchType
|
|
51
|
-
key?: string
|
|
52
|
-
value?: string
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export type ListSilencesRequest = {
|
|
56
|
-
expired?: boolean
|
|
57
|
-
name?: string
|
|
58
|
-
clusterName?: string
|
|
59
|
-
namespace?: string
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export type ListSilencesResponse = {
|
|
63
|
-
items?: Silence[]
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export type PreviewSilenceRequest = {
|
|
67
|
-
clusterName?: string
|
|
68
|
-
namespace?: string
|
|
69
|
-
matches?: match[]
|
|
70
|
-
size?: string
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export type PreviewSilenceResponse = {
|
|
74
|
-
items?: InsightIoApiAlertV1alpha1Alert.AlertSummary[]
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export type timeIntervaltimeRange = {
|
|
78
|
-
start?: string
|
|
79
|
-
end?: string
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export type timeInterval = {
|
|
83
|
-
timeRanges?: timeIntervaltimeRange[]
|
|
84
|
-
weekdayRange?: number[]
|
|
85
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
/*
|
|
4
|
-
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
export enum RuleSource {
|
|
8
|
-
RULE_SOURCE_UNSPECIFIED = "RULE_SOURCE_UNSPECIFIED",
|
|
9
|
-
METRIC_TPL = "METRIC_TPL",
|
|
10
|
-
PROMQL = "PROMQL",
|
|
11
|
-
LOG_TPL = "LOG_TPL",
|
|
12
|
-
EVENT_TPL = "EVENT_TPL",
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export enum TargetType {
|
|
16
|
-
TARGET_TYPE_UNSPECIFIED = "TARGET_TYPE_UNSPECIFIED",
|
|
17
|
-
GLOBAL = "GLOBAL",
|
|
18
|
-
CLUSTER = "CLUSTER",
|
|
19
|
-
NAMESPACE = "NAMESPACE",
|
|
20
|
-
NODE = "NODE",
|
|
21
|
-
DEPLOYMENT = "DEPLOYMENT",
|
|
22
|
-
STATEFULSET = "STATEFULSET",
|
|
23
|
-
DAEMONSET = "DAEMONSET",
|
|
24
|
-
POD = "POD",
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export enum Severity {
|
|
28
|
-
SEVERITY_UNSPECIFIED = "SEVERITY_UNSPECIFIED",
|
|
29
|
-
CRITICAL = "CRITICAL",
|
|
30
|
-
WARNING = "WARNING",
|
|
31
|
-
INFO = "INFO",
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export enum RuleStatus {
|
|
35
|
-
UNSPECIFIED = "UNSPECIFIED",
|
|
36
|
-
FIRING = "FIRING",
|
|
37
|
-
ENABLED = "ENABLED",
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export enum AlertStatus {
|
|
41
|
-
ALERT_STATUS_UNSPECIFIED = "ALERT_STATUS_UNSPECIFIED",
|
|
42
|
-
firing = "firing",
|
|
43
|
-
resolved = "resolved",
|
|
44
|
-
silenced = "silenced",
|
|
45
|
-
inhibited = "inhibited",
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export enum RuleFilterCondition {
|
|
49
|
-
FILTER_CONDITION_UNSPECIFIED = "FILTER_CONDITION_UNSPECIFIED",
|
|
50
|
-
AND = "AND",
|
|
51
|
-
OR = "OR",
|
|
52
|
-
REG = "REG",
|
|
53
|
-
FUZZINESS = "FUZZINESS",
|
|
54
|
-
WILD_CARD = "WILD_CARD",
|
|
55
|
-
}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
/*
|
|
4
|
-
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import * as InsightIoApiTypeV1alpha1Page from "../../type/v1alpha1/page.pb"
|
|
8
|
-
|
|
9
|
-
export enum EventType {
|
|
10
|
-
TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",
|
|
11
|
-
Normal = "Normal",
|
|
12
|
-
Warning = "Warning",
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export type QueryEventHistogramRequest = {
|
|
16
|
-
startTime?: string
|
|
17
|
-
endTime?: string
|
|
18
|
-
interval?: string
|
|
19
|
-
clusterName?: string
|
|
20
|
-
namespace?: string
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export type EventHistogram = {
|
|
24
|
-
timestamp?: string
|
|
25
|
-
normalCount?: string
|
|
26
|
-
warningCount?: string
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type QueryEventHistogramResponse = {
|
|
30
|
-
items?: EventHistogram[]
|
|
31
|
-
totalNormal?: string
|
|
32
|
-
totalWarning?: string
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export type QueryEventFilterOptionsRequest = {
|
|
36
|
-
startTime?: string
|
|
37
|
-
endTime?: string
|
|
38
|
-
clusterName?: string
|
|
39
|
-
namespace?: string
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export type QueryEventFilterOptionsResponse = {
|
|
43
|
-
reasons?: string[]
|
|
44
|
-
involvedObjectKinds?: string[]
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export type EventFilter = {
|
|
48
|
-
type?: EventType
|
|
49
|
-
involveObjectKind?: string
|
|
50
|
-
reason?: string
|
|
51
|
-
involveObjectName?: string
|
|
52
|
-
message?: string
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export type QueryEventRequest = {
|
|
56
|
-
startTime?: string
|
|
57
|
-
endTime?: string
|
|
58
|
-
clusterName?: string
|
|
59
|
-
namespace?: string
|
|
60
|
-
filter?: EventFilter
|
|
61
|
-
sort?: string
|
|
62
|
-
page?: number
|
|
63
|
-
pageSize?: number
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export type QueryEventResponse = {
|
|
67
|
-
items?: Event[]
|
|
68
|
-
pagination?: InsightIoApiTypeV1alpha1Page.Pagination
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export type EventSource = {
|
|
72
|
-
component?: string
|
|
73
|
-
host?: string
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export type EventMetadata = {
|
|
77
|
-
name?: string
|
|
78
|
-
namespace?: string
|
|
79
|
-
uid?: string
|
|
80
|
-
resourceVersion?: string
|
|
81
|
-
creationTimestamp?: string
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export type EventInvolvedObject = {
|
|
85
|
-
kind?: string
|
|
86
|
-
namespace?: string
|
|
87
|
-
name?: string
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export type Event = {
|
|
91
|
-
reportingComponent?: string
|
|
92
|
-
reason?: string
|
|
93
|
-
lastTimestamp?: string
|
|
94
|
-
count?: string
|
|
95
|
-
message?: string
|
|
96
|
-
clusterName?: string
|
|
97
|
-
source?: EventSource
|
|
98
|
-
reportingInstance?: string
|
|
99
|
-
metadata?: EventMetadata
|
|
100
|
-
type?: EventType
|
|
101
|
-
firstTimestamp?: string
|
|
102
|
-
involveObject?: EventInvolvedObject
|
|
103
|
-
clusterUuid?: string
|
|
104
|
-
timestamp?: string
|
|
105
|
-
action?: string
|
|
106
|
-
eventTime?: string
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export type QueryEventCountRequest = {
|
|
110
|
-
startTime?: string
|
|
111
|
-
endTime?: string
|
|
112
|
-
clusterName?: string
|
|
113
|
-
namespace?: string
|
|
114
|
-
filters?: EventFilter[]
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
export type QueryEventCountResponse = {
|
|
118
|
-
items?: string[]
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export type QueryEventContextRequest = {
|
|
122
|
-
timestamp?: string
|
|
123
|
-
clusterName?: string
|
|
124
|
-
namespace?: string
|
|
125
|
-
filter?: EventFilter
|
|
126
|
-
before?: number
|
|
127
|
-
after?: number
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
export type GetReasonsResponse = {
|
|
131
|
-
node?: string[]
|
|
132
|
-
daemonSet?: string[]
|
|
133
|
-
deployment?: string[]
|
|
134
|
-
job?: string[]
|
|
135
|
-
pod?: string[]
|
|
136
|
-
statefulSet?: string[]
|
|
137
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
/*
|
|
4
|
-
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
export enum FeatureGateIDEnum {
|
|
8
|
-
METRICS = "METRICS",
|
|
9
|
-
LOGGING = "LOGGING",
|
|
10
|
-
TRACING = "TRACING",
|
|
11
|
-
GRAPH_VIRTUAL_NODE = "GRAPH_VIRTUAL_NODE",
|
|
12
|
-
LOG_ALERT = "LOG_ALERT",
|
|
13
|
-
NET_FLOW = "NET_FLOW",
|
|
14
|
-
EVENT = "EVENT",
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export type FeatureGateID = {
|
|
18
|
-
id?: FeatureGateIDEnum
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export type FeatureGate = {
|
|
22
|
-
id?: FeatureGateIDEnum
|
|
23
|
-
name?: string
|
|
24
|
-
description?: string
|
|
25
|
-
enabled?: boolean
|
|
26
|
-
status?: string
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type FeatureGatesResp = {
|
|
30
|
-
items?: FeatureGate[]
|
|
31
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
/*
|
|
4
|
-
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
-
*/
|
|
6
|
-
export type FieldValidator = {
|
|
7
|
-
regex?: string
|
|
8
|
-
intGt?: string
|
|
9
|
-
intLt?: string
|
|
10
|
-
msgExists?: boolean
|
|
11
|
-
humanError?: string
|
|
12
|
-
floatGt?: number
|
|
13
|
-
floatLt?: number
|
|
14
|
-
floatEpsilon?: number
|
|
15
|
-
floatGte?: number
|
|
16
|
-
floatLte?: number
|
|
17
|
-
stringNotEmpty?: boolean
|
|
18
|
-
repeatedCountMin?: string
|
|
19
|
-
repeatedCountMax?: string
|
|
20
|
-
lengthGt?: string
|
|
21
|
-
lengthLt?: string
|
|
22
|
-
lengthEq?: string
|
|
23
|
-
isInEnum?: boolean
|
|
24
|
-
uuidVer?: number
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export type OneofValidator = {
|
|
28
|
-
required?: boolean
|
|
29
|
-
}
|
package/gogoproto/gogo.pb.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default {}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default {}
|
package/google/api/http.pb.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
/*
|
|
4
|
-
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
|
|
8
|
-
type OneOf<T> =
|
|
9
|
-
| { [k in keyof T]?: undefined }
|
|
10
|
-
| (
|
|
11
|
-
keyof T extends infer K ?
|
|
12
|
-
(K extends string & keyof T ? { [k in K]: T[K] } & Absent<T, K>
|
|
13
|
-
: never)
|
|
14
|
-
: never);
|
|
15
|
-
export type Http = {
|
|
16
|
-
rules?: HttpRule[]
|
|
17
|
-
fullyDecodeReservedExpansion?: boolean
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
type BaseHttpRule = {
|
|
22
|
-
selector?: string
|
|
23
|
-
body?: string
|
|
24
|
-
responseBody?: string
|
|
25
|
-
additionalBindings?: HttpRule[]
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export type HttpRule = BaseHttpRule
|
|
29
|
-
& OneOf<{ get: string; put: string; post: string; delete: string; patch: string; custom: CustomHttpPattern }>
|
|
30
|
-
|
|
31
|
-
export type CustomHttpPattern = {
|
|
32
|
-
kind?: string
|
|
33
|
-
path?: string
|
|
34
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
/*
|
|
4
|
-
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import * as GoogleProtobufAny from "../protobuf/any.pb"
|
|
8
|
-
export type HttpBody = {
|
|
9
|
-
contentType?: string
|
|
10
|
-
data?: Uint8Array
|
|
11
|
-
extensions?: GoogleProtobufAny.Any[]
|
|
12
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
/*
|
|
4
|
-
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import * as GoogleProtobufSource_context from "./source_context.pb"
|
|
8
|
-
import * as GoogleProtobufType from "./type.pb"
|
|
9
|
-
export type Api = {
|
|
10
|
-
name?: string
|
|
11
|
-
methods?: Method[]
|
|
12
|
-
options?: GoogleProtobufType.Option[]
|
|
13
|
-
version?: string
|
|
14
|
-
sourceContext?: GoogleProtobufSource_context.SourceContext
|
|
15
|
-
mixins?: Mixin[]
|
|
16
|
-
syntax?: GoogleProtobufType.Syntax
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export type Method = {
|
|
20
|
-
name?: string
|
|
21
|
-
requestTypeUrl?: string
|
|
22
|
-
requestStreaming?: boolean
|
|
23
|
-
responseTypeUrl?: string
|
|
24
|
-
responseStreaming?: boolean
|
|
25
|
-
options?: GoogleProtobufType.Option[]
|
|
26
|
-
syntax?: GoogleProtobufType.Syntax
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type Mixin = {
|
|
30
|
-
name?: string
|
|
31
|
-
root?: string
|
|
32
|
-
}
|
|
@@ -1,262 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
/*
|
|
4
|
-
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
export enum FieldDescriptorProtoType {
|
|
8
|
-
TYPE_DOUBLE = "TYPE_DOUBLE",
|
|
9
|
-
TYPE_FLOAT = "TYPE_FLOAT",
|
|
10
|
-
TYPE_INT64 = "TYPE_INT64",
|
|
11
|
-
TYPE_UINT64 = "TYPE_UINT64",
|
|
12
|
-
TYPE_INT32 = "TYPE_INT32",
|
|
13
|
-
TYPE_FIXED64 = "TYPE_FIXED64",
|
|
14
|
-
TYPE_FIXED32 = "TYPE_FIXED32",
|
|
15
|
-
TYPE_BOOL = "TYPE_BOOL",
|
|
16
|
-
TYPE_STRING = "TYPE_STRING",
|
|
17
|
-
TYPE_GROUP = "TYPE_GROUP",
|
|
18
|
-
TYPE_MESSAGE = "TYPE_MESSAGE",
|
|
19
|
-
TYPE_BYTES = "TYPE_BYTES",
|
|
20
|
-
TYPE_UINT32 = "TYPE_UINT32",
|
|
21
|
-
TYPE_ENUM = "TYPE_ENUM",
|
|
22
|
-
TYPE_SFIXED32 = "TYPE_SFIXED32",
|
|
23
|
-
TYPE_SFIXED64 = "TYPE_SFIXED64",
|
|
24
|
-
TYPE_SINT32 = "TYPE_SINT32",
|
|
25
|
-
TYPE_SINT64 = "TYPE_SINT64",
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export enum FieldDescriptorProtoLabel {
|
|
29
|
-
LABEL_OPTIONAL = "LABEL_OPTIONAL",
|
|
30
|
-
LABEL_REQUIRED = "LABEL_REQUIRED",
|
|
31
|
-
LABEL_REPEATED = "LABEL_REPEATED",
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export enum FileOptionsOptimizeMode {
|
|
35
|
-
SPEED = "SPEED",
|
|
36
|
-
CODE_SIZE = "CODE_SIZE",
|
|
37
|
-
LITE_RUNTIME = "LITE_RUNTIME",
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export enum FieldOptionsCType {
|
|
41
|
-
STRING = "STRING",
|
|
42
|
-
CORD = "CORD",
|
|
43
|
-
STRING_PIECE = "STRING_PIECE",
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export enum FieldOptionsJSType {
|
|
47
|
-
JS_NORMAL = "JS_NORMAL",
|
|
48
|
-
JS_STRING = "JS_STRING",
|
|
49
|
-
JS_NUMBER = "JS_NUMBER",
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export enum MethodOptionsIdempotencyLevel {
|
|
53
|
-
IDEMPOTENCY_UNKNOWN = "IDEMPOTENCY_UNKNOWN",
|
|
54
|
-
NO_SIDE_EFFECTS = "NO_SIDE_EFFECTS",
|
|
55
|
-
IDEMPOTENT = "IDEMPOTENT",
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export type FileDescriptorSet = {
|
|
59
|
-
file?: FileDescriptorProto[]
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export type FileDescriptorProto = {
|
|
63
|
-
name?: string
|
|
64
|
-
package?: string
|
|
65
|
-
dependency?: string[]
|
|
66
|
-
publicDependency?: number[]
|
|
67
|
-
weakDependency?: number[]
|
|
68
|
-
messageType?: DescriptorProto[]
|
|
69
|
-
enumType?: EnumDescriptorProto[]
|
|
70
|
-
service?: ServiceDescriptorProto[]
|
|
71
|
-
extension?: FieldDescriptorProto[]
|
|
72
|
-
options?: FileOptions
|
|
73
|
-
sourceCodeInfo?: SourceCodeInfo
|
|
74
|
-
syntax?: string
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export type DescriptorProtoExtensionRange = {
|
|
78
|
-
start?: number
|
|
79
|
-
end?: number
|
|
80
|
-
options?: ExtensionRangeOptions
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export type DescriptorProtoReservedRange = {
|
|
84
|
-
start?: number
|
|
85
|
-
end?: number
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export type DescriptorProto = {
|
|
89
|
-
name?: string
|
|
90
|
-
field?: FieldDescriptorProto[]
|
|
91
|
-
extension?: FieldDescriptorProto[]
|
|
92
|
-
nestedType?: DescriptorProto[]
|
|
93
|
-
enumType?: EnumDescriptorProto[]
|
|
94
|
-
extensionRange?: DescriptorProtoExtensionRange[]
|
|
95
|
-
oneofDecl?: OneofDescriptorProto[]
|
|
96
|
-
options?: MessageOptions
|
|
97
|
-
reservedRange?: DescriptorProtoReservedRange[]
|
|
98
|
-
reservedName?: string[]
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export type ExtensionRangeOptions = {
|
|
102
|
-
uninterpretedOption?: UninterpretedOption[]
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export type FieldDescriptorProto = {
|
|
106
|
-
name?: string
|
|
107
|
-
number?: number
|
|
108
|
-
label?: FieldDescriptorProtoLabel
|
|
109
|
-
type?: FieldDescriptorProtoType
|
|
110
|
-
typeName?: string
|
|
111
|
-
extendee?: string
|
|
112
|
-
defaultValue?: string
|
|
113
|
-
oneofIndex?: number
|
|
114
|
-
jsonName?: string
|
|
115
|
-
options?: FieldOptions
|
|
116
|
-
proto3Optional?: boolean
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export type OneofDescriptorProto = {
|
|
120
|
-
name?: string
|
|
121
|
-
options?: OneofOptions
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export type EnumDescriptorProtoEnumReservedRange = {
|
|
125
|
-
start?: number
|
|
126
|
-
end?: number
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export type EnumDescriptorProto = {
|
|
130
|
-
name?: string
|
|
131
|
-
value?: EnumValueDescriptorProto[]
|
|
132
|
-
options?: EnumOptions
|
|
133
|
-
reservedRange?: EnumDescriptorProtoEnumReservedRange[]
|
|
134
|
-
reservedName?: string[]
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export type EnumValueDescriptorProto = {
|
|
138
|
-
name?: string
|
|
139
|
-
number?: number
|
|
140
|
-
options?: EnumValueOptions
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
export type ServiceDescriptorProto = {
|
|
144
|
-
name?: string
|
|
145
|
-
method?: MethodDescriptorProto[]
|
|
146
|
-
options?: ServiceOptions
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export type MethodDescriptorProto = {
|
|
150
|
-
name?: string
|
|
151
|
-
inputType?: string
|
|
152
|
-
outputType?: string
|
|
153
|
-
options?: MethodOptions
|
|
154
|
-
clientStreaming?: boolean
|
|
155
|
-
serverStreaming?: boolean
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
export type FileOptions = {
|
|
159
|
-
javaPackage?: string
|
|
160
|
-
javaOuterClassname?: string
|
|
161
|
-
javaMultipleFiles?: boolean
|
|
162
|
-
javaGenerateEqualsAndHash?: boolean
|
|
163
|
-
javaStringCheckUtf8?: boolean
|
|
164
|
-
optimizeFor?: FileOptionsOptimizeMode
|
|
165
|
-
goPackage?: string
|
|
166
|
-
ccGenericServices?: boolean
|
|
167
|
-
javaGenericServices?: boolean
|
|
168
|
-
pyGenericServices?: boolean
|
|
169
|
-
phpGenericServices?: boolean
|
|
170
|
-
deprecated?: boolean
|
|
171
|
-
ccEnableArenas?: boolean
|
|
172
|
-
objcClassPrefix?: string
|
|
173
|
-
csharpNamespace?: string
|
|
174
|
-
swiftPrefix?: string
|
|
175
|
-
phpClassPrefix?: string
|
|
176
|
-
phpNamespace?: string
|
|
177
|
-
phpMetadataNamespace?: string
|
|
178
|
-
rubyPackage?: string
|
|
179
|
-
uninterpretedOption?: UninterpretedOption[]
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export type MessageOptions = {
|
|
183
|
-
messageSetWireFormat?: boolean
|
|
184
|
-
noStandardDescriptorAccessor?: boolean
|
|
185
|
-
deprecated?: boolean
|
|
186
|
-
mapEntry?: boolean
|
|
187
|
-
uninterpretedOption?: UninterpretedOption[]
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
export type FieldOptions = {
|
|
191
|
-
ctype?: FieldOptionsCType
|
|
192
|
-
packed?: boolean
|
|
193
|
-
jstype?: FieldOptionsJSType
|
|
194
|
-
lazy?: boolean
|
|
195
|
-
deprecated?: boolean
|
|
196
|
-
weak?: boolean
|
|
197
|
-
uninterpretedOption?: UninterpretedOption[]
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
export type OneofOptions = {
|
|
201
|
-
uninterpretedOption?: UninterpretedOption[]
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
export type EnumOptions = {
|
|
205
|
-
allowAlias?: boolean
|
|
206
|
-
deprecated?: boolean
|
|
207
|
-
uninterpretedOption?: UninterpretedOption[]
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
export type EnumValueOptions = {
|
|
211
|
-
deprecated?: boolean
|
|
212
|
-
uninterpretedOption?: UninterpretedOption[]
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
export type ServiceOptions = {
|
|
216
|
-
deprecated?: boolean
|
|
217
|
-
uninterpretedOption?: UninterpretedOption[]
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
export type MethodOptions = {
|
|
221
|
-
deprecated?: boolean
|
|
222
|
-
idempotencyLevel?: MethodOptionsIdempotencyLevel
|
|
223
|
-
uninterpretedOption?: UninterpretedOption[]
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
export type UninterpretedOptionNamePart = {
|
|
227
|
-
namePart?: string
|
|
228
|
-
isExtension?: boolean
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
export type UninterpretedOption = {
|
|
232
|
-
name?: UninterpretedOptionNamePart[]
|
|
233
|
-
identifierValue?: string
|
|
234
|
-
positiveIntValue?: string
|
|
235
|
-
negativeIntValue?: string
|
|
236
|
-
doubleValue?: number
|
|
237
|
-
stringValue?: Uint8Array
|
|
238
|
-
aggregateValue?: string
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
export type SourceCodeInfoLocation = {
|
|
242
|
-
path?: number[]
|
|
243
|
-
span?: number[]
|
|
244
|
-
leadingComments?: string
|
|
245
|
-
trailingComments?: string
|
|
246
|
-
leadingDetachedComments?: string[]
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
export type SourceCodeInfo = {
|
|
250
|
-
location?: SourceCodeInfoLocation[]
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
export type GeneratedCodeInfoAnnotation = {
|
|
254
|
-
path?: number[]
|
|
255
|
-
sourceFile?: string
|
|
256
|
-
begin?: number
|
|
257
|
-
end?: number
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
export type GeneratedCodeInfo = {
|
|
261
|
-
annotation?: GeneratedCodeInfoAnnotation[]
|
|
262
|
-
}
|