| 1 | // @generated by protoc-gen-es v1.10.0 with parameter "target=ts,import_extension=none" |
| 2 | // @generated from file svc/release/v1/service.proto (package svc.release.v1, syntax proto3) |
| 3 | /* eslint-disable */ |
| 4 | // @ts-nocheck |
| 5 | |
| 6 | import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; |
| 7 | import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; |
| 8 | import { Cursor } from "../../../types/v1/cursor_pb"; |
| 9 | import { ReleaseChannel } from "../../../types/v1/release_channel_pb"; |
| 10 | import { Version } from "../../../types/v1/version_pb"; |
| 11 | import { VersionArtifact } from "../../../types/v1/version_artifact_pb"; |
| 12 | |
| 13 | /** |
| 14 | * @generated from message svc.release.v1.CreateReleaseChannelRequest |
| 15 | */ |
| 16 | export class CreateReleaseChannelRequest extends Message<CreateReleaseChannelRequest> { |
| 17 | /** |
| 18 | * @generated from field: string project_name = 1; |
| 19 | */ |
| 20 | projectName = ""; |
| 21 | |
| 22 | /** |
| 23 | * @generated from field: string channel_name = 2; |
| 24 | */ |
| 25 | channelName = ""; |
| 26 | |
| 27 | /** |
| 28 | * @generated from field: int32 channel_priority = 3; |
| 29 | */ |
| 30 | channelPriority = 0; |
| 31 | |
| 32 | constructor(data?: PartialMessage<CreateReleaseChannelRequest>) { |
| 33 | super(); |
| 34 | proto3.util.initPartial(data, this); |
| 35 | } |
| 36 | |
| 37 | static readonly runtime: typeof proto3 = proto3; |
| 38 | static readonly typeName = "svc.release.v1.CreateReleaseChannelRequest"; |
| 39 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 40 | { no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, |
| 41 | { no: 2, name: "channel_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, |
| 42 | { no: 3, name: "channel_priority", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, |
| 43 | ]); |
| 44 | |
| 45 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateReleaseChannelRequest { |
| 46 | return new CreateReleaseChannelRequest().fromBinary(bytes, options); |
| 47 | } |
| 48 | |
| 49 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateReleaseChannelRequest { |
| 50 | return new CreateReleaseChannelRequest().fromJson(jsonValue, options); |
| 51 | } |
| 52 | |
| 53 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateReleaseChannelRequest { |
| 54 | return new CreateReleaseChannelRequest().fromJsonString(jsonString, options); |
| 55 | } |
| 56 | |
| 57 | static equals(a: CreateReleaseChannelRequest | PlainMessage<CreateReleaseChannelRequest> | undefined, b: CreateReleaseChannelRequest | PlainMessage<CreateReleaseChannelRequest> | undefined): boolean { |
| 58 | return proto3.util.equals(CreateReleaseChannelRequest, a, b); |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | * @generated from message svc.release.v1.CreateReleaseChannelResponse |
| 64 | */ |
| 65 | export class CreateReleaseChannelResponse extends Message<CreateReleaseChannelResponse> { |
| 66 | constructor(data?: PartialMessage<CreateReleaseChannelResponse>) { |
| 67 | super(); |
| 68 | proto3.util.initPartial(data, this); |
| 69 | } |
| 70 | |
| 71 | static readonly runtime: typeof proto3 = proto3; |
| 72 | static readonly typeName = "svc.release.v1.CreateReleaseChannelResponse"; |
| 73 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 74 | ]); |
| 75 | |
| 76 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateReleaseChannelResponse { |
| 77 | return new CreateReleaseChannelResponse().fromBinary(bytes, options); |
| 78 | } |
| 79 | |
| 80 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateReleaseChannelResponse { |
| 81 | return new CreateReleaseChannelResponse().fromJson(jsonValue, options); |
| 82 | } |
| 83 | |
| 84 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateReleaseChannelResponse { |
| 85 | return new CreateReleaseChannelResponse().fromJsonString(jsonString, options); |
| 86 | } |
| 87 | |
| 88 | static equals(a: CreateReleaseChannelResponse | PlainMessage<CreateReleaseChannelResponse> | undefined, b: CreateReleaseChannelResponse | PlainMessage<CreateReleaseChannelResponse> | undefined): boolean { |
| 89 | return proto3.util.equals(CreateReleaseChannelResponse, a, b); |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | /** |
| 94 | * @generated from message svc.release.v1.ListReleaseChannelRequest |
| 95 | */ |
| 96 | export class ListReleaseChannelRequest extends Message<ListReleaseChannelRequest> { |
| 97 | /** |
| 98 | * @generated from field: string project_name = 1; |
| 99 | */ |
| 100 | projectName = ""; |
| 101 | |
| 102 | /** |
| 103 | * @generated from field: types.v1.Cursor cursor = 2; |
| 104 | */ |
| 105 | cursor?: Cursor; |
| 106 | |
| 107 | /** |
| 108 | * @generated from field: int64 limit = 3; |
| 109 | */ |
| 110 | limit = protoInt64.zero; |
| 111 | |
| 112 | constructor(data?: PartialMessage<ListReleaseChannelRequest>) { |
| 113 | super(); |
| 114 | proto3.util.initPartial(data, this); |
| 115 | } |
| 116 | |
| 117 | static readonly runtime: typeof proto3 = proto3; |
| 118 | static readonly typeName = "svc.release.v1.ListReleaseChannelRequest"; |
| 119 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 120 | { no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, |
| 121 | { no: 2, name: "cursor", kind: "message", T: Cursor }, |
| 122 | { no: 3, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, |
| 123 | ]); |
| 124 | |
| 125 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListReleaseChannelRequest { |
| 126 | return new ListReleaseChannelRequest().fromBinary(bytes, options); |
| 127 | } |
| 128 | |
| 129 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListReleaseChannelRequest { |
| 130 | return new ListReleaseChannelRequest().fromJson(jsonValue, options); |
| 131 | } |
| 132 | |
| 133 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListReleaseChannelRequest { |
| 134 | return new ListReleaseChannelRequest().fromJsonString(jsonString, options); |
| 135 | } |
| 136 | |
| 137 | static equals(a: ListReleaseChannelRequest | PlainMessage<ListReleaseChannelRequest> | undefined, b: ListReleaseChannelRequest | PlainMessage<ListReleaseChannelRequest> | undefined): boolean { |
| 138 | return proto3.util.equals(ListReleaseChannelRequest, a, b); |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | /** |
| 143 | * @generated from message svc.release.v1.ListReleaseChannelResponse |
| 144 | */ |
| 145 | export class ListReleaseChannelResponse extends Message<ListReleaseChannelResponse> { |
| 146 | /** |
| 147 | * @generated from field: types.v1.Cursor next = 1; |
| 148 | */ |
| 149 | next?: Cursor; |
| 150 | |
| 151 | /** |
| 152 | * @generated from field: repeated svc.release.v1.ListReleaseChannelResponse.ListItem items = 2; |
| 153 | */ |
| 154 | items: ListReleaseChannelResponse_ListItem[] = []; |
| 155 | |
| 156 | constructor(data?: PartialMessage<ListReleaseChannelResponse>) { |
| 157 | super(); |
| 158 | proto3.util.initPartial(data, this); |
| 159 | } |
| 160 | |
| 161 | static readonly runtime: typeof proto3 = proto3; |
| 162 | static readonly typeName = "svc.release.v1.ListReleaseChannelResponse"; |
| 163 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 164 | { no: 1, name: "next", kind: "message", T: Cursor }, |
| 165 | { no: 2, name: "items", kind: "message", T: ListReleaseChannelResponse_ListItem, repeated: true }, |
| 166 | ]); |
| 167 | |
| 168 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListReleaseChannelResponse { |
| 169 | return new ListReleaseChannelResponse().fromBinary(bytes, options); |
| 170 | } |
| 171 | |
| 172 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListReleaseChannelResponse { |
| 173 | return new ListReleaseChannelResponse().fromJson(jsonValue, options); |
| 174 | } |
| 175 | |
| 176 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListReleaseChannelResponse { |
| 177 | return new ListReleaseChannelResponse().fromJsonString(jsonString, options); |
| 178 | } |
| 179 | |
| 180 | static equals(a: ListReleaseChannelResponse | PlainMessage<ListReleaseChannelResponse> | undefined, b: ListReleaseChannelResponse | PlainMessage<ListReleaseChannelResponse> | undefined): boolean { |
| 181 | return proto3.util.equals(ListReleaseChannelResponse, a, b); |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | /** |
| 186 | * @generated from message svc.release.v1.ListReleaseChannelResponse.ListItem |
| 187 | */ |
| 188 | export class ListReleaseChannelResponse_ListItem extends Message<ListReleaseChannelResponse_ListItem> { |
| 189 | /** |
| 190 | * @generated from field: types.v1.ReleaseChannel release_channel = 1; |
| 191 | */ |
| 192 | releaseChannel?: ReleaseChannel; |
| 193 | |
| 194 | constructor(data?: PartialMessage<ListReleaseChannelResponse_ListItem>) { |
| 195 | super(); |
| 196 | proto3.util.initPartial(data, this); |
| 197 | } |
| 198 | |
| 199 | static readonly runtime: typeof proto3 = proto3; |
| 200 | static readonly typeName = "svc.release.v1.ListReleaseChannelResponse.ListItem"; |
| 201 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 202 | { no: 1, name: "release_channel", kind: "message", T: ReleaseChannel }, |
| 203 | ]); |
| 204 | |
| 205 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListReleaseChannelResponse_ListItem { |
| 206 | return new ListReleaseChannelResponse_ListItem().fromBinary(bytes, options); |
| 207 | } |
| 208 | |
| 209 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListReleaseChannelResponse_ListItem { |
| 210 | return new ListReleaseChannelResponse_ListItem().fromJson(jsonValue, options); |
| 211 | } |
| 212 | |
| 213 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListReleaseChannelResponse_ListItem { |
| 214 | return new ListReleaseChannelResponse_ListItem().fromJsonString(jsonString, options); |
| 215 | } |
| 216 | |
| 217 | static equals(a: ListReleaseChannelResponse_ListItem | PlainMessage<ListReleaseChannelResponse_ListItem> | undefined, b: ListReleaseChannelResponse_ListItem | PlainMessage<ListReleaseChannelResponse_ListItem> | undefined): boolean { |
| 218 | return proto3.util.equals(ListReleaseChannelResponse_ListItem, a, b); |
| 219 | } |
| 220 | } |
| 221 | |
| 222 | /** |
| 223 | * @generated from message svc.release.v1.PublishVersionRequest |
| 224 | */ |
| 225 | export class PublishVersionRequest extends Message<PublishVersionRequest> { |
| 226 | /** |
| 227 | * @generated from field: string project_name = 1; |
| 228 | */ |
| 229 | projectName = ""; |
| 230 | |
| 231 | /** |
| 232 | * @generated from field: string release_channel_name = 2; |
| 233 | */ |
| 234 | releaseChannelName = ""; |
| 235 | |
| 236 | /** |
| 237 | * @generated from field: types.v1.Version version = 3; |
| 238 | */ |
| 239 | version?: Version; |
| 240 | |
| 241 | constructor(data?: PartialMessage<PublishVersionRequest>) { |
| 242 | super(); |
| 243 | proto3.util.initPartial(data, this); |
| 244 | } |
| 245 | |
| 246 | static readonly runtime: typeof proto3 = proto3; |
| 247 | static readonly typeName = "svc.release.v1.PublishVersionRequest"; |
| 248 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 249 | { no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, |
| 250 | { no: 2, name: "release_channel_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, |
| 251 | { no: 3, name: "version", kind: "message", T: Version }, |
| 252 | ]); |
| 253 | |
| 254 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishVersionRequest { |
| 255 | return new PublishVersionRequest().fromBinary(bytes, options); |
| 256 | } |
| 257 | |
| 258 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishVersionRequest { |
| 259 | return new PublishVersionRequest().fromJson(jsonValue, options); |
| 260 | } |
| 261 | |
| 262 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishVersionRequest { |
| 263 | return new PublishVersionRequest().fromJsonString(jsonString, options); |
| 264 | } |
| 265 | |
| 266 | static equals(a: PublishVersionRequest | PlainMessage<PublishVersionRequest> | undefined, b: PublishVersionRequest | PlainMessage<PublishVersionRequest> | undefined): boolean { |
| 267 | return proto3.util.equals(PublishVersionRequest, a, b); |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | /** |
| 272 | * @generated from message svc.release.v1.PublishVersionResponse |
| 273 | */ |
| 274 | export class PublishVersionResponse extends Message<PublishVersionResponse> { |
| 275 | constructor(data?: PartialMessage<PublishVersionResponse>) { |
| 276 | super(); |
| 277 | proto3.util.initPartial(data, this); |
| 278 | } |
| 279 | |
| 280 | static readonly runtime: typeof proto3 = proto3; |
| 281 | static readonly typeName = "svc.release.v1.PublishVersionResponse"; |
| 282 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 283 | ]); |
| 284 | |
| 285 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishVersionResponse { |
| 286 | return new PublishVersionResponse().fromBinary(bytes, options); |
| 287 | } |
| 288 | |
| 289 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishVersionResponse { |
| 290 | return new PublishVersionResponse().fromJson(jsonValue, options); |
| 291 | } |
| 292 | |
| 293 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishVersionResponse { |
| 294 | return new PublishVersionResponse().fromJsonString(jsonString, options); |
| 295 | } |
| 296 | |
| 297 | static equals(a: PublishVersionResponse | PlainMessage<PublishVersionResponse> | undefined, b: PublishVersionResponse | PlainMessage<PublishVersionResponse> | undefined): boolean { |
| 298 | return proto3.util.equals(PublishVersionResponse, a, b); |
| 299 | } |
| 300 | } |
| 301 | |
| 302 | /** |
| 303 | * @generated from message svc.release.v1.UnpublishVersionRequest |
| 304 | */ |
| 305 | export class UnpublishVersionRequest extends Message<UnpublishVersionRequest> { |
| 306 | /** |
| 307 | * @generated from field: string project_name = 1; |
| 308 | */ |
| 309 | projectName = ""; |
| 310 | |
| 311 | /** |
| 312 | * @generated from field: string release_channel_name = 2; |
| 313 | */ |
| 314 | releaseChannelName = ""; |
| 315 | |
| 316 | /** |
| 317 | * @generated from field: types.v1.Version version = 3; |
| 318 | */ |
| 319 | version?: Version; |
| 320 | |
| 321 | constructor(data?: PartialMessage<UnpublishVersionRequest>) { |
| 322 | super(); |
| 323 | proto3.util.initPartial(data, this); |
| 324 | } |
| 325 | |
| 326 | static readonly runtime: typeof proto3 = proto3; |
| 327 | static readonly typeName = "svc.release.v1.UnpublishVersionRequest"; |
| 328 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 329 | { no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, |
| 330 | { no: 2, name: "release_channel_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, |
| 331 | { no: 3, name: "version", kind: "message", T: Version }, |
| 332 | ]); |
| 333 | |
| 334 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnpublishVersionRequest { |
| 335 | return new UnpublishVersionRequest().fromBinary(bytes, options); |
| 336 | } |
| 337 | |
| 338 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnpublishVersionRequest { |
| 339 | return new UnpublishVersionRequest().fromJson(jsonValue, options); |
| 340 | } |
| 341 | |
| 342 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnpublishVersionRequest { |
| 343 | return new UnpublishVersionRequest().fromJsonString(jsonString, options); |
| 344 | } |
| 345 | |
| 346 | static equals(a: UnpublishVersionRequest | PlainMessage<UnpublishVersionRequest> | undefined, b: UnpublishVersionRequest | PlainMessage<UnpublishVersionRequest> | undefined): boolean { |
| 347 | return proto3.util.equals(UnpublishVersionRequest, a, b); |
| 348 | } |
| 349 | } |
| 350 | |
| 351 | /** |
| 352 | * @generated from message svc.release.v1.UnpublishVersionResponse |
| 353 | */ |
| 354 | export class UnpublishVersionResponse extends Message<UnpublishVersionResponse> { |
| 355 | constructor(data?: PartialMessage<UnpublishVersionResponse>) { |
| 356 | super(); |
| 357 | proto3.util.initPartial(data, this); |
| 358 | } |
| 359 | |
| 360 | static readonly runtime: typeof proto3 = proto3; |
| 361 | static readonly typeName = "svc.release.v1.UnpublishVersionResponse"; |
| 362 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 363 | ]); |
| 364 | |
| 365 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnpublishVersionResponse { |
| 366 | return new UnpublishVersionResponse().fromBinary(bytes, options); |
| 367 | } |
| 368 | |
| 369 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnpublishVersionResponse { |
| 370 | return new UnpublishVersionResponse().fromJson(jsonValue, options); |
| 371 | } |
| 372 | |
| 373 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnpublishVersionResponse { |
| 374 | return new UnpublishVersionResponse().fromJsonString(jsonString, options); |
| 375 | } |
| 376 | |
| 377 | static equals(a: UnpublishVersionResponse | PlainMessage<UnpublishVersionResponse> | undefined, b: UnpublishVersionResponse | PlainMessage<UnpublishVersionResponse> | undefined): boolean { |
| 378 | return proto3.util.equals(UnpublishVersionResponse, a, b); |
| 379 | } |
| 380 | } |
| 381 | |
| 382 | /** |
| 383 | * @generated from message svc.release.v1.CreateVersionArtifactRequest |
| 384 | */ |
| 385 | export class CreateVersionArtifactRequest extends Message<CreateVersionArtifactRequest> { |
| 386 | /** |
| 387 | * @generated from field: string project_name = 1; |
| 388 | */ |
| 389 | projectName = ""; |
| 390 | |
| 391 | /** |
| 392 | * @generated from field: types.v1.Version version = 2; |
| 393 | */ |
| 394 | version?: Version; |
| 395 | |
| 396 | /** |
| 397 | * @generated from field: types.v1.VersionArtifact artifact = 3; |
| 398 | */ |
| 399 | artifact?: VersionArtifact; |
| 400 | |
| 401 | constructor(data?: PartialMessage<CreateVersionArtifactRequest>) { |
| 402 | super(); |
| 403 | proto3.util.initPartial(data, this); |
| 404 | } |
| 405 | |
| 406 | static readonly runtime: typeof proto3 = proto3; |
| 407 | static readonly typeName = "svc.release.v1.CreateVersionArtifactRequest"; |
| 408 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 409 | { no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, |
| 410 | { no: 2, name: "version", kind: "message", T: Version }, |
| 411 | { no: 3, name: "artifact", kind: "message", T: VersionArtifact }, |
| 412 | ]); |
| 413 | |
| 414 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateVersionArtifactRequest { |
| 415 | return new CreateVersionArtifactRequest().fromBinary(bytes, options); |
| 416 | } |
| 417 | |
| 418 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateVersionArtifactRequest { |
| 419 | return new CreateVersionArtifactRequest().fromJson(jsonValue, options); |
| 420 | } |
| 421 | |
| 422 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateVersionArtifactRequest { |
| 423 | return new CreateVersionArtifactRequest().fromJsonString(jsonString, options); |
| 424 | } |
| 425 | |
| 426 | static equals(a: CreateVersionArtifactRequest | PlainMessage<CreateVersionArtifactRequest> | undefined, b: CreateVersionArtifactRequest | PlainMessage<CreateVersionArtifactRequest> | undefined): boolean { |
| 427 | return proto3.util.equals(CreateVersionArtifactRequest, a, b); |
| 428 | } |
| 429 | } |
| 430 | |
| 431 | /** |
| 432 | * @generated from message svc.release.v1.CreateVersionArtifactResponse |
| 433 | */ |
| 434 | export class CreateVersionArtifactResponse extends Message<CreateVersionArtifactResponse> { |
| 435 | constructor(data?: PartialMessage<CreateVersionArtifactResponse>) { |
| 436 | super(); |
| 437 | proto3.util.initPartial(data, this); |
| 438 | } |
| 439 | |
| 440 | static readonly runtime: typeof proto3 = proto3; |
| 441 | static readonly typeName = "svc.release.v1.CreateVersionArtifactResponse"; |
| 442 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 443 | ]); |
| 444 | |
| 445 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateVersionArtifactResponse { |
| 446 | return new CreateVersionArtifactResponse().fromBinary(bytes, options); |
| 447 | } |
| 448 | |
| 449 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateVersionArtifactResponse { |
| 450 | return new CreateVersionArtifactResponse().fromJson(jsonValue, options); |
| 451 | } |
| 452 | |
| 453 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateVersionArtifactResponse { |
| 454 | return new CreateVersionArtifactResponse().fromJsonString(jsonString, options); |
| 455 | } |
| 456 | |
| 457 | static equals(a: CreateVersionArtifactResponse | PlainMessage<CreateVersionArtifactResponse> | undefined, b: CreateVersionArtifactResponse | PlainMessage<CreateVersionArtifactResponse> | undefined): boolean { |
| 458 | return proto3.util.equals(CreateVersionArtifactResponse, a, b); |
| 459 | } |
| 460 | } |
| 461 | |
| 462 | /** |
| 463 | * @generated from message svc.release.v1.DeleteVersionArtifactRequest |
| 464 | */ |
| 465 | export class DeleteVersionArtifactRequest extends Message<DeleteVersionArtifactRequest> { |
| 466 | /** |
| 467 | * @generated from field: string project_name = 1; |
| 468 | */ |
| 469 | projectName = ""; |
| 470 | |
| 471 | /** |
| 472 | * @generated from field: types.v1.Version version = 2; |
| 473 | */ |
| 474 | version?: Version; |
| 475 | |
| 476 | /** |
| 477 | * @generated from field: types.v1.VersionArtifact artifact = 3; |
| 478 | */ |
| 479 | artifact?: VersionArtifact; |
| 480 | |
| 481 | constructor(data?: PartialMessage<DeleteVersionArtifactRequest>) { |
| 482 | super(); |
| 483 | proto3.util.initPartial(data, this); |
| 484 | } |
| 485 | |
| 486 | static readonly runtime: typeof proto3 = proto3; |
| 487 | static readonly typeName = "svc.release.v1.DeleteVersionArtifactRequest"; |
| 488 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 489 | { no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, |
| 490 | { no: 2, name: "version", kind: "message", T: Version }, |
| 491 | { no: 3, name: "artifact", kind: "message", T: VersionArtifact }, |
| 492 | ]); |
| 493 | |
| 494 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteVersionArtifactRequest { |
| 495 | return new DeleteVersionArtifactRequest().fromBinary(bytes, options); |
| 496 | } |
| 497 | |
| 498 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteVersionArtifactRequest { |
| 499 | return new DeleteVersionArtifactRequest().fromJson(jsonValue, options); |
| 500 | } |
| 501 | |
| 502 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteVersionArtifactRequest { |
| 503 | return new DeleteVersionArtifactRequest().fromJsonString(jsonString, options); |
| 504 | } |
| 505 | |
| 506 | static equals(a: DeleteVersionArtifactRequest | PlainMessage<DeleteVersionArtifactRequest> | undefined, b: DeleteVersionArtifactRequest | PlainMessage<DeleteVersionArtifactRequest> | undefined): boolean { |
| 507 | return proto3.util.equals(DeleteVersionArtifactRequest, a, b); |
| 508 | } |
| 509 | } |
| 510 | |
| 511 | /** |
| 512 | * @generated from message svc.release.v1.DeleteVersionArtifactResponse |
| 513 | */ |
| 514 | export class DeleteVersionArtifactResponse extends Message<DeleteVersionArtifactResponse> { |
| 515 | constructor(data?: PartialMessage<DeleteVersionArtifactResponse>) { |
| 516 | super(); |
| 517 | proto3.util.initPartial(data, this); |
| 518 | } |
| 519 | |
| 520 | static readonly runtime: typeof proto3 = proto3; |
| 521 | static readonly typeName = "svc.release.v1.DeleteVersionArtifactResponse"; |
| 522 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 523 | ]); |
| 524 | |
| 525 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteVersionArtifactResponse { |
| 526 | return new DeleteVersionArtifactResponse().fromBinary(bytes, options); |
| 527 | } |
| 528 | |
| 529 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteVersionArtifactResponse { |
| 530 | return new DeleteVersionArtifactResponse().fromJson(jsonValue, options); |
| 531 | } |
| 532 | |
| 533 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteVersionArtifactResponse { |
| 534 | return new DeleteVersionArtifactResponse().fromJsonString(jsonString, options); |
| 535 | } |
| 536 | |
| 537 | static equals(a: DeleteVersionArtifactResponse | PlainMessage<DeleteVersionArtifactResponse> | undefined, b: DeleteVersionArtifactResponse | PlainMessage<DeleteVersionArtifactResponse> | undefined): boolean { |
| 538 | return proto3.util.equals(DeleteVersionArtifactResponse, a, b); |
| 539 | } |
| 540 | } |
| 541 | |
| 542 | /** |
| 543 | * @generated from message svc.release.v1.ListVersionArtifactRequest |
| 544 | */ |
| 545 | export class ListVersionArtifactRequest extends Message<ListVersionArtifactRequest> { |
| 546 | /** |
| 547 | * @generated from field: string project_name = 1; |
| 548 | */ |
| 549 | projectName = ""; |
| 550 | |
| 551 | /** |
| 552 | * @generated from field: types.v1.Cursor cursor = 2; |
| 553 | */ |
| 554 | cursor?: Cursor; |
| 555 | |
| 556 | /** |
| 557 | * @generated from field: int64 limit = 3; |
| 558 | */ |
| 559 | limit = protoInt64.zero; |
| 560 | |
| 561 | constructor(data?: PartialMessage<ListVersionArtifactRequest>) { |
| 562 | super(); |
| 563 | proto3.util.initPartial(data, this); |
| 564 | } |
| 565 | |
| 566 | static readonly runtime: typeof proto3 = proto3; |
| 567 | static readonly typeName = "svc.release.v1.ListVersionArtifactRequest"; |
| 568 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 569 | { no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, |
| 570 | { no: 2, name: "cursor", kind: "message", T: Cursor }, |
| 571 | { no: 3, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, |
| 572 | ]); |
| 573 | |
| 574 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListVersionArtifactRequest { |
| 575 | return new ListVersionArtifactRequest().fromBinary(bytes, options); |
| 576 | } |
| 577 | |
| 578 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListVersionArtifactRequest { |
| 579 | return new ListVersionArtifactRequest().fromJson(jsonValue, options); |
| 580 | } |
| 581 | |
| 582 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListVersionArtifactRequest { |
| 583 | return new ListVersionArtifactRequest().fromJsonString(jsonString, options); |
| 584 | } |
| 585 | |
| 586 | static equals(a: ListVersionArtifactRequest | PlainMessage<ListVersionArtifactRequest> | undefined, b: ListVersionArtifactRequest | PlainMessage<ListVersionArtifactRequest> | undefined): boolean { |
| 587 | return proto3.util.equals(ListVersionArtifactRequest, a, b); |
| 588 | } |
| 589 | } |
| 590 | |
| 591 | /** |
| 592 | * @generated from message svc.release.v1.ListVersionArtifactResponse |
| 593 | */ |
| 594 | export class ListVersionArtifactResponse extends Message<ListVersionArtifactResponse> { |
| 595 | /** |
| 596 | * @generated from field: types.v1.Cursor next = 1; |
| 597 | */ |
| 598 | next?: Cursor; |
| 599 | |
| 600 | /** |
| 601 | * @generated from field: repeated svc.release.v1.ListVersionArtifactResponse.ListItem items = 2; |
| 602 | */ |
| 603 | items: ListVersionArtifactResponse_ListItem[] = []; |
| 604 | |
| 605 | constructor(data?: PartialMessage<ListVersionArtifactResponse>) { |
| 606 | super(); |
| 607 | proto3.util.initPartial(data, this); |
| 608 | } |
| 609 | |
| 610 | static readonly runtime: typeof proto3 = proto3; |
| 611 | static readonly typeName = "svc.release.v1.ListVersionArtifactResponse"; |
| 612 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 613 | { no: 1, name: "next", kind: "message", T: Cursor }, |
| 614 | { no: 2, name: "items", kind: "message", T: ListVersionArtifactResponse_ListItem, repeated: true }, |
| 615 | ]); |
| 616 | |
| 617 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListVersionArtifactResponse { |
| 618 | return new ListVersionArtifactResponse().fromBinary(bytes, options); |
| 619 | } |
| 620 | |
| 621 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListVersionArtifactResponse { |
| 622 | return new ListVersionArtifactResponse().fromJson(jsonValue, options); |
| 623 | } |
| 624 | |
| 625 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListVersionArtifactResponse { |
| 626 | return new ListVersionArtifactResponse().fromJsonString(jsonString, options); |
| 627 | } |
| 628 | |
| 629 | static equals(a: ListVersionArtifactResponse | PlainMessage<ListVersionArtifactResponse> | undefined, b: ListVersionArtifactResponse | PlainMessage<ListVersionArtifactResponse> | undefined): boolean { |
| 630 | return proto3.util.equals(ListVersionArtifactResponse, a, b); |
| 631 | } |
| 632 | } |
| 633 | |
| 634 | /** |
| 635 | * @generated from message svc.release.v1.ListVersionArtifactResponse.ListItem |
| 636 | */ |
| 637 | export class ListVersionArtifactResponse_ListItem extends Message<ListVersionArtifactResponse_ListItem> { |
| 638 | /** |
| 639 | * @generated from field: types.v1.Version version = 1; |
| 640 | */ |
| 641 | version?: Version; |
| 642 | |
| 643 | /** |
| 644 | * @generated from field: repeated types.v1.VersionArtifact artifacts = 2; |
| 645 | */ |
| 646 | artifacts: VersionArtifact[] = []; |
| 647 | |
| 648 | constructor(data?: PartialMessage<ListVersionArtifactResponse_ListItem>) { |
| 649 | super(); |
| 650 | proto3.util.initPartial(data, this); |
| 651 | } |
| 652 | |
| 653 | static readonly runtime: typeof proto3 = proto3; |
| 654 | static readonly typeName = "svc.release.v1.ListVersionArtifactResponse.ListItem"; |
| 655 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 656 | { no: 1, name: "version", kind: "message", T: Version }, |
| 657 | { no: 2, name: "artifacts", kind: "message", T: VersionArtifact, repeated: true }, |
| 658 | ]); |
| 659 | |
| 660 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListVersionArtifactResponse_ListItem { |
| 661 | return new ListVersionArtifactResponse_ListItem().fromBinary(bytes, options); |
| 662 | } |
| 663 | |
| 664 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListVersionArtifactResponse_ListItem { |
| 665 | return new ListVersionArtifactResponse_ListItem().fromJson(jsonValue, options); |
| 666 | } |
| 667 | |
| 668 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListVersionArtifactResponse_ListItem { |
| 669 | return new ListVersionArtifactResponse_ListItem().fromJsonString(jsonString, options); |
| 670 | } |
| 671 | |
| 672 | static equals(a: ListVersionArtifactResponse_ListItem | PlainMessage<ListVersionArtifactResponse_ListItem> | undefined, b: ListVersionArtifactResponse_ListItem | PlainMessage<ListVersionArtifactResponse_ListItem> | undefined): boolean { |
| 673 | return proto3.util.equals(ListVersionArtifactResponse_ListItem, a, b); |
| 674 | } |
| 675 | } |
| 676 |