@parca/client
Advanced tools
Comparing version 0.16.81 to 0.16.82
@@ -6,2 +6,6 @@ # Change Log | ||
## 0.16.82 (2023-08-09) | ||
**Note:** Version bump only for package @parca/client | ||
## 0.16.81 (2023-07-20) | ||
@@ -8,0 +12,0 @@ |
@@ -33,2 +33,8 @@ import { ServiceType } from "@protobuf-ts/runtime-rpc"; | ||
force: boolean; | ||
/** | ||
* Type of debuginfo to propose uploading. | ||
* | ||
* @generated from protobuf field: parca.debuginfo.v1alpha1.DebuginfoType type = 4; | ||
*/ | ||
type: DebuginfoType; | ||
} | ||
@@ -84,2 +90,8 @@ /** | ||
force: boolean; | ||
/** | ||
* Type of debuginfo to propose uploading. | ||
* | ||
* @generated from protobuf field: parca.debuginfo.v1alpha1.DebuginfoType type = 5; | ||
*/ | ||
type: DebuginfoType; | ||
} | ||
@@ -130,2 +142,8 @@ /** | ||
signedUrl: string; | ||
/** | ||
* Type of debuginfo the upload instructions are for. | ||
* | ||
* @generated from protobuf field: parca.debuginfo.v1alpha1.DebuginfoType type = 5; | ||
*/ | ||
type: DebuginfoType; | ||
} | ||
@@ -175,2 +193,8 @@ /** | ||
uploadId: string; | ||
/** | ||
* The type of debuginfo upload to mark as finished. | ||
* | ||
* @generated from protobuf field: parca.debuginfo.v1alpha1.DebuginfoType type = 3; | ||
*/ | ||
type: DebuginfoType; | ||
} | ||
@@ -231,2 +255,8 @@ /** | ||
uploadId: string; | ||
/** | ||
* the type of debuginfo that's being uploaded | ||
* | ||
* @generated from protobuf field: parca.debuginfo.v1alpha1.DebuginfoType type = 3; | ||
*/ | ||
type: DebuginfoType; | ||
} | ||
@@ -289,2 +319,8 @@ /** | ||
debuginfodServers: string[]; | ||
/** | ||
* The type of debuginfo. | ||
* | ||
* @generated from protobuf field: parca.debuginfo.v1alpha1.DebuginfoType type = 6; | ||
*/ | ||
type: DebuginfoType; | ||
} | ||
@@ -415,2 +451,31 @@ /** | ||
} | ||
/** | ||
* Types of debuginfo. | ||
* | ||
* @generated from protobuf enum parca.debuginfo.v1alpha1.DebuginfoType | ||
*/ | ||
export declare enum DebuginfoType { | ||
/** | ||
* The default type that the API always supported. This type is expected to | ||
* contain debuginfos for symbolizaton purposes. | ||
* | ||
* @generated from protobuf enum value: DEBUGINFO_TYPE_DEBUGINFO_UNSPECIFIED = 0; | ||
*/ | ||
DEBUGINFO_UNSPECIFIED = 0, | ||
/** | ||
* The type to identify executables. This is meant to be used for | ||
* disassembling so it is expected to contain executable `.text` section. | ||
* | ||
* @generated from protobuf enum value: DEBUGINFO_TYPE_EXECUTABLE = 1; | ||
*/ | ||
EXECUTABLE = 1, | ||
/** | ||
* The type to identify a source tarball. This is expected to contain | ||
* multiple source files that debuginfo references. It is meant to show code | ||
* with profiling data inline. | ||
* | ||
* @generated from protobuf enum value: DEBUGINFO_TYPE_SOURCES = 2; | ||
*/ | ||
SOURCES = 2 | ||
} | ||
declare class ShouldInitiateUploadRequest$Type extends MessageType<ShouldInitiateUploadRequest> { | ||
@@ -417,0 +482,0 @@ constructor(); |
@@ -89,2 +89,32 @@ // @generated by protobuf-ts 2.9.0 with parameter generate_dependencies | ||
})(DebuginfoUpload_State || (DebuginfoUpload_State = {})); | ||
/** | ||
* Types of debuginfo. | ||
* | ||
* @generated from protobuf enum parca.debuginfo.v1alpha1.DebuginfoType | ||
*/ | ||
export var DebuginfoType; | ||
(function (DebuginfoType) { | ||
/** | ||
* The default type that the API always supported. This type is expected to | ||
* contain debuginfos for symbolizaton purposes. | ||
* | ||
* @generated from protobuf enum value: DEBUGINFO_TYPE_DEBUGINFO_UNSPECIFIED = 0; | ||
*/ | ||
DebuginfoType[DebuginfoType["DEBUGINFO_UNSPECIFIED"] = 0] = "DEBUGINFO_UNSPECIFIED"; | ||
/** | ||
* The type to identify executables. This is meant to be used for | ||
* disassembling so it is expected to contain executable `.text` section. | ||
* | ||
* @generated from protobuf enum value: DEBUGINFO_TYPE_EXECUTABLE = 1; | ||
*/ | ||
DebuginfoType[DebuginfoType["EXECUTABLE"] = 1] = "EXECUTABLE"; | ||
/** | ||
* The type to identify a source tarball. This is expected to contain | ||
* multiple source files that debuginfo references. It is meant to show code | ||
* with profiling data inline. | ||
* | ||
* @generated from protobuf enum value: DEBUGINFO_TYPE_SOURCES = 2; | ||
*/ | ||
DebuginfoType[DebuginfoType["SOURCES"] = 2] = "SOURCES"; | ||
})(DebuginfoType || (DebuginfoType = {})); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
@@ -96,7 +126,8 @@ class ShouldInitiateUploadRequest$Type extends MessageType { | ||
{ no: 2, name: "hash", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 3, name: "force", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } | ||
{ no: 3, name: "force", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 4, name: "type", kind: "enum", T: () => ["parca.debuginfo.v1alpha1.DebuginfoType", DebuginfoType, "DEBUGINFO_TYPE_"] } | ||
]); | ||
} | ||
create(value) { | ||
const message = { buildId: "", hash: "", force: false }; | ||
const message = { buildId: "", hash: "", force: false, type: 0 }; | ||
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this }); | ||
@@ -121,2 +152,5 @@ if (value !== undefined) | ||
break; | ||
case /* parca.debuginfo.v1alpha1.DebuginfoType type */ 4: | ||
message.type = reader.int32(); | ||
break; | ||
default: | ||
@@ -143,2 +177,5 @@ let u = options.readUnknownField; | ||
writer.tag(3, WireType.Varint).bool(message.force); | ||
/* parca.debuginfo.v1alpha1.DebuginfoType type = 4; */ | ||
if (message.type !== 0) | ||
writer.tag(4, WireType.Varint).int32(message.type); | ||
let u = options.writeUnknownFields; | ||
@@ -215,7 +252,8 @@ if (u !== false) | ||
{ no: 3, name: "hash", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 4, name: "force", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } | ||
{ no: 4, name: "force", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 5, name: "type", kind: "enum", T: () => ["parca.debuginfo.v1alpha1.DebuginfoType", DebuginfoType, "DEBUGINFO_TYPE_"] } | ||
]); | ||
} | ||
create(value) { | ||
const message = { buildId: "", size: 0n, hash: "", force: false }; | ||
const message = { buildId: "", size: 0n, hash: "", force: false, type: 0 }; | ||
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this }); | ||
@@ -243,2 +281,5 @@ if (value !== undefined) | ||
break; | ||
case /* parca.debuginfo.v1alpha1.DebuginfoType type */ 5: | ||
message.type = reader.int32(); | ||
break; | ||
default: | ||
@@ -268,2 +309,5 @@ let u = options.readUnknownField; | ||
writer.tag(4, WireType.Varint).bool(message.force); | ||
/* parca.debuginfo.v1alpha1.DebuginfoType type = 5; */ | ||
if (message.type !== 0) | ||
writer.tag(5, WireType.Varint).int32(message.type); | ||
let u = options.writeUnknownFields; | ||
@@ -333,7 +377,8 @@ if (u !== false) | ||
{ no: 3, name: "upload_strategy", kind: "enum", T: () => ["parca.debuginfo.v1alpha1.UploadInstructions.UploadStrategy", UploadInstructions_UploadStrategy, "UPLOAD_STRATEGY_"] }, | ||
{ no: 4, name: "signed_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ } | ||
{ no: 4, name: "signed_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 5, name: "type", kind: "enum", T: () => ["parca.debuginfo.v1alpha1.DebuginfoType", DebuginfoType, "DEBUGINFO_TYPE_"] } | ||
]); | ||
} | ||
create(value) { | ||
const message = { buildId: "", uploadId: "", uploadStrategy: 0, signedUrl: "" }; | ||
const message = { buildId: "", uploadId: "", uploadStrategy: 0, signedUrl: "", type: 0 }; | ||
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this }); | ||
@@ -361,2 +406,5 @@ if (value !== undefined) | ||
break; | ||
case /* parca.debuginfo.v1alpha1.DebuginfoType type */ 5: | ||
message.type = reader.int32(); | ||
break; | ||
default: | ||
@@ -386,2 +434,5 @@ let u = options.readUnknownField; | ||
writer.tag(4, WireType.LengthDelimited).string(message.signedUrl); | ||
/* parca.debuginfo.v1alpha1.DebuginfoType type = 5; */ | ||
if (message.type !== 0) | ||
writer.tag(5, WireType.Varint).int32(message.type); | ||
let u = options.writeUnknownFields; | ||
@@ -402,7 +453,8 @@ if (u !== false) | ||
{ no: 1, name: "build_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 2, name: "upload_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ } | ||
{ no: 2, name: "upload_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 3, name: "type", kind: "enum", T: () => ["parca.debuginfo.v1alpha1.DebuginfoType", DebuginfoType, "DEBUGINFO_TYPE_"] } | ||
]); | ||
} | ||
create(value) { | ||
const message = { buildId: "", uploadId: "" }; | ||
const message = { buildId: "", uploadId: "", type: 0 }; | ||
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this }); | ||
@@ -424,2 +476,5 @@ if (value !== undefined) | ||
break; | ||
case /* parca.debuginfo.v1alpha1.DebuginfoType type */ 3: | ||
message.type = reader.int32(); | ||
break; | ||
default: | ||
@@ -443,2 +498,5 @@ let u = options.readUnknownField; | ||
writer.tag(2, WireType.LengthDelimited).string(message.uploadId); | ||
/* parca.debuginfo.v1alpha1.DebuginfoType type = 3; */ | ||
if (message.type !== 0) | ||
writer.tag(3, WireType.Varint).int32(message.type); | ||
let u = options.writeUnknownFields; | ||
@@ -545,7 +603,8 @@ if (u !== false) | ||
{ no: 1, name: "build_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 2, name: "upload_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ } | ||
{ no: 2, name: "upload_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 3, name: "type", kind: "enum", T: () => ["parca.debuginfo.v1alpha1.DebuginfoType", DebuginfoType, "DEBUGINFO_TYPE_"] } | ||
]); | ||
} | ||
create(value) { | ||
const message = { buildId: "", uploadId: "" }; | ||
const message = { buildId: "", uploadId: "", type: 0 }; | ||
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this }); | ||
@@ -567,2 +626,5 @@ if (value !== undefined) | ||
break; | ||
case /* parca.debuginfo.v1alpha1.DebuginfoType type */ 3: | ||
message.type = reader.int32(); | ||
break; | ||
default: | ||
@@ -586,2 +648,5 @@ let u = options.readUnknownField; | ||
writer.tag(2, WireType.LengthDelimited).string(message.uploadId); | ||
/* parca.debuginfo.v1alpha1.DebuginfoType type = 3; */ | ||
if (message.type !== 0) | ||
writer.tag(3, WireType.Varint).int32(message.type); | ||
let u = options.writeUnknownFields; | ||
@@ -659,7 +724,8 @@ if (u !== false) | ||
{ no: 4, name: "quality", kind: "message", T: () => DebuginfoQuality }, | ||
{ no: 5, name: "debuginfod_servers", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ } | ||
{ no: 5, name: "debuginfod_servers", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 6, name: "type", kind: "enum", T: () => ["parca.debuginfo.v1alpha1.DebuginfoType", DebuginfoType, "DEBUGINFO_TYPE_"] } | ||
]); | ||
} | ||
create(value) { | ||
const message = { buildId: "", source: 0, debuginfodServers: [] }; | ||
const message = { buildId: "", source: 0, debuginfodServers: [], type: 0 }; | ||
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this }); | ||
@@ -690,2 +756,5 @@ if (value !== undefined) | ||
break; | ||
case /* parca.debuginfo.v1alpha1.DebuginfoType type */ 6: | ||
message.type = reader.int32(); | ||
break; | ||
default: | ||
@@ -718,2 +787,5 @@ let u = options.readUnknownField; | ||
writer.tag(5, WireType.LengthDelimited).string(message.debuginfodServers[i]); | ||
/* parca.debuginfo.v1alpha1.DebuginfoType type = 6; */ | ||
if (message.type !== 0) | ||
writer.tag(6, WireType.Varint).int32(message.type); | ||
let u = options.writeUnknownFields; | ||
@@ -720,0 +792,0 @@ if (u !== false) |
{ | ||
"name": "@parca/client", | ||
"version": "0.16.81", | ||
"version": "0.16.82", | ||
"description": "Parca API Client", | ||
@@ -26,3 +26,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "452157d0adc6a0b7a2288ce9c787c4ddc2395ac1" | ||
"gitHead": "247b54f3d042a88c844577df37b008236028baf3" | ||
} |
@@ -40,2 +40,8 @@ // @generated by protobuf-ts 2.9.0 with parameter generate_dependencies | ||
force: boolean; | ||
/** | ||
* Type of debuginfo to propose uploading. | ||
* | ||
* @generated from protobuf field: parca.debuginfo.v1alpha1.DebuginfoType type = 4; | ||
*/ | ||
type: DebuginfoType; | ||
} | ||
@@ -91,2 +97,8 @@ /** | ||
force: boolean; | ||
/** | ||
* Type of debuginfo to propose uploading. | ||
* | ||
* @generated from protobuf field: parca.debuginfo.v1alpha1.DebuginfoType type = 5; | ||
*/ | ||
type: DebuginfoType; | ||
} | ||
@@ -137,2 +149,8 @@ /** | ||
signedUrl: string; | ||
/** | ||
* Type of debuginfo the upload instructions are for. | ||
* | ||
* @generated from protobuf field: parca.debuginfo.v1alpha1.DebuginfoType type = 5; | ||
*/ | ||
type: DebuginfoType; | ||
} | ||
@@ -182,2 +200,8 @@ /** | ||
uploadId: string; | ||
/** | ||
* The type of debuginfo upload to mark as finished. | ||
* | ||
* @generated from protobuf field: parca.debuginfo.v1alpha1.DebuginfoType type = 3; | ||
*/ | ||
type: DebuginfoType; | ||
} | ||
@@ -238,2 +262,8 @@ /** | ||
uploadId: string; | ||
/** | ||
* the type of debuginfo that's being uploaded | ||
* | ||
* @generated from protobuf field: parca.debuginfo.v1alpha1.DebuginfoType type = 3; | ||
*/ | ||
type: DebuginfoType; | ||
} | ||
@@ -296,2 +326,8 @@ /** | ||
debuginfodServers: string[]; | ||
/** | ||
* The type of debuginfo. | ||
* | ||
* @generated from protobuf field: parca.debuginfo.v1alpha1.DebuginfoType type = 6; | ||
*/ | ||
type: DebuginfoType; | ||
} | ||
@@ -422,2 +458,31 @@ /** | ||
} | ||
/** | ||
* Types of debuginfo. | ||
* | ||
* @generated from protobuf enum parca.debuginfo.v1alpha1.DebuginfoType | ||
*/ | ||
export enum DebuginfoType { | ||
/** | ||
* The default type that the API always supported. This type is expected to | ||
* contain debuginfos for symbolizaton purposes. | ||
* | ||
* @generated from protobuf enum value: DEBUGINFO_TYPE_DEBUGINFO_UNSPECIFIED = 0; | ||
*/ | ||
DEBUGINFO_UNSPECIFIED = 0, | ||
/** | ||
* The type to identify executables. This is meant to be used for | ||
* disassembling so it is expected to contain executable `.text` section. | ||
* | ||
* @generated from protobuf enum value: DEBUGINFO_TYPE_EXECUTABLE = 1; | ||
*/ | ||
EXECUTABLE = 1, | ||
/** | ||
* The type to identify a source tarball. This is expected to contain | ||
* multiple source files that debuginfo references. It is meant to show code | ||
* with profiling data inline. | ||
* | ||
* @generated from protobuf enum value: DEBUGINFO_TYPE_SOURCES = 2; | ||
*/ | ||
SOURCES = 2 | ||
} | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
@@ -429,7 +494,8 @@ class ShouldInitiateUploadRequest$Type extends MessageType<ShouldInitiateUploadRequest> { | ||
{ no: 2, name: "hash", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 3, name: "force", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } | ||
{ no: 3, name: "force", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 4, name: "type", kind: "enum", T: () => ["parca.debuginfo.v1alpha1.DebuginfoType", DebuginfoType, "DEBUGINFO_TYPE_"] } | ||
]); | ||
} | ||
create(value?: PartialMessage<ShouldInitiateUploadRequest>): ShouldInitiateUploadRequest { | ||
const message = { buildId: "", hash: "", force: false }; | ||
const message = { buildId: "", hash: "", force: false, type: 0 }; | ||
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this }); | ||
@@ -454,2 +520,5 @@ if (value !== undefined) | ||
break; | ||
case /* parca.debuginfo.v1alpha1.DebuginfoType type */ 4: | ||
message.type = reader.int32(); | ||
break; | ||
default: | ||
@@ -476,2 +545,5 @@ let u = options.readUnknownField; | ||
writer.tag(3, WireType.Varint).bool(message.force); | ||
/* parca.debuginfo.v1alpha1.DebuginfoType type = 4; */ | ||
if (message.type !== 0) | ||
writer.tag(4, WireType.Varint).int32(message.type); | ||
let u = options.writeUnknownFields; | ||
@@ -548,7 +620,8 @@ if (u !== false) | ||
{ no: 3, name: "hash", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 4, name: "force", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } | ||
{ no: 4, name: "force", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 5, name: "type", kind: "enum", T: () => ["parca.debuginfo.v1alpha1.DebuginfoType", DebuginfoType, "DEBUGINFO_TYPE_"] } | ||
]); | ||
} | ||
create(value?: PartialMessage<InitiateUploadRequest>): InitiateUploadRequest { | ||
const message = { buildId: "", size: 0n, hash: "", force: false }; | ||
const message = { buildId: "", size: 0n, hash: "", force: false, type: 0 }; | ||
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this }); | ||
@@ -576,2 +649,5 @@ if (value !== undefined) | ||
break; | ||
case /* parca.debuginfo.v1alpha1.DebuginfoType type */ 5: | ||
message.type = reader.int32(); | ||
break; | ||
default: | ||
@@ -601,2 +677,5 @@ let u = options.readUnknownField; | ||
writer.tag(4, WireType.Varint).bool(message.force); | ||
/* parca.debuginfo.v1alpha1.DebuginfoType type = 5; */ | ||
if (message.type !== 0) | ||
writer.tag(5, WireType.Varint).int32(message.type); | ||
let u = options.writeUnknownFields; | ||
@@ -666,7 +745,8 @@ if (u !== false) | ||
{ no: 3, name: "upload_strategy", kind: "enum", T: () => ["parca.debuginfo.v1alpha1.UploadInstructions.UploadStrategy", UploadInstructions_UploadStrategy, "UPLOAD_STRATEGY_"] }, | ||
{ no: 4, name: "signed_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ } | ||
{ no: 4, name: "signed_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 5, name: "type", kind: "enum", T: () => ["parca.debuginfo.v1alpha1.DebuginfoType", DebuginfoType, "DEBUGINFO_TYPE_"] } | ||
]); | ||
} | ||
create(value?: PartialMessage<UploadInstructions>): UploadInstructions { | ||
const message = { buildId: "", uploadId: "", uploadStrategy: 0, signedUrl: "" }; | ||
const message = { buildId: "", uploadId: "", uploadStrategy: 0, signedUrl: "", type: 0 }; | ||
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this }); | ||
@@ -694,2 +774,5 @@ if (value !== undefined) | ||
break; | ||
case /* parca.debuginfo.v1alpha1.DebuginfoType type */ 5: | ||
message.type = reader.int32(); | ||
break; | ||
default: | ||
@@ -719,2 +802,5 @@ let u = options.readUnknownField; | ||
writer.tag(4, WireType.LengthDelimited).string(message.signedUrl); | ||
/* parca.debuginfo.v1alpha1.DebuginfoType type = 5; */ | ||
if (message.type !== 0) | ||
writer.tag(5, WireType.Varint).int32(message.type); | ||
let u = options.writeUnknownFields; | ||
@@ -735,7 +821,8 @@ if (u !== false) | ||
{ no: 1, name: "build_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 2, name: "upload_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ } | ||
{ no: 2, name: "upload_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 3, name: "type", kind: "enum", T: () => ["parca.debuginfo.v1alpha1.DebuginfoType", DebuginfoType, "DEBUGINFO_TYPE_"] } | ||
]); | ||
} | ||
create(value?: PartialMessage<MarkUploadFinishedRequest>): MarkUploadFinishedRequest { | ||
const message = { buildId: "", uploadId: "" }; | ||
const message = { buildId: "", uploadId: "", type: 0 }; | ||
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this }); | ||
@@ -757,2 +844,5 @@ if (value !== undefined) | ||
break; | ||
case /* parca.debuginfo.v1alpha1.DebuginfoType type */ 3: | ||
message.type = reader.int32(); | ||
break; | ||
default: | ||
@@ -776,2 +866,5 @@ let u = options.readUnknownField; | ||
writer.tag(2, WireType.LengthDelimited).string(message.uploadId); | ||
/* parca.debuginfo.v1alpha1.DebuginfoType type = 3; */ | ||
if (message.type !== 0) | ||
writer.tag(3, WireType.Varint).int32(message.type); | ||
let u = options.writeUnknownFields; | ||
@@ -878,7 +971,8 @@ if (u !== false) | ||
{ no: 1, name: "build_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 2, name: "upload_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ } | ||
{ no: 2, name: "upload_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 3, name: "type", kind: "enum", T: () => ["parca.debuginfo.v1alpha1.DebuginfoType", DebuginfoType, "DEBUGINFO_TYPE_"] } | ||
]); | ||
} | ||
create(value?: PartialMessage<UploadInfo>): UploadInfo { | ||
const message = { buildId: "", uploadId: "" }; | ||
const message = { buildId: "", uploadId: "", type: 0 }; | ||
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this }); | ||
@@ -900,2 +994,5 @@ if (value !== undefined) | ||
break; | ||
case /* parca.debuginfo.v1alpha1.DebuginfoType type */ 3: | ||
message.type = reader.int32(); | ||
break; | ||
default: | ||
@@ -919,2 +1016,5 @@ let u = options.readUnknownField; | ||
writer.tag(2, WireType.LengthDelimited).string(message.uploadId); | ||
/* parca.debuginfo.v1alpha1.DebuginfoType type = 3; */ | ||
if (message.type !== 0) | ||
writer.tag(3, WireType.Varint).int32(message.type); | ||
let u = options.writeUnknownFields; | ||
@@ -992,7 +1092,8 @@ if (u !== false) | ||
{ no: 4, name: "quality", kind: "message", T: () => DebuginfoQuality }, | ||
{ no: 5, name: "debuginfod_servers", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ } | ||
{ no: 5, name: "debuginfod_servers", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 6, name: "type", kind: "enum", T: () => ["parca.debuginfo.v1alpha1.DebuginfoType", DebuginfoType, "DEBUGINFO_TYPE_"] } | ||
]); | ||
} | ||
create(value?: PartialMessage<Debuginfo>): Debuginfo { | ||
const message = { buildId: "", source: 0, debuginfodServers: [] }; | ||
const message = { buildId: "", source: 0, debuginfodServers: [], type: 0 }; | ||
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this }); | ||
@@ -1023,2 +1124,5 @@ if (value !== undefined) | ||
break; | ||
case /* parca.debuginfo.v1alpha1.DebuginfoType type */ 6: | ||
message.type = reader.int32(); | ||
break; | ||
default: | ||
@@ -1051,2 +1155,5 @@ let u = options.readUnknownField; | ||
writer.tag(5, WireType.LengthDelimited).string(message.debuginfodServers[i]); | ||
/* parca.debuginfo.v1alpha1.DebuginfoType type = 6; */ | ||
if (message.type !== 0) | ||
writer.tag(6, WireType.Varint).int32(message.type); | ||
let u = options.writeUnknownFields; | ||
@@ -1053,0 +1160,0 @@ if (u !== false) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1476748
31601