diff --git a/platform/v1/generated_pb.ts b/platform/v1/generated_pb.ts index 67ba896..2ac4c2c 100644 --- a/platform/v1/generated_pb.ts +++ b/platform/v1/generated_pb.ts @@ -198,14 +198,14 @@ export class CapsuleInterface extends Message { port = 0; /** - * @generated from field: platform.v1.InterfaceProbe liveness = 3; + * @generated from field: platform.v1.InterfaceLivenessProbe liveness = 3; */ - liveness?: InterfaceProbe; + liveness?: InterfaceLivenessProbe; /** - * @generated from field: platform.v1.InterfaceProbe readiness = 4; + * @generated from field: platform.v1.InterfaceReadinessProbe readiness = 4; */ - readiness?: InterfaceProbe; + readiness?: InterfaceReadinessProbe; /** * @generated from field: repeated platform.v1.HostRoute routes = 6; @@ -222,8 +222,8 @@ export class CapsuleInterface extends Message { static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "port", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: "liveness", kind: "message", T: InterfaceProbe }, - { no: 4, name: "readiness", kind: "message", T: InterfaceProbe }, + { no: 3, name: "liveness", kind: "message", T: InterfaceLivenessProbe }, + { no: 4, name: "readiness", kind: "message", T: InterfaceReadinessProbe }, { no: 6, name: "routes", kind: "message", T: HostRoute, repeated: true }, ]); @@ -245,9 +245,9 @@ export class CapsuleInterface extends Message { } /** - * @generated from message platform.v1.InterfaceProbe + * @generated from message platform.v1.InterfaceLivenessProbe */ -export class InterfaceProbe extends Message { +export class InterfaceLivenessProbe extends Message { /** * @generated from field: string path = 1; */ @@ -263,33 +263,39 @@ export class InterfaceProbe extends Message { */ grpc?: InterfaceGRPCProbe; - constructor(data?: PartialMessage) { + /** + * @generated from field: uint32 startupDelay = 4; + */ + startupDelay = 0; + + constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "platform.v1.InterfaceProbe"; + static readonly typeName = "platform.v1.InterfaceLivenessProbe"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "tcp", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 3, name: "grpc", kind: "message", T: InterfaceGRPCProbe }, + { no: 4, name: "startupDelay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, ]); - static fromBinary(bytes: Uint8Array, options?: Partial): InterfaceProbe { - return new InterfaceProbe().fromBinary(bytes, options); + static fromBinary(bytes: Uint8Array, options?: Partial): InterfaceLivenessProbe { + return new InterfaceLivenessProbe().fromBinary(bytes, options); } - static fromJson(jsonValue: JsonValue, options?: Partial): InterfaceProbe { - return new InterfaceProbe().fromJson(jsonValue, options); + static fromJson(jsonValue: JsonValue, options?: Partial): InterfaceLivenessProbe { + return new InterfaceLivenessProbe().fromJson(jsonValue, options); } - static fromJsonString(jsonString: string, options?: Partial): InterfaceProbe { - return new InterfaceProbe().fromJsonString(jsonString, options); + static fromJsonString(jsonString: string, options?: Partial): InterfaceLivenessProbe { + return new InterfaceLivenessProbe().fromJsonString(jsonString, options); } - static equals(a: InterfaceProbe | PlainMessage | undefined, b: InterfaceProbe | PlainMessage | undefined): boolean { - return proto3.util.equals(InterfaceProbe, a, b); + static equals(a: InterfaceLivenessProbe | PlainMessage | undefined, b: InterfaceLivenessProbe | PlainMessage | undefined): boolean { + return proto3.util.equals(InterfaceLivenessProbe, a, b); } } @@ -336,6 +342,55 @@ export class InterfaceGRPCProbe extends Message { } } +/** + * @generated from message platform.v1.InterfaceReadinessProbe + */ +export class InterfaceReadinessProbe extends Message { + /** + * @generated from field: string path = 1; + */ + path = ""; + + /** + * @generated from field: bool tcp = 2; + */ + tcp = false; + + /** + * @generated from field: platform.v1.InterfaceGRPCProbe grpc = 3; + */ + grpc?: InterfaceGRPCProbe; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "platform.v1.InterfaceReadinessProbe"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "tcp", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 3, name: "grpc", kind: "message", T: InterfaceGRPCProbe }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): InterfaceReadinessProbe { + return new InterfaceReadinessProbe().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): InterfaceReadinessProbe { + return new InterfaceReadinessProbe().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): InterfaceReadinessProbe { + return new InterfaceReadinessProbe().fromJsonString(jsonString, options); + } + + static equals(a: InterfaceReadinessProbe | PlainMessage | undefined, b: InterfaceReadinessProbe | PlainMessage | undefined): boolean { + return proto3.util.equals(InterfaceReadinessProbe, a, b); + } +} + /** * @generated from message platform.v1.HostRoute */