Socket
Socket
Sign inDemoInstall

@types/google-protobuf

Package Overview
Dependencies
0
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.15.10 to 3.15.11

24

google-protobuf/google/protobuf/api_pb.d.ts

@@ -13,9 +13,9 @@ // package: google.protobuf

clearMethodsList(): Api;
getMethodsList(): Array<Method>;
setMethodsList(value: Array<Method>): Api;
getMethodsList(): Method[];
setMethodsList(value: Method[]): Api;
addMethods(value?: Method, index?: number): Method;
clearOptionsList(): Api;
getOptionsList(): Array<google_protobuf_type_pb.Option>;
setOptionsList(value: Array<google_protobuf_type_pb.Option>): Api;
getOptionsList(): google_protobuf_type_pb.Option[];
setOptionsList(value: google_protobuf_type_pb.Option[]): Api;
addOptions(value?: google_protobuf_type_pb.Option, index?: number): google_protobuf_type_pb.Option;

@@ -32,4 +32,4 @@

clearMixinsList(): Api;
getMixinsList(): Array<Mixin>;
setMixinsList(value: Array<Mixin>): Api;
getMixinsList(): Mixin[];
setMixinsList(value: Mixin[]): Api;
addMixins(value?: Mixin, index?: number): Mixin;

@@ -53,7 +53,7 @@

name: string;
methodsList: Array<Method.AsObject>;
optionsList: Array<google_protobuf_type_pb.Option.AsObject>;
methodsList: Method.AsObject[];
optionsList: google_protobuf_type_pb.Option.AsObject[];
version: string;
sourceContext?: google_protobuf_source_context_pb.SourceContext.AsObject | undefined;
mixinsList: Array<Mixin.AsObject>;
mixinsList: Mixin.AsObject[];
syntax: google_protobuf_type_pb.Syntax;

@@ -80,4 +80,4 @@ };

clearOptionsList(): Method;
getOptionsList(): Array<google_protobuf_type_pb.Option>;
setOptionsList(value: Array<google_protobuf_type_pb.Option>): Method;
getOptionsList(): google_protobuf_type_pb.Option[];
setOptionsList(value: google_protobuf_type_pb.Option[]): Method;
addOptions(value?: google_protobuf_type_pb.Option, index?: number): google_protobuf_type_pb.Option;

@@ -105,3 +105,3 @@

responseStreaming: boolean;
optionsList: Array<google_protobuf_type_pb.Option.AsObject>;
optionsList: google_protobuf_type_pb.Option.AsObject[];
syntax: google_protobuf_type_pb.Syntax;

@@ -108,0 +108,0 @@ };

@@ -49,4 +49,4 @@ // package: google.protobuf.compiler

clearFileToGenerateList(): CodeGeneratorRequest;
getFileToGenerateList(): Array<string>;
setFileToGenerateList(value: Array<string>): CodeGeneratorRequest;
getFileToGenerateList(): string[];
setFileToGenerateList(value: string[]): CodeGeneratorRequest;
addFileToGenerate(value: string, index?: number): string;

@@ -60,4 +60,4 @@

clearProtoFileList(): CodeGeneratorRequest;
getProtoFileList(): Array<google_protobuf_descriptor_pb.FileDescriptorProto>;
setProtoFileList(value: Array<google_protobuf_descriptor_pb.FileDescriptorProto>): CodeGeneratorRequest;
getProtoFileList(): google_protobuf_descriptor_pb.FileDescriptorProto[];
setProtoFileList(value: google_protobuf_descriptor_pb.FileDescriptorProto[]): CodeGeneratorRequest;
addProtoFile(

@@ -85,5 +85,5 @@ value?: google_protobuf_descriptor_pb.FileDescriptorProto,

export type AsObject = {
fileToGenerateList: Array<string>;
fileToGenerateList: string[];
parameter?: string | undefined;
protoFileList: Array<google_protobuf_descriptor_pb.FileDescriptorProto.AsObject>;
protoFileList: google_protobuf_descriptor_pb.FileDescriptorProto.AsObject[];
compilerVersion?: Version.AsObject | undefined;

@@ -105,4 +105,4 @@ };

clearFileList(): CodeGeneratorResponse;
getFileList(): Array<CodeGeneratorResponse.File>;
setFileList(value: Array<CodeGeneratorResponse.File>): CodeGeneratorResponse;
getFileList(): CodeGeneratorResponse.File[];
setFileList(value: CodeGeneratorResponse.File[]): CodeGeneratorResponse;
addFile(value?: CodeGeneratorResponse.File, index?: number): CodeGeneratorResponse.File;

@@ -127,3 +127,3 @@

supportedFeatures?: number | undefined;
fileList: Array<File.AsObject>;
fileList: File.AsObject[];
};

