mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-03-11 15:03:56 +00:00
40 lines
1.2 KiB
TypeScript
Vendored
40 lines
1.2 KiB
TypeScript
Vendored
// package: google.api
|
|
// file: google/api/endpoint.proto
|
|
|
|
import * as jspb from "google-protobuf";
|
|
|
|
export class Endpoint extends jspb.Message {
|
|
getName(): string;
|
|
setName(value: string): void;
|
|
|
|
clearAliasesList(): void;
|
|
getAliasesList(): Array<string>;
|
|
setAliasesList(value: Array<string>): void;
|
|
addAliases(value: string, index?: number): string;
|
|
|
|
getTarget(): string;
|
|
setTarget(value: string): void;
|
|
|
|
getAllowCors(): boolean;
|
|
setAllowCors(value: boolean): void;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): Endpoint.AsObject;
|
|
static toObject(includeInstance: boolean, msg: Endpoint): Endpoint.AsObject;
|
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
static serializeBinaryToWriter(message: Endpoint, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): Endpoint;
|
|
static deserializeBinaryFromReader(message: Endpoint, reader: jspb.BinaryReader): Endpoint;
|
|
}
|
|
|
|
export namespace Endpoint {
|
|
export type AsObject = {
|
|
name: string,
|
|
aliasesList: Array<string>,
|
|
target: string,
|
|
allowCors: boolean,
|
|
}
|
|
}
|
|
|