code: public TransientTypeSystem createTransientTypeSystem(TypesDef typesDef, boolean isUpdate) throws AtlasException {
          ImmutableList<EnumTypeDefinition> enumDefs = ImmutableList.copyOf(typesDef.enumTypesAsJavaList());
          ImmutableList<StructTypeDefinition> structDefs = ImmutableList.copyOf(typesDef.structTypesAsJavaList());
          ImmutableList<HierarchicalTypeDefinition<TraitType>> traitDefs =
                  ImmutableList.copyOf(typesDef.traitTypesAsJavaList());
          ImmutableList<HierarchicalTypeDefinition<ClassType>> classDefs =
                  ImmutableList.copyOf(typesDef.classTypesAsJavaList());
          TransientTypeSystem transientTypeSystem = new TransientTypeSystem(enumDefs, structDefs, traitDefs, classDefs);
          transientTypeSystem.verifyTypes(isUpdate);
          return transientTypeSystem;
      }
docs: Create an instance of {@link TransientTypeSystem} with the types defined in the {@link TypesDef}.
  
  As part of this, a set of verifications are run on the types defined.
  @param typesDef The new list of types to be created or updated.
  @param isUpdate True, if types are updated, false otherwise.
  @return {@link TransientTypeSystem} that holds the newly added types.
  @throws AtlasException