registerAllExtensions static method

void registerAllExtensions(
  1. ExtensionRegistry registry
)

Implementation

static void registerAllExtensions($pb.ExtensionRegistry registry) {
  registry.add(optionalInt32ExtensionLite);
  registry.add(optionalInt64ExtensionLite);
  registry.add(optionalUint32ExtensionLite);
  registry.add(optionalUint64ExtensionLite);
  registry.add(optionalSint32ExtensionLite);
  registry.add(optionalSint64ExtensionLite);
  registry.add(optionalFixed32ExtensionLite);
  registry.add(optionalFixed64ExtensionLite);
  registry.add(optionalSfixed32ExtensionLite);
  registry.add(optionalSfixed64ExtensionLite);
  registry.add(optionalFloatExtensionLite);
  registry.add(optionalDoubleExtensionLite);
  registry.add(optionalBoolExtensionLite);
  registry.add(optionalStringExtensionLite);
  registry.add(optionalBytesExtensionLite);
  registry.add(optionalGroupExtensionLite);
  registry.add(optionalNestedMessageExtensionLite);
  registry.add(optionalForeignMessageExtensionLite);
  registry.add(optionalImportMessageExtensionLite);
  registry.add(optionalNestedEnumExtensionLite);
  registry.add(optionalForeignEnumExtensionLite);
  registry.add(optionalImportEnumExtensionLite);
  registry.add(optionalStringPieceExtensionLite);
  registry.add(optionalCordExtensionLite);
  registry.add(optionalPublicImportMessageExtensionLite);
  registry.add(optionalLazyMessageExtensionLite);
  registry.add(optionalUnverifiedLazyMessageExtensionLite);
  registry.add(repeatedInt32ExtensionLite);
  registry.add(repeatedInt64ExtensionLite);
  registry.add(repeatedUint32ExtensionLite);
  registry.add(repeatedUint64ExtensionLite);
  registry.add(repeatedSint32ExtensionLite);
  registry.add(repeatedSint64ExtensionLite);
  registry.add(repeatedFixed32ExtensionLite);
  registry.add(repeatedFixed64ExtensionLite);
  registry.add(repeatedSfixed32ExtensionLite);
  registry.add(repeatedSfixed64ExtensionLite);
  registry.add(repeatedFloatExtensionLite);
  registry.add(repeatedDoubleExtensionLite);
  registry.add(repeatedBoolExtensionLite);
  registry.add(repeatedStringExtensionLite);
  registry.add(repeatedBytesExtensionLite);
  registry.add(repeatedGroupExtensionLite);
  registry.add(repeatedNestedMessageExtensionLite);
  registry.add(repeatedForeignMessageExtensionLite);
  registry.add(repeatedImportMessageExtensionLite);
  registry.add(repeatedNestedEnumExtensionLite);
  registry.add(repeatedForeignEnumExtensionLite);
  registry.add(repeatedImportEnumExtensionLite);
  registry.add(repeatedStringPieceExtensionLite);
  registry.add(repeatedCordExtensionLite);
  registry.add(repeatedLazyMessageExtensionLite);
  registry.add(defaultInt32ExtensionLite);
  registry.add(defaultInt64ExtensionLite);
  registry.add(defaultUint32ExtensionLite);
  registry.add(defaultUint64ExtensionLite);
  registry.add(defaultSint32ExtensionLite);
  registry.add(defaultSint64ExtensionLite);
  registry.add(defaultFixed32ExtensionLite);
  registry.add(defaultFixed64ExtensionLite);
  registry.add(defaultSfixed32ExtensionLite);
  registry.add(defaultSfixed64ExtensionLite);
  registry.add(defaultFloatExtensionLite);
  registry.add(defaultDoubleExtensionLite);
  registry.add(defaultBoolExtensionLite);
  registry.add(defaultStringExtensionLite);
  registry.add(defaultBytesExtensionLite);
  registry.add(defaultNestedEnumExtensionLite);
  registry.add(defaultForeignEnumExtensionLite);
  registry.add(defaultImportEnumExtensionLite);
  registry.add(defaultStringPieceExtensionLite);
  registry.add(defaultCordExtensionLite);
  registry.add(oneofUint32ExtensionLite);
  registry.add(oneofNestedMessageExtensionLite);
  registry.add(oneofStringExtensionLite);
  registry.add(oneofBytesExtensionLite);
  registry.add(packedInt32ExtensionLite);
  registry.add(packedInt64ExtensionLite);
  registry.add(packedUint32ExtensionLite);
  registry.add(packedUint64ExtensionLite);
  registry.add(packedSint32ExtensionLite);
  registry.add(packedSint64ExtensionLite);
  registry.add(packedFixed32ExtensionLite);
  registry.add(packedFixed64ExtensionLite);
  registry.add(packedSfixed32ExtensionLite);
  registry.add(packedSfixed64ExtensionLite);
  registry.add(packedFloatExtensionLite);
  registry.add(packedDoubleExtensionLite);
  registry.add(packedBoolExtensionLite);
  registry.add(packedEnumExtensionLite);
  registry.add(testAllTypesLite);
}