registerAllExtensions static method

void registerAllExtensions(
  1. ExtensionRegistry registry
)

Implementation

static void registerAllExtensions($pb.ExtensionRegistry registry) {
  registry.add(optionalInt32Extension);
  registry.add(optionalInt64Extension);
  registry.add(optionalUint32Extension);
  registry.add(optionalUint64Extension);
  registry.add(optionalSint32Extension);
  registry.add(optionalSint64Extension);
  registry.add(optionalFixed32Extension);
  registry.add(optionalFixed64Extension);
  registry.add(optionalSfixed32Extension);
  registry.add(optionalSfixed64Extension);
  registry.add(optionalFloatExtension);
  registry.add(optionalDoubleExtension);
  registry.add(optionalBoolExtension);
  registry.add(optionalStringExtension);
  registry.add(optionalBytesExtension);
  registry.add(optionalGroupExtension);
  registry.add(optionalNestedMessageExtension);
  registry.add(optionalForeignMessageExtension);
  registry.add(optionalImportMessageExtension);
  registry.add(optionalNestedEnumExtension);
  registry.add(optionalForeignEnumExtension);
  registry.add(optionalImportEnumExtension);
  registry.add(optionalStringPieceExtension);
  registry.add(optionalCordExtension);
  registry.add(optionalPublicImportMessageExtension);
  registry.add(optionalLazyMessageExtension);
  registry.add(optionalUnverifiedLazyMessageExtension);
  registry.add(repeatedInt32Extension);
  registry.add(repeatedInt64Extension);
  registry.add(repeatedUint32Extension);
  registry.add(repeatedUint64Extension);
  registry.add(repeatedSint32Extension);
  registry.add(repeatedSint64Extension);
  registry.add(repeatedFixed32Extension);
  registry.add(repeatedFixed64Extension);
  registry.add(repeatedSfixed32Extension);
  registry.add(repeatedSfixed64Extension);
  registry.add(repeatedFloatExtension);
  registry.add(repeatedDoubleExtension);
  registry.add(repeatedBoolExtension);
  registry.add(repeatedStringExtension);
  registry.add(repeatedBytesExtension);
  registry.add(repeatedGroupExtension);
  registry.add(repeatedNestedMessageExtension);
  registry.add(repeatedForeignMessageExtension);
  registry.add(repeatedImportMessageExtension);
  registry.add(repeatedNestedEnumExtension);
  registry.add(repeatedForeignEnumExtension);
  registry.add(repeatedImportEnumExtension);
  registry.add(repeatedStringPieceExtension);
  registry.add(repeatedCordExtension);
  registry.add(repeatedLazyMessageExtension);
  registry.add(defaultInt32Extension);
  registry.add(defaultInt64Extension);
  registry.add(defaultUint32Extension);
  registry.add(defaultUint64Extension);
  registry.add(defaultSint32Extension);
  registry.add(defaultSint64Extension);
  registry.add(defaultFixed32Extension);
  registry.add(defaultFixed64Extension);
  registry.add(defaultSfixed32Extension);
  registry.add(defaultSfixed64Extension);
  registry.add(defaultFloatExtension);
  registry.add(defaultDoubleExtension);
  registry.add(defaultBoolExtension);
  registry.add(defaultStringExtension);
  registry.add(defaultBytesExtension);
  registry.add(defaultNestedEnumExtension);
  registry.add(defaultForeignEnumExtension);
  registry.add(defaultImportEnumExtension);
  registry.add(defaultStringPieceExtension);
  registry.add(defaultCordExtension);
  registry.add(oneofUint32Extension);
  registry.add(oneofNestedMessageExtension);
  registry.add(oneofStringExtension);
  registry.add(oneofBytesExtension);
  registry.add(myExtensionString);
  registry.add(myExtensionInt);
  registry.add(packedInt32Extension);
  registry.add(packedInt64Extension);
  registry.add(packedUint32Extension);
  registry.add(packedUint64Extension);
  registry.add(packedSint32Extension);
  registry.add(packedSint64Extension);
  registry.add(packedFixed32Extension);
  registry.add(packedFixed64Extension);
  registry.add(packedSfixed32Extension);
  registry.add(packedSfixed64Extension);
  registry.add(packedFloatExtension);
  registry.add(packedDoubleExtension);
  registry.add(packedBoolExtension);
  registry.add(packedEnumExtension);
  registry.add(unpackedInt32Extension);
  registry.add(unpackedInt64Extension);
  registry.add(unpackedUint32Extension);
  registry.add(unpackedUint64Extension);
  registry.add(unpackedSint32Extension);
  registry.add(unpackedSint64Extension);
  registry.add(unpackedFixed32Extension);
  registry.add(unpackedFixed64Extension);
  registry.add(unpackedSfixed32Extension);
  registry.add(unpackedSfixed64Extension);
  registry.add(unpackedFloatExtension);
  registry.add(unpackedDoubleExtension);
  registry.add(unpackedBoolExtension);
  registry.add(unpackedEnumExtension);
  registry.add(testAllTypes);
  registry.add(testExtensionInsideTableExtension);
  registry.add(inner);
}