google-ads-node
Version:
Google Ads gRPC Client Library for Node
40 lines (31 loc) • 1.23 kB
TypeScript
// package: google.api
// file: google/api/label.proto
import * as jspb from "google-protobuf";
export class LabelDescriptor extends jspb.Message {
getKey(): string;
setKey(value: string): void;
getValueType(): LabelDescriptor.ValueType;
setValueType(value: LabelDescriptor.ValueType): void;
getDescription(): string;
setDescription(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): LabelDescriptor.AsObject;
static toObject(includeInstance: boolean, msg: LabelDescriptor): LabelDescriptor.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: LabelDescriptor, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): LabelDescriptor;
static deserializeBinaryFromReader(message: LabelDescriptor, reader: jspb.BinaryReader): LabelDescriptor;
}
export namespace LabelDescriptor {
export type AsObject = {
key: string,
valueType: LabelDescriptor.ValueType,
description: string,
}
export enum ValueType {
STRING = 0,
BOOL = 1,
INT64 = 2,
}
}