@@ -130,0 +130,0 @@

@@ -8,4 +8,4 @@ // package: google.protobuf

clearFileList(): FileDescriptorSet;
getFileList(): Array<FileDescriptorProto>;
setFileList(value: Array<FileDescriptorProto>): FileDescriptorSet;
getFileList(): FileDescriptorProto[];
setFileList(value: FileDescriptorProto[]): FileDescriptorSet;
addFile(value?: FileDescriptorProto, index?: number): FileDescriptorProto;

@@ -25,3 +25,3 @@

export type AsObject = {
fileList: Array<FileDescriptorProto.AsObject>;
fileList: FileDescriptorProto.AsObject[];
};

@@ -42,34 +42,34 @@ }

clearDependencyList(): FileDescriptorProto;
getDependencyList(): Array<string>;
setDependencyList(value: Array<string>): FileDescriptorProto;
getDependencyList(): string[];
setDependencyList(value: string[]): FileDescriptorProto;
addDependency(value: string, index?: number): string;
clearPublicDependencyList(): FileDescriptorProto;
getPublicDependencyList(): Array<number>;
setPublicDependencyList(value: Array<number>): FileDescriptorProto;
getPublicDependencyList(): number[];
setPublicDependencyList(value: number[]): FileDescriptorProto;
addPublicDependency(value: number, index?: number): number;
clearWeakDependencyList(): FileDescriptorProto;
getWeakDependencyList(): Array<number>;
setWeakDependencyList(value: Array<number>): FileDescriptorProto;
getWeakDependencyList(): number[];
setWeakDependencyList(value: number[]): FileDescriptorProto;
addWeakDependency(value: number, index?: number): number;
clearMessageTypeList(): FileDescriptorProto;
getMessageTypeList(): Array<DescriptorProto>;
setMessageTypeList(value: Array<DescriptorProto>): FileDescriptorProto;
getMessageTypeList(): DescriptorProto[];
setMessageTypeList(value: DescriptorProto[]): FileDescriptorProto;
addMessageType(value?: DescriptorProto, index?: number): DescriptorProto;
clearEnumTypeList(): FileDescriptorProto;
getEnumTypeList(): Array<EnumDescriptorProto>;
setEnumTypeList(value: Array<EnumDescriptorProto>): FileDescriptorProto;
getEnumTypeList(): EnumDescriptorProto[];
setEnumTypeList(value: EnumDescriptorProto[]): FileDescriptorProto;
addEnumType(value?: EnumDescriptorProto, index?: number): EnumDescriptorProto;
clearServiceList(): FileDescriptorProto;
getServiceList(): Array<ServiceDescriptorProto>;
setServiceList(value: Array<ServiceDescriptorProto>): FileDescriptorProto;
getServiceList(): ServiceDescriptorProto[];
setServiceList(value: ServiceDescriptorProto[]): FileDescriptorProto;
addService(value?: ServiceDescriptorProto, index?: number): ServiceDescriptorProto;
clearExtensionList(): FileDescriptorProto;
getExtensionList(): Array<FieldDescriptorProto>;
setExtensionList(value: Array<FieldDescriptorProto>): FileDescriptorProto;
getExtensionList(): FieldDescriptorProto[];
setExtensionList(value: FieldDescriptorProto[]): FileDescriptorProto;
addExtension(value?: FieldDescriptorProto, index?: number): FieldDescriptorProto;

@@ -106,9 +106,9 @@

pb_package?: string | undefined;
dependencyList: Array<string>;
publicDependencyList: Array<number>;
weakDependencyList: Array<number>;
messageTypeList: Array<DescriptorProto.AsObject>;
enumTypeList: Array<EnumDescriptorProto.AsObject>;
serviceList: Array<ServiceDescriptorProto.AsObject>;
extensionList: Array<FieldDescriptorProto.AsObject>;
dependencyList: string[];
publicDependencyList: number[];
weakDependencyList: number[];
messageTypeList: DescriptorProto.AsObject[];
enumTypeList: EnumDescriptorProto.AsObject[];
serviceList: ServiceDescriptorProto.AsObject[];
extensionList: FieldDescriptorProto.AsObject[];
options?: FileOptions.AsObject | undefined;

