@actions/artifact 1.1.2 → 2.0.1
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/README.md +116 -173
- package/lib/artifact.d.ts +6 -0
- package/lib/artifact.js +23 -0
- package/lib/artifact.js.map +1 -0
- package/lib/generated/google/protobuf/timestamp.d.ts +145 -0
- package/lib/generated/google/protobuf/timestamp.js +136 -0
- package/lib/generated/google/protobuf/timestamp.js.map +1 -0
- package/lib/generated/google/protobuf/wrappers.d.ts +307 -0
- package/lib/generated/google/protobuf/wrappers.js +609 -0
- package/lib/generated/google/protobuf/wrappers.js.map +1 -0
- package/lib/generated/index.d.ts +4 -0
- package/lib/generated/index.js +21 -0
- package/lib/generated/index.js.map +1 -0
- package/lib/generated/results/api/v1/artifact.d.ts +286 -0
- package/lib/generated/results/api/v1/artifact.js +588 -0
- package/lib/generated/results/api/v1/artifact.js.map +1 -0
- package/lib/generated/results/api/v1/artifact.twirp.d.ts +43 -0
- package/lib/generated/results/api/v1/artifact.twirp.js +416 -0
- package/lib/generated/results/api/v1/artifact.twirp.js.map +1 -0
- package/lib/internal/client.d.ts +61 -0
- package/lib/internal/client.js +121 -0
- package/lib/internal/client.js.map +1 -0
- package/lib/internal/download/download-artifact.d.ts +4 -0
- package/lib/internal/download/download-artifact.js +205 -0
- package/lib/internal/download/download-artifact.js.map +1 -0
- package/lib/internal/find/get-artifact.d.ts +3 -0
- package/lib/internal/find/get-artifact.js +118 -0
- package/lib/internal/find/get-artifact.js.map +1 -0
- package/lib/internal/find/list-artifacts.d.ts +3 -0
- package/lib/internal/find/list-artifacts.js +139 -0
- package/lib/internal/find/list-artifacts.js.map +1 -0
- package/lib/internal/find/retry-options.d.ts +7 -0
- package/lib/internal/find/retry-options.js +50 -0
- package/lib/internal/find/retry-options.js.map +1 -0
- package/lib/internal/shared/artifact-twirp-client.d.ts +6 -0
- package/lib/internal/shared/artifact-twirp-client.js +153 -0
- package/lib/internal/shared/artifact-twirp-client.js.map +1 -0
- package/lib/internal/shared/config.d.ts +6 -0
- package/lib/internal/shared/config.js +55 -0
- package/lib/internal/shared/config.js.map +1 -0
- package/lib/internal/shared/errors.d.ts +22 -0
- package/lib/internal/shared/errors.js +70 -0
- package/lib/internal/shared/errors.js.map +1 -0
- package/lib/internal/shared/interfaces.d.ts +136 -0
- package/lib/internal/{contracts.js → shared/interfaces.js} +1 -1
- package/lib/internal/shared/interfaces.js.map +1 -0
- package/lib/internal/shared/user-agent.d.ts +4 -0
- package/lib/internal/shared/user-agent.js +13 -0
- package/lib/internal/shared/user-agent.js.map +1 -0
- package/lib/internal/shared/util.d.ts +5 -0
- package/lib/internal/shared/util.js +81 -0
- package/lib/internal/shared/util.js.map +1 -0
- package/lib/internal/upload/blob-upload.d.ts +12 -0
- package/lib/internal/upload/blob-upload.js +87 -0
- package/lib/internal/upload/blob-upload.js.map +1 -0
- package/lib/internal/upload/path-and-artifact-name-validation.d.ts +8 -0
- package/lib/internal/{path-and-artifact-name-validation.js → upload/path-and-artifact-name-validation.js} +11 -11
- package/lib/internal/upload/path-and-artifact-name-validation.js.map +1 -0
- package/lib/internal/upload/retention.d.ts +2 -0
- package/lib/internal/upload/retention.js +54 -0
- package/lib/internal/upload/retention.js.map +1 -0
- package/lib/internal/upload/upload-artifact.d.ts +2 -0
- package/lib/internal/upload/upload-artifact.js +103 -0
- package/lib/internal/upload/upload-artifact.js.map +1 -0
- package/lib/internal/upload/upload-zip-specification.d.ts +21 -0
- package/lib/internal/{upload-specification.js → upload/upload-zip-specification.js} +44 -36
- package/lib/internal/upload/upload-zip-specification.js.map +1 -0
- package/lib/internal/upload/zip.d.ts +9 -0
- package/lib/internal/upload/zip.js +113 -0
- package/lib/internal/upload/zip.js.map +1 -0
- package/package.json +26 -12
- package/lib/artifact-client.d.ts +0 -10
- package/lib/artifact-client.js +0 -12
- package/lib/artifact-client.js.map +0 -1
- package/lib/internal/artifact-client.d.ts +0 -41
- package/lib/internal/artifact-client.js +0 -182
- package/lib/internal/artifact-client.js.map +0 -1
- package/lib/internal/config-variables.d.ts +0 -12
- package/lib/internal/config-variables.js +0 -77
- package/lib/internal/config-variables.js.map +0 -1
- package/lib/internal/contracts.d.ts +0 -67
- package/lib/internal/contracts.js.map +0 -1
- package/lib/internal/crc64.d.ts +0 -21
- package/lib/internal/crc64.js +0 -303
- package/lib/internal/crc64.js.map +0 -1
- package/lib/internal/download-http-client.d.ts +0 -39
- package/lib/internal/download-http-client.js +0 -296
- package/lib/internal/download-http-client.js.map +0 -1
- package/lib/internal/download-options.d.ts +0 -7
- package/lib/internal/download-options.js +0 -3
- package/lib/internal/download-options.js.map +0 -1
- package/lib/internal/download-response.d.ts +0 -10
- package/lib/internal/download-response.js +0 -3
- package/lib/internal/download-response.js.map +0 -1
- package/lib/internal/download-specification.d.ts +0 -19
- package/lib/internal/download-specification.js +0 -78
- package/lib/internal/download-specification.js.map +0 -1
- package/lib/internal/http-manager.d.ts +0 -12
- package/lib/internal/http-manager.js +0 -32
- package/lib/internal/http-manager.js.map +0 -1
- package/lib/internal/path-and-artifact-name-validation.d.ts +0 -8
- package/lib/internal/path-and-artifact-name-validation.js.map +0 -1
- package/lib/internal/requestUtils.d.ts +0 -3
- package/lib/internal/requestUtils.js +0 -92
- package/lib/internal/requestUtils.js.map +0 -1
- package/lib/internal/status-reporter.d.ts +0 -21
- package/lib/internal/status-reporter.js +0 -52
- package/lib/internal/status-reporter.js.map +0 -1
- package/lib/internal/upload-gzip.d.ts +0 -14
- package/lib/internal/upload-gzip.js +0 -147
- package/lib/internal/upload-gzip.js.map +0 -1
- package/lib/internal/upload-http-client.d.ts +0 -48
- package/lib/internal/upload-http-client.js +0 -415
- package/lib/internal/upload-http-client.js.map +0 -1
- package/lib/internal/upload-options.d.ts +0 -34
- package/lib/internal/upload-options.js +0 -3
- package/lib/internal/upload-options.js.map +0 -1
- package/lib/internal/upload-response.d.ts +0 -19
- package/lib/internal/upload-response.js +0 -3
- package/lib/internal/upload-response.js.map +0 -1
- package/lib/internal/upload-specification.d.ts +0 -11
- package/lib/internal/upload-specification.js.map +0 -1
- package/lib/internal/utils.d.ts +0 -71
- package/lib/internal/utils.js +0 -292
- package/lib/internal/utils.js.map +0 -1
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
2
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
3
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
4
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
5
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
6
|
+
import type { JsonValue } from "@protobuf-ts/runtime";
|
|
7
|
+
import type { JsonReadOptions } from "@protobuf-ts/runtime";
|
|
8
|
+
import type { JsonWriteOptions } from "@protobuf-ts/runtime";
|
|
9
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
|
+
/**
|
|
11
|
+
* Wrapper message for `double`.
|
|
12
|
+
*
|
|
13
|
+
* The JSON representation for `DoubleValue` is JSON number.
|
|
14
|
+
*
|
|
15
|
+
* @generated from protobuf message google.protobuf.DoubleValue
|
|
16
|
+
*/
|
|
17
|
+
export interface DoubleValue {
|
|
18
|
+
/**
|
|
19
|
+
* The double value.
|
|
20
|
+
*
|
|
21
|
+
* @generated from protobuf field: double value = 1;
|
|
22
|
+
*/
|
|
23
|
+
value: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Wrapper message for `float`.
|
|
27
|
+
*
|
|
28
|
+
* The JSON representation for `FloatValue` is JSON number.
|
|
29
|
+
*
|
|
30
|
+
* @generated from protobuf message google.protobuf.FloatValue
|
|
31
|
+
*/
|
|
32
|
+
export interface FloatValue {
|
|
33
|
+
/**
|
|
34
|
+
* The float value.
|
|
35
|
+
*
|
|
36
|
+
* @generated from protobuf field: float value = 1;
|
|
37
|
+
*/
|
|
38
|
+
value: number;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Wrapper message for `int64`.
|
|
42
|
+
*
|
|
43
|
+
* The JSON representation for `Int64Value` is JSON string.
|
|
44
|
+
*
|
|
45
|
+
* @generated from protobuf message google.protobuf.Int64Value
|
|
46
|
+
*/
|
|
47
|
+
export interface Int64Value {
|
|
48
|
+
/**
|
|
49
|
+
* The int64 value.
|
|
50
|
+
*
|
|
51
|
+
* @generated from protobuf field: int64 value = 1;
|
|
52
|
+
*/
|
|
53
|
+
value: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Wrapper message for `uint64`.
|
|
57
|
+
*
|
|
58
|
+
* The JSON representation for `UInt64Value` is JSON string.
|
|
59
|
+
*
|
|
60
|
+
* @generated from protobuf message google.protobuf.UInt64Value
|
|
61
|
+
*/
|
|
62
|
+
export interface UInt64Value {
|
|
63
|
+
/**
|
|
64
|
+
* The uint64 value.
|
|
65
|
+
*
|
|
66
|
+
* @generated from protobuf field: uint64 value = 1;
|
|
67
|
+
*/
|
|
68
|
+
value: string;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Wrapper message for `int32`.
|
|
72
|
+
*
|
|
73
|
+
* The JSON representation for `Int32Value` is JSON number.
|
|
74
|
+
*
|
|
75
|
+
* @generated from protobuf message google.protobuf.Int32Value
|
|
76
|
+
*/
|
|
77
|
+
export interface Int32Value {
|
|
78
|
+
/**
|
|
79
|
+
* The int32 value.
|
|
80
|
+
*
|
|
81
|
+
* @generated from protobuf field: int32 value = 1;
|
|
82
|
+
*/
|
|
83
|
+
value: number;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Wrapper message for `uint32`.
|
|
87
|
+
*
|
|
88
|
+
* The JSON representation for `UInt32Value` is JSON number.
|
|
89
|
+
*
|
|
90
|
+
* @generated from protobuf message google.protobuf.UInt32Value
|
|
91
|
+
*/
|
|
92
|
+
export interface UInt32Value {
|
|
93
|
+
/**
|
|
94
|
+
* The uint32 value.
|
|
95
|
+
*
|
|
96
|
+
* @generated from protobuf field: uint32 value = 1;
|
|
97
|
+
*/
|
|
98
|
+
value: number;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Wrapper message for `bool`.
|
|
102
|
+
*
|
|
103
|
+
* The JSON representation for `BoolValue` is JSON `true` and `false`.
|
|
104
|
+
*
|
|
105
|
+
* @generated from protobuf message google.protobuf.BoolValue
|
|
106
|
+
*/
|
|
107
|
+
export interface BoolValue {
|
|
108
|
+
/**
|
|
109
|
+
* The bool value.
|
|
110
|
+
*
|
|
111
|
+
* @generated from protobuf field: bool value = 1;
|
|
112
|
+
*/
|
|
113
|
+
value: boolean;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Wrapper message for `string`.
|
|
117
|
+
*
|
|
118
|
+
* The JSON representation for `StringValue` is JSON string.
|
|
119
|
+
*
|
|
120
|
+
* @generated from protobuf message google.protobuf.StringValue
|
|
121
|
+
*/
|
|
122
|
+
export interface StringValue {
|
|
123
|
+
/**
|
|
124
|
+
* The string value.
|
|
125
|
+
*
|
|
126
|
+
* @generated from protobuf field: string value = 1;
|
|
127
|
+
*/
|
|
128
|
+
value: string;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Wrapper message for `bytes`.
|
|
132
|
+
*
|
|
133
|
+
* The JSON representation for `BytesValue` is JSON string.
|
|
134
|
+
*
|
|
135
|
+
* @generated from protobuf message google.protobuf.BytesValue
|
|
136
|
+
*/
|
|
137
|
+
export interface BytesValue {
|
|
138
|
+
/**
|
|
139
|
+
* The bytes value.
|
|
140
|
+
*
|
|
141
|
+
* @generated from protobuf field: bytes value = 1;
|
|
142
|
+
*/
|
|
143
|
+
value: Uint8Array;
|
|
144
|
+
}
|
|
145
|
+
declare class DoubleValue$Type extends MessageType<DoubleValue> {
|
|
146
|
+
constructor();
|
|
147
|
+
/**
|
|
148
|
+
* Encode `DoubleValue` to JSON number.
|
|
149
|
+
*/
|
|
150
|
+
internalJsonWrite(message: DoubleValue, options: JsonWriteOptions): JsonValue;
|
|
151
|
+
/**
|
|
152
|
+
* Decode `DoubleValue` from JSON number.
|
|
153
|
+
*/
|
|
154
|
+
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: DoubleValue): DoubleValue;
|
|
155
|
+
create(value?: PartialMessage<DoubleValue>): DoubleValue;
|
|
156
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DoubleValue): DoubleValue;
|
|
157
|
+
internalBinaryWrite(message: DoubleValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* @generated MessageType for protobuf message google.protobuf.DoubleValue
|
|
161
|
+
*/
|
|
162
|
+
export declare const DoubleValue: DoubleValue$Type;
|
|
163
|
+
declare class FloatValue$Type extends MessageType<FloatValue> {
|
|
164
|
+
constructor();
|
|
165
|
+
/**
|
|
166
|
+
* Encode `FloatValue` to JSON number.
|
|
167
|
+
*/
|
|
168
|
+
internalJsonWrite(message: FloatValue, options: JsonWriteOptions): JsonValue;
|
|
169
|
+
/**
|
|
170
|
+
* Decode `FloatValue` from JSON number.
|
|
171
|
+
*/
|
|
172
|
+
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: FloatValue): FloatValue;
|
|
173
|
+
create(value?: PartialMessage<FloatValue>): FloatValue;
|
|
174
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FloatValue): FloatValue;
|
|
175
|
+
internalBinaryWrite(message: FloatValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* @generated MessageType for protobuf message google.protobuf.FloatValue
|
|
179
|
+
*/
|
|
180
|
+
export declare const FloatValue: FloatValue$Type;
|
|
181
|
+
declare class Int64Value$Type extends MessageType<Int64Value> {
|
|
182
|
+
constructor();
|
|
183
|
+
/**
|
|
184
|
+
* Encode `Int64Value` to JSON string.
|
|
185
|
+
*/
|
|
186
|
+
internalJsonWrite(message: Int64Value, options: JsonWriteOptions): JsonValue;
|
|
187
|
+
/**
|
|
188
|
+
* Decode `Int64Value` from JSON string.
|
|
189
|
+
*/
|
|
190
|
+
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Int64Value): Int64Value;
|
|
191
|
+
create(value?: PartialMessage<Int64Value>): Int64Value;
|
|
192
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Int64Value): Int64Value;
|
|
193
|
+
internalBinaryWrite(message: Int64Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* @generated MessageType for protobuf message google.protobuf.Int64Value
|
|
197
|
+
*/
|
|
198
|
+
export declare const Int64Value: Int64Value$Type;
|
|
199
|
+
declare class UInt64Value$Type extends MessageType<UInt64Value> {
|
|
200
|
+
constructor();
|
|
201
|
+
/**
|
|
202
|
+
* Encode `UInt64Value` to JSON string.
|
|
203
|
+
*/
|
|
204
|
+
internalJsonWrite(message: UInt64Value, options: JsonWriteOptions): JsonValue;
|
|
205
|
+
/**
|
|
206
|
+
* Decode `UInt64Value` from JSON string.
|
|
207
|
+
*/
|
|
208
|
+
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: UInt64Value): UInt64Value;
|
|
209
|
+
create(value?: PartialMessage<UInt64Value>): UInt64Value;
|
|
210
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UInt64Value): UInt64Value;
|
|
211
|
+
internalBinaryWrite(message: UInt64Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* @generated MessageType for protobuf message google.protobuf.UInt64Value
|
|
215
|
+
*/
|
|
216
|
+
export declare const UInt64Value: UInt64Value$Type;
|
|
217
|
+
declare class Int32Value$Type extends MessageType<Int32Value> {
|
|
218
|
+
constructor();
|
|
219
|
+
/**
|
|
220
|
+
* Encode `Int32Value` to JSON string.
|
|
221
|
+
*/
|
|
222
|
+
internalJsonWrite(message: Int32Value, options: JsonWriteOptions): JsonValue;
|
|
223
|
+
/**
|
|
224
|
+
* Decode `Int32Value` from JSON string.
|
|
225
|
+
*/
|
|
226
|
+
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Int32Value): Int32Value;
|
|
227
|
+
create(value?: PartialMessage<Int32Value>): Int32Value;
|
|
228
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Int32Value): Int32Value;
|
|
229
|
+
internalBinaryWrite(message: Int32Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* @generated MessageType for protobuf message google.protobuf.Int32Value
|
|
233
|
+
*/
|
|
234
|
+
export declare const Int32Value: Int32Value$Type;
|
|
235
|
+
declare class UInt32Value$Type extends MessageType<UInt32Value> {
|
|
236
|
+
constructor();
|
|
237
|
+
/**
|
|
238
|
+
* Encode `UInt32Value` to JSON string.
|
|
239
|
+
*/
|
|
240
|
+
internalJsonWrite(message: UInt32Value, options: JsonWriteOptions): JsonValue;
|
|
241
|
+
/**
|
|
242
|
+
* Decode `UInt32Value` from JSON string.
|
|
243
|
+
*/
|
|
244
|
+
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: UInt32Value): UInt32Value;
|
|
245
|
+
create(value?: PartialMessage<UInt32Value>): UInt32Value;
|
|
246
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UInt32Value): UInt32Value;
|
|
247
|
+
internalBinaryWrite(message: UInt32Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* @generated MessageType for protobuf message google.protobuf.UInt32Value
|
|
251
|
+
*/
|
|
252
|
+
export declare const UInt32Value: UInt32Value$Type;
|
|
253
|
+
declare class BoolValue$Type extends MessageType<BoolValue> {
|
|
254
|
+
constructor();
|
|
255
|
+
/**
|
|
256
|
+
* Encode `BoolValue` to JSON bool.
|
|
257
|
+
*/
|
|
258
|
+
internalJsonWrite(message: BoolValue, options: JsonWriteOptions): JsonValue;
|
|
259
|
+
/**
|
|
260
|
+
* Decode `BoolValue` from JSON bool.
|
|
261
|
+
*/
|
|
262
|
+
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: BoolValue): BoolValue;
|
|
263
|
+
create(value?: PartialMessage<BoolValue>): BoolValue;
|
|
264
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BoolValue): BoolValue;
|
|
265
|
+
internalBinaryWrite(message: BoolValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* @generated MessageType for protobuf message google.protobuf.BoolValue
|
|
269
|
+
*/
|
|
270
|
+
export declare const BoolValue: BoolValue$Type;
|
|
271
|
+
declare class StringValue$Type extends MessageType<StringValue> {
|
|
272
|
+
constructor();
|
|
273
|
+
/**
|
|
274
|
+
* Encode `StringValue` to JSON string.
|
|
275
|
+
*/
|
|
276
|
+
internalJsonWrite(message: StringValue, options: JsonWriteOptions): JsonValue;
|
|
277
|
+
/**
|
|
278
|
+
* Decode `StringValue` from JSON string.
|
|
279
|
+
*/
|
|
280
|
+
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: StringValue): StringValue;
|
|
281
|
+
create(value?: PartialMessage<StringValue>): StringValue;
|
|
282
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StringValue): StringValue;
|
|
283
|
+
internalBinaryWrite(message: StringValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* @generated MessageType for protobuf message google.protobuf.StringValue
|
|
287
|
+
*/
|
|
288
|
+
export declare const StringValue: StringValue$Type;
|
|
289
|
+
declare class BytesValue$Type extends MessageType<BytesValue> {
|
|
290
|
+
constructor();
|
|
291
|
+
/**
|
|
292
|
+
* Encode `BytesValue` to JSON string.
|
|
293
|
+
*/
|
|
294
|
+
internalJsonWrite(message: BytesValue, options: JsonWriteOptions): JsonValue;
|
|
295
|
+
/**
|
|
296
|
+
* Decode `BytesValue` from JSON string.
|
|
297
|
+
*/
|
|
298
|
+
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: BytesValue): BytesValue;
|
|
299
|
+
create(value?: PartialMessage<BytesValue>): BytesValue;
|
|
300
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BytesValue): BytesValue;
|
|
301
|
+
internalBinaryWrite(message: BytesValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* @generated MessageType for protobuf message google.protobuf.BytesValue
|
|
305
|
+
*/
|
|
306
|
+
export declare const BytesValue: BytesValue$Type;
|
|
307
|
+
export {};
|