执行protoc
This commit is contained in:
parent
2517ab5e8d
commit
1c99ed9b50
File diff suppressed because it is too large
Load Diff
@ -7529,6 +7529,7 @@ export namespace graphicData {
|
||||
linkSection?: number;
|
||||
centralizedStations?: number[];
|
||||
duanNum?: number;
|
||||
width?: number;
|
||||
}) {
|
||||
super();
|
||||
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [4], this.#one_of_decls);
|
||||
@ -7548,6 +7549,9 @@ export namespace graphicData {
|
||||
if ("duanNum" in data && data.duanNum != undefined) {
|
||||
this.duanNum = data.duanNum;
|
||||
}
|
||||
if ("width" in data && data.width != undefined) {
|
||||
this.width = data.width;
|
||||
}
|
||||
}
|
||||
}
|
||||
get common() {
|
||||
@ -7583,12 +7587,19 @@ export namespace graphicData {
|
||||
set duanNum(value: number) {
|
||||
pb_1.Message.setField(this, 5, value);
|
||||
}
|
||||
get width() {
|
||||
return pb_1.Message.getFieldWithDefault(this, 6, 0) as number;
|
||||
}
|
||||
set width(value: number) {
|
||||
pb_1.Message.setField(this, 6, value);
|
||||
}
|
||||
static fromObject(data: {
|
||||
common?: ReturnType<typeof CommonInfo.prototype.toObject>;
|
||||
code?: string;
|
||||
linkSection?: number;
|
||||
centralizedStations?: number[];
|
||||
duanNum?: number;
|
||||
width?: number;
|
||||
}): CarWashing {
|
||||
const message = new CarWashing({});
|
||||
if (data.common != null) {
|
||||
@ -7606,6 +7617,9 @@ export namespace graphicData {
|
||||
if (data.duanNum != null) {
|
||||
message.duanNum = data.duanNum;
|
||||
}
|
||||
if (data.width != null) {
|
||||
message.width = data.width;
|
||||
}
|
||||
return message;
|
||||
}
|
||||
toObject() {
|
||||
@ -7615,6 +7629,7 @@ export namespace graphicData {
|
||||
linkSection?: number;
|
||||
centralizedStations?: number[];
|
||||
duanNum?: number;
|
||||
width?: number;
|
||||
} = {};
|
||||
if (this.common != null) {
|
||||
data.common = this.common.toObject();
|
||||
@ -7631,6 +7646,9 @@ export namespace graphicData {
|
||||
if (this.duanNum != null) {
|
||||
data.duanNum = this.duanNum;
|
||||
}
|
||||
if (this.width != null) {
|
||||
data.width = this.width;
|
||||
}
|
||||
return data;
|
||||
}
|
||||
serialize(): Uint8Array;
|
||||
@ -7647,6 +7665,8 @@ export namespace graphicData {
|
||||
writer.writePackedUint32(4, this.centralizedStations);
|
||||
if (this.duanNum != 0)
|
||||
writer.writeUint32(5, this.duanNum);
|
||||
if (this.width != 0)
|
||||
writer.writeUint32(6, this.width);
|
||||
if (!w)
|
||||
return writer.getResultBuffer();
|
||||
}
|
||||
@ -7671,6 +7691,9 @@ export namespace graphicData {
|
||||
case 5:
|
||||
message.duanNum = reader.readUint32();
|
||||
break;
|
||||
case 6:
|
||||
message.width = reader.readUint32();
|
||||
break;
|
||||
default: reader.skipField();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user