@@ -127,29 +127,29 @@ sourceCodeInfo?: SourceCodeInfo.AsObject | undefined;

clearFieldList(): DescriptorProto;
getFieldList(): Array<FieldDescriptorProto>;
setFieldList(value: Array<FieldDescriptorProto>): DescriptorProto;
getFieldList(): FieldDescriptorProto[];
setFieldList(value: FieldDescriptorProto[]): DescriptorProto;
addField(value?: FieldDescriptorProto, index?: number): FieldDescriptorProto;
clearExtensionList(): DescriptorProto;
getExtensionList(): Array<FieldDescriptorProto>;
setExtensionList(value: Array<FieldDescriptorProto>): DescriptorProto;
getExtensionList(): FieldDescriptorProto[];
setExtensionList(value: FieldDescriptorProto[]): DescriptorProto;
addExtension(value?: FieldDescriptorProto, index?: number): FieldDescriptorProto;
clearNestedTypeList(): DescriptorProto;
getNestedTypeList(): Array<DescriptorProto>;
setNestedTypeList(value: Array<DescriptorProto>): DescriptorProto;
getNestedTypeList(): DescriptorProto[];
setNestedTypeList(value: DescriptorProto[]): DescriptorProto;
addNestedType(value?: DescriptorProto, index?: number): DescriptorProto;
clearEnumTypeList(): DescriptorProto;
getEnumTypeList(): Array<EnumDescriptorProto>;
setEnumTypeList(value: Array<EnumDescriptorProto>): DescriptorProto;
getEnumTypeList(): EnumDescriptorProto[];
setEnumTypeList(value: EnumDescriptorProto[]): DescriptorProto;
addEnumType(value?: EnumDescriptorProto, index?: number): EnumDescriptorProto;
clearExtensionRangeList(): DescriptorProto;
getExtensionRangeList(): Array<DescriptorProto.ExtensionRange>;
setExtensionRangeList(value: Array<DescriptorProto.ExtensionRange>): DescriptorProto;
getExtensionRangeList(): DescriptorProto.ExtensionRange[];
setExtensionRangeList(value: DescriptorProto.ExtensionRange[]): DescriptorProto;
addExtensionRange(value?: DescriptorProto.ExtensionRange, index?: number): DescriptorProto.ExtensionRange;
clearOneofDeclList(): DescriptorProto;
getOneofDeclList(): Array<OneofDescriptorProto>;
setOneofDeclList(value: Array<OneofDescriptorProto>): DescriptorProto;
getOneofDeclList(): OneofDescriptorProto[];
setOneofDeclList(value: OneofDescriptorProto[]): DescriptorProto;
addOneofDecl(value?: OneofDescriptorProto, index?: number): OneofDescriptorProto;

@@ -163,9 +163,9 @@

clearReservedRangeList(): DescriptorProto;
getReservedRangeList(): Array<DescriptorProto.ReservedRange>;
setReservedRangeList(value: Array<DescriptorProto.ReservedRange>): DescriptorProto;
getReservedRangeList(): DescriptorProto.ReservedRange[];
setReservedRangeList(value: DescriptorProto.ReservedRange[]): DescriptorProto;
addReservedRange(value?: DescriptorProto.ReservedRange, index?: number): DescriptorProto.ReservedRange;
clearReservedNameList(): DescriptorProto;
getReservedNameList(): Array<string>;
setReservedNameList(value: Array<string>): DescriptorProto;
getReservedNameList(): string[];
setReservedNameList(value: string[]): DescriptorProto;
addReservedName(value: string, index?: number): string;

@@ -186,11 +186,11 @@

name?: string | undefined;
fieldList: Array<FieldDescriptorProto.AsObject>;
extensionList: Array<FieldDescriptorProto.AsObject>;
nestedTypeList: Array<AsObject>;
enumTypeList: Array<EnumDescriptorProto.AsObject>;
extensionRangeList: Array<ExtensionRange.AsObject>;
oneofDeclList: Array<OneofDescriptorProto.AsObject>;
fieldList: FieldDescriptorProto.AsObject[];
extensionList: FieldDescriptorProto.AsObject[];
nestedTypeList: AsObject[];
enumTypeList: EnumDescriptorProto.AsObject[];
extensionRangeList: ExtensionRange.AsObject[];
oneofDeclList: OneofDescriptorProto.AsObject[];
options?: MessageOptions.AsObject | undefined;
reservedRangeList: Array<ReservedRange.AsObject>;
reservedNameList: Array<string>;
reservedRangeList: ReservedRange.AsObject[];
reservedNameList: string[];
};

