From 95ffdf2faf3a71e4292d21ba6a33a7208f8ef267 Mon Sep 17 00:00:00 2001 From: rig-bot Date: Wed, 8 May 2024 08:44:36 +0000 Subject: [PATCH] push latest version of APIs --- platform/v1/generated_pb.ts | 48 ++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/platform/v1/generated_pb.ts b/platform/v1/generated_pb.ts index e4c8e7d..cded0de 100644 --- a/platform/v1/generated_pb.ts +++ b/platform/v1/generated_pb.ts @@ -8,9 +8,9 @@ import { Message, proto3 } from "@bufbuild/protobuf"; import { CapsuleInterface, CapsuleScale, CronJob } from "../../v1alpha2/generated_pb.js"; /** - * @generated from message platform.v1.Capsule + * @generated from message platform.v1.CapsuleSet */ -export class Capsule extends Message { +export class CapsuleSet extends Message { /** * @generated from field: string kind = 1; */ @@ -46,13 +46,13 @@ export class Capsule extends Message { */ environmentRefs: string[] = []; - constructor(data?: PartialMessage) { + constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "platform.v1.Capsule"; + static readonly typeName = "platform.v1.CapsuleSet"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "apiVersion", kind: "scalar", T: 9 /* ScalarType.STRING */ }, @@ -63,20 +63,20 @@ export class Capsule extends Message { { no: 7, name: "environmentRefs", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); - static fromBinary(bytes: Uint8Array, options?: Partial): Capsule { - return new Capsule().fromBinary(bytes, options); + static fromBinary(bytes: Uint8Array, options?: Partial): CapsuleSet { + return new CapsuleSet().fromBinary(bytes, options); } - static fromJson(jsonValue: JsonValue, options?: Partial): Capsule { - return new Capsule().fromJson(jsonValue, options); + static fromJson(jsonValue: JsonValue, options?: Partial): CapsuleSet { + return new CapsuleSet().fromJson(jsonValue, options); } - static fromJsonString(jsonString: string, options?: Partial): Capsule { - return new Capsule().fromJsonString(jsonString, options); + static fromJsonString(jsonString: string, options?: Partial): CapsuleSet { + return new CapsuleSet().fromJsonString(jsonString, options); } - static equals(a: Capsule | PlainMessage | undefined, b: Capsule | PlainMessage | undefined): boolean { - return proto3.util.equals(Capsule, a, b); + static equals(a: CapsuleSet | PlainMessage | undefined, b: CapsuleSet | PlainMessage | undefined): boolean { + return proto3.util.equals(CapsuleSet, a, b); } } @@ -325,9 +325,9 @@ export class EnvironmentSource extends Message { } /** - * @generated from message platform.v1.CapsuleEnvironment + * @generated from message platform.v1.Capsule */ -export class CapsuleEnvironment extends Message { +export class Capsule extends Message { /** * @generated from field: string kind = 1; */ @@ -358,13 +358,13 @@ export class CapsuleEnvironment extends Message { */ spec?: CapsuleSpec; - constructor(data?: PartialMessage) { + constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "platform.v1.CapsuleEnvironment"; + static readonly typeName = "platform.v1.Capsule"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "apiVersion", kind: "scalar", T: 9 /* ScalarType.STRING */ }, @@ -374,20 +374,20 @@ export class CapsuleEnvironment extends Message { { no: 6, name: "spec", kind: "message", T: CapsuleSpec }, ]); - static fromBinary(bytes: Uint8Array, options?: Partial): CapsuleEnvironment { - return new CapsuleEnvironment().fromBinary(bytes, options); + static fromBinary(bytes: Uint8Array, options?: Partial): Capsule { + return new Capsule().fromBinary(bytes, options); } - static fromJson(jsonValue: JsonValue, options?: Partial): CapsuleEnvironment { - return new CapsuleEnvironment().fromJson(jsonValue, options); + static fromJson(jsonValue: JsonValue, options?: Partial): Capsule { + return new Capsule().fromJson(jsonValue, options); } - static fromJsonString(jsonString: string, options?: Partial): CapsuleEnvironment { - return new CapsuleEnvironment().fromJsonString(jsonString, options); + static fromJsonString(jsonString: string, options?: Partial): Capsule { + return new Capsule().fromJsonString(jsonString, options); } - static equals(a: CapsuleEnvironment | PlainMessage | undefined, b: CapsuleEnvironment | PlainMessage | undefined): boolean { - return proto3.util.equals(CapsuleEnvironment, a, b); + static equals(a: Capsule | PlainMessage | undefined, b: Capsule | PlainMessage | undefined): boolean { + return proto3.util.equals(Capsule, a, b); } }