mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-12 20:48:09 +00:00
Generate API code.
This commit is contained in:
4
api/js/api/multicast_group_pb.d.ts
vendored
4
api/js/api/multicast_group_pb.d.ts
vendored
@ -44,6 +44,9 @@ export class MulticastGroup extends jspb.Message {
|
||||
getClassBPingSlotPeriod(): number;
|
||||
setClassBPingSlotPeriod(value: number): void;
|
||||
|
||||
getClassBPingSlotNbK(): number;
|
||||
setClassBPingSlotNbK(value: number): void;
|
||||
|
||||
getClassCSchedulingType(): MulticastGroupSchedulingTypeMap[keyof MulticastGroupSchedulingTypeMap];
|
||||
setClassCSchedulingType(value: MulticastGroupSchedulingTypeMap[keyof MulticastGroupSchedulingTypeMap]): void;
|
||||
|
||||
@ -71,6 +74,7 @@ export namespace MulticastGroup {
|
||||
dr: number,
|
||||
frequency: number,
|
||||
classBPingSlotPeriod: number,
|
||||
classBPingSlotNbK: number,
|
||||
classCSchedulingType: MulticastGroupSchedulingTypeMap[keyof MulticastGroupSchedulingTypeMap],
|
||||
}
|
||||
}
|
||||
|
30
api/js/api/multicast_group_pb.js
vendored
30
api/js/api/multicast_group_pb.js
vendored
@ -506,6 +506,7 @@ proto.api.MulticastGroup.toObject = function(includeInstance, msg) {
|
||||
dr: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
||||
frequency: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
||||
classBPingSlotPeriod: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
||||
classBPingSlotNbK: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
||||
classCSchedulingType: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
||||
};
|
||||
|
||||
@ -591,6 +592,10 @@ proto.api.MulticastGroup.deserializeBinaryFromReader = function(msg, reader) {
|
||||
var value = /** @type {number} */ (reader.readUint32());
|
||||
msg.setClassBPingSlotPeriod(value);
|
||||
break;
|
||||
case 14:
|
||||
var value = /** @type {number} */ (reader.readUint32());
|
||||
msg.setClassBPingSlotNbK(value);
|
||||
break;
|
||||
case 13:
|
||||
var value = /** @type {!proto.api.MulticastGroupSchedulingType} */ (reader.readEnum());
|
||||
msg.setClassCSchedulingType(value);
|
||||
@ -708,6 +713,13 @@ proto.api.MulticastGroup.serializeBinaryToWriter = function(message, writer) {
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getClassBPingSlotNbK();
|
||||
if (f !== 0) {
|
||||
writer.writeUint32(
|
||||
14,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getClassCSchedulingType();
|
||||
if (f !== 0.0) {
|
||||
writer.writeEnum(
|
||||
@ -934,6 +946,24 @@ proto.api.MulticastGroup.prototype.setClassBPingSlotPeriod = function(value) {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint32 class_b_ping_slot_nb_k = 14;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.api.MulticastGroup.prototype.getClassBPingSlotNbK = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.api.MulticastGroup} returns this
|
||||
*/
|
||||
proto.api.MulticastGroup.prototype.setClassBPingSlotNbK = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 14, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional MulticastGroupSchedulingType class_c_scheduling_type = 13;
|
||||
* @return {!proto.api.MulticastGroupSchedulingType}
|
||||
|
Reference in New Issue
Block a user