@@ -263,4 +263,4 @@

clearUninterpretedOptionList(): ExtensionRangeOptions;
getUninterpretedOptionList(): Array<UninterpretedOption>;
setUninterpretedOptionList(value: Array<UninterpretedOption>): ExtensionRangeOptions;
getUninterpretedOptionList(): UninterpretedOption[];
setUninterpretedOptionList(value: UninterpretedOption[]): ExtensionRangeOptions;
addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption;

@@ -283,3 +283,3 @@

export type AsObject = {
uninterpretedOptionList: Array<UninterpretedOption.AsObject>;
uninterpretedOptionList: UninterpretedOption.AsObject[];
};

@@ -432,4 +432,4 @@ }

clearValueList(): EnumDescriptorProto;
getValueList(): Array<EnumValueDescriptorProto>;
setValueList(value: Array<EnumValueDescriptorProto>): EnumDescriptorProto;
getValueList(): EnumValueDescriptorProto[];
setValueList(value: EnumValueDescriptorProto[]): EnumDescriptorProto;
addValue(value?: EnumValueDescriptorProto, index?: number): EnumValueDescriptorProto;

@@ -443,4 +443,4 @@

clearReservedRangeList(): EnumDescriptorProto;
getReservedRangeList(): Array<EnumDescriptorProto.EnumReservedRange>;
setReservedRangeList(value: Array<EnumDescriptorProto.EnumReservedRange>): EnumDescriptorProto;
getReservedRangeList(): EnumDescriptorProto.EnumReservedRange[];
setReservedRangeList(value: EnumDescriptorProto.EnumReservedRange[]): EnumDescriptorProto;
addReservedRange(

@@ -452,4 +452,4 @@ value?: EnumDescriptorProto.EnumReservedRange,

clearReservedNameList(): EnumDescriptorProto;
getReservedNameList(): Array<string>;
setReservedNameList(value: Array<string>): EnumDescriptorProto;
getReservedNameList(): string[];
setReservedNameList(value: string[]): EnumDescriptorProto;
addReservedName(value: string, index?: number): string;

@@ -470,6 +470,6 @@

name?: string | undefined;
valueList: Array<EnumValueDescriptorProto.AsObject>;
valueList: EnumValueDescriptorProto.AsObject[];
options?: EnumOptions.AsObject | undefined;
reservedRangeList: Array<EnumReservedRange.AsObject>;
reservedNameList: Array<string>;
reservedRangeList: EnumReservedRange.AsObject[];
reservedNameList: string[];
};

@@ -550,4 +550,4 @@

clearMethodList(): ServiceDescriptorProto;
getMethodList(): Array<MethodDescriptorProto>;
setMethodList(value: Array<MethodDescriptorProto>): ServiceDescriptorProto;
getMethodList(): MethodDescriptorProto[];
setMethodList(value: MethodDescriptorProto[]): ServiceDescriptorProto;
addMethod(value?: MethodDescriptorProto, index?: number): MethodDescriptorProto;

@@ -576,3 +576,3 @@

name?: string | undefined;
methodList: Array<MethodDescriptorProto.AsObject>;
methodList: MethodDescriptorProto.AsObject[];
options?: ServiceOptions.AsObject | undefined;

@@ -739,4 +739,4 @@ };

clearUninterpretedOptionList(): FileOptions;
getUninterpretedOptionList(): Array<UninterpretedOption>;
setUninterpretedOptionList(value: Array<UninterpretedOption>): FileOptions;
getUninterpretedOptionList(): UninterpretedOption[];
setUninterpretedOptionList(value: UninterpretedOption[]): FileOptions;
addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption;

@@ -776,3 +776,3 @@

rubyPackage?: string | undefined;
uninterpretedOptionList: Array<UninterpretedOption.AsObject>;
uninterpretedOptionList: UninterpretedOption.AsObject[];
};

@@ -809,4 +809,4 @@

clearUninterpretedOptionList(): MessageOptions;
getUninterpretedOptionList(): Array<UninterpretedOption>;
setUninterpretedOptionList(value: Array<UninterpretedOption>): MessageOptions;
getUninterpretedOptionList(): UninterpretedOption[];
setUninterpretedOptionList(value: UninterpretedOption[]): MessageOptions;
addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption;

