chirpstack/api/grpc-web/google/api/routing_pb.d.ts
2022-04-06 21:18:32 +01:00

48 lines
1.7 KiB
TypeScript
Vendored

import * as jspb from 'google-protobuf'
import * as google_protobuf_descriptor_pb from 'google-protobuf/google/protobuf/descriptor_pb';
export class RoutingRule extends jspb.Message {
getRoutingParametersList(): Array<RoutingParameter>;
setRoutingParametersList(value: Array<RoutingParameter>): RoutingRule;
clearRoutingParametersList(): RoutingRule;
addRoutingParameters(value?: RoutingParameter, index?: number): RoutingParameter;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RoutingRule.AsObject;
static toObject(includeInstance: boolean, msg: RoutingRule): RoutingRule.AsObject;
static serializeBinaryToWriter(message: RoutingRule, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): RoutingRule;
static deserializeBinaryFromReader(message: RoutingRule, reader: jspb.BinaryReader): RoutingRule;
}
export namespace RoutingRule {
export type AsObject = {
routingParametersList: Array<RoutingParameter.AsObject>,
}
}
export class RoutingParameter extends jspb.Message {
getField(): string;
setField(value: string): RoutingParameter;
getPathTemplate(): string;
setPathTemplate(value: string): RoutingParameter;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RoutingParameter.AsObject;
static toObject(includeInstance: boolean, msg: RoutingParameter): RoutingParameter.AsObject;
static serializeBinaryToWriter(message: RoutingParameter, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): RoutingParameter;
static deserializeBinaryFromReader(message: RoutingParameter, reader: jspb.BinaryReader): RoutingParameter;
}
export namespace RoutingParameter {
export type AsObject = {
field: string,
pathTemplate: string,
}
}