mirror of
https://github.com/LuanRT/googlevideo.git
synced 2026-06-30 09:55:15 +00:00
chore: Update protos
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-ts_proto v2.2.0
|
||||
// protoc-gen-ts_proto v2.7.5
|
||||
// protoc v5.28.0
|
||||
// source: video_streaming/format_initialization_metadata.proto
|
||||
|
||||
@@ -75,81 +75,91 @@ export const FormatInitializationMetadata: MessageFns<FormatInitializationMetada
|
||||
|
||||
decode(input: BinaryReader | Uint8Array, length?: number): FormatInitializationMetadata {
|
||||
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
||||
let end = length === undefined ? reader.len : reader.pos + length;
|
||||
const end = length === undefined ? reader.len : reader.pos + length;
|
||||
const message = createBaseFormatInitializationMetadata();
|
||||
while (reader.pos < end) {
|
||||
const tag = reader.uint32();
|
||||
switch (tag >>> 3) {
|
||||
case 1:
|
||||
case 1: {
|
||||
if (tag !== 10) {
|
||||
break;
|
||||
}
|
||||
|
||||
message.videoId = reader.string();
|
||||
continue;
|
||||
case 2:
|
||||
}
|
||||
case 2: {
|
||||
if (tag !== 18) {
|
||||
break;
|
||||
}
|
||||
|
||||
message.formatId = FormatId.decode(reader, reader.uint32());
|
||||
continue;
|
||||
case 3:
|
||||
}
|
||||
case 3: {
|
||||
if (tag !== 24) {
|
||||
break;
|
||||
}
|
||||
|
||||
message.endTimeMs = longToNumber(reader.int64());
|
||||
continue;
|
||||
case 4:
|
||||
}
|
||||
case 4: {
|
||||
if (tag !== 32) {
|
||||
break;
|
||||
}
|
||||
|
||||
message.endSegmentNumber = longToNumber(reader.int64());
|
||||
continue;
|
||||
case 5:
|
||||
}
|
||||
case 5: {
|
||||
if (tag !== 42) {
|
||||
break;
|
||||
}
|
||||
|
||||
message.mimeType = reader.string();
|
||||
continue;
|
||||
case 6:
|
||||
}
|
||||
case 6: {
|
||||
if (tag !== 50) {
|
||||
break;
|
||||
}
|
||||
|
||||
message.initRange = Range.decode(reader, reader.uint32());
|
||||
continue;
|
||||
case 7:
|
||||
}
|
||||
case 7: {
|
||||
if (tag !== 58) {
|
||||
break;
|
||||
}
|
||||
|
||||
message.indexRange = Range.decode(reader, reader.uint32());
|
||||
continue;
|
||||
case 8:
|
||||
}
|
||||
case 8: {
|
||||
if (tag !== 64) {
|
||||
break;
|
||||
}
|
||||
|
||||
message.field8 = longToNumber(reader.int64());
|
||||
continue;
|
||||
case 9:
|
||||
}
|
||||
case 9: {
|
||||
if (tag !== 72) {
|
||||
break;
|
||||
}
|
||||
|
||||
message.durationUnits = longToNumber(reader.int64());
|
||||
continue;
|
||||
case 10:
|
||||
}
|
||||
case 10: {
|
||||
if (tag !== 80) {
|
||||
break;
|
||||
}
|
||||
|
||||
message.durationTimescale = longToNumber(reader.int64());
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if ((tag & 7) === 4 || tag === 0) {
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user