@@ -830,3 +830,3 @@

mapEntry?: boolean | undefined;
uninterpretedOptionList: Array<UninterpretedOption.AsObject>;
uninterpretedOptionList: UninterpretedOption.AsObject[];
};

@@ -867,4 +867,4 @@ }

clearUninterpretedOptionList(): FieldOptions;
getUninterpretedOptionList(): Array<UninterpretedOption>;
setUninterpretedOptionList(value: Array<UninterpretedOption>): FieldOptions;
getUninterpretedOptionList(): UninterpretedOption[];
setUninterpretedOptionList(value: UninterpretedOption[]): FieldOptions;
addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption;

@@ -890,3 +890,3 @@

weak?: boolean | undefined;
uninterpretedOptionList: Array<UninterpretedOption.AsObject>;
uninterpretedOptionList: UninterpretedOption.AsObject[];
};

@@ -909,4 +909,4 @@

clearUninterpretedOptionList(): OneofOptions;
getUninterpretedOptionList(): Array<UninterpretedOption>;
setUninterpretedOptionList(value: Array<UninterpretedOption>): OneofOptions;
getUninterpretedOptionList(): UninterpretedOption[];
setUninterpretedOptionList(value: UninterpretedOption[]): OneofOptions;
addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption;

@@ -926,3 +926,3 @@

export type AsObject = {
uninterpretedOptionList: Array<UninterpretedOption.AsObject>;
uninterpretedOptionList: UninterpretedOption.AsObject[];
};

@@ -943,4 +943,4 @@ }

clearUninterpretedOptionList(): EnumOptions;
getUninterpretedOptionList(): Array<UninterpretedOption>;
setUninterpretedOptionList(value: Array<UninterpretedOption>): EnumOptions;
getUninterpretedOptionList(): UninterpretedOption[];
setUninterpretedOptionList(value: UninterpretedOption[]): EnumOptions;
addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption;

@@ -962,3 +962,3 @@

deprecated?: boolean | undefined;
uninterpretedOptionList: Array<UninterpretedOption.AsObject>;
uninterpretedOptionList: UninterpretedOption.AsObject[];
};

@@ -974,4 +974,4 @@ }

clearUninterpretedOptionList(): EnumValueOptions;
getUninterpretedOptionList(): Array<UninterpretedOption>;
setUninterpretedOptionList(value: Array<UninterpretedOption>): EnumValueOptions;
getUninterpretedOptionList(): UninterpretedOption[];
setUninterpretedOptionList(value: UninterpretedOption[]): EnumValueOptions;
addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption;

@@ -992,3 +992,3 @@

deprecated?: boolean | undefined;
uninterpretedOptionList: Array<UninterpretedOption.AsObject>;
uninterpretedOptionList: UninterpretedOption.AsObject[];
};

@@ -1004,4 +1004,4 @@ }

clearUninterpretedOptionList(): ServiceOptions;
getUninterpretedOptionList(): Array<UninterpretedOption>;
setUninterpretedOptionList(value: Array<UninterpretedOption>): ServiceOptions;
getUninterpretedOptionList(): UninterpretedOption[];
setUninterpretedOptionList(value: UninterpretedOption[]): ServiceOptions;
addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption;

@@ -1022,3 +1022,3 @@

deprecated?: boolean | undefined;
uninterpretedOptionList: Array<UninterpretedOption.AsObject>;
uninterpretedOptionList: UninterpretedOption.AsObject[];
};

@@ -1039,4 +1039,4 @@ }

clearUninterpretedOptionList(): MethodOptions;
getUninterpretedOptionList(): Array<UninterpretedOption>;
setUninterpretedOptionList(value: Array<UninterpretedOption>): MethodOptions;
getUninterpretedOptionList(): UninterpretedOption[];
setUninterpretedOptionList(value: UninterpretedOption[]): MethodOptions;
addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption;

@@ -1058,3 +1058,3 @@

idempotencyLevel?: IdempotencyLevel | undefined;
uninterpretedOptionList: Array<UninterpretedOption.AsObject>;
uninterpretedOptionList: UninterpretedOption.AsObject[];
};

@@ -1071,4 +1071,4 @@

clearNameList(): UninterpretedOption;
getNameList(): Array<UninterpretedOption.NamePart>;
setNameList(value: Array<UninterpretedOption.NamePart>): UninterpretedOption;
getNameList(): UninterpretedOption.NamePart[];
setNameList(value: UninterpretedOption.NamePart[]): UninterpretedOption;
addName(value?: UninterpretedOption.NamePart, index?: number): UninterpretedOption.NamePart;

@@ -1120,3 +1120,3 @@

export type AsObject = {
nameList: Array<NamePart.AsObject>;
nameList: NamePart.AsObject[];
identifierValue?: string | undefined;

@@ -1161,4 +1161,4 @@ positiveIntValue?: number | undefined;

clearLocationList(): SourceCodeInfo;
getLocationList(): Array<SourceCodeInfo.Location>;
setLocationList(value: Array<SourceCodeInfo.Location>): SourceCodeInfo;
getLocationList(): SourceCodeInfo.Location[];
setLocationList(value: SourceCodeInfo.Location[]): SourceCodeInfo;
addLocation(value?: SourceCodeInfo.Location, index?: number): SourceCodeInfo.Location;

@@ -1178,3 +1178,3 @@

export type AsObject = {
locationList: Array<Location.AsObject>;
locationList: Location.AsObject[];
};

@@ -1184,9 +1184,9 @@

clearPathList(): Location;
getPathList(): Array<number>;
setPathList(value: Array<number>): Location;
getPathList(): number[];
setPathList(value: number[]): Location;
addPath(value: number, index?: number): number;
clearSpanList(): Location;
getSpanList(): Array<number>;
setSpanList(value: Array<number>): Location;
getSpanList(): number[];
setSpanList(value: number[]): Location;
addSpan(value: number, index?: number): number;

@@ -1205,4 +1205,4 @@

clearLeadingDetachedCommentsList(): Location;
getLeadingDetachedCommentsList(): Array<string>;
setLeadingDetachedCommentsList(value: Array<string>): Location;
getLeadingDetachedCommentsList(): string[];
setLeadingDetachedCommentsList(value: string[]): Location;
addLeadingDetachedComments(value: string, index?: number): string;

@@ -1222,7 +1222,7 @@

export type AsObject = {
pathList: Array<number>;
spanList: Array<number>;
pathList: number[];
spanList: number[];
leadingComments?: string | undefined;
trailingComments?: string | undefined;
leadingDetachedCommentsList: Array<string>;
leadingDetachedCommentsList: string[];
};

@@ -1234,4 +1234,4 @@ }

clearAnnotationList(): GeneratedCodeInfo;
getAnnotationList(): Array<GeneratedCodeInfo.Annotation>;
setAnnotationList(value: Array<GeneratedCodeInfo.Annotation>): GeneratedCodeInfo;
getAnnotationList(): GeneratedCodeInfo.Annotation[];
setAnnotationList(value: GeneratedCodeInfo.Annotation[]): GeneratedCodeInfo;
addAnnotation(value?: GeneratedCodeInfo.Annotation, index?: number): GeneratedCodeInfo.Annotation;

@@ -1251,3 +1251,3 @@

export type AsObject = {
annotationList: Array<Annotation.AsObject>;
annotationList: Annotation.AsObject[];
};

@@ -1257,4 +1257,4 @@

clearPathList(): Annotation;
getPathList(): Array<number>;
setPathList(value: Array<number>): Annotation;
getPathList(): number[];
setPathList(value: number[]): Annotation;
addPath(value: number, index?: number): number;

@@ -1289,3 +1289,3 @@

export type AsObject = {
pathList: Array<number>;
pathList: number[];
sourceFile?: string | undefined;

@@ -1292,0 +1292,0 @@ begin?: number | undefined;

@@ -8,4 +8,4 @@ // package: google.protobuf

clearPathsList(): FieldMask;
getPathsList(): Array<string>;
setPathsList(value: Array<string>): FieldMask;
getPathsList(): string[];
setPathsList(value: string[]): FieldMask;
addPaths(value: string, index?: number): string;

@@ -25,4 +25,4 @@

export type AsObject = {
pathsList: Array<string>;
pathsList: string[];
};
}

@@ -98,8 +98,8 @@ // package: google.protobuf

clearValuesList(): ListValue;
getValuesList(): Array<Value>;
setValuesList(value: Array<Value>): ListValue;
getValuesList(): Value[];
setValuesList(value: Value[]): ListValue;
addValues(value?: Value, index?: number): Value;
toJavaScript(): Array<JavaScriptValue>;
static fromJavaScript(value: Array<JavaScriptValue>): ListValue;
toJavaScript(): JavaScriptValue[];
static fromJavaScript(value: JavaScriptValue[]): ListValue;

@@ -118,3 +118,3 @@ serializeBinary(): Uint8Array;

export type AsObject = {
valuesList: Array<Value.AsObject>;
valuesList: Value.AsObject[];
};

@@ -127,2 +127,2 @@ }

export type JavaScriptValue = null | number | string | boolean | Array<any> | {};
export type JavaScriptValue = null | number | string | boolean | any[] | {};

@@ -13,14 +13,14 @@ // package: google.protobuf

clearFieldsList(): Type;
getFieldsList(): Array<Field>;
setFieldsList(value: Array<Field>): Type;
getFieldsList(): Field[];
setFieldsList(value: Field[]): Type;
addFields(value?: Field, index?: number): Field;
clearOneofsList(): Type;
getOneofsList(): Array<string>;
setOneofsList(value: Array<string>): Type;
getOneofsList(): string[];
setOneofsList(value: string[]): Type;
addOneofs(value: string, index?: number): string;
clearOptionsList(): Type;
getOptionsList(): Array<Option>;
setOptionsList(value: Array<Option>): Type;
getOptionsList(): Option[];
setOptionsList(value: Option[]): Type;
addOptions(value?: Option, index?: number): Option;

@@ -49,5 +49,5 @@

name: string;
fieldsList: Array<Field.AsObject>;
oneofsList: Array<string>;
optionsList: Array<Option.AsObject>;
fieldsList: Field.AsObject[];
oneofsList: string[];
optionsList: Option.AsObject[];
sourceContext?: google_protobuf_source_context_pb.SourceContext.AsObject | undefined;

@@ -81,4 +81,4 @@ syntax: Syntax;

clearOptionsList(): Field;
getOptionsList(): Array<Option>;
setOptionsList(value: Array<Option>): Field;
getOptionsList(): Option[];
setOptionsList(value: Option[]): Field;
addOptions(value?: Option, index?: number): Option;

@@ -111,3 +111,3 @@

packed: boolean;
optionsList: Array<Option.AsObject>;
optionsList: Option.AsObject[];
jsonName: string;

@@ -152,9 +152,9 @@ defaultValue: string;

clearEnumvalueList(): Enum;
getEnumvalueList(): Array<EnumValue>;
setEnumvalueList(value: Array<EnumValue>): Enum;
getEnumvalueList(): EnumValue[];
setEnumvalueList(value: EnumValue[]): Enum;
addEnumvalue(value?: EnumValue, index?: number): EnumValue;
clearOptionsList(): Enum;
getOptionsList(): Array<Option>;
setOptionsList(value: Array<Option>): Enum;
getOptionsList(): Option[];
setOptionsList(value: Option[]): Enum;
addOptions(value?: Option, index?: number): Option;

@@ -183,4 +183,4 @@

name: string;
enumvalueList: Array<EnumValue.AsObject>;
optionsList: Array<Option.AsObject>;
enumvalueList: EnumValue.AsObject[];
optionsList: Option.AsObject[];
sourceContext?: google_protobuf_source_context_pb.SourceContext.AsObject | undefined;

@@ -199,4 +199,4 @@ syntax: Syntax;

clearOptionsList(): EnumValue;
getOptionsList(): Array<Option>;
setOptionsList(value: Array<Option>): EnumValue;
getOptionsList(): Option[];
setOptionsList(value: Option[]): EnumValue;
addOptions(value?: Option, index?: number): Option;

@@ -218,3 +218,3 @@

number: number;
optionsList: Array<Option.AsObject>;
optionsList: Option.AsObject[];
};

@@ -221,0 +221,0 @@ }

{
"name": "@types/google-protobuf",
"version": "3.15.10",
"version": "3.15.11",
"description": "TypeScript definitions for google-protobuf",

@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/google-protobuf",

"dependencies": {},
"typesPublisherContentHash": "4f1be57e4592a120daa85e4de588c01601b7a4a24327dc42e5aa70130fbaaed1",
"typesPublisherContentHash": "dc0f7bc07742d94f14080db86dfec52820e7e8f3e47fa6fb91b3bca917fd12d7",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 07 Nov 2023 03:09:37 GMT
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT
* Dependencies: none

@@ -14,0 +